@unbrained/pm-cli 2026.11.22 → 2026.11.23
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/dist/cli/after-command-context-usage.js +1 -1
- package/dist/cli/argv-utils.js +1 -1
- package/dist/cli/bootstrap-args.js +1 -1
- package/dist/cli/bundle-integrity.js +2 -2
- package/dist/cli/command-namespaces.js +1 -1
- package/dist/cli/commander-usage.js +11 -11
- package/dist/cli/commands/annotations/comments.js +1 -1
- package/dist/cli/commands/annotations/docs.js +1 -1
- package/dist/cli/commands/annotations/files.js +1 -1
- package/dist/cli/commands/annotations/learnings.js +1 -1
- package/dist/cli/commands/annotations/notes.js +1 -1
- package/dist/cli/commands/extension/describe.js +1 -1
- package/dist/cli/commands/extension/extension.js +1 -1
- package/dist/cli/commands/extension/scaffold.js +1 -1
- package/dist/cli/commands/extension/shared.js +1 -1
- package/dist/cli/commands/governance/gc.js +1 -1
- package/dist/cli/commands/governance/health.js +1 -1
- package/dist/cli/commands/governance/telemetry.js +1 -1
- package/dist/cli/commands/governance/validate.js +1 -1
- package/dist/cli/commands/history/activity.js +1 -1
- package/dist/cli/commands/history/history-compact.js +1 -1
- package/dist/cli/commands/history/history-redact.js +1 -1
- package/dist/cli/commands/history/history-repair.js +1 -1
- package/dist/cli/commands/history/history.js +1 -1
- package/dist/cli/commands/history/restore.js +1 -1
- package/dist/cli/commands/lifecycle/append.js +1 -1
- package/dist/cli/commands/lifecycle/claim.js +1 -1
- package/dist/cli/commands/lifecycle/close-many.js +1 -1
- package/dist/cli/commands/lifecycle/close.js +1 -1
- package/dist/cli/commands/lifecycle/copy.js +1 -1
- package/dist/cli/commands/lifecycle/create.js +1 -1
- package/dist/cli/commands/lifecycle/delete.js +1 -1
- package/dist/cli/commands/lifecycle/focus.js +1 -1
- package/dist/cli/commands/lifecycle/plan.js +1 -1
- package/dist/cli/commands/lifecycle/update-many.js +1 -1
- package/dist/cli/commands/lifecycle/update.js +1 -1
- package/dist/cli/commands/query/aggregate.js +1 -1
- package/dist/cli/commands/query/context.js +1 -1
- package/dist/cli/commands/query/deps.js +1 -1
- package/dist/cli/commands/query/duplicates.js +1 -1
- package/dist/cli/commands/query/eval.js +1 -1
- package/dist/cli/commands/query/get.js +1 -1
- package/dist/cli/commands/query/graph.js +1 -1
- package/dist/cli/commands/query/list.js +1 -1
- package/dist/cli/commands/query/next.js +1 -1
- package/dist/cli/commands/query/search.js +1 -1
- package/dist/cli/commands/query/stats.js +1 -1
- package/dist/cli/commands/test/test-all.js +1 -1
- package/dist/cli/commands/test/test-runs.js +1 -1
- package/dist/cli/commands/test/test.js +1 -1
- package/dist/cli/commands/workspace/config.js +1 -1
- package/dist/cli/commands/workspace/contracts.js +1 -1
- package/dist/cli/commands/workspace/init.js +1 -1
- package/dist/cli/commands/workspace/merge.js +1 -1
- package/dist/cli/commands/workspace/profile.js +1 -1
- package/dist/cli/commands/workspace/schema.js +1 -1
- package/dist/cli/commands/workspace/upgrade.js +1 -1
- package/dist/cli/context-intent-invocation.js +1 -1
- package/dist/cli/description-stdin.js +1 -1
- package/dist/cli/error-guidance.js +5 -5
- package/dist/cli/expected-revisions.js +1 -1
- package/dist/cli/extension-command-help.js +6 -6
- package/dist/cli/extension-recovery.js +1 -1
- package/dist/cli/help-content.js +5 -5
- package/dist/cli/help-json-payload.js +7 -7
- package/dist/cli/invocation-profile.js +2 -2
- package/dist/cli/main.js +5 -5
- package/dist/cli/migration-gates.js +1 -1
- package/dist/cli/option-values.js +1 -1
- package/dist/cli/preflight-warnings.js +3 -3
- package/dist/cli/public.js +1 -1
- package/dist/cli/register-annotations.js +1 -1
- package/dist/cli/register-assurance.js +1 -1
- package/dist/cli/register-files-lookup.js +1 -1
- package/dist/cli/register-history-activity.js +1 -1
- package/dist/cli/register-history-author.js +1 -1
- package/dist/cli/register-history-maintenance.js +2 -2
- package/dist/cli/register-list-query.js +10 -10
- package/dist/cli/register-mutation-options.js +0 -1
- package/dist/cli/register-mutation.js +6 -6
- package/dist/cli/register-operations.js +1 -1
- package/dist/cli/register-setup.js +1 -1
- package/dist/cli/register-structured-mutation.js +1 -1
- package/dist/cli/registration-helpers.js +1 -1
- package/dist/cli/runtime/activation.js +1 -1
- package/dist/cli/runtime/annotation-option-retry.js +1 -1
- package/dist/cli/runtime/close-fields-retry.js +1 -1
- package/dist/cli/runtime/field-route-retry.js +1 -1
- package/dist/cli/runtime/invocation-options.js +1 -1
- package/dist/cli/runtime/invocation-rewrites.js +1 -1
- package/dist/cli/runtime/projection-retry.js +1 -1
- package/dist/cli/runtime/read-output-mutation-retry.js +1 -1
- package/dist/cli/runtime/refusal-credential-redaction.js +1 -1
- package/dist/cli/runtime/selection.js +1 -1
- package/dist/cli/runtime/telemetry-outcome.js +1 -1
- package/dist/cli/runtime-compatibility-boundary.js +4 -4
- package/dist/cli/schema/registration.js +15 -15
- package/dist/cli/schema-registration-helpers.js +1 -1
- package/dist/cli/search-refresh.js +1 -1
- package/dist/cli/stats-analytics-json.js +1 -1
- package/dist/cli/telemetry-flush.js +1 -1
- package/dist/cli-bundle/bundle-manifest.json +1 -1
- package/dist/cli-bundle/chunks/chunk-2UQU7HRR.js +9 -0
- package/dist/cli-bundle/chunks/chunk-5DUP4AZA.js +2 -0
- package/dist/cli-bundle/chunks/chunk-5WZZ5XEN.js +3 -0
- package/dist/cli-bundle/chunks/chunk-6H36ZHMI.js +2 -0
- package/dist/cli-bundle/chunks/chunk-6MYJLOSG.js +2 -0
- package/dist/cli-bundle/chunks/chunk-AA52P34H.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-B76TFRO2.js → chunk-AEOHUSUI.js} +101 -101
- package/dist/cli-bundle/chunks/chunk-BSRIVYTM.js +8 -0
- package/dist/cli-bundle/chunks/chunk-CFWLQFJM.js +71 -0
- package/dist/cli-bundle/chunks/chunk-D6PDUKUG.js +9 -0
- package/dist/cli-bundle/chunks/chunk-ENKXRSFZ.js +31 -0
- package/dist/cli-bundle/chunks/chunk-F2Z6XLZB.js +3 -0
- package/dist/cli-bundle/chunks/chunk-FJOEL75F.js +2 -0
- package/dist/cli-bundle/chunks/chunk-GDXCAC52.js +2 -0
- package/dist/cli-bundle/chunks/chunk-H7JEXRIN.js +6 -0
- package/dist/cli-bundle/chunks/chunk-J2PDAVBC.js +2 -0
- package/dist/cli-bundle/chunks/chunk-KE7HMBEW.js +2 -0
- package/dist/cli-bundle/chunks/chunk-KZHIBEJL.js +33 -0
- package/dist/cli-bundle/chunks/chunk-NGJ5ERBF.js +115 -0
- package/dist/cli-bundle/chunks/chunk-NQ54T7T2.js +2 -0
- package/dist/cli-bundle/chunks/chunk-O7JHS64G.js +3 -0
- package/dist/cli-bundle/chunks/chunk-OKEZF7HU.js +2 -0
- package/dist/cli-bundle/chunks/chunk-OKIKF4FD.js +2 -0
- package/dist/cli-bundle/chunks/chunk-OPJF254V.js +9 -0
- package/dist/cli-bundle/chunks/chunk-PZA7QECY.js +1 -0
- package/dist/cli-bundle/chunks/chunk-RWA5YZ5X.js +2 -0
- package/dist/cli-bundle/chunks/chunk-S32NGRQM.js +2 -0
- package/dist/cli-bundle/chunks/chunk-SLFRSZK6.js +1 -0
- package/dist/cli-bundle/chunks/chunk-TZY5MVJF.js +125 -0
- package/dist/cli-bundle/chunks/chunk-YYT3MIRF.js +3 -0
- package/dist/cli-bundle/chunks/chunk-ZPS4B6SI.js +8 -0
- package/dist/cli-bundle/chunks/context-budget-recovery-M5RFUEFG.js +2 -0
- package/dist/cli-bundle/chunks/indexed-receipt-blobs-BPYKN5Q7.js +4 -0
- package/dist/cli-bundle/chunks/{item-revision-4QBMZXKX.js → item-revision-FMD4KWBB.js} +2 -2
- package/dist/cli-bundle/chunks/item-transaction-SEHTH7N2.js +2 -0
- package/dist/cli-bundle/chunks/mutation-actor-SFGYIRPW.js +2 -0
- package/dist/cli-bundle/chunks/mutation-admission-57LBSKQI.js +2 -0
- package/dist/cli-bundle/chunks/{register-list-query-RR5KACJ3.js → register-list-query-L4IBU64P.js} +11 -11
- package/dist/cli-bundle/chunks/register-mutation-6NUOPHZ3.js +21 -0
- package/dist/cli-bundle/chunks/register-operations-JGYVORNN.js +2 -0
- package/dist/cli-bundle/chunks/register-setup-C44SIXEH.js +2 -0
- package/dist/cli-bundle/chunks/settlement-hook-6MR32OOC.js +7 -0
- package/dist/cli-bundle/chunks/stage-PQ7AB63N.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-6LKTEKHS.js +6 -0
- package/dist/cli-bundle/focused-chunks/chunk-6LPXMFLM.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-A6VEMCRR.js +3 -0
- package/dist/cli-bundle/focused-chunks/chunk-AIDL2ZNT.js +3 -0
- package/dist/cli-bundle/focused-chunks/chunk-BKPUUW5O.js +1 -0
- package/dist/cli-bundle/focused-chunks/chunk-BWOVFE5B.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-HMDQDRV2.js +8 -0
- package/dist/cli-bundle/focused-chunks/chunk-I66IKYKP.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-IIP6LZ5E.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-IR2J3NOT.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-IROZDIDX.js +3 -0
- package/dist/cli-bundle/focused-chunks/chunk-ITKDHSBR.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-K53OIT5J.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-LQYYPXUK.js +26 -0
- package/dist/cli-bundle/focused-chunks/chunk-NQTEE66P.js +13 -0
- package/dist/cli-bundle/focused-chunks/chunk-O7Z73ALG.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-OTMMOKPM.js +91 -0
- package/dist/cli-bundle/focused-chunks/chunk-OXOCZJC6.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-QLAHEDT6.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-QQIIMMFU.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-RIE3SJSE.js +9 -0
- package/dist/cli-bundle/focused-chunks/chunk-TD544C74.js +8 -0
- package/dist/cli-bundle/focused-chunks/chunk-UFTUNBMY.js +27 -0
- package/dist/cli-bundle/focused-chunks/chunk-X6CXWWNB.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-XRS3VNC6.js +44 -0
- package/dist/cli-bundle/focused-chunks/chunk-XYPEZGTR.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-Y2ESLKCF.js +8 -0
- package/dist/cli-bundle/focused-chunks/chunk-YSJKQLFR.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-Z2X7HH3C.js +102 -0
- package/dist/cli-bundle/focused-chunks/chunk-ZHWPCVQL.js +78 -0
- package/dist/cli-bundle/focused-chunks/context-budget-recovery-CSJV3TY3.js +2 -0
- package/dist/cli-bundle/focused-chunks/indexed-receipt-blobs-EGEJMG3G.js +4 -0
- package/dist/cli-bundle/focused-chunks/{item-revision-2O6MLPEX.js → item-revision-YDACCDVY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/item-transaction-UKEQCTKB.js +2 -0
- package/dist/cli-bundle/focused-chunks/mutation-actor-AS465LRX.js +2 -0
- package/dist/cli-bundle/focused-chunks/mutation-admission-E5UHJZFE.js +2 -0
- package/dist/cli-bundle/focused-chunks/settlement-hook-FMLGKG7J.js +7 -0
- package/dist/cli-bundle/focused-chunks/stage-36J7YLGI.js +2 -0
- package/dist/cli-bundle/main.js +27 -27
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +5 -5
- 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 +66 -66
- 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 +12 -12
- package/dist/cli.js +1 -1
- package/dist/core/checkpoint/checkpoint-gc.js +1 -1
- package/dist/core/checkpoint/mutation-checkpoint.js +2 -2
- package/dist/core/checkpoint/mutation-context.js +1 -1
- package/dist/core/config/nested-settings.js +1 -1
- package/dist/core/config/positional-value.js +1 -1
- package/dist/core/diagnostics/remediation.js +1 -1
- package/dist/core/extensions/activation-summary-markdown.js +2 -2
- package/dist/core/extensions/activation-summary.js +1 -1
- package/dist/core/extensions/activation-transaction.js +1 -1
- package/dist/core/extensions/capability-usage.js +1 -1
- package/dist/core/extensions/command-hook-context.js +1 -1
- package/dist/core/extensions/command-metadata-contract.js +1 -1
- package/dist/core/extensions/command-visibility-tier.js +1 -1
- package/dist/core/extensions/contribution-inventory.js +1 -1
- package/dist/core/extensions/exporter-output-contract.js +1 -1
- package/dist/core/extensions/extension-candidate.js +1 -1
- package/dist/core/extensions/extension-capability-aliases.js +1 -1
- package/dist/core/extensions/extension-hook-runtime.js +1 -1
- package/dist/core/extensions/extension-policy.js +1 -1
- package/dist/core/extensions/extension-registries.js +1 -1
- package/dist/core/extensions/extension-runtime-helpers.js +1 -1
- package/dist/core/extensions/extension-types.js +1 -1
- package/dist/core/extensions/flag-definition-validation.js +1 -1
- package/dist/core/extensions/flag-value-types.js +1 -1
- package/dist/core/extensions/index.js +1 -1
- package/dist/core/extensions/item-field-types.js +1 -1
- package/dist/core/extensions/item-fields.js +1 -1
- package/dist/core/extensions/loader.js +1 -1
- package/dist/core/extensions/manifest-parser.js +1 -1
- package/dist/core/extensions/manifest-schema.js +1 -1
- package/dist/core/extensions/module-graph-snapshot.js +1 -1
- package/dist/core/extensions/mutation-actor-snapshot.js +1 -1
- package/dist/core/extensions/mutation-actor.js +1 -1
- package/dist/core/extensions/preflight-ownership.js +1 -1
- package/dist/core/extensions/read-output-contract.js +1 -1
- package/dist/core/extensions/registration-contracts.js +1 -1
- package/dist/core/extensions/registration-validation.js +1 -1
- package/dist/core/extensions/registration-values.js +1 -1
- package/dist/core/extensions/reserved-host-flags.js +1 -1
- package/dist/core/extensions/runtime-registrations.js +1 -1
- package/dist/core/extensions/service-ownership.js +1 -1
- package/dist/core/extensions/version-compat.js +1 -1
- package/dist/core/extensions/version-diagnostics.js +1 -1
- package/dist/core/fs/atomic-create.js +1 -1
- package/dist/core/fs/file-glob.js +1 -1
- package/dist/core/fs/fs-utils.js +2 -2
- package/dist/core/fs/host-environment-errors.js +1 -1
- package/dist/core/fs/index.js +1 -1
- package/dist/core/fs/path-utils.js +1 -1
- package/dist/core/governance/content-fields.js +1 -1
- package/dist/core/governance/issue-codes.js +1 -1
- package/dist/core/governance/metadata-coverage.js +1 -1
- package/dist/core/history/bridge.js +1 -1
- package/dist/core/history/digest.js +1 -1
- package/dist/core/history/drift-cache.js +3 -3
- package/dist/core/history/drift-scan.js +1 -1
- package/dist/core/history/event-classification.js +1 -1
- package/dist/core/history/event-index.js +11 -11
- package/dist/core/history/history-compact-bulk.js +1 -1
- package/dist/core/history/history-diff.js +1 -1
- package/dist/core/history/history-rewrite.js +1 -1
- package/dist/core/history/history-storage-stats.js +1 -1
- package/dist/core/history/history-stream-policy.js +1 -1
- package/dist/core/history/history.js +2 -2
- package/dist/core/history/identity.js +1 -1
- package/dist/core/history/index.js +1 -1
- package/dist/core/history/operation-contract.js +1 -1
- package/dist/core/history/projection.js +1 -1
- package/dist/core/history/read.js +1 -1
- package/dist/core/history/replay.js +2 -2
- package/dist/core/history/stream-summary.js +2 -2
- package/dist/core/history/tombstone.js +1 -1
- package/dist/core/history/version-address.js +1 -1
- package/dist/core/history/workspace-history.js +2 -2
- package/dist/core/io/body-file.js +1 -1
- package/dist/core/io/bulk-ids-input.js +2 -2
- package/dist/core/item/actionability.js +1 -1
- package/dist/core/item/deferred-fields.js +1 -1
- package/dist/core/item/dependency-reference.js +1 -1
- package/dist/core/item/id.js +1 -1
- package/dist/core/item/index.js +1 -1
- package/dist/core/item/item-format-version.js +1 -1
- package/dist/core/item/item-format.js +7 -7
- package/dist/core/item/item-record.js +1 -1
- package/dist/core/item/item-type-definition.js +1 -1
- package/dist/core/item/literal-mutation-input.js +1 -1
- package/dist/core/item/parent-reference-policy.js +1 -1
- package/dist/core/item/parse.js +8 -8
- package/dist/core/item/plan-lifecycle.js +1 -1
- package/dist/core/item/priority.js +1 -1
- package/dist/core/item/sprint-release-format.js +1 -1
- package/dist/core/item/status-filter.js +1 -1
- package/dist/core/item/status.js +1 -1
- package/dist/core/item/toon-decode.js +1 -1
- package/dist/core/item/type-registry.js +1 -1
- package/dist/core/item/type-synonyms.js +1 -1
- package/dist/core/lock/index.js +1 -1
- package/dist/core/lock/lock-confinement.js +1 -1
- package/dist/core/lock/lock-gc.js +1 -1
- package/dist/core/lock/lock-owner.js +1 -1
- package/dist/core/lock/lock.js +4 -4
- package/dist/core/output/linked-test-projection.js +5 -5
- package/dist/core/output/mutation-projection.js +1 -1
- package/dist/core/output/output-control.js +1 -1
- package/dist/core/output/output.js +19 -19
- package/dist/core/output/query-summary.js +1 -1
- package/dist/core/output/tabular.js +3 -3
- package/dist/core/packages/manifest.js +1 -1
- package/dist/core/packages/root.js +1 -1
- package/dist/core/policy/workflow-policy-schema.js +1 -1
- package/dist/core/policy/workflow-policy-store.js +1 -1
- package/dist/core/policy/workflow-policy.js +1 -1
- package/dist/core/profile/profile-describe.js +1 -1
- package/dist/core/profile/profile-lint.d.ts +1 -1
- package/dist/core/profile/profile-lint.js +1 -1
- package/dist/core/profile/profile-plan.js +1 -1
- package/dist/core/profile/profile-presets.js +4 -4
- package/dist/core/reproducibility/context.js +1 -1
- package/dist/core/schema/fields-file.js +2 -2
- package/dist/core/schema/item-types-file.js +2 -2
- package/dist/core/schema/runtime-field-filters.js +1 -1
- package/dist/core/schema/runtime-field-values.js +1 -1
- package/dist/core/schema/runtime-schema.js +2 -2
- package/dist/core/schema/status-defs-file.js +2 -2
- package/dist/core/schema/status-token.js +1 -1
- package/dist/core/schema/type-inference.js +1 -1
- package/dist/core/schema/type-presets.js +1 -1
- package/dist/core/schema/type-workflows.js +1 -1
- package/dist/core/search/background-refresh.js +2 -2
- package/dist/core/search/bm25.js +1 -1
- package/dist/core/search/cache.js +2 -2
- package/dist/core/search/corpus.js +1 -1
- package/dist/core/search/embedding-batches.js +1 -1
- package/dist/core/search/eval-thresholds.js +1 -1
- package/dist/core/search/eval.js +1 -1
- package/dist/core/search/http-client.js +1 -1
- package/dist/core/search/providers.js +1 -1
- package/dist/core/search/relevance.js +1 -1
- package/dist/core/search/semantic-defaults.js +1 -1
- package/dist/core/search/staleness.js +1 -1
- package/dist/core/search/vector-stores.js +2 -2
- package/dist/core/search/vectorization-metadata.js +1 -1
- package/dist/core/sentry/helpers.js +1 -1
- package/dist/core/sentry/instrument.js +1 -1
- package/dist/core/sentry/sensitive-assignments.js +1 -1
- package/dist/core/session/session-state.js +1 -1
- package/dist/core/shared/agent-session-context.js +1 -1
- package/dist/core/shared/author.js +5 -5
- package/dist/core/shared/command-line.js +1 -1
- package/dist/core/shared/command-types.js +0 -1
- package/dist/core/shared/conflict-markers.js +1 -1
- package/dist/core/shared/constants.js +1 -1
- package/dist/core/shared/error-details.js +1 -1
- package/dist/core/shared/errors.js +1 -1
- package/dist/core/shared/html-entity-decode.js +1 -1
- package/dist/core/shared/index.js +1 -1
- package/dist/core/shared/item-metadata-contract.js +1 -1
- package/dist/core/shared/lazy-module.js +1 -1
- package/dist/core/shared/levenshtein.js +1 -1
- package/dist/core/shared/memo.js +1 -1
- package/dist/core/shared/numeric-parsers.js +1 -1
- package/dist/core/shared/option-alias-visibility.js +1 -1
- package/dist/core/shared/output-unicode.js +1 -1
- package/dist/core/shared/primitives.js +1 -1
- package/dist/core/shared/process-tree.js +2 -2
- package/dist/core/shared/secret-rules.js +5 -5
- package/dist/core/shared/serial-queue.js +1 -1
- package/dist/core/shared/serialization.js +1 -1
- package/dist/core/shared/split-comma-list.js +1 -1
- package/dist/core/shared/text-normalization.js +1 -1
- package/dist/core/shared/time.js +2 -2
- package/dist/core/shared/url-credentials.js +1 -1
- package/dist/core/store/index.js +1 -1
- package/dist/core/store/item-format-migration.js +1 -1
- package/dist/core/store/item-metadata-cache.js +1 -1
- package/dist/core/store/item-metadata-query-index.js +11 -11
- package/dist/core/store/item-metadata-read-work.js +1 -1
- package/dist/core/store/item-mutation-precondition.js +1 -1
- package/dist/core/store/item-store.js +1 -1
- package/dist/core/store/paths.js +1 -1
- package/dist/core/store/settings-concurrency.js +1 -1
- package/dist/core/store/settings-read-cache.js +1 -1
- package/dist/core/store/settings-sections.js +2 -2
- package/dist/core/store/settings-validator.js +1 -1
- package/dist/core/store/settings.d.ts +3 -1
- package/dist/core/store/settings.js +6 -6
- package/dist/core/store/sqlite-runtime.js +1 -1
- package/dist/core/store/tracker-preflight.js +1 -1
- package/dist/core/store/transaction-coordinator-scope.js +1 -1
- package/dist/core/telemetry/consent.js +3 -3
- package/dist/core/telemetry/observability.js +1 -1
- package/dist/core/telemetry/policy.js +1 -1
- package/dist/core/telemetry/read-sampling.js +2 -2
- package/dist/core/telemetry/runtime.js +9 -9
- package/dist/core/test/background-runs.js +4 -4
- package/dist/core/test/item-test-run-tracking.js +1 -1
- package/dist/core/test/run-selectors.js +1 -1
- package/dist/core/validate/estimate-defaults.js +1 -1
- package/dist/core/validate/fix-planning.js +1 -1
- package/dist/core/validate/linked-artifact-reference.js +1 -1
- package/dist/core/validate/missing-by-type.js +1 -1
- package/dist/core/validate/missing-link-owners.js +1 -1
- package/dist/core/validate/stale-file-classification.js +1 -1
- package/dist/mcp/http-server.js +5 -5
- package/dist/mcp/legacy-adapter.js +1 -1
- package/dist/mcp/runtime-capabilities.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp/tool-definitions.js +1 -1
- package/dist/sdk/actionability.js +1 -1
- package/dist/sdk/agent/closed-domain-contracts.js +1 -1
- package/dist/sdk/agent/command-recovery.js +1 -1
- package/dist/sdk/agent/command-suggestions.js +1 -1
- package/dist/sdk/agent/create-option-policy.js +1 -1
- package/dist/sdk/agent/identity-config.js +1 -1
- package/dist/sdk/agent/item-addressing.js +1 -1
- package/dist/sdk/agent/linked-resource-recovery.js +1 -1
- package/dist/sdk/agent/refusal-closure-census.js +2 -2
- package/dist/sdk/agent/refusal-corpus-contracts.js +1 -1
- package/dist/sdk/agent/subcommand-recovery.js +1 -1
- package/dist/sdk/agent-capability-contracts.js +3 -3
- package/dist/sdk/agent-session-context.js +1 -1
- package/dist/sdk/annotations.js +1 -1
- package/dist/sdk/author-attribution.js +1 -1
- package/dist/sdk/cli-bootstrap.js +1 -1
- package/dist/sdk/cli-contracts/agent-output-contracts.js +5 -5
- package/dist/sdk/cli-contracts/bootstrap-command-scanner.js +1 -1
- package/dist/sdk/cli-contracts/command-aliases.js +1 -1
- package/dist/sdk/cli-contracts/command-exit-contracts.js +1 -1
- package/dist/sdk/cli-contracts/commander-mutation-options.js +1 -1
- package/dist/sdk/cli-contracts/commander-types.js +1 -1
- package/dist/sdk/cli-contracts/completeness.js +1 -1
- package/dist/sdk/cli-contracts/enum-contracts.js +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
- package/dist/sdk/cli-contracts/flag-lexicon-contracts.js +2 -2
- package/dist/sdk/cli-contracts/grammar-contracts.js +1 -1
- package/dist/sdk/cli-contracts/registration-helpers.js +7 -7
- package/dist/sdk/cli-contracts/runtime-contracts.js +1 -1
- package/dist/sdk/cli-contracts/schemas/assurance-definition.js +1 -1
- package/dist/sdk/cli-contracts/string-lists.js +1 -1
- package/dist/sdk/cli-contracts/tool-option-contracts.js +1 -1
- package/dist/sdk/cli-contracts/tool-parameter-tables.js +1 -1
- package/dist/sdk/cli-contracts/tool-schema.js +1 -1
- package/dist/sdk/cli-contracts/typed-action-inputs.js +0 -1
- package/dist/sdk/cli-contracts.js +1 -1
- package/dist/sdk/cli-program.js +1 -1
- package/dist/sdk/command-line.js +1 -1
- package/dist/sdk/comments.js +1 -1
- package/dist/sdk/compile-cache.js +1 -1
- package/dist/sdk/completion/bash.js +2 -2
- package/dist/sdk/completion/fish.js +72 -72
- package/dist/sdk/completion/shared.js +1 -1
- package/dist/sdk/completion/zsh.js +75 -75
- package/dist/sdk/completion.js +1 -1
- package/dist/sdk/config.js +1 -1
- package/dist/sdk/context/recency.js +1 -1
- package/dist/sdk/context/semantic-session-attribution.js +1 -1
- package/dist/sdk/context/usage-egress.js +1 -1
- package/dist/sdk/context/usage-ledger.js +6 -6
- package/dist/sdk/context-intent-contracts.js +1 -1
- package/dist/sdk/context-intent-runtime.js +1 -1
- package/dist/sdk/context-packing.js +1 -1
- package/dist/sdk/context-relevance.js +1 -1
- package/dist/sdk/context-signal-store.js +2 -2
- package/dist/sdk/context-usage.js +1 -1
- package/dist/sdk/dependencies/context-budget-recovery.js +1 -1
- package/dist/sdk/dependencies.js +1 -1
- package/dist/sdk/dependency-flag-validation.js +1 -1
- package/dist/sdk/dependency-provenance.js +1 -1
- package/dist/sdk/docs.js +1 -1
- package/dist/sdk/duplicates.js +1 -1
- package/dist/sdk/environment/host-environment-errors.js +1 -1
- package/dist/sdk/environment/project-runtime-compatibility.js +2 -2
- package/dist/sdk/environment/source-context.js +1 -1
- package/dist/sdk/environment/tracker-preflight.js +1 -1
- package/dist/sdk/error-code-catalog.js +1 -1
- package/dist/sdk/error-runtime.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/eval.js +1 -1
- package/dist/sdk/extension/author-manifest.js +1 -1
- package/dist/sdk/extension/bundled-catalog.js +1 -1
- package/dist/sdk/extension/command-options.js +1 -1
- package/dist/sdk/extension/concurrency.js +1 -1
- package/dist/sdk/extension/copy-scope.js +1 -1
- package/dist/sdk/extension/custom-field-collisions.js +1 -1
- package/dist/sdk/extension/describe.js +3 -3
- package/dist/sdk/extension/doctor.js +1 -1
- package/dist/sdk/extension/install-plan.js +1 -1
- package/dist/sdk/extension/install-receipts.js +1 -1
- package/dist/sdk/extension/install-runtime.js +3 -3
- package/dist/sdk/extension/install-snapshot.js +1 -1
- package/dist/sdk/extension/install-sources.js +5 -5
- package/dist/sdk/extension/managed-state.js +2 -2
- package/dist/sdk/extension/managed-update-status.js +1 -1
- package/dist/sdk/extension/migrations.js +2 -2
- package/dist/sdk/extension/native-command-options.js +1 -1
- package/dist/sdk/extension/output-ownership.js +1 -1
- package/dist/sdk/extension/runtime-summary.js +1 -1
- package/dist/sdk/extension/scaffold.js +11 -11
- package/dist/sdk/extension/shared.js +1 -1
- package/dist/sdk/extension/source-resolution.js +1 -1
- package/dist/sdk/extension/static-inventory.js +1 -1
- package/dist/sdk/extension/update-check.js +1 -1
- package/dist/sdk/extension-command-context.js +2 -2
- package/dist/sdk/extension-contracts.js +1 -1
- package/dist/sdk/extension.js +1 -1
- package/dist/sdk/files.js +1 -1
- package/dist/sdk/flag-invocation-contracts.js +1 -1
- 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.js +1 -1
- package/dist/sdk/governance/assurance-action-contracts.js +0 -1
- package/dist/sdk/governance/assurance-action.js +1 -1
- package/dist/sdk/governance/assurance-limits.js +1 -1
- package/dist/sdk/governance/assurance-mutation-error.js +1 -1
- package/dist/sdk/governance/assurance-presets.js +1 -1
- package/dist/sdk/governance/assurance-runtime.js +1 -1
- package/dist/sdk/governance/assurance.js +4 -4
- package/dist/sdk/governance/boundary-fixtures.js +1 -1
- package/dist/sdk/governance/closure-timestamps.js +1 -1
- package/dist/sdk/governance/defect-recurrence-coverage.js +1 -1
- package/dist/sdk/governance/defect-recurrence-graph.js +1 -1
- package/dist/sdk/governance/defect-recurrence-signals.js +1 -1
- package/dist/sdk/governance/defect-recurrence.js +2 -2
- package/dist/sdk/governance/extension-host-version.js +1 -1
- package/dist/sdk/governance/gc.js +1 -1
- package/dist/sdk/governance/health/history-drift-remedies.js +1 -1
- package/dist/sdk/governance/health/projection.js +1 -1
- package/dist/sdk/governance/health-merge-evidence.js +1 -1
- package/dist/sdk/governance/health.js +2 -2
- package/dist/sdk/governance/hierarchy-validation.js +1 -1
- package/dist/sdk/governance/in-progress-work-health.js +1 -1
- package/dist/sdk/governance/lifecycle-dependency-cycles.js +1 -1
- package/dist/sdk/governance/linked-file-report.js +1 -1
- package/dist/sdk/governance/merge-receipt-history.js +1 -1
- package/dist/sdk/governance/provenance-health.js +4 -4
- package/dist/sdk/governance/reindex.js +5 -5
- package/dist/sdk/governance/stale-work.js +1 -1
- package/dist/sdk/governance/status-role-diagnostics.js +1 -1
- package/dist/sdk/governance/storage-integrity.js +1 -1
- package/dist/sdk/governance/tracked-runtime-cache.js +1 -1
- package/dist/sdk/governance/upgrade.js +2 -2
- package/dist/sdk/governance/validate-deferred-fields.js +1 -1
- package/dist/sdk/governance/validate-history-drift.js +1 -1
- package/dist/sdk/governance/validate-item-reader.js +1 -1
- package/dist/sdk/governance/validate-normalization.js +1 -1
- package/dist/sdk/governance/validate.js +1 -1
- package/dist/sdk/governance/workflow-completeness.js +1 -1
- package/dist/sdk/governance/workflow-policy.js +3 -3
- package/dist/sdk/governance/workspace-position.js +2 -2
- package/dist/sdk/graph/analytics.js +1 -1
- package/dist/sdk/graph/assembly.js +1 -1
- package/dist/sdk/graph/cache.js +1 -1
- package/dist/sdk/graph/cardinality-integrity.js +1 -1
- package/dist/sdk/graph/centrality.js +1 -1
- package/dist/sdk/graph/deadline-scheduling.js +1 -1
- package/dist/sdk/graph/durable-cache.js +1 -1
- package/dist/sdk/graph/governance-contracts.js +1 -1
- package/dist/sdk/graph/governance.js +1 -1
- package/dist/sdk/graph/hierarchy-integrity.js +1 -1
- package/dist/sdk/graph/lifecycle-coverage.js +1 -1
- package/dist/sdk/graph/mutation-advisory.js +1 -1
- package/dist/sdk/graph/query-contracts.js +1 -1
- package/dist/sdk/graph/remediation.js +1 -1
- package/dist/sdk/graph/run.js +1 -1
- package/dist/sdk/graph/scheduling.js +1 -1
- package/dist/sdk/graph/traversal.js +1 -1
- package/dist/sdk/graph/workspace-relationship-kind-registry.js +1 -1
- package/dist/sdk/guide-topics.js +1 -1
- package/dist/sdk/guide.js +7 -7
- package/dist/sdk/history/append-only-repair.js +4 -4
- package/dist/sdk/history/attestation-command.js +2 -2
- package/dist/sdk/history/attestation-contract.js +1 -1
- package/dist/sdk/history/attestation-scan.js +1 -1
- package/dist/sdk/history/attestation.js +1 -1
- package/dist/sdk/history/maintenance.js +1 -1
- package/dist/sdk/history/reanchor-refusal.js +1 -1
- package/dist/sdk/history/reseed.js +1 -1
- package/dist/sdk/history/salvage.js +5 -5
- package/dist/sdk/history/subject.js +1 -1
- package/dist/sdk/history-analytics.js +1 -1
- package/dist/sdk/history-compact.js +1 -1
- package/dist/sdk/history-mcp.js +1 -1
- package/dist/sdk/history-provenance.js +1 -1
- package/dist/sdk/history-read.js +1 -1
- package/dist/sdk/history-redact.js +1 -1
- package/dist/sdk/history-repair.js +1 -1
- package/dist/sdk/improvement-ledger-validation.js +1 -1
- package/dist/sdk/improvement-ledger.js +2 -2
- package/dist/sdk/init-agent-guidance.js +10 -10
- package/dist/sdk/init.js +14 -14
- package/dist/sdk/invocation-author.js +1 -1
- package/dist/sdk/item-children.js +1 -1
- package/dist/sdk/item-metadata-index.js +1 -1
- package/dist/sdk/item-schedule.js +1 -1
- package/dist/sdk/item-transaction.js +1 -1
- package/dist/sdk/learnings.js +1 -1
- package/dist/sdk/lifecycle/append.js +3 -3
- package/dist/sdk/lifecycle/checkpoint-rollback.js +1 -1
- package/dist/sdk/lifecycle/claim.js +1 -1
- package/dist/sdk/lifecycle/cli-input.js +1 -1
- package/dist/sdk/lifecycle/close-many.js +1 -1
- package/dist/sdk/lifecycle/close.js +1 -1
- package/dist/sdk/lifecycle/copy.js +1 -1
- package/dist/sdk/lifecycle/core-field-recovery.js +1 -1
- package/dist/sdk/lifecycle/core-item-fields.js +1 -1
- package/dist/sdk/lifecycle/create-deferrals.js +1 -1
- package/dist/sdk/lifecycle/create.js +1 -1
- package/dist/sdk/lifecycle/delete.js +1 -1
- package/dist/sdk/lifecycle/dependency-removal.js +1 -1
- package/dist/sdk/lifecycle/event-validation-messages.js +1 -1
- package/dist/sdk/lifecycle/focus.js +1 -1
- package/dist/sdk/lifecycle/hierarchy-mutation-lock.js +1 -1
- package/dist/sdk/lifecycle/item-revision.js +1 -1
- package/dist/sdk/lifecycle/legacy-none-tokens.js +1 -1
- package/dist/sdk/lifecycle/lifecycle-transitions.js +1 -1
- package/dist/sdk/lifecycle/mcp-actions.js +1 -1
- package/dist/sdk/lifecycle/metadata-normalizers.js +1 -1
- package/dist/sdk/lifecycle/mutation-command-options.js +0 -1
- package/dist/sdk/lifecycle/mutation-facet-contracts.js +1 -1
- package/dist/sdk/lifecycle/mutation-option-validation.js +1 -1
- package/dist/sdk/lifecycle/plan-mutation-receipt.js +1 -1
- package/dist/sdk/lifecycle/plan.js +1 -1
- package/dist/sdk/lifecycle/recurrence-parsers.js +1 -1
- package/dist/sdk/lifecycle/release-handoff.js +1 -1
- package/dist/sdk/lifecycle/reopen.js +1 -1
- package/dist/sdk/lifecycle/repeatable-metadata-parsers.js +2 -2
- package/dist/sdk/lifecycle/repeated-terminal-state.js +1 -1
- package/dist/sdk/lifecycle/restore.js +1 -1
- package/dist/sdk/lifecycle/shared-unset-fields.js +1 -1
- package/dist/sdk/lifecycle/start-blockers.js +1 -1
- package/dist/sdk/lifecycle/structured-mutation-plan.js +1 -1
- package/dist/sdk/lifecycle/task-composition.js +1 -1
- package/dist/sdk/lifecycle/update-many.js +1 -1
- package/dist/sdk/lifecycle/update.js +2 -2
- package/dist/sdk/lifecycle/workflow-transition.js +1 -1
- package/dist/sdk/lifecycle-completion.js +1 -1
- package/dist/sdk/lifecycle-policy.js +1 -1
- package/dist/sdk/linked-artifacts.js +2 -2
- package/dist/sdk/mcp/apps.js +5 -5
- package/dist/sdk/mcp/authorization.js +1 -1
- package/dist/sdk/mcp/discovery.js +1 -1
- package/dist/sdk/mcp/executable.js +4 -4
- package/dist/sdk/mcp/interactions.js +1 -1
- package/dist/sdk/mcp/protocol.js +1 -1
- package/dist/sdk/mcp/skills.js +3 -3
- package/dist/sdk/mcp/subscriptions.js +1 -1
- package/dist/sdk/mcp/tasks.js +2 -2
- package/dist/sdk/mcp/transport.js +1 -1
- package/dist/sdk/merge/abandoned-receipts.js +1 -1
- package/dist/sdk/merge/driver.js +7 -7
- package/dist/sdk/merge/history-scalar-rebase.js +1 -1
- package/dist/sdk/merge/ignored-artifacts.js +1 -1
- package/dist/sdk/merge/index.js +1 -1
- package/dist/sdk/merge/indexed-receipt-blobs.js +2 -2
- package/dist/sdk/merge/install.js +6 -6
- package/dist/sdk/merge/receipt-file-boundary.js +1 -1
- package/dist/sdk/merge/receipt-operation.js +1 -1
- package/dist/sdk/merge/receipt-schema.js +1 -1
- package/dist/sdk/merge/receipts.js +4 -4
- package/dist/sdk/merge/reconcile.js +1 -1
- package/dist/sdk/merge/settlement-hook.js +4 -4
- package/dist/sdk/merge/stage.js +1 -1
- package/dist/sdk/merge/three-way.js +9 -9
- package/dist/sdk/merge/worktree-config.js +2 -2
- package/dist/sdk/merge.js +1 -1
- package/dist/sdk/mutation-events.js +1 -1
- package/dist/sdk/mutation-guard.js +1 -1
- package/dist/sdk/notes.js +1 -1
- package/dist/sdk/output/fit-envelope.js +1 -1
- package/dist/sdk/output/list-envelope.js +1 -1
- package/dist/sdk/output/table-rows.js +1 -1
- package/dist/sdk/output-contracts.js +1 -1
- package/dist/sdk/output-projection.js +1 -1
- package/dist/sdk/output-token-accounting.js +1 -1
- package/dist/sdk/output.js +2 -2
- package/dist/sdk/ownership-source.js +1 -1
- package/dist/sdk/package-import-adapters.js +1 -1
- package/dist/sdk/package-migrations.js +1 -1
- package/dist/sdk/package-runtime-options.js +1 -1
- package/dist/sdk/pagination.js +1 -1
- package/dist/sdk/profile.js +5 -5
- package/dist/sdk/provenance.js +1 -1
- package/dist/sdk/public-surface.json +1 -1
- package/dist/sdk/query/activity.js +1 -1
- package/dist/sdk/query/aggregate.js +1 -1
- package/dist/sdk/query/calendar.js +4 -4
- package/dist/sdk/query/complete-list.js +1 -1
- package/dist/sdk/query/context.js +2 -2
- package/dist/sdk/query/declared-blockers.js +1 -1
- package/dist/sdk/query/duplicate-candidates.js +1 -1
- package/dist/sdk/query/get-facet-roots.js +1 -1
- package/dist/sdk/query/get.js +1 -1
- package/dist/sdk/query/history.js +1 -1
- package/dist/sdk/query/item-filter-options.js +0 -1
- package/dist/sdk/query/light-metadata.js +1 -1
- package/dist/sdk/query/list-filter-shared.js +1 -1
- package/dist/sdk/query/list.js +1 -1
- package/dist/sdk/query/multi-value-filters.js +1 -1
- package/dist/sdk/query/next-ranking-policy.js +1 -1
- package/dist/sdk/query/next-ready-budget.js +1 -1
- package/dist/sdk/query/next.js +2 -2
- package/dist/sdk/query/parsers.js +1 -1
- package/dist/sdk/query/projection-contracts.js +1 -1
- package/dist/sdk/query/search/corpus.js +2 -2
- package/dist/sdk/query/search/filters.js +1 -1
- package/dist/sdk/query/search/input.js +1 -1
- package/dist/sdk/query/search/lexical.js +1 -1
- package/dist/sdk/query/search/response.js +1 -1
- package/dist/sdk/query/search/semantic.js +3 -3
- package/dist/sdk/query/search/types.js +0 -1
- package/dist/sdk/query/search-contracts.js +1 -1
- package/dist/sdk/query/search-pagination.js +1 -1
- package/dist/sdk/query/search-rendering.js +1 -1
- package/dist/sdk/query/search.js +1 -1
- package/dist/sdk/query/window-pagination.js +1 -1
- package/dist/sdk/query/workspace-contracts.js +1 -1
- package/dist/sdk/read-output/continuation.js +1 -1
- package/dist/sdk/read-output/extension.js +1 -1
- package/dist/sdk/read-output/options.js +1 -1
- package/dist/sdk/read-output/positional-rows.js +1 -1
- package/dist/sdk/read-output/provenance.js +1 -1
- package/dist/sdk/read-output/session-result.js +0 -1
- package/dist/sdk/read-output/surfaces.js +1 -1
- package/dist/sdk/read-output/tail-retention.js +1 -1
- package/dist/sdk/read-output-budget.js +1 -1
- package/dist/sdk/read-output-contracts.js +1 -1
- package/dist/sdk/read-output-rows.js +1 -1
- package/dist/sdk/read-output-session.js +1 -1
- package/dist/sdk/relationship-analytics.js +1 -1
- package/dist/sdk/relationship-context.js +1 -1
- package/dist/sdk/relationship-history.js +6 -6
- package/dist/sdk/relationship-kinds/contract.js +1 -1
- package/dist/sdk/relationships.js +1 -1
- package/dist/sdk/reproducibility/process.js +1 -1
- package/dist/sdk/runtime/actions.js +1 -1
- package/dist/sdk/runtime/context.js +1 -1
- package/dist/sdk/runtime/mutation-admission.js +1 -1
- package/dist/sdk/runtime/mutation-value-validation.js +1 -1
- package/dist/sdk/runtime/schema-preview.js +1 -1
- package/dist/sdk/runtime/schema.js +1 -1
- package/dist/sdk/runtime-action-aliases.js +1 -1
- package/dist/sdk/runtime-extended-actions.js +1 -1
- package/dist/sdk/runtime-input.d.ts +2 -0
- package/dist/sdk/runtime-input.js +1 -1
- package/dist/sdk/runtime-primitives.js +1 -1
- package/dist/sdk/runtime-public-contracts.js +0 -1
- package/dist/sdk/runtime-stats-options.js +1 -1
- package/dist/sdk/runtime.d.ts +5 -3
- package/dist/sdk/runtime.js +1 -1
- package/dist/sdk/scheduling-shortcuts.js +1 -1
- package/dist/sdk/schema/field-option-collisions.js +2 -0
- package/dist/sdk/schema-migration.js +4 -4
- package/dist/sdk/schema.js +7 -7
- package/dist/sdk/search-refresh-worker.js +1 -1
- package/dist/sdk/similarity-scoring.js +1 -1
- package/dist/sdk/similarity.js +1 -1
- package/dist/sdk/start-task-status.js +1 -1
- package/dist/sdk/stats.js +1 -1
- package/dist/sdk/structured-mutations.js +1 -1
- package/dist/sdk/telemetry-flush.js +1 -1
- package/dist/sdk/telemetry.js +4 -4
- package/dist/sdk/templates.js +3 -3
- package/dist/sdk/test/batch.js +2 -2
- package/dist/sdk/test/command-args.js +1 -1
- package/dist/sdk/test/command-resolution.js +2 -2
- package/dist/sdk/test/entry.js +2 -2
- package/dist/sdk/test/execution-receipts.js +2 -2
- package/dist/sdk/test/execution.js +5 -5
- package/dist/sdk/test/json-path.js +1 -1
- package/dist/sdk/test/linked-command-detection.js +1 -1
- package/dist/sdk/test/measurements.js +1 -1
- package/dist/sdk/test/parsers.js +1 -1
- package/dist/sdk/test/prerequisites.js +1 -1
- package/dist/sdk/test/receipt-index-snapshot.js +1 -1
- package/dist/sdk/test/run-phases.js +1 -1
- package/dist/sdk/test/runs.js +1 -1
- package/dist/sdk/test/trust.js +2 -2
- package/dist/sdk/test/update.js +1 -1
- package/dist/sdk/test/workspace-snapshot.js +1 -1
- package/dist/sdk/traceability/runtime-files-lookup.js +1 -1
- package/dist/sdk/traceability/source-traceability.js +2 -2
- package/dist/sdk/tracker-root-discovery.js +1 -1
- package/dist/sdk/transactions/item-finalization.js +1 -1
- package/dist/sdk/workspace-contracts-cache.js +1 -1
- package/dist/sdk/workspace-contracts.js +1 -1
- package/dist/sdk/workspace-memory.js +2 -2
- package/dist/sdk/workspace-snapshot.js +5 -5
- package/dist/sdk/workspace-transaction-gc.js +1 -1
- package/dist/sdk/workspace-transaction.js +2 -2
- package/dist/sdk/workspace.js +6 -6
- package/dist/types/index.js +1 -1
- package/dist/types.js +1 -1
- package/docs/COMMANDS.md +1 -1
- package/docs/EXTENSIONS.md +1 -1
- package/docs/SDK.md +74 -4
- 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 +63 -24
- package/scripts/prepare-build-cache.mjs +28 -1
- package/dist/cli-bundle/chunks/chunk-3W47ZZ5T.js +0 -9
- package/dist/cli-bundle/chunks/chunk-4TB5D6HL.js +0 -125
- package/dist/cli-bundle/chunks/chunk-5ZMVLWE3.js +0 -2
- package/dist/cli-bundle/chunks/chunk-6BBDEIKC.js +0 -33
- package/dist/cli-bundle/chunks/chunk-AR4NP5HI.js +0 -3
- package/dist/cli-bundle/chunks/chunk-B4PPFOPY.js +0 -3
- package/dist/cli-bundle/chunks/chunk-CAR2L5NW.js +0 -8
- package/dist/cli-bundle/chunks/chunk-DEZPZOQ7.js +0 -2
- package/dist/cli-bundle/chunks/chunk-EIGUKEV6.js +0 -2
- package/dist/cli-bundle/chunks/chunk-GTPCAJMZ.js +0 -8
- package/dist/cli-bundle/chunks/chunk-GYP24M7W.js +0 -2
- package/dist/cli-bundle/chunks/chunk-HC2OPETM.js +0 -2
- package/dist/cli-bundle/chunks/chunk-HKUV74K3.js +0 -2
- package/dist/cli-bundle/chunks/chunk-HXHYDO2R.js +0 -115
- package/dist/cli-bundle/chunks/chunk-IB7UB5TE.js +0 -2
- package/dist/cli-bundle/chunks/chunk-J2LABXBL.js +0 -2
- package/dist/cli-bundle/chunks/chunk-J52BEBSS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-KQIZ34SF.js +0 -3
- package/dist/cli-bundle/chunks/chunk-LQBWLNZJ.js +0 -3
- package/dist/cli-bundle/chunks/chunk-OJTMGDON.js +0 -31
- package/dist/cli-bundle/chunks/chunk-SPPHDVZE.js +0 -2
- package/dist/cli-bundle/chunks/chunk-TC6XLIYO.js +0 -2
- package/dist/cli-bundle/chunks/chunk-U7EL3AYA.js +0 -3
- package/dist/cli-bundle/chunks/chunk-VQFWW4EF.js +0 -6
- package/dist/cli-bundle/chunks/chunk-X6MIWTTT.js +0 -2
- package/dist/cli-bundle/chunks/chunk-XC5Q2ZV7.js +0 -2
- package/dist/cli-bundle/chunks/chunk-XFHPKXAE.js +0 -71
- package/dist/cli-bundle/chunks/chunk-YHVLVSEZ.js +0 -9
- package/dist/cli-bundle/chunks/chunk-YMUSRWV4.js +0 -9
- package/dist/cli-bundle/chunks/chunk-YR2KEBHP.js +0 -2
- package/dist/cli-bundle/chunks/context-budget-recovery-L2WP5S26.js +0 -2
- package/dist/cli-bundle/chunks/indexed-receipt-blobs-ITTXIN4K.js +0 -4
- package/dist/cli-bundle/chunks/item-transaction-QY3PUHEI.js +0 -2
- package/dist/cli-bundle/chunks/mutation-actor-FWLYWJ37.js +0 -2
- package/dist/cli-bundle/chunks/mutation-admission-7ZDCK3G2.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-57AJQWFV.js +0 -21
- package/dist/cli-bundle/chunks/register-operations-RKWST7CU.js +0 -2
- package/dist/cli-bundle/chunks/register-setup-CMI23PC5.js +0 -2
- package/dist/cli-bundle/chunks/settlement-hook-BXN5LEQD.js +0 -7
- package/dist/cli-bundle/chunks/stage-4KDVXC5Z.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-2ZD7275J.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-324AHXJO.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-3IRCYJI5.js +0 -3
- package/dist/cli-bundle/focused-chunks/chunk-3V53UBHN.js +0 -9
- package/dist/cli-bundle/focused-chunks/chunk-3XSWH6QC.js +0 -91
- package/dist/cli-bundle/focused-chunks/chunk-4JZITIJB.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-4KTFKSS3.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-5C5TK3ET.js +0 -78
- package/dist/cli-bundle/focused-chunks/chunk-AKJYOZZP.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-BRZV7BFV.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-C3O6JJPO.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-CR7CGEB2.js +0 -3
- package/dist/cli-bundle/focused-chunks/chunk-EGN2HFRU.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-GHQVM6K6.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-HDEKFSOK.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-I5LGPUWH.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-IWOXAUDU.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-ML3JHCC6.js +0 -6
- package/dist/cli-bundle/focused-chunks/chunk-OPGOOP25.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-RE7ZWT7D.js +0 -27
- package/dist/cli-bundle/focused-chunks/chunk-RKQNVYGF.js +0 -3
- package/dist/cli-bundle/focused-chunks/chunk-RQ252B6V.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-SVOOGGAK.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-URGHTTT3.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-USPYKWQG.js +0 -13
- package/dist/cli-bundle/focused-chunks/chunk-UWS3FC4D.js +0 -102
- package/dist/cli-bundle/focused-chunks/chunk-UXQGFGAT.js +0 -44
- package/dist/cli-bundle/focused-chunks/chunk-WZWXGDYY.js +0 -26
- package/dist/cli-bundle/focused-chunks/chunk-YKSLZPLT.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-ZWJTY4ID.js +0 -2
- package/dist/cli-bundle/focused-chunks/context-budget-recovery-5MKOCGY5.js +0 -2
- package/dist/cli-bundle/focused-chunks/indexed-receipt-blobs-AF4U3F3D.js +0 -4
- package/dist/cli-bundle/focused-chunks/item-transaction-GLACUTPL.js +0 -2
- package/dist/cli-bundle/focused-chunks/mutation-actor-TCYDPUGG.js +0 -2
- package/dist/cli-bundle/focused-chunks/mutation-admission-LY73EJWM.js +0 -2
- package/dist/cli-bundle/focused-chunks/settlement-hook-ARYCZQY4.js +0 -7
- package/dist/cli-bundle/focused-chunks/stage-DQ7RQQ52.js +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
`:
|
|
3
|
-
`))}await
|
|
4
|
-
`),process.exitCode=
|
|
1
|
+
import{formatPmCliErrorForDisplay as t,formatPmCliErrorForJson as o}from"./error-guidance.js";import{assertProjectRuntimeCompatibility as a,PmCliError as s}from"../sdk/environment/project-runtime-compatibility.js";import{parseBootstrapGlobalOptions as g}from"../sdk/cli-bootstrap.js";async function u(e){const i=g([...e.argv]).json;let n;try{if(e.executingVersion!==void 0){const r=a({executingVersion:e.executingVersion,projectRoot:e.projectRoot,argv:e.argv,allowStale:e.allowStale});r.warning!==void 0&&(i?n=`${JSON.stringify({type:"warning",...r.warning})}
|
|
2
|
+
`:e.writeError(`[pm] warning: ${r.warning.code} \u2014 ${r.warning.message} Running ${r.warning.executing_version}; project pin ${r.warning.project_version} (${r.warning.source}). ${r.warning.next_steps[0]}
|
|
3
|
+
`))}await e.run(),n!==void 0&&Number(process.exitCode??0)===0&&e.writeError(n)}catch(r){if(!(r instanceof s))throw r;e.writeError(`${i?JSON.stringify(o(r.message,r.exitCode,r.context),null,2):t(r.message,r.context)}
|
|
4
|
+
`),process.exitCode=r.exitCode}}export{u as runRuntimeCompatibleCli};
|
|
5
5
|
//# sourceMappingURL=runtime-compatibility-boundary.js.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
`);return}switch(
|
|
3
|
-
`);return;case"show":
|
|
4
|
-
`);return;case"show-status":
|
|
5
|
-
`);return;case"list-fields":
|
|
6
|
-
`);return;case"show-field":
|
|
7
|
-
`);return;case"remove-type":
|
|
8
|
-
`);break;case"remove-field":
|
|
9
|
-
`);break;case"apply-preset":
|
|
10
|
-
`);break;case"infer-types":
|
|
11
|
-
`);break;case"add-field":
|
|
12
|
-
`);break;case"add-status":
|
|
13
|
-
`);break;case"remove-status":
|
|
14
|
-
`);break;default:
|
|
15
|
-
`);break}
|
|
1
|
+
import{stringArrayOption as y}from"../option-values.js";import{WORKFLOW_POLICY_ACTIONS as b}from"../../sdk/cli-contracts/enum-contracts.js";import{EXIT_CODE as k,PmCliError as A,assertSchemaPreviewSupported as O,createUnknownSubcommandError as _}from"../../sdk/runtime-primitives.js";import*as p from"../commands/workspace/schema.js";import{looksLikeSchemaSubcommandTypo as R,parseSchemaOrderOption as h}from"../schema-registration-helpers.js";import{addHiddenOption as S,collect as f,formatHookWarnings as q,getGlobalOptions as C,printError as g,printResult as w,readOptionString as s,writeStdout as i}from"../registration-helpers.js";function H(a,e){const r=e.normalizedSubcommand;return r!=="rename-type"&&r!=="rename-field"&&r!=="remap-status"?null:a.runSchemaEvolutionMigration({kind:r,from:e.typeName,to:s(e.options,"to"),...r==="rename-field"&&typeof e.options.type=="string"?{type:e.options.type}:{}},{migrationId:s(e.options,"migrationId")??s(e.options,"migration_id"),dryRun:e.options.dryRun===!0,author:e.author,force:e.force},e.globalOptions)}function T(a,e){const{normalizedSubcommand:r,typeName:n,globalOptions:t,author:m,force:o}=e;switch(r){case"list":return a.runSchemaList(t);case"show":return a.runSchemaShow(n,t);case"show-status":return a.runSchemaShowStatus(n,t);case"list-fields":return a.runSchemaListFields(t);case"show-field":return a.runSchemaShowField(n,t);case"remove-type":return a.runSchemaRemoveType(n,{author:m,force:o},t);case"remove-field":return a.runSchemaRemoveField(n,{author:m,force:o},t);case"remove-status":return a.runSchemaRemoveStatus(n,{author:m,force:o},t);case"apply-preset":return a.runSchemaApplyPreset(n,{author:m,force:o},t);default:return null}}async function $(a,e){const{normalizedSubcommand:r,typeName:n,options:t,globalOptions:m}=e,{author:o,force:d,description:l}=e,u=H(a,e);if(u)return u;const c=T(a,e);if(c)return c;switch(r){case"add-field":return a.runSchemaAddField(n,{type:typeof t.type=="string"?t.type:void 0,commands:e.commands,description:l,cliFlag:typeof t.cliFlag=="string"?t.cliFlag:void 0,alias:e.aliases,required:!!t.required,requiredOnCreate:!!t.requiredOnCreate,allowUnset:t.allowUnset!==!1,requiredTypes:e.requiredTypes,author:o,force:d},m);case"add-status":return a.runSchemaAddStatus(n,{role:e.roles,alias:e.aliases,description:l,order:e.order,author:o,force:d},m);default:return t.infer===!0?a.runSchemaInferTypes({minCount:e.minCount,apply:!!t.apply,author:o,force:d},m):a.runSchemaAddType(n,{description:l,defaultStatus:e.defaultStatus,folder:typeof t.folder=="string"?t.folder:void 0,alias:e.aliases,author:o,force:d},m)}}function F(a,e){if("migration_id"in e){i(`${a.formatSchemaEvolutionMigrationHuman(e)}
|
|
2
|
+
`);return}switch(e.action){case"list":i(`${a.formatSchemaListHuman(e)}
|
|
3
|
+
`);return;case"show":i(`${a.formatSchemaShowHuman(e)}
|
|
4
|
+
`);return;case"show-status":i(`${a.formatSchemaShowStatusHuman(e)}
|
|
5
|
+
`);return;case"list-fields":i(`${a.formatSchemaListFieldsHuman(e)}
|
|
6
|
+
`);return;case"show-field":i(`${a.formatSchemaShowFieldHuman(e)}
|
|
7
|
+
`);return;case"remove-type":i(`${a.formatSchemaRemoveTypeHuman(e)}
|
|
8
|
+
`);break;case"remove-field":i(`${a.formatSchemaRemoveFieldHuman(e)}
|
|
9
|
+
`);break;case"apply-preset":i(`${a.formatSchemaApplyPresetHuman(e)}
|
|
10
|
+
`);break;case"infer-types":i(`${a.formatSchemaInferTypesHuman(e)}
|
|
11
|
+
`);break;case"add-field":i(`${a.formatSchemaAddFieldHuman(e)}
|
|
12
|
+
`);break;case"add-status":i(`${a.formatSchemaAddStatusHuman(e)}
|
|
13
|
+
`);break;case"remove-status":i(`${a.formatSchemaRemoveStatusHuman(e)}
|
|
14
|
+
`);break;default:i(`${a.formatSchemaAddTypeHuman(e)}
|
|
15
|
+
`);break}e.warnings.length>0&&g(`schema ${e.action} warnings: ${q(e.warnings)}`)}function v(a){if(Array.isArray(a))return a.flatMap(e=>e.split(",")).map(e=>e.trim()).filter(e=>e.length>0)}async function M(a,e,r,n){const t=C(n),m=Date.now(),{SCHEMA_SUBCOMMANDS:o}=p;let d=(a??"").trim().toLowerCase(),l=e;if(P(d,o),!o.includes(d)&&l===void 0&&!R(a)&&(l=a,d="add-type"),!o.includes(d))throw _({command_path:"schema",token:d,allowed:o});const u=b.find(c=>c===d);if(O(d,r.dryRun===!0),u)w(await p.runWorkflowPolicyAction(u,e,{definition:r.definition,policy:s(r,"policy"),message:s(r,"message"),author:s(r,"author"),dryRun:r.dryRun===!0},t),t);else{const c=await $(p,{normalizedSubcommand:d,typeName:l,options:r,aliases:y(r.alias),roles:y(r.role),commands:v(r.commands),requiredTypes:v(r.requiredTypes),defaultStatus:s(r,"defaultStatus")??s(r,"default_status"),order:h(r.order),minCount:h(r.minCount),author:s(r,"author"),force:!!r.force,description:s(r,"description"),globalOptions:t});t.json===!0||t.defaultOutputFormat==="json"?w(c,t):t.quiet||F(p,c)}t.profile&&g(`profile:command=schema took_ms=${Date.now()-m}`)}function P(a,e){if(!a)throw new A(`pm schema requires a subcommand. Allowed: ${e.join(", ")}`,k.USAGE,{code:"missing_required_argument",examples:["pm schema list","pm schema show Task","pm schema show-status open",'pm schema add-type Spike --description "Time-boxed investigation" --default-status open',"pm schema remove-type Spike","pm schema add-status review --role active --alias in_review","pm schema remove-status review","pm schema add-field severity_level --type string --commands create,update","pm schema list-fields","pm schema apply-preset agile","pm schema add-type --infer --min-count 10","pm schema rename-type Spike --to Experiment --migration-id spike-v2 --dry-run","pm schema rename-field severity --to impact --migration-id severity-v2","pm schema remap-status review --to verifying --migration-id review-v2"]})}function N(a){const e=a.command("schema").option("--definition <json>","Policy or proposed fields JSON").option("--policy <id>","Policy id for policy-approve").option("--message <text>","Audit rationale for a policy mutation").argument("[subcommand]","Required; schema verb (list/show, add/remove, rename/remap, policy-*), or custom type shorthand").argument("[name]","Definition/source name or item id; policy-mode: advise|refuse").option("--description <text>","Type, status, or field description").option("--default-status <status>","Default status for this type").option("--folder <dir>","Storage folder for items of this custom type").option("--alias <name>","Alias for the custom type, status, or field flag (repeatable, csv-friendly)",f).option("--role <value>","Lifecycle role for a custom status (repeatable): draft, active, blocked, terminal, terminal_done, terminal_canceled, default_open, default_close, default_cancel",f).option("--order <n>","Display/sort order for a custom status").optionsGroup("Field options (add-field):").option("--type <type>","Value type for a custom field (add-field): string, number, boolean, string_array, array, object").option("--commands <list>","Field commands (repeatable/csv): create, update, update_many, list, search, calendar, context",f).option("--cli-flag <flag>","Override the auto-derived CLI flag for a custom field (add-field)").option("--required","Mark a custom field as always required (add-field)").option("--required-on-create","Mark a custom field as required at create time (add-field)").option("--no-allow-unset","Disallow clearing a custom field via --unset (add-field)").option("--required-types <list>","Restrict a custom field's requirement to specific item types (add-field; repeatable, comma-friendly)",f).optionsGroup("Type inference and migration options:").option("--infer","Infer custom item types from title-prefix conventions (add-type; preview unless --apply)").option("--min-count <n>","Minimum items sharing a prefix for add-type --infer (default 10)").option("--apply","Register inferred types (add-type --infer); without it the command previews only").option("--to <name>","Target definition name for rename/remap migrations").option("--migration-id <id>","Stable idempotency key for a resumable schema migration").option("--dry-run","Preview rename/remap migrations and workflow-policy actions without writes").option("--author <value>","Mutation author").option("--force","Force ownership/lock override").description("Manage types, statuses, fields, presets, and workflow policies.");S(e,"--default_status <status>","Alias for --default-status",!1),S(e,"--migration_id <id>","Alias for --migration-id",!1),e.action(M)}export{N as registerSchemaCommand};
|
|
16
16
|
//# sourceMappingURL=registration.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{EXIT_CODE as n,PmCliError as i,isPureSnakeCaseAlias as s}from"../sdk/runtime-primitives.js";const u=["add-","apply-","list-","remove-","show-"],f=new Set(["field","fields","help","status","statuses","type","types"]);function d(e){const t=e.trim(),r=t.toLowerCase();return r.length===0?!1:t[0]===r[0]||f.has(r)||u.some(o=>r.startsWith(o))}function E(e){if(e!=null){if(typeof e=="number"){if(!Number.isInteger(e))throw new i("--order must be a finite integer.",n.USAGE);return e}if(typeof e=="string"){if(e.trim().length===0)return;const t=Number(e);if(!Number.isInteger(t))throw new i("--order must be a finite integer.",n.USAGE);return t}throw new i("--order must be a finite integer.",n.USAGE)}}export{s as isPureSnakeCaseAlias,d as looksLikeSchemaSubcommandTypo,E as parseSchemaOrderOption};
|
|
2
2
|
//# sourceMappingURL=schema-registration-helpers.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import{runSearchRefreshWorkerEntrypoint as r}from"../sdk/search-refresh-worker.js";await r();
|
|
3
3
|
//# sourceMappingURL=search-refresh.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{EXIT_CODE as i,PmCliError as o}from"../sdk/runtime-primitives.js";const s=new Map([["measurements","boolean"],["metric","string"],["measurementLimit","number"],["observe","string_array"],["direction","direction"],["measurementSource","string"],["measurementItem","string"],["measurementRevision","string"],["author","string"],["message","string"],["provenanceCoverage","boolean"],["fleetAttribution","boolean"],["since","string"],["eventLimit","number"],["minimumSample","number"]]),m=new Set(["higher","lower","target"]),c=[...s.keys()].sort((r,e)=>r.localeCompare(e)).join(", ");function u(r,e){return r==="boolean"?typeof e=="boolean":r==="string"?typeof e=="string":r==="number"?typeof e=="number":r==="string_array"?Array.isArray(e)&&e.every(t=>typeof t=="string"):r==="direction"&&m.has(e)}function S(r){if(r===void 0)return{};let e;try{e=JSON.parse(r)}catch(t){throw new o(`--analytics must be valid JSON: ${String(t)}`,i.USAGE)}if(e===null||typeof e!="object"||Array.isArray(e))throw new o("--analytics must be a JSON object.",i.USAGE);for(const[t,a]of Object.entries(e)){const n=s.get(t);if(!u(n,a))throw new o(n===void 0?`Unknown --analytics field "${t}". Accepted fields: ${c}.`:`--analytics field "${t}" must be ${n.replace("_"," ")}.`,i.USAGE)}return e}export{S as parseStatsAnalyticsJson};
|
|
2
2
|
//# sourceMappingURL=stats-analytics-json.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
import{flushTelemetryQueue as e}from"../sdk/telemetry-flush.js";await e();
|
|
3
3
|
//# sourceMappingURL=telemetry-flush.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema_version":1,"generation":"0c8883cebeba2a3246dd5444ea825e1c42933bc56c82d13e95ec36b63c67a07d","files":[{"path":"chunks/chunk-3W47ZZ5T.js","sha256":"94959bb03714e8af6cc9c62bc5104745bb2f65eb71e54bf1d8a2b5b789bf0a47"},{"path":"chunks/chunk-3W47ZZ5T.js.map","sha256":"5b35a012b6fdfd81cc35c4728f4589519a96f431d048dac42d77d6302dd2d0be"},{"path":"chunks/chunk-4TB5D6HL.js","sha256":"886bd8dba6a4beac6edaabed29ddd2fd98a76ddd748d9672bd4900e7b3694403"},{"path":"chunks/chunk-4TB5D6HL.js.map","sha256":"191f17a2e5b251040ff9fdfd37cd5d8abcbbb21462a851c50820a85f15cecd06"},{"path":"chunks/chunk-5ZMVLWE3.js","sha256":"ea67bbbaf8eb23e35137c4c29e302d8f2b040d5bcf2dc94482c26393ee896c98"},{"path":"chunks/chunk-5ZMVLWE3.js.map","sha256":"a293fc0d94c56a7f11857fdc95a5355cf5ceca2329c9a17dd21416824f947b0b"},{"path":"chunks/chunk-6BBDEIKC.js","sha256":"b828149ad426996b6fd857b3297b86ed4994a5fb91dc8c60fe0480bdbc8fd497"},{"path":"chunks/chunk-6BBDEIKC.js.map","sha256":"90c60962b73cc1ba6f1f5287adca1aa7f4f68ea3b13d35ef701d9d21acc2b2c9"},{"path":"chunks/chunk-AR4NP5HI.js","sha256":"0a70a66abf176f7477931b8accc7ffcdc56145d028fc5532ea6e7593d0a9f06d"},{"path":"chunks/chunk-AR4NP5HI.js.map","sha256":"7c1b74a7056a4532a849f9edf3d56593910386b7c6829c66933c1b0bf5ff94a9"},{"path":"chunks/chunk-B4PPFOPY.js","sha256":"5cf898a3d9f3a99b4bc5743c7190742ebfd2647072eba6be472f83677e5eb6b0"},{"path":"chunks/chunk-B4PPFOPY.js.map","sha256":"369f8da31eecee9158c53f10731a660aef83332ce0588ff3df2618bbf6a5e17a"},{"path":"chunks/chunk-B76TFRO2.js","sha256":"4fb8af3835aa29af157558f8b0abc99af95c23182300711a8cdc3986b0c3b17c"},{"path":"chunks/chunk-B76TFRO2.js.map","sha256":"4b91c97a44fcaa449acb4a54bd1940cbd6147eb161c28b32d6cc843b69de86a7"},{"path":"chunks/chunk-CAR2L5NW.js","sha256":"fec03fa9f415270138673584fe6fd14fec06acb6826f266ea0f43cff1e37656d"},{"path":"chunks/chunk-CAR2L5NW.js.map","sha256":"ad66455e3b477169ae48d4564e072c2f77749d5e2c05e38288852b9b2e71ee45"},{"path":"chunks/chunk-DEZPZOQ7.js","sha256":"ef11ddab9ecc9533cac75ccc8ca41058a59382dfbe3262033fa21c7264d73b0d"},{"path":"chunks/chunk-DEZPZOQ7.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-EIGUKEV6.js","sha256":"2f9b5d9ec0ae5d43355658c6225c3c57eb391efc4bbe132edebd5c7a800c9ea9"},{"path":"chunks/chunk-EIGUKEV6.js.map","sha256":"199365be11ebc44958c365c9af614847b7e2971869f137bcfb95d9c95b8aeb5d"},{"path":"chunks/chunk-GTPCAJMZ.js","sha256":"f2006f1d839d4069b7080d0c35b5064a611993898325a5cb3667d024c01789c8"},{"path":"chunks/chunk-GTPCAJMZ.js.map","sha256":"9de1fa3d83d31ac940b13856e811d1253c258e188929fb6c89baa1925e6fc74f"},{"path":"chunks/chunk-GYP24M7W.js","sha256":"ad5a95b49f5fb8eabcafedb3585e8d14671532af6da72a05320bb6d1276fc145"},{"path":"chunks/chunk-GYP24M7W.js.map","sha256":"6c0c38d5e4904364a0f789c99fe31fcab2df01d2e1125d4a0e78f82cd9fb7121"},{"path":"chunks/chunk-HC2OPETM.js","sha256":"1589004c9e9b87342c4fe6c2e4b9a3b6d036940aa10171973ce8ce16a7a6806e"},{"path":"chunks/chunk-HC2OPETM.js.map","sha256":"77fcf24d501db4530955c4034aefb7388824451c29e9b930c2dce6ef36c35790"},{"path":"chunks/chunk-HKUV74K3.js","sha256":"5e89cf75e225c1d29365c22f9d464f1d4a1b6a5391857360eb58bead014a1e55"},{"path":"chunks/chunk-HKUV74K3.js.map","sha256":"d7ab3c1871ec6a612576f20ed0a23147ca726277176447765a86ad824557143f"},{"path":"chunks/chunk-HXHYDO2R.js","sha256":"854aaa09e1847ad56ad6f6fd7a18076b91c389ee7d9a96304ea86d1b6df78079"},{"path":"chunks/chunk-HXHYDO2R.js.map","sha256":"aa0e6e4f27327463d09daf2faec50e61cc72ea0a9da7c3314ce0013feea44db2"},{"path":"chunks/chunk-IB7UB5TE.js","sha256":"158940f663a676247075395b646afbce49c7b88138d677699bdabf9add9776df"},{"path":"chunks/chunk-IB7UB5TE.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-J2LABXBL.js","sha256":"28132974ca662549895a86b06d33ac6fafa135caca293711fa3d467d624dbdce"},{"path":"chunks/chunk-J2LABXBL.js.map","sha256":"370d290231fbdca5350def6e21ad3e6f88f321c1198d4e11470cce5d326893a7"},{"path":"chunks/chunk-J52BEBSS.js","sha256":"e51958eff8da0838bec61e92f3f67bd5cbb19680a6452a496d6aa8e012957e36"},{"path":"chunks/chunk-J52BEBSS.js.map","sha256":"cda5fae04b09c64aa4237941f790e3a937850ba3d1f301b5f0a9161a36494f96"},{"path":"chunks/chunk-KQIZ34SF.js","sha256":"7a4ef1771d6c378cc51778b2e9a567aaa9b891b34bfd366eba64960653f2a206"},{"path":"chunks/chunk-KQIZ34SF.js.map","sha256":"ea8d32e04c2a61702f0ad6e801ab153f3d4cbc6d011b5486b5b7f38b41757b6f"},{"path":"chunks/chunk-LQBWLNZJ.js","sha256":"afe663aff5b2eada11c6f3009aba8ad23dc38afabe120a0b42a8a001032a63bf"},{"path":"chunks/chunk-LQBWLNZJ.js.map","sha256":"844c82c0a30a2a34d2bd70124910518e60d5df72790e1c96f6a74442e93ec7cf"},{"path":"chunks/chunk-OJTMGDON.js","sha256":"dd561f4bfac2d72e724f861a4560a3f36c17e3a0f95965c36928c2ff2bab2e94"},{"path":"chunks/chunk-OJTMGDON.js.map","sha256":"7deb46fbf8084c08539c38fcd0636c3c70af59a6c333c9d800e76cf1356817ea"},{"path":"chunks/chunk-SPPHDVZE.js","sha256":"ba82130f93656299c39dc713ba1f03fc47bec7a39fac6594c72e10ba398f04d3"},{"path":"chunks/chunk-SPPHDVZE.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"chunks/chunk-TC6XLIYO.js","sha256":"d02e951309967ac7b1f0742f4425c595e5fd56b3d54679610b71c04b849847ff"},{"path":"chunks/chunk-TC6XLIYO.js.map","sha256":"0d4852623ccd7ff989255817ca65d9cafcd9033b60adc0b36025301910a3d9a9"},{"path":"chunks/chunk-U7EL3AYA.js","sha256":"2658fc92cc5c51adba43d5c27c722a5120b8277f5a1e335a1b65f9c717dd06e6"},{"path":"chunks/chunk-U7EL3AYA.js.map","sha256":"1f215b3316da7f8e33e65e1339c111ba3211f35551cd6bc44f9695e34f2eabd6"},{"path":"chunks/chunk-VQFWW4EF.js","sha256":"83554b1f5526f9f8919feef94453555b558ba909642356ddfadad9810df10f13"},{"path":"chunks/chunk-VQFWW4EF.js.map","sha256":"bce5a63798f55cb8fc93c146136a40f162fa3e0118e549c2377154df506062f5"},{"path":"chunks/chunk-X6MIWTTT.js","sha256":"f7a8ee3288872211e62f4efa129479736dcea2a6b6c3b5c7008f02737d095bc3"},{"path":"chunks/chunk-X6MIWTTT.js.map","sha256":"3ef6aaaab9d223b065b678a7eb29cc8fb1a241156372d5809b00812dd5a84afb"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-XC5Q2ZV7.js","sha256":"270e2c44e5817d057a24a79c4b1c820fd72926027ced10997dbb027c0f7d9b9d"},{"path":"chunks/chunk-XC5Q2ZV7.js.map","sha256":"68e0ab2e24dddcaea207cf160d132f5bccd0972cf13ea39c9a5e07fa1d56c584"},{"path":"chunks/chunk-XFHPKXAE.js","sha256":"7dadd35b5165572a0a69e83901758a4b84e21b46b11f8f05472231694fb4fe53"},{"path":"chunks/chunk-XFHPKXAE.js.map","sha256":"15054752e6d5fad83ac7de9d301f8dfc12bc7bdfd0d1eedf8885c058be4e7244"},{"path":"chunks/chunk-YHVLVSEZ.js","sha256":"c04c93202f1ba59cec3271bf8e61f51311af689d03d382c0d2fe62175a1b665b"},{"path":"chunks/chunk-YHVLVSEZ.js.map","sha256":"d324229a5611ab960622ad2ab56809f611d697ca25b9584ef303d598b33848f5"},{"path":"chunks/chunk-YMUSRWV4.js","sha256":"0f2e388e8b8b2d4acb8d71547cb870a1b82cff302b4e4c2165fdf445dc9d23f5"},{"path":"chunks/chunk-YMUSRWV4.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"chunks/chunk-YR2KEBHP.js","sha256":"15546098eeb3dcfd866ee11bb59c9ed1efbebd0c1f64629c469bd679d2ff990a"},{"path":"chunks/chunk-YR2KEBHP.js.map","sha256":"26c92ca1dcf896743cae73cdf47c47a8133e4e9cff4590b313c02d7094087305"},{"path":"chunks/context-budget-recovery-L2WP5S26.js","sha256":"94308a0c40cb90380fb5f3c00c105b04df651eb699452e4a1eff4392936bad3e"},{"path":"chunks/context-budget-recovery-L2WP5S26.js.map","sha256":"bdec4d79334c795b8b4fdcf03f3820adac1f8a3a220767d3cf0de29c4d3a79e2"},{"path":"chunks/indexed-receipt-blobs-ITTXIN4K.js","sha256":"9cc67ff7cb293184eaa4a97d70fa75e40ca6d2e53570a5ef64bbc20b04cb1820"},{"path":"chunks/indexed-receipt-blobs-ITTXIN4K.js.map","sha256":"cd38ac9e4b9beec9644d2629c41c46fef0179d7fcd36a1df7cafd1cdf5f22489"},{"path":"chunks/item-revision-4QBMZXKX.js","sha256":"941553e52602e758047ac50e2750a7f9e4af9c9273867eb8b7ca2a8f209cb152"},{"path":"chunks/item-revision-4QBMZXKX.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/item-transaction-QY3PUHEI.js","sha256":"8e298f0413a3ebeb50ff2fa3e10431d8c63455b042135483ad7b6c62e0a8d26f"},{"path":"chunks/item-transaction-QY3PUHEI.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/mutation-actor-FWLYWJ37.js","sha256":"ec870917324e80f61c71a4915a5749e28396ae694de9c93f98530dc88192a09a"},{"path":"chunks/mutation-actor-FWLYWJ37.js.map","sha256":"e945f57d6fdec119e842932add67e6a4c6104fa11e7dd7e80a58ec0d1d3db222"},{"path":"chunks/mutation-admission-7ZDCK3G2.js","sha256":"690d7761c83d93df43f9efb1eb8a5b8b16a39f8c6594279b9027cff283547dd5"},{"path":"chunks/mutation-admission-7ZDCK3G2.js.map","sha256":"f9a7145a718c94974b737647e311026c3d279192f8f7687fd24fbf451c0f0dcf"},{"path":"chunks/register-list-query-RR5KACJ3.js","sha256":"bfe4374aebf726a05e5bd285671301d6d878a39cd11c9284c6456796ede63251"},{"path":"chunks/register-list-query-RR5KACJ3.js.map","sha256":"afeab91ebe646202c835d40269b02d00517b4e1eb3995a35b1df69c6d1017cc6"},{"path":"chunks/register-mutation-57AJQWFV.js","sha256":"df2dfd7b6dbca70962a7fb898811b1d0f408f871c479f8f8085d4ffd5e9fc0e5"},{"path":"chunks/register-mutation-57AJQWFV.js.map","sha256":"bcd0fc76737a18684bde80298b8a4d6ef4c49307f71aadc22ceac882cbc1bbb8"},{"path":"chunks/register-operations-RKWST7CU.js","sha256":"2a2216ead2744c1a5d88ede1c767a4be9760711a8d901810ae4b82dc17e6f22f"},{"path":"chunks/register-operations-RKWST7CU.js.map","sha256":"1f869190bcd76293e803d9f2d214a258baf71c7d45ef0842cacf1a4a56a96eac"},{"path":"chunks/register-setup-CMI23PC5.js","sha256":"52693b0f5110dbdfd7882327380754416e628b38c5adec41384049bbbced1a1c"},{"path":"chunks/register-setup-CMI23PC5.js.map","sha256":"d9f28fa1b4717d4385650d301d5bae271a47d202f614af2726cff53309df821f"},{"path":"chunks/settlement-hook-BXN5LEQD.js","sha256":"49737c189a962df20e84497d2ebb68f7f3f35d355edc0d7135c0f44decc09a63"},{"path":"chunks/settlement-hook-BXN5LEQD.js.map","sha256":"6e0577b035532efe4968d1a3bbaf491e0d790074b735ff94448143e5a700c747"},{"path":"chunks/stage-4KDVXC5Z.js","sha256":"39917cf1736f03710b5a4eab974d746db309a2668c2dff0a821073dd3dc41f65"},{"path":"chunks/stage-4KDVXC5Z.js.map","sha256":"c721dac845dcadaae3616cda0c577f1cbef9fefe59016264e1462b8ed40d10a6"},{"path":"focused-chunks/chunk-2ZD7275J.js","sha256":"657bd9df001760047f57c6845b08ddf0e94db3016267a66fd294fa3ac340489f"},{"path":"focused-chunks/chunk-2ZD7275J.js.map","sha256":"b4761430d2339300de950d6df3d39a616d15fb606c67f721325a821f0224c2e6"},{"path":"focused-chunks/chunk-324AHXJO.js","sha256":"ba9ec84ce5e0df180eb76078f55da0ba6da49bf170c956e0d8e4928cd8d54cd1"},{"path":"focused-chunks/chunk-324AHXJO.js.map","sha256":"e06ce25d7ef275f4284fb2a934dfcc79923936182184decc89c76124c0a98a80"},{"path":"focused-chunks/chunk-3IRCYJI5.js","sha256":"115b94512e013f4e0cfbed0b55742a18fce2cd6c4e4f950c9c25a36ba8270108"},{"path":"focused-chunks/chunk-3IRCYJI5.js.map","sha256":"3c19899f39bc8cd832cac49a27e410c594f07e7a28f8990059ed719a06d8d4d7"},{"path":"focused-chunks/chunk-3V53UBHN.js","sha256":"0e4357d19bcdca64dbf9ad799c8e275a3406f3d854806feea250c07b8701daa8"},{"path":"focused-chunks/chunk-3V53UBHN.js.map","sha256":"f295630c5dc63081c1891c29b55fd197bac98d6452e29c09eaf97fdbc35554a0"},{"path":"focused-chunks/chunk-3XSWH6QC.js","sha256":"e16b3ac58e1cf7910f57e08ebadc71ec8aef023a6f5b0275e30005442c88963d"},{"path":"focused-chunks/chunk-3XSWH6QC.js.map","sha256":"c2f5ad6bc40dd68b75e20b99efb652104fad2cef61353388bd94f0da6e6332ec"},{"path":"focused-chunks/chunk-4JZITIJB.js","sha256":"618839ee8322b8fb11a245cac98e523db318ac2492d085b533544c3c07d9d7d0"},{"path":"focused-chunks/chunk-4JZITIJB.js.map","sha256":"7fa1ece13fcca5d456e31dd2192fff68b139dc00fcbb357f1584df7eaaf86f82"},{"path":"focused-chunks/chunk-4KTFKSS3.js","sha256":"6ca1ca9efc0a75c8bc5e9d02700e9ccda3726b949f898869418b098f40e14a31"},{"path":"focused-chunks/chunk-4KTFKSS3.js.map","sha256":"1dc3624b0e3055f5516d78e2fb517301fcb792ab7acb99de40e2984426d04df3"},{"path":"focused-chunks/chunk-5C5TK3ET.js","sha256":"468c98740d03fe445976261aecfe201f10997ee1499b9e33907a5972dcdaec69"},{"path":"focused-chunks/chunk-5C5TK3ET.js.map","sha256":"7a044a971569293862db28c41cfe5192e6fd7f54c6ee23258f79ab7f6b78cbc8"},{"path":"focused-chunks/chunk-AKJYOZZP.js","sha256":"d3290340a3ec10b2aab00feddba3c278fc06dbd980907638587b6d994c86d857"},{"path":"focused-chunks/chunk-AKJYOZZP.js.map","sha256":"bc2ae5182e526a324f31e239777f4ebac55dc4cc32cb8139a741b24487610077"},{"path":"focused-chunks/chunk-BRZV7BFV.js","sha256":"49cddb1bc84fa6d0328c06987f0343f6315fcd130181aca7ee420544ddbe3fc1"},{"path":"focused-chunks/chunk-BRZV7BFV.js.map","sha256":"9f4e399fa7b21080cbed6409a72ea87f9cd0af3e0856c1792904474f9aa27321"},{"path":"focused-chunks/chunk-C3O6JJPO.js","sha256":"1f495890523f3550ee1050149240e68e386d729f0278be125ee51c337c2952c4"},{"path":"focused-chunks/chunk-C3O6JJPO.js.map","sha256":"7222eba51724ce2de54f854d9e01ca89dd73272e6407cdd8b9211be1cf9675c1"},{"path":"focused-chunks/chunk-CR7CGEB2.js","sha256":"356c88f101c75c1ef8021ee6d29f6cf98dc64f0c22cf406229f6454dfc35f29d"},{"path":"focused-chunks/chunk-CR7CGEB2.js.map","sha256":"844c82c0a30a2a34d2bd70124910518e60d5df72790e1c96f6a74442e93ec7cf"},{"path":"focused-chunks/chunk-EGN2HFRU.js","sha256":"60ca3c4b0c5584d8866c75892f5c5224db858ef11328a0d99265b2c94eb3815d"},{"path":"focused-chunks/chunk-EGN2HFRU.js.map","sha256":"3a5501d6ab3f711b0aaa21285ea5fba97feaf79460619089e0e6010785e3ad7e"},{"path":"focused-chunks/chunk-GHQVM6K6.js","sha256":"79ea412a6b8b7c176f75f19aaaabf6fbbfbc826c4362254c90183003f4b8f1d6"},{"path":"focused-chunks/chunk-GHQVM6K6.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/chunk-HDEKFSOK.js","sha256":"1da88f577bd7e32a97641150cb67cf2d38a0dde0b6427b78110cbf425d0f6a09"},{"path":"focused-chunks/chunk-HDEKFSOK.js.map","sha256":"72e512079d14ba88e2efc6a5232c656a66a10a3d0a16af422986c6d9b5cb2818"},{"path":"focused-chunks/chunk-I5LGPUWH.js","sha256":"f2289c3bdd0121277e0e06133743ab4633ccb4384d70ba302df15b53ce1be45d"},{"path":"focused-chunks/chunk-I5LGPUWH.js.map","sha256":"5372543aa2680b9ab13778a97bd74f239974c09fdbc238233d00006a6c16021a"},{"path":"focused-chunks/chunk-IWOXAUDU.js","sha256":"187df28c37f7383bfbdefdb365c6f329d35ac0279a634519ae4e42973d4b77e2"},{"path":"focused-chunks/chunk-IWOXAUDU.js.map","sha256":"a127b4f33786ffda72dc2120797b8de8ad2b7c63aaaada9a519c40a58701f7a5"},{"path":"focused-chunks/chunk-ML3JHCC6.js","sha256":"1f4c788ebdf37d2cbb267e6181c15ed67ee966cf9269a601280fc84b72ba3a52"},{"path":"focused-chunks/chunk-ML3JHCC6.js.map","sha256":"74ea276d13220bd7e514fe348714e5dada0259ddb63ae47928bc714980327685"},{"path":"focused-chunks/chunk-OPGOOP25.js","sha256":"85278b55a804e5e9e7a7ece5c206d56caaaa3c620c4e0d9939c6687da28df655"},{"path":"focused-chunks/chunk-OPGOOP25.js.map","sha256":"312f42fdfe418b73e24f7c50d39013d226e117d1fc7466990f9ccf2f76cdb6d1"},{"path":"focused-chunks/chunk-RE7ZWT7D.js","sha256":"1e494d810561069cc1a6a6e12c366251ef86ac0b9241d0776421039833066fc4"},{"path":"focused-chunks/chunk-RE7ZWT7D.js.map","sha256":"bb79cb936776806f47471b3ffe603a84504012172f61b2a841750678a56cb12d"},{"path":"focused-chunks/chunk-RKQNVYGF.js","sha256":"c57f0090ec91bd4be503e95264e5f2aae0b97b76666ff01aee14eea46c814546"},{"path":"focused-chunks/chunk-RKQNVYGF.js.map","sha256":"b03b15919aaee6cb2b1cfa9f8bb908e7378e8aa1940b4656981879f5fe375a30"},{"path":"focused-chunks/chunk-RQ252B6V.js","sha256":"d8ba7fc4e1750e90c48e817a8944d9ef37cac61949859eae029e32ecafd716b4"},{"path":"focused-chunks/chunk-RQ252B6V.js.map","sha256":"4b0c5d787a310022d5de2c0485d1cb34ca816fe18f16a4bc2228e536974c5bdc"},{"path":"focused-chunks/chunk-SVOOGGAK.js","sha256":"cf84553a8001feee7147d6941274dc00cf8644ded0da1e4b611b542c02f6dcb5"},{"path":"focused-chunks/chunk-SVOOGGAK.js.map","sha256":"c6941ba9e7060fcb63add9bb1b246052f16f530b85845320f23076a4db57f341"},{"path":"focused-chunks/chunk-URGHTTT3.js","sha256":"6090c59242094cc820736be7c67343bff0f2a142dc493084ef9536cff3735d2e"},{"path":"focused-chunks/chunk-URGHTTT3.js.map","sha256":"8cceb2f21b2b0df0e9645fb6c151c8ec033af2023f755ed788c75efcf58fee54"},{"path":"focused-chunks/chunk-USPYKWQG.js","sha256":"3095ca541bd330a53c16b06ba1a1dd3e692e614712d875ad1649a2a47a31b6e9"},{"path":"focused-chunks/chunk-USPYKWQG.js.map","sha256":"67385f2cbb0f81ab82da3a56d400376a3b6c9f1e44da49dbca8a90394c728417"},{"path":"focused-chunks/chunk-UWS3FC4D.js","sha256":"f70b6732fd27afb860c5413d1adb45cdbe1673b643838461ab9ebfb3c8fc54b8"},{"path":"focused-chunks/chunk-UWS3FC4D.js.map","sha256":"3ba415be349d53866095876185b33b3de2eefd348cf07b0316a85c861c84c9b8"},{"path":"focused-chunks/chunk-UXQGFGAT.js","sha256":"7985a781ad4be2b26751c887fae378eea0013b4e00f3a95828e415b1de4a3f47"},{"path":"focused-chunks/chunk-UXQGFGAT.js.map","sha256":"522bfd0f9965c9107c3343d8dc9b786f26934d6e206a65715642702c0b557443"},{"path":"focused-chunks/chunk-WZWXGDYY.js","sha256":"c7df49388c894d7aae78125446fa243c35fcf50004424425f6e22c88baae4c30"},{"path":"focused-chunks/chunk-WZWXGDYY.js.map","sha256":"a57157515251fc319226873114ec7a43b7bc6090263cc53810fd1afb22d0d981"},{"path":"focused-chunks/chunk-YKSLZPLT.js","sha256":"3fc59b856739567113786415688f7aaaf24fdfb69d2fefeb20342db24032913f"},{"path":"focused-chunks/chunk-YKSLZPLT.js.map","sha256":"cd0e98dcb3e0af5b843471965b4cbba9dac8deeca052587327f3f00c0d7b93d0"},{"path":"focused-chunks/chunk-ZWJTY4ID.js","sha256":"6d480259479a421039aecf9a3a4db963e56fb0344a5cfee7d5017e74eb25bd99"},{"path":"focused-chunks/chunk-ZWJTY4ID.js.map","sha256":"b71c01947031ccd93a2ac7ab3ac37bff63d34ff25f6b44e9d535e6b62457d2d5"},{"path":"focused-chunks/context-budget-recovery-5MKOCGY5.js","sha256":"1f103ba5015f9f0dabbb93e2fa2cd59078036e68b9b1f3da2bd265025dbd44f1"},{"path":"focused-chunks/context-budget-recovery-5MKOCGY5.js.map","sha256":"3e209028283d24aafcd47b35e66acb6297ef80f0f13f6bf0e7e393a9f15d4317"},{"path":"focused-chunks/indexed-receipt-blobs-AF4U3F3D.js","sha256":"5074aba3e68b84eef2567c83604211f82439e24ad6b449392371c57d1f613429"},{"path":"focused-chunks/indexed-receipt-blobs-AF4U3F3D.js.map","sha256":"82230162c7538ff401bdb67dd28a671f3bb6c8e0c874fb375bd3f303db03e1cc"},{"path":"focused-chunks/item-revision-2O6MLPEX.js","sha256":"0ad7789235a4c4eab9425975bc9cd958fe2ff68e957f2f99613c6a698502406f"},{"path":"focused-chunks/item-revision-2O6MLPEX.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/item-transaction-GLACUTPL.js","sha256":"636be2952e27ac2decc1727ad5904c21578d60d79254930ce14b4edc83ab6f7f"},{"path":"focused-chunks/item-transaction-GLACUTPL.js.map","sha256":"efd682b225fb965961d7569c3902f32ecb8a91f91e41ae135f4f418c5472d20f"},{"path":"focused-chunks/mutation-actor-TCYDPUGG.js","sha256":"74c53cde7f73ed9bf0a9eadba5fe5ec41bce3331512bd8c1c061d9f6b27faa3c"},{"path":"focused-chunks/mutation-actor-TCYDPUGG.js.map","sha256":"3440ccf1db9b3802b18c0bac51ee3573d6a0c3464b9ceb857ee506eea717f7ae"},{"path":"focused-chunks/mutation-admission-LY73EJWM.js","sha256":"61f2d6d749721ab0bda5161517fdd857c742a2f8cec7c661ab58b6da1c3b7d54"},{"path":"focused-chunks/mutation-admission-LY73EJWM.js.map","sha256":"b2e0a622d15e3e6b6fe245725c6c18a2d79bf8bc17320ada52daca43d9811778"},{"path":"focused-chunks/settlement-hook-ARYCZQY4.js","sha256":"b0d500dfe345c249de88d0fd898000fba6ea98364979564e11813545025eb319"},{"path":"focused-chunks/settlement-hook-ARYCZQY4.js.map","sha256":"d49b55f7df2dff3c6287f163f6a2bb801dca8caf522412c0b328eb9f74be5c7f"},{"path":"focused-chunks/stage-DQ7RQQ52.js","sha256":"4be4bf02e8df054f5312eb12085a499558555c87853ad5185535bed66364aeea"},{"path":"focused-chunks/stage-DQ7RQQ52.js.map","sha256":"459992e40035455aa340d185dfdd852ced4f004910301d0ed888bf8266c45535"},{"path":"main.js","sha256":"027b63ce0e1a2ef98243842e2844975860dfe160a0a8af7b3649116c52c6d3c1"},{"path":"main.js.map","sha256":"9ab009e1355c4bc49ef18530266921598ebf997b0c5ada1114bd29c48caf8c97"},{"path":"sdk-authoring.js","sha256":"6ecd53e4869061d1827a70c5213d3189ceb069685557e168406abf712acf8950"},{"path":"sdk-authoring.js.map","sha256":"d99e513766bc491e2f9b8826f98ca5ab17cd80503440f1bffec1454533257e2c"},{"path":"sdk-contracts.js","sha256":"f38f5a9aa89414a6edfac820f20916744cf31c1f7384f0a17a681c6300968c4e"},{"path":"sdk-contracts.js.map","sha256":"546b64531c453d1c58786306026789821a4cf68d6061ea313c7aa3dc6e0eafe0"},{"path":"sdk-core.js","sha256":"c719144c74877673920947aa35ffd8413ef83a5b73fe6ff2947063ff6ef949e6"},{"path":"sdk-core.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-governance.js","sha256":"4b41d29dfda315cbe272772a0e7a89a6ef6b9478f89cfebc6e698b5b770a0b02"},{"path":"sdk-governance.js.map","sha256":"03290fc9b818b6ce18c293f01f2e1f2b84e120515e67e23b91d634c929a0bd2f"},{"path":"sdk-graph.js","sha256":"72c0e83dfc4ed9be89bb58084f31de1ee0735bb1b169556e51b565f80a326c31"},{"path":"sdk-graph.js.map","sha256":"a025da4019992fbbc4112cc605c971b793475de7797dcecd56fd4e89d9462869"},{"path":"sdk-merge.js","sha256":"d6cfa5732ad406b4c7e23acd74530b72bc71a3bd304fafa73fe6b4d6464d81a1"},{"path":"sdk-merge.js.map","sha256":"01c6d09fc4e5293ae432440ba0ff19c0dc7a506d3b6087829b16a49d27e52e77"},{"path":"sdk-query.js","sha256":"9302b6719c10943979d75064ceb567b29e5fc8294e1436a3f571e8172a2b45a6"},{"path":"sdk-query.js.map","sha256":"3adfb7eb7f577ebadc29193918c654a44ac24050561bf8118dc683a0acc2f7fe"},{"path":"sdk-runtime.js","sha256":"f09523836ad11ef9f7d01c0bdbb35f85e455268e7a53f11a69c5394201c7dd6a"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"384c273b2da04fa25ed61ab36f407eea07b859e45981fb0d098dee1360987b86"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"e35cf7b5e1cfb84cc0eadb442079eeac86cf5fe67f10940f8307aad74dded95e"},{"path":"sdk.js.map","sha256":"2f13d4bd8a996febc4830e1bab42a797b6fd8b8b762182a1c522c6fb900a261e"}]}
|
|
1
|
+
{"schema_version":1,"generation":"d23689e4462b07746db8720009eb7a89501a7d7cef0bf2d1ee7f12fd1d39f20b","files":[{"path":"chunks/chunk-2UQU7HRR.js","sha256":"0d2e7a59d6583bbd5f257226086a654baf15269518d7aff3144782c7ec1e7fe9"},{"path":"chunks/chunk-2UQU7HRR.js.map","sha256":"1153ae1290f709027357774977eba5e6a0745d6817fb8cd3911184c52a544166"},{"path":"chunks/chunk-5DUP4AZA.js","sha256":"894b645472cbb91ce4592a5012730f5350dbd49be44a971c795edadda1444ae8"},{"path":"chunks/chunk-5DUP4AZA.js.map","sha256":"a670010200bdd80e75fe64229ffae3670440836bb2ebfb3b61de5cd774215315"},{"path":"chunks/chunk-5WZZ5XEN.js","sha256":"2ea0cd7c117a35376a8851ecf50bc1e9af3907db9088dcbd1ed583cb569c277c"},{"path":"chunks/chunk-5WZZ5XEN.js.map","sha256":"6789d8c1fbe4e7d4be1336cce4c0092c8c93448df8951e0b6895a902defc890f"},{"path":"chunks/chunk-6H36ZHMI.js","sha256":"099fed6fa7e85d4d0845e192e53fb00c7fc51ee708ce494201bd6839ae270457"},{"path":"chunks/chunk-6H36ZHMI.js.map","sha256":"c92d1722848b0dc82a942eceb1ea14c2aa754cf75d4083ca00eac9a05035c7f4"},{"path":"chunks/chunk-6MYJLOSG.js","sha256":"e61cf4ed16b1955b3bb4a40719df5234b5d96413c6d497cf06b976407632c569"},{"path":"chunks/chunk-6MYJLOSG.js.map","sha256":"9a2eb901a5e7e34e74aa2167ec2451a7c0e9107180442cfec0788b30eed55aa1"},{"path":"chunks/chunk-AA52P34H.js","sha256":"03bdff2d215b3ef804b31790b2a2cdac9bc71707859bf88dfca96b76392f9287"},{"path":"chunks/chunk-AA52P34H.js.map","sha256":"f5e04c45321344b4a998cb36de60d32e157ccb0400b165f6db2099acd4a1fc2c"},{"path":"chunks/chunk-AEOHUSUI.js","sha256":"9b0659b80fe926d6bc33641f040ce850f81c91998237f35da716052cdd98f39e"},{"path":"chunks/chunk-AEOHUSUI.js.map","sha256":"819228d864e85e2194c085ab18a32ba397cfc2f57c7a17508289a1497d8d43be"},{"path":"chunks/chunk-BSRIVYTM.js","sha256":"0ed2cdd5eb9a6e8e8b12cb1aea42f4cea427427a401566149363aae53d8b9b7a"},{"path":"chunks/chunk-BSRIVYTM.js.map","sha256":"72e3fc1e4a35656790a58882493a5051f4fa73d26a4df3580cb04d63a314f769"},{"path":"chunks/chunk-CFWLQFJM.js","sha256":"3eb1b5b04928e53e86c81c4c677439de013e4f4caeb854ceff9028a53b380a5e"},{"path":"chunks/chunk-CFWLQFJM.js.map","sha256":"f0bcabbb4afff28c10c9acd86cf8bf4847b7b4147691d93ba6e49c7764619aae"},{"path":"chunks/chunk-D6PDUKUG.js","sha256":"e9b4cfb7f51814b4f9924bb01d5e9e7611948552e6897762eb6219e49b00186c"},{"path":"chunks/chunk-D6PDUKUG.js.map","sha256":"107bdc50c7776de00c12ddb87a6e08f96377c82f7042a4abf90225e9e9c3baf7"},{"path":"chunks/chunk-ENKXRSFZ.js","sha256":"817cdcd0244f1d9d6cbcd4d2bef7c21d5645e55e98a51d75acdcdd077b01c800"},{"path":"chunks/chunk-ENKXRSFZ.js.map","sha256":"ca0267db550e316d4d5522752624c604f403df43552e7f1cb6be88bff3871607"},{"path":"chunks/chunk-F2Z6XLZB.js","sha256":"99cdc5032db022d8a1712cab2e817351e1cde87a9c68fab055642a6712b5c4da"},{"path":"chunks/chunk-F2Z6XLZB.js.map","sha256":"f53140b203977e63d5f86a30cbb29a52137c833c8b6cc1e79e219828fc9cb69c"},{"path":"chunks/chunk-FJOEL75F.js","sha256":"8ab3d0b4e732be27aadf4722d56517b83cc29249964a3ad4f33e4a023ac28ce8"},{"path":"chunks/chunk-FJOEL75F.js.map","sha256":"8a27d75aff827feb5b8bf27d2a85fe47c7e9ff628ca24acd33fc3c4d10ed68c1"},{"path":"chunks/chunk-GDXCAC52.js","sha256":"7e835bcb6404b274c434e3875ae25ec905446cc46b5e79201e17e88116011035"},{"path":"chunks/chunk-GDXCAC52.js.map","sha256":"c3f88abd84da3d08e2f42a98f9f6ecd0cd23bc202e2a1fd8190891f3cb64c15e"},{"path":"chunks/chunk-H7JEXRIN.js","sha256":"ed0dfe0cb1119f2963e1e5ace4fbf4959b4627b7f23d52c3de9678e2789b4deb"},{"path":"chunks/chunk-H7JEXRIN.js.map","sha256":"195bd16f41027d50898ad688ac63c2c647bc4180ad3ea9a40225891a6987cf82"},{"path":"chunks/chunk-J2PDAVBC.js","sha256":"1f2e84489c011c03703580bca9c5a539229a4b6ef7f281614eeed1bd1578f3c9"},{"path":"chunks/chunk-J2PDAVBC.js.map","sha256":"d7289f15ba8cf1be31e7c83e7fdce4bbdaa2aee39bdb746ac0e945f19173c05f"},{"path":"chunks/chunk-KE7HMBEW.js","sha256":"3ed8d3c3b657fcd1c594061b57b8d716979130c84b4362581d8d5c589674245e"},{"path":"chunks/chunk-KE7HMBEW.js.map","sha256":"1758ad51c7d0464e2d0f5ed0bdf618d7f2215280c1f78075abaa713e27d22d58"},{"path":"chunks/chunk-KZHIBEJL.js","sha256":"6b050df80d3d5b3c80efdb11089bbbb370e012eb1a6c8e79dfc567aa3c489f63"},{"path":"chunks/chunk-KZHIBEJL.js.map","sha256":"c126fbc46786bd4a03750070cd3f15fa0540b074b92e927bfedd104e6982aff6"},{"path":"chunks/chunk-NGJ5ERBF.js","sha256":"641e94fbc82284047d0cd5738b1ae36763119cf7e3b0c5ba1d09b25d027d05f5"},{"path":"chunks/chunk-NGJ5ERBF.js.map","sha256":"278b486602c0629524d5759c7dff060d2569fff1f07443489854670a6fbe28e0"},{"path":"chunks/chunk-NQ54T7T2.js","sha256":"f9e5dfe082a45e26c5c11a7283da19c43e131fbdf3641d8c1d54d9e8c349b316"},{"path":"chunks/chunk-NQ54T7T2.js.map","sha256":"0eb53635f68f44c7fd682bca4e10dbb6e38c49edbe559bde718082280ef725fd"},{"path":"chunks/chunk-O7JHS64G.js","sha256":"22b76b2b0a32453b97eeeefb426491cfff99bb41846d10f5897d0c47189d21ad"},{"path":"chunks/chunk-O7JHS64G.js.map","sha256":"db3e0fb5e1a1291a58617b4a0923aeec40e3e610ae6bb1c4cf01555746472100"},{"path":"chunks/chunk-OKEZF7HU.js","sha256":"39383c3939a9926915838d1d49d29ed65e1182d662ee0d9f6d1f565a8c707a5d"},{"path":"chunks/chunk-OKEZF7HU.js.map","sha256":"3ddf7b545ee37a0356c4bb7389aa14bd49f66dcd4d2c2fb2e89317421a285310"},{"path":"chunks/chunk-OKIKF4FD.js","sha256":"6e83f4a831518bb1ca2e06059d514cb79461af34219ecf6805f86617284791c8"},{"path":"chunks/chunk-OKIKF4FD.js.map","sha256":"b27713e40770be5fc8bcfb627603e73fe2665be484a0af036ef3857109dcae87"},{"path":"chunks/chunk-OPJF254V.js","sha256":"c902d89a1c63fe964bd4a79557e9509911e3d088242b10c3a745af6b923f536b"},{"path":"chunks/chunk-OPJF254V.js.map","sha256":"b70c601e8c543440eaa52e0b1d5466db2df95549b3a3769162bd8212a1e29ab9"},{"path":"chunks/chunk-PZA7QECY.js","sha256":"12508079ea987f61bac5ceb97d7d37fc713ff6d17e8b856bc141da7068df4bb8"},{"path":"chunks/chunk-PZA7QECY.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-RWA5YZ5X.js","sha256":"b72e0434ce740e9beb363e470756235c6a48b8c161a47b593056cf7435fdddab"},{"path":"chunks/chunk-RWA5YZ5X.js.map","sha256":"b25627e77b6c5816bebfa4ee5730a2e37973856b4e5caa89e9d4c2d2e1f5ef64"},{"path":"chunks/chunk-S32NGRQM.js","sha256":"8eb9f5771dcfef2df9abcb5f16bf76eea25664f75bddef84208b09ba25bd58e0"},{"path":"chunks/chunk-S32NGRQM.js.map","sha256":"17574ca47301ee1dfb9b3ca3a2f10608cb1283a796df7170107caee44c74a203"},{"path":"chunks/chunk-SLFRSZK6.js","sha256":"198253f6cbdaeec258246cb37ee1931c3af4ae9daed6ddd1d5c8c8bb6cea3bc6"},{"path":"chunks/chunk-SLFRSZK6.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-TZY5MVJF.js","sha256":"962a92cdbaac5d41bed35cce82dd00d4ef92e5204e5b6307f86e2b061438b011"},{"path":"chunks/chunk-TZY5MVJF.js.map","sha256":"cfa77a604aa8875d6f67b683d16b91bf3b413ac52a54392aa8687dcf624c23f0"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-YYT3MIRF.js","sha256":"f3cf7cf2b7799f6854eb7a783cd2aefff57880825c3250753bd467ef87ae240b"},{"path":"chunks/chunk-YYT3MIRF.js.map","sha256":"9f545cfe7307ca6c009e5656248d0984a580396d2cdaab32e02a89fca89c0cac"},{"path":"chunks/chunk-ZPS4B6SI.js","sha256":"6c7890476a34d7b3a4a43186dfc15db54f9e10e5766d354e9985e4bee3331bc4"},{"path":"chunks/chunk-ZPS4B6SI.js.map","sha256":"84eabd8b88bed0d01b9c2d78d1fbde1562973f042ad8a8c3c3fd421611e7d738"},{"path":"chunks/context-budget-recovery-M5RFUEFG.js","sha256":"c1dc0a54cfab9b3edd172e2fe60fc939dc43c54e21a67aca04a52c093ed095e7"},{"path":"chunks/context-budget-recovery-M5RFUEFG.js.map","sha256":"02fe8862be7c2c075eb087c74955cf1ea4c12ce4d57a6cba3a4175c701e81204"},{"path":"chunks/indexed-receipt-blobs-BPYKN5Q7.js","sha256":"feda200d01fa5ef39ce794d482d51784afd4cf6e4510965b98fbce97244260bf"},{"path":"chunks/indexed-receipt-blobs-BPYKN5Q7.js.map","sha256":"ae5e8f3d0d4f3350e174fc2487b3e7ce353a63a7fdb88a36da347bd76664a09b"},{"path":"chunks/item-revision-FMD4KWBB.js","sha256":"af0626b47c0bd8d68b4920972e3f452fe0dc73780e62b0257052f95e581558e1"},{"path":"chunks/item-revision-FMD4KWBB.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/item-transaction-SEHTH7N2.js","sha256":"e7f04de6e4e5e393d77a297b0446c95bfa827c8f58c14fdbc08b3b11efdcfdc2"},{"path":"chunks/item-transaction-SEHTH7N2.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/mutation-actor-SFGYIRPW.js","sha256":"d3e111746876aa7593cc2a964cdb6a7211ce6adb212c437d3a381f4b041a84f7"},{"path":"chunks/mutation-actor-SFGYIRPW.js.map","sha256":"726f8fc281d66c24a819359a62adf8b1a46c2d939568a46d2b757fbee401d50d"},{"path":"chunks/mutation-admission-57LBSKQI.js","sha256":"c353f0201b2003625113de72949a96a3d33a04ec60c0014a2cdd6974ae1c1c65"},{"path":"chunks/mutation-admission-57LBSKQI.js.map","sha256":"821394fe0dae3a9235d05e2f961c15044bdb6b4f9dbbe86471b723be7ee01e96"},{"path":"chunks/register-list-query-L4IBU64P.js","sha256":"714ccb27ef4f904d9219e9fdcb429dc3808b54f0d05c0a30232332f93daff8c1"},{"path":"chunks/register-list-query-L4IBU64P.js.map","sha256":"d902e88ff67ebe8552d9ab33d8f128739e1e30134824844c6a3bf7fe9526eb67"},{"path":"chunks/register-mutation-6NUOPHZ3.js","sha256":"eeab2d5847815ca84b936ae35ae2a192b29643bb6fc74c76965eca7b6546fe30"},{"path":"chunks/register-mutation-6NUOPHZ3.js.map","sha256":"47d5cee2666b57e7155bc600608e8d6781ff899b042c5bed06a39aa3f9afd596"},{"path":"chunks/register-operations-JGYVORNN.js","sha256":"883b49e08daf2d384e7bf4adf47edfef3c741a104a48a2f38a5ea8f6b58e9b91"},{"path":"chunks/register-operations-JGYVORNN.js.map","sha256":"2d44f90ca3b0d3ceeadaf468849ddc03e28099b83966036d6d158af6d271d012"},{"path":"chunks/register-setup-C44SIXEH.js","sha256":"775f116f4df2d553d1daa51c74da0e273076407e22058134a27048699091e6c7"},{"path":"chunks/register-setup-C44SIXEH.js.map","sha256":"29580f39a05210e89127ceb54e7b7c93643273f4f5d34e0bc331439790c62334"},{"path":"chunks/settlement-hook-6MR32OOC.js","sha256":"a63a96bc3139149591008fb2d6387a0c17d13a33eb2d692fe031d602a6391dd4"},{"path":"chunks/settlement-hook-6MR32OOC.js.map","sha256":"c492aeb3a85b711e9aa36dd9e35aa0b361d397f4863a95c3cd297c276f9b7444"},{"path":"chunks/stage-PQ7AB63N.js","sha256":"d9ad3455f01e73d94b19d2c7c2e619169d8d092b9f6d0bfec3dba77d590e68e1"},{"path":"chunks/stage-PQ7AB63N.js.map","sha256":"ee3f68078739c9461b5a91144678d3f199481406c78bbb3b2bbcb89d65d55a11"},{"path":"focused-chunks/chunk-6LKTEKHS.js","sha256":"4ed9ebd8f78c8b0dbe2e8c2aa6b1f0e4d5c3eaed4ca62cfaeb1f8e4d42ae0462"},{"path":"focused-chunks/chunk-6LKTEKHS.js.map","sha256":"adcb9fffcd918e6c28cef83a9ebd6f5c4c12abe069ad60f7ffb4e5538d2bba5d"},{"path":"focused-chunks/chunk-6LPXMFLM.js","sha256":"2af8bc6f59224fda430e503c1edbd3297a5ea783574f067af5ed23b09d585189"},{"path":"focused-chunks/chunk-6LPXMFLM.js.map","sha256":"595fc946140f601043a89acc2ee5dc2a46e6b689397a1b33a00286e9b23f852a"},{"path":"focused-chunks/chunk-A6VEMCRR.js","sha256":"818eed9a2ba3f7abd28f4230ac7e8d24a071fea42f4d4f7b194acd021ffa0536"},{"path":"focused-chunks/chunk-A6VEMCRR.js.map","sha256":"44156c0df0d0006d7b88b1bf0ec5d67340d2ab3f20d7440f3cf2093d6b03ffa7"},{"path":"focused-chunks/chunk-AIDL2ZNT.js","sha256":"27d1573f98fc71736ba9d779894ab0129e4bb6b81af4095d93b577de30223ff5"},{"path":"focused-chunks/chunk-AIDL2ZNT.js.map","sha256":"f5e04c45321344b4a998cb36de60d32e157ccb0400b165f6db2099acd4a1fc2c"},{"path":"focused-chunks/chunk-BKPUUW5O.js","sha256":"109fc60573d33e78f3308bd3ab22e3df1778ebba62c75cba87508496a15c6e98"},{"path":"focused-chunks/chunk-BKPUUW5O.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/chunk-BWOVFE5B.js","sha256":"882e1f9013d572bdd824e57afd209920469d876e7a8f90ac183386fcecfcee62"},{"path":"focused-chunks/chunk-BWOVFE5B.js.map","sha256":"b679f91dc73f9c4bb5b9caa164e553571401900b116e113a40079b712fc3445f"},{"path":"focused-chunks/chunk-HMDQDRV2.js","sha256":"ffb27286a37ea97e3985330d31851f4de02d5703afa0a99643f809fe4f34cbf9"},{"path":"focused-chunks/chunk-HMDQDRV2.js.map","sha256":"843fb5dd2836762b2d2d0eb3cc340070e6a009874f6713327a355e8bdc913a11"},{"path":"focused-chunks/chunk-I66IKYKP.js","sha256":"d1fe48c182b215e06d694b03dd829e205c19fdc770a19f41e8e3709e8d3cec00"},{"path":"focused-chunks/chunk-I66IKYKP.js.map","sha256":"2e4d777d5aef4099a60c181f8550034e47c1a49b6939f993741a12152a845fea"},{"path":"focused-chunks/chunk-IIP6LZ5E.js","sha256":"ca3b33e6048720a1b22c2d958455476cfb6f02ea9f6a0f8355d6fb2ea2dc8774"},{"path":"focused-chunks/chunk-IIP6LZ5E.js.map","sha256":"c92d1722848b0dc82a942eceb1ea14c2aa754cf75d4083ca00eac9a05035c7f4"},{"path":"focused-chunks/chunk-IR2J3NOT.js","sha256":"5fb44dd1cc41d8f6c53974ce21e9ac61c8a5d2d5ef481124edc781e683f0ab38"},{"path":"focused-chunks/chunk-IR2J3NOT.js.map","sha256":"e8ff977419d8eafcc3d126225362bdd8398880f328499857959d10ad7d82950e"},{"path":"focused-chunks/chunk-IROZDIDX.js","sha256":"c2c34586745cf95243a8433ed10442b5e3a74bae7706706a27676a4539794756"},{"path":"focused-chunks/chunk-IROZDIDX.js.map","sha256":"5e76c40fbbbd23be9a0e71f37078b3d5690ad2e8613b5494eb0e1d1dbe9cb193"},{"path":"focused-chunks/chunk-ITKDHSBR.js","sha256":"e06f4e4eaa572f51afd2155698346cdfcee5265cab20bc6234b00c1d85aaf789"},{"path":"focused-chunks/chunk-ITKDHSBR.js.map","sha256":"7a90c0bd8ed0463c67aa8b9540c8f6a177a92cb6073fcdfdfdfe9db0444bfa05"},{"path":"focused-chunks/chunk-K53OIT5J.js","sha256":"ce7e8dc7e80be0ce7d17a96e9c27024d8d1adeda22b2eccd00145c6d0d68654c"},{"path":"focused-chunks/chunk-K53OIT5J.js.map","sha256":"f913e1f6fb8941186f72864c8d965ad6df947482dd876bb30b8f52ee9a25ce10"},{"path":"focused-chunks/chunk-LQYYPXUK.js","sha256":"e82ab80490f1bf4d4d9edb727affb80bd38add7f7bbbd04a3f1ba5398c0605d1"},{"path":"focused-chunks/chunk-LQYYPXUK.js.map","sha256":"69e6ab52e100f6a18079c5f3db41c5a92e7bc17083ef74a4678ffd4eeb580dac"},{"path":"focused-chunks/chunk-NQTEE66P.js","sha256":"9050fb766def0dbb5d54e2fd65bfb6e06b0144d74a34865dc8e41054b9fcfa26"},{"path":"focused-chunks/chunk-NQTEE66P.js.map","sha256":"f2fd73935079c31472d77e1c8a745d8e1ef010923c2c8c10db67b0373712883a"},{"path":"focused-chunks/chunk-O7Z73ALG.js","sha256":"b016cb649915e180bfc33a08ba2e5f66cd7df770ca38faa02f105884057d0909"},{"path":"focused-chunks/chunk-O7Z73ALG.js.map","sha256":"7b5576e0a3606fc3afed04b71ae41a6ad960c89364eef919537c2983a2fe50e5"},{"path":"focused-chunks/chunk-OTMMOKPM.js","sha256":"19379e63057c6b0ef95ed383952f58e8e37408b1a3c9fee3b075f6b3a2d41969"},{"path":"focused-chunks/chunk-OTMMOKPM.js.map","sha256":"12d80cff94a66aa0fe37334281d6651968be91f6153febe80de51ba552caf3c3"},{"path":"focused-chunks/chunk-OXOCZJC6.js","sha256":"490423c5820fa2f361b8be9b15c197e58b12994a89db38041b388093cd39a232"},{"path":"focused-chunks/chunk-OXOCZJC6.js.map","sha256":"29325d37a858fc113c21b258ccde8ef7e057051496fb40b45c89d184e20b9665"},{"path":"focused-chunks/chunk-QLAHEDT6.js","sha256":"8708343218e087ae9ec426a233b2ccd393581c3d6ee6891badea0d36bb529f39"},{"path":"focused-chunks/chunk-QLAHEDT6.js.map","sha256":"1d137d034137e4873abf65cc04cb700d9c5faa866956ea690b8bd36b4211a9d4"},{"path":"focused-chunks/chunk-QQIIMMFU.js","sha256":"f5114a99eb2a2bb6f2e13662fda775a9bef52b81442ccd64359ba40d935386c0"},{"path":"focused-chunks/chunk-QQIIMMFU.js.map","sha256":"73129b1525b6a94d7851dbac30b1459a31eed5ca66c33ff0f2aa142c5fcd7ece"},{"path":"focused-chunks/chunk-RIE3SJSE.js","sha256":"4464f725570004d3cb160d3e5e87485cb704aaa161e8be9ce101ceffecde99af"},{"path":"focused-chunks/chunk-RIE3SJSE.js.map","sha256":"107bdc50c7776de00c12ddb87a6e08f96377c82f7042a4abf90225e9e9c3baf7"},{"path":"focused-chunks/chunk-TD544C74.js","sha256":"b2642606a62458a858395b8f47395a7444fb953729a32dae21ba42879123a3ce"},{"path":"focused-chunks/chunk-TD544C74.js.map","sha256":"f847a3c28694727fd335fd51d568dfbd115ccca10b05115164effeef155db500"},{"path":"focused-chunks/chunk-UFTUNBMY.js","sha256":"839368da9d354706ea675e3663f49817d91e5c2f35d30450a6146c540839cc02"},{"path":"focused-chunks/chunk-UFTUNBMY.js.map","sha256":"82b2b710ac1fd7b7a1252374977a4a46c6bf838a328f670a8ed3b111ac85b859"},{"path":"focused-chunks/chunk-X6CXWWNB.js","sha256":"ce7b75dd08f0c363ab9412a451c0cd63d2a985898b26291ff00ec8b6f955317e"},{"path":"focused-chunks/chunk-X6CXWWNB.js.map","sha256":"896b8382f3dc636d27e3b95da50a5a04ff5e2761f7f44a6f41b54275da5ac916"},{"path":"focused-chunks/chunk-XRS3VNC6.js","sha256":"d96c1156ca560bf681898eabbb6745dae904deebde176199aa878aff1bfb411b"},{"path":"focused-chunks/chunk-XRS3VNC6.js.map","sha256":"c1ed7890cc861481a69995d130b6c74f72d9823c27783b1461bb71566eaec8f5"},{"path":"focused-chunks/chunk-XYPEZGTR.js","sha256":"067011896097c3f0b536c10547aadeca396e4e91dfbdfe05119e82dfa23f7059"},{"path":"focused-chunks/chunk-XYPEZGTR.js.map","sha256":"92aa462a4053b19085b5027649c61db37135ac6dacc834f86c1f1afda328c21e"},{"path":"focused-chunks/chunk-Y2ESLKCF.js","sha256":"c5ec3340ae4e802c3fc5cc986c0f4a8266125e10d08c945089b001a227af9d78"},{"path":"focused-chunks/chunk-Y2ESLKCF.js.map","sha256":"bb65e1b45365ec94440b3794a6352d2f3e93c023ada5d1334fd1264c80906ccd"},{"path":"focused-chunks/chunk-YSJKQLFR.js","sha256":"255a6057104a656956348dea31f0feb3105f113b4af6a6f53a309e5d78e80450"},{"path":"focused-chunks/chunk-YSJKQLFR.js.map","sha256":"e0b0e1f193886ed899c619737cbbcadcbfaefeee2cdde03949a863db473bf30d"},{"path":"focused-chunks/chunk-Z2X7HH3C.js","sha256":"6300ed6abccbbca8e21efd284175c6500db3263b4e19a8cf6bb88d9561d1d98d"},{"path":"focused-chunks/chunk-Z2X7HH3C.js.map","sha256":"0fc2f4cf7ca235ce0c355932c12b94a4e38b927ed111aa31ecff366cf3e8da46"},{"path":"focused-chunks/chunk-ZHWPCVQL.js","sha256":"6c79076e50a3f63a6867912a14126375db9cd3f53151390af0a2bcb01d1caef7"},{"path":"focused-chunks/chunk-ZHWPCVQL.js.map","sha256":"701ad411c09df8df63263579e20fd116c82dd7341c660500d709f4c2b20c06f4"},{"path":"focused-chunks/context-budget-recovery-CSJV3TY3.js","sha256":"40718fe601c25e06a918ff93e676d5d49b483030c97e94f6ae54ef513552b308"},{"path":"focused-chunks/context-budget-recovery-CSJV3TY3.js.map","sha256":"904b87ac8c97989a10a0d567884173c1530a870fb9d75614e176461caf245255"},{"path":"focused-chunks/indexed-receipt-blobs-EGEJMG3G.js","sha256":"5be385135ac3cd5c3439ef7921221d4505d4ea0b6c8a91190325509c14fbabce"},{"path":"focused-chunks/indexed-receipt-blobs-EGEJMG3G.js.map","sha256":"2b587598a5e9c7ea7d9208d8a255923ba6fd0811509903b260d6f4ace9af7418"},{"path":"focused-chunks/item-revision-YDACCDVY.js","sha256":"420bfbb01cbff5053486d70e238d3cde8fd09207602d46cad625544faf62176a"},{"path":"focused-chunks/item-revision-YDACCDVY.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/item-transaction-UKEQCTKB.js","sha256":"be5589960f4a5b0b1207a74ea7d21ee3ac535a08c1d964374e8960e4ae229dde"},{"path":"focused-chunks/item-transaction-UKEQCTKB.js.map","sha256":"5c897cd58b0c272268e64684164e02d8cc7a6033e2dfa51bd060f34e9ada9949"},{"path":"focused-chunks/mutation-actor-AS465LRX.js","sha256":"a43006695a4692c6a7958c36691cc83abb63cca529555737075835c4edcd6ed2"},{"path":"focused-chunks/mutation-actor-AS465LRX.js.map","sha256":"71e15f9e1b43d62b933388b821b9a16dcd48f9388c75e5c184f65a89c817f114"},{"path":"focused-chunks/mutation-admission-E5UHJZFE.js","sha256":"36c4c305e1c1d1e12f34fb64b9b6fdcffe430312ba0cd01a3b9477afd0aa25b5"},{"path":"focused-chunks/mutation-admission-E5UHJZFE.js.map","sha256":"571bf6a1586bff389596f9636672fe237da09b2b177d7372050573f56657e711"},{"path":"focused-chunks/settlement-hook-FMLGKG7J.js","sha256":"67ff739473103e7a012c600efaedff1181f5a3f0b1ac5522764f18add54a46cc"},{"path":"focused-chunks/settlement-hook-FMLGKG7J.js.map","sha256":"7f4a1a819b9db41b5e3fa55c7c6e830d63b8d00e9cec25306bc997fd5ac2bb5a"},{"path":"focused-chunks/stage-36J7YLGI.js","sha256":"9c8d79d707fd503c90aa18845fb6012b1862fc9358afbe7ca85d0424eaf3c8a9"},{"path":"focused-chunks/stage-36J7YLGI.js.map","sha256":"39261c4ac6c88f71abdab56f53a559fa6acef133cbabd781c7988e6c253a4018"},{"path":"main.js","sha256":"9bf7f26ad019112724a761adbbdbc9cb0909e908fc6c383d03fdf0630dc42867"},{"path":"main.js.map","sha256":"77f25c656036a6f91ab3e6dd955d2ed3ee40e4b7de6c6eb52fb6829992f0bab7"},{"path":"sdk-authoring.js","sha256":"1427f99b6fd01f13d18fda2a933afc897a78b55bf4858f933457af31baf5d7ce"},{"path":"sdk-authoring.js.map","sha256":"80376c5d116496bf054ce4689af33176a516f66dc9d34a59f3656ed1c4d5fdcb"},{"path":"sdk-contracts.js","sha256":"9ff5013f84bf15fb19c60fb299a75e2309dbc178aabd6be7bb1bc53e51a90691"},{"path":"sdk-contracts.js.map","sha256":"e2eabc73e41c5a966197b1be2d23ccc25c54d1841700699e36fd5cc357a7215d"},{"path":"sdk-core.js","sha256":"27829608e19b6c6bc097be7f9cc9bed16512b7541acb6427dcdab0ee0649cfe1"},{"path":"sdk-core.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-governance.js","sha256":"480bd4c48cc331b6497d4b4f37bf672f563b84b429f37aa256503b620d2f1c72"},{"path":"sdk-governance.js.map","sha256":"61d251f68cea8cbfdd79ff3285513021827e7c3d8c747f758ac79e2c034a5a08"},{"path":"sdk-graph.js","sha256":"d6d4f23348b12bf77736391bc61f9d1810b32b5a2bb0d20e7eaedd8381f55eb2"},{"path":"sdk-graph.js.map","sha256":"2f7d32958910517d9c7caef4308f7c2b99b0cdabdcfa1f6f2c68919472b455b6"},{"path":"sdk-merge.js","sha256":"62a9b5f3a5b7f0ca27aa8878cd71e4532be95c8366bdbecdc439e0622e3522e8"},{"path":"sdk-merge.js.map","sha256":"62574ae27ede54fb4a021af5a548dfee185828b58947942b82ba2cae02496003"},{"path":"sdk-query.js","sha256":"c1bab796eaaf35d6a03495bb03361e6771ae7aedee261c65a54bd3a7ae2e7c01"},{"path":"sdk-query.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-runtime.js","sha256":"8120f35ea962bdd55fb1a5a90cd9d04edfa721b52eb5a3229b5d475d0966e3f8"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"8dca90ca5f21ac577afa800d23e96893c5df4f792aebc5a81d0e7a555ce30420"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"07477a7b7ee4ef60e06e8b25f224e68df1f1e7e9e8c1d1feb476ae63c202e691"},{"path":"sdk.js.map","sha256":"8f6c6ba20df493380397ced9219ad42fde9b1a748e2c5342e1f7a363d0a7b814"}]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{Ad as D,Aj as yt,Ba as at,Cc as dt,Da as st,Ej as kt,Fh as oe,Gh as ie,Sc as ut,Ta as ct,Uc as _t,Va as B,Yb as ee,a as N,b as P,be as ft,d as p,fa as et,ga as tt,ge as F,ha as nt,ia as rt,lb as lt,ne as mt,oa as ot,qe as pt,ta as it,ue as ht,wc as te,we as V,yc as ne,zc as re}from"./chunk-NGJ5ERBF.js";import{A as v,C as x,E as Qe,F as le,H as I,I as Ze,J as Te,K as Z,v as Xe,y as u,z as Q}from"./chunk-YYT3MIRF.js";import wt from"node:fs/promises";import G from"node:path";var R="_workspace";function W(e){return G.join(e,"history",`${R}.jsonl`)}function Ce(e,t){return{metadata:{id:R,title:"Workspace state",description:"Audited singleton workspace document state.",type:"Chore",status:"open",priority:2,tags:["workspace-history"],created_at:t,updated_at:t,documents:e},body:""}}function U(e,t=e.length){let n=mt();for(let r of e.slice(0,t))n=ht(n,r.patch).document;return pt(n)}function K(e){return"documents"in e.metadata&&typeof e.metadata.documents=="object"&&e.metadata.documents!==null&&!Array.isArray(e.metadata.documents)?e.metadata.documents:{}}function J(e){throw new x(`Workspace history verification failed: ${e.join(", ")}`,v.CONFLICT,{code:"workspace_history_chain_invalid",reason:"workspace_history_chain_verification_failed",verification_errors:[...e],required:"Repair the _workspace history chain before reading, reconciling, restoring, or appending audited singleton state.",why:"Continuing against an unverifiable append-only stream could hide or compound workspace state corruption.",examples:["pm history _workspace --verify --json","pm validate --check-history-drift --fix-hints --json"],nextSteps:["Inspect the exact verification_errors and preserve the corrupt stream as evidence.","Use the history-drift remediation returned by validate before retrying the refused operation."],recovery:{recovery_mode:"compact",next_best_command:"pm history _workspace --verify --json"}})}function de(e,t){let n=G.resolve(t),r=G.relative(e,n).replaceAll("\\","/");if(r.length===0||r===".."||r.startsWith("../")||G.isAbsolute(r))throw new TypeError("Workspace history document path must stay inside the tracker root");return{documentPath:r,absolutePath:n}}async function Jr(e){let t=await F(W(e),R),n=V(t);n.ok||J(n.errors);let r=K(t.length===0?Q:U(t)),i=[],a=[],s=[],l=[];for(let _ of Object.keys(r).sort()){let f;try{let w=de(e,G.resolve(e,_));if(f=await I(w.absolutePath),f===null){s.push(_);continue}let g=JSON.parse(f);(N(g)===N(r[_])?i:a).push(_)}catch{l.push(_)}}return{ok:a.length===0&&s.length===0&&l.length===0,document_count:Object.keys(r).length,matching_documents:i,mismatched_documents:a,missing_documents:s,unreadable_documents:l}}async function gt(e){let t=W(e.pmRoot),n=await F(t,R),r=V(n);r.ok||J(r.errors);let i=e.idempotencyKey===void 0?void 0:n.find(g=>g.op===`${e.op}:${e.idempotencyKey}`);if(i)return{entry:i,historyPath:t};let a=ee(),s=n.length===0?Q:U(n),l=K(s),_=l[e.documentPath];if(_!==void 0&&N(_)!==N(e.before))throw new x(`Workspace history state for "${e.documentPath}" changed outside the audited mutation path.`,v.CONFLICT,{code:"workspace_history_state_conflict",reason:"out_of_band_workspace_state",required:"Reconcile the singleton document with its matching _workspace history state before retrying the mutation.",why:"Accepting the write would make the append-only audit stream describe a state that was not actually observed.",examples:["pm history _workspace --verify","pm validate --check-history-drift --fix-hints"],nextSteps:["Review the version-control change that altered the singleton and preserve the intended document plus its matching workspace history.","Rerun the original mutation only after the on-disk singleton agrees with the latest audited workspace state."],recovery:{recovery_mode:"compact",next_best_command:"pm history _workspace --verify"}});let f=Ce({...l,[e.documentPath]:e.after},n.length===0?a:s.metadata.created_at),w=oe({nowIso:a,author:e.author,op:e.idempotencyKey===void 0?e.op:`${e.op}:${e.idempotencyKey}`,before:s,after:f,message:e.message});return await ie(t,w),{entry:w,historyPath:t}}async function Yr(e){let t=await D(e.pmRoot,"workspace-history",e.lockTtlSeconds,e.author,!1,!1,e.lockWaitMs);try{return await gt(e)}finally{await t()}}async function Xr(e){let t=await D(e.pmRoot,"workspace-history",e.lockTtlSeconds,e.author,!1,!1,e.lockWaitMs);try{let n=W(e.pmRoot),r=await F(n,R),i=V(r);i.ok||J(i.errors);let a=r.length===0?Q:U(r),s=oe({nowIso:ee(),author:e.author,op:e.op,before:a,after:a,message:e.message,context:e.context});return await ie(n,s),{entry:s,historyPath:n}}finally{await t()}}async function bt(e,t){if(t===e.raw)return!1;let n=t===null?null:JSON.parse(t),r=JSON.parse(e.raw);await Z(e.filePath,e.raw);try{(t!==null||e.recordCreation!==!1)&&await gt({pmRoot:e.pmRoot,documentPath:G.relative(e.pmRoot,e.filePath).replaceAll("\\","/"),before:n,after:r,op:e.op,idempotencyKey:e.idempotencyKey,author:e.author,lockTtlSeconds:e.lockTtlSeconds,lockWaitMs:e.lockWaitMs,message:e.message})}catch(i){throw t===null?await wt.rm(e.filePath,{force:!0}):await Z(e.filePath,t),i}return!0}async function vt(e){let{documentPath:t}=de(e.pmRoot,e.filePath),n=await D(e.pmRoot,"workspace-history",e.lockTtlSeconds,e.author,!1,!1,e.lockWaitMs);try{let r=await I(e.filePath);if(e.dryRun===!0||e.idempotencyKey!==void 0){let a=await F(W(e.pmRoot),R),s=V(a);s.ok||J(s.errors);let l=K(a.length===0?Q:U(a))[t];if(l!==void 0&&N(l)!==N(r===null?null:JSON.parse(r)))throw new x(`Workspace history state for "${t}" changed outside the audited mutation path.`,v.CONFLICT,{code:"workspace_history_state_conflict"});if(e.idempotencyKey!==void 0&&a.some(_=>_.op===`${e.op}:${e.idempotencyKey}`))return{changed:!1,result:void 0,replayed:!0}}let i=await e.mutate(r);return JSON.parse(i.raw),e.dryRun===!0?{changed:r!==i.raw,result:i.result}:{changed:await bt({...e,raw:i.raw},r),result:i.result}}finally{await n()}}async function Qr(e){let t=await D(e.pmRoot,"workspace-history",e.lockTtlSeconds,e.author,!1,!1,e.lockWaitMs);try{return await bt(e,await I(e.filePath))}finally{await t()}}async function Zr(e){let t=e.authorizationDecision.trim();if(!t)throw new TypeError("Workspace history reconciliation requires an authorization decision");let n=await D(e.pmRoot,"workspace-history",e.lockTtlSeconds,e.author,!1,!1,e.lockWaitMs);try{let{documentPath:r,absolutePath:i}=de(e.pmRoot,e.filePath),a=W(e.pmRoot),s=await F(a,R),l=V(s);l.ok||J(l.errors);let _=U(s),f=K(_);if(!Object.hasOwn(f,r))throw new TypeError(`Workspace history does not govern document ${r}`);let w=await I(i);if(w===null)throw new TypeError(`Workspace history document is missing: ${r}`);let g=JSON.parse(w);if(N(f[r])===N(g))return{changed:!1,historyPath:a};let S=ee(),X=oe({nowIso:S,author:e.author,op:e.op,before:_,after:Ce({...f,[r]:g},_.metadata.created_at),message:e.message,context:{reason:"out_of_band_workspace_state_reconciliation",document_path:r,authorization_decision:t}});return await ie(a,X),{changed:!0,entry:X,historyPath:a}}finally{await n()}}async function eo(e){let t=await D(e.pmRoot,"workspace-history",e.lockTtlSeconds,e.author,!1,!1,e.lockWaitMs);try{let{documentPath:n,absolutePath:r}=de(e.pmRoot,e.filePath),i=await F(W(e.pmRoot),R),a=V(i);if(a.ok||J(a.errors),!Number.isInteger(e.targetVersion)||e.targetVersion<1||e.targetVersion>i.length)throw new TypeError(`Invalid workspace history target version: ${String(e.targetVersion)}`);let s=K(U(i,e.targetVersion))[n];if(s===void 0)throw new TypeError(`Workspace history version ${e.targetVersion} does not contain ${n}`);let l=await I(r),_=`${JSON.stringify(s,null,2)}
|
|
2
|
+
`;if(l===_)return{document_path:n,restored_from_version:e.targetVersion,changed:!1};let f=U(i),w=ee(),g=oe({nowIso:w,author:e.author,op:e.op,before:f,after:Ce({...K(f),[n]:s},f.metadata.created_at),message:e.message,context:{reason:"workspace_state_restore",document_path:n,restored_from_version:e.targetVersion,replaced_out_of_band_state:!0}});await Z(r,_);try{await ie(W(e.pmRoot),g)}catch(S){throw l===null?await wt.rm(r,{force:!0}):await Z(r,l),S}return{document_path:n,restored_from_version:e.targetVersion,changed:!0}}finally{await t()}}var O={ok:!1,path:[]};function Pe(e,t){return{ok:!1,path:[e,...t.path]}}var c=e=>typeof e=="string"?{ok:!0,value:e}:O,h=e=>typeof e=="boolean"?{ok:!0,value:e}:O;function k(e={}){return t=>typeof t!="number"||!Number.isFinite(t)||e.int&&(!Number.isInteger(t)||!Number.isSafeInteger(t))||e.positive&&t<=0||typeof e.min=="number"&&t<e.min||typeof e.max=="number"&&t>e.max?O:{ok:!0,value:t}}function y(...e){return t=>typeof t=="string"&&e.includes(t)?{ok:!0,value:t}:O}function d(e,t){return n=>{if(!Array.isArray(n)||t!==void 0&&n.length>t)return O;let r=[];for(let[i,a]of n.entries()){let s=e(a);if(!s.ok)return Pe(String(i),s);r.push(s.value)}return{ok:!0,value:r}}}function je(e,t){return n=>typeof n=="string"&&n.length>0&&n.length<=e&&n===n.trim()&&(t===void 0||t.test(n))?{ok:!0,value:n}:O}function o(e){return t=>t===void 0?{ok:!0,value:void 0}:e(t)}function ue(e){return t=>{if(typeof t!="object"||t===null||Array.isArray(t))return O;let n={};for(let[r,i]of Object.entries(t)){let a=e(i);if(!a.ok)return Pe(r,a);n[r]=a.value}return{ok:!0,value:n}}}function m(e){return t=>{if(typeof t!="object"||t===null||Array.isArray(t))return O;let n=t,r={};for(let[i,a]of Object.entries(e)){let s=a(n[i]);if(!s.ok)return Pe(i,s);s.value!==void 0&&(r[i]=s.value)}return{ok:!0,value:r}}}var mn=m({key:c,values:d(c),required:o(h),aliases:o(d(c)),description:o(c)}),pn=m({command:y("create","update"),option:c,required:o(h),visible:o(h),enabled:o(h)}),hn=m({name:c,description:o(c),default_status:o(c),execution_role:o(y("agent","human","gate")),folder:o(c),aliases:o(d(c)),required_create_fields:o(d(c)),required_create_repeatables:o(d(c)),options:o(d(mn)),command_option_policies:o(d(pn))}),yn=m({id:c,aliases:o(d(c)),roles:o(d(y(...et))),description:o(c),order:o(k())}),kn=m({key:c,metadata_key:o(c),front_matter_key:o(c),cli_flag:o(c),cli_aliases:o(d(c)),description:o(c),type:o(y(...tt)),commands:o(d(y(...nt))),repeatable:o(h),required:o(h),required_on_create:o(h),required_types:o(d(c)),allow_unset:o(h)}),wn=e=>{if(!Array.isArray(e)||e.length!==2)return O;let[t,n]=e;return typeof t!="string"||typeof n!="string"?O:{ok:!0,value:[t,n]}},gn=m({type:c,allowed_transitions:d(wn)}),bn=o(m({version:o(k({int:!0})),files:o(m({types:o(c),statuses:o(c),fields:o(c),workflows:o(c)})),statuses:o(d(yn)),fields:o(d(kn)),workflow:o(m({draft_status:o(c),open_status:o(c),in_progress_status:o(c),blocked_status:o(c),close_status:o(c),canceled_status:o(c)})),type_workflows:o(d(gn)),unknown_field_policy:o(y(...rt))})),vn=o(m({preset:o(y(...ot)),ownership_enforcement:o(y("none","warn","strict")),create_mode_default:o(y("progressive","strict")),close_validation_default:o(y("off","warn","strict")),require_close_reason:o(h),parent_reference:o(y("warn","strict_error")),metadata_profile:o(y("core","strict","custom")),force_required_for_stale_lock:o(h),create_default_type:o(c),workflow_enforcement:o(y("off","warn","strict")),start_blocker_enforcement:o(y("off","warn","strict")),duplicate_detection_mode:o(y("off","advisory","strict")),duplicate_detection_threshold:o(k({min:0,max:1})),duplicate_detection_limit:o(k({int:!0,min:0,max:20}))})),xn=m({name:c,disabled:o(h),require_trusted:o(h),require_provenance:o(h),sandbox_profile:o(y("none","restricted","strict")),allowed_capabilities:o(d(c)),blocked_capabilities:o(d(c)),allowed_surfaces:o(d(c)),blocked_surfaces:o(d(c)),allowed_commands:o(d(c)),blocked_commands:o(d(c)),allowed_actions:o(d(c)),blocked_actions:o(d(c)),allowed_services:o(d(c)),blocked_services:o(d(c))}),Ae=y("block","warn"),Sn=e=>typeof e=="string"?Ae(e):m({global:o(Ae),project:o(Ae)})(e),En=o(m({mode:o(y("off","warn","enforce")),trust_mode:o(y("off","warn","enforce")),pm_max_version_exceeded_mode:o(Sn),require_provenance:o(h),trusted_extensions:o(d(c)),default_sandbox_profile:o(y("none","restricted","strict")),allowed_extensions:o(d(c)),blocked_extensions:o(d(c)),allowed_capabilities:o(d(c)),blocked_capabilities:o(d(c)),allowed_surfaces:o(d(c)),blocked_surfaces:o(d(c)),allowed_commands:o(d(c)),blocked_commands:o(d(c)),allowed_actions:o(d(c)),blocked_actions:o(d(c)),allowed_services:o(d(c)),blocked_services:o(d(c)),extension_overrides:o(d(xn))})),$=je(128),On=m({harness:je(128,/^[a-z0-9]+(?:-[a-z0-9]+)*$/u),environment_keys:o(d($,64)),model_environment_keys:o(d($,64)),session_environment_keys:o(d($,64)),provenance_environment_keys:o(ue(d($,64))),provenance_resolvers:o(ue(y("ai_agent_version","claude_session_file"))),provenance_unavailable_dimensions:o(d($,64)),argv_markers:o(d($,64)),client_names:o(d($,64))}),xt={version:k({int:!0}),id_prefix:c,ids:o(m({token_length:o(k({int:!0,min:4,max:12}))})),author_default:c,agent_identity:o(m({probes_enabled:o(h),identity_vocabulary:o(m({version:k({int:!0,positive:!0}),aliases:ue(je(128,/^[a-z0-9]+(?:-[a-z0-9]+)*$/u))})),harness_signals:d(On)})),mutation_guard:o(m({require_attributed_author:o(h),secret_guard:o(y("off","advise","block")),stale_in_progress_hours:o(k({int:!0,positive:!0}))})),item_format:o(y("toon","json_markdown")),locks:m({ttl_seconds:k({int:!0}),wait_ms:o(k({int:!0,min:0}))}),checkpoints:o(m({retention_days:o(k({int:!0,positive:!0}))})),output:m({default_format:y("toon","json")}),ux:o(m({deprecation_hints:o(h)})),history:o(m({missing_stream:y("auto_create","strict_error"),compact_policy:o(m({enabled:o(h),max_entries:o(k({int:!0,positive:!0})),trigger:o(y("health_warn","auto"))}))})),validation:o(m({sprint_release_format:y("warn","strict_error"),parent_reference:o(y("warn","strict_error")),metadata_profile:o(y("core","strict","custom")),metadata_required_fields:o(d(c)),lifecycle_stale_blocker_reason_patterns:o(d(c)),lifecycle_closure_like_blocked_reason_patterns:o(d(c)),lifecycle_closure_like_resolution_patterns:o(d(c)),lifecycle_closure_like_actual_result_patterns:o(d(c)),estimate_defaults_by_type:o(ue(k({int:!0,positive:!0})))})),governance:vn,workflow:o(m({definition_of_done:d(c)})),testing:o(m({record_results_to_items:h,allow_untrusted_linked_tests:o(h)})),telemetry:o(m({enabled:h,first_run_prompt_completed:o(h),capture_level:o(y("minimal","redacted","max")),endpoint:o(c),installation_id:o(c),retention_days:o(k({int:!0,positive:!0}))})),agent_guidance:o(m({prompt_completed:o(h),declined:o(h),declined_at:o(c),template_version:o(k({int:!0,positive:!0})),last_checked_files:o(d(c))})),item_types:o(m({definitions:d(hn)})),schema:bn,context:o(m({default_depth:o(y(...at)),activity_limit:o(k({int:!0,positive:!0})),stale_threshold_days:o(k({int:!0,positive:!0})),next_ranking_policy:o(y("priority_floor","weighted")),sections:o(m({hierarchy:o(h),activity:o(h),progress:o(h),recently_created:o(h),unparented:o(h),blockers:o(h),files:o(h),workload:o(h),staleness:o(h),tests:o(h)}))})),extensions:m({enabled:d(c),disabled:d(c),policy:En}),search:m({score_threshold:k(),hybrid_semantic_weight:o(k()),max_results:k({int:!0}),embedding_model:c,embedding_corpus_max_characters:o(k()),embedding_batch_size:k({int:!0}),embedding_timeout_ms:o(k({int:!0})),scanner_max_batch_retries:k({int:!0}),provider:o(c),default_mode:o(y("auto","keyword","semantic","hybrid")),corpus_fields:o(d(c)),mutation_refresh_policy:o(y("cache_only","semantic_configured","semantic_auto")),query_expansion:o(m({enabled:o(h),provider:o(c)})),rerank:o(m({enabled:o(h),model:o(c),top_k:o(k({int:!0,positive:!0}))})),bm25:o(m({k1:o(k()),b:o(k())}))}),providers:m({openai:m({base_url:c,api_key:c,model:c}),ollama:m({base_url:c,model:c})}),vector_store:m({adapter:o(c),collection_name:o(c),qdrant:m({url:c,api_key:c}),lancedb:m({path:c})})},Tn=m(xt),St=Object.freeze(Object.keys(xt));function _e(e){let t=Tn(e);return t.ok?{success:!0,data:t.value}:{success:!1,path:t.path.join(".")}}import{AsyncLocalStorage as In}from"node:async_hooks";import{lstat as Rn,realpath as Lt}from"node:fs/promises";import qt from"node:path";function fe(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function Ne(e,t,n,r=[]){if(P(e,t)&&(r.length>0||fe(n)))return n;if(P(e,n)||P(t,n))return t;if((e===void 0||fe(e))&&fe(t)&&fe(n)){let i=e??{},a=new Set([...Object.keys(i),...Object.keys(t),...Object.keys(n)]);return Object.fromEntries([...a].flatMap(s=>{let l=Ne(Object.hasOwn(i,s)?i[s]:void 0,Object.hasOwn(t,s)?t[s]:void 0,Object.hasOwn(n,s)?n[s]:void 0,[...r,s]);return l===void 0?[]:[[s,l]]}))}throw new x(`Settings changed concurrently at ${r.join(".")||"<root>"}; read the latest settings and reapply the intended change.`,v.CONFLICT,{reason:"stale_settings_snapshot",required:"Read a fresh settings snapshot and reapply the intended change.",why:"Another writer changed the same setting after this snapshot was read.",examples:["pm config project export --json"],nextSteps:["Read the current settings, then retry the original config operation."]})}var Cn={Epic:2880,Feature:480,Story:480,Milestone:2880,Task:120,Issue:60,Bug:60,Chore:30,Decision:15,Plan:120},Et=120;function Ie(e){return typeof e=="number"&&Number.isFinite(e)&&e>0}function Tt(e){let t=new Map;for(let[n,r]of Object.entries(e))t.set(n.toLowerCase(),r);return t}var An=Tt(Cn),Ot=new WeakMap;function Pn(e){let t=Ot.get(e);if(t)return t;let n=Tt(e);return Ot.set(e,n),n}function co(e,t){let n=(e??"").trim().toLowerCase();if(n.length===0)return Et;if(t){let i=Pn(t).get(n);if(Ie(i))return Math.floor(i)}let r=An.get(n);return Ie(r)?Math.floor(r):Et}function Re(e){let t={};if(e===null||typeof e!="object"||Array.isArray(e))return t;for(let[n,r]of Object.entries(e)){let i=n.trim();i.length===0||!Ie(r)||(t[i]=Math.floor(r))}return t}import{stat as jn}from"node:fs/promises";var me=new Map;function Ct(e){return[...new Set(e.map(t=>t.trim()).filter(t=>t.length>0))].sort((t,n)=>t.localeCompare(n))}async function Nn(e){try{let t=await jn(e);return{path:e,mtime_ms:t.mtimeMs,size:t.size}}catch{return{path:e,mtime_ms:null,size:null}}}async function L(e){let t=Ct(e),n=await Promise.all(t.map(r=>Nn(r)));return n.sort((r,i)=>r.path.localeCompare(i.path)),n}function ae(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n+=1){let r=e[n],i=t[n];if(r.path!==i.path||r.mtime_ms!==i.mtime_ms||r.size!==i.size)return!1}return!0}function At(e){return me.get(e)}function pe(e,t){let n=Ct(t.tracked_paths),r=[...t.signatures].map(i=>({path:i.path,mtime_ms:i.mtime_ms,size:i.size})).sort((i,a)=>i.path.localeCompare(a.path));me.set(e,{tracked_paths:n,signatures:r,value:t.value})}function H(e){if(e){me.delete(e);return}me.clear()}var Me=new In;async function jo(e,t,n=()=>!0){let r=new Set([qt.resolve(e)]);try{r.add(await Lt(e))}catch{}let i=!1,a=[r,()=>!i&&n()];try{return await Me.run([...Me.getStore()??[],a],t)}finally{i=!0}}function Ln(e){let t=qt.resolve(e);return Me.getStore()?.some(([n,r])=>n.has(t)&&r())??!1}var qn="settings:write",zt=Symbol("pm.settings.persist_source"),Mt=Symbol("pm.settings.fallback_origin"),Dt=Symbol("pm.settings.fallback_baseline"),zn=128,Mn=new Set(["off","advisory","strict"]);function Pt(e){return structuredClone(Xe[e])}function Dn(e){return e==="minimal"||e==="default"||e==="strict"||e==="custom"?e:u.governance.preset}var Fn=new Set(it);function Ft(e){return Fn.has(e)}function jt(e,t){let n=typeof t.create_default_type=="string"?t.create_default_type.trim():void 0;return n&&n.length>0&&(e.create_default_type=n),(t.workflow_enforcement==="off"||t.workflow_enforcement==="warn"||t.workflow_enforcement==="strict")&&(e.workflow_enforcement=t.workflow_enforcement),Ft(t.start_blocker_enforcement)&&(e.start_blocker_enforcement=t.start_blocker_enforcement),t.require_close_reason===!1&&(e.require_close_reason=!1),e.duplicate_detection_mode=t.duplicate_detection_mode,e.duplicate_detection_threshold=t.duplicate_detection_threshold,e.duplicate_detection_limit=t.duplicate_detection_limit,e}function Vn(e){return e.preset==="custom"?jt({preset:"custom",ownership_enforcement:e.ownership_enforcement,create_mode_default:e.create_mode_default,close_validation_default:e.close_validation_default,parent_reference:e.parent_reference,metadata_profile:e.metadata_profile,force_required_for_stale_lock:e.force_required_for_stale_lock},e):jt({preset:e.preset},e)}function Wn(e){let t=typeof e.create_default_type=="string"?e.create_default_type.trim():void 0,n={};t&&t.length>0&&(n.create_default_type=t),(e.workflow_enforcement==="off"||e.workflow_enforcement==="warn"||e.workflow_enforcement==="strict")&&(n.workflow_enforcement=e.workflow_enforcement),Ft(e.start_blocker_enforcement)&&(n.start_blocker_enforcement=e.start_blocker_enforcement),typeof e.require_close_reason=="boolean"&&(n.require_close_reason=e.require_close_reason),Mn.has(String(e.duplicate_detection_mode))&&(n.duplicate_detection_mode=e.duplicate_detection_mode);let r=e.duplicate_detection_threshold;[typeof r=="number",Number.isFinite(r),Number(r)>=0,Number(r)<=1].every(Boolean)&&(n.duplicate_detection_threshold=r);let i=e.duplicate_detection_limit;return[typeof i=="number",Number.isSafeInteger(i),Number(i)>=0,Number(i)<=20].every(Boolean)&&(n.duplicate_detection_limit=i),n}function Vt(e){let t=e.governance??{},n=Dn(t.preset),r=Wn(t);if(n==="custom"){let s=Pt("default"),l=r.require_close_reason??s.require_close_reason;return{preset:n,ownership_enforcement:t.ownership_enforcement??s.ownership_enforcement,create_mode_default:t.create_mode_default??s.create_mode_default,close_validation_default:t.close_validation_default??s.close_validation_default,parent_reference:t.parent_reference??s.parent_reference,metadata_profile:t.metadata_profile??s.metadata_profile,force_required_for_stale_lock:t.force_required_for_stale_lock??s.force_required_for_stale_lock,...r,require_close_reason:l,duplicate_detection_mode:r.duplicate_detection_mode??s.duplicate_detection_mode,duplicate_detection_threshold:r.duplicate_detection_threshold??s.duplicate_detection_threshold,duplicate_detection_limit:r.duplicate_detection_limit??s.duplicate_detection_limit}}let i=Pt(n),a=r.require_close_reason??i.require_close_reason;return{preset:n,...i,...r,require_close_reason:a}}function Ve(){return structuredClone(u)}function Wt(e){return e==="cache_only"||e==="semantic_configured"||e==="semantic_auto"?e:u.search.mutation_refresh_policy}function Ut(e){return e==="auto"||e==="keyword"||e==="semantic"||e==="hybrid"?e:"auto"}function $t(e){return typeof e=="boolean"?e:u.search.query_expansion.enabled}function Ht(e){return typeof e!="string"?u.search.query_expansion.provider:e.trim()}function Bt(e){return typeof e=="boolean"?e:u.search.rerank.enabled}function Gt(e){return typeof e!="string"?u.search.rerank.model:e.trim()}function Kt(e){return typeof e=="number"&&Number.isFinite(e)&&Number.isInteger(e)&&e>0?e:u.search.rerank.top_k}function Jt(e){if(typeof e!="string")return u.vector_store.collection_name;let n=e.trim().replaceAll(/[^a-zA-Z0-9_-]/g,"_").slice(0,zn);return n.length>0?n:u.vector_store.collection_name}function Le(e){return{present:Array.isArray(e),values:Array.isArray(e)?structuredClone(e):[]}}function Yt(e,t){let n=e.schema,r=Le(n?.statuses),i=Le(n?.fields),a=Le(n?.type_workflows);return{persisted_settings:structuredClone(e),source_settings:structuredClone(e),has_source_item_type_definitions:Array.isArray(e.item_types?.definitions),source_item_type_definitions:Y(e.item_types?.definitions),has_source_schema_statuses:r.present,source_schema_statuses:r.values,has_source_schema_fields:i.present,source_schema_fields:i.values,has_source_schema_type_workflows:a.present,source_schema_type_workflows:a.values,runtime_item_type_definitions:Y(t.item_types?.definitions),runtime_schema_statuses:structuredClone(t.schema.statuses),runtime_schema_fields:structuredClone(t.schema.fields),runtime_schema_type_workflows:structuredClone(t.schema.type_workflows??[])}}function ke(e,t){Object.defineProperty(e,zt,{value:t,writable:!0,configurable:!0,enumerable:!1})}function We(e){let t=e[zt];if(!(!t||typeof t!="object"))return t}function No(e){let t=We(e);if(t){let n=structuredClone(t);n.source_settings.item_format=e.item_format,ke(e,n)}}function he(e){let t=structuredClone(e.settings),n=We(e.settings);n&&ke(t,n);let r=Ue(e.settings);return r!==void 0&&Xt(t,r),{settings:t,metadata:{has_explicit_item_format:e.metadata.has_explicit_item_format},warnings:[...e.warnings]}}function Un(e,t,n){let r=ne(t);return[n,re(e,r.files.types,te.types),re(e,r.files.statuses,te.statuses),re(e,r.files.fields,te.fields),re(e,r.files.workflows,te.workflows)]}async function $n(e,t,n){let r=await L(t);pe(e,{tracked_paths:t,signatures:r,value:he(n)})}async function Hn(e,t,n){try{await $n(e,t,n)}catch{H(e)}}function Nt(e,t){return e.find(n=>n.path===t)}function Bn(e,t,n){for(let r of n){let i=Nt(e,r),a=Nt(t,r);if(!i||!a||!ae([i],[a]))return!1}return!0}async function qe(e,t,n,r,i){try{let a=await L(t);if(!Bn(r,a,i)){H(e);return}pe(e,{tracked_paths:t,signatures:a,value:he(n)})}catch{H(e)}}function Gn(e,t){let n=ne(e.schema),r=Y(e.item_types?.definitions);if(!t)return{item_type_definitions:r,schema_statuses:n.statuses,schema_fields:n.fields,schema_type_workflows:n.type_workflows};let i=n.type_workflows??[],a=P(r,t.runtime_item_type_definitions),s=P(n.statuses,t.runtime_schema_statuses),l=P(n.fields,t.runtime_schema_fields),_=P(i,t.runtime_schema_type_workflows);return{item_type_definitions:a?t.has_source_item_type_definitions?Y(t.source_item_type_definitions):[]:r,schema_statuses:s?t.has_source_schema_statuses?structuredClone(t.source_schema_statuses):[]:n.statuses,schema_fields:l?t.has_source_schema_fields?structuredClone(t.source_schema_fields):[]:n.fields,schema_type_workflows:_?t.has_source_schema_type_workflows?structuredClone(t.source_schema_type_workflows):void 0:n.type_workflows}}function Xt(e,t){Object.defineProperty(e,Mt,{value:t,writable:!0,configurable:!0,enumerable:!1})}function Io(e){return Ue(e)!==void 0}function Ue(e){let t=e[Mt];return typeof t=="string"?t:void 0}function Kn(e){return e[Dt]}function Jn(e,t){Object.defineProperty(e,Dt,{value:t,writable:!0,configurable:!0,enumerable:!1})}function j(e){let t=Ve();return e!==void 0&&Xt(t,e),{settings:t,metadata:{has_explicit_item_format:!1},warnings:e?[e]:[]}}function Qt(e){if(typeof e!="object"||e===null||Array.isArray(e))return!1;let t=e.item_format;return t==="toon"||t==="json_markdown"}function De(e){return[...new Set((e??[]).map(t=>t.trim()).filter(t=>t.length>0))].sort((t,n)=>t.localeCompare(n))}function Zt(e){let t=u.agent_guidance,n=e?.template_version;return{prompt_completed:e?.prompt_completed===!0,declined:e?.declined===!0,declined_at:typeof e?.declined_at=="string"?e.declined_at:t.declined_at,template_version:typeof n=="number"&&Number.isInteger(n)&&n>0?n:t.template_version,last_checked_files:De(e?.last_checked_files??t.last_checked_files)}}function A(e){return[...new Set((e??[]).map(t=>t.trim().toLowerCase()).filter(t=>t.length>0))].sort((t,n)=>t.localeCompare(n))}function Yn(e){return e==="off"||e==="warn"||e==="enforce"?e:u.extensions.policy.mode}function Xn(e){return e==="off"||e==="warn"||e==="enforce"?e:u.extensions.policy.trust_mode}function en(e){return e==="none"||e==="restricted"||e==="strict"?e:u.extensions.policy.default_sandbox_profile}function Qn(e){let t=e.name.trim().toLowerCase();if(t.length===0)return null;let n={name:t};e.disabled===!0&&(n.disabled=!0),e.require_trusted===!0&&(n.require_trusted=!0),e.require_provenance===!0&&(n.require_provenance=!0),e.sandbox_profile!==void 0&&(n.sandbox_profile=en(e.sandbox_profile));let r=A(e.allowed_capabilities),i=A(e.blocked_capabilities),a=A(e.allowed_surfaces),s=A(e.blocked_surfaces),l=A(e.allowed_commands),_=A(e.blocked_commands),f=A(e.allowed_actions),w=A(e.blocked_actions),g=A(e.allowed_services),S=A(e.blocked_services);return r.length>0&&(n.allowed_capabilities=r),i.length>0&&(n.blocked_capabilities=i),a.length>0&&(n.allowed_surfaces=a),s.length>0&&(n.blocked_surfaces=s),l.length>0&&(n.allowed_commands=l),_.length>0&&(n.blocked_commands=_),f.length>0&&(n.allowed_actions=f),w.length>0&&(n.blocked_actions=w),g.length>0&&(n.allowed_services=g),S.length>0&&(n.blocked_services=S),n}function Zn(e){let t=new Map;for(let n of e??[]){let r=Qn(n);r&&t.set(r.name,r)}return[...t.values()].sort((n,r)=>n.name.localeCompare(r.name))}function ze(e){return e==="block"||e==="warn"?e:void 0}function er(e){if(typeof e=="string")return ze(e);if(typeof e=="object"&&e!==null&&!Array.isArray(e)){let t=ze(e.global),n=ze(e.project);return t===void 0&&n===void 0?void 0:{...t!==void 0?{global:t}:{},...n!==void 0?{project:n}:{}}}}function T(e,t){return A(e?.[t]??u.extensions.policy[t])}function tn(e){let t=er(e?.pm_max_version_exceeded_mode);return{mode:Yn(e?.mode),trust_mode:Xn(e?.trust_mode),...t!==void 0?{pm_max_version_exceeded_mode:t}:{},require_provenance:e?.require_provenance===!0,trusted_extensions:T(e,"trusted_extensions"),default_sandbox_profile:en(e?.default_sandbox_profile),allowed_extensions:T(e,"allowed_extensions"),blocked_extensions:T(e,"blocked_extensions"),allowed_capabilities:T(e,"allowed_capabilities"),blocked_capabilities:T(e,"blocked_capabilities"),allowed_surfaces:T(e,"allowed_surfaces"),blocked_surfaces:T(e,"blocked_surfaces"),allowed_commands:T(e,"allowed_commands"),blocked_commands:T(e,"blocked_commands"),allowed_actions:T(e,"allowed_actions"),blocked_actions:T(e,"blocked_actions"),allowed_services:T(e,"allowed_services"),blocked_services:T(e,"blocked_services"),extension_overrides:Zn(e?.extension_overrides??u.extensions.policy.extension_overrides)}}function nn(e){return[...new Set((e??[]).map(n=>n.trim().toLowerCase().replaceAll("-","_")))].filter(n=>n.length>0).sort((n,r)=>n.localeCompare(r)).filter(n=>["author","acceptance_criteria","estimated_minutes","close_reason","reviewer","risk","confidence","sprint","release"].includes(n))}function q(e){return[...new Set((e??[]).map(t=>t.trim().toLowerCase()).filter(t=>t.length>0))].sort((t,n)=>t.localeCompare(n))}function b(e,t){return e===void 0?t:e}function C(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:{}}function Fe(e){return Array.isArray(e)?e:[]}function tr(e,t,n){return{...t.validation,...e.validation,parent_reference:n.parent_reference,metadata_profile:n.metadata_profile,metadata_required_fields:nn(e.validation?.metadata_required_fields),lifecycle_stale_blocker_reason_patterns:q(e.validation?.lifecycle_stale_blocker_reason_patterns??t.validation.lifecycle_stale_blocker_reason_patterns),lifecycle_closure_like_blocked_reason_patterns:q(e.validation?.lifecycle_closure_like_blocked_reason_patterns??t.validation.lifecycle_closure_like_blocked_reason_patterns),lifecycle_closure_like_resolution_patterns:q(e.validation?.lifecycle_closure_like_resolution_patterns??t.validation.lifecycle_closure_like_resolution_patterns),lifecycle_closure_like_actual_result_patterns:q(e.validation?.lifecycle_closure_like_actual_result_patterns??t.validation.lifecycle_closure_like_actual_result_patterns),estimate_defaults_by_type:Re(e.validation?.estimate_defaults_by_type)}}function nr(e,t){return{enabled:e.telemetry?.enabled??t.telemetry.enabled,first_run_prompt_completed:e.telemetry?.first_run_prompt_completed??t.telemetry.first_run_prompt_completed,capture_level:e.telemetry?.capture_level??t.telemetry.capture_level,endpoint:e.telemetry?.endpoint??t.telemetry.endpoint,installation_id:e.telemetry?.installation_id??t.telemetry.installation_id,retention_days:e.telemetry?.retention_days??t.telemetry.retention_days}}function rr(e,t){return{...t.search,...e.search,default_mode:Ut(e.search?.default_mode),mutation_refresh_policy:Wt(e.search?.mutation_refresh_policy),query_expansion:{...t.search.query_expansion,...e.search?.query_expansion,enabled:$t(e.search?.query_expansion?.enabled),provider:Ht(e.search?.query_expansion?.provider)},rerank:{...t.search.rerank,...e.search?.rerank,enabled:Bt(e.search?.rerank?.enabled),model:Gt(e.search?.rerank?.model),top_k:Kt(e.search?.rerank?.top_k)}}}function or(e,t){return{adapter:e.vector_store.adapter??t.vector_store.adapter,collection_name:Jt(e.vector_store.collection_name),qdrant:{...t.vector_store.qdrant,...e.vector_store.qdrant},lancedb:{...t.vector_store.lancedb,...e.vector_store.lancedb}}}function ir(e,t){return e.item_format==="json_markdown"?"toon":e.item_format??t.item_format}function ar(e,t){return{default_depth:e.context?.default_depth??t.context.default_depth,activity_limit:e.context?.activity_limit??t.context.activity_limit,stale_threshold_days:e.context?.stale_threshold_days??t.context.stale_threshold_days,next_ranking_policy:e.context?.next_ranking_policy??t.context.next_ranking_policy,sections:{...t.context.sections,...e.context?.sections}}}function sr(e,t){return{openai:{...t.providers.openai,...e.providers.openai},ollama:{...t.providers.ollama,...e.providers.ollama}}}function Y(e){let t=(e??[]).map(r=>st(r)).filter(r=>r!==null),n=new Map;for(let r of t)n.set(r.name.toLowerCase(),r);return[...n.values()].sort((r,i)=>r.name.localeCompare(i.name))}function ye(e){let t=Ve(),n=Vt({governance:e.governance??{preset:"default"}});return{...t,...e,item_format:ir(e,t),locks:{...t.locks,...e.locks},ids:{...t.ids,...e.ids},agent_identity:structuredClone(e.agent_identity??t.agent_identity),mutation_guard:{...t.mutation_guard,...e.mutation_guard},checkpoints:{...t.checkpoints,...e.checkpoints},output:{...t.output,...e.output},ux:{...t.ux,...e.ux},history:{...t.history,...e.history,compact_policy:{...t.history.compact_policy,...e.history?.compact_policy}},validation:tr(e,t,n),governance:n,workflow:{definition_of_done:[...e.workflow?.definition_of_done??t.workflow.definition_of_done]},testing:{record_results_to_items:e.testing?.record_results_to_items??t.testing.record_results_to_items,allow_untrusted_linked_tests:e.testing?.allow_untrusted_linked_tests??t.testing.allow_untrusted_linked_tests},telemetry:nr(e,t),agent_guidance:Zt(e.agent_guidance??t.agent_guidance),item_types:{definitions:Y(e.item_types?.definitions)},schema:ne(e.schema??t.schema),context:ar(e,t),extensions:{enabled:[...e.extensions.enabled],disabled:[...e.extensions.disabled],policy:tn(e.extensions.policy??t.extensions.policy)},search:rr(e,t),providers:sr(e,t),vector_store:or(e,t)}}function cr(e){e.agent_identity=p(e.agent_identity,["probes_enabled","identity_vocabulary","harness_signals"]);let t=e.agent_identity;Object.hasOwn(t,"identity_vocabulary")&&(t.identity_vocabulary=p(C(t.identity_vocabulary),["version","aliases"])),e.agent_identity.harness_signals=Fe(e.agent_identity.harness_signals).map(n=>p(C(n),["harness","environment_keys","model_environment_keys","session_environment_keys","provenance_environment_keys","provenance_resolvers","provenance_unavailable_dimensions","argv_markers","client_names"])),e.locks=p(e.locks,["ttl_seconds","wait_ms"]),e.ids=p(e.ids,["token_length"]),e.mutation_guard=p(e.mutation_guard,["require_attributed_author","secret_guard","stale_in_progress_hours"]),e.checkpoints=p(e.checkpoints,["retention_days"]),e.output=p(e.output,["default_format"]),e.ux=p(e.ux,["deprecation_hints"]),e.history=p(e.history,["missing_stream","compact_policy"]),e.validation=p(e.validation,["sprint_release_format","parent_reference","metadata_profile","metadata_required_fields","lifecycle_stale_blocker_reason_patterns","lifecycle_closure_like_blocked_reason_patterns","lifecycle_closure_like_resolution_patterns","lifecycle_closure_like_actual_result_patterns","estimate_defaults_by_type"]),e.governance=p(e.governance,["preset","ownership_enforcement","create_mode_default","close_validation_default","require_close_reason","parent_reference","metadata_profile","force_required_for_stale_lock","create_default_type","workflow_enforcement","duplicate_detection_mode","duplicate_detection_threshold","duplicate_detection_limit"]),e.workflow=p(e.workflow,["definition_of_done"]),e.testing=p(e.testing,["record_results_to_items","allow_untrusted_linked_tests"]),e.telemetry=p(e.telemetry,["enabled","first_run_prompt_completed","capture_level","endpoint","installation_id","retention_days"]),e.agent_guidance=p(e.agent_guidance,["prompt_completed","declined","declined_at","template_version","last_checked_files"]),e.item_types=p(e.item_types,["definitions"]),e.schema=p(e.schema,["version","files","statuses","fields","workflow","type_workflows","unknown_field_policy"]),e.schema.files=p(C(e.schema.files),["types","statuses","fields","workflows"]),e.schema.workflow=p(C(e.schema.workflow),["draft_status","open_status","in_progress_status","blocked_status","close_status","canceled_status"]),e.context=p(e.context,["default_depth","activity_limit","stale_threshold_days","next_ranking_policy","sections"]),e.context.sections=p(C(e.context.sections),["hierarchy","activity","progress","blockers","files","workload","staleness","tests"]),e.extensions=p(e.extensions,["enabled","disabled","policy"]),e.extensions.policy=p(C(e.extensions.policy),["mode","trust_mode","pm_max_version_exceeded_mode","require_provenance","trusted_extensions","default_sandbox_profile","allowed_extensions","blocked_extensions","allowed_capabilities","blocked_capabilities","allowed_surfaces","blocked_surfaces","allowed_commands","blocked_commands","allowed_actions","blocked_actions","allowed_services","blocked_services","extension_overrides"]),e.extensions.policy.extension_overrides=Fe(e.extensions.policy.extension_overrides).map(n=>p(C(n),["name","disabled","require_trusted","require_provenance","sandbox_profile","allowed_capabilities","blocked_capabilities","allowed_surfaces","blocked_surfaces","allowed_commands","blocked_commands","allowed_actions","blocked_actions","allowed_services","blocked_services"])),e.search=p(e.search,["score_threshold","hybrid_semantic_weight","max_results","embedding_model","embedding_corpus_max_characters","embedding_batch_size","embedding_timeout_ms","scanner_max_batch_retries","provider","default_mode","mutation_refresh_policy","query_expansion","rerank"]),e.search.query_expansion=p(C(e.search.query_expansion),["enabled","provider"]),e.search.rerank=p(C(e.search.rerank),["enabled","model","top_k"]),e.providers=p(e.providers,["openai","ollama"]),e.providers.openai=p(C(e.providers.openai),["base_url","api_key","model"]),e.providers.ollama=p(C(e.providers.ollama),["base_url","model"]),e.vector_store=p(e.vector_store,["adapter","collection_name","qdrant","lancedb"]),e.vector_store.qdrant=p(C(e.vector_store.qdrant),["url","api_key"]),e.vector_store.lancedb=p(C(e.vector_store.lancedb),["path"])}function lr(e){return{...e,locks:b(e.locks,u.locks),ids:b(e.ids,u.ids),agent_identity:b(e.agent_identity,u.agent_identity),mutation_guard:b(e.mutation_guard,u.mutation_guard),checkpoints:b(e.checkpoints,u.checkpoints),output:b(e.output,u.output),ux:b(e.ux,u.ux),history:b(e.history,u.history),validation:b(e.validation,u.validation),workflow:b(e.workflow,u.workflow),testing:b(e.testing,u.testing),telemetry:b(e.telemetry,u.telemetry),agent_guidance:b(e.agent_guidance,u.agent_guidance),item_types:b(e.item_types,u.item_types),schema:b(e.schema,u.schema),context:b(e.context,u.context),extensions:b(e.extensions,u.extensions),search:b(e.search,u.search),providers:b(e.providers,u.providers),vector_store:b(e.vector_store,u.vector_store)}}function dr(e,t){return{...e.validation,parent_reference:t.parent_reference,metadata_profile:t.metadata_profile,metadata_required_fields:nn(e.validation?.metadata_required_fields),lifecycle_stale_blocker_reason_patterns:q(e.validation?.lifecycle_stale_blocker_reason_patterns??u.validation.lifecycle_stale_blocker_reason_patterns),lifecycle_closure_like_blocked_reason_patterns:q(e.validation?.lifecycle_closure_like_blocked_reason_patterns??u.validation.lifecycle_closure_like_blocked_reason_patterns),lifecycle_closure_like_resolution_patterns:q(e.validation?.lifecycle_closure_like_resolution_patterns??u.validation.lifecycle_closure_like_resolution_patterns),lifecycle_closure_like_actual_result_patterns:q(e.validation?.lifecycle_closure_like_actual_result_patterns??u.validation.lifecycle_closure_like_actual_result_patterns),estimate_defaults_by_type:Re(e.validation?.estimate_defaults_by_type)}}function ur(e){return{...u.search,...e.search,default_mode:Ut(e.search?.default_mode),mutation_refresh_policy:Wt(e.search?.mutation_refresh_policy),query_expansion:{...u.search.query_expansion,...e.search?.query_expansion,enabled:$t(e.search?.query_expansion?.enabled),provider:Ht(e.search?.query_expansion?.provider)},rerank:{...u.search.rerank,...e.search?.rerank,enabled:Bt(e.search?.rerank?.enabled),model:Gt(e.search?.rerank?.model),top_k:Kt(e.search?.rerank?.top_k)}}}function _r(e){return{default_depth:e.context?.default_depth??u.context.default_depth,activity_limit:e.context?.activity_limit??u.context.activity_limit,stale_threshold_days:e.context?.stale_threshold_days??u.context.stale_threshold_days,next_ranking_policy:e.context?.next_ranking_policy??u.context.next_ranking_policy,sections:{...u.context.sections,...e.context?.sections}}}function fr(e){return{...e.vector_store,adapter:e.vector_store?.adapter??u.vector_store.adapter,collection_name:Jt(e.vector_store?.collection_name),qdrant:{...e.vector_store?.qdrant},lancedb:{...e.vector_store?.lancedb}}}function mr(e,t,n,r){return{...e,item_format:"toon",validation:dr(e,t),governance:t,agent_guidance:Zt(e.agent_guidance),item_types:{definitions:r.item_type_definitions},schema:{...n,statuses:r.schema_statuses,fields:r.schema_fields,type_workflows:r.schema_type_workflows},search:ur(e),context:_r(e),extensions:{enabled:De(e.extensions?.enabled),disabled:De(e.extensions?.disabled),policy:tn(e.extensions?.policy)},vector_store:fr(e)}}function rn(e,t){for(let n of Object.keys(t)){let r=Reflect.get(t,n),i=e[n];typeof r=="object"&&r!==null&&!Array.isArray(r)&&typeof i=="object"&&i!==null&&!Array.isArray(i)?rn(i,r):e[n]=structuredClone(r)}}function $e(e,t,n){let r=new Set([...Object.keys(t),...Object.keys(n)]);for(let i of r){let a=t[i],s=n[i];if(!P(a,s)){if(s===void 0){delete e[i];continue}if(typeof a=="object"&&a!==null&&!Array.isArray(a)&&typeof s=="object"&&s!==null&&!Array.isArray(s)){let l=e[i],_=typeof l=="object"&&l!==null&&!Array.isArray(l)?l:{};$e(_,a,s),Object.keys(_).length>0?e[i]=_:delete e[i];continue}e[i]=structuredClone(s)}}}var we=["version","id_prefix","ids","author_default","agent_identity","mutation_guard","item_format","locks","checkpoints","output","ux","history","validation","governance","workflow","testing","telemetry","agent_guidance","item_types","schema","context","extensions","search","providers","vector_store"];function It(e,t){let n=lr(e),r=Vt(n),i=ne(n.schema),a=Gn(n,t),s=mr(n,r,i,a),l=p({...s,governance:Vn(r)},we);return cr(l),l}function on(e,t={}){let n=t.source===void 0?t.persist_source:Yt(t.source.validated,ye(t.source.validated)),r=It(e,n);if(n){let i=ye(n.source_settings);i.item_types={definitions:structuredClone(n.runtime_item_type_definitions)},i.schema={...i.schema,statuses:structuredClone(n.runtime_schema_statuses),fields:structuredClone(n.runtime_schema_fields),type_workflows:structuredClone(n.runtime_schema_type_workflows)};let a=It(i,n);t.source!==void 0&&rn(a,t.source.validated);let s=structuredClone(t.source===void 0?n.source_settings:t.source.raw);return $e(s,a,r),`${JSON.stringify(p(s,we),null,2)}
|
|
3
|
+
`}return`${JSON.stringify(r,null,2)}
|
|
4
|
+
`}async function pr(e){let t;try{t=await Lt(e)}catch(l){if(le(l))return j();throw l}let n=B(t),r;try{r=await Rn(n)}catch(l){if(le(l))return j();throw l}if(!r.isFile())throw Te("settings.json");let i;try{i=await Ze(n,Te("settings.json"))}catch(l){if(le(l))return j();throw l}let a;try{a=JSON.parse(i)}catch{return j("settings_read_invalid_json")}let s=_e(a);return s.success?{settings:ye(s.data),metadata:{has_explicit_item_format:Qt(a)},warnings:s.data.item_format==="json_markdown"?["settings_item_format_legacy_json_markdown_coerced_to_toon"]:[]}:j("settings_read_invalid_schema")}async function an(e){if(Ln(e))return pr(e);let t=B(e),n=[t];await kt({path:t,scope:"project"});let r=At(e);if(r){let f=await L(r.tracked_paths);if(ae(f,r.signatures))return he(r.value)}let i=await L([t]),a;try{a=await I(t)}catch{return j("settings_read_fs_error")}if(a===null){let f=j();return await qe(e,[t],f,i,[t]),f}let s=await L([t]);if(!ae(i,s))return H(e),an(e);let l;try{l=JSON.parse(a)}catch{let f=j("settings_read_invalid_json");return await qe(e,[t],f,s,[t]),f}let _=_e(l);if(!_.success){let f=j("settings_read_invalid_schema");return await qe(e,[t],f,s,[t]),f}try{let f=ye(_.data),w=Un(e,f.schema,t);n=w;let g=await L(w),S=await dt(e,f.schema),X=await L(w),Oe={...f,item_types:{definitions:Y([...f.item_types.definitions,...Fe(S.type_definitions_from_file)])},schema:S.schema};ke(Oe,Yt(_.data,Oe));let Ye={settings:Oe,metadata:{has_explicit_item_format:Qt(l)},warnings:[..._.data.item_format==="json_markdown"?["settings_item_format_legacy_json_markdown_coerced_to_toon"]:[],...S.warnings]};return ae(g,X)?pe(e,{tracked_paths:w,signatures:X,value:he(Ye)}):H(e),Ye}catch{let f=j("settings_read_merge_failed");return await Hn(e,n,f),f}}function hr(e,t=[],n=null){let r=He(n)??{},i=t.filter(s=>!Object.hasOwn(r,s));if(i.length===0)return e;let a=JSON.parse(e);for(let s of i)Reflect.deleteProperty(a,s);return`${JSON.stringify(a,null,2)}
|
|
5
|
+
`}var yr=/^[A-Za-z0-9_-]+$/u,kr=new Set(["__proto__","constructor","prototype"]);function He(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)?e:void 0}function wr(e){for(let t of e)if(t.split(".").find(i=>!yr.test(i)||kr.has(i))!==void 0)throw new x(`Settings write assignedPaths entry "${t}" is not a dotted settings path.`,v.USAGE,{code:"settings_write_assigned_path_invalid",reason:"assigned_path_segment_invalid",field:t,why:"Assigned paths name settings keys; an empty, reserved or non-identifier segment cannot address one safely.",nextSteps:["Pass dotted settings keys such as context.next_ranking_policy in assignedPaths."]})}function sn(e,t){return He(Object.hasOwn(e,t)?e[t]:void 0)}function Rt(e,t){let n=e;for(let r of t)if(n=sn(n,r),n===void 0)return;return n}function gr(e,t){let n=e;for(let r of t){let i=sn(n,r);i===void 0&&(i={},n[r]=i),n=i}return n}function br(e,t,n){for(let r of n){let i=r.split("."),a=i.pop(),s=Rt(t,i);if(s===void 0)continue;if(Object.hasOwn(s,a)){gr(e,i)[a]=structuredClone(s[a]);continue}if(!St.includes(i[0]??a))continue;let l=Rt(e,i);l!==void 0&&delete l[a]}}function vr(e,t,n,r,i){let a=i??JSON.parse(on(Ve())),s=structuredClone(He(e)??{});$e(s,a,t),br(s,t,r);let l=_e(s);if(!l.success){let _=l.path;throw new x(`Existing settings.json fails validation at ${_}; the settings write was refused and nothing was changed.`,v.USAGE,{code:"settings_write_invalid_existing_schema",reason:"existing_settings_schema_invalid",field:_,original_code:n,why:"The stored settings could not be read, so writing would either keep an invalid document or replace intended project configuration with defaults.",nextSteps:[`Fix or remove ${_} in settings.json, then retry the original command.`,"A configurable setting can also be repaired explicitly, even to its default value, with pm config <scope> set <dotted.key> <value>.","Run pm health to confirm the settings warning has cleared."]})}return`${JSON.stringify(p(s,we),null,2)}
|
|
6
|
+
`}function xr(e){try{return JSON.parse(e)}catch{throw new x("Existing settings.json is malformed; the settings write was refused.",v.USAGE,{code:"settings_write_invalid_existing_json",reason:"existing_settings_json_malformed",why:"Writing defaults over malformed settings could destroy intended project configuration.",nextSteps:["Repair the syntax in .agents/pm/settings.json, then retry the original command.","Run pm health to confirm the settings warning has cleared."]})}}async function Ro(e){return(await an(e)).settings}async function Lo(e,t,n=qn,r={}){let i=r.assignedPaths??[];wr(i);let a=B(e),s=We(t),l=s?void 0:Ue(t),_=on(t,{persist_source:s}),f=JSON.parse(_),w=!1;try{if(await vt({pmRoot:e,filePath:a,mutate:g=>{let S=g===null?null:xr(g);return g!==null&&r.skipIfStored?.(S)===!0?(w=!0,{raw:g,result:void 0}):l!==void 0&&g!==null?{raw:vr(S,f,l,i,Kn(t)),result:void 0}:{raw:s?`${JSON.stringify(p(Ne(s.persisted_settings,f,S),we),null,2)}
|
|
7
|
+
`:hr(_,r.omitSections,S),result:void 0}},op:n,author:ft(void 0,t.author_default),lockTtlSeconds:t.locks.ttl_seconds,lockWaitMs:t.locks.wait_ms,recordCreation:!1}),w)return;s?ke(t,{...s,persisted_settings:structuredClone(f)}):l!==void 0&&Jn(t,structuredClone(f)),await yt({path:a,scope:"project",op:n})}finally{H(e)}}import cn from"node:fs";import se from"node:path";import{createRequire as Sr}from"node:module";var ce="@unbrained/pm-cli",Er=new Set(["append","claim","changelog","close","close-many","close-task","comments","config","copy","create","dedupe-merge","delete","deps","docs","extension","event","events","files","focus","gc","history-author-acknowledge","history-compact","history-redact","history-repair","init","install","item","learnings","meet","merge","normalize","notes","package","packages","pause-task","plan","profile","reindex","release","remind","restore","schema","start-task","test","test-all","test-runs","test-runs-worker","telemetry","templates","twin","update","update-many","upgrade","vcs","workspace"]),ln=new Set(["--author","--expect-hash","--output-budget","--output-format","--output-include","--output-limit","--output-session","--path","--pm-path"]),Ge=/\b(\d{4})\.(\d{1,2})\.(\d{1,2})(?:-(\d+))?\b/u,xe="2026.8.31";function E(e,t){return e.some(n=>t.includes(n.split("=",1)[0]))}function Be(e,t){return["activate","adopt","adopt-all","deactivate","init","install","migrate","reload","uninstall"].includes(t[0]??"")||E(e,["--activate","--adopt","--adopt-all","--deactivate","--fix-managed-state","--init","--install","--output","--reload","--scaffold","--uninstall"])}var Or={changelog:(e,t)=>{if(t[0]==="generate")return!E(e,["--check"]);let n=e.indexOf("export");return t[0]==="export"&&(E(e,["--output"])||n>=0&&e[n+1]!==void 0&&!e[n+1].startsWith("-"))},comments:e=>E(e,["--add","--delete","--edit","--file","--stdin"]),config:(e,t)=>(t[0]==="project"||t[0]==="global"?t[1]:t[0])==="set",deps:()=>!1,docs:e=>E(e,["--add","--add-glob","--migrate","--remove"]),duplicates:()=>!1,events:()=>!1,extension:Be,files:(e,t)=>E(e,["--add","--add-glob","--migrate","--remove"])||t[0]==="discover"&&E(e,["--apply"]),health:e=>!E(e,["--check-only","--no-refresh","--skip-vectors"]),learnings:e=>E(e,["--add","--delete","--edit","--file","--stdin"]),merge:(e,t)=>t[0]!=="report",notes:e=>E(e,["--add","--delete","--edit","--file","--stdin"]),package:Be,packages:Be,profile:(e,t)=>t[0]==="apply",schema:(e,t)=>["add-field","add-status","add-type","remove-field","remove-status","remove-type","remap-status","rename-field","rename-type"].includes(t[0]??"")&&!(E(e,["--infer"])&&!E(e,["--apply"])),telemetry:(e,t)=>t.slice(0,2).some(n=>["clear","flush"].includes(n)),templates:(e,t)=>t[0]==="save",test:e=>E(e,["--update","--update-index","--add","--add-json","--background","--measure","--remove","--resume","--run","--stop"]),validate:e=>E(e,["--auto-fix","--prune-missing"]),vcs:(e,t)=>["abandon","create","merge","propose","ref-create"].includes(t[0]??""),workspace:(e,t)=>t[0]==="snapshot"&&["create","delete","restore"].includes(t[1]??"")};function be(e){let t=e.match(Ge);return t?[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4]??0)]:null}function z(e,t){let n=be(e),r=be(t);if(!n||!r)return null;for(let i=0;i<n.length;i+=1){let a=n[i]-r[i];if(a!==0)return Math.sign(a)}return 0}function ge(e){return z(e,xe)!==-1?3:2}function Tr(e,t){if(t===3)return e.filter(n=>n.history_epoch_compatible===!1).map(n=>({...n,declaration:n.declaration??n.version})).sort((n,r)=>z(n.version,r.version))[0]}function ve(e){try{let t=JSON.parse(cn.readFileSync(e,"utf8"));return typeof t=="object"&&t!==null&&!Array.isArray(t)?t:null}catch{return null}}function Cr(e){let t=[...e.matchAll(/(<=|<)\s*v?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/gu)].map(r=>({inclusive:r[1]==="<=",version:r[2]})),n=e.match(/\b\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?\s+-\s+v?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/u);return n?[...t,{inclusive:!0,version:n[1]}]:t}function Ar(e){let t=e.split("||").map(n=>Cr(n));return{bounded:t.some(n=>n.length>0),compatible:t.some(n=>n.every(r=>{let i=z(xe,r.version);return i!==null&&(r.inclusive?i!==1:i===-1)}))}}function dn(e){return["dependencies","devDependencies","optionalDependencies","peerDependencies"].flatMap(t=>{let n=e[t];if(typeof n!="object"||n===null)return[];let r=n[ce];return typeof r=="string"?[r.trim()]:[]})}function Pr(e){return dn(e).flatMap(t=>{let n=/^[<!]/u.test(t)?void 0:t.match(Ge)?.[0];if(!n)return[];let r=/^(?:=|v)?\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?$/u.test(t),i=Ar(t);return[{version:n,constraint:r?"exact":i.bounded?"range":"minimum",...r?{}:{declaration:t},history_epoch_compatible:r?z(n,xe)!==-1:i.compatible}]})}function jr(e){let n=ve(se.join(e,"package-lock.json"))?.packages;if(typeof n!="object"||n===null)return;let r=n["node_modules/@unbrained/pm-cli"];if(typeof r!="object"||r===null)return;let i=r.version;return typeof i=="string"?i:void 0}function Nr(e,t){try{let n=cn.readFileSync(se.join(e,t),"utf8").split(/\r?\n/u),r=n.findIndex(_=>_.includes(ce));if(r<0)return;let i=n[r].match(/^\s*/u)[0].length,a=[n[r]];for(let _=r+1;_<n.length;_+=1){let f=n[_],w=f.trim(),g=f.match(/^\s*/u)[0].length;if(w.length>0&&g<=i)break;a.push(f)}return a.join(`
|
|
8
|
+
`).match(/^\s*version(?::\s*|\s+)["']?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/mu)?.[1]??a[0].match(Ge)?.[0]}catch{return}}function un(e){let t=[],n=ve(se.join(e,"package.json"));n&&t.push(...Pr(n).map(s=>({...s,source:"package.json"})));let i=ve(se.join(e,"node_modules","@unbrained","pm-cli","package.json"))?.version;typeof i=="string"&&be(i)&&t.push({version:i,source:"installed-package",constraint:"exact",history_epoch_compatible:ge(i)===3});let a=jr(e);a&&be(a)&&t.push({version:a,source:"package-lock.json",constraint:"exact",history_epoch_compatible:ge(a)===3});for(let s of["pnpm-lock.yaml","yarn.lock"]){let l=Nr(e,s);l&&t.push({version:l,source:s,constraint:"exact",history_epoch_compatible:ge(l)===3})}return t}function Ir(e,t){if(t<=1)return;let{minVersion:n,lt:r}=Sr(import.meta.url)("semver"),i=dn(ve(se.join(e,"package.json"))??{}).find(s=>{try{let l=n(s);return l!==null&&r(l,"2026.10.10")}catch{return!1}}),a=i===void 0?un(e).find(s=>z(s.version,"2026.10.10")===-1):{version:i,source:"package.json"};if(a)throw new x(`The project selects pm ${a.version}, which cannot safely refuse item format ${t}.`,v.CONFLICT,{code:"project_runtime_item_format_incompatible",reason:a.source,required:"Upgrade project pins, installed SDKs, CI hosts and Git merge drivers before writing guarded item formats.",nextSteps:["Use a pm runtime supporting the required item format throughout the project; preserve original item and history bytes, and never re-anchor history to satisfy an older host."]})}function $o(e,t){let n=_t(e);n<=1||(Ir(ct(t),n),e.pm_format_version=n)}function _n(e){for(let t=0;t<e.length;t+=1){let n=e[t];if(ln.has(n)){t+=1;continue}if(!n.startsWith("-"))return{command:n.toLowerCase(),index:t}}}function Rr(e){let t=_n(e);if(!t||E(e,["--help","-h","--dry-run"]))return!1;let{command:n,index:r}=t,i=[];for(let s=r+1;s<e.length;s+=1){let l=e[s];if(ln.has(l)){s+=1;continue}l.startsWith("-")||i.push(l.toLowerCase())}let a=Or[n];return a?a(e,i):Er.has(n)}function Lr(e){let t=_n(e.argv)?.command,n=Rr(e.argv),r=un(e.projectRoot).filter(w=>z(w.version,e.executingVersion)!==null).sort((w,g)=>z(g.version,w.version)),i=r[0],a=i!==void 0&&z(e.executingVersion,i.version)===-1,s=ge(e.executingVersion),l=Tr(r,s),_=n&&l!==void 0,f=a&&!n?{code:"project_runtime_stale_read",executing_version:e.executingVersion,project_version:i.version,source:i.source,message:"This read is using an older pm runtime than the project requires.",next_steps:[`Run the command through the project's installed ${ce} ${i.version}.`,"Install the project dependencies with its declared package manager if the local executable is missing."]}:void 0;return{compatible:!n||!a&&!_||e.allowStale===!0,executing_version:e.executingVersion,...i?{project_version:i.version,source:i.source}:{},...t?{command:t}:{},mutating:n,stale:a,history_epoch_incompatible:_,writer_item_hash_version:s,...l?{incompatible_project_version:l.declaration,incompatible_source:l.source}:{},...f?{warning:f}:{},override_applied:n&&(a||_)&&e.allowStale===!0}}function Ho(e){let t=Lr(e);if(t.compatible)return t;throw t.history_epoch_incompatible?new x(`pm ${t.executing_version} cannot write item-hash epoch ${t.writer_item_hash_version} into a project pinned to pm ${t.incompatible_project_version}.`,v.CONFLICT,{code:"project_runtime_history_epoch_incompatible",reason:t.incompatible_source,why:`The pinned runtime cannot read item_hash_version ${t.writer_item_hash_version}; allowing the write would break its health and validation gates.`,nextSteps:[`Upgrade the project's ${ce} pin to ${xe} or newer before mutating tracker history.`,"For an intentional coordinated migration only, set PM_ALLOW_STALE_CLI=1 for this invocation and record why.","Read-only commands remain available without an override."]}):new x(`pm ${t.executing_version} cannot mutate a project pinned to newer pm ${t.project_version}.`,v.CONFLICT,{code:"project_runtime_stale_mutation",reason:t.source,why:"An older runtime can write storage, history, and merge contracts it does not understand.",nextSteps:[`Run this command through the project's installed ${ce} ${t.project_version}.`,"For an intentional recovery only, set PM_ALLOW_STALE_CLI=1 for this invocation and record why.","Read-only commands remain available without an override."]})}import Je from"node:fs/promises";import Se from"node:path";function M(e,t){return typeof e=="object"&&e!==null&&"code"in e&&e.code===t}function fn(e){let t=["--pm-path",e,"init","--defaults","--agent-guidance","skip"];return{suggested_retry:lt(t),suggested_retry_args:t}}function Ee(e){return new x(`Tracker root is not a directory at ${e}.`,v.USAGE,{code:"tracker_root_not_directory",reason:"not_a_directory",resolved_path:e,nextSteps:["Pass a tracker directory, usually <workspace>/.agents/pm, rather than a file path."]})}function Ke(e){return new x(`Tracker root is not readable at ${e}.`,v.GENERIC_FAILURE,{code:"tracker_root_unreadable",reason:"unreadable",resolved_path:e,nextSteps:["Grant read and directory-search permission to the tracker root, then retry."]})}async function qr(e){let t=Se.resolve(e),n=Se.parse(t).root,r=Se.dirname(t);for(;r!==n;){let i;try{i=await Je.stat(r)}catch(a){if(M(a,"ENOTDIR"))throw Ee(e);if(!M(a,"ENOENT"))throw a;r=Se.dirname(r);continue}if(!i.isDirectory())throw Ee(e);return}}async function zr(e){let t;try{t=await Je.stat(e)}catch(n){throw M(n,"ENOENT")?(await qr(e),new x(`Tracker is not initialized at ${e}. Tracker root does not exist. Run pm init first.`,v.NOT_FOUND,{code:"tracker_root_missing",reason:"missing",resolved_path:e,nextSteps:["Confirm the tracker root path or initialize it with the emitted retry."],recovery:fn(e)})):M(n,"ENOTDIR")?Ee(e):M(n,"EACCES")||M(n,"EPERM")?Ke(e):n}if(!t.isDirectory())throw Ee(e);if(process.platform!=="win32"&&((t.mode&292)===0||(t.mode&73)===0))throw Ke(e);try{await(await Je.opendir(e)).close()}catch(n){throw M(n,"EACCES")||M(n,"EPERM")?Ke(e):n}}async function ei(e){if(await zr(e),!await Qe(B(e)))throw new x(`Tracker is not initialized at ${e}. Run pm init first.`,v.NOT_FOUND,{code:"tracker_not_initialized",reason:"settings_missing",resolved_path:e,nextSteps:["Initialize the selected tracker root with the emitted retry."],recovery:fn(e)})}export{R as a,W as b,Jr as c,Yr as d,Xr as e,vt as f,Qr as g,Zr as h,eo as i,St as j,_e as k,co as l,H as m,jo as n,Ln as o,Vt as p,No as q,Io as r,ye as s,on as t,an as u,Ro as v,Lo as w,xe as x,z as y,ge as z,un as A,Ir as B,$o as C,Rr as D,Lr as E,Ho as F,fn as G,zr as H,ei as I};
|
|
9
|
+
//# sourceMappingURL=chunk-2UQU7HRR.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{c as a}from"./chunk-AA52P34H.js";import{A as s,C as l}from"./chunk-YYT3MIRF.js";import{execFile as u}from"node:child_process";import{promisify as g}from"node:util";var p=g(u);async function b(m,r){if(r.length===0)return[];let i;try{let e=p("git",["check-ignore","--verbose","-z","--stdin"],{cwd:m,env:a(),timeout:1e4}),t=e.child.stdin;t!==null&&(t.on("error",()=>{e.child.kill()}),t.end(`${r.join("\0")}\0`)),{stdout:i}=await e}catch(e){if(typeof e=="object"&&e!==null&&"code"in e&&e.code===1)return[];throw new l("Git could not verify ignore rules for merge artifacts; no automatic settlement is safe until that check succeeds.",s.CONFLICT,{code:"merge_settlement_review_required",reason:"ignore_check_unavailable",nextSteps:["Check Git configuration and ignore-file readability, then retry pm merge reconcile --stage --dry-run."]})}let n=i.split("\0"),o=[];for(let e=0;e+3<n.length;e+=4){let[t,d,c,f]=n.slice(e,e+4);c.startsWith("!")||o.push({path:f,source:t,line:Number(d),pattern:c})}return o}export{b as a};
|
|
2
|
+
//# sourceMappingURL=chunk-5DUP4AZA.js.map
|