@unbrained/pm-cli 2026.8.16 → 2026.8.17

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.
Files changed (155) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +30 -3
  3. package/README.md +13 -13
  4. package/dist/cli/public.d.ts +2 -0
  5. package/dist/cli/public.js +21 -0
  6. package/dist/cli/register-mutation.js +4 -4
  7. package/dist/cli-bundle/bundle-manifest.json +151 -151
  8. package/dist/cli-bundle/chunks/{chunk-I2LUWWR5.js → chunk-2QLOXC3V.js} +2 -2
  9. package/dist/cli-bundle/chunks/{chunk-URW4QRMI.js → chunk-3UEGXBMR.js} +22 -22
  10. package/dist/cli-bundle/chunks/chunk-4JPYF536.js +35 -0
  11. package/dist/cli-bundle/chunks/chunk-6VDLG2FC.js +13 -0
  12. package/dist/cli-bundle/chunks/chunk-7IBRGCHX.js +2 -0
  13. package/dist/cli-bundle/chunks/chunk-HBJAS566.js +8 -0
  14. package/dist/cli-bundle/chunks/chunk-ION3E43Q.js +197 -0
  15. package/dist/cli-bundle/chunks/{chunk-73UGEBRS.js → chunk-JOKATURE.js} +4 -4
  16. package/dist/cli-bundle/chunks/{chunk-RIS565OA.js → chunk-TPXZIBIV.js} +5 -5
  17. package/dist/cli-bundle/chunks/chunk-YM2YAMF7.js +2 -0
  18. package/dist/cli-bundle/chunks/{register-list-query-EYCXHZAG.js → register-list-query-Q7KII4G5.js} +2 -2
  19. package/dist/cli-bundle/chunks/register-mutation-4WBRPXLV.js +20 -0
  20. package/dist/cli-bundle/chunks/{register-operations-KGDNRMCL.js → register-operations-SSENDH5B.js} +2 -2
  21. package/dist/cli-bundle/chunks/{register-setup-NVXBOD5I.js → register-setup-DOSFBGKE.js} +2 -2
  22. package/dist/cli-bundle/focused-chunks/{chunk-TZATVC4G.js → chunk-267MUUS6.js} +11 -11
  23. package/dist/cli-bundle/focused-chunks/chunk-2NNFLLNG.js +2 -0
  24. package/dist/cli-bundle/focused-chunks/{chunk-HAACPSUW.js → chunk-2QSAKMIH.js} +2 -2
  25. package/dist/cli-bundle/focused-chunks/{chunk-6ROKKT4X.js → chunk-ATEY76SX.js} +2 -2
  26. package/dist/cli-bundle/focused-chunks/chunk-BUCG4ZI2.js +2 -0
  27. package/dist/cli-bundle/focused-chunks/{chunk-SSNDYZTM.js → chunk-CYFK5UPB.js} +2 -2
  28. package/dist/cli-bundle/focused-chunks/chunk-EHXIKD6K.js +2 -0
  29. package/dist/cli-bundle/focused-chunks/{chunk-J4UFYHOD.js → chunk-KGEXTMPG.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/chunk-KP2VQQVQ.js +2 -0
  31. package/dist/cli-bundle/focused-chunks/chunk-MHPIL773.js +2 -0
  32. package/dist/cli-bundle/focused-chunks/chunk-POEEAD2V.js +4 -0
  33. package/dist/cli-bundle/focused-chunks/{chunk-T46KLOIB.js → chunk-SALH6B6K.js} +47 -47
  34. package/dist/cli-bundle/focused-chunks/{chunk-CODV5LUT.js → chunk-SYZENPIT.js} +3 -3
  35. package/dist/cli-bundle/focused-chunks/{chunk-4JPEBFFC.js → chunk-XKAMP5OU.js} +2 -2
  36. package/dist/cli-bundle/focused-chunks/{chunk-NJ5RLEFD.js → chunk-XPIC53VA.js} +2 -2
  37. package/dist/cli-bundle/focused-chunks/{chunk-C7JUBRFP.js → chunk-ZQPGZZWQ.js} +2 -2
  38. package/dist/cli-bundle/focused-chunks/chunk-ZT2DJS27.js +155 -0
  39. package/dist/cli-bundle/main.js +2 -2
  40. package/dist/cli-bundle/sdk-authoring.js +1 -1
  41. package/dist/cli-bundle/sdk-contracts.js +1 -1
  42. package/dist/cli-bundle/sdk-core.js +31 -31
  43. package/dist/cli-bundle/sdk-governance.js +1 -1
  44. package/dist/cli-bundle/sdk-graph.js +1 -1
  45. package/dist/cli-bundle/sdk-merge.js +32 -32
  46. package/dist/cli-bundle/sdk-query.js +1 -1
  47. package/dist/cli-bundle/sdk-runtime.js +1 -1
  48. package/dist/cli-bundle/sdk-testing.js +1 -1
  49. package/dist/cli-bundle/sdk.js +4 -2
  50. package/dist/core/extensions/loader.js +10 -6
  51. package/dist/core/extensions/manifest-schema.d.ts +20 -0
  52. package/dist/core/extensions/manifest-schema.js +52 -0
  53. package/dist/core/history/replay.js +32 -14
  54. package/dist/core/schema/fields-file.d.ts +1 -1
  55. package/dist/core/schema/fields-file.js +2 -2
  56. package/dist/core/schema/runtime-field-values.js +115 -9
  57. package/dist/core/schema/runtime-schema.d.ts +3 -1
  58. package/dist/core/schema/runtime-schema.js +124 -3
  59. package/dist/core/shared/errors.d.ts +10 -0
  60. package/dist/core/shared/errors.js +2 -2
  61. package/dist/core/shared/time.d.ts +2 -0
  62. package/dist/core/shared/time.js +27 -2
  63. package/dist/sdk/agent/refusal-reachability.d.ts +46 -6
  64. package/dist/sdk/agent/refusal-reachability.js +350 -8
  65. package/dist/sdk/cli-contracts/tool-parameter-tables.js +5 -4
  66. package/dist/sdk/compose.d.ts +6 -2
  67. package/dist/sdk/compose.js +33 -3
  68. package/dist/sdk/context-intent-contracts.d.ts +8 -4
  69. package/dist/sdk/context-intent-contracts.js +76 -31
  70. package/dist/sdk/dependency-flag-validation.d.ts +9 -2
  71. package/dist/sdk/dependency-flag-validation.js +101 -35
  72. package/dist/sdk/environment/host-environment-errors.js +25 -7
  73. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +26 -2
  74. package/dist/sdk/generated/generated-error-code-catalog-part-2.js +14 -2
  75. package/dist/sdk/governance/assurance-action.d.ts +3 -7
  76. package/dist/sdk/governance/assurance-action.js +97 -2
  77. package/dist/sdk/governance/boundary-fixtures.d.ts +86 -0
  78. package/dist/sdk/governance/boundary-fixtures.js +201 -0
  79. package/dist/sdk/governance/defect-recurrence-signals.d.ts +10 -0
  80. package/dist/sdk/governance/defect-recurrence-signals.js +25 -0
  81. package/dist/sdk/governance/defect-recurrence.d.ts +242 -0
  82. package/dist/sdk/governance/defect-recurrence.js +523 -0
  83. package/dist/sdk/governance.d.ts +2 -0
  84. package/dist/sdk/governance.js +4 -2
  85. package/dist/sdk/graph/governance.js +3 -2
  86. package/dist/sdk/guide-topics.js +191 -2
  87. package/dist/sdk/index.d.ts +3 -0
  88. package/dist/sdk/index.js +4 -2
  89. package/dist/sdk/lifecycle/create.js +4 -2
  90. package/dist/sdk/lifecycle/update-many.js +15 -2
  91. package/dist/sdk/lifecycle/update.js +5 -2
  92. package/dist/sdk/linked-artifacts.js +63 -14
  93. package/dist/sdk/query/get.d.ts +2 -0
  94. package/dist/sdk/query/get.js +32 -7
  95. package/dist/sdk/relationship-analytics.js +90 -14
  96. package/dist/sdk/relationship-kinds/contract.d.ts +4 -0
  97. package/dist/sdk/relationship-kinds/contract.js +3 -2
  98. package/dist/sdk/relationships.d.ts +1 -1
  99. package/dist/sdk/relationships.js +11 -2
  100. package/dist/sdk/schema.d.ts +1 -0
  101. package/dist/sdk/schema.js +2 -2
  102. package/dist/sdk/test/execution.d.ts +6 -2
  103. package/dist/sdk/test/execution.js +39 -13
  104. package/dist/types.d.ts +29 -2
  105. package/dist/types.js +4 -2
  106. package/docs/CONFIGURATION.md +58 -1
  107. package/docs/CONTEXT_INTEGRITY_CONTRACTS.md +58 -0
  108. package/docs/DEFECT_RECURRENCE.md +134 -0
  109. package/docs/DEPENDENCY_KIND_CONTRACT.md +12 -2
  110. package/docs/README.md +2 -0
  111. package/docs/RELATIONSHIP_GRAPH.md +16 -2
  112. package/docs/SDK.md +38 -5
  113. package/docs/SDK_RUNTIME_BOUNDARIES.md +9 -1
  114. package/docs/TESTING.md +18 -1
  115. package/docs/TRUSTWORTHY_CONTEXT_EVIDENCE.md +1 -1
  116. package/marketplace.json +2 -2
  117. package/package.json +6 -4
  118. package/packages/pm-beads/package.json +1 -1
  119. package/packages/pm-calendar/package.json +1 -1
  120. package/packages/pm-command-kit/package.json +1 -1
  121. package/packages/pm-digital-twin/package.json +1 -1
  122. package/packages/pm-governance-audit/package.json +1 -1
  123. package/packages/pm-guide-shell/package.json +1 -1
  124. package/packages/pm-kanban/package.json +1 -1
  125. package/packages/pm-lifecycle-hooks/package.json +1 -1
  126. package/packages/pm-linked-test-adapters/package.json +1 -1
  127. package/packages/pm-search-advanced/package.json +1 -1
  128. package/packages/pm-templates/package.json +1 -1
  129. package/packages/pm-todos/package.json +1 -1
  130. package/packages/pm-vcs/package.json +1 -1
  131. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  132. package/plugins/pm-claude/skills/pm-audit/SKILL.md +26 -0
  133. package/plugins/pm-claude/skills/pm-developer/SKILL.md +26 -0
  134. package/plugins/pm-claude/skills/pm-planner/SKILL.md +26 -0
  135. package/plugins/pm-claude/skills/pm-release/SKILL.md +26 -0
  136. package/plugins/pm-claude/skills/pm-workflow/SKILL.md +26 -0
  137. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  138. package/plugins/pm-codex/skills/pm-auditor/SKILL.md +26 -0
  139. package/plugins/pm-codex/skills/pm-native/SKILL.md +26 -0
  140. package/plugins/pm-codex/skills/pm-release/SKILL.md +26 -0
  141. package/sdk/public-surface.json +588 -20
  142. package/dist/cli-bundle/chunks/chunk-47OQEOQB.js +0 -2
  143. package/dist/cli-bundle/chunks/chunk-HCIYWD6M.js +0 -35
  144. package/dist/cli-bundle/chunks/chunk-IC5W2T34.js +0 -2
  145. package/dist/cli-bundle/chunks/chunk-PANOOBIS.js +0 -13
  146. package/dist/cli-bundle/chunks/chunk-TK6N7HGM.js +0 -8
  147. package/dist/cli-bundle/chunks/chunk-TOFG2URD.js +0 -197
  148. package/dist/cli-bundle/chunks/register-mutation-7YVIG54J.js +0 -20
  149. package/dist/cli-bundle/focused-chunks/chunk-5NMFSX26.js +0 -155
  150. package/dist/cli-bundle/focused-chunks/chunk-725JSCMP.js +0 -2
  151. package/dist/cli-bundle/focused-chunks/chunk-DQ6SMTBF.js +0 -2
  152. package/dist/cli-bundle/focused-chunks/chunk-JX5Z344Q.js +0 -2
  153. package/dist/cli-bundle/focused-chunks/chunk-L4RDYBIQ.js +0 -2
  154. package/dist/cli-bundle/focused-chunks/chunk-QYZERYR5.js +0 -4
  155. package/dist/cli-bundle/focused-chunks/chunk-WY3WRPVN.js +0 -2
@@ -1,2 +1,2 @@
1
- import{$ as we,$a as Qe,B as J,C as K,D as Q,E as Y,Ea as n,F as Z,Fa as f,G as $,Ga as d,H as ee,Ha as p,I as oe,Ia as s,J as te,Ja as x,K as re,Ka as a,L as ne,La as m,M as fe,Ma as i,N as de,Na as l,O as pe,Oa as u,P as se,Pa as c,Q as xe,Qa as b,R as ae,Ra as y,S as me,Sa as g,T as ie,Ta as C,U as le,Ua as w,V as ue,Va as I,W as ce,Wa as ze,X as be,Xa as Ge,Y as ye,Ya as He,Z as ge,Za as Je,_ as Ce,_a as Ke,aa as Ie,ab as Ye,ba as Te,bb as Ze,ca as he,cb as $e,da as ke,db as eo,ea as _e,eb as oo,fa as De,fb as to,ga as Se,gb as ro,ha as ve,hb as no,ia as Fe,ib as fo,j as V,ja as Ee,jb as po,k as W,ka as Pe,kb as so,l as X,la as Oe,lb as xo,ma as Re,mb as ao,na as Ue,nb as mo,oa as je,ob as io,pa as Ae,pb as lo,qa as Be,qb as uo,r,ra as Le,rb as co,sa as Me,sb as bo,t as q,ta as Ne,u as z,ua as Ve,v as G,va as We,w as H,wa as Xe,xa as qe}from"./focused-chunks/chunk-TZATVC4G.js";import{F as N}from"./focused-chunks/chunk-C7JUBRFP.js";import"./focused-chunks/chunk-4JPEBFFC.js";import"./focused-chunks/chunk-HAACPSUW.js";import"./focused-chunks/chunk-6ROKKT4X.js";import{Ma as O,gb as R,hb as U,ib as j,jb as A,lb as B,mb as L,nb as M,qa as P}from"./focused-chunks/chunk-5NMFSX26.js";import"./focused-chunks/chunk-QYZERYR5.js";import"./focused-chunks/chunk-L4RDYBIQ.js";import{Ka as T,La as h,Ma as k,Na as _,Oa as D,Pa as S,Qa as v,Ra as F,Sa as E}from"./focused-chunks/chunk-725JSCMP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();export{$ as BRIEF_LIST_FIELDS,ge as CONTEXT_EVALUATION_METRIC_NAMES,n as CONTEXT_OUTPUT_VALUES,he as CONTEXT_PACKING_PROFILES,ue as CONTEXT_RELEVANCE_SERVICE,ie as CONTEXT_RELEVANCE_SIGNAL_NAMES,Pe as CONTEXT_SIGNAL_SET_VERSION,Ee as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Oe as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,Ae as ContextSignalStore,_e as ContextUsageValidationError,$e as DEFAULT_CHILD_SAMPLE_LIMIT,Z as DEFAULT_COMPACT_LIST_FIELDS,A as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Le as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,je as JsonFileContextSignalStoreAdapter,ee as LIST_COMMAND_DEFAULT_PROJECTIONS,Q as LIST_SORT_FIELDS,Y as LIST_SORT_ORDER_VALUES,Ze as MAX_CHILD_PROJECTION_ITEMS,ze as NEXT_OUTPUT_VALUES,E as QUERY_CURSOR_CONTRACT,fe as _testOnly,pe as _testOnlyAggregateCommand,to as _testOnlyGetCommand,He as _testOnlyNextCommand,uo as _testOnlySearchCommand,B as acquireItemMetadataDerivedIndexLock,w as applyContextTagProjection,oe as applyFilterValueEcho,b as buildChildrenByParent,ro as buildCompactSearchFilterSummary,te as buildContentFilterEcho,Ue as buildContextSignalSnapshot,re as buildGovernanceMissingFilterEcho,eo as buildItemChildrenRollup,le as buildItemContextRelevanceCandidates,no as buildVerboseSearchFilters,Me as buildWorkspaceMemorySnapshot,lo as classifyImplicitSemanticFallbackReason,io as collectErrorCauseCodes,m as collectSubtreeIds,i as compareCriticalItems,h as createQueryFingerprint,fo as createSearchCursorFingerprint,S as decodeQueryCursor,_ as decodeQueryCursorEnvelope,D as decodeQueryCursorState,ce as defaultScoreContextCandidates,k as encodeQueryCursor,Ce as evaluateContextRanking,g as mergeSortedWarnings,ke as packContextCandidates,l as packRankedContextItems,F as paginateQueryRows,x as parseContextDepth,f as parseContextFocusFields,a as parseContextSections,Re as parseContextSignalSnapshot,V as parseIntegerLimit,N as parseLimit,q as parseMultiValueFilter,W as parsePriority,H as parsePriorityFilterSet,z as parseStringFilterSet,X as parseType,G as parseTypeFilterSet,Je as partitionDecisionEntries,d as projectContextFocusRows,R as queryItemMetadataIndex,U as queryLinkedFileMetadataIndex,j as querySimilarItemMetadataIndex,Fe as readContextUsageAffinity,P as readHistoryEntries,L as readItemMetadataDerivedIndexState,Be as readWorkspaceContextSignals,Ne as readWorkspaceMemory,De as recordContextUsageServing,Se as recordContextUsageTouch,ve as recordContextUsageTouches,M as refreshItemMetadataDerivedIndex,xe as renderCalendarMarkdown,ae as renderCalendarToon,C as renderContextMarkdown,Qe as renderNextMarkdown,se as resolveCalendarOutputFormat,K as resolveContentFieldFilters,p as resolveContextOutputFormat,s as resolveContextTokenBudget,ao as resolveHybridSemanticWeight,J as resolveMissingMetadataFilters,Ge as resolveNextOutputFormat,v as resolveQueryCursorStart,so as resolveSearchMaxResults,po as resolveSearchPage,xo as resolveSearchScoreThreshold,mo as resolveSearchTuning,r as runActivity,de as runAggregate,me as runCalendar,I as runContext,Te as runContextEvaluationCorpus,we as runContextEvaluationScenario,bo as runDuplicates,oo as runGet,Ye as runHistory,ne as runList,Ke as runNext,co as runSearch,be as scoreContextCandidates,ye as scoreContextCandidatesWithActiveExtensions,Xe as searchWorkspaceMemory,qe as searchWorkspaceMemoryReadResult,T as selectCursorSemanticOptions,We as selectWorkspaceMemory,Ve as selectWorkspaceMemoryRollups,Ie as summarizeContextEvaluationReports,y as toContextFocusItem,u as toContextPackingSummary,c as toContextRankingSummary,O as verifyHistoryChain};
1
+ import{$ as we,$a as Qe,B as J,C as K,D as Q,E as Y,Ea as n,F as Z,Fa as f,G as $,Ga as d,H as ee,Ha as p,I as oe,Ia as s,J as te,Ja as x,K as re,Ka as a,L as ne,La as m,M as fe,Ma as i,N as de,Na as l,O as pe,Oa as u,P as se,Pa as c,Q as xe,Qa as b,R as ae,Ra as y,S as me,Sa as g,T as ie,Ta as C,U as le,Ua as w,V as ue,Va as I,W as ce,Wa as ze,X as be,Xa as Ge,Y as ye,Ya as He,Z as ge,Za as Je,_ as Ce,_a as Ke,aa as Ie,ab as Ye,ba as Te,bb as Ze,ca as he,cb as $e,da as ke,db as eo,ea as _e,eb as oo,fa as De,fb as to,ga as Se,gb as ro,ha as ve,hb as no,ia as Fe,ib as fo,j as V,ja as Ee,jb as po,k as W,ka as Pe,kb as so,l as X,la as Oe,lb as xo,ma as Re,mb as ao,na as Ue,nb as mo,oa as je,ob as io,pa as Ae,pb as lo,qa as Be,qb as uo,r,ra as Le,rb as co,sa as Me,sb as bo,t as q,ta as Ne,u as z,ua as Ve,v as G,va as We,w as H,wa as Xe,xa as qe}from"./focused-chunks/chunk-267MUUS6.js";import{F as N}from"./focused-chunks/chunk-ZQPGZZWQ.js";import"./focused-chunks/chunk-XKAMP5OU.js";import"./focused-chunks/chunk-2QSAKMIH.js";import"./focused-chunks/chunk-ATEY76SX.js";import{Na as O,hb as R,ib as U,jb as j,kb as A,mb as B,nb as L,ob as M,ra as P}from"./focused-chunks/chunk-ZT2DJS27.js";import"./focused-chunks/chunk-POEEAD2V.js";import"./focused-chunks/chunk-KP2VQQVQ.js";import{Ka as T,La as h,Ma as k,Na as _,Oa as D,Pa as S,Qa as v,Ra as F,Sa as E}from"./focused-chunks/chunk-EHXIKD6K.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();export{$ as BRIEF_LIST_FIELDS,ge as CONTEXT_EVALUATION_METRIC_NAMES,n as CONTEXT_OUTPUT_VALUES,he as CONTEXT_PACKING_PROFILES,ue as CONTEXT_RELEVANCE_SERVICE,ie as CONTEXT_RELEVANCE_SIGNAL_NAMES,Pe as CONTEXT_SIGNAL_SET_VERSION,Ee as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Oe as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,Ae as ContextSignalStore,_e as ContextUsageValidationError,$e as DEFAULT_CHILD_SAMPLE_LIMIT,Z as DEFAULT_COMPACT_LIST_FIELDS,A as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Le as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,je as JsonFileContextSignalStoreAdapter,ee as LIST_COMMAND_DEFAULT_PROJECTIONS,Q as LIST_SORT_FIELDS,Y as LIST_SORT_ORDER_VALUES,Ze as MAX_CHILD_PROJECTION_ITEMS,ze as NEXT_OUTPUT_VALUES,E as QUERY_CURSOR_CONTRACT,fe as _testOnly,pe as _testOnlyAggregateCommand,to as _testOnlyGetCommand,He as _testOnlyNextCommand,uo as _testOnlySearchCommand,B as acquireItemMetadataDerivedIndexLock,w as applyContextTagProjection,oe as applyFilterValueEcho,b as buildChildrenByParent,ro as buildCompactSearchFilterSummary,te as buildContentFilterEcho,Ue as buildContextSignalSnapshot,re as buildGovernanceMissingFilterEcho,eo as buildItemChildrenRollup,le as buildItemContextRelevanceCandidates,no as buildVerboseSearchFilters,Me as buildWorkspaceMemorySnapshot,lo as classifyImplicitSemanticFallbackReason,io as collectErrorCauseCodes,m as collectSubtreeIds,i as compareCriticalItems,h as createQueryFingerprint,fo as createSearchCursorFingerprint,S as decodeQueryCursor,_ as decodeQueryCursorEnvelope,D as decodeQueryCursorState,ce as defaultScoreContextCandidates,k as encodeQueryCursor,Ce as evaluateContextRanking,g as mergeSortedWarnings,ke as packContextCandidates,l as packRankedContextItems,F as paginateQueryRows,x as parseContextDepth,f as parseContextFocusFields,a as parseContextSections,Re as parseContextSignalSnapshot,V as parseIntegerLimit,N as parseLimit,q as parseMultiValueFilter,W as parsePriority,H as parsePriorityFilterSet,z as parseStringFilterSet,X as parseType,G as parseTypeFilterSet,Je as partitionDecisionEntries,d as projectContextFocusRows,R as queryItemMetadataIndex,U as queryLinkedFileMetadataIndex,j as querySimilarItemMetadataIndex,Fe as readContextUsageAffinity,P as readHistoryEntries,L as readItemMetadataDerivedIndexState,Be as readWorkspaceContextSignals,Ne as readWorkspaceMemory,De as recordContextUsageServing,Se as recordContextUsageTouch,ve as recordContextUsageTouches,M as refreshItemMetadataDerivedIndex,xe as renderCalendarMarkdown,ae as renderCalendarToon,C as renderContextMarkdown,Qe as renderNextMarkdown,se as resolveCalendarOutputFormat,K as resolveContentFieldFilters,p as resolveContextOutputFormat,s as resolveContextTokenBudget,ao as resolveHybridSemanticWeight,J as resolveMissingMetadataFilters,Ge as resolveNextOutputFormat,v as resolveQueryCursorStart,so as resolveSearchMaxResults,po as resolveSearchPage,xo as resolveSearchScoreThreshold,mo as resolveSearchTuning,r as runActivity,de as runAggregate,me as runCalendar,I as runContext,Te as runContextEvaluationCorpus,we as runContextEvaluationScenario,bo as runDuplicates,oo as runGet,Ye as runHistory,ne as runList,Ke as runNext,co as runSearch,be as scoreContextCandidates,ye as scoreContextCandidatesWithActiveExtensions,Xe as searchWorkspaceMemory,qe as searchWorkspaceMemoryReadResult,T as selectCursorSemanticOptions,We as selectWorkspaceMemory,Ve as selectWorkspaceMemoryRollups,Ie as summarizeContextEvaluationReports,y as toContextFocusItem,u as toContextPackingSummary,c as toContextRankingSummary,O as verifyHistoryChain};
2
2
  //# sourceMappingURL=sdk-query.js.map
@@ -1,2 +1,2 @@
1
- import{$a as tb,$b as tc,Aa as Pa,Ab as Ub,Ac as Uc,Ba as Qa,Bb as Vb,Bc as Vc,Ca as Ra,Cb as Wb,Cc as Wc,Da as Sa,Db as Xb,Ea as Ta,Eb as Yb,Fa as Ua,Fb as Zb,G as Ba,Ga as Va,Gb as _b,H as Ca,Ha as Wa,Hb as $b,I as Da,Ia as Xa,Ib as ac,Ja as Ya,Jb as bc,Ka as Za,Kb as cc,La as _a,Lb as dc,Ma as $a,Mb as ec,Na as ab,Nb as fc,Oa as bb,Ob as gc,Pa as cb,Pb as hc,Qa as db,Qb as ic,Ra as eb,Rb as jc,Sa as fb,Sb as kc,Ta as gb,Tb as lc,Ua as hb,Ub as mc,Va as ib,Vb as nc,Wa as jb,Wb as oc,Xa as kb,Xb as pc,Ya as lb,Yb as qc,Za as rb,Zb as rc,_a as sb,_b as sc,a as aa,ab as ub,ac as uc,b as ba,bb as vb,bc as vc,c as ca,cb as wb,cc as wc,db as xb,dc as xc,eb as yb,ec as yc,fb as zb,fc as zc,ga as Ga,gb as Ab,gc as Ac,ha as Ha,hb as Bb,hc as Bc,ia as Ia,ib as Cb,ic as Cc,ja as Ja,jb as Db,jc as Dc,kb as Eb,kc as Ec,lb as Fb,lc as Fc,mb as Gb,mc as Gc,n as ha,nb as Hb,nc as Hc,o as ia,ob as Ib,oc as Ic,pb as Jb,pc as Jc,qb as Kb,qc as Kc,rb as Lb,rc as Lc,sb as Mb,sc as Mc,tb as Nb,tc as Nc,ub as Ob,uc as Oc,vb as Pb,vc as Pc,w as za,wb as Qb,wc as Qc,xa as Ma,xb as Rb,xc as Rc,ya as Na,yb as Sb,yc as Sc,za as Oa,zb as Tb,zc as Tc}from"./chunks/chunk-URW4QRMI.js";import"./chunks/chunk-I2LUWWR5.js";import{A as Fa,b as ka,j as Ea}from"./chunks/chunk-RIS565OA.js";import{Zb as Aa,ad as Ka,bd as La,lb as ta,mb as ua,nb as va,nd as mb,od as nb,pb as wa,pd as ob,qb as xa,qd as pb,rb as ya,rd as qb}from"./chunks/chunk-HCIYWD6M.js";import{c as da,d as ea,f as fa,g as ga}from"./chunks/chunk-73UGEBRS.js";import{Ub as pa,ab as ja,bb as la,cb as ma,db as na,eb as oa,jc as qa,kc as ra,oc as sa}from"./chunks/chunk-PANOOBIS.js";import{$c as z,Ag as S,Ai as $,Bc as w,Bh as U,C as e,Ch as V,Dc as x,Dh as W,E as f,Eh as X,Ja as p,Pa as q,Pf as M,Q as g,Qf as N,R as h,Ra as r,Ua as s,Va as t,Xa as u,Zc as y,c as a,ed as A,f as b,fd as B,g as c,ga as i,gd as C,gg as O,h as d,ha as j,hd as D,ia as k,id as E,jd as F,kd as G,ma as l,md as H,mh as T,oa as m,od as I,pa as n,pd as J,qa as o,rd as K,sc as v,sd as L,sg as P,tg as Q,ug as R,wi as Y,xi as Z,yi as _}from"./chunks/chunk-TOFG2URD.js";export{A as BASELINE_ITEM_FORMAT_VERSION,i as BUILTIN_ITEM_TYPE_VALUES,o as CONFIDENCE_TEXT_VALUES,pa as CONTEXT_OUTPUT_VALUES,B as CURRENT_ITEM_FORMAT_VERSION,ta as DEFAULT_TERMINAL_TRANSITION_POLICY,l as DEPENDENCY_KIND_VALUES,e as EXIT_CODE,n as ISSUE_SEVERITY_VALUES,j as ITEM_TYPE_VALUES,ra as NEXT_OUTPUT_VALUES,aa as PM_CLI_EXPECTED_ERROR_NAME,ea as PM_GITIGNORE_END,da as PM_GITIGNORE_START,f as PmCliError,rb as PmClient,m as RISK_VALUES,ha as SEARCH_EXTENSION_FLAG_DEFINITIONS,k as STATUS_VALUES,O as acquireLock,xb as aggregate,Wc as analyzeSdkActionCoverage,Jb as append,N as appendHistoryEntry,wa as applyTerminalOrderingPolicy,L as canonicalDocument,rc as claim,sc as claimNext,E as classifyItemFormatVersion,ia as clearWorkspaceContractsCache,qc as close,xa as closeItem,Ac as closeTask,Ab as comments,gb as commitImportedItem,Lb as config,sb as context,uc as copy,oc as create,M as createHistoryEntry,ba as createPmCliExpectedError,vc as deleteItem,Hb as deps,Gb as docs,zb as duplicates,C as effectiveItemFormatVersion,fb as emptyImportedDocument,ga as ensurePmGitignore,eb as ensureTrackerInitialized,Bc as extension,Dc as extensionActivate,Ec as extensionDeactivate,Cc as extensionList,Db as files,Eb as filesDiscover,Fb as filesLookup,xc as focus,ic as gc,R as generateItemId,vb as get,v as getActiveExtensionRegistrations,Sc as getContracts,u as getHistoryPath,t as getItemPath,fa as getPmGitignoreBlock,s as getSettingsPath,Rc as getWorkspaceContracts,Ib as graph,hc as health,mc as historyCompact,nc as historyCompactBulk,jc as historyRedact,kc as historyRepair,lc as historyRepairAll,Kb as init,ca as isPmCliExpectedError,H as isTerminalStatus,h as isTimestampLiteral,Y as jaccardSimilarity,Cb as learnings,tb as list,W as listAllItemMetadata,X as listAllItemMetadataLight,Ga as loadCreateTemplateOptions,U as locateItem,wb as next,D as normalizeItemFormatVersion,Q as normalizeItemId,I as normalizeItemMetadata,P as normalizeRawItemId,Z as normalizeSimilarityText,G as normalizeStatusInput,Bb as notes,g as nowIso,Oc as packageActivate,Nc as packageCatalog,Pc as packageDeactivate,Lc as packageDescribe,Jc as packageDoctor,Hc as packageInstall,Fc as packageLifecycle,Gc as packageList,Kc as packageManage,Mc as packageReload,Ic as packageUninstall,S as parseTags,a as pathExists,zc as pauseTask,bc as profile,ec as profileApply,fc as profileLint,cc as profileList,dc as profileShow,Na as readBooleanOption,Oa as readCsvListOption,b as readFileIfExists,V as readLocatedItem,Tc as readRequiredString,T as readSettings,Ma as readStringOption,tc as release,d as removeFileIfExists,ma as renderCalendarMarkdown,na as renderCalendarToon,jb as renderGuideMarkdown,va as requireTerminalReason,la as resolveCalendarOutputFormat,hb as resolveGuideOutputFormat,q as resolveImplicitPmRoot,p as resolveItemTypeRegistry,r as resolvePmRoot,z as resolveRuntimeFieldRegistry,y as resolveRuntimeStatusRegistry,ua as resolveTerminalReason,wc as restore,Vc as runAction,x as runActiveOnReadHooks,w as runActiveOnWriteHooks,ka as runAggregate,oa as runCalendar,ya as runClose,kb as runCompletion,qa as runContext,Ba as runCopy,Ca as runDelete,La as runDuplicates,Da as runFocus,Ea as runGet,ib as runGuide,ja as runList,sa as runNext,lb as runReindex,za as runRestore,Fa as runSearch,Ka as runStats,Ia as runTemplatesList,Ha as runTemplatesSave,Ja as runTemplatesShow,mb as runTestRunsList,ob as runTestRunsLogs,qb as runTestRunsResume,nb as runTestRunsStatus,pb as runTestRunsStop,Aa as runUpdate,Uc as runWithActiveExtensions,F as scanItemFormatVersions,Mb as schema,Tb as schemaAddField,Rb as schemaAddStatus,Pb as schemaAddType,Xb as schemaApplyPreset,Yb as schemaInferTypes,Nb as schemaList,Vb as schemaListFields,$b as schemaRemapStatus,Ub as schemaRemoveField,Sb as schemaRemoveStatus,Qb as schemaRemoveType,_b as schemaRenameField,Zb as schemaRenameType,Ob as schemaShow,Wb as schemaShowField,ac as schemaShowStatus,$ as scoreItemSimilarity,ub as search,db as selectImportAuthor,K as serializeItemDocument,J as splitFrontMatter,yc as startTask,yb as stats,Qa as toEstimatedMinutesValue,Va as toImportBoolean,Za as toImportConfidence,Ua as toImportInteger,bb as toImportLinkedDocs,ab as toImportLinkedFiles,cb as toImportLinkedTests,$a as toImportLogEntries,_a as toImportNormalizedEnum,Ya as toImportNumberMap,Ra as toImportPriority,Ta as toImportStatus,Wa as toImportStringList,Xa as toImportStringMap,Sa as toImportTags,Pa as toNonEmptyImportString,_ as tokenizeSimilarityText,pc as update,Qc as upgrade,gc as validate,c as writeFileAtomic};
1
+ import{$a as tb,$b as tc,Aa as Pa,Ab as Ub,Ac as Uc,Ba as Qa,Bb as Vb,Bc as Vc,Ca as Ra,Cb as Wb,Cc as Wc,Da as Sa,Db as Xb,Ea as Ta,Eb as Yb,Fa as Ua,Fb as Zb,G as Ba,Ga as Va,Gb as _b,H as Ca,Ha as Wa,Hb as $b,I as Da,Ia as Xa,Ib as ac,Ja as Ya,Jb as bc,Ka as Za,Kb as cc,La as _a,Lb as dc,Ma as $a,Mb as ec,Na as ab,Nb as fc,Oa as bb,Ob as gc,Pa as cb,Pb as hc,Qa as db,Qb as ic,Ra as eb,Rb as jc,Sa as fb,Sb as kc,Ta as gb,Tb as lc,Ua as hb,Ub as mc,Va as ib,Vb as nc,Wa as jb,Wb as oc,Xa as kb,Xb as pc,Ya as lb,Yb as qc,Za as rb,Zb as rc,_a as sb,_b as sc,a as aa,ab as ub,ac as uc,b as ba,bb as vb,bc as vc,c as ca,cb as wb,cc as wc,db as xb,dc as xc,eb as yb,ec as yc,fb as zb,fc as zc,ga as Ga,gb as Ab,gc as Ac,ha as Ha,hb as Bb,hc as Bc,ia as Ia,ib as Cb,ic as Cc,ja as Ja,jb as Db,jc as Dc,kb as Eb,kc as Ec,lb as Fb,lc as Fc,mb as Gb,mc as Gc,n as ha,nb as Hb,nc as Hc,o as ia,ob as Ib,oc as Ic,pb as Jb,pc as Jc,qb as Kb,qc as Kc,rb as Lb,rc as Lc,sb as Mb,sc as Mc,tb as Nb,tc as Nc,ub as Ob,uc as Oc,vb as Pb,vc as Pc,w as za,wb as Qb,wc as Qc,xa as Ma,xb as Rb,xc as Rc,ya as Na,yb as Sb,yc as Sc,za as Oa,zb as Tb,zc as Tc}from"./chunks/chunk-3UEGXBMR.js";import"./chunks/chunk-2QLOXC3V.js";import{A as Fa,b as ka,j as Ea}from"./chunks/chunk-TPXZIBIV.js";import{ec as Aa,hd as Ka,id as La,sb as ta,tb as ua,ub as va,ud as mb,vd as nb,wb as wa,wd as ob,xb as xa,xd as pb,yb as ya,yd as qb}from"./chunks/chunk-4JPYF536.js";import{c as da,d as ea,f as fa,g as ga}from"./chunks/chunk-JOKATURE.js";import{Ub as pa,ab as ja,bb as la,cb as ma,db as na,eb as oa,jc as qa,kc as ra,oc as sa}from"./chunks/chunk-6VDLG2FC.js";import{$c as y,Ai as _,C as e,Cg as S,Ci as $,Dc as w,Dh as U,E as f,Eh as V,Fc as x,Fh as W,Gh as X,Ka as p,Q as g,Qa as q,R as h,Rf as M,Sa as r,Sf as N,Va as s,Wa as t,Ya as u,bd as z,c as a,f as b,g as c,gd as A,h as d,ha as i,hd as B,ia as j,id as C,ig as O,ja as k,jd as D,kd as E,ld as F,md as G,na as l,od as H,oh as T,pa as m,qa as n,qd as I,ra as o,rd as J,td as K,uc as v,ud as L,ug as P,vg as Q,wg as R,yi as Y,zi as Z}from"./chunks/chunk-ION3E43Q.js";export{A as BASELINE_ITEM_FORMAT_VERSION,i as BUILTIN_ITEM_TYPE_VALUES,o as CONFIDENCE_TEXT_VALUES,pa as CONTEXT_OUTPUT_VALUES,B as CURRENT_ITEM_FORMAT_VERSION,ta as DEFAULT_TERMINAL_TRANSITION_POLICY,l as DEPENDENCY_KIND_VALUES,e as EXIT_CODE,n as ISSUE_SEVERITY_VALUES,j as ITEM_TYPE_VALUES,ra as NEXT_OUTPUT_VALUES,aa as PM_CLI_EXPECTED_ERROR_NAME,ea as PM_GITIGNORE_END,da as PM_GITIGNORE_START,f as PmCliError,rb as PmClient,m as RISK_VALUES,ha as SEARCH_EXTENSION_FLAG_DEFINITIONS,k as STATUS_VALUES,O as acquireLock,xb as aggregate,Wc as analyzeSdkActionCoverage,Jb as append,N as appendHistoryEntry,wa as applyTerminalOrderingPolicy,L as canonicalDocument,rc as claim,sc as claimNext,E as classifyItemFormatVersion,ia as clearWorkspaceContractsCache,qc as close,xa as closeItem,Ac as closeTask,Ab as comments,gb as commitImportedItem,Lb as config,sb as context,uc as copy,oc as create,M as createHistoryEntry,ba as createPmCliExpectedError,vc as deleteItem,Hb as deps,Gb as docs,zb as duplicates,C as effectiveItemFormatVersion,fb as emptyImportedDocument,ga as ensurePmGitignore,eb as ensureTrackerInitialized,Bc as extension,Dc as extensionActivate,Ec as extensionDeactivate,Cc as extensionList,Db as files,Eb as filesDiscover,Fb as filesLookup,xc as focus,ic as gc,R as generateItemId,vb as get,v as getActiveExtensionRegistrations,Sc as getContracts,u as getHistoryPath,t as getItemPath,fa as getPmGitignoreBlock,s as getSettingsPath,Rc as getWorkspaceContracts,Ib as graph,hc as health,mc as historyCompact,nc as historyCompactBulk,jc as historyRedact,kc as historyRepair,lc as historyRepairAll,Kb as init,ca as isPmCliExpectedError,H as isTerminalStatus,h as isTimestampLiteral,Y as jaccardSimilarity,Cb as learnings,tb as list,W as listAllItemMetadata,X as listAllItemMetadataLight,Ga as loadCreateTemplateOptions,U as locateItem,wb as next,D as normalizeItemFormatVersion,Q as normalizeItemId,I as normalizeItemMetadata,P as normalizeRawItemId,Z as normalizeSimilarityText,G as normalizeStatusInput,Bb as notes,g as nowIso,Oc as packageActivate,Nc as packageCatalog,Pc as packageDeactivate,Lc as packageDescribe,Jc as packageDoctor,Hc as packageInstall,Fc as packageLifecycle,Gc as packageList,Kc as packageManage,Mc as packageReload,Ic as packageUninstall,S as parseTags,a as pathExists,zc as pauseTask,bc as profile,ec as profileApply,fc as profileLint,cc as profileList,dc as profileShow,Na as readBooleanOption,Oa as readCsvListOption,b as readFileIfExists,V as readLocatedItem,Tc as readRequiredString,T as readSettings,Ma as readStringOption,tc as release,d as removeFileIfExists,ma as renderCalendarMarkdown,na as renderCalendarToon,jb as renderGuideMarkdown,va as requireTerminalReason,la as resolveCalendarOutputFormat,hb as resolveGuideOutputFormat,q as resolveImplicitPmRoot,p as resolveItemTypeRegistry,r as resolvePmRoot,z as resolveRuntimeFieldRegistry,y as resolveRuntimeStatusRegistry,ua as resolveTerminalReason,wc as restore,Vc as runAction,x as runActiveOnReadHooks,w as runActiveOnWriteHooks,ka as runAggregate,oa as runCalendar,ya as runClose,kb as runCompletion,qa as runContext,Ba as runCopy,Ca as runDelete,La as runDuplicates,Da as runFocus,Ea as runGet,ib as runGuide,ja as runList,sa as runNext,lb as runReindex,za as runRestore,Fa as runSearch,Ka as runStats,Ia as runTemplatesList,Ha as runTemplatesSave,Ja as runTemplatesShow,mb as runTestRunsList,ob as runTestRunsLogs,qb as runTestRunsResume,nb as runTestRunsStatus,pb as runTestRunsStop,Aa as runUpdate,Uc as runWithActiveExtensions,F as scanItemFormatVersions,Mb as schema,Tb as schemaAddField,Rb as schemaAddStatus,Pb as schemaAddType,Xb as schemaApplyPreset,Yb as schemaInferTypes,Nb as schemaList,Vb as schemaListFields,$b as schemaRemapStatus,Ub as schemaRemoveField,Sb as schemaRemoveStatus,Qb as schemaRemoveType,_b as schemaRenameField,Zb as schemaRenameType,Ob as schemaShow,Wb as schemaShowField,ac as schemaShowStatus,$ as scoreItemSimilarity,ub as search,db as selectImportAuthor,K as serializeItemDocument,J as splitFrontMatter,yc as startTask,yb as stats,Qa as toEstimatedMinutesValue,Va as toImportBoolean,Za as toImportConfidence,Ua as toImportInteger,bb as toImportLinkedDocs,ab as toImportLinkedFiles,cb as toImportLinkedTests,$a as toImportLogEntries,_a as toImportNormalizedEnum,Ya as toImportNumberMap,Ra as toImportPriority,Ta as toImportStatus,Wa as toImportStringList,Xa as toImportStringMap,Sa as toImportTags,Pa as toNonEmptyImportString,_ as tokenizeSimilarityText,pc as update,Qc as upgrade,gc as validate,c as writeFileAtomic};
2
2
  //# sourceMappingURL=sdk-runtime.js.map
@@ -1,2 +1,2 @@
1
- import{A as t,B as u,C as v,D as w,E as x,F as y,G as z,H as A,I as B,J as C,K as D,L as E,M as F,N as G,O as H,P as I,Q as J,R as K,S as L,T as M,U as N,V as O,W as P,X as Q,Y as R,f as c,g as d,l as e,m as f,n as g,o as h,p as i,q as j,r as k,s as l,t as m,u as n,v as o,w as p,x as q,y as r,z as s}from"./chunks/chunk-TK6N7HGM.js";import"./chunks/chunk-URW4QRMI.js";import"./chunks/chunk-I2LUWWR5.js";import"./chunks/chunk-RIS565OA.js";import"./chunks/chunk-HCIYWD6M.js";import{h as a,ya as b}from"./chunks/chunk-73UGEBRS.js";import"./chunks/chunk-PANOOBIS.js";import"./chunks/chunk-TOFG2URD.js";export{e as activateExtensionForTest,M as assertExtensionBlueprint,L as assertExtensionCapabilityUsage,t as assertExtensionDeactivated,P as assertExtensionManifestCompatible,O as assertExtensionManifestMatchesBlueprint,Q as assertExtensionPreflight,u as assertPackageManifest,N as assertProjectProfile,v as assertRegisteredCommandContract,F as assertRegisteredCommandOverride,B as assertRegisteredExporter,w as assertRegisteredFlags,x as assertRegisteredHook,A as assertRegisteredImporter,C as assertRegisteredItemField,D as assertRegisteredItemType,K as assertRegisteredMigration,G as assertRegisteredParserOverride,H as assertRegisteredPreflightOverride,E as assertRegisteredProfile,I as assertRegisteredRendererOverride,y as assertRegisteredSearchProvider,J as assertRegisteredServiceOverride,z as assertRegisteredVectorStoreAdapter,R as createExtensionTestHarness,f as deactivateExtensionForTest,a as describeExtensionActivation,c as describeExtensionBlueprint,d as lintExtensionBlueprint,b as renderExtensionSurfaceMarkdown,g as runRegisteredCommandForTest,l as runRegisteredCommandOverrideForTest,s as runRegisteredExporterForTest,i as runRegisteredHookForTest,r as runRegisteredImporterForTest,q as runRegisteredMigrationForTest,h as runRegisteredMutationGuardForTest,j as runRegisteredParserOverrideForTest,k as runRegisteredPreflightOverrideForTest,m as runRegisteredRendererOverrideForTest,o as runRegisteredSearchProviderForTest,n as runRegisteredServiceOverrideForTest,p as runRegisteredVectorStoreAdapterForTest};
1
+ import{A as t,B as u,C as v,D as w,E as x,F as y,G as z,H as A,I as B,J as C,K as D,L as E,M as F,N as G,O as H,P as I,Q as J,R as K,S as L,T as M,U as N,V as O,W as P,X as Q,Y as R,f as c,g as d,l as e,m as f,n as g,o as h,p as i,q as j,r as k,s as l,t as m,u as n,v as o,w as p,x as q,y as r,z as s}from"./chunks/chunk-HBJAS566.js";import"./chunks/chunk-3UEGXBMR.js";import"./chunks/chunk-2QLOXC3V.js";import"./chunks/chunk-TPXZIBIV.js";import"./chunks/chunk-4JPYF536.js";import{h as a,ya as b}from"./chunks/chunk-JOKATURE.js";import"./chunks/chunk-6VDLG2FC.js";import"./chunks/chunk-ION3E43Q.js";export{e as activateExtensionForTest,M as assertExtensionBlueprint,L as assertExtensionCapabilityUsage,t as assertExtensionDeactivated,P as assertExtensionManifestCompatible,O as assertExtensionManifestMatchesBlueprint,Q as assertExtensionPreflight,u as assertPackageManifest,N as assertProjectProfile,v as assertRegisteredCommandContract,F as assertRegisteredCommandOverride,B as assertRegisteredExporter,w as assertRegisteredFlags,x as assertRegisteredHook,A as assertRegisteredImporter,C as assertRegisteredItemField,D as assertRegisteredItemType,K as assertRegisteredMigration,G as assertRegisteredParserOverride,H as assertRegisteredPreflightOverride,E as assertRegisteredProfile,I as assertRegisteredRendererOverride,y as assertRegisteredSearchProvider,J as assertRegisteredServiceOverride,z as assertRegisteredVectorStoreAdapter,R as createExtensionTestHarness,f as deactivateExtensionForTest,a as describeExtensionActivation,c as describeExtensionBlueprint,d as lintExtensionBlueprint,b as renderExtensionSurfaceMarkdown,g as runRegisteredCommandForTest,l as runRegisteredCommandOverrideForTest,s as runRegisteredExporterForTest,i as runRegisteredHookForTest,r as runRegisteredImporterForTest,q as runRegisteredMigrationForTest,h as runRegisteredMutationGuardForTest,j as runRegisteredParserOverrideForTest,k as runRegisteredPreflightOverrideForTest,m as runRegisteredRendererOverrideForTest,o as runRegisteredSearchProviderForTest,n as runRegisteredServiceOverrideForTest,p as runRegisteredVectorStoreAdapterForTest};
2
2
  //# sourceMappingURL=sdk-testing.js.map
@@ -1,3 +1,5 @@
1
- import{a as wy,b as Py,c as Fl,d as Ul,e as Hl,g as $l,h as jl,i as Vl,j as Wl,k as Bl,l as zl,m as Kl,n as Xl,o as ky,p as Ly,q as My,r as vy,s as Dy,t as Gy,u as Fy,v as Uy,w as Yl,x as Jl,y as Hy,z as $y}from"./chunks/chunk-47OQEOQB.js";import{A as OS,B as RS,C as bS,D as IS,E as xS,F as NS,G as wS,H as PS,I as kS,J as LS,K as MS,L as vS,M as DS,N as GS,O as FS,P as US,Q as HS,R as $S,S as jS,T as VS,U as WS,V as BS,W as zS,X as KS,Y as XS,a as Qy,b as Zy,c as eS,d as tS,e as rS,f as nS,g as oS,h as iS,i as sS,j as aS,k as cS,l as dS,m as pS,n as mS,o as lS,p as uS,q as fS,r as _S,s as hS,t as TS,u as gS,v as AS,w as CS,x as ES,y as yS,z as SS}from"./chunks/chunk-TK6N7HGM.js";import{a as jy}from"./chunks/chunk-OAC5NIV4.js";import{a as Vy,b as Wy,c as By,d as zy,e as Ky,f as Xy,g as Yy,h as Jy,i as qy}from"./chunks/chunk-IC5W2T34.js";import{$ as Ae,$a as cm,$b as cl,A as Ic,Aa as wp,Ab as vm,Ac as vl,B as Xc,Ba as Pp,Bb as Dm,Bc as Dl,C as Yc,Ca as kp,Cb as Gm,Cc as Gl,D as Jc,Da as Lp,Db as Fm,E as qc,Ea as Mp,Eb as Um,F as Qc,Fa as vp,Fb as Hm,G as Zc,Ga as Dp,Gb as $m,H as ed,Ha as Gp,Hb as jm,I as td,Ia as Fp,Ib as Vm,J as KE,Ja as Up,Jb as Wm,K as XE,Ka as Hp,Kb as Bm,L as YE,La as $p,Lb as zm,M as JE,Ma as jp,Mb as Km,N as qE,Na as Vp,Nb as Xm,O as QE,Oa as Wp,Ob as Ym,P as ZE,Pa as Bp,Pb as Jm,Q as ey,Qa as zp,Qb as qm,R as ty,Ra as Kp,Rb as Qm,S as ry,Sa as Xp,Sb as Zm,T as ny,Ta as Yp,Tb as el,U as oy,Ua as Jp,Ub as tl,V as iy,Va as qp,Vb as rl,W as fe,Wa as Qp,Wb as nl,X as _e,Xa as Zp,Xb as ol,Y as he,Ya as Re,Yb as il,Z as Te,Za as w,Zb as sl,_ as ge,_a as am,_b as al,a as yi,aa as Ce,ab as dm,ac as dl,b as Si,ba as Ee,bb as pm,bc as pl,c as Oi,ca as ye,cb as mm,cc as ml,d as Cg,da as Se,db as lm,dc as ll,e as Eg,ea as Oe,eb as um,ec as ul,f as bi,fa as wd,fb as fm,fc as fl,g as xg,ga as Pd,gb as _m,gc as _l,h as Ng,ha as kd,hb as hm,hc as hl,i as wg,ia as Ld,ib as Tm,ic as Tl,j as Pg,ja as Md,jb as gm,jc as gl,k as kg,ka as vd,kb as Am,kc as Al,l as Lg,la as Dd,lb as Cm,lc as Cl,m as Mg,ma as Gd,mb as Em,mc as El,n as vg,na as Fd,nb as ym,nc as yl,o as Pi,oa as Ud,ob as Sm,oc as Sl,p as Dg,pa as Hd,pb as Om,pc as Ol,q as Gg,qa as $d,qb as Rm,qc as Rl,r as Fg,ra as jd,rb as bm,rc as bl,s as Ug,sa as Vd,sb as Im,sc as Il,t as Hg,ta as ly,tb as xm,tc as xl,u as $g,ua as uy,ub as Nm,uc as Nl,v as ka,va as fy,vb as wm,vc as wl,w as Sc,wa as _y,wb as Pm,wc as Pl,x as Oc,xa as Ip,xb as km,xc as kl,y as Rc,ya as xp,yb as Lm,yc as Ll,z as bc,za as Np,zb as Mm,zc as Ml}from"./chunks/chunk-URW4QRMI.js";import{a as ue,f as od,g as id}from"./chunks/chunk-I2LUWWR5.js";import{A as hd,B as Td,C as gd,b as Pa,c as bC,d as RE,e as NE,f as wE,g as PE,h as kE,i as LE,j as rd,k as ME,l as ld,m as ud,n as fd,o as _d,p as DE,q as GE,r as FE,s as UE,t as HE,u as $E,v as jE,w as VE,x as WE,y as BE,z as zE}from"./chunks/chunk-RIS565OA.js";import{$ as vA,$a as va,$b as nd,$c as _p,A as OA,Aa as pa,Ac as Cy,B as RA,Ba as ma,Bb as xc,Bc as Ey,C as bA,Ca as la,Cb as Nc,Cc as yy,D as IA,Da as ua,Db as bE,Dc as Sy,Ea as fa,Eb as wc,Ec as Oy,F as MA,Fa as _a,Fb as Pc,Fc as Ry,Ga as ha,Gb as kc,Gc as by,Ha as Ta,Hb as Lc,Hc as Iy,Ia as ga,Ib as Mc,Ic as xy,J as ys,Ja as Aa,Jb as vc,Ka as Ca,Kb as Dc,Kc as Qd,La as Ea,Lb as Gc,Lc as Zd,Ma as ya,Mb as Fc,Mc as ep,Na as Sa,Nb as Uc,Nc as tp,Oa,Ob as Hc,Oc as rp,Pa as Ra,Pb as $c,Pc as np,Qa as ba,Qb as jc,Qc as op,Ra as Ia,Rb as Vc,Rc as ip,Sa as xa,Sb as Wc,Sc as sp,Ta as Na,Tb as Bc,Tc as ap,Ua as eC,Ub as IE,Uc as cp,Va as tC,Vb as xE,Vc as dp,Wa as rC,Wb as zc,Wc as pp,Xa as nC,Xc as mp,Ya as oC,Yc as lp,Za as La,Zb as Kc,Zc as up,_a as Ma,_b as vE,_c as fp,a as Qg,aa as DA,ab as Da,ac as Ad,ad as hp,b as Zg,ba as Ss,bb as Ga,bc as Cd,bd as Ny,c as eA,ca as Os,cb as Fa,cc as Ed,cd as Tp,d as tA,da as Rs,db as Ua,dc as dy,dd as gp,e as rA,ea as bs,eb as Ha,ec as py,ed as Ap,f as nA,fa as Is,fb as $a,fc as my,fd as Cp,g as oA,ga as xs,gb as ja,gc as yd,gd as Ep,h as iA,ha as Ns,hb as Tc,hc as Sd,hd as yp,i as sA,ia as zA,ib as gc,ic as Od,id as Sp,j as aA,ja as KA,jb as Ac,jc as Rd,jd as Op,k as cA,ka as XA,kb as Cc,kc as bd,kd as Rp,l as dA,la as YA,lb as lE,lc as Id,ld as bp,m as pA,mb as uE,mc as xd,md as em,n as mA,na as JA,nb as fE,nc as Nd,nd as tm,o as lA,ob as _E,oc as hy,od as rm,p as uA,pa as qA,pb as hE,pc as Ty,pd as nm,q as fA,qa as QA,qb as Ec,qc as Wd,qd as om,r as _A,ra,rb as yc,rc as Bd,rd as im,s as hA,sa as na,sb as TE,sc as zd,sd as sm,t as TA,ta as ZA,tb as gE,tc as Kd,u as gA,ua as oa,ub as AE,uc as Xd,v as AA,va as ia,vb as CE,vc as Yd,w as CA,wa as sa,wb as EE,wc as Jd,x as EA,xa as aa,xb as yE,xc as qd,y as yA,ya as ca,yb as SE,yc as gy,z as SA,za as da,zb as OE,zc as Ay}from"./chunks/chunk-HCIYWD6M.js";import{A as Us,Aa as Xs,B as Hs,Ea as Ys,Fa as Js,Ga as qs,Ha as Qs,Ia as Zs,Ja as ea,Ka as ta,L as $s,La as sd,M as js,Ma as ad,N as Vs,Na as cd,O as Ws,Oa as dd,Pa as pd,Qa as md,a as bg,b as Ig,c as Ii,d as xi,f as Ni,g as wi,h as GA,i as ws,j as Ps,k as ks,m as FA,n as UA,o as HA,p as $A,q as jA,r as VA,s as WA,sa as ae,t as Ls,ta as ce,u as Ms,ua as de,v as vs,va as pe,w as Ds,wa as Bs,x as Gs,y as BA,ya as zs,z as Fs,za as Ks}from"./chunks/chunk-73UGEBRS.js";import{$ as qi,$a as RC,$b as ic,Aa as sC,Ab as XC,B as ki,Ba as aC,Bb as YC,C as xA,Ca as cC,Cb as JC,D as NA,Da as dC,Db as qC,E as wA,Ea as pC,Eb as QC,F as PA,Fa as mC,Fb as ZC,G as kA,Ga as lC,Gb as eE,H as Li,Ha as uC,Hb as tE,I as Mi,Ia as fC,Ib as rE,J as vi,Ja as _C,Jb as nE,K as Di,Kb as oE,L as Gi,Lb as iE,M as Fi,Mb as sE,N as V,Nb as aE,O as Ui,Ob as Ka,P as Hi,Pb as Xa,Q as $i,Qb as Ya,R as ji,Rb as Ja,S as LA,Sa as hC,Sb as qa,T as Vi,Ta as TC,Tb as Qa,U as Wi,Ua as gC,Ub as me,V as Bi,Va as AC,Vb as Za,W as zi,Wa as CC,Wb as ec,X as Ki,Xa as EC,Xb as tc,Y as Xi,Ya as yC,Yb as rc,Z as Yi,Za as SC,Zb as nc,_ as Ji,_a as OC,_b as oc,a as mg,aa as Qi,ab as wa,ac as sc,b as lg,ba as Zi,bb as Va,bc as ac,c as ug,ca as es,cb as Wa,cc,d as fg,da as ts,db as Ba,dc,e as _g,ea as rs,eb as za,ec as pc,fa as ns,fb as IC,fc as mc,ga as os,gb as xC,gc as lc,h as hg,ha as is,hb as NC,hc as uc,i as Tg,ia as ss,ib as wC,ic as fc,j as Ri,ja as as,jb as PC,jc as le,k as gg,ka as cs,kb as kC,kc as _c,l as Ag,la as ds,lb as LC,lc as cE,m as yg,ma as ps,mb as MC,mc as dE,n as Sg,na as ms,nb as vC,nc as pE,o as Og,oa as ls,ob as DC,oc as hc,p as Rg,pa as us,pb as GC,pc as mE,q as jg,qa as fs,qb as FC,qc as sy,r as Vg,ra as _s,rb as UC,rc as ay,s as Wg,sa as hs,sb as HC,sc as cy,t as Bg,ta as Ts,tb as $C,u as zg,ua as gs,ub as jC,v as Kg,va as As,vb as VC,w as Xg,wa as Cs,wb as WC,x as Yg,xa as Es,xb as BC,y as Jg,yb as zC,z as qg,za as iC,zb as KC}from"./chunks/chunk-PANOOBIS.js";import{$ as Bu,$b as Tf,$c as ht,$d as l_,$e as $_,$h as UT,$i as rn,$j as no,$k as oi,Ac as vf,Ae as Wt,Af as fh,Ag as Nr,Ah as ST,Ai as Wr,Aj as wn,Ak as Po,B as Pu,Bc as ut,Be as Bt,Bf as _h,Bg as $h,Bh as Pr,Bi as Br,Bj as Pn,Bk as ko,C as U,Cc as Df,Ce as zt,Cf as hh,Cg as jh,Ch as kr,Ci as zr,Cj as kn,Ck as Lo,D as ku,Dc as ft,Dd as r_,De as Kt,Df as Th,Dg as Vh,Dh as Lr,Di as Kr,Dj as Ln,Dk as Mo,E as H,Ea as qu,Eb as mf,Ed as n_,Ee as Xt,Ef as gh,Eg as Wh,Eh as OT,Ei as eg,Ej as Mn,Ek as vo,Fa as Qu,Fb as at,Fc as Gf,Fd as o_,Fe as Yt,Fg as Bh,Fi as tg,Fj as vn,Fk as Do,G as Lu,Ga as Zu,Gb as ct,Gc as Ff,Gd as kt,Ge as Jt,Gf as Ah,Gg as zh,Gh as RT,Gi as rg,Gj as Dn,Gk as Go,H as Mu,Hb as N,Hc as Uf,Hd as Lt,He as qt,Hf as Ch,Hg as Kh,Hh as bT,Hi as ng,Hj as Gn,Hk as Fo,Ib as lf,Ic as Hf,Id as Mt,Ie as Qt,Ig as Xh,Ih as IT,Ii as og,Ij as Fn,Ik as Uo,Ja as tt,Jc as $f,Jd as vt,Je as Zt,Jg as Yh,Ji as ig,Jj as Un,Jk as Ho,K as vu,Ka as ef,Kb as uf,Kc as re,Kd as Dt,Ke as er,Kf as Eh,Kg as Jh,Ki as sg,Kj as Hn,Kk as $o,La as tf,Lc as jf,Ld as Gt,Le as tr,Lf as yh,Lg as qh,Lh as xT,Li as ag,Lj as $n,Lk as jo,Ma as rf,Mb as ff,Mc as Vf,Md as Ft,Me as rr,Mf as Sh,Mj as jn,Mk as Vo,N as Du,Na as nf,Nc as Wf,Nd as Ut,Ne as nr,Nf as Oh,Ng as Qh,Nh as NT,Nj as Vn,Nk as Wo,O as Z,Od as Ht,Oe as or,Of as Rh,Oj as Wn,Ok as Bo,P as ee,Pa as rt,Pc as Bf,Pd as $t,Pe as ir,Pf as fr,Pg as Zh,Pi as ie,Pj as Bn,Pk as zo,Q as ze,Qa as nt,Qc as zf,Qd as jt,Qe as sr,Qf as _r,Qg as eT,Qi as cg,Qj as zn,Qk as Ko,R as Ke,Ra as $,Rd as i_,Re as ar,Rg as tT,Rh as wT,Ri as dg,Rj as Kn,Rk as Xo,S as Gu,Sd as s_,Se as cr,Sg as rT,Sh as PT,Si as pg,Sj as Xn,Sk as Yo,Td as a_,Te as dr,Tg as nT,Th as kT,Ti as Xr,Tj as Yn,Tk as Jo,U as Fu,Ua as ot,Ue as pr,Uf as bh,Uh as LT,Ui as Yr,Uj as Jn,Uk as qo,V as Uu,Va as it,Ve as mr,Vf as Ih,Vh as MT,Vi as Jr,Vj as qn,Vk as Qo,W as Hu,Wd as c_,We as lr,Wf as xh,Wi as qr,Wj as Qn,Wk as Zo,X as $u,Xa as st,Xc as Kf,Xd as d_,Xe as ur,Xf as Nh,Xh as vT,Xi as Qr,Xj as Zn,Xk as ei,Y as ju,Yd as p_,Ye as F_,Yh as DT,Yi as Zr,Yj as eo,Yk as ti,Z as Vu,Zb as _f,Zc as _t,Ze as U_,Zf as wh,Zh as GT,Zi as en,Zj as to,Zk as ri,_ as Wu,_b as hf,_c as Xf,_d as m_,_e as H_,_f as Ph,_h as FT,_i as tn,_j as ro,_k as ni,aa as zu,ae as u_,af as j_,ai as HT,aj as nn,ak as oo,al as ii,ba as Ku,bc as gf,bd as Yf,be as f_,bf as V_,bi as $T,bj as on,bk as io,bl as si,c as je,cc as Af,cd as Jf,ce as __,cf as W_,cg as kh,ch as oT,ci as jT,cj as sn,ck as so,cl as ai,da as Xu,dd as qf,de as h_,df as B_,dg as Lh,dh as iT,di as VT,dj as an,dk as ao,dl as ci,e as Q,ea as Yu,ec as Cf,ed as Tt,ee as T_,ef as z_,eg as Mh,eh as sT,ei as WT,ej as cn,ek as co,el as di,f as Ve,fa as Ju,fc as dt,fd as gt,fe as g_,ff as K_,fg as vh,fh as aT,fi as oe,fj as dn,fk as po,fl as pi,g as We,ga as Xe,gd as At,ge as A_,gf as X_,gg as hr,gh as cT,gi as BT,gj as pn,gk as mo,gl as mi,h as Be,ha as Ye,hc as pt,hd as Ct,he as C_,hf as Y_,hg as Tr,hh as dT,hi as zT,hj as mn,hk as lo,hl as li,ia as Je,ic as mt,id as Et,ie as E_,if as J_,ig as gr,ii as KT,ij as ln,ik as uo,il as ui,j as Ru,jd as yt,je as y_,jf as q_,jg as Ar,ji as XT,jj as un,jk as fo,jl as fi,k as bu,kd as St,ke as S_,kf as Q_,kg as Cr,kh as pT,ki as YT,kj as fn,kk as _o,kl as _i,l as Iu,lb as of,lc as Ef,ld as Qf,le as O_,lf as Z_,lg as Er,lh as mT,li as JT,lj as _n,lk as ho,ll as hi,ma as qe,mb as j,mc as yf,md as Zf,me as R_,mf as eh,mg as yr,mh as wr,mi as qT,mj as hn,mk as To,ml as Ti,nb as te,nc as Sf,ne as b_,nf as th,ng as Sr,nh as lT,ni as QT,nj as Tn,nk as go,nl as gi,oa as Qe,ob as sf,oc as Of,od as Ot,oe as I_,of as rh,og as Or,oh as uT,oi as ZT,oj as gn,ok as Ao,ol as Ai,pa as Ze,pb as af,pc as Rf,pd as Rt,pe as x_,pf as nh,pg as Rr,ph as fT,pi as Mr,pj as An,pk as Co,pl as Ci,qa as et,qb as cf,qc as bf,qd as e_,qe as N_,qf as oh,qg as Dh,qh as _T,qi as vr,qj as Cn,qk as Eo,ql as Ei,rb as df,rc as If,rd as bt,re as w_,rf as ih,rh as ne,ri as Dr,rj as En,rk as yo,rl as se,s as xu,sb as A,sc as lt,sd as It,se as P_,sf as sh,sg as br,sh as hT,si as Gr,sj as yn,sk as So,tb as pf,tc as xf,td as t_,te as k_,tf as ah,tg as Ir,th as TT,ti as Fr,tj as Sn,tk as Oo,uc as Nf,ud as xt,ue as L_,uf as ch,ug as xr,uh as gT,ui as Ur,uj as On,uk as Ro,v as Nu,vc as wf,vd as Nt,ve as M_,vf as dh,vh as AT,vj as Rn,vk as bo,wc as Pf,wd as wt,we as v_,wf as ph,wg as Gh,wi as Hr,wj as bn,wk as Io,x as wu,xc as kf,xd as Pt,xe as D_,xf as mh,xg as Fh,xh as CT,xi as $r,xj as In,xk as xo,yc as Lf,ye as G_,yf as lh,yg as Uh,yh as ET,yi as jr,yj as xn,yk as No,zc as Mf,ze as Vt,zf as uh,zg as Hh,zh as yT,zi as Vr,zj as Nn,zk as wo}from"./chunks/chunk-TOFG2URD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc0d4dd1-20e8-59d4-acb5-9f8ed639d35f")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fa4eb88d-f50e-59fa-be7f-0cfb42931a73")}catch{}})();var _="https://schema.unbrained.dev/pm/corpus-shape/v1";function C(e,t){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError(`Corpus shape ${t} must be a positive safe integer`);return e}function b(e,t){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Corpus shape ${t} must be a non-negative safe integer`);return e}function Ie(e){if(!(typeof e!="object"||e===null||Object.isFrozen(e))){for(let t of Object.values(e))Ie(t);Object.freeze(e)}}function E(e){if(e.schema!==_)throw new TypeError(`Unsupported corpus shape schema: ${e.schema}`);if(e.name.trim().length===0||e.description.trim().length===0)throw new TypeError("Corpus shape name and description must be non-empty");if(C(e.hierarchy_depth,"hierarchy_depth"),C(e.hierarchy_fanout,"hierarchy_fanout"),b(e.age_span_days,"age_span_days"),C(e.history_entries_per_item,"history_entries_per_item"),b(e.comments_per_100_items,"comments_per_100_items"),b(e.notes_per_100_items,"notes_per_100_items"),b(e.learnings_per_100_items,"learnings_per_100_items"),C(e.author_cardinality,"author_cardinality"),C(e.component_count,"component_count"),e.edge_kind_mix.length===0||e.edge_kind_mix.some(r=>r.kind.trim().length===0||r.weight<=0))throw new TypeError("Corpus shape edge_kind_mix requires non-empty kinds with positive weights");if(e.terminal_statuses.some(r=>!e.custom_statuses.includes(r)))throw new TypeError("Corpus shape terminal_statuses must be declared in custom_statuses");let t=structuredClone(e);return Ie(t),t}var P=[{kind:"implements",weight:5},{kind:"blocked_by",weight:2},{kind:"discovered_from",weight:2},{kind:"verifies",weight:2},{kind:"supersedes",weight:1},{kind:"related",weight:4}],y=Object.freeze({scratch:E({schema:_,name:"scratch",description:"Seconds-old, shallow project with minimal history.",hierarchy_depth:2,hierarchy_fanout:50,age_span_days:0,history_entries_per_item:1,comments_per_100_items:2,notes_per_100_items:1,learnings_per_100_items:1,edge_kind_mix:[{kind:"related",weight:1}],author_cardinality:2,component_count:1,include_cycles:!1,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),representative:E({schema:_,name:"representative",description:"Medium-lived project with rich evidence and typed lineage.",hierarchy_depth:5,hierarchy_fanout:8,age_span_days:730,history_entries_per_item:12,comments_per_100_items:30,notes_per_100_items:12,learnings_per_100_items:10,edge_kind_mix:P,author_cardinality:32,component_count:1,include_cycles:!1,custom_types:["Experiment"],custom_statuses:["review"],terminal_statuses:[],custom_fields:["domain"]}),"deep-graph":E({schema:_,name:"deep-graph",description:"Deep typed relationship graph with deterministic cycles.",hierarchy_depth:16,hierarchy_fanout:2,age_span_days:3650,history_entries_per_item:6,comments_per_100_items:15,notes_per_100_items:8,learnings_per_100_items:8,edge_kind_mix:P,author_cardinality:16,component_count:1,include_cycles:!0,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),"multi-decade":E({schema:_,name:"multi-decade",description:"Thirty-year event history with dense per-item evolution.",hierarchy_depth:6,hierarchy_fanout:6,age_span_days:10958,history_entries_per_item:24,comments_per_100_items:40,notes_per_100_items:20,learnings_per_100_items:16,edge_kind_mix:P,author_cardinality:64,component_count:1,include_cycles:!1,custom_types:["Program"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["portfolio"]}),"disconnected-archive":E({schema:_,name:"disconnected-archive",description:"Multiple disconnected historical project components.",hierarchy_depth:4,hierarchy_fanout:10,age_span_days:7305,history_entries_per_item:8,comments_per_100_items:10,notes_per_100_items:5,learnings_per_100_items:6,edge_kind_mix:P,author_cardinality:24,component_count:5,include_cycles:!1,custom_types:["Archive"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["archive_source"]})});function ql(){return Object.keys(y).sort().map(e=>y[e])}function Ql(e){let t=e.trim().toLowerCase();if(!Object.hasOwn(y,t))throw new TypeError(`Unknown corpus shape "${e}". Available: ${Object.keys(y).join(", ")}`);return y[t]}var be=new WeakMap;function xe(e,t){if(e===0)return[];let r=be.get(t);r===void 0&&(r=t.edge_kind_mix.flatMap(o=>Array.from({length:o.weight},()=>o.kind)),be.set(t,r));let n=[r[e%r.length]];return t.include_cycles&&e>2&&e%17===0&&n.push("related"),[...new Set(n)]}function Zl(e,t,r,n=42){if(b(t,"item index"),C(r,"item count"),t>=r)throw new RangeError(`Corpus item index ${t} exceeds ${r}`);let o=Math.min(e.component_count,r),c=t%o,i=Math.floor(t/o),a=0,s=1;for(let q=0;q<e.hierarchy_depth;q+=1)a=Math.min(Number.MAX_SAFE_INTEGER,a+s),s=Math.min(Number.MAX_SAFE_INTEGER,s*e.hierarchy_fanout);let d=i%a,l=i-d,p=d===0?void 0:c+(l+Math.floor((d-1)/e.hierarchy_fanout))*o,m=Date.UTC(2026,0,1),g=e.age_span_days*864e5,G=new Date(m+(r===1?0:Math.round(t/(r-1)*g))).toISOString(),F=(t*37+n)%100;return{index:t,id:`pm-s${t.toString(36).padStart(7,"0")}`,...p===void 0?{}:{parent:`pm-s${p.toString(36).padStart(7,"0")}`},component:c,timestamp:G,author:`pm-corpus-agent-${(t+n)%Math.min(e.author_cardinality,r)}`,history_entry_count:e.history_entries_per_item,dependency_kinds:xe(t,e),has_comment:F<e.comments_per_100_items,has_note:F<e.notes_per_100_items,has_learning:F<e.learnings_per_100_items,...e.custom_types.length>0&&t%11===0?{custom_type:e.custom_types[t%e.custom_types.length]}:{},...e.custom_statuses.length>0&&t%13===0?{custom_status:e.custom_statuses[t%e.custom_statuses.length]}:{}}}var W=class{shape;authors=new Set;components=new Set;depths=new Map;childCounts=new Map;edgeKinds={};expectedEdgeKinds={};annotations={comments:0,notes:0,learnings:0};annotationFields;planMismatches=[];itemCount=0;observedDepth=0;observedFanout=0;historyEntryCount=0;firstTimestamp=null;lastTimestamp=null;constructor(t){this.shape=t,this.annotationFields=[["comments","has_comment",t.comments_per_100_items],["notes","has_note",t.notes_per_100_items],["learnings","has_learning",t.learnings_per_100_items]]}recordMismatch(t,r){t&&this.planMismatches.push(r)}recordEdgeKinds(t,r){for(let n of r)t[n]=(t[n]??0)+1}add(t){this.itemCount+=1,this.authors.add(t.author),this.components.add(t.component),this.recordMismatch(this.depths.has(t.id),`duplicate_id:${t.id}`);let r=1;if(t.parent!==void 0){let n=this.depths.get(t.parent);this.recordMismatch(n===void 0,`parent_missing:${t.parent}`),r=(n??0)+1;let o=(this.childCounts.get(t.parent)??0)+1;this.childCounts.set(t.parent,o),this.observedFanout=Math.max(this.observedFanout,o)}this.depths.set(t.id,r),this.observedDepth=Math.max(this.observedDepth,r),this.historyEntryCount+=t.history_entry_count,this.recordMismatch(t.history_entry_count!==this.shape.history_entries_per_item,"history_entries_per_item:drift"),this.firstTimestamp=this.firstTimestamp===null||t.timestamp<this.firstTimestamp?t.timestamp:this.firstTimestamp,this.lastTimestamp=this.lastTimestamp===null||t.timestamp>this.lastTimestamp?t.timestamp:this.lastTimestamp;for(let[n,o]of this.annotationFields)this.annotations[n]+=Number(t[o]);this.recordEdgeKinds(this.edgeKinds,t.dependency_kinds),this.recordEdgeKinds(this.expectedEdgeKinds,xe(t.index,this.shape))}finish(){let t=Math.min(this.shape.author_cardinality,this.itemCount),r=Math.min(this.shape.component_count,this.itemCount),n=[...this.planMismatches,...this.itemCount===0?["item_count:empty"]:[],...this.authors.size===t?[]:[`author_count:${this.authors.size}!=${t}`],...this.components.size===r?[]:[`component_count:${this.components.size}!=${r}`],...this.observedDepth<=this.shape.hierarchy_depth?[]:[`hierarchy_depth:${this.observedDepth}>${this.shape.hierarchy_depth}`],...this.observedFanout<=this.shape.hierarchy_fanout?[]:[`hierarchy_fanout:${this.observedFanout}>${this.shape.hierarchy_fanout}`]];for(let[i,,a]of this.annotationFields){let s=Math.floor(this.itemCount/100),d=this.itemCount%100,l=s*a+Math.max(0,a+d-100),p=s*a+Math.min(a,d),m=this.annotations[i];(m<l||m>p)&&n.push(`${i}:${m}!in[${l},${p}]`)}let o=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let i of[...o].sort()){let a=this.edgeKinds[i]??0,s=this.expectedEdgeKinds[i]??0;a!==s&&n.push(`edge_kind:${i}:${a}!=${s}`)}let c=[...new Set(n)];return{shape:this.shape.name,item_count:this.itemCount,author_count:this.authors.size,component_count:this.components.size,hierarchy_depth:this.observedDepth,hierarchy_fanout:this.observedFanout,timestamp_range:{first:this.firstTimestamp,last:this.lastTimestamp},history_entry_count:this.historyEntryCount,annotations:{...this.annotations},edge_kinds:{...this.edgeKinds},matches_declaration:c.length===0,mismatches:c}}};function Ne(e){return new W(e)}function eu(e,t){let r=Ne(e);for(let n of t)r.add(n);return r.finish()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d19cfa31-a02f-53a7-8685-5d169d6e051d")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c9a34bd-b77a-55ab-a5d1-3594cecfeb3f")}catch{}})();async function tu(){let e=$(process.cwd(),process.env.PM_PATH);await ne(e,(t,r)=>oe(t,r,{apply_runtime_defaults:!0}))}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f48b9002-59dc-54d3-95de-36bf0d11b39a")}catch{}})();var we="https://schema.unbrained.dev/pm/workspace-recipe/v1";function B(e,t){if(e===null||typeof e=="boolean"||typeof e=="string")return e;if(typeof e=="number"){if(!Number.isFinite(e))throw new Error(`Workspace recipe JSON number must be finite at ${t}`);return e}if(Array.isArray(e))return Object.freeze(e.map((r,n)=>B(r,`${t}[${n}]`)));if(typeof e!="object"||Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new Error(`Workspace recipe input must contain JSON values at ${t}`);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,n])=>[r,B(n,`${t}.${r}`)])))}function Pe(e){if(e.schema!==we)throw new Error(`Unsupported workspace recipe schema: ${e.schema}`);let t=Z(e);if(e.operations.some(r=>r.action.trim().length===0||r.input===null||Array.isArray(r.input)))throw new Error("Workspace recipe operations require an action and object input");return Object.freeze({...t,operations:Object.freeze(e.operations.map((r,n)=>Object.freeze({action:r.action,input:B(r.input,`operations[${n}].input`)})))})}async function ke(e,t){let r=Pe(e);return ee(r,t)}async function ru(e,t){return ke(e,async()=>{let r=[];for(let[n,o]of e.operations.entries())r.push(await t(o,n));return r})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a108f4d2-80c3-540e-821c-5acdf68eb7fa")}catch{}})();async function nu(){await ie()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="340305b6-e3c8-5daa-bfbe-4a9c62a6d039")}catch{}})();var Le=["lines","branches","functions","statements"];function ou(e,t){if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(`Coverage entry for ${e} must be an object.`)}function iu(e,t,r){if(typeof r!="object"||r===null||Array.isArray(r))throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);let n=r;if(typeof n.covered!="number"||typeof n.total!="number"||!Number.isInteger(n.covered)||!Number.isInteger(n.total)||n.covered<0||n.total<n.covered)throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);return{covered:n.covered,total:n.total}}function su(e){if(typeof e!="object"||e===null||Array.isArray(e))throw new TypeError("Coverage summary must be a JSON object.");if(!("total"in e))throw new TypeError("Coverage summary is missing the total entry.");let t=[];for(let[r,n]of Object.entries(e)){ou(r,n);for(let o of Le){let c=iu(r,o,n[o]),i=c.total-c.covered;i>0&&t.push({file:r,metric:o,uncovered:i,...c})}}return t}import S from"node:fs";import z from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="611e9aba-d08e-5c1a-89c9-c7fda0cc9bc9")}catch{}})();var Me=300*1e3,au=3;function hO(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function TO(e,t){let r=t.trim();if(!/^[a-zA-Z0-9_-][a-zA-Z0-9._-]*$/.test(r))throw new TypeError("Compile-cache generation must be a safe non-empty filename token.");S.mkdirSync(e,{recursive:!0});let n=z.join(e,r);S.mkdirSync(n,{recursive:!0});let o=new Date;S.utimesSync(n,o,o);let c=S.readdirSync(e).filter(d=>d!==r).flatMap(d=>{try{return[{name:d,mtimeMs:S.statSync(z.join(e,d)).mtimeMs}]}catch(l){if(l instanceof Error&&"code"in l&&Q(l))return[];throw l}}).sort((d,l)=>l.mtimeMs-d.mtimeMs||d.name.localeCompare(l.name)),i=c.filter(d=>o.getTime()-d.mtimeMs<Me),a=Math.max(0,au-1-i.length),s=c.filter(d=>o.getTime()-d.mtimeMs>=Me).slice(a).map(d=>d.name).sort((d,l)=>d.localeCompare(l));for(let d of s)S.rmSync(z.join(e,d),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:r,removed:s}}import ve from"node:fs";import L from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="962636b0-ed3b-5ad0-ae0c-904435025986")}catch{}})();var v="@unbrained/pm-cli",cu=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"]),De=new Set(["--author","--output-budget","--output-format","--output-include","--output-limit","--output-session","--path","--pm-path"]),Y=/\b(\d{4})\.(\d{1,2})\.(\d{1,2})(?:-(\d+))?\b/u;function u(e,t){return e.some(r=>t.includes(r.split("=",1)[0]))}function K(e,t){return["activate","adopt","adopt-all","deactivate","init","install","migrate","reload","uninstall"].includes(t[0]??"")||u(e,["--activate","--adopt","--adopt-all","--deactivate","--fix-managed-state","--init","--install","--output","--reload","--scaffold","--uninstall"])}var du={changelog:(e,t)=>{if(t[0]==="generate")return!u(e,["--check"]);let r=e.indexOf("export");return t[0]==="export"&&(u(e,["--output"])||r>=0&&e[r+1]!==void 0&&!e[r+1].startsWith("-"))},comments:e=>u(e,["--add","--delete","--edit","--file","--stdin"]),config:(e,t)=>(t[0]==="project"||t[0]==="global"?t[1]:t[0])==="set",deps:()=>!1,docs:e=>u(e,["--add","--add-glob","--migrate","--remove"]),duplicates:()=>!1,events:()=>!1,extension:K,files:(e,t)=>u(e,["--add","--add-glob","--migrate","--remove"])||t[0]==="discover"&&u(e,["--apply"]),health:e=>!u(e,["--check-only","--no-refresh","--skip-vectors"]),learnings:e=>u(e,["--add","--delete","--edit","--file","--stdin"]),merge:(e,t)=>t[0]!=="report",notes:e=>u(e,["--add","--delete","--edit","--file","--stdin"]),package:K,packages:K,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]??"")&&!(u(e,["--infer"])&&!u(e,["--apply"])),telemetry:(e,t)=>t.slice(0,2).some(r=>["clear","flush"].includes(r)),templates:(e,t)=>t[0]==="save",test:e=>u(e,["--add","--add-json","--background","--measure","--remove","--resume","--run","--stop"]),validate:e=>u(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 M(e){let t=e.match(Y);return t?[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4]??0)]:null}function k(e,t){let r=M(e),n=M(t);if(!r||!n)return null;for(let o=0;o<r.length;o+=1){let c=r[o]-n[o];if(c!==0)return Math.sign(c)}return 0}function X(e){try{let t=JSON.parse(ve.readFileSync(e,"utf8"));return typeof t=="object"&&t!==null&&!Array.isArray(t)?t:null}catch{return null}}function pu(e){let t=[];for(let r of["dependencies","devDependencies","optionalDependencies","peerDependencies"]){let n=e[r];if(typeof n!="object"||n===null)continue;let o=n[v],c=typeof o=="string"?o.trim():"",i=/^[<!]/u.test(c)?void 0:c.match(Y)?.[0];i&&t.push(i)}return t.sort((r,n)=>k(n,r))[0]}function mu(e){let r=X(L.join(e,"package-lock.json"))?.packages;if(typeof r!="object"||r===null)return;let n=r["node_modules/@unbrained/pm-cli"];if(typeof n!="object"||n===null)return;let o=n.version;return typeof o=="string"?o:void 0}function lu(e,t){try{let r=ve.readFileSync(L.join(e,t),"utf8").split(/\r?\n/u),n=r.findIndex(s=>s.includes(v));if(n<0)return;let o=r[n].match(/^\s*/u)[0].length,c=[r[n]];for(let s=n+1;s<r.length;s+=1){let d=r[s],l=d.trim(),p=d.match(/^\s*/u)[0].length;if(l.length>0&&p<=o)break;c.push(d)}return c.join(`
2
- `).match(/^\s*version(?::\s*|\s+)["']?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/mu)?.[1]??c[0].match(Y)?.[0]}catch{return}}function uu(e){let t=[],r=X(L.join(e,"package.json")),n=r?pu(r):void 0;n&&t.push({version:n,source:"package.json"});let c=X(L.join(e,"node_modules","@unbrained","pm-cli","package.json"))?.version;typeof c=="string"&&M(c)&&t.push({version:c,source:"installed-package"});let i=mu(e);i&&M(i)&&t.push({version:i,source:"package-lock.json"});for(let a of["pnpm-lock.yaml","yarn.lock"]){let s=lu(e,a);s&&t.push({version:s,source:a})}return t}function Ge(e){for(let t=0;t<e.length;t+=1){let r=e[t];if(De.has(r)){t+=1;continue}if(!r.startsWith("-"))return{command:r.toLowerCase(),index:t}}}function fu(e){let t=Ge(e);if(!t||u(e,["--help","-h","--dry-run"]))return!1;let{command:r,index:n}=t,o=[];for(let i=n+1;i<e.length;i+=1){let a=e[i];if(De.has(a)){i+=1;continue}a.startsWith("-")||o.push(a.toLowerCase())}let c=du[r];return c?c(e,o):cu.has(r)}function _u(e){let t=Ge(e.argv)?.command,r=fu(e.argv),o=uu(e.projectRoot).filter(a=>k(a.version,e.executingVersion)!==null).sort((a,s)=>k(s.version,a.version))[0],c=o!==void 0&&k(e.executingVersion,o.version)===-1,i=c&&!r?{code:"project_runtime_stale_read",executing_version:e.executingVersion,project_version:o.version,source:o.source,message:"This read is using an older pm runtime than the project requires.",next_steps:[`Run the command through the project's installed ${v} ${o.version}.`,"Install the project dependencies with its declared package manager if the local executable is missing."]}:void 0;return{compatible:!r||!c||e.allowStale===!0,executing_version:e.executingVersion,...o?{project_version:o.version,source:o.source}:{},...t?{command:t}:{},mutating:r,stale:c,...i?{warning:i}:{},override_applied:c&&r&&e.allowStale===!0}}function SO(e){let t=_u(e);if(t.compatible)return t;throw new H(`pm ${t.executing_version} cannot mutate a project pinned to newer pm ${t.project_version}.`,U.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 ${v} ${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{createHash as hu}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4586a8b2-07c8-53d4-9c5d-ca557ee07977")}catch{}})();var J=1;function O(e){e?.throwIfAborted()}function h(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function R(e,t,r={}){let n=Date.parse(r.createdAt??new Date().toISOString());if(!Number.isFinite(n))throw new TypeError("Relationship graph createdAt must be a valid timestamp");let o=e.nodes(),c=e.edges(),i=t.list();return Object.freeze({version:J,fingerprint:hu("sha256").update(N({nodes:o,edges:c,kinds:i})).digest("hex"),created_at:new Date(n).toISOString(),nodes:o,edges:c,kinds:i})}function Tu(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function x(e){if(!Tu(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==J)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(o=>typeof o!="string"))throw new TypeError("Relationship graph snapshot nodes must be strings");if(!Array.isArray(e.edges)||!Array.isArray(e.kinds))throw new TypeError("Relationship graph snapshot edges and kinds must be arrays");if(typeof e.created_at!="string"||!Number.isFinite(Date.parse(e.created_at)))throw new TypeError("Relationship graph snapshot created_at must be valid");if(typeof e.fingerprint!="string")throw new TypeError("Relationship graph snapshot fingerprint must be a string");let t=new j([]);for(let o of e.kinds)t.register(o);let r=new A(e.nodes,e.edges,t),n=R(r,t,{createdAt:e.created_at});if(n.fingerprint!==e.fingerprint)throw new TypeError("Relationship graph snapshot fingerprint mismatch");return{snapshot:n,registry:t,graph:r}}async function f(e,t){h(e.name,"adapter name");let r=h(t.workspace,"workspace");O(t.signal);let n=await e.read({...t,workspace:r});return O(t.signal),n===null?null:x(n)}async function D(e,t){let r=h(t.workspace,"workspace"),n=x(t.snapshot).snapshot,o=await f(e,{workspace:r,signal:t.signal});if(o?.snapshot.fingerprint===n.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:n.fingerprint,previous_fingerprint:o.snapshot.fingerprint,node_count:n.nodes.length,edge_count:n.edges.length};if(O(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:o?.snapshot.fingerprint??null}),(await f(e,{workspace:r,signal:t.signal}))?.snapshot.fingerprint!==n.fingerprint)throw new Error(`Relationship graph adapter "${e.name}" did not expose the replaced snapshot`);return{adapter:e.name,workspace:r,disposition:"written",fingerprint:n.fingerprint,...o?{previous_fingerprint:o.snapshot.fingerprint}:{},node_count:n.nodes.length,edge_count:n.edges.length}}function gu(e,t={}){let r=e.map(x),n=new Map;for(let i of r)for(let a of i.snapshot.kinds){let s=n.get(a.kind);if(s&&N(s)!==N(a))throw new TypeError(`Conflicting federated relationship kind: ${a.kind}`);n.set(a.kind,a)}let o=new j([...n.values()].sort((i,a)=>i.kind.localeCompare(a.kind))),c=new A(new Set(r.flatMap(i=>[...i.snapshot.nodes])),r.flatMap(i=>[...i.snapshot.edges]),o);return R(c,o,t)}var I=class{name;#e=new Map;constructor(t="memory"){this.name=h(t,"adapter name")}async read(t){O(t.signal);let r=this.#e.get(h(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){O(t.signal);let r=h(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.set(r,structuredClone(x(t.snapshot).snapshot))}async clear(t){O(t.signal);let r=h(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.delete(r)}};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="423d6e5d-93e5-5f29-93e0-11ddca9c3156")}catch{}})();function Fe(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Au(e){let t=Fe(e.nodeCount,"nodeCount"),r=Fe(e.edgeStride??1,"edgeStride"),n=e.topology??"chain";if(!["chain","star","disconnected"].includes(n))throw new TypeError(`Unsupported relationship graph topology: ${n}`);let o=(e.kind??"related").trim(),c=(e.idPrefix??"node").trim();if(!o||!c)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let i=n==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:i,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let a=0;a<t;a+=1)yield`${c}-${a}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let a=r;a<t;a+=r)yield{source:`${c}-${n==="star"?0:a-r}`,target:`${c}-${a}`,kind:o}}}}}function T(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function Ue(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=te(),o=R(new A(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),c=R(new A(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],n),n,{createdAt:"2026-01-02T00:00:00.000Z"}),i=[];T(await f(e,{workspace:r})===null,"workspace must start empty"),i.push({name:"empty-read",passed:!0});let a=await D(e,{workspace:r,snapshot:o});T(a.disposition==="written","first sync must write"),i.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),T((await f(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),i.push({name:"read-isolation",passed:!0}),T((await D(e,{workspace:r,snapshot:o})).disposition==="current","identical sync must be idempotent"),i.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:c,expected_fingerprint:o.fingerprint}),T((await f(e,{workspace:r}))?.snapshot.fingerprint===c.fingerprint,"replacement must become visible"),i.push({name:"replacement-visibility",passed:!0});let d=!1;try{await e.replace({workspace:r,snapshot:o,expected_fingerprint:o.fingerprint})}catch{d=!0}return T(d,"stale compare-and-swap must fail"),i.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:c.fingerprint}),T(await f(e,{workspace:r})===null,"clear must remove the workspace"),i.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(i),clear_supported:e.clear!==void 0}}function Cu(e){return Ue(new I,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b5509c6e-1431-5316-a563-16681ced4f33")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();import{createHash as He}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54a3448c-719c-5404-a9b9-c3072a2fdce2")}catch{}})();function $e(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function XO(e,t){let r=$e(t.migrationId,"migrationId"),n=$e(t.author,"author"),o=Date.parse(t.timestamp);if(!Number.isFinite(o))throw new TypeError("Relationship backfill timestamp must be valid");let c=new Date(o).toISOString(),i=V(e,void 0,t.registry),a=i.graph.nodes(),s=i.graph.edges().map(m=>{let g=He("sha256").update(JSON.stringify([r,m.kind,m.source,m.target,m.createdAt??null,m.author??null,m.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${g}`,relationshipId:`migration:${r}:${g}`,action:"add",edge:m,author:n,timestamp:c,reason:`Backfill ${r} from legacy item metadata`})}),d=He("sha256").update(JSON.stringify({migrationId:r,nodes:a,events:s})).digest("hex"),l=new Set([...t.existingEventIds??[]].filter(m=>typeof m=="string").map(m=>m.trim()).filter(Boolean)),p=s.filter(m=>!l.has(m.eventId));return Object.freeze({migration_id:r,fingerprint:d,nodes:a,events:Object.freeze(p),edge_count:s.length,skipped_existing_count:s.length-p.length,duplicate_dependency_rows:i.duplicateRows.length,dangling_reference_count:i.dangling.active.length+i.dangling.legacy_terminal.length})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="e96813c2-e30f-5000-9935-281c564c19aa")}catch{}})();var Eu=["suggested_retry","candidate_command","example","next_step","migration_hint","restore_with"],yu={suggested_retry:{kind:"suggested_retry",semantics:"recovery"},candidate_command:{kind:"candidate_command",semantics:"recovery"},candidate_commands:{kind:"candidate_command",semantics:"recovery"},example:{kind:"example",semantics:"recovery"},examples:{kind:"example",semantics:"recovery"},next_step:{kind:"next_step",semantics:"recovery"},next_steps:{kind:"next_step",semantics:"recovery"},migration_hint:{kind:"migration_hint",semantics:"replacement"},migration_hints:{kind:"migration_hint",semantics:"replacement"},restore_with:{kind:"restore_with",semantics:"behavior_preserving"}};function JO(e,t){let r=[],n=(o,c)=>{if(Array.isArray(o)){o.forEach((i,a)=>n(i,[...c,String(a)]));return}if(!(typeof o!="object"||o===null))for(let[i,a]of Object.entries(o).sort(([s],[d])=>s.localeCompare(d))){let s=yu[i],d=s?.kind==="migration_hint"&&o.semantics==="behavior_preserving"?{...s,semantics:"behavior_preserving"}:s,l=Array.isArray(a)?a:[a];d!==void 0&&l.forEach((p,m)=>{if(typeof p!="string"||p.trim().length===0)return;let g=[...c,i,String(m)].map(G=>encodeURIComponent(G)).join("/");r.push({id:`${e}:${d.kind}:${g}`,probe_id:e,kind:d.kind,semantics:d.semantics,value:p})}),n(a,[...c,i])}};return n(t,[]),r}function qO(e,t){let r=e.flatMap(i=>(i.owned_states??[]).map(a=>({contract:i,state:a}))),n=[],o=new Map;for(let i of t){if(o.has(i.probe_id)){n.push({kind:"duplicate_probe",probe_id:i.probe_id,detail:`Observation ${i.probe_id} was supplied more than once.`});continue}o.set(i.probe_id,i)}let c=new Set(r.map(({state:i})=>i.probe_id));for(let{contract:i,state:a}of r){let s=o.get(a.probe_id);if(!s){n.push({kind:"missing_probe",probe_id:a.probe_id,detail:`No entrypoint observation was recorded for ${i.code}.`});continue}s.code!==i.code&&n.push({kind:"wrong_error_code",probe_id:a.probe_id,detail:`Expected ${i.code}; observed ${s.code}.`}),s.exit_class!==a.expected_exit_class&&n.push({kind:"wrong_exit_class",probe_id:a.probe_id,detail:`Expected ${a.expected_exit_class}; observed ${s.exit_class}.`}),a.entrypoints.includes(s.entrypoint)||n.push({kind:"wrong_entrypoint",probe_id:a.probe_id,detail:`Expected one of ${a.entrypoints.join(", ")}; observed ${s.entrypoint}.`})}for(let i of t)c.has(i.probe_id)||n.push({kind:"undeclared_probe",probe_id:i.probe_id,detail:`Observation ${i.probe_id} has no catalog declaration.`});return n.sort((i,a)=>i.probe_id!==a.probe_id?i.probe_id.localeCompare(a.probe_id):i.kind.localeCompare(a.kind)),{ok:n.length===0,declared_probe_count:r.length,observed_probe_count:t.length,findings:n}}function QO(e,t){let r=[],n=new Set,o=new Set;for(let s of e){if(n.has(s.id)){o.add(s.id),r.push({kind:"duplicate_obligation",reference_id:s.id,detail:`Recovery obligation ${s.id} was declared more than once.`});continue}n.add(s.id)}let c=new Map;for(let s of t){if(c.has(s.id)){r.push({kind:"duplicate_observation",reference_id:s.id,detail:`Recovery reference ${s.id} was observed more than once.`});continue}c.set(s.id,s),n.has(s.id)||r.push({kind:"undeclared_observation",reference_id:s.id,detail:`Recovery observation ${s.id} has no emitted obligation.`})}for(let s of e){if(o.has(s.id))continue;let d=c.get(s.id);d?d.reachable?d.semantics!==s.semantics&&r.push({kind:"wrong_semantics",reference_id:s.id,detail:`Recovery reference ${s.value} promised ${s.semantics}; proof demonstrated ${d.semantics}.`}):r.push({kind:"unreachable_reference",reference_id:s.id,detail:`Recovery reference ${s.value} did not reach its promised target.`}):r.push({kind:"missing_observation",reference_id:s.id,detail:`No reachability proof was recorded for ${s.kind} ${s.value}.`})}let i=Eu.map(s=>{let d=e.filter(p=>p.kind===s),l=d.filter(p=>!o.has(p.id)).map(p=>c.get(p.id)).filter(p=>p!==void 0);return{kind:s,declared:d.length,observed:l.length,passed:d.filter(p=>{let m=c.get(p.id);return!o.has(p.id)&&m?.reachable===!0&&m.semantics===p.semantics}).length}});r.sort((s,d)=>s.reference_id!==d.reference_id?s.reference_id.localeCompare(d.reference_id):s.kind.localeCompare(d.kind));let a=i.reduce((s,d)=>s+d.passed,0);return{ok:r.length===0,declared_reference_count:e.length,observed_reference_count:t.length,pass_fraction:n.size===0?1:a/n.size,coverage_by_kind:i,findings:r}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7fc669d4-1db2-5636-8304-2c111a684726")}catch{}})();function eR(e){return e}function tR(e){return e}function rR(e){return e}function nR(e){return e}function oR(e){return e}function iR(e){return e}function sR(e){return e}function aR(e){return e}function cR(e){return e}function dR(e){return e}function pR(e){return e}function mR(e){return e}function lR(e){return e}function uR(e){return{handled:!0,result:e}}function fR(){return{handled:!1}}function _R(e){return e}function hR(e){return e}function TR(e){return e}function gR(e){return e}function AR(e){return e}function CR(e){return e}function ER(e){return e}function yR(e){return e}function SR(e){return e}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5bbfab95-010d-5507-ab01-f8f43943d295")}catch{}})();function Su(e={},t={}){return new w(t).extension(void 0,{...e,migrate:!0})}function Ou(e={},t={}){return new w(t).packageMigrate(e)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99a9b24a-4bc7-50da-8333-e76086f0e303")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0baaaf38-2a32-5d6e-92bc-9919d2393f86")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9ec91496-fc1e-5be5-a8e8-145d884b0ef7")}catch{}})();export{iC as ACTIONABILITY_ORDERING_KINDS,en as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,Yo as ACTIVITY_FLAG_CONTRACTS,kt as AGENT_PROVENANCE_DIMENSIONS,Ln as AGGREGATE_FLAG_CONTRACTS,Co as APPEND_FLAG_CONTRACTS,tC as ASSURANCE_ACTIONS,rC as ASSURANCE_DECLARATION_KINDS,nA as ASSURANCE_DOCUMENT_VERSION,Ho as ASSURANCE_FLAG_CONTRACTS,oA as ASSURANCE_GATE_TRIGGERS,iA as ASSURANCE_MEASUREMENT_SOURCE_KINDS,yA as ASSURANCE_PRESET_IDS,Zg as AssuranceEvaluationRefusalError,Qg as AssuranceMutationRefusalError,eA as AssuranceSourceResolutionError,Tt as BASELINE_ITEM_FORMAT_VERSION,EC as BRIEF_LIST_FIELDS,y as BUILTIN_CORPUS_SHAPES,Lt as BUILTIN_HARNESS_SIGNAL_DESCRIPTORS,Xe as BUILTIN_ITEM_TYPE_VALUES,_e as BUILTIN_PROFILES,of as BUILTIN_RELATIONSHIP_KINDS,qr as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,Xo as CALENDAR_FLAG_CONTRACTS,Eo as CLAIM_FLAG_CONTRACTS,fi as CLOSE_ACTION_OPTION_KEYS,go as CLOSE_FLAG_CONTRACTS,Ao as CLOSE_MANY_FLAG_CONTRACTS,Io as CLOSE_TASK_FLAG_CONTRACTS,Mn as COMMENTS_FLAG_CONTRACTS,qu as COMMON_MUTATION_COMMAND_OPTION_KEYS,ai as COMPLETION_FLAG_CONTRACTS,et as CONFIDENCE_TEXT_VALUES,Yn as CONFIG_FLAG_CONTRACTS,Qr as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,LC as CONTEXT_EVALUATION_METRIC_NAMES,qo as CONTEXT_FLAG_CONTRACTS,me as CONTEXT_OUTPUT_VALUES,FC as CONTEXT_PACKING_PROFILES,NC as CONTEXT_RELEVANCE_SERVICE,IC as CONTEXT_RELEVANCE_SIGNAL_NAMES,zC as CONTEXT_SIGNAL_SET_VERSION,BC as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,KC as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,si as CONTRACTS_FLAG_CONTRACTS,Wo as COPY_FLAG_CONTRACTS,on as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,an as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,sn as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,xu as CREATE_DIRECT_CLOSE_REASON_DEFAULT,$o as CREATE_FLAG_CONTRACTS,Eh as CURRENT_HISTORY_ITEM_HASH_VERSION,gt as CURRENT_ITEM_FORMAT_VERSION,qC as ContextSignalStore,HC as ContextUsageValidationError,Bg as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,wE as DEFAULT_CHILD_SAMPLE_LIMIT,CC as DEFAULT_COMPACT_LIST_FIELDS,AT as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Td as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,lE as DEFAULT_TERMINAL_TRANSITION_POLICY,tE as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,So as DELETE_FLAG_CONTRACTS,qe as DEPENDENCY_KIND_VALUES,ei as DEPS_FLAG_CONTRACTS,Fn as DOCS_FLAG_CONTRACTS,Go as DUPLICATES_FLAG_CONTRACTS,ri as EVAL_FLAG_CONTRACTS,ud as EVAL_QUERY_SET_CONTRACT,fd as EVAL_QUERY_SET_EXAMPLE,ld as EVAL_QUERY_SET_SCHEMA_ID,Jo as EVENTS_FLAG_CONTRACTS,No as EVENT_FLAG_CONTRACTS,Xr as EXECUTABLE_COMMAND_ALIASES,U as EXIT_CODE,so as EXTENSION_ACTIVATE_FLAG_CONTRACTS,io as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,fo as EXTENSION_ADOPT_FLAG_CONTRACTS,xg as EXTENSION_CAPABILITIES,Iu as EXTENSION_CAPABILITY_CONTRACT,Ru as EXTENSION_CAPABILITY_CONTRACT_VERSION,bu as EXTENSION_CAPABILITY_LEGACY_ALIASES,dt as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,uo as EXTENSION_CATALOG_FLAG_CONTRACTS,ao as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,oo as EXTENSION_DESCRIBE_FLAG_CONTRACTS,lo as EXTENSION_DOCTOR_FLAG_CONTRACTS,no as EXTENSION_EXPLORE_FLAG_CONTRACTS,Jn as EXTENSION_FLAG_CONTRACTS,Qn as EXTENSION_INIT_FLAG_CONTRACTS,to as EXTENSION_INSTALL_FLAG_CONTRACTS,po as EXTENSION_MANAGE_FLAG_CONTRACTS,co as EXTENSION_MIGRATE_FLAG_CONTRACTS,Ng as EXTENSION_POLICY_MODES,wg as EXTENSION_POLICY_SURFACES,mo as EXTENSION_RELOAD_FLAG_CONTRACTS,kg as EXTENSION_SANDBOX_PROFILES,qn as EXTENSION_SCOPE_FLAG_CONTRACTS,Pg as EXTENSION_TRUST_MODES,ro as EXTENSION_UNINSTALL_FLAG_CONTRACTS,xA as EXTERNAL_DEPENDENCY_SOURCE_KIND,NA as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,Gn as FILES_FLAG_CONTRACTS,Bo as FOCUS_FLAG_CONTRACTS,vo as GC_FLAG_CONTRACTS,Qo as GET_FLAG_CONTRACTS,Pn as GLOBAL_FLAG_CONTRACTS,ds as GRAPH_DURABLE_CACHE_MIN_ITEMS,cs as GRAPH_DURABLE_CACHE_VERSION,ti as GRAPH_FLAG_CONTRACTS,Jt as GRAPH_SUBCOMMAND_VALUES,Zo as GUIDE_FLAG_CONTRACTS,Fo as HEALTH_FLAG_CONTRACTS,Vn as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,vA as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,uy as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,Wn as HISTORY_COMPACT_FLAG_CONTRACTS,Un as HISTORY_FLAG_CONTRACTS,$n as HISTORY_REDACT_FLAG_CONTRACTS,jn as HISTORY_REPAIR_FLAG_CONTRACTS,sd as INIT_AGENT_GUIDANCE_MODE_VALUES,Xn as INIT_FLAG_CONTRACTS,_o as INSTALL_FLAG_CONTRACTS,Ze as ISSUE_SEVERITY_VALUES,Vo as ITEM_COMPLETE_FLAG_CONTRACTS,JE as ITEM_LATEST_TIMESTAMP_FIELDS,wu as ITEM_METADATA_KEY_ORDER,jo as ITEM_MUTATE_FLAG_CONTRACTS,Ye as ITEM_TYPE_VALUES,YE as ITEM_UNION_COLLECTION_FIELDS,JC as JsonFileContextSignalStoreAdapter,Dn as LEARNINGS_FLAG_CONTRACTS,Mc as LINKED_TEST_ENV_NAME_PATTERN,vc as LINKED_TEST_PM_CONTEXT_MODE_VALUES,Lc as LINKED_TEST_PROTECTED_ENV_KEYS,Yr as LIST_COMMANDER_STRING_OPTION_CONTRACTS,yC as LIST_COMMAND_DEFAULT_PROJECTIONS,Mg as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,kn as LIST_FILTER_FLAG_CONTRACTS,gC as LIST_SORT_FIELDS,AC as LIST_SORT_ORDER_VALUES,NE as MAX_CHILD_PROJECTION_ITEMS,xo as MEET_FLAG_CONTRACTS,ZE as MERGE_DRIVER_ARTIFACT_VALUES,Hn as MERGE_FLAG_CONTRACTS,I as MemoryRelationshipGraphAdapter,Zr as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,oi as NEXT_FLAG_CONTRACTS,_c as NEXT_OUTPUT_VALUES,vn as NOTES_FLAG_CONTRACTS,Zn as PACKAGE_FLAG_CONTRACTS,eo as PACKAGE_INIT_FLAG_CONTRACTS,bo as PAUSE_TASK_FLAG_CONTRACTS,ui as PLAN_CREATE_METADATA_PARAMETER_KEYS,Kn as PLAN_FLAG_CONTRACTS,Jc as PLAN_SHOW_DEPTH_VALUES,Yc as PLAN_SUBCOMMANDS,qc as PLAN_TEMPLATE_NAMES,yi as PM_CLI_EXPECTED_ERROR_NAME,Qt as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,gE as PM_COMMAND_EXIT_CONTRACTS,TE as PM_COMMAND_EXIT_OUTCOME_CONTRACTS,mr as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,Ry as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,Wd as PM_COMMAND_VISIBILITY_CONTRACTS,Dg as PM_CONTEXT_INTENTS_FILE,ah as PM_CONTEXT_INTENT_CONTRACTS,Yt as PM_CORE_COMMAND_NAMES,_ as PM_CORPUS_SHAPE_SCHEMA,yy as PM_ERROR_CODE_CATALOG,gy as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,Le as PM_EXACT_COVERAGE_METRICS,Vt as PM_EXTENSION_CAPABILITY_CONTRACTS,qt as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,Bt as PM_EXTENSION_POLICY_MODE_CONTRACTS,Xt as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Kt as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,Wt as PM_EXTENSION_SERVICE_NAME_CONTRACTS,zt as PM_EXTENSION_TRUST_MODE_CONTRACTS,jA as PM_GITATTRIBUTES_END,$A as PM_GITATTRIBUTES_START,WA as PM_GITATTRIBUTES_V2_END,VA as PM_GITATTRIBUTES_V2_START,xi as PM_GITIGNORE_END,Ii as PM_GITIGNORE_START,Jd as PM_MCP_PROMPT_CONTRACTS,Yd as PM_MCP_RESOURCE_CONTRACTS,Kd as PM_MCP_TOOL_COMMAND_CONTRACTS,f_ as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,Mr as PM_MUTATION_ACTION_CONTRACTS,ar as PM_OUTPUT_BUDGET_CLASSES,sr as PM_OUTPUT_DEGRADATION_STEPS,Sy as PM_OUTPUT_ENVELOPE_KINDS,ce as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,ae as PM_PACKAGE_RESOURCE_KINDS,Ei as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,Ai as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,Y_ as PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS,z_ as PM_READ_OUTPUT_DIMENSIONS,X_ as PM_READ_OUTPUT_OPTION_FLAGS,$_ as PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS,H_ as PM_READ_OUTPUT_SESSION_MIN_TOKENS,K_ as PM_READ_OUTPUT_SURFACES,J_ as PM_READ_OUTPUT_SURFACE_CONTRACTS,u_ as PM_READ_ROW_CONTRACTS,l_ as PM_READ_ROW_JQ_SELECTOR,Eu as PM_RECOVERY_REFERENCE_KINDS,AE as PM_SUCCESS_EXIT_CODES,Zt as PM_TOOL_ACTIONS,_i as PM_TOOL_ACTION_PARAMETER_CONTRACTS,Ci as PM_TOOL_PARAMETERS_SCHEMA,gi as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Ti as PM_TOOL_PARAMETERS_SCHEMA_VERSION,mi as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,we as PM_WORKSPACE_RECIPE_SCHEMA,zn as PROFILE_FLAG_CONTRACTS,ye as PROFILE_LINT_CODES,Ee as PROFILE_LINT_DIMENSIONS,fe as PROFILE_NAMES,vd as PROFILE_SUBCOMMANDS,H as PmCliError,w as PmClient,w_ as QUERY_CURSOR_CONTRACT,To as REINDEX_FLAG_CONTRACTS,fT as REINDEX_LOCK_ID,J as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Oo as RELEASE_FLAG_CONTRACTS,wo as REMIND_FLAG_CONTRACTS,re as RESERVED_ITEM_FIELD_NAMES,yo as RESTORE_FLAG_CONTRACTS,Qe as RISK_VALUES,Cg as RelationshipEventLog,Eg as RelationshipEventStore,A as RelationshipGraph,j as RelationshipKindRegistry,Bn as SCHEMA_FLAG_CONTRACTS,Jr as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,vg as SEARCH_EXTENSION_FLAG_DEFINITIONS,ii as SEARCH_FLAG_CONTRACTS,qa as SEMANTIC_ATTRIBUTION_LIMITS,Pu as SETTINGS_DEFAULTS,yd as SNAPSHOT_SCHEMA,FA as SOURCE_CONTEXT_ACCESS_ENV,UA as SOURCE_CONTEXT_WRITE_OVERRIDE_ENV,Ro as START_TASK_FLAG_CONTRACTS,Do as STATS_FLAG_CONTRACTS,Je as STATUS_VALUES,wn as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,yh as SUPPORTED_HISTORY_ITEM_HASH_VERSIONS,c_ as SUPPRESS_HOST_OUTPUT_MARKER,Lo as TELEMETRY_FLAG_CONTRACTS,Tp as TELEMETRY_SUBCOMMANDS,ko as TEST_ALL_FLAG_CONTRACTS,Po as TEST_FLAG_CONTRACTS,Mo as TEST_RUNS_FLAG_CONTRACTS,lp as TEST_RUN_MEASUREMENT_LIMIT,On as TOOL_ACTIVITY_OPTION_CONTRACTS,ln as TOOL_AGGREGATE_OPTION_CONTRACTS,Cn as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,Sn as TOOL_CALENDAR_OPTION_CONTRACTS,yn as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,Rn as TOOL_CONTEXT_OPTION_CONTRACTS,Tn as TOOL_CREATE_OPTION_CONTRACTS,hn as TOOL_CREATE_OPTION_CONTRACT_SOURCE,bn as TOOL_DEPS_OPTION_CONTRACTS,In as TOOL_GRAPH_OPTION_CONTRACTS,mn as TOOL_LIST_FILTER_OPTION_CONTRACTS,un as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,_n as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,fn as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,En as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,An as TOOL_UPDATE_OPTION_CONTRACTS,gn as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,Nu as TYPE_TO_FOLDER,zu as UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES,cn as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,pn as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,dn as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,zo as UPDATE_FLAG_CONTRACTS,Ko as UPDATE_MANY_FLAG_CONTRACTS,ho as UPGRADE_FLAG_CONTRACTS,Uo as VALIDATE_FLAG_CONTRACTS,ni as WORKSPACE_FLAG_CONTRACTS,Tr as WORKSPACE_HISTORY_ID,Hi as WorkspaceGraphCache,bg as WorkspaceTransactionInterruptedError,Ri as _testOnly,bC as _testOnlyAggregateCommand,id as _testOnlyConfigCommand,ME as _testOnlyGetCommand,na as _testOnlyHealthCommand,pd as _testOnlyInit,ad as _testOnlyInitAgentGuidance,qy as _testOnlyItemTransaction,cy as _testOnlyMutationEvents,dE as _testOnlyNextCommand,zE as _testOnlySearchCommand,bE as _testOnlySimilarity,wd as _testOnlyTemplates,xa as _testOnlyValidateCommand,bA as acceptAssuranceProposals,Ns as acknowledgeUnknownAuthorHistoryEvents,xs as acknowledgeUnknownAuthorHistoryEventsFromTransport,CT as acquireItemMetadataDerivedIndexLock,hr as acquireLock,dS as activateExtensionForTest,gf as activateExtensions,Pt as agentSessionEnvironment,lm as aggregate,tp as analyzeAgentProvenanceDescriptorCoverage,Sg as analyzeGraphImpact,Og as analyzeKnowledgeGraph,SE as analyzePmCommandExitConformance,er as analyzePmToolActionParity,ty as analyzeReconciliationDiscard,yg as analyzeRelationshipExecution,ts as analyzeRelationshipSchedule,Gl as analyzeSdkActionCoverage,se as analyzeSdkCliParameterCompleteness,Om as append,_r as appendHistoryEntry,Er as appendWorkspaceAuditEvent,Cr as appendWorkspaceHistoryChange,jh as applyAcceptanceCriteriaMutations,OA as applyAssurancePreset,jl as applyBootstrapPagerPolicy,lh as applyContextIntentProjection,fc as applyContextTagProjection,SC as applyFilterValueEcho,ug as applyHistoryPatch,Yl as applyInvocationAuthorOverride,da as applyPathMigrations,oh as applyReadOutputDimensions,eh as applyReadOutputIncludeModes,V_ as applyReadOutputSessionReferences,Wf as applyRegisteredItemFieldDefaultsAndValidation,ua as applyStandaloneNote,qs as applyStoredExtensionMigrationState,Wh as applyTagRemovals,hE as applyTerminalOrderingPolicy,fa as artifactKey,Du as asRecordClone,vu as asRecordOrNull,V as assembleWorkspaceRelationshipGraph,VS as assertExtensionBlueprint,jS as assertExtensionCapabilityUsage,OS as assertExtensionDeactivated,zS as assertExtensionManifestCompatible,BS as assertExtensionManifestMatchesBlueprint,KS as assertExtensionPreflight,fy as assertHistoryCompactTarget,ny as assertHistoryRepairTarget,pa as assertLinkedArtifactMutationIsUnambiguous,Cu as assertMemoryRelationshipGraphAdapterConformance,Kh as assertNoUnknownCsvKeys,RS as assertPackageManifest,Hh as assertParentReferenceIsNotSelf,WS as assertProjectProfile,SO as assertProjectRuntimeCompatibility,__ as assertProjectionModeChoice,bS as assertRegisteredCommandContract,DS as assertRegisteredCommandOverride,kS as assertRegisteredExporter,IS as assertRegisteredFlags,xS as assertRegisteredHook,PS as assertRegisteredImporter,LS as assertRegisteredItemField,MS as assertRegisteredItemType,$S as assertRegisteredMigration,GS as assertRegisteredParserOverride,FS as assertRegisteredPreflightOverride,vS as assertRegisteredProfile,US as assertRegisteredRendererOverride,NS as assertRegisteredSearchProvider,HS as assertRegisteredServiceOverride,wS as assertRegisteredVectorStoreAdapter,df as assertRelationshipEdgeAllowed,Ue as assertRelationshipGraphAdapterConformance,sA as assuranceAssertionUpdateIsLoosening,_h as attachContextIntentReceipt,E_ as attachOutputOmissionReceipt,Th as attachOutputTokenAccounting,hh as attachReadOutputContracts,W_ as attachReadOutputSessionReceipt,Gs as auditMergeAttributeFence,BA as auditMergeDriverConfiguration,ss as auditWorkspaceRelationshipGraph,xt as boundAgentEpisodeIdentity,G_ as boundReadOutputRows,pc as buildChildrenByParent,DE as buildCompactSearchFilterSummary,OC as buildContentFilterEcho,YC as buildContextSignalSnapshot,Zl as buildCorpusShapeItemPlan,Ks as buildExtensionDescribeResult,RC as buildGovernanceMissingFilterEcho,oT as buildInvalidTypeError,PE as buildItemChildrenRollup,Yy as buildItemCompletionMutations,xC as buildItemContextRelevanceCandidates,bT as buildItemNotFoundError,LE as buildItemSchedule,vs as buildMergeAttributePatterns,hi as buildPmActionToolInputSchema,LA as buildRelationshipContext,wT as buildSearchCorpus,kT as buildSemanticCorpusInput,FT as buildVectorizationEmbeddingIdentity,UT as buildVectorizationEmbeddingMetadata,GE as buildVerboseSearchFilters,rE as buildWorkspaceMemorySnapshot,It as canonicalDocument,Qu as canonicalizeCommandOptionKey,sf as canonicalizeRelationshipKind,aS as checkExtensionManifestCompatibility,sl as claim,al as claimNext,DA as classifyHistoryAuthorEvent,dy as classifyHostEnvironmentFault,BE as classifyImplicitSemanticFallbackReason,Et as classifyItemFormatVersion,Cp as classifyLinkedTestFailure,vf as clearActiveExtensionHooks,fs as clearDurableGraphCache,o_ as clearFocusedItem,Pi as clearWorkspaceContractsCache,il as close,Ec as closeItem,_l as closeTask,Bl as coalesceRepeatedListFlags,sC as collectBlockedByIds,cC as collectBlockedByIdsFromCorpus,Gi as collectDanglingDependencyReferences,pC as collectDependencyBlockedIds,vi as collectDuplicateDependencyRows,is as collectDuplicateRelationshipEdgeGroups,WE as collectErrorCauseCodes,Fi as collectMissingDependencyTargetIds,xc as collectNewOrderingCycleWarnings,rs as collectOrderingCycles,Di as collectOrderingStorageContradictions,Ug as collectPackageContextIntentContracts,pe as collectPackageExtensionDirectories,jf as collectRegisteredItemFieldNames,Jf as collectRuntimeCreateFieldValues,iT as collectRuntimeFilterValues,qf as collectRuntimeUpdateFieldValues,ic as collectSubtreeIds,pt as collectUsedExtensionCapabilities,Zu as commandOptionFlagLabel,_m as comments,Yp as commitImportedItem,Jy as commitItemCompletion,Xy as commitItemMutations,Ig as commitWorkspaceTransaction,Nn as compactFlagAliasContracts,sc as compareCriticalItems,k as comparePmDateVersions,Rg as compareRelationshipSnapshots,Gu as compareTimestampStrings,Jg as compileHistoryProvenanceMatcher,ph as composeContextIntentContracts,eS as composeExtension,sS as composeExtensionPackage,mC as computeActionabilityReport,Lh as computeHistoryDiff,Zi as computeRelationshipCentrality,Qi as computeRelationshipDominators,Ui as computeWorkspaceGraphFingerprint,bm as config,Mf as consumeAfterCommandAffectedItems,am as context,fh as contextIntentRowId,dl as copy,Ep as countFailureCategories,v_ as countReadOutputRows,nl as create,SA as createAssurancePreset,eC as createAssuranceWorkspaceContext,Uu as createCheckpointId,Af as createCoreCommandHookContext,Ne as createCorpusShapeMeasurement,mA as createEmptyAssuranceDocument,mf as createEmptyExtensionRegistrationRegistry,bi as createExtensionCommandSdk,ct as createExtensionContributionInventory,XS as createExtensionTestHarness,fr as createHistoryEntry,tg as createLazyModule,RT as createMutationGuardSdk,h_ as createOutputOmissionReceipt,Si as createPmCliExpectedError,Jl as createPmCliProgram,dr as createPmCommandOutputBudget,S_ as createQueryFingerprint,Au as createRelationshipGraphScaleFixture,R as createRelationshipGraphSnapshot,te as createRelationshipKindRegistry,FE as createSearchCursorFingerprint,Cf as createSerialQueue,Xh as createStdinTokenResolver,Ku as createUnknownSubcommandError,Sd as createWorkspaceSnapshot,pS as deactivateExtensionForTest,fR as declineServiceOverride,uh as decodeContextIntentCursor,eg as decodeHtmlEntitiesInOptions,I_ as decodeQueryCursor,R_ as decodeQueryCursorEnvelope,b_ as decodeQueryCursorState,U_ as decodeReadOutputContinuationCursor,ha as dedupeLinkedArtifacts,wC as defaultScoreContextCandidates,CR as defineAfterCommandHook,gR as defineBeforeCommandHook,AR as defineBeforeMutationHook,rR as defineCommand,dR as defineCommandOverride,E as defineCorpusShape,TR as defineExporter,Qy as defineExtension,Zy as defineExtensionBlueprint,eR as defineExtensionManifest,nR as defineFlag,hR as defineImporter,iR as defineItemField,oR as defineItemType,sR as defineMigration,SR as defineOnIndexHook,yR as defineOnReadHook,ER as defineOnWriteHook,pR as defineParserOverride,pr as definePmCommandOutputBudget,Oy as definePmCommandOutputEnvelope,Ay as definePmErrorCodeCatalog,mR as definePreflightOverride,tR as defineProjectProfile,_R as defineRendererOverride,aR as defineSearchProvider,lR as defineServiceOverride,cR as defineVectorStoreAdapter,Pe as defineWorkspaceRecipe,pl as deleteItem,Nd as deleteWorkspaceSnapshot,pf as dependencyToRelationship,ym as deps,RA as deriveAssuranceProposals,rS as deriveExtensionCapabilities,OE as derivePmBulkMutationEffect,JO as derivePmRecoveryReferenceObligations,$s as deriveSchemaEvolutionMigrationId,KT as deriveTelemetryCommandResolution,dT as describeAllowedTransitions,GA as describeExtensionActivation,nS as describeExtensionBlueprint,ja as describeItemOwnershipConflict,Ae as describeProfileComposition,Ce as describeProjectProfile,vy as describeUnknownError,Gt as detectAgentIdentity,$t as detectHarnessIdentity,Ji as detectRelationshipCommunities,Ft as diagnoseAgentIdentity,as as diffRelationshipAuditSnapshots,_p as diffTestRunMeasurements,hf as discoverExtensions,nt as discoverNearbyPmRoot,uu as discoverProjectRuntimeVersionPins,Em as docs,fm as duplicates,ps as durableGraphCachePath,_s as durableGraphCacheStatus,At as effectiveItemFormatVersion,pg as emitTelemetryErrorEvent,Xp as emptyImportedDocument,O_ as encodeQueryCursor,F_ as encodeReadOutputContinuationCursor,Mh as enforceHistoryStreamPolicyForItem,vh as enforceHistoryStreamPolicyForItems,hy as enrichCliFlagInvocationContract,Ty as enrichCliFlagInvocationContracts,_g as ensureMaterializedHistoryTarget,wi as ensurePmGitignore,oa as ensureScope,zT as ensureSentryInit,Kp as ensureTrackerInitialized,Xi as enumerateRelationshipPaths,ur as estimatePmOutputTokens,uA as evaluateAssuranceAssertion,fA as evaluateAssuranceGate,MC as evaluateContextRanking,lA as evaluateMeasurement,Dr as evaluateMutationGuard,ap as evaluateProvenanceCoverage,op as evaluateSemanticAttributionCoverage,kc as evaluateSimilarityGovernance,cT as evaluateTransition,LT as executeEmbeddingBatchesWithRetry,DT as executeVectorDelete,GT as executeVectorReset,vT as executeVectorUpsert,ru as executeWorkspaceRecipe,la as expandAddGlobEntries,ya as explainSourceTraceability,hl as extension,gl as extensionActivate,Al as extensionDeactivate,Tl as extensionList,Su as extensionMigrate,mg as extractPatchFailureContext,ba as extractReferencedPmItemIdsFromCommand,gu as federateRelationshipGraphSnapshots,gm as files,Am as filesDiscover,Cm as filesLookup,su as findCoverageDeficits,Pc as findDuplicateClusters,Ms as findGitWorkspaceRoot,Bs as findInstalledNpmPackageCandidate,qi as findRedundantRelationshipEdges,es as findRelationshipCutStructure,wc as findSimilarItems,dg as finishTelemetryCommand,Wu as flattenFlagListValue,nu as flushTelemetryQueue,ll as focus,Yi as forEachMatchedRelationshipEdge,os as formatDuplicateEdgeGroup,ns as formatOrderingStorageContradiction,Vd as formatProfileApplyHuman,jd as formatProfileLintHuman,Hd as formatProfileListHuman,$d as formatProfileShowHuman,Ws as formatSchemaEvolutionMigrationHuman,qm as gc,xr as generateItemId,pm as get,Pf as getActiveCommandResult,ch as getActiveContextIntentContracts,lt as getActiveExtensionRegistrations,hA as getAssuranceDeclaration,Ll as getContracts,r_ as getFocusedItem,st as getHistoryPath,Ag as getItemAt,it as getItemPath,Ur as getMutationActionContract,Ni as getPmGitignoreBlock,ot as getSettingsPath,kl as getWorkspaceContracts,gr as getWorkspaceHistoryPath,Sm as graph,ms as graphAuditBaselinePath,ip as groupHistoryByEpisode,uR as handleServiceOverride,ci as hasSubcommandFlagContractsForCommand,HT as hasVectorizationEmbeddingIdentityChanged,$T as hasVectorizationVectorDimensionChanged,Sh as hashDocument,Oh as hashDocumentForVersion,Rh as hashEmptyDocument,Jm as health,Wi as hierarchyAncestors,Bi as hierarchyDescendants,tl as historyCompact,rl as historyCompactBulk,Yg as historyEntryMatchesProvenance,Qm as historyRedact,Zm as historyRepair,el as historyRepairAll,aC as indexBlockedByIds,jT as inferConsistentVectorDimension,cr as inferPmOutputBudgetClass,Rm as init,Ss as inspectHistoryAuthorStream,_u as inspectProjectRuntimeCompatibility,zr as inspectStaleInProgressItems,Ar as inspectWorkspaceHistoryState,Od as inspectWorkspaceSnapshot,Hs as installMergeFence,Tc as isAlreadyClaimedError,Fy as isCommanderError,Ga as isErrnoError,wA as isExternalDependencySourceKind,p_ as isHostOutputSuppressed,Gr as isMutationAction,cf as isOrderingRelationshipKind,Fh as isPlaceholderReferenceToken,Oi as isPmCliExpectedError,rr as isPmExtensionCapabilityContract,or as isPmExtensionPolicyModeContract,ir as isPmExtensionPolicySurfaceContract,nr as isPmExtensionServiceNameContract,EE as isPmKnownExitCode,Iy as isPmMutationReceipt,CE as isPmSuccessfulExitCode,tr as isPmToolAction,fu as isProjectMutatingInvocation,rg as isPureSnakeCaseAlias,ih as isReadOutputBudgetExceeded,g_ as isReadRowContract,ys as isRuntimeRecord,ig as isTerminalPlanMode,Zf as isTerminalStatus,Ke as isTimestampLiteral,zy as itemDocumentToMutationOptions,kE as itemHasSchedule,Hr as jaccardSimilarity,Tm as learnings,Bu as levenshteinDistanceWithinLimit,Ma as limitAnnotationEntries,oS as lintExtensionBlueprint,Se as lintProjectProfile,cm as list,Wl as listAliasPluralKeys,ST as listAllDocumentCandidatesCached,Lr as listAllItemMetadata,OT as listAllItemMetadataLight,_A as listAssuranceDeclarations,EA as listAssuranceVerdicts,ql as listBuiltinCorpusShapes,KA as listInvalidProvenanceHistoryStreamIds,JA as listMergeReceipts,Fr as listMutationActions,sy as listMutationEvents,zd as listPmCommandsForTier,Xd as listPmMcpToolsForProfile,ge as listProfiles,Rd as listWorkspaceSnapshots,Hg as loadContextIntentRuntimeLayers,Pd as loadCreateTemplateOptions,Tf as loadExtensions,Ts as loadGraphAuditBaseline,$u as loadMutationCheckpoint,f as loadRelationshipGraphAdapter,Pr as locateItem,zh as looksLikeGenericKeyValueEntry,D_ as mapReadOutputRows,qA as markMergeReceiptReconciled,sT as matchesRuntimeFilters,ag as maybeRunFirstUseTelemetryPrompt,eu as measureCorpusShapePlan,Vh as mergeAdditiveTags,tS as mergeExtensionBlueprints,KE as mergeHistoryStreams,qE as mergeItemDocuments,QE as mergeJsonDocuments,zl as mergeLinkedTestTwoTokenEntries,XE as mergeRelationshipEventStreams,lc as mergeSortedWarnings,og as migrateItemFilesToFormat,IT as mutateItem,yr as mutateWorkspaceJsonWithHistory,mm as next,La as normalizeAnnotationTransportOptions,rA as normalizeAssuranceEvaluation,tA as normalizeAssuranceMutation,Kl as normalizeBootstrapInvocation,Li as normalizeDependencyGraphTarget,kA as normalizeDependencySeedId,PA as normalizeDependencySourceKind,at as normalizeExtensionContributionInventory,zA as normalizeInvalidHistoryProvenance,Py as normalizeItemAddressInvocation,Ct as normalizeItemFormatVersion,Ir as normalizeItemId,Ot as normalizeItemMetadata,Vl as normalizeLegacyExtensionActionSyntax,ma as normalizeLinkedPath,Gh as normalizeParentReferenceValue,he as normalizeProfileName,br as normalizeRawItemId,th as normalizeReadOutputIncludeModeOptions,Nh as normalizeReplayPatchOps,$r as normalizeSimilarityText,Qf as normalizeStatusForRegistry,St as normalizeStatusInput,Xf as normalizeStatusInputWithRegistry,Gy as normalizeThrownExitCode,hm as notes,ze as nowIso,ls as openDurableGraphCache,zi as orderingPredecessors,Ki as orderingSuccessors,UC as packContextCandidates,ac as packRankedContextItems,Nl as packageActivate,xl as packageCatalog,wl as packageDeactivate,bl as packageDescribe,Ol as packageDoctor,yl as packageInstall,Cl as packageLifecycle,El as packageList,Rl as packageManage,Ou as packageMigrate,Il as packageReload,Sl as packageUninstall,N_ as paginateQueryRows,ia as parseAddEntries,sa as parseAddGlobEntries,Da as parseAnnotationTextInput,Vy as parseAtomicMutationControls,$l as parseBootstrapCommandName,Fl as parseBootstrapGlobalOptions,Hl as parseBootstrapHelpRequest,Xl as parseBootstrapTypeValue,nc as parseContextDepth,Za as parseContextFocusFields,Gg as parseContextIntentDeclarations,oc as parseContextSections,XC as parseContextSignalSnapshot,Bh as parseCsvKv,_d as parseEvalQuerySet,Cs as parseGraphSubcommand,Kg as parseHistoryProvenanceFilters,jg as parseIntegerLimit,e_ as parseItemDocument,Wy as parseItemMutationBatch,nT as parseLimit,Vc as parseLinkedTestAssertionEqualsMap,Wc as parseLinkedTestAssertionGteMap,Fc as parseLinkedTestBoolean,Uc as parseLinkedTestContextMode,Gc as parseLinkedTestEnvClear,Dc as parseLinkedTestEnvSet,Bc as parseLinkedTestJsonEntries,jc as parseLinkedTestMinLines,$c as parseLinkedTestRegexList,Hc as parseLinkedTestStringList,ca as parseMigrateEntries,lC as parseMultiValueFilter,xy as parseMutationReceipt,Jh as parseOptionalNonNegativeInteger,Yh as parseOptionalNumber,Vg as parsePriority,_C as parsePriorityFilterSet,j_ as parseReadOutputSession,Vf as parseRegisteredItemFieldAssignments,x as parseRelationshipGraphSnapshot,aa as parseRemoveEntries,Ea as parseSourceLineRange,Zh as parseStatusFilterCsv,uC as parseStringFilterSet,Nr as parseTags,up as parseTestRunMeasurements,Wg as parseType,fC as parseTypeFilterSet,Is as parseUnknownAuthorHistoryEventCoordinates,pE as partitionDecisionEntries,kh as patchPathToChangedField,je as pathExists,fl as pauseTask,us as persistDurableGraphResult,pT as persistSelectedItemFormat,eE as planCompletedAtBackfill,Oe as planProfileApplication,XO as planRelationshipEventBackfill,As as planRelationshipRemediation,js as planSchemaEvolutionMigration,Rs as planUnknownAuthorHistoryAcknowledgment,bd as planWorkspaceSnapshotRestore,cS as preflightExtension,Vr as prepareSimilarityText,Ch as printError,Ah as printResult,Wm as profile,Km as profileApply,Xm as profileLint,Bm as profileList,zm as profileShow,Lf as projectAfterCommandItemSnapshot,ec as projectContextFocusRows,mp as projectFleetAttributionAnalytics,Xg as projectHistoryProvenance,dp as projectProvenanceCoverageAnalytics,Ia as projectValidateCounts,IA as promoteAssuranceAssertion,TO as pruneCompileCacheGenerations,TA as putAssuranceDeclaration,gA as putAssuranceDeclarationBundle,hT as queryItemMetadataIndex,TT as queryLinkedFileMetadataIndex,gT as querySimilarItemMetadataIndex,fp as queryTestRunMeasurementsBelow,Ps as quoteCommandArg,ws as quoteWindowsCommandArg,$y as rankCommandPaths,va as readAnnotationEntries,Ut as readAuthorEnvironment,xp as readBooleanOption,WC as readContextUsageAffinity,Np as readCsvListOption,Js as readExtensionMigrationState,Ve as readFileIfExists,tn as readFirstStringFromCommanderOptions,rn as readFirstValueFromCommanderOptions,sp as readHistoryAnalyticsWindow,a_ as readHistoryEntries,Zd as readImprovementLedger,ET as readItemMetadataDerivedIndexState,kr as readLocatedItem,M_ as readOutputBudgetCollections,Z_ as readOutputIncludeModeOptions,L_ as readOutputRowCollections,k_ as readOutputRowPaths,B_ as readOutputSessionRemainingTokens,de as readPmPackageManifest,Ml as readRequiredString,wr as readSettings,mT as readSettingsWithMetadata,nn as readStringArrayFromCommanderOptions,Ip as readStringOption,Dy as readThrownExitCode,VT as readVectorizationStatusLedger,Fg as readWorkspaceContextIntentContracts,QC as readWorkspaceContextSignals,nE as readWorkspaceMemory,mt as reconcileExtensionCapabilityUsage,Or as reconcileWorkspaceJsonHistory,kf as recordAfterCommandAffectedItem,CA as recordAssuranceVerdict,Xa as recordClaimSemanticAttribution,$C as recordContextUsageServing,jC as recordContextUsageTouch,VC as recordContextUsageTouches,Ja as recordFocusSemanticAttribution,Qd as recordImprovementObservation,Ya as recordReleaseSemanticAttribution,yT as refreshItemMetadataDerivedIndex,Fs as refreshMergeAttributeFenceIfInstalled,BT as refreshSearchArtifactsForMutation,Mt as registerHarnessSignalDescriptors,m_ as registerOutputMaterialFieldGroups,cl as release,AA as removeAssuranceDeclaration,Be as removeFileIfExists,Aa as renameArtifactsResultKey,Wa as renderCalendarMarkdown,Ba as renderCalendarToon,uc as renderContextMarkdown,Xs as renderExtensionDescribeMarkdown,zs as renderExtensionSurfaceMarkdown,Qp as renderGuideMarkdown,My as renderMissingOptionRetry,mE as renderNextMarkdown,ks as renderPmCommand,qd as renderPmCommandVisibilityMarkdown,tT as renderRowsAsCsv,rT as renderRowsAsTable,fg as replayHistoryToTarget,Ih as replayToCanonicalItemDocument,bh as replayToItemDocument,fE as requireTerminalReason,_E as requireTerminalReasonWithRecovery,xf as resetActiveExtensionRuntimeState,ji as resetWorkspaceGraphCache,Nt as resolveAgentSessionContextFromSignals,$a as resolveAnnotationIndex,Fa as resolveAnnotationInput,s_ as resolveAuthor,jt as resolveAuthorIdentity,Dh as resolveBodyFileContent,Ql as resolveBuiltinCorpusShape,Va as resolveCalendarOutputFormat,Cy as resolveCanonicalPmErrorCodeContract,af as resolveCanonicalRelationshipKind,i_ as resolveClaimPrincipal,rf as resolveCommandOptionPolicyState,hO as resolveCompileCacheGeneration,ZC as resolveCompletionTimestamp,Ju as resolveConfiguredPmPackageRoot,TC as resolveContentFieldFilters,mh as resolveContextIntentContract,tc as resolveContextOutputFormat,rc as resolveContextTokenBudget,IE as resolveCreateExplicitEmptyFlag,xT as resolveEmbeddingProviders,ea as resolveExtensionInstallSourceIdentity,Ys as resolveExtensionMigrationStatePath,_f as resolveExtensionRoots,Vu as resolveFlagValueKind,Jp as resolveGuideOutputFormat,ep as resolveHistoryEpisodeGroupIdentity,zg as resolveHistoryProvenanceDimensions,hg as resolveHistorySubject,lg as resolveHistoryTarget,jE as resolveHybridSemanticWeight,rt as resolveImplicitPmRoot,Fu as resolveIsoOrRelative,dC as resolveItemBlockers,By as resolveItemMutationDocument,tt as resolveItemTypeRegistry,Kf as resolveItemTypesFilePath,yp as resolveLinkedTestFailureExitCode,Ls as resolveMergeInstallContext,hC as resolveMissingMetadataFilters,Ly as resolveMissingOptionPlaceholder,T_ as resolveModePairedOutputOmissionReceipt,cE as resolveNextOutputFormat,C_ as resolveOutputOmissionReceipt,Yu as resolvePmCliVersion,yE as resolvePmCommandExitContract,lr as resolvePmCommandOutputBudget,by as resolvePmCommandOutputEnvelope,Bd as resolvePmCommandVisibilityTier,Ey as resolvePmErrorCodeContract,Xu as resolvePmPackageRootFromModule,$ as resolvePmRoot,li as resolvePmToolCustomFieldCollision,qh as resolvePriority,Te as resolveProfile,Ds as resolveProjectMergeTypeFolders,x_ as resolveQueryCursorStart,rh as resolveReadOutputDimensions,sh as resolveReadOutputEncoding,q_ as resolveReadOutputSurface,A_ as resolveReadRowContract,ky as resolveRecoveryCommandName,Bf as resolveRegisteredSearchProvider,zf as resolveRegisteredVectorStoreAdapter,ht as resolveRuntimeFieldRegistry,_t as resolveRuntimeStatusRegistry,NT as resolveSearchCorpusFields,HE as resolveSearchMaxResults,UE as resolveSearchPage,$E as resolveSearchScoreThreshold,VE as resolveSearchTuning,PT as resolveSemanticCorpusCharacterLimit,Ka as resolveSemanticLineageIds,uT as resolveSettingsWithSemanticRuntimeDefaults,HA as resolveSourceContextWritePolicy,bp as resolveStartTaskInProgressStatus,di as resolveSubcommandFlagContractsForCommand,ku as resolveTelemetryErrorCategory,uE as resolveTerminalReason,tf as resolveTypeDefinition,ef as resolveTypeName,eT as resolveTypeSynonym,aT as resolveTypeWorkflows,bs as resolveUnknownAuthorAcknowledgmentSelector,MT as resolveVectorStores,Mi as resolveWorkspaceRelationshipKindRegistry,ml as restore,ju as restoreCheckpointItems,Rr as restoreWorkspaceJsonFromHistory,xd as restoreWorkspaceSnapshot,Id as restoreWorkspaceSnapshotWithRecovery,Dl as runAction,Df as runActiveBeforeMutationHooks,Ff as runActiveCommandHandler,Gf as runActiveOnIndexHooks,ft as runActiveOnReadHooks,ut as runActiveOnWriteHooks,Uf as runActiveParserOverride,Hf as runActivePreflightOverride,$f as runActiveServiceOverride,ki as runActivity,ff as runAfterCommandHooks,Pa as runAggregate,Ha as runAnnotationCommand,ka as runAppend,nC as runAssuranceAction,oC as runAssuranceDispatch,uf as runBeforeCommandHooks,za as runCalendar,gc as runClaim,Ac as runClaimNext,yc as runClose,Oc as runCloseMany,Rc as runComments,Zp as runCompletion,od as runConfig,le as runContext,GC as runContextEvaluationCorpus,vC as runContextEvaluationScenario,Zc as runCopy,zc as runCreate,ed as runDelete,Vi as runDeps,Ca as runDocs,Ny as runDuplicates,gd as runEval,Cd as runEvent,ta as runExtension,Zs as runExtensionMigrateAction,Qs as runExtensionMigrations,Sa as runFiles,Ra as runFilesDiscover,Oa as runFilesLookup,pp as runFleetAttributionAnalytics,td as runFocus,nd as runGc,rd as runGet,Es as runGraph,qp as runGuide,ra as runHealth,RE as runHistory,ly as runHistoryCompact,_y as runHistoryCompactBulk,Tg as runHistoryRedact,ry as runHistoryRepair,oy as runHistoryRepairAll,md as runInit,cd as runInitAgentGuidance,bc as runLearnings,ga as runLinkedArtifacts,Sp as runLinkedTests,wa as runList,Ad as runMeet,ey as runMergeDriver,Us as runMergeInstall,QA as runMergeReceiptReport,iy as runMergeReconcile,hc as runNext,Ic as runNotes,Qc as runPlan,Ud as runProfileApply,Fd as runProfileLint,Dd as runProfileList,Gd as runProfileShow,cp as runProvenanceCoverageAnalytics,mS as runRegisteredCommandForTest,hS as runRegisteredCommandOverrideForTest,SS as runRegisteredExporterForTest,uS as runRegisteredHookForTest,yS as runRegisteredImporterForTest,ES as runRegisteredMigrationForTest,lS as runRegisteredMutationGuardForTest,fS as runRegisteredParserOverrideForTest,_S as runRegisteredPreflightOverrideForTest,TS as runRegisteredRendererOverrideForTest,AS as runRegisteredSearchProviderForTest,gS as runRegisteredServiceOverrideForTest,CS as runRegisteredVectorStoreAdapterForTest,Re as runReindex,Cc as runRelease,Ed as runRemind,Sc as runRestore,Vs as runSchemaEvolutionMigration,hd as runSearch,tu as runSearchRefreshWorkerEntrypoint,em as runStartBackgroundRun,hp as runStats,gp as runTelemetry,Ld as runTemplatesList,kd as runTemplatesSave,Md as runTemplatesShow,Op as runTest,Rp as runTestAll,tm as runTestRunsList,nm as runTestRunsLogs,im as runTestRunsResume,rm as runTestRunsStatus,om as runTestRunsStop,sm as runTestRunsWorker,Kc as runUpdate,Xc as runUpdateMany,ue as runUpgrade,Na as runValidate,vl as runWithActiveExtensions,wt as runWithAgentSessionContext,dh as runWithContextIntentContracts,$g as runWithDiscoveredContextIntentContracts,vt as runWithHarnessDetectionSignals,Dt as runWithWorkspaceHarnessSignalDescriptors,ke as runWithWorkspaceRecipe,vE as runWorkspaceTransactionGc,gs as saveGraphAuditBaseline,MA as scanExtensionHostVersions,Os as scanHistoryAuthorAttribution,yt as scanItemFormatVersions,vr as scanMutationSecrets,XA as scanProvenanceResolverHealth,Kr as scanStaleInProgressItems,ZA as scanStorageIntegrity,Im as schema,Mm as schemaAddField,km as schemaAddStatus,wm as schemaAddType,Fm as schemaApplyPreset,Um as schemaInferTypes,xm as schemaList,Dm as schemaListFields,jm as schemaRemapStatus,vm as schemaRemoveField,Lm as schemaRemoveStatus,Pm as schemaRemoveType,$m as schemaRenameField,Hm as schemaRenameType,Nm as schemaShow,Gm as schemaShowField,Vm as schemaShowStatus,Hy as scoreCommandPathMatch,PC as scoreContextCandidates,kC as scoreContextCandidatesWithActiveExtensions,Wr as scoreItemSimilarity,Br as scorePreparedItemSimilarity,dm as search,sE as searchWorkspaceMemory,aE as searchWorkspaceMemoryReadResult,y_ as selectCursorSemanticOptions,zp as selectImportAuthor,iE as selectWorkspaceMemory,oE as selectWorkspaceMemoryRollups,Qa as semanticAttributionAffinity,qT as sentryCaptureCliError,JT as sentryFinishCommandSpan,ZT as sentryFlush,QT as sentryLogCliUsageError,XT as sentrySetCommandContext,YT as sentryStartCommandSpan,bt as serializeItemDocument,jy as serializeNdjsonRows,Nf as setActiveCommandContext,wf as setActiveCommandResult,yf as setActiveExtensionCommands,Ef as setActiveExtensionHooks,Sf as setActiveExtensionParsers,Of as setActiveExtensionPreflight,If as setActiveExtensionRegistrations,bf as setActiveExtensionRenderers,Rf as setActiveExtensionServices,n_ as setFocusedItem,sg as shouldCompletePlanOnClose,hs as shouldPersistDurableGraphCache,_T as shouldRunSearchRefreshInForeground,Nc as similarityAdvisoryWarnings,P_ as sliceReadOutputRowCollection,_a as sortLinkedArtifacts,$h as splitAcceptanceCriteria,ng as splitCommaList,Rt as splitFrontMatter,nh as stabilizeReadOutputReceiptEstimates,N as stableStringify,lf as stableValueEquals,ul as startTask,cg as startTelemetryCommand,um as stats,Yf as statusIsTerminal,Ul as stripGlobalBootstrapTokens,ay as subscribeMutationEvents,rp as summarizeAgentModelProvenance,np as summarizeAgentProvenance,DC as summarizeContextEvaluationReports,Ap as summarizeContextPreflight,qg as summarizeHistoryProvenance,dd as summarizeInitResult,YA as summarizeMergeReceipt,xE as supportsCreateExplicitEmpty,wy as supportsItemIdAlias,d_ as suppressHostOutput,D as syncRelationshipGraphAdapter,iS as synthesizeExtensionManifest,pi as toCompletionFlagString,mc as toContextFocusItem,cc as toContextPackingSummary,dc as toContextRankingSummary,Mu as toErrorMessage,Pp as toEstimatedMinutesValue,Lg as toExtensionFlagDefinitions,Dp as toImportBoolean,Hp as toImportConfidence,vp as toImportInteger,Wp as toImportLinkedDocs,Vp as toImportLinkedFiles,Bp as toImportLinkedTests,jp as toImportLogEntries,$p as toImportNormalizedEnum,Up as toImportNumberMap,kp as toImportPriority,Mp as toImportStatus,Gp as toImportStringList,Fp as toImportStringMap,Lp as toImportTags,t_ as toItemRecord,wp as toNonEmptyImportString,Lu as toNonEmptyStringOrUndefined,xh as toReplayDocument,jr as tokenizeSimilarityText,py as translateHostEnvironmentFault,ol as update,Pl as upgrade,Ym as validate,cA as validateAssertionDefinition,pA as validateAssuranceDocument,dA as validateGateDefinition,Ky as validateItemMutationRows,Ta as validateLinkedPaths,aA as validateMeasurementDefinition,Uh as validateMissingParentReference,Q_ as validateReadOutputOptions,Qh as validateSprintOrReleaseValue,nf as validateTypeOptions,Ph as verifyHistoryChain,wh as verifyHistoryChainWithVersion,gg as verifyHistoryEntries,QO as verifyPmRecoveryReferences,qO as verifyPmRefusalReachability,xn as withFlagAliasMetadata,my as withHostEnvironmentBoundary,$i as workspaceGraphCache,Ua as wrapOwnershipConflict,Uy as wrapThrownErrorForSentry,Ht as writeAuthorEnvironment,We as writeFileAtomic,Hu as writeMutationCheckpoint,lT as writeSettings,gh as writeStdout,WT as writeVectorizationStatusLedger,Sr as writeWorkspaceJsonWithHistory};
1
+ import{a as uS,b as lS,c as Vl,d as Wl,e as zl,g as Kl,h as Xl,i as Yl,j as ql,k as Jl,l as Zl,m as Ql,n as ef,o as fS,p as mS,q as _S,r as hS,s as TS,t as gS,u as AS,v as yS,w as tf,x as rf,y as ES,z as CS}from"./chunks/chunk-YM2YAMF7.js";import{A as iO,B as sO,C as aO,D as cO,E as dO,F as pO,G as uO,H as lO,I as fO,J as mO,K as _O,L as hO,M as TO,N as gO,O as AO,P as yO,Q as EO,R as CO,S as SO,T as OO,U as RO,V as bO,W as xO,X as IO,Y as NO,a as PS,b as LS,c as MS,d as DS,e as GS,f as FS,g as US,h as jS,i as $S,j as HS,k as BS,l as VS,m as WS,n as zS,o as KS,p as XS,q as YS,r as qS,s as JS,t as ZS,u as QS,v as eO,w as tO,x as rO,y as nO,z as oO}from"./chunks/chunk-HBJAS566.js";import{a as SS}from"./chunks/chunk-OAC5NIV4.js";import{a as OS,b as RS,c as bS,d as xS,e as IS,f as NS,g as wS,h as kS,i as vS}from"./chunks/chunk-7IBRGCHX.js";import{$ as Oe,$a as mu,$b as ml,A as Pc,Aa as Dp,Ab as $u,Ac as $l,B as ed,Ba as Gp,Bb as Hu,Bc as Hl,C as td,Ca as Fp,Cb as Bu,Cc as Bl,D as rd,Da as Up,Db as Vu,E as nd,Ea as jp,Eb as Wu,F as od,Fa as $p,Fb as zu,G as id,Ga as Hp,Gb as Ku,H as sd,Ha as Bp,Hb as Xu,I as ad,Ia as Vp,Ib as Yu,J as IC,Ja as Wp,Jb as qu,K as NC,Ka as zp,Kb as Ju,L as wC,La as Kp,Lb as Zu,M as kC,Ma as Xp,Mb as Qu,N as vC,Na as Yp,Nb as el,O as PC,Oa as qp,Ob as tl,P as LC,Pa as Jp,Pb as rl,Q as MC,Qa as Zp,Qb as nl,R as DC,Ra as Qp,Rb as ol,S as GC,Sa as eu,Sb as il,T as FC,Ta as tu,Tb as sl,U as UC,Ua as ru,Ub as al,V as jC,Va as nu,Vb as cl,W as Ae,Wa as ou,Wb as dl,X as ye,Xa as iu,Xb as pl,Y as Ee,Ya as we,Yb as ul,Z as Ce,Za as M,Zb as ll,_ as Se,_a as fu,_b as fl,a as Ii,aa as Re,ab as _u,ac as _l,b as Ni,ba as be,bb as hu,bc as hl,c as wi,ca as xe,cb as Tu,cc as Tl,d as Xg,da as Ie,db as gu,dc as gl,e as Yg,ea as Ne,eb as Au,ec as Al,f as vi,fa as Dd,fb as yu,fc as yl,g as rA,ga as Gd,gb as Eu,gc as El,h as nA,ha as Fd,hb as Cu,hc as Cl,i as oA,ia as Ud,ib as Su,ic as Sl,j as iA,ja as jd,jb as Ou,jc as Ol,k as sA,ka as $d,kb as Ru,kc as Rl,l as aA,la as Hd,lb as bu,lc as bl,m as cA,ma as Bd,mb as xu,mc as xl,n as dA,na as Vd,nb as Iu,nc as Il,o as Gi,oa as Wd,ob as Nu,oc as Nl,p as pA,pa as zd,pb as wu,pc as wl,q as uA,qa as Kd,qb as ku,qc as kl,r as lA,ra as Xd,rb as vu,rc as vl,s as fA,sa as Yd,sb as Pu,sc as Pl,t as mA,ta as KC,tb as Lu,tc as Ll,u as _A,ua as XC,ub as Mu,uc as Ml,v as Fa,va as YC,vb as Du,vc as Dl,w as Nc,wa as qC,wb as Gu,wc as Gl,x as wc,xa as Pp,xb as Fu,xc as Fl,y as kc,ya as Lp,yb as Uu,yc as Ul,z as vc,za as Mp,zb as ju,zc as jl}from"./chunks/chunk-3UEGXBMR.js";import{a as ge,f as pd,g as ud}from"./chunks/chunk-2QLOXC3V.js";import{A as Cd,B as Sd,C as Od,b as Ga,c as aE,d as sC,e as pC,f as uC,g as lC,h as fC,i as mC,j as cd,k as _C,l as gd,m as Ad,n as yd,o as Ed,p as TC,q as gC,r as AC,s as yC,t as EC,u as CC,v as SC,w as OC,x as RC,y as bC,z as xC}from"./chunks/chunk-TPXZIBIV.js";import{$ as dy,$a as My,$b as cC,$c as mp,A as ZA,Aa as ha,Ab as QE,Ac as Qd,B as QA,Ba as Ta,Bb as eC,Bc as ep,C as ey,Ca as ga,Cb as tC,Cc as tp,D as ty,Da as Aa,Db as rC,Dc as rp,Ea as ya,Eb as nC,Ec as np,F as cy,Fa as Ea,Fb as oC,Fc as QC,Ga as Ca,Gb as iC,Gc as eS,Ha as Sa,Hc as tS,Ia as Oa,Ib as Lc,Ic as rS,J as Is,Ja as Ra,Jb as Mc,Jc as nS,Ka as ba,Kb as aC,Kc as oS,La as xa,Lb as Dc,Lc as iS,Ma as Ia,Mb as Gc,Mc as sS,Na,Nb as Fc,Nc as aS,Oa as wa,Ob as Uc,Oc as cS,Pa as ka,Pb as jc,Pc as dS,Qa as va,Qb as $c,Ra as Pa,Rb as Hc,Rc as op,Sa as La,Sb as Bc,Sc as ip,Ta as Ma,Tb as Vc,Tc as sp,Ua as Iy,Ub as Wc,Uc as ap,Va as Ny,Vb as zc,Vc as cp,Wa as wy,Wb as Kc,Wc as dp,Xa as ky,Xb as Xc,Xc as pp,Ya as vy,Yb as Yc,Yc as up,Za as Py,Zb as qc,Zc as lp,_a as Ly,_b as Jc,_c as fp,a as bA,aa as py,ab as Dy,ac as dC,ad as _p,b as xA,ba as Ns,bb as Gy,bc as Zc,bd as hp,c as IA,ca as ws,cb as Fy,cd as Tp,d as NA,da as ks,db as Uy,dd as gp,e as wA,ea as vs,eb as Ua,ec as Qc,ed as Ap,f as kA,fa as Ps,fb as ja,fc as hC,fd as yp,g as vA,ga as Ls,gb as $a,gc as dd,gd as Ep,h as PA,ha as Ms,hb as Ha,hc as Rd,hd as Cp,i as LA,ia as yy,ib as Ba,ic as bd,id as pS,j as MA,ja as Ey,jb as Va,jc as xd,jd as Sp,k as DA,ka as Cy,kb as Wa,kc as VC,kd as Op,l as GA,la as Sy,lb as za,lc as WC,ld as Rp,m as FA,mb as Ka,mc as zC,md as bp,n as UA,na as Oy,nb as Xa,nc as Id,nd as xp,o as jA,ob as Sc,oc as Nd,od as Ip,p as $A,pa as Ry,pb as Oc,pc as wd,pd as Np,q as HA,qa as by,qb as Rc,qc as kd,qd as wp,r as BA,ra as ca,rb as bc,rc as vd,rd as kp,s as VA,sa as da,sb as KE,sc as Pd,sd as vp,t as WA,ta as xy,tb as XE,tc as Ld,td as su,u as zA,ua as pa,ub as YE,uc as Md,ud as au,v as KA,va as ua,vb as qE,vc as JC,vd as cu,w as XA,wa as la,wb as JE,wc as ZC,wd as du,x as YA,xa as fa,xb as xc,xc as qd,xd as pu,y as qA,ya as ma,yb as Ic,yc as Jd,yd as uu,z as JA,za as _a,zb as ZE,zc as Zd,zd as lu}from"./chunks/chunk-4JPYF536.js";import{A as Ws,Aa as ea,B as zs,Ea as ta,Fa as ra,Ga as na,Ha as oa,Ia as ia,Ja as sa,Ka as aa,L as Ks,La as ld,M as Xs,Ma as fd,N as Ys,Na as md,O as qs,Oa as _d,Pa as hd,Qa as Td,a as eA,b as tA,c as Pi,d as Li,f as Mi,g as Di,h as uy,i as Ds,j as Gs,k as Fs,m as ly,n as fy,o as my,p as _y,q as hy,r as Ty,s as gy,sa as le,t as Us,ta as fe,u as js,ua as me,v as $s,va as _e,w as Hs,wa as Js,x as Bs,y as Ay,ya as Zs,z as Vs,za as Qs}from"./chunks/chunk-JOKATURE.js";import{$ as ns,$a as sE,$b as uc,Aa as $y,Ab as NE,B as Fi,Ba as Hy,Bb as wE,C as ry,Ca as By,Cb as kE,D as ny,Da as Vy,Db as vE,E as oy,Ea as Wy,Eb as PE,F as iy,Fa as zy,Fb as LE,G as sy,Ga as Ky,Gb as ME,H as Ui,Ha as Xy,Hb as DE,I as ji,Ia as Yy,Ib as GE,J as $i,Ja as qy,Jb as FE,K as Hi,Kb as UE,L as Bi,Lb as jE,M as Vi,Mb as $E,N as z,Nb as HE,O as Wi,Ob as Qa,P as zi,Pb as ec,Q as Ki,Qb as tc,R as Xi,Rb as rc,S as ay,Sa as Jy,Sb as nc,T as Yi,Ta as Zy,Tb as oc,U as qi,Ua as Qy,Ub as he,V as Ji,Va as eE,Vb as ic,W as Zi,Wa as tE,Wb as sc,X as Qi,Xa as rE,Xb as ac,Y as es,Ya as nE,Yb as cc,Z as ts,Za as oE,Zb as dc,_ as rs,_a as iE,_b as pc,a as Ug,aa as os,ab as Da,ac as lc,b as jg,ba as is,bb as Ya,bc as fc,c as $g,ca as ss,cb as qa,cc as mc,d as Hg,da as as,db as Ja,dc as _c,e as Bg,ea as cs,eb as Za,ec as hc,fa as ds,fb as cE,fc as Tc,ga as ps,gb as dE,gc,h as Vg,ha as us,hb as pE,hc as Ac,i as Wg,ia as ls,ib as uE,ic as yc,j as ki,ja as fs,jb as lE,jc as Te,k as zg,ka as ms,kb as fE,kc as Ec,l as Kg,la as _s,lb as mE,lc as BE,m as qg,ma as hs,mb as _E,mc as VE,n as Jg,na as Ts,nb as hE,nc as WE,o as Zg,oa as gs,ob as TE,oc as Cc,p as Qg,pa as As,pb as gE,pc as zE,q as hA,qa as ys,qb as AE,qc as $C,r as TA,ra as Es,rb as yE,rc as HC,s as gA,sa as Cs,sb as EE,sc as BC,t as AA,ta as Ss,tb as CE,u as yA,ua as Os,ub as SE,v as EA,va as Rs,vb as OE,w as CA,wa as bs,wb as RE,x as SA,xa as xs,xb as bE,y as OA,yb as xE,z as RA,za as jy,zb as IE}from"./chunks/chunk-6VDLG2FC.js";import{$ as Am,$b as Bm,$c as Et,$e as fh,$f as oT,$h as ug,$i as an,$j as ao,$k as ci,Ac as a_,Ae as uh,Af as jh,Ag as fT,Ah as YT,Ai as Xr,Aj as Ln,Ak as Mo,B as sm,Bc as c_,Be as Yt,Bf as $h,Bg as mT,Bh as qT,Bi as Yr,Bj as Mn,Bk as Do,C as H,Cc as d_,Ce as qt,Cf as Hh,Cg as Mr,Ch as JT,Ci as qr,Cj as Dn,Ck as Go,D as am,Dc as At,De as Jt,Df as Bh,Dg as _T,Dh as Gr,Di as Jr,Dj as Gn,Dk as Fo,E as B,Ec as p_,Ee as Zt,Ef as Vh,Eg as hT,Eh as Fr,Ei as Zr,Ej as Fn,Ek as Uo,Fa as bm,Fb as Um,Fc as yt,Fd as w_,Fe as Qt,Ff as Wh,Fg as TT,Fh as Ur,Fi as Qr,Fj as Un,Fk as jo,G as cm,Ga as xm,Gb as ft,Gd as k_,Ge as er,Gf as zh,Gg as gT,Gh as ZT,Gi as Ig,Gj as jn,Gk as $o,H as dm,Ha as Im,Hb as mt,Hc as u_,Hd as v_,He as tr,Hg as AT,Hi as Ng,Hj as $n,Hk as Ho,Ic as l_,Id as Ft,Ie as rr,If as Kh,Ig as yT,Ih as QT,Ii as wg,Ij as Hn,Ik as Bo,Jb as L,Jc as f_,Jd as Ut,Je as nr,Jf as Xh,Jg as ET,Jh as eg,Ji as kg,Jj as Bn,Jk as Vo,K as pm,Ka as at,Kb as jm,Kc as m_,Kd as jt,Ke as or,Kg as CT,Kh as tg,Ki as vg,Kj as Vn,Kk as Wo,La as Nm,Lc as __,Ld as $t,Le as ir,Lg as ST,Li as Pg,Lj as Wn,Lk as zo,Ma as wm,Mb as $m,Mc as ae,Md as Ht,Me as sr,Mf as Yh,Mg as OT,Mi as Lg,Mj as zn,Mk as Ko,N as um,Na as km,Nc as h_,Nd as Bt,Ne as ar,Nf as qh,Ng as RT,Nh as rg,Ni as Mg,Nj as Kn,Nk as Xo,O as ne,Oa as vm,Ob as Hm,Oc as T_,Od as Vt,Oe as cr,Of as Jh,Oj as Xn,Ok as Yo,P as oe,Pc as g_,Pd as Wt,Pe as dr,Pf as Zh,Pg as bT,Ph as ng,Pj as Yn,Pk as qo,Q as Ze,Qa as ct,Qd as zt,Qe as pr,Qf as Qh,Qj as qn,Qk as Jo,R as Qe,Ra as dt,Rc as A_,Rd as Kt,Re as ur,Rf as yr,Rg as xT,Ri as pe,Rj as Jn,Rk as Zo,S as ie,Sa as V,Sc as y_,Sd as Xt,Se as lr,Sf as Er,Sg as IT,Si as Dg,Sj as Zn,Sk as Qo,T as lm,Td as P_,Te as fr,Tg as NT,Th as og,Ti as Gg,Tj as Qn,Tk as ei,Ud as L_,Ue as mr,Ug as wT,Uh as ig,Ui as Fg,Uj as eo,Uk as ti,V as fm,Va as pt,Vd as M_,Ve as _r,Vg as kT,Vh as sg,Vi as en,Vj as to,Vk as ri,W as mm,Wa as ut,We as hr,Wf as eT,Wh as ag,Wi as tn,Wj as ro,Wk as ni,X as _m,Xe as Tr,Xf as tT,Xh as cg,Xi as rn,Xj as no,Xk as oi,Y as hm,Ya as lt,Yd as D_,Ye as gr,Yf as rT,Yi as nn,Yj as oo,Yk as ii,Z as Tm,Zc as E_,Zd as G_,Ze as Ar,Zf as nT,Zh as dg,Zi as on,Zj as io,Zk as si,_ as gm,_d as F_,_e as lh,_h as pg,_i as sn,_j as so,_k as ai,aa as ym,ac as Vm,ad as C_,ae as U_,af as mh,ag as iT,ai as lg,aj as cn,ak as co,al as di,ba as Em,bc as Wm,bd as Ct,be as j_,bf as _h,bi as fg,bj as dn,bk as po,bl as pi,c as Xe,ca as Cm,ce as $_,cf as hh,ci as mg,cj as pn,ck as uo,cl as ui,dc as zm,dd as S_,de as H_,df as Th,di as _g,dj as un,dk as lo,dl as li,e as re,ea as Sm,ec as Km,ed as O_,ee as B_,ef as gh,eg as sT,eh as vT,ei as hg,ej as ln,ek as fo,el as fi,f as Ye,fa as Om,fd as R_,fe as V_,ff as Ah,fg as aT,fh as PT,fi as Tg,fj as fn,fk as mo,fl as mi,g as qe,ga as Rm,gc as Xm,gd as St,ge as W_,gf as yh,gg as cT,gh as LT,gi as gg,gj as mn,gk as _o,gl as _i,h as Je,ha as et,hc as _t,hd as Ot,he as z_,hf as Eh,hg as dT,hh as MT,hi as de,hj as _n,hk as ho,hl as hi,ia as tt,id as Rt,ie as K_,if as Ch,ig as Cr,ih as DT,ii as Ag,ij as hn,ik as To,il as Ti,j as em,ja as rt,jc as ht,jd as bt,je as X_,jf as Sh,jg as Sr,jh as GT,ji as yg,jj as Tn,jk as go,jl as gi,k as tm,kc as Tt,kd as xt,ke as Y_,kf as Oh,kg as Or,ki as Eg,kj as gn,kk as Ao,kl as Ai,l as rm,ld as It,le as q_,lf as Rh,lg as Rr,li as Cg,lj as An,lk as yo,ll as yi,mb as Pm,md as Nt,me as J_,mf as bh,mg as br,mh as FT,mi as Sg,mj as yn,mk as Eo,ml as Ei,na as nt,nb as W,nc as Ym,nd as b_,ne as Z_,nf as xh,ng as xr,nh as UT,ni as Og,nj as En,nk as Co,nl as Ci,ob as se,oc as qm,od as x_,oe as Q_,of as Ih,og as Ir,oh as Dr,oi as Rg,oj as Cn,ok as So,ol as Si,pa as ot,pb as Lm,pc as Jm,pe as eh,pf as Nh,pg as Nr,ph as jT,pi as bg,pj as Sn,pk as Oo,pl as Oi,qa as it,qb as Mm,qc as Zm,qd as wt,qe as th,qf as wh,qg as wr,qh as $T,qi as xg,qj as On,qk as Ro,ql as Ri,ra as st,rb as Dm,rc as Qm,rd as kt,re as rh,rf as kh,rg as kr,rh as HT,ri as jr,rj as Rn,rk as bo,rl as bi,s as nm,sb as Gm,sc as e_,sd as I_,se as nh,sf as vh,sg as pT,sh as BT,si as $r,sj as bn,sk as xo,sl as xi,tb as y,tc as t_,td as vt,te as oh,tf as Ph,th as ce,ti as Hr,tj as xn,tk as Io,tl as ue,ub as Fm,uc as gt,ud as Pt,ue as ih,uf as Lh,ug as vr,uh as VT,ui as Br,uj as In,uk as No,v as om,vc as r_,vd as N_,ve as sh,vf as Mh,vg as Pr,vh as WT,vi as Vr,vj as Nn,vk as wo,wc as n_,wd as Lt,we as ah,wf as Dh,wg as Lr,wh as zT,wi as Wr,wj as wn,wk as ko,x as im,xc as o_,xd as Mt,xe as ch,xf as Gh,xh as KT,xj as kn,xk as vo,yc as i_,yd as Dt,ye as dh,yf as Fh,yg as uT,yi as zr,yj as vn,yk as Po,zc as s_,zd as Gt,ze as ph,zf as Uh,zg as lT,zh as XT,zi as Kr,zj as Pn,zk as Lo}from"./chunks/chunk-ION3E43Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="cc0d4dd1-20e8-59d4-acb5-9f8ed639d35f")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fa4eb88d-f50e-59fa-be7f-0cfb42931a73")}catch{}})();var T="https://schema.unbrained.dev/pm/corpus-shape/v1";function E(e,t){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError(`Corpus shape ${t} must be a positive safe integer`);return e}function w(e,t){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Corpus shape ${t} must be a non-negative safe integer`);return e}function ve(e){if(!(typeof e!="object"||e===null||Object.isFrozen(e))){for(let t of Object.values(e))ve(t);Object.freeze(e)}}function C(e){if(e.schema!==T)throw new TypeError(`Unsupported corpus shape schema: ${e.schema}`);if(e.name.trim().length===0||e.description.trim().length===0)throw new TypeError("Corpus shape name and description must be non-empty");if(E(e.hierarchy_depth,"hierarchy_depth"),E(e.hierarchy_fanout,"hierarchy_fanout"),w(e.age_span_days,"age_span_days"),E(e.history_entries_per_item,"history_entries_per_item"),w(e.comments_per_100_items,"comments_per_100_items"),w(e.notes_per_100_items,"notes_per_100_items"),w(e.learnings_per_100_items,"learnings_per_100_items"),E(e.author_cardinality,"author_cardinality"),E(e.component_count,"component_count"),e.edge_kind_mix.length===0||e.edge_kind_mix.some(r=>r.kind.trim().length===0||r.weight<=0))throw new TypeError("Corpus shape edge_kind_mix requires non-empty kinds with positive weights");if(e.terminal_statuses.some(r=>!e.custom_statuses.includes(r)))throw new TypeError("Corpus shape terminal_statuses must be declared in custom_statuses");let t=structuredClone(e);return ve(t),t}var D=[{kind:"implements",weight:5},{kind:"blocked_by",weight:2},{kind:"discovered_from",weight:2},{kind:"verifies",weight:2},{kind:"supersedes",weight:1},{kind:"related",weight:4}],S=Object.freeze({scratch:C({schema:T,name:"scratch",description:"Seconds-old, shallow project with minimal history.",hierarchy_depth:2,hierarchy_fanout:50,age_span_days:0,history_entries_per_item:1,comments_per_100_items:2,notes_per_100_items:1,learnings_per_100_items:1,edge_kind_mix:[{kind:"related",weight:1}],author_cardinality:2,component_count:1,include_cycles:!1,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),representative:C({schema:T,name:"representative",description:"Medium-lived project with rich evidence and typed lineage.",hierarchy_depth:5,hierarchy_fanout:8,age_span_days:730,history_entries_per_item:12,comments_per_100_items:30,notes_per_100_items:12,learnings_per_100_items:10,edge_kind_mix:D,author_cardinality:32,component_count:1,include_cycles:!1,custom_types:["Experiment"],custom_statuses:["review"],terminal_statuses:[],custom_fields:["domain"]}),"deep-graph":C({schema:T,name:"deep-graph",description:"Deep typed relationship graph with deterministic cycles.",hierarchy_depth:16,hierarchy_fanout:2,age_span_days:3650,history_entries_per_item:6,comments_per_100_items:15,notes_per_100_items:8,learnings_per_100_items:8,edge_kind_mix:D,author_cardinality:16,component_count:1,include_cycles:!0,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),"multi-decade":C({schema:T,name:"multi-decade",description:"Thirty-year event history with dense per-item evolution.",hierarchy_depth:6,hierarchy_fanout:6,age_span_days:10958,history_entries_per_item:24,comments_per_100_items:40,notes_per_100_items:20,learnings_per_100_items:16,edge_kind_mix:D,author_cardinality:64,component_count:1,include_cycles:!1,custom_types:["Program"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["portfolio"]}),"disconnected-archive":C({schema:T,name:"disconnected-archive",description:"Multiple disconnected historical project components.",hierarchy_depth:4,hierarchy_fanout:10,age_span_days:7305,history_entries_per_item:8,comments_per_100_items:10,notes_per_100_items:5,learnings_per_100_items:6,edge_kind_mix:D,author_cardinality:24,component_count:5,include_cycles:!1,custom_types:["Archive"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["archive_source"]})});function nf(){return Object.keys(S).sort().map(e=>S[e])}function of(e){let t=e.trim().toLowerCase();if(!Object.hasOwn(S,t))throw new TypeError(`Unknown corpus shape "${e}". Available: ${Object.keys(S).join(", ")}`);return S[t]}var ke=new WeakMap;function Pe(e,t){if(e===0)return[];let r=ke.get(t);r===void 0&&(r=t.edge_kind_mix.flatMap(o=>Array.from({length:o.weight},()=>o.kind)),ke.set(t,r));let n=[r[e%r.length]];return t.include_cycles&&e>2&&e%17===0&&n.push("related"),[...new Set(n)]}function sf(e,t,r,n=42){if(w(t,"item index"),E(r,"item count"),t>=r)throw new RangeError(`Corpus item index ${t} exceeds ${r}`);let o=Math.min(e.component_count,r),a=t%o,i=Math.floor(t/o),c=0,s=1;for(let P=0;P<e.hierarchy_depth;P+=1)c=Math.min(Number.MAX_SAFE_INTEGER,c+s),s=Math.min(Number.MAX_SAFE_INTEGER,s*e.hierarchy_fanout);let d=i%c,p=i-d,u=d===0?void 0:a+(p+Math.floor((d-1)/e.hierarchy_fanout))*o,l=Date.UTC(2026,0,1),h=e.age_span_days*864e5,I=new Date(l+(r===1?0:Math.round(t/(r-1)*h))).toISOString(),N=(t*37+n)%100;return{index:t,id:`pm-s${t.toString(36).padStart(7,"0")}`,...u===void 0?{}:{parent:`pm-s${u.toString(36).padStart(7,"0")}`},component:a,timestamp:I,author:`pm-corpus-agent-${(t+n)%Math.min(e.author_cardinality,r)}`,history_entry_count:e.history_entries_per_item,dependency_kinds:Pe(t,e),has_comment:N<e.comments_per_100_items,has_note:N<e.notes_per_100_items,has_learning:N<e.learnings_per_100_items,...e.custom_types.length>0&&t%11===0?{custom_type:e.custom_types[t%e.custom_types.length]}:{},...e.custom_statuses.length>0&&t%13===0?{custom_status:e.custom_statuses[t%e.custom_statuses.length]}:{}}}var K=class{shape;authors=new Set;components=new Set;depths=new Map;childCounts=new Map;edgeKinds={};expectedEdgeKinds={};annotations={comments:0,notes:0,learnings:0};annotationFields;planMismatches=[];itemCount=0;observedDepth=0;observedFanout=0;historyEntryCount=0;firstTimestamp=null;lastTimestamp=null;constructor(t){this.shape=t,this.annotationFields=[["comments","has_comment",t.comments_per_100_items],["notes","has_note",t.notes_per_100_items],["learnings","has_learning",t.learnings_per_100_items]]}recordMismatch(t,r){t&&this.planMismatches.push(r)}recordEdgeKinds(t,r){for(let n of r)t[n]=(t[n]??0)+1}add(t){this.itemCount+=1,this.authors.add(t.author),this.components.add(t.component),this.recordMismatch(this.depths.has(t.id),`duplicate_id:${t.id}`);let r=1;if(t.parent!==void 0){let n=this.depths.get(t.parent);this.recordMismatch(n===void 0,`parent_missing:${t.parent}`),r=(n??0)+1;let o=(this.childCounts.get(t.parent)??0)+1;this.childCounts.set(t.parent,o),this.observedFanout=Math.max(this.observedFanout,o)}this.depths.set(t.id,r),this.observedDepth=Math.max(this.observedDepth,r),this.historyEntryCount+=t.history_entry_count,this.recordMismatch(t.history_entry_count!==this.shape.history_entries_per_item,"history_entries_per_item:drift"),this.firstTimestamp=this.firstTimestamp===null||t.timestamp<this.firstTimestamp?t.timestamp:this.firstTimestamp,this.lastTimestamp=this.lastTimestamp===null||t.timestamp>this.lastTimestamp?t.timestamp:this.lastTimestamp;for(let[n,o]of this.annotationFields)this.annotations[n]+=Number(t[o]);this.recordEdgeKinds(this.edgeKinds,t.dependency_kinds),this.recordEdgeKinds(this.expectedEdgeKinds,Pe(t.index,this.shape))}finish(){let t=Math.min(this.shape.author_cardinality,this.itemCount),r=Math.min(this.shape.component_count,this.itemCount),n=[...this.planMismatches,...this.itemCount===0?["item_count:empty"]:[],...this.authors.size===t?[]:[`author_count:${this.authors.size}!=${t}`],...this.components.size===r?[]:[`component_count:${this.components.size}!=${r}`],...this.observedDepth<=this.shape.hierarchy_depth?[]:[`hierarchy_depth:${this.observedDepth}>${this.shape.hierarchy_depth}`],...this.observedFanout<=this.shape.hierarchy_fanout?[]:[`hierarchy_fanout:${this.observedFanout}>${this.shape.hierarchy_fanout}`]];for(let[i,,c]of this.annotationFields){let s=Math.floor(this.itemCount/100),d=this.itemCount%100,p=s*c+Math.max(0,c+d-100),u=s*c+Math.min(c,d),l=this.annotations[i];(l<p||l>u)&&n.push(`${i}:${l}!in[${p},${u}]`)}let o=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let i of[...o].sort()){let c=this.edgeKinds[i]??0,s=this.expectedEdgeKinds[i]??0;c!==s&&n.push(`edge_kind:${i}:${c}!=${s}`)}let a=[...new Set(n)];return{shape:this.shape.name,item_count:this.itemCount,author_count:this.authors.size,component_count:this.components.size,hierarchy_depth:this.observedDepth,hierarchy_fanout:this.observedFanout,timestamp_range:{first:this.firstTimestamp,last:this.lastTimestamp},history_entry_count:this.historyEntryCount,annotations:{...this.annotations},edge_kinds:{...this.edgeKinds},matches_declaration:a.length===0,mismatches:a}}};function Le(e){return new K(e)}function af(e,t){let r=Le(e);for(let n of t)r.add(n);return r.finish()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d19cfa31-a02f-53a7-8685-5d169d6e051d")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8c9a34bd-b77a-55ab-a5d1-3594cecfeb3f")}catch{}})();async function cf(){let e=V(process.cwd(),process.env.PM_PATH);await ce(e,(t,r)=>de(t,r,{apply_runtime_defaults:!0}))}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f48b9002-59dc-54d3-95de-36bf0d11b39a")}catch{}})();var Me="https://schema.unbrained.dev/pm/workspace-recipe/v1";function X(e,t){if(e===null||typeof e=="boolean"||typeof e=="string")return e;if(typeof e=="number"){if(!Number.isFinite(e))throw new Error(`Workspace recipe JSON number must be finite at ${t}`);return e}if(Array.isArray(e))return Object.freeze(e.map((r,n)=>X(r,`${t}[${n}]`)));if(typeof e!="object"||Object.getPrototypeOf(e)!==Object.prototype&&Object.getPrototypeOf(e)!==null)throw new Error(`Workspace recipe input must contain JSON values at ${t}`);return Object.freeze(Object.fromEntries(Object.entries(e).map(([r,n])=>[r,X(n,`${t}.${r}`)])))}function De(e){if(e.schema!==Me)throw new Error(`Unsupported workspace recipe schema: ${e.schema}`);let t=ne(e);if(e.operations.some(r=>r.action.trim().length===0||r.input===null||Array.isArray(r.input)))throw new Error("Workspace recipe operations require an action and object input");return Object.freeze({...t,operations:Object.freeze(e.operations.map((r,n)=>Object.freeze({action:r.action,input:X(r.input,`operations[${n}].input`)})))})}async function Ge(e,t){let r=De(e);return oe(r,t)}async function df(e,t){return Ge(e,async()=>{let r=[];for(let[n,o]of e.operations.entries())r.push(await t(o,n));return r})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a108f4d2-80c3-540e-821c-5acdf68eb7fa")}catch{}})();async function pf(){await pe()}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="340305b6-e3c8-5daa-bfbe-4a9c62a6d039")}catch{}})();var Fe=["lines","branches","functions","statements"];function uf(e,t){if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(`Coverage entry for ${e} must be an object.`)}function lf(e,t,r){if(typeof r!="object"||r===null||Array.isArray(r))throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);let n=r;if(typeof n.covered!="number"||typeof n.total!="number"||!Number.isInteger(n.covered)||!Number.isInteger(n.total)||n.covered<0||n.total<n.covered)throw new TypeError(`Coverage entry ${e} has invalid ${t} counts.`);return{covered:n.covered,total:n.total}}function ff(e){if(typeof e!="object"||e===null||Array.isArray(e))throw new TypeError("Coverage summary must be a JSON object.");if(!("total"in e))throw new TypeError("Coverage summary is missing the total entry.");let t=[];for(let[r,n]of Object.entries(e)){uf(r,n);for(let o of Fe){let a=lf(r,o,n[o]),i=a.total-a.covered;i>0&&t.push({file:r,metric:o,uncovered:i,...a})}}return t}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3edb1f4f-d26e-51a8-b62a-caffdd3ac44b")}catch{}})();var mf=["captured_redacted","captured_verbatim"],_f=[{label:"home directory",pattern:/(?:\/home\/|\/Users\/)[^/\s"']+/u},{label:"GitHub token",pattern:/\b(?:gh[oprsu]_[A-Za-z0-9_]{20,})\b/u},{label:"npm token",pattern:/\bnpm_[A-Za-z0-9]{20,}\b/u},{label:"private key",pattern:/-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----/u}];function m(e){return typeof e=="string"&&e.trim().length>0}function hf(e,t){if(typeof t!="object"||t===null||Array.isArray(t))return[{boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} must contain a JSON object.`}];let r=t,n=[];r.boundary_id!==e.id&&n.push({boundary_id:e.id,kind:"fixture_boundary_mismatch",detail:`${e.fixture_path} names ${String(r.boundary_id)} instead of ${e.id}.`}),(r.version!==1||!mf.includes(r.capture_source)||!m(r.capture_provenance)||!Array.isArray(r.redactions)||!r.redactions.every(m)||!("input"in r)||!("observed"in r))&&n.push({boundary_id:e.id,kind:"invalid_fixture",detail:`${e.fixture_path} lacks captured provenance, redaction metadata, input, or observed output.`});let o=JSON.stringify(t);for(let a of _f)a.pattern.test(o)&&n.push({boundary_id:e.id,kind:"unsafe_fixture",detail:`${e.fixture_path} contains a possible ${a.label}.`});return n}function Tf(e,t){let r=Date.parse(e.waiver_expires_at),n=m(e.waiver_reason)&&m(e.waiver_owner)&&e.waiver_expires_at.endsWith("Z")&&ie(e.waiver_expires_at)&&Number.isFinite(r);return{captured:0,waived:n&&r>=t?1:0,findings:n?r<t?[{boundary_id:e.id,kind:"expired_waiver",detail:`Boundary ${e.id} waiver expired at ${e.waiver_expires_at}.`}]:[]:[{boundary_id:e.id,kind:"invalid_waiver",detail:`Boundary ${e.id} waiver requires reason, owner, and an RFC 3339 UTC expiry.`}]}}function gf(e,t,r){if(!m(e.id)||!m(e.producer)||!m(e.consumer)||!m(e.format))return{captured:0,waived:0,findings:[{boundary_id:m(e.id)?e.id:"unknown",kind:"invalid_boundary",detail:"Each boundary requires non-empty id, producer, consumer, and format."}]};if("fixture_path"in e){let n=t[e.fixture_path],o=m(e.fixture_path)&&e.fixture_path in t?hf(e,n):[{boundary_id:e.id,kind:"missing_fixture",detail:`Boundary ${e.id} fixture ${String(e.fixture_path)} is missing.`}];return{captured:o.length===0?1:0,waived:0,findings:o}}return Tf(e,r)}function YO(e,t,r=new Date){let n=[];if(e.version!==1||!m(e.inventory_scope)||!Array.isArray(e.boundaries))return{ok:!1,boundary_count:0,captured_count:0,waived_count:0,findings:[{boundary_id:"registry",kind:"invalid_registry",detail:"Boundary registry requires version 1, inventory_scope, and boundaries."}]};let o=new Set,a=0,i=0;for(let c of e.boundaries){if(typeof c!="object"||c===null||Array.isArray(c)){n.push({boundary_id:"unknown",kind:"invalid_boundary",detail:"Each boundary must be a JSON object."});continue}let s=c,d=m(s.id)?s.id:void 0;if(d!==void 0&&o.has(d)){n.push({boundary_id:d,kind:"duplicate_boundary",detail:`Boundary ${d} is inventoried more than once.`});continue}d!==void 0&&o.add(d);let p=gf(s,t,r.getTime());a+=p.captured,i+=p.waived,n.push(...p.findings)}return n.sort((c,s)=>c.boundary_id!==s.boundary_id?c.boundary_id.localeCompare(s.boundary_id):c.kind.localeCompare(s.kind)),{ok:n.length===0,boundary_count:e.boundaries.length,captured_count:a,waived_count:i,findings:n}}import O from"node:fs";import Y from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="611e9aba-d08e-5c1a-89c9-c7fda0cc9bc9")}catch{}})();var Ue=300*1e3,Af=3;function eR(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function tR(e,t){let r=t.trim();if(!/^[a-zA-Z0-9_-][a-zA-Z0-9._-]*$/.test(r))throw new TypeError("Compile-cache generation must be a safe non-empty filename token.");O.mkdirSync(e,{recursive:!0});let n=Y.join(e,r);O.mkdirSync(n,{recursive:!0});let o=new Date;O.utimesSync(n,o,o);let a=O.readdirSync(e).filter(d=>d!==r).flatMap(d=>{try{return[{name:d,mtimeMs:O.statSync(Y.join(e,d)).mtimeMs}]}catch(p){if(p instanceof Error&&"code"in p&&re(p))return[];throw p}}).sort((d,p)=>p.mtimeMs-d.mtimeMs||d.name.localeCompare(p.name)),i=a.filter(d=>o.getTime()-d.mtimeMs<Ue),c=Math.max(0,Af-1-i.length),s=a.filter(d=>o.getTime()-d.mtimeMs>=Ue).slice(c).map(d=>d.name).sort((d,p)=>d.localeCompare(p));for(let d of s)O.rmSync(Y.join(e,d),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:r,removed:s}}import je from"node:fs";import F from"node:path";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="962636b0-ed3b-5ad0-ae0c-904435025986")}catch{}})();var j="@unbrained/pm-cli",yf=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"]),$e=new Set(["--author","--output-budget","--output-format","--output-include","--output-limit","--output-session","--path","--pm-path"]),Z=/\b(\d{4})\.(\d{1,2})\.(\d{1,2})(?:-(\d+))?\b/u;function f(e,t){return e.some(r=>t.includes(r.split("=",1)[0]))}function q(e,t){return["activate","adopt","adopt-all","deactivate","init","install","migrate","reload","uninstall"].includes(t[0]??"")||f(e,["--activate","--adopt","--adopt-all","--deactivate","--fix-managed-state","--init","--install","--output","--reload","--scaffold","--uninstall"])}var Ef={changelog:(e,t)=>{if(t[0]==="generate")return!f(e,["--check"]);let r=e.indexOf("export");return t[0]==="export"&&(f(e,["--output"])||r>=0&&e[r+1]!==void 0&&!e[r+1].startsWith("-"))},comments:e=>f(e,["--add","--delete","--edit","--file","--stdin"]),config:(e,t)=>(t[0]==="project"||t[0]==="global"?t[1]:t[0])==="set",deps:()=>!1,docs:e=>f(e,["--add","--add-glob","--migrate","--remove"]),duplicates:()=>!1,events:()=>!1,extension:q,files:(e,t)=>f(e,["--add","--add-glob","--migrate","--remove"])||t[0]==="discover"&&f(e,["--apply"]),health:e=>!f(e,["--check-only","--no-refresh","--skip-vectors"]),learnings:e=>f(e,["--add","--delete","--edit","--file","--stdin"]),merge:(e,t)=>t[0]!=="report",notes:e=>f(e,["--add","--delete","--edit","--file","--stdin"]),package:q,packages:q,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]??"")&&!(f(e,["--infer"])&&!f(e,["--apply"])),telemetry:(e,t)=>t.slice(0,2).some(r=>["clear","flush"].includes(r)),templates:(e,t)=>t[0]==="save",test:e=>f(e,["--add","--add-json","--background","--measure","--remove","--resume","--run","--stop"]),validate:e=>f(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 U(e){let t=e.match(Z);return t?[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4]??0)]:null}function G(e,t){let r=U(e),n=U(t);if(!r||!n)return null;for(let o=0;o<r.length;o+=1){let a=r[o]-n[o];if(a!==0)return Math.sign(a)}return 0}function J(e){try{let t=JSON.parse(je.readFileSync(e,"utf8"));return typeof t=="object"&&t!==null&&!Array.isArray(t)?t:null}catch{return null}}function Cf(e){let t=[];for(let r of["dependencies","devDependencies","optionalDependencies","peerDependencies"]){let n=e[r];if(typeof n!="object"||n===null)continue;let o=n[j],a=typeof o=="string"?o.trim():"",i=/^[<!]/u.test(a)?void 0:a.match(Z)?.[0];i&&t.push(i)}return t.sort((r,n)=>G(n,r))[0]}function Sf(e){let r=J(F.join(e,"package-lock.json"))?.packages;if(typeof r!="object"||r===null)return;let n=r["node_modules/@unbrained/pm-cli"];if(typeof n!="object"||n===null)return;let o=n.version;return typeof o=="string"?o:void 0}function Of(e,t){try{let r=je.readFileSync(F.join(e,t),"utf8").split(/\r?\n/u),n=r.findIndex(s=>s.includes(j));if(n<0)return;let o=r[n].match(/^\s*/u)[0].length,a=[r[n]];for(let s=n+1;s<r.length;s+=1){let d=r[s],p=d.trim(),u=d.match(/^\s*/u)[0].length;if(p.length>0&&u<=o)break;a.push(d)}return a.join(`
2
+ `).match(/^\s*version(?::\s*|\s+)["']?(\d{4}\.\d{1,2}\.\d{1,2}(?:-\d+)?)/mu)?.[1]??a[0].match(Z)?.[0]}catch{return}}function Rf(e){let t=[],r=J(F.join(e,"package.json")),n=r?Cf(r):void 0;n&&t.push({version:n,source:"package.json"});let a=J(F.join(e,"node_modules","@unbrained","pm-cli","package.json"))?.version;typeof a=="string"&&U(a)&&t.push({version:a,source:"installed-package"});let i=Sf(e);i&&U(i)&&t.push({version:i,source:"package-lock.json"});for(let c of["pnpm-lock.yaml","yarn.lock"]){let s=Of(e,c);s&&t.push({version:s,source:c})}return t}function He(e){for(let t=0;t<e.length;t+=1){let r=e[t];if($e.has(r)){t+=1;continue}if(!r.startsWith("-"))return{command:r.toLowerCase(),index:t}}}function bf(e){let t=He(e);if(!t||f(e,["--help","-h","--dry-run"]))return!1;let{command:r,index:n}=t,o=[];for(let i=n+1;i<e.length;i+=1){let c=e[i];if($e.has(c)){i+=1;continue}c.startsWith("-")||o.push(c.toLowerCase())}let a=Ef[r];return a?a(e,o):yf.has(r)}function xf(e){let t=He(e.argv)?.command,r=bf(e.argv),o=Rf(e.projectRoot).filter(c=>G(c.version,e.executingVersion)!==null).sort((c,s)=>G(s.version,c.version))[0],a=o!==void 0&&G(e.executingVersion,o.version)===-1,i=a&&!r?{code:"project_runtime_stale_read",executing_version:e.executingVersion,project_version:o.version,source:o.source,message:"This read is using an older pm runtime than the project requires.",next_steps:[`Run the command through the project's installed ${j} ${o.version}.`,"Install the project dependencies with its declared package manager if the local executable is missing."]}:void 0;return{compatible:!r||!a||e.allowStale===!0,executing_version:e.executingVersion,...o?{project_version:o.version,source:o.source}:{},...t?{command:t}:{},mutating:r,stale:a,...i?{warning:i}:{},override_applied:a&&r&&e.allowStale===!0}}function aR(e){let t=xf(e);if(t.compatible)return t;throw new B(`pm ${t.executing_version} cannot mutate a project pinned to newer pm ${t.project_version}.`,H.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 ${j} ${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{createHash as If}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4586a8b2-07c8-53d4-9c5d-ca557ee07977")}catch{}})();var Q=1;function R(e){e?.throwIfAborted()}function g(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function b(e,t,r={}){let n=Date.parse(r.createdAt??new Date().toISOString());if(!Number.isFinite(n))throw new TypeError("Relationship graph createdAt must be a valid timestamp");let o=e.nodes(),a=e.edges(),i=t.list();return Object.freeze({version:Q,fingerprint:If("sha256").update(L({nodes:o,edges:a,kinds:i})).digest("hex"),created_at:new Date(n).toISOString(),nodes:o,edges:a,kinds:i})}function Nf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function v(e){if(!Nf(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==Q)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(o=>typeof o!="string"))throw new TypeError("Relationship graph snapshot nodes must be strings");if(!Array.isArray(e.edges)||!Array.isArray(e.kinds))throw new TypeError("Relationship graph snapshot edges and kinds must be arrays");if(typeof e.created_at!="string"||!Number.isFinite(Date.parse(e.created_at)))throw new TypeError("Relationship graph snapshot created_at must be valid");if(typeof e.fingerprint!="string")throw new TypeError("Relationship graph snapshot fingerprint must be a string");let t=new W([]);for(let o of e.kinds)t.register(o);let r=new y(e.nodes,e.edges,t),n=b(r,t,{createdAt:e.created_at});if(n.fingerprint!==e.fingerprint)throw new TypeError("Relationship graph snapshot fingerprint mismatch");return{snapshot:n,registry:t,graph:r}}async function _(e,t){g(e.name,"adapter name");let r=g(t.workspace,"workspace");R(t.signal);let n=await e.read({...t,workspace:r});return R(t.signal),n===null?null:v(n)}async function $(e,t){let r=g(t.workspace,"workspace"),n=v(t.snapshot).snapshot,o=await _(e,{workspace:r,signal:t.signal});if(o?.snapshot.fingerprint===n.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:n.fingerprint,previous_fingerprint:o.snapshot.fingerprint,node_count:n.nodes.length,edge_count:n.edges.length};if(R(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:o?.snapshot.fingerprint??null}),(await _(e,{workspace:r,signal:t.signal}))?.snapshot.fingerprint!==n.fingerprint)throw new Error(`Relationship graph adapter "${e.name}" did not expose the replaced snapshot`);return{adapter:e.name,workspace:r,disposition:"written",fingerprint:n.fingerprint,...o?{previous_fingerprint:o.snapshot.fingerprint}:{},node_count:n.nodes.length,edge_count:n.edges.length}}function wf(e,t={}){let r=e.map(v),n=new Map;for(let i of r)for(let c of i.snapshot.kinds){let s=n.get(c.kind);if(s&&L(s)!==L(c))throw new TypeError(`Conflicting federated relationship kind: ${c.kind}`);n.set(c.kind,c)}let o=new W([...n.values()].sort((i,c)=>i.kind.localeCompare(c.kind))),a=new y(new Set(r.flatMap(i=>[...i.snapshot.nodes])),r.flatMap(i=>[...i.snapshot.edges]),o);return b(a,o,t)}var k=class{name;#e=new Map;constructor(t="memory"){this.name=g(t,"adapter name")}async read(t){R(t.signal);let r=this.#e.get(g(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){R(t.signal);let r=g(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.set(r,structuredClone(v(t.snapshot).snapshot))}async clear(t){R(t.signal);let r=g(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.delete(r)}};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="423d6e5d-93e5-5f29-93e0-11ddca9c3156")}catch{}})();function Be(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function kf(e){let t=Be(e.nodeCount,"nodeCount"),r=Be(e.edgeStride??1,"edgeStride"),n=e.topology??"chain";if(!["chain","star","disconnected"].includes(n))throw new TypeError(`Unsupported relationship graph topology: ${n}`);let o=(e.kind??"related").trim(),a=(e.idPrefix??"node").trim();if(!o||!a)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let i=n==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:i,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let c=0;c<t;c+=1)yield`${a}-${c}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let c=r;c<t;c+=r)yield{source:`${a}-${n==="star"?0:c-r}`,target:`${a}-${c}`,kind:o}}}}}function A(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function Ve(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=se(),o=b(new y(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),a=b(new y(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],n),n,{createdAt:"2026-01-02T00:00:00.000Z"}),i=[];A(await _(e,{workspace:r})===null,"workspace must start empty"),i.push({name:"empty-read",passed:!0});let c=await $(e,{workspace:r,snapshot:o});A(c.disposition==="written","first sync must write"),i.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),A((await _(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),i.push({name:"read-isolation",passed:!0}),A((await $(e,{workspace:r,snapshot:o})).disposition==="current","identical sync must be idempotent"),i.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:a,expected_fingerprint:o.fingerprint}),A((await _(e,{workspace:r}))?.snapshot.fingerprint===a.fingerprint,"replacement must become visible"),i.push({name:"replacement-visibility",passed:!0});let d=!1;try{await e.replace({workspace:r,snapshot:o,expected_fingerprint:o.fingerprint})}catch{d=!0}return A(d,"stale compare-and-swap must fail"),i.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:a.fingerprint}),A(await _(e,{workspace:r})===null,"clear must remove the workspace"),i.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(i),clear_supported:e.clear!==void 0}}function vf(e){return Ve(new k,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b5509c6e-1431-5316-a563-16681ced4f33")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();import{createHash as We}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54a3448c-719c-5404-a9b9-c3072a2fdce2")}catch{}})();function ze(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function vR(e,t){let r=ze(t.migrationId,"migrationId"),n=ze(t.author,"author"),o=Date.parse(t.timestamp);if(!Number.isFinite(o))throw new TypeError("Relationship backfill timestamp must be valid");let a=new Date(o).toISOString(),i=z(e,void 0,t.registry),c=i.graph.nodes(),s=i.graph.edges().map(l=>{let h=We("sha256").update(JSON.stringify([r,l.kind,l.source,l.target,l.createdAt??null,l.author??null,l.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${h}`,relationshipId:`migration:${r}:${h}`,action:"add",edge:l,author:n,timestamp:a,reason:`Backfill ${r} from legacy item metadata`})}),d=We("sha256").update(JSON.stringify({migrationId:r,nodes:c,events:s})).digest("hex"),p=new Set([...t.existingEventIds??[]].filter(l=>typeof l=="string").map(l=>l.trim()).filter(Boolean)),u=s.filter(l=>!p.has(l.eventId));return Object.freeze({migration_id:r,fingerprint:d,nodes:c,events:Object.freeze(u),edge_count:s.length,skipped_existing_count:s.length-u.length,duplicate_dependency_rows:i.duplicateRows.length,dangling_reference_count:i.dangling.active.length+i.dangling.legacy_terminal.length})}import{stripTypeScriptTypes as Pf}from"node:module";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="70af2366-a675-5631-8edb-4ebeef4bb786")}catch{}})();var ee=["suggested_retry","candidate_command","example","next_step","migration_hint","restore_with"],te={suggested_retry:{kind:"suggested_retry",semantics:"recovery"},retry_command:{kind:"suggested_retry",semantics:"recovery"},candidate_command:{kind:"candidate_command",semantics:"recovery"},candidate_commands:{kind:"candidate_command",semantics:"recovery"},fallback_candidates:{kind:"candidate_command",semantics:"recovery",nested_value_field:"command"},next_best_command:{kind:"candidate_command",semantics:"recovery"},example:{kind:"example",semantics:"recovery"},examples:{kind:"example",semantics:"recovery"},next_step:{kind:"next_step",semantics:"recovery"},next_steps:{kind:"next_step",semantics:"recovery"},suggested_next_steps:{kind:"next_step",semantics:"recovery"},migration_hint:{kind:"migration_hint",semantics:"replacement"},migration_hints:{kind:"migration_hint",semantics:"replacement"},restore_with:{kind:"restore_with",semantics:"behavior_preserving"}},MR=Object.freeze(Object.keys(te));function Ke(e){if(Object.hasOwn(te,e))return te[e]}var Lf=new Set([..."=([{,:;!?&|+-*%^~<>","=>"]);function x(e,t){return e<t?-1:e>t?1:0}function Mf(e,t){let r=e[t],n=t+1,o="";for(;n<e.length&&e[n]!==r;)e[n]==="\\"?n+=2:(o+=e[n],n+=1);return e[n]===r&&(n+=1),{next:n,value:o}}function Df(e){return e===void 0||e.kind==="punctuator"&&Lf.has(e.value)||e.kind==="identifier"&&["return","case","throw","else","yield"].includes(e.value)}function Gf(e,t){if(/\s/u.test(e[t]))return t+1;if(e.startsWith("//",t)){let r=e.indexOf(`
3
+ `,t+2);return r===-1?e.length:r+1}if(e.startsWith("/*",t))return e.indexOf("*/",t+2)+2}function Ff(e,t,r){if(e[t]!=="/"||!Df(r))return;let n=t+1,o=!1;for(;n<e.length;)if(e[n]==="\\")n+=2;else if(e[n]==="[")o=!0,n+=1;else if(e[n]==="]")o=!1,n+=1;else if(e[n]==="/"&&!o){for(n+=1;/[A-Za-z]/u.test(e.charAt(n));)n+=1;return n}else n+=1;return n}function Uf(e,t){let r=e[t];if(r==="'"||r==='"'||r==="`"){let o=Mf(e,t);return r==="`"?{next:o.next}:{next:o.next,token:{kind:"string",value:o.value,offset:t+1}}}if(/[A-Za-z_$]/u.test(r)){let o=t+1;for(;/[A-Za-z0-9_$]/u.test(e[o]??"");)o+=1;return{next:o,token:{kind:"identifier",value:e.slice(t,o),offset:t}}}let n=e.startsWith("=>",t)?"=>":r;return{next:t+n.length,token:{kind:"punctuator",value:n,offset:t}}}function jf(e){let t=[],r=0;for(;r<e.length;){let n=Gf(e,r);if(n!==void 0){r=n;continue}let o=Ff(e,r,t.at(-1));if(o!==void 0){r=o;continue}let a=Uf(e,r);a.token&&t.push(a.token),r=a.next}return t}var $f=new Set(["object","block","pattern"]),Hf=new Set(["const","let","var"]),Bf=new Set(["}",")","]"]),Vf=new Set(["=","(","[",",",":","?","return"]);function Wf(e,t,r){if([...r].reverse().find(a=>$f.has(a.kind))?.kind==="pattern"||r.at(-1)?.kind==="paren"&&r.at(-1)?.parameter_list)return"pattern";let o=e[t-1];return o?.kind==="identifier"&&Hf.has(o.value)?"pattern":o?.value==="=>"||o?.value===")"?"block":o&&Vf.has(o.value)?"object":"block"}function zf(e,t,r){let n=e[t];if(n.value==="{"){let c=Wf(e,t,r);return{kind:c,...c==="object"?{member_start:!0,candidates:[]}:{}}}if(n.value==="[")return{kind:"array"};if(n.value!=="(")return;let o=e[t-1],a=e[t-2];return{kind:"paren",...o?.value==="function"||a?.value==="function"?{parameter_list:!0}:{}}}function Kf(e,t,r){if(!(e?.kind!=="object"||!e.member_start||t.kind!=="identifier"&&t.kind!=="string"||r?.value!==":"||!/^[A-Za-z][A-Za-z0-9_]*$/u.test(t.value)))return{field:t.value,offset:t.offset}}function Xf(e,t){return e[t+1]?.value===")"&&e[t+2]?.value==="=>"||e[t+1]?.value==="="}function Yf(e){let t=jf(Pf(e,{mode:"strip"})),r=[],n=[];for(let[o,a]of t.entries()){let i=n.at(-1),c=Kf(i,a,t[o+1]);c&&i.candidates.push(c);let s=zf(t,o,n);if(s)n.push(s);else if(Bf.has(a.value)){let d=n.pop();d?.kind==="object"&&!Xf(t,o)&&r.push(...d.candidates)}else a.value===","&&i?.kind==="object"?i.member_start=!0:i?.kind==="object"&&a.value!==":"&&(i.member_start=!1)}return r}function qf(e){let t=[0];for(let r=0;r<e.length;r+=1)e[r]===`
4
+ `&&t.push(r+1);return t}function Jf(e,t){let r=0,n=e.length;for(;r<n;){let o=Math.floor((r+n)/2);e[o]<=t?r=o+1:n=o}return r}function DR(e){let t=[],r=[];for(let o of[...e].sort((a,i)=>x(a.path,i.path))){let a=qf(o.content),i;try{i=Yf(o.content)}catch(c){r.push({kind:"invalid_source",subject:o.path,detail:`${o.path} could not be parsed for recovery producers: ${String(c)}.`});continue}for(let c of i){let s=c.field,d=Jf(a,c.offset),p=Ke(s);p?t.push({path:o.path,line:d,field:s,kind:p.kind}):/(?:retry_command|candidate_command|fallback_candidate|next_best_command|example|next_step|migration_hint|restore_with)/u.test(s)&&!/(?:_total|_truncated)$/u.test(s)&&r.push({kind:"unknown_recovery_field",subject:`${o.path}:${d}:${s}`,detail:`${s} resembles a recovery reference but has no typed field contract.`})}}let n=Object.fromEntries(ee.map(o=>[o,t.filter(a=>a.kind===o).length]));for(let o of ee)n[o]===0&&r.push({kind:"missing_kind_producer",subject:o,detail:`No source producer emits the ${o} recovery-reference kind.`});return t.sort((o,a)=>o.path!==a.path?x(o.path,a.path):o.line!==a.line?o.line-a.line:x(o.field,a.field)),r.sort((o,a)=>o.subject!==a.subject?x(o.subject,a.subject):x(o.kind,a.kind)),{ok:r.length===0,scanned_file_count:e.length,producer_count:t.length,producer_count_by_kind:n,producers:t,findings:r}}function GR(e,t){let r=[],n=(o,a)=>{if(Array.isArray(o)){o.forEach((i,c)=>n(i,[...a,String(c)]));return}if(!(typeof o!="object"||o===null))for(let[i,c]of Object.entries(o).sort(([s],[d])=>x(s,d))){let s=Ke(i),d=s?.kind==="migration_hint"&&o.semantics==="behavior_preserving"?{...s,semantics:"behavior_preserving"}:s,p=[c].flat();d!==void 0&&p.forEach((u,l)=>{let h="nested_value_field"in d&&typeof d.nested_value_field=="string"?d.nested_value_field:void 0,I=h&&typeof u=="object"&&u!==null&&!Array.isArray(u)?u[h]:u;if(typeof I!="string"||I.trim().length===0)return;let N=[...a,i,String(l)].map(P=>encodeURIComponent(P)).join("/");r.push({id:`${e}:${d.kind}:${N}`,probe_id:e,kind:d.kind,semantics:d.semantics,value:I})}),n(c,[...a,i])}};return n(t,[]),r}function FR(e,t){let r=e.flatMap(i=>(i.owned_states??[]).map(c=>({contract:i,state:c}))),n=[],o=new Map;for(let i of t){if(o.has(i.probe_id)){n.push({kind:"duplicate_probe",probe_id:i.probe_id,detail:`Observation ${i.probe_id} was supplied more than once.`});continue}o.set(i.probe_id,i)}let a=new Set(r.map(({state:i})=>i.probe_id));for(let{contract:i,state:c}of r){let s=o.get(c.probe_id);if(!s){n.push({kind:"missing_probe",probe_id:c.probe_id,detail:`No entrypoint observation was recorded for ${i.code}.`});continue}s.code!==i.code&&n.push({kind:"wrong_error_code",probe_id:c.probe_id,detail:`Expected ${i.code}; observed ${s.code}.`}),s.exit_class!==c.expected_exit_class&&n.push({kind:"wrong_exit_class",probe_id:c.probe_id,detail:`Expected ${c.expected_exit_class}; observed ${s.exit_class}.`}),c.entrypoints.includes(s.entrypoint)||n.push({kind:"wrong_entrypoint",probe_id:c.probe_id,detail:`Expected one of ${c.entrypoints.join(", ")}; observed ${s.entrypoint}.`})}for(let i of t)a.has(i.probe_id)||n.push({kind:"undeclared_probe",probe_id:i.probe_id,detail:`Observation ${i.probe_id} has no catalog declaration.`});return n.sort((i,c)=>i.probe_id!==c.probe_id?i.probe_id.localeCompare(c.probe_id):i.kind.localeCompare(c.kind)),{ok:n.length===0,declared_probe_count:r.length,observed_probe_count:t.length,findings:n}}function UR(e,t){let r=[],n=new Set,o=new Set;for(let s of e){if(n.has(s.id)){o.add(s.id),r.push({kind:"duplicate_obligation",reference_id:s.id,detail:`Recovery obligation ${s.id} was declared more than once.`});continue}n.add(s.id)}let a=new Map;for(let s of t){if(a.has(s.id)){r.push({kind:"duplicate_observation",reference_id:s.id,detail:`Recovery reference ${s.id} was observed more than once.`});continue}a.set(s.id,s),n.has(s.id)||r.push({kind:"undeclared_observation",reference_id:s.id,detail:`Recovery observation ${s.id} has no emitted obligation.`})}for(let s of e){if(o.has(s.id))continue;let d=a.get(s.id);d?d.reachable?d.semantics!==s.semantics&&r.push({kind:"wrong_semantics",reference_id:s.id,detail:`Recovery reference ${s.value} promised ${s.semantics}; proof demonstrated ${d.semantics}.`}):r.push({kind:"unreachable_reference",reference_id:s.id,detail:`Recovery reference ${s.value} did not reach its promised target.`}):r.push({kind:"missing_observation",reference_id:s.id,detail:`No reachability proof was recorded for ${s.kind} ${s.value}.`})}let i=ee.map(s=>{let d=e.filter(u=>u.kind===s),p=d.filter(u=>!o.has(u.id)).map(u=>a.get(u.id)).filter(u=>u!==void 0);return{kind:s,declared:d.length,observed:p.length,passed:d.filter(u=>{let l=a.get(u.id);return!o.has(u.id)&&l?.reachable===!0&&l.semantics===u.semantics}).length}});r.sort((s,d)=>s.reference_id!==d.reference_id?s.reference_id.localeCompare(d.reference_id):s.kind.localeCompare(d.kind));let c=i.reduce((s,d)=>s+d.passed,0);return{ok:r.length===0,declared_reference_count:e.length,observed_reference_count:t.length,pass_fraction:n.size===0?1:c/n.size,coverage_by_kind:i,findings:r}}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7fc669d4-1db2-5636-8304-2c111a684726")}catch{}})();function $R(e){return e}function HR(e){return e}function BR(e){return e}function VR(e){return e}function WR(e){return e}function zR(e){return e}function KR(e){return e}function XR(e){return e}function YR(e){return e}function qR(e){return e}function JR(e){return e}function ZR(e){return e}function QR(e){return e}function eb(e){return{handled:!0,result:e}}function tb(){return{handled:!1}}function rb(e){return e}function nb(e){return e}function ob(e){return e}function ib(e){return e}function sb(e){return e}function ab(e){return e}function cb(e){return e}function db(e){return e}function pb(e){return e}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5bbfab95-010d-5507-ab01-f8f43943d295")}catch{}})();function Zf(e={},t={}){return new M(t).extension(void 0,{...e,migrate:!0})}function Qf(e={},t={}){return new M(t).packageMigrate(e)}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="99a9b24a-4bc7-50da-8333-e76086f0e303")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c2063b82-58b6-54c9-baff-ca252cadf463")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="fe5e55c6-aabb-53c7-bdbb-16f2ea78f180")}catch{}})();export{jy as ACTIONABILITY_ORDERING_KINDS,an as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,ti as ACTIVITY_FLAG_CONTRACTS,Ft as AGENT_PROVENANCE_DIMENSIONS,Un as AGGREGATE_FLAG_CONTRACTS,bo as APPEND_FLAG_CONTRACTS,Dy as ASSURANCE_ACTIONS,Gy as ASSURANCE_DECLARATION_KINDS,kA as ASSURANCE_DOCUMENT_VERSION,zo as ASSURANCE_FLAG_CONTRACTS,vA as ASSURANCE_GATE_TRIGGERS,PA as ASSURANCE_MEASUREMENT_SOURCE_KINDS,qA as ASSURANCE_PRESET_IDS,xA as AssuranceEvaluationRefusalError,bA as AssuranceMutationRefusalError,IA as AssuranceSourceResolutionError,St as BASELINE_ITEM_FORMAT_VERSION,mf as BOUNDARY_FIXTURE_CAPTURE_SOURCES,rE as BRIEF_LIST_FIELDS,S as BUILTIN_CORPUS_SHAPES,Ut as BUILTIN_HARNESS_SIGNAL_DESCRIPTORS,et as BUILTIN_ITEM_TYPE_VALUES,ye as BUILTIN_PROFILES,Pm as BUILTIN_RELATIONSHIP_KINDS,nn as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,ei as CALENDAR_FLAG_CONTRACTS,xo as CLAIM_FLAG_CONTRACTS,yi as CLOSE_ACTION_OPTION_KEYS,Oo as CLOSE_FLAG_CONTRACTS,Ro as CLOSE_MANY_FLAG_CONTRACTS,Po as CLOSE_TASK_FLAG_CONTRACTS,jn as COMMENTS_FLAG_CONTRACTS,bm as COMMON_MUTATION_COMMAND_OPTION_KEYS,fi as COMPLETION_FLAG_CONTRACTS,st as CONFIDENCE_TEXT_VALUES,to as CONFIG_FLAG_CONTRACTS,on as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,mE as CONTEXT_EVALUATION_METRIC_NAMES,ni as CONTEXT_FLAG_CONTRACTS,he as CONTEXT_OUTPUT_VALUES,AE as CONTEXT_PACKING_PROFILES,pE as CONTEXT_RELEVANCE_SERVICE,cE as CONTEXT_RELEVANCE_SIGNAL_NAMES,xE as CONTEXT_SIGNAL_SET_VERSION,bE as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,IE as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,li as CONTRACTS_FLAG_CONTRACTS,qo as COPY_FLAG_CONTRACTS,un as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,fn as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,ln as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,nm as CREATE_DIRECT_CLOSE_REASON_DEFAULT,Ko as CREATE_FLAG_CONTRACTS,Yh as CURRENT_HISTORY_ITEM_HASH_VERSION,Ot as CURRENT_ITEM_FORMAT_VERSION,vE as ContextSignalStore,EE as ContextUsageValidationError,AA as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,uC as DEFAULT_CHILD_SAMPLE_LIMIT,tE as DEFAULT_COMPACT_LIST_FIELDS,KT as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Sd as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,KE as DEFAULT_TERMINAL_TRANSITION_POLICY,DE as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,Ny as DEFECT_ESCAPE_CLASSES,wy as DEFECT_GATE_EVIDENCE_DISPOSITIONS,No as DELETE_FLAG_CONTRACTS,nt as DEPENDENCY_KIND_VALUES,si as DEPS_FLAG_CONTRACTS,Vn as DOCS_FLAG_CONTRACTS,Bo as DUPLICATES_FLAG_CONTRACTS,ci as EVAL_FLAG_CONTRACTS,Ad as EVAL_QUERY_SET_CONTRACT,yd as EVAL_QUERY_SET_EXAMPLE,gd as EVAL_QUERY_SET_SCHEMA_ID,ri as EVENTS_FLAG_CONTRACTS,Mo as EVENT_FLAG_CONTRACTS,en as EXECUTABLE_COMMAND_ALIASES,H as EXIT_CODE,fo as EXTENSION_ACTIVATE_FLAG_CONTRACTS,lo as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,yo as EXTENSION_ADOPT_FLAG_CONTRACTS,rA as EXTENSION_CAPABILITIES,rm as EXTENSION_CAPABILITY_CONTRACT,em as EXTENSION_CAPABILITY_CONTRACT_VERSION,tm as EXTENSION_CAPABILITY_LEGACY_ALIASES,_t as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,Ao as EXTENSION_CATALOG_FLAG_CONTRACTS,mo as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,uo as EXTENSION_DESCRIBE_FLAG_CONTRACTS,go as EXTENSION_DOCTOR_FLAG_CONTRACTS,po as EXTENSION_EXPLORE_FLAG_CONTRACTS,ro as EXTENSION_FLAG_CONTRACTS,oo as EXTENSION_INIT_FLAG_CONTRACTS,ao as EXTENSION_INSTALL_FLAG_CONTRACTS,ho as EXTENSION_MANAGE_FLAG_CONTRACTS,_o as EXTENSION_MIGRATE_FLAG_CONTRACTS,nA as EXTENSION_POLICY_MODES,oA as EXTENSION_POLICY_SURFACES,To as EXTENSION_RELOAD_FLAG_CONTRACTS,sA as EXTENSION_SANDBOX_PROFILES,no as EXTENSION_SCOPE_FLAG_CONTRACTS,iA as EXTENSION_TRUST_MODES,co as EXTENSION_UNINSTALL_FLAG_CONTRACTS,ry as EXTERNAL_DEPENDENCY_SOURCE_KIND,ny as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,Bn as FILES_FLAG_CONTRACTS,Jo as FOCUS_FLAG_CONTRACTS,$o as GC_FLAG_CONTRACTS,oi as GET_FLAG_CONTRACTS,Gn as GLOBAL_FLAG_CONTRACTS,_s as GRAPH_DURABLE_CACHE_MIN_ITEMS,ms as GRAPH_DURABLE_CACHE_VERSION,ai as GRAPH_FLAG_CONTRACTS,rr as GRAPH_SUBCOMMAND_VALUES,ii as GUIDE_FLAG_CONTRACTS,Vo as HEALTH_FLAG_CONTRACTS,Yn as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,dy as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,XC as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,qn as HISTORY_COMPACT_FLAG_CONTRACTS,Wn as HISTORY_FLAG_CONTRACTS,Kn as HISTORY_REDACT_FLAG_CONTRACTS,Xn as HISTORY_REPAIR_FLAG_CONTRACTS,ld as INIT_AGENT_GUIDANCE_MODE_VALUES,eo as INIT_FLAG_CONTRACTS,Eo as INSTALL_FLAG_CONTRACTS,it as ISSUE_SEVERITY_VALUES,Yo as ITEM_COMPLETE_FLAG_CONTRACTS,kC as ITEM_LATEST_TIMESTAMP_FIELDS,im as ITEM_METADATA_KEY_ORDER,Xo as ITEM_MUTATE_FLAG_CONTRACTS,tt as ITEM_TYPE_VALUES,wC as ITEM_UNION_COLLECTION_FIELDS,kE as JsonFileContextSignalStoreAdapter,Hn as LEARNINGS_FLAG_CONTRACTS,jc as LINKED_TEST_ENV_NAME_PATTERN,$c as LINKED_TEST_PM_CONTEXT_MODE_VALUES,Uc as LINKED_TEST_PROTECTED_ENV_KEYS,tn as LIST_COMMANDER_STRING_OPTION_CONTRACTS,nE as LIST_COMMAND_DEFAULT_PROJECTIONS,cA as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,Fn as LIST_FILTER_FLAG_CONTRACTS,Qy as LIST_SORT_FIELDS,eE as LIST_SORT_ORDER_VALUES,pC as MAX_CHILD_PROJECTION_ITEMS,Lo as MEET_FLAG_CONTRACTS,LC as MERGE_DRIVER_ARTIFACT_VALUES,zn as MERGE_FLAG_CONTRACTS,k as MemoryRelationshipGraphAdapter,sn as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,pi as NEXT_FLAG_CONTRACTS,Ec as NEXT_OUTPUT_VALUES,$n as NOTES_FLAG_CONTRACTS,io as PACKAGE_FLAG_CONTRACTS,so as PACKAGE_INIT_FLAG_CONTRACTS,vo as PAUSE_TASK_FLAG_CONTRACTS,Ai as PLAN_CREATE_METADATA_PARAMETER_KEYS,Qn as PLAN_FLAG_CONTRACTS,rd as PLAN_SHOW_DEPTH_VALUES,td as PLAN_SUBCOMMANDS,nd as PLAN_TEMPLATE_NAMES,Ii as PM_CLI_EXPECTED_ERROR_NAME,or as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,QE as PM_COMMAND_EXIT_CONTRACTS,ZE as PM_COMMAND_EXIT_OUTCOME_CONTRACTS,Tr as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,sS as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,qd as PM_COMMAND_VISIBILITY_CONTRACTS,pA as PM_CONTEXT_INTENTS_FILE,Mh as PM_CONTEXT_INTENT_CONTRACTS,tr as PM_CORE_COMMAND_NAMES,T as PM_CORPUS_SHAPE_SCHEMA,nS as PM_ERROR_CODE_CATALOG,QC as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,Fe as PM_EXACT_COVERAGE_METRICS,Yt as PM_EXTENSION_CAPABILITY_CONTRACTS,nr as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,Jt as PM_EXTENSION_POLICY_MODE_CONTRACTS,er as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Qt as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,qt as PM_EXTENSION_SERVICE_NAME_CONTRACTS,Zt as PM_EXTENSION_TRUST_MODE_CONTRACTS,hy as PM_GITATTRIBUTES_END,_y as PM_GITATTRIBUTES_START,gy as PM_GITATTRIBUTES_V2_END,Ty as PM_GITATTRIBUTES_V2_START,Li as PM_GITIGNORE_END,Pi as PM_GITIGNORE_START,rp as PM_MCP_PROMPT_CONTRACTS,tp as PM_MCP_RESOURCE_CONTRACTS,Qd as PM_MCP_TOOL_COMMAND_CONTRACTS,H_ as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,jr as PM_MUTATION_ACTION_CONTRACTS,fr as PM_OUTPUT_BUDGET_CLASSES,lr as PM_OUTPUT_DEGRADATION_STEPS,oS as PM_OUTPUT_ENVELOPE_KINDS,fe as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,le as PM_PACKAGE_RESOURCE_KINDS,xi as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,Ri as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,Sh as PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS,yh as PM_READ_OUTPUT_DIMENSIONS,Ch as PM_READ_OUTPUT_OPTION_FLAGS,_h as PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS,mh as PM_READ_OUTPUT_SESSION_MIN_TOKENS,Eh as PM_READ_OUTPUT_SURFACES,Oh as PM_READ_OUTPUT_SURFACE_CONTRACTS,$_ as PM_READ_ROW_CONTRACTS,j_ as PM_READ_ROW_JQ_SELECTOR,MR as PM_RECOVERY_REFERENCE_FIELDS,ee as PM_RECOVERY_REFERENCE_KINDS,eC as PM_SUCCESS_EXIT_CODES,ir as PM_TOOL_ACTIONS,Ei as PM_TOOL_ACTION_PARAMETER_CONTRACTS,bi as PM_TOOL_PARAMETERS_SCHEMA,Oi as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Si as PM_TOOL_PARAMETERS_SCHEMA_VERSION,Ti as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,Me as PM_WORKSPACE_RECIPE_SCHEMA,Zn as PROFILE_FLAG_CONTRACTS,xe as PROFILE_LINT_CODES,be as PROFILE_LINT_DIMENSIONS,Ae as PROFILE_NAMES,$d as PROFILE_SUBCOMMANDS,B as PmCliError,M as PmClient,oh as QUERY_CURSOR_CONTRACT,So as REINDEX_FLAG_CONTRACTS,HT as REINDEX_LOCK_ID,Q as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,wo as RELEASE_FLAG_CONTRACTS,Do as REMIND_FLAG_CONTRACTS,ae as RESERVED_ITEM_FIELD_NAMES,Io as RESTORE_FLAG_CONTRACTS,ot as RISK_VALUES,Xg as RelationshipEventLog,Yg as RelationshipEventStore,y as RelationshipGraph,W as RelationshipKindRegistry,Jn as SCHEMA_FLAG_CONTRACTS,rn as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,dA as SEARCH_EXTENSION_FLAG_DEFINITIONS,ui as SEARCH_FLAG_CONTRACTS,nc as SEMANTIC_ATTRIBUTION_LIMITS,sm as SETTINGS_DEFAULTS,Id as SNAPSHOT_SCHEMA,ly as SOURCE_CONTEXT_ACCESS_ENV,fy as SOURCE_CONTEXT_WRITE_OVERRIDE_ENV,ko as START_TASK_FLAG_CONTRACTS,Ho as STATS_FLAG_CONTRACTS,rt as STATUS_VALUES,Dn as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,qh as SUPPORTED_HISTORY_ITEM_HASH_VERSIONS,D_ as SUPPRESS_HOST_OUTPUT_MARKER,Uo as TELEMETRY_FLAG_CONTRACTS,Sp as TELEMETRY_SUBCOMMANDS,Fo as TEST_ALL_FLAG_CONTRACTS,Go as TEST_FLAG_CONTRACTS,jo as TEST_RUNS_FLAG_CONTRACTS,gp as TEST_RUN_MEASUREMENT_LIMIT,wn as TOOL_ACTIVITY_OPTION_CONTRACTS,gn as TOOL_AGGREGATE_OPTION_CONTRACTS,bn as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,Nn as TOOL_CALENDAR_OPTION_CONTRACTS,In as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,kn as TOOL_CONTEXT_OPTION_CONTRACTS,Sn as TOOL_CREATE_OPTION_CONTRACTS,Cn as TOOL_CREATE_OPTION_CONTRACT_SOURCE,vn as TOOL_DEPS_OPTION_CONTRACTS,Pn as TOOL_GRAPH_OPTION_CONTRACTS,Tn as TOOL_LIST_FILTER_OPTION_CONTRACTS,An as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,En as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,yn as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,xn as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,Rn as TOOL_UPDATE_OPTION_CONTRACTS,On as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,om as TYPE_TO_FOLDER,Em as UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES,mn as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,hn as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,_n as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Zo as UPDATE_FLAG_CONTRACTS,Qo as UPDATE_MANY_FLAG_CONTRACTS,Co as UPGRADE_FLAG_CONTRACTS,Wo as VALIDATE_FLAG_CONTRACTS,di as WORKSPACE_FLAG_CONTRACTS,Sr as WORKSPACE_HISTORY_ID,zi as WorkspaceGraphCache,eA as WorkspaceTransactionInterruptedError,ki as _testOnly,aE as _testOnlyAggregateCommand,ud as _testOnlyConfigCommand,_C as _testOnlyGetCommand,da as _testOnlyHealthCommand,hd as _testOnlyInit,fd as _testOnlyInitAgentGuidance,vS as _testOnlyItemTransaction,BC as _testOnlyMutationEvents,VE as _testOnlyNextCommand,xC as _testOnlySearchCommand,aC as _testOnlySimilarity,Dd as _testOnlyTemplates,La as _testOnlyValidateCommand,ey as acceptAssuranceProposals,Ms as acknowledgeUnknownAuthorHistoryEvents,Ls as acknowledgeUnknownAuthorHistoryEventsFromTransport,XT as acquireItemMetadataDerivedIndexLock,Cr as acquireLock,VS as activateExtensionForTest,zm as activateExtensions,Gt as agentSessionEnvironment,gu as aggregate,ap as analyzeAgentProvenanceDescriptorCoverage,vy as analyzeDefectChangeRisk,Jg as analyzeGraphImpact,Zg as analyzeKnowledgeGraph,oC as analyzePmCommandExitConformance,sr as analyzePmToolActionParity,DC as analyzeReconciliationDiscard,qg as analyzeRelationshipExecution,as as analyzeRelationshipSchedule,Bl as analyzeSdkActionCoverage,ue as analyzeSdkCliParameterCompleteness,wu as append,Er as appendHistoryEntry,xr as appendWorkspaceAuditEvent,br as appendWorkspaceHistoryChange,hT as applyAcceptanceCriteriaMutations,ZA as applyAssurancePreset,Xl as applyBootstrapPagerPolicy,jh as applyContextIntentProjection,yc as applyContextTagProjection,oE as applyFilterValueEcho,$g as applyHistoryPatch,tf as applyInvocationAuthorOverride,_a as applyPathMigrations,vh as applyReadOutputDimensions,Ih as applyReadOutputIncludeModes,Th as applyReadOutputSessionReferences,g_ as applyRegisteredItemFieldDefaultsAndValidation,Aa as applyStandaloneNote,na as applyStoredExtensionMigrationState,gT as applyTagRemovals,JE as applyTerminalOrderingPolicy,ya as artifactKey,um as asRecordClone,pm as asRecordOrNull,z as assembleWorkspaceRelationshipGraph,OO as assertExtensionBlueprint,SO as assertExtensionCapabilityUsage,iO as assertExtensionDeactivated,xO as assertExtensionManifestCompatible,bO as assertExtensionManifestMatchesBlueprint,IO as assertExtensionPreflight,YC as assertHistoryCompactTarget,FC as assertHistoryRepairTarget,ha as assertLinkedArtifactMutationIsUnambiguous,vf as assertMemoryRelationshipGraphAdapterConformance,ET as assertNoUnknownCsvKeys,sO as assertPackageManifest,mT as assertParentReferenceIsNotSelf,RO as assertProjectProfile,aR as assertProjectRuntimeCompatibility,B_ as assertProjectionModeChoice,aO as assertRegisteredCommandContract,TO as assertRegisteredCommandOverride,fO as assertRegisteredExporter,cO as assertRegisteredFlags,dO as assertRegisteredHook,lO as assertRegisteredImporter,mO as assertRegisteredItemField,_O as assertRegisteredItemType,CO as assertRegisteredMigration,gO as assertRegisteredParserOverride,AO as assertRegisteredPreflightOverride,hO as assertRegisteredProfile,yO as assertRegisteredRendererOverride,pO as assertRegisteredSearchProvider,EO as assertRegisteredServiceOverride,uO as assertRegisteredVectorStoreAdapter,Gm as assertRelationshipEdgeAllowed,Ve as assertRelationshipGraphAdapterConformance,LA as assuranceAssertionUpdateIsLoosening,Bh as attachContextIntentReceipt,Y_ as attachOutputOmissionReceipt,Wh as attachOutputTokenAccounting,Vh as attachReadOutputContracts,gh as attachReadOutputSessionReceipt,Bs as auditMergeAttributeFence,Ay as auditMergeDriverConfiguration,ls as auditWorkspaceRelationshipGraph,Lt as boundAgentEpisodeIdentity,uh as boundReadOutputRows,hc as buildChildrenByParent,TC as buildCompactSearchFilterSummary,iE as buildContentFilterEcho,wE as buildContextSignalSnapshot,sf as buildCorpusShapeItemPlan,ky as buildDefectRecurrenceIndex,Qs as buildExtensionDescribeResult,sE as buildGovernanceMissingFilterEcho,vT as buildInvalidTypeError,lC as buildItemChildrenRollup,wS as buildItemCompletionMutations,dE as buildItemContextRelevanceCandidates,eg as buildItemNotFoundError,mC as buildItemSchedule,$s as buildMergeAttributePatterns,Ci as buildPmActionToolInputSchema,ay as buildRelationshipContext,og as buildSearchCorpus,sg as buildSemanticCorpusInput,lg as buildVectorizationEmbeddingIdentity,fg as buildVectorizationEmbeddingMetadata,gC as buildVerboseSearchFilters,GE as buildWorkspaceMemorySnapshot,Pt as canonicalDocument,xm as canonicalizeCommandOptionKey,Lm as canonicalizeRelationshipKind,DR as censusPmRecoveryReferenceProducers,HS as checkExtensionManifestCompatibility,ll as claim,fl as claimNext,py as classifyHistoryAuthorEvent,VC as classifyHostEnvironmentFault,bC as classifyImplicitSemanticFallbackReason,xt as classifyItemFormatVersion,bp as classifyLinkedTestFailure,d_ as clearActiveExtensionHooks,ys as clearDurableGraphCache,v_ as clearFocusedItem,Gi as clearWorkspaceContractsCache,ul as close,xc as closeItem,El as closeTask,Jl as coalesceRepeatedListFlags,$y as collectBlockedByIds,By as collectBlockedByIdsFromCorpus,Bi as collectDanglingDependencyReferences,Wy as collectDependencyBlockedIds,$i as collectDuplicateDependencyRows,us as collectDuplicateRelationshipEdgeGroups,RC as collectErrorCauseCodes,Vi as collectMissingDependencyTargetIds,Lc as collectNewOrderingCycleWarnings,cs as collectOrderingCycles,Hi as collectOrderingStorageContradictions,fA as collectPackageContextIntentContracts,_e as collectPackageExtensionDirectories,h_ as collectRegisteredItemFieldNames,O_ as collectRuntimeCreateFieldValues,PT as collectRuntimeFilterValues,R_ as collectRuntimeUpdateFieldValues,uc as collectSubtreeIds,ht as collectUsedExtensionCapabilities,Im as commandOptionFlagLabel,Eu as comments,tu as commitImportedItem,kS as commitItemCompletion,NS as commitItemMutations,tA as commitWorkspaceTransaction,Mn as compactFlagAliasContracts,lc as compareCriticalItems,G as comparePmDateVersions,Qg as compareRelationshipSnapshots,lm as compareTimestampStrings,OA as compileHistoryProvenanceMatcher,Fh as composeContextIntentContracts,MS as composeExtension,$S as composeExtensionPackage,zy as computeActionabilityReport,aT as computeHistoryDiff,is as computeRelationshipCentrality,os as computeRelationshipDominators,Wi as computeWorkspaceGraphFingerprint,vu as config,c_ as consumeAfterCommandAffectedItems,fu as context,Hh as contextIntentRowId,_l as copy,xp as countFailureCategories,dh as countReadOutputRows,dl as create,JA as createAssurancePreset,Iy as createAssuranceWorkspaceContext,mm as createCheckpointId,Km as createCoreCommandHookContext,Le as createCorpusShapeMeasurement,UA as createEmptyAssuranceDocument,Um as createEmptyExtensionRegistrationRegistry,vi as createExtensionCommandSdk,mt as createExtensionContributionInventory,NO as createExtensionTestHarness,yr as createHistoryEntry,Ng as createLazyModule,QT as createMutationGuardSdk,V_ as createOutputOmissionReceipt,Ni as createPmCliExpectedError,rf as createPmCliProgram,_r as createPmCommandOutputBudget,J_ as createQueryFingerprint,kf as createRelationshipGraphScaleFixture,b as createRelationshipGraphSnapshot,se as createRelationshipKindRegistry,AC as createSearchCursorFingerprint,Xm as createSerialQueue,CT as createStdinTokenResolver,Cm as createUnknownSubcommandError,Nd as createWorkspaceSnapshot,WS as deactivateExtensionForTest,tb as declineServiceOverride,$h as decodeContextIntentCursor,Ig as decodeHtmlEntitiesInOptions,th as decodeQueryCursor,Q_ as decodeQueryCursorEnvelope,eh as decodeQueryCursorState,fh as decodeReadOutputContinuationCursor,Ca as dedupeLinkedArtifacts,uE as defaultScoreContextCandidates,ab as defineAfterCommandHook,ib as defineBeforeCommandHook,sb as defineBeforeMutationHook,BR as defineCommand,qR as defineCommandOverride,C as defineCorpusShape,ob as defineExporter,PS as defineExtension,LS as defineExtensionBlueprint,$R as defineExtensionManifest,VR as defineFlag,nb as defineImporter,zR as defineItemField,WR as defineItemType,KR as defineMigration,pb as defineOnIndexHook,db as defineOnReadHook,cb as defineOnWriteHook,JR as defineParserOverride,hr as definePmCommandOutputBudget,iS as definePmCommandOutputEnvelope,eS as definePmErrorCodeCatalog,ZR as definePreflightOverride,HR as defineProjectProfile,rb as defineRendererOverride,XR as defineSearchProvider,QR as defineServiceOverride,YR as defineVectorStoreAdapter,De as defineWorkspaceRecipe,hl as deleteItem,Md as deleteWorkspaceSnapshot,Fm as dependencyToRelationship,Iu as deps,QA as deriveAssuranceProposals,GS as deriveExtensionCapabilities,iC as derivePmBulkMutationEffect,GR as derivePmRecoveryReferenceObligations,Ks as deriveSchemaEvolutionMigrationId,Eg as deriveTelemetryCommandResolution,GT as describeAllowedTransitions,uy as describeExtensionActivation,FS as describeExtensionBlueprint,Xa as describeItemOwnershipConflict,Oe as describeProfileComposition,Re as describeProjectProfile,hS as describeUnknownError,Bt as detectAgentIdentity,Kt as detectHarnessIdentity,rs as detectRelationshipCommunities,Vt as diagnoseAgentIdentity,fs as diffRelationshipAuditSnapshots,Ep as diffTestRunMeasurements,Vm as discoverExtensions,dt as discoverNearbyPmRoot,Rf as discoverProjectRuntimeVersionPins,xu as docs,yu as duplicates,hs as durableGraphCachePath,Es as durableGraphCacheStatus,Rt as effectiveItemFormatVersion,Fg as emitTelemetryErrorEvent,eu as emptyImportedDocument,Z_ as encodeQueryCursor,lh as encodeReadOutputContinuationCursor,cT as enforceHistoryStreamPolicyForItem,dT as enforceHistoryStreamPolicyForItems,JC as enrichCliFlagInvocationContract,ZC as enrichCliFlagInvocationContracts,Bg as ensureMaterializedHistoryTarget,Di as ensurePmGitignore,pa as ensureScope,yg as ensureSentryInit,Qp as ensureTrackerInitialized,es as enumerateRelationshipPaths,Ar as estimatePmOutputTokens,$A as evaluateAssuranceAssertion,HA as evaluateAssuranceGate,YO as evaluateBoundaryFixtures,_E as evaluateContextRanking,Py as evaluateDefectGateEvidence,jA as evaluateMeasurement,Hr as evaluateMutationGuard,fp as evaluateProvenanceCoverage,pp as evaluateSemanticAttributionCoverage,Fc as evaluateSimilarityGovernance,DT as evaluateTransition,ag as executeEmbeddingBatchesWithRetry,pg as executeVectorDelete,ug as executeVectorReset,dg as executeVectorUpsert,df as executeWorkspaceRecipe,ga as expandAddGlobEntries,Ia as explainSourceTraceability,Cl as extension,Ol as extensionActivate,Rl as extensionDeactivate,Sl as extensionList,Zf as extensionMigrate,Ug as extractPatchFailureContext,va as extractReferencedPmItemIdsFromCommand,wf as federateRelationshipGraphSnapshots,Ou as files,Ru as filesDiscover,bu as filesLookup,ff as findCoverageDeficits,Gc as findDuplicateClusters,js as findGitWorkspaceRoot,Js as findInstalledNpmPackageCandidate,ns as findRedundantRelationshipEdges,ss as findRelationshipCutStructure,Dc as findSimilarItems,Gg as finishTelemetryCommand,Am as flattenFlagListValue,pf as flushTelemetryQueue,gl as focus,ts as forEachMatchedRelationshipEdge,ps as formatDuplicateEdgeGroup,ds as formatOrderingStorageContradiction,Yd as formatProfileApplyHuman,Xd as formatProfileLintHuman,zd as formatProfileListHuman,Kd as formatProfileShowHuman,qs as formatSchemaEvolutionMigrationHuman,nl as gc,Lr as generateItemId,hu as get,i_ as getActiveCommandResult,Dh as getActiveContextIntentContracts,gt as getActiveExtensionRegistrations,VA as getAssuranceDeclaration,Ul as getContracts,w_ as getFocusedItem,lt as getHistoryPath,Kg as getItemAt,ut as getItemPath,Wr as getMutationActionContract,Mi as getPmGitignoreBlock,pt as getSettingsPath,Fl as getWorkspaceContracts,Or as getWorkspaceHistoryPath,Nu as graph,Ts as graphAuditBaselinePath,up as groupHistoryByEpisode,eb as handleServiceOverride,mi as hasSubcommandFlagContractsForCommand,mg as hasVectorizationEmbeddingIdentityChanged,_g as hasVectorizationVectorDimensionChanged,Jh as hashDocument,Zh as hashDocumentForVersion,Qh as hashEmptyDocument,rl as health,qi as hierarchyAncestors,Ji as hierarchyDescendants,al as historyCompact,cl as historyCompactBulk,SA as historyEntryMatchesProvenance,ol as historyRedact,il as historyRepair,sl as historyRepairAll,Hy as indexBlockedByIds,hg as inferConsistentVectorDimension,mr as inferPmOutputBudgetClass,ku as init,Ns as inspectHistoryAuthorStream,xf as inspectProjectRuntimeCompatibility,Zr as inspectStaleInProgressItems,Rr as inspectWorkspaceHistoryState,wd as inspectWorkspaceSnapshot,zs as installMergeFence,Sc as isAlreadyClaimedError,AS as isCommanderError,Ba as isErrnoError,oy as isExternalDependencySourceKind,F_ as isHostOutputSuppressed,Br as isMutationAction,Dm as isOrderingRelationshipKind,lT as isPlaceholderReferenceToken,wi as isPmCliExpectedError,cr as isPmExtensionCapabilityContract,pr as isPmExtensionPolicyModeContract,ur as isPmExtensionPolicySurfaceContract,dr as isPmExtensionServiceNameContract,rC as isPmKnownExitCode,cS as isPmMutationReceipt,tC as isPmSuccessfulExitCode,ar as isPmToolAction,bf as isProjectMutatingInvocation,wg as isPureSnakeCaseAlias,Ph as isReadOutputBudgetExceeded,z_ as isReadRowContract,Is as isRuntimeRecord,Pg as isTerminalPlanMode,x_ as isTerminalStatus,Qe as isTimestampLiteral,xS as itemDocumentToMutationOptions,fC as itemHasSchedule,zr as jaccardSimilarity,Su as learnings,ym as levenshteinDistanceWithinLimit,ja as limitAnnotationEntries,US as lintExtensionBlueprint,Ie as lintProjectProfile,mu as list,ql as listAliasPluralKeys,JT as listAllDocumentCandidatesCached,Ur as listAllItemMetadata,ZT as listAllItemMetadataLight,BA as listAssuranceDeclarations,YA as listAssuranceVerdicts,nf as listBuiltinCorpusShapes,Ey as listInvalidProvenanceHistoryStreamIds,Oy as listMergeReceipts,Vr as listMutationActions,$C as listMutationEvents,Zd as listPmCommandsForTier,ep as listPmMcpToolsForProfile,Se as listProfiles,kd as listWorkspaceSnapshots,mA as loadContextIntentRuntimeLayers,Gd as loadCreateTemplateOptions,Wm as loadExtensions,Ss as loadGraphAuditBaseline,hm as loadMutationCheckpoint,_ as loadRelationshipGraphAdapter,Gr as locateItem,yT as looksLikeGenericKeyValueEntry,ph as mapReadOutputRows,Ry as markMergeReceiptReconciled,LT as matchesRuntimeFilters,Mg as maybeRunFirstUseTelemetryPrompt,af as measureCorpusShapePlan,TT as mergeAdditiveTags,DS as mergeExtensionBlueprints,IC as mergeHistoryStreams,vC as mergeItemDocuments,PC as mergeJsonDocuments,Zl as mergeLinkedTestTwoTokenEntries,NC as mergeRelationshipEventStreams,gc as mergeSortedWarnings,vg as migrateItemFilesToFormat,tg as mutateItem,Ir as mutateWorkspaceJsonWithHistory,Tu as next,Ua as normalizeAnnotationTransportOptions,wA as normalizeAssuranceEvaluation,NA as normalizeAssuranceMutation,Ql as normalizeBootstrapInvocation,Ui as normalizeDependencyGraphTarget,sy as normalizeDependencySeedId,iy as normalizeDependencySourceKind,ft as normalizeExtensionContributionInventory,yy as normalizeInvalidHistoryProvenance,lS as normalizeItemAddressInvocation,bt as normalizeItemFormatVersion,Pr as normalizeItemId,wt as normalizeItemMetadata,Yl as normalizeLegacyExtensionActionSyntax,Ta as normalizeLinkedPath,uT as normalizeParentReferenceValue,Ee as normalizeProfileName,vr as normalizeRawItemId,Nh as normalizeReadOutputIncludeModeOptions,nT as normalizeReplayPatchOps,Kr as normalizeSimilarityText,b_ as normalizeStatusForRegistry,Nt as normalizeStatusInput,C_ as normalizeStatusInputWithRegistry,gS as normalizeThrownExitCode,Cu as notes,Ze as nowIso,gs as openDurableGraphCache,Zi as orderingPredecessors,Qi as orderingSuccessors,yE as packContextCandidates,fc as packRankedContextItems,Ml as packageActivate,Ll as packageCatalog,Dl as packageDeactivate,vl as packageDescribe,wl as packageDoctor,Il as packageInstall,bl as packageLifecycle,xl as packageList,kl as packageManage,Qf as packageMigrate,Pl as packageReload,Nl as packageUninstall,nh as paginateQueryRows,ua as parseAddEntries,la as parseAddGlobEntries,Ha as parseAnnotationTextInput,OS as parseAtomicMutationControls,Kl as parseBootstrapCommandName,Vl as parseBootstrapGlobalOptions,zl as parseBootstrapHelpRequest,ef as parseBootstrapTypeValue,dc as parseContextDepth,ic as parseContextFocusFields,uA as parseContextIntentDeclarations,pc as parseContextSections,NE as parseContextSignalSnapshot,AT as parseCsvKv,My as parseDefectChangeRiskRequest,Ly as parseDefectRecurrencePolicy,Ed as parseEvalQuerySet,bs as parseGraphSubcommand,EA as parseHistoryProvenanceFilters,hA as parseIntegerLimit,I_ as parseItemDocument,RS as parseItemMutationBatch,kT as parseLimit,Yc as parseLinkedTestAssertionEqualsMap,qc as parseLinkedTestAssertionGteMap,Vc as parseLinkedTestBoolean,Wc as parseLinkedTestContextMode,Bc as parseLinkedTestEnvClear,Hc as parseLinkedTestEnvSet,Jc as parseLinkedTestJsonEntries,Xc as parseLinkedTestMinLines,Kc as parseLinkedTestRegexList,zc as parseLinkedTestStringList,ma as parseMigrateEntries,Ky as parseMultiValueFilter,dS as parseMutationReceipt,OT as parseOptionalNonNegativeInteger,ST as parseOptionalNumber,TA as parsePriority,qy as parsePriorityFilterSet,hh as parseReadOutputSession,T_ as parseRegisteredItemFieldAssignments,v as parseRelationshipGraphSnapshot,fa as parseRemoveEntries,xa as parseSourceLineRange,xT as parseStatusFilterCsv,Xy as parseStringFilterSet,Mr as parseTags,Ap as parseTestRunMeasurements,gA as parseType,Yy as parseTypeFilterSet,Ps as parseUnknownAuthorHistoryEventCoordinates,WE as partitionDecisionEntries,sT as patchPathToChangedField,Xe as pathExists,yl as pauseTask,As as persistDurableGraphResult,FT as persistSelectedItemFormat,ME as planCompletedAtBackfill,Ne as planProfileApplication,vR as planRelationshipEventBackfill,Rs as planRelationshipRemediation,Xs as planSchemaEvolutionMigration,ks as planUnknownAuthorHistoryAcknowledgment,vd as planWorkspaceSnapshotRestore,BS as preflightExtension,Yr as prepareSimilarityText,Xh as printError,Kh as printResult,qu as profile,Qu as profileApply,el as profileLint,Ju as profileList,Zu as profileShow,a_ as projectAfterCommandItemSnapshot,sc as projectContextFocusRows,Tp as projectFleetAttributionAnalytics,CA as projectHistoryProvenance,_p as projectProvenanceCoverageAnalytics,Pa as projectValidateCounts,ty as promoteAssuranceAssertion,tR as pruneCompileCacheGenerations,WA as putAssuranceDeclaration,zA as putAssuranceDeclarationBundle,VT as queryItemMetadataIndex,WT as queryLinkedFileMetadataIndex,zT as querySimilarItemMetadataIndex,yp as queryTestRunMeasurementsBelow,Gs as quoteCommandArg,Ds as quoteWindowsCommandArg,CS as rankCommandPaths,$a as readAnnotationEntries,Wt as readAuthorEnvironment,Lp as readBooleanOption,RE as readContextUsageAffinity,Mp as readCsvListOption,ra as readExtensionMigrationState,Ye as readFileIfExists,cn as readFirstStringFromCommanderOptions,dn as readFirstValueFromCommanderOptions,lp as readHistoryAnalyticsWindow,M_ as readHistoryEntries,ip as readImprovementLedger,YT as readItemMetadataDerivedIndexState,Fr as readLocatedItem,ch as readOutputBudgetCollections,xh as readOutputIncludeModeOptions,ah as readOutputRowCollections,sh as readOutputRowPaths,Ah as readOutputSessionRemainingTokens,me as readPmPackageManifest,jl as readRequiredString,Dr as readSettings,UT as readSettingsWithMetadata,pn as readStringArrayFromCommanderOptions,Pp as readStringOption,TS as readThrownExitCode,Tg as readVectorizationStatusLedger,lA as readWorkspaceContextIntentContracts,PE as readWorkspaceContextSignals,FE as readWorkspaceMemory,Tt as reconcileExtensionCapabilityUsage,wr as reconcileWorkspaceJsonHistory,s_ as recordAfterCommandAffectedItem,XA as recordAssuranceVerdict,ec as recordClaimSemanticAttribution,CE as recordContextUsageServing,SE as recordContextUsageTouch,OE as recordContextUsageTouches,rc as recordFocusSemanticAttribution,op as recordImprovementObservation,tc as recordReleaseSemanticAttribution,qT as refreshItemMetadataDerivedIndex,Vs as refreshMergeAttributeFenceIfInstalled,Ag as refreshSearchArtifactsForMutation,jt as registerHarnessSignalDescriptors,U_ as registerOutputMaterialFieldGroups,ml as release,KA as removeAssuranceDeclaration,Je as removeFileIfExists,Ra as renameArtifactsResultKey,qa as renderCalendarMarkdown,Ja as renderCalendarToon,Ac as renderContextMarkdown,ea as renderExtensionDescribeMarkdown,Zs as renderExtensionSurfaceMarkdown,ou as renderGuideMarkdown,_S as renderMissingOptionRetry,zE as renderNextMarkdown,Fs as renderPmCommand,np as renderPmCommandVisibilityMarkdown,NT as renderRowsAsCsv,wT as renderRowsAsTable,Hg as replayHistoryToTarget,tT as replayToCanonicalItemDocument,eT as replayToItemDocument,YE as requireTerminalReason,qE as requireTerminalReasonWithRecovery,r_ as resetActiveExtensionRuntimeState,Xi as resetWorkspaceGraphCache,Mt as resolveAgentSessionContextFromSignals,Ka as resolveAnnotationIndex,Va as resolveAnnotationInput,L_ as resolveAuthor,Xt as resolveAuthorIdentity,pT as resolveBodyFileContent,of as resolveBuiltinCorpusShape,Ya as resolveCalendarOutputFormat,tS as resolveCanonicalPmErrorCodeContract,Mm as resolveCanonicalRelationshipKind,P_ as resolveClaimPrincipal,km as resolveCommandOptionPolicyState,eR as resolveCompileCacheGeneration,LE as resolveCompletionTimestamp,Rm as resolveConfiguredPmPackageRoot,Zy as resolveContentFieldFilters,Uh as resolveContextIntentContract,ac as resolveContextOutputFormat,cc as resolveContextTokenBudget,cC as resolveCreateExplicitEmptyFlag,rg as resolveEmbeddingProviders,sa as resolveExtensionInstallSourceIdentity,ta as resolveExtensionMigrationStatePath,Bm as resolveExtensionRoots,gm as resolveFlagValueKind,ru as resolveGuideOutputFormat,sp as resolveHistoryEpisodeGroupIdentity,yA as resolveHistoryProvenanceDimensions,Vg as resolveHistorySubject,jg as resolveHistoryTarget,SC as resolveHybridSemanticWeight,ct as resolveImplicitPmRoot,fm as resolveIsoOrRelative,Vy as resolveItemBlockers,bS as resolveItemMutationDocument,at as resolveItemTypeRegistry,E_ as resolveItemTypesFilePath,Ip as resolveLinkedTestFailureExitCode,Us as resolveMergeInstallContext,Jy as resolveMissingMetadataFilters,mS as resolveMissingOptionPlaceholder,W_ as resolveModePairedOutputOmissionReceipt,BE as resolveNextOutputFormat,X_ as resolveOutputOmissionReceipt,Om as resolvePmCliVersion,nC as resolvePmCommandExitContract,gr as resolvePmCommandOutputBudget,aS as resolvePmCommandOutputEnvelope,Jd as resolvePmCommandVisibilityTier,rS as resolvePmErrorCodeContract,Sm as resolvePmPackageRootFromModule,V as resolvePmRoot,gi as resolvePmToolCustomFieldCollision,RT as resolvePriority,Ce as resolveProfile,Hs as resolveProjectMergeTypeFolders,rh as resolveQueryCursorStart,wh as resolveReadOutputDimensions,Lh as resolveReadOutputEncoding,Rh as resolveReadOutputSurface,K_ as resolveReadRowContract,fS as resolveRecoveryCommandName,A_ as resolveRegisteredSearchProvider,y_ as resolveRegisteredVectorStoreAdapter,Ct as resolveRuntimeFieldRegistry,Et as resolveRuntimeStatusRegistry,ng as resolveSearchCorpusFields,EC as resolveSearchMaxResults,yC as resolveSearchPage,CC as resolveSearchScoreThreshold,OC as resolveSearchTuning,ig as resolveSemanticCorpusCharacterLimit,Qa as resolveSemanticLineageIds,$T as resolveSettingsWithSemanticRuntimeDefaults,my as resolveSourceContextWritePolicy,vp as resolveStartTaskInProgressStatus,_i as resolveSubcommandFlagContractsForCommand,am as resolveTelemetryErrorCategory,XE as resolveTerminalReason,wm as resolveTypeDefinition,Nm as resolveTypeName,IT as resolveTypeSynonym,MT as resolveTypeWorkflows,vs as resolveUnknownAuthorAcknowledgmentSelector,cg as resolveVectorStores,ji as resolveWorkspaceRelationshipKindRegistry,Tl as restore,Tm as restoreCheckpointItems,kr as restoreWorkspaceJsonFromHistory,Ld as restoreWorkspaceSnapshot,Pd as restoreWorkspaceSnapshotWithRecovery,Hl as runAction,p_ as runActiveBeforeMutationHooks,l_ as runActiveCommandHandler,u_ as runActiveOnIndexHooks,yt as runActiveOnReadHooks,At as runActiveOnWriteHooks,f_ as runActiveParserOverride,m_ as runActivePreflightOverride,__ as runActiveServiceOverride,Fi as runActivity,Hm as runAfterCommandHooks,Ga as runAggregate,za as runAnnotationCommand,Fa as runAppend,Fy as runAssuranceAction,Uy as runAssuranceDispatch,$m as runBeforeCommandHooks,Za as runCalendar,Oc as runClaim,Rc as runClaimNext,Ic as runClose,wc as runCloseMany,kc as runComments,iu as runCompletion,pd as runConfig,Te as runContext,gE as runContextEvaluationCorpus,hE as runContextEvaluationScenario,id as runCopy,Zc as runCreate,sd as runDelete,Yi as runDeps,ba as runDocs,pS as runDuplicates,Od as runEval,bd as runEvent,aa as runExtension,ia as runExtensionMigrateAction,oa as runExtensionMigrations,Na as runFiles,ka as runFilesDiscover,wa as runFilesLookup,hp as runFleetAttributionAnalytics,ad as runFocus,dd as runGc,cd as runGet,xs as runGraph,nu as runGuide,ca as runHealth,sC as runHistory,KC as runHistoryCompact,qC as runHistoryCompactBulk,Wg as runHistoryRedact,GC as runHistoryRepair,UC as runHistoryRepairAll,Td as runInit,md as runInitAgentGuidance,vc as runLearnings,Oa as runLinkedArtifacts,Np as runLinkedTests,Da as runList,Rd as runMeet,MC as runMergeDriver,Ws as runMergeInstall,by as runMergeReceiptReport,jC as runMergeReconcile,Cc as runNext,Pc as runNotes,od as runPlan,Wd as runProfileApply,Vd as runProfileLint,Hd as runProfileList,Bd as runProfileShow,mp as runProvenanceCoverageAnalytics,zS as runRegisteredCommandForTest,JS as runRegisteredCommandOverrideForTest,oO as runRegisteredExporterForTest,XS as runRegisteredHookForTest,nO as runRegisteredImporterForTest,rO as runRegisteredMigrationForTest,KS as runRegisteredMutationGuardForTest,YS as runRegisteredParserOverrideForTest,qS as runRegisteredPreflightOverrideForTest,ZS as runRegisteredRendererOverrideForTest,eO as runRegisteredSearchProviderForTest,QS as runRegisteredServiceOverrideForTest,tO as runRegisteredVectorStoreAdapterForTest,we as runReindex,bc as runRelease,xd as runRemind,Nc as runRestore,Ys as runSchemaEvolutionMigration,Cd as runSearch,cf as runSearchRefreshWorkerEntrypoint,su as runStartBackgroundRun,Cp as runStats,Op as runTelemetry,Ud as runTemplatesList,Fd as runTemplatesSave,jd as runTemplatesShow,wp as runTest,kp as runTestAll,au as runTestRunsList,du as runTestRunsLogs,uu as runTestRunsResume,cu as runTestRunsStatus,pu as runTestRunsStop,lu as runTestRunsWorker,Qc as runUpdate,ed as runUpdateMany,ge as runUpgrade,Ma as runValidate,$l as runWithActiveExtensions,Dt as runWithAgentSessionContext,Gh as runWithContextIntentContracts,_A as runWithDiscoveredContextIntentContracts,$t as runWithHarnessDetectionSignals,Ht as runWithWorkspaceHarnessSignalDescriptors,Ge as runWithWorkspaceRecipe,hC as runWorkspaceTransactionGc,Os as saveGraphAuditBaseline,cy as scanExtensionHostVersions,ws as scanHistoryAuthorAttribution,It as scanItemFormatVersions,$r as scanMutationSecrets,Cy as scanProvenanceResolverHealth,Qr as scanStaleInProgressItems,xy as scanStorageIntegrity,Pu as schema,ju as schemaAddField,Fu as schemaAddStatus,Du as schemaAddType,Vu as schemaApplyPreset,Wu as schemaInferTypes,Lu as schemaList,Hu as schemaListFields,Xu as schemaRemapStatus,$u as schemaRemoveField,Uu as schemaRemoveStatus,Gu as schemaRemoveType,Ku as schemaRenameField,zu as schemaRenameType,Mu as schemaShow,Bu as schemaShowField,Yu as schemaShowStatus,ES as scoreCommandPathMatch,lE as scoreContextCandidates,fE as scoreContextCandidatesWithActiveExtensions,qr as scoreItemSimilarity,Jr as scorePreparedItemSimilarity,_u as search,$E as searchWorkspaceMemory,HE as searchWorkspaceMemoryReadResult,q_ as selectCursorSemanticOptions,Zp as selectImportAuthor,jE as selectWorkspaceMemory,UE as selectWorkspaceMemoryRollups,oc as semanticAttributionAffinity,Rg as sentryCaptureCliError,Og as sentryFinishCommandSpan,xg as sentryFlush,bg as sentryLogCliUsageError,Cg as sentrySetCommandContext,Sg as sentryStartCommandSpan,vt as serializeItemDocument,SS as serializeNdjsonRows,n_ as setActiveCommandContext,o_ as setActiveCommandResult,qm as setActiveExtensionCommands,Ym as setActiveExtensionHooks,Jm as setActiveExtensionParsers,Zm as setActiveExtensionPreflight,t_ as setActiveExtensionRegistrations,e_ as setActiveExtensionRenderers,Qm as setActiveExtensionServices,k_ as setFocusedItem,Lg as shouldCompletePlanOnClose,Cs as shouldPersistDurableGraphCache,BT as shouldRunSearchRefreshInForeground,Mc as similarityAdvisoryWarnings,ih as sliceReadOutputRowCollection,Ea as sortLinkedArtifacts,_T as splitAcceptanceCriteria,kg as splitCommaList,kt as splitFrontMatter,kh as stabilizeReadOutputReceiptEstimates,L as stableStringify,jm as stableValueEquals,Al as startTask,Dg as startTelemetryCommand,Au as stats,S_ as statusIsTerminal,Wl as stripGlobalBootstrapTokens,HC as subscribeMutationEvents,cp as summarizeAgentModelProvenance,dp as summarizeAgentProvenance,TE as summarizeContextEvaluationReports,Rp as summarizeContextPreflight,RA as summarizeHistoryProvenance,_d as summarizeInitResult,Sy as summarizeMergeReceipt,dC as supportsCreateExplicitEmpty,uS as supportsItemIdAlias,G_ as suppressHostOutput,$ as syncRelationshipGraphAdapter,jS as synthesizeExtensionManifest,hi as toCompletionFlagString,Tc as toContextFocusItem,mc as toContextPackingSummary,_c as toContextRankingSummary,dm as toErrorMessage,Gp as toEstimatedMinutesValue,aA as toExtensionFlagDefinitions,Hp as toImportBoolean,zp as toImportConfidence,$p as toImportInteger,qp as toImportLinkedDocs,Yp as toImportLinkedFiles,Jp as toImportLinkedTests,Xp as toImportLogEntries,Kp as toImportNormalizedEnum,Wp as toImportNumberMap,Fp as toImportPriority,jp as toImportStatus,Bp as toImportStringList,Vp as toImportStringMap,Up as toImportTags,N_ as toItemRecord,Dp as toNonEmptyImportString,cm as toNonEmptyStringOrUndefined,rT as toReplayDocument,Xr as tokenizeSimilarityText,WC as translateHostEnvironmentFault,pl as update,Gl as upgrade,tl as validate,DA as validateAssertionDefinition,FA as validateAssuranceDocument,GA as validateGateDefinition,IS as validateItemMutationRows,Sa as validateLinkedPaths,MA as validateMeasurementDefinition,fT as validateMissingParentReference,bh as validateReadOutputOptions,bT as validateSprintOrReleaseValue,vm as validateTypeOptions,iT as verifyHistoryChain,oT as verifyHistoryChainWithVersion,zg as verifyHistoryEntries,UR as verifyPmRecoveryReferences,FR as verifyPmRefusalReachability,Ln as withFlagAliasMetadata,zC as withHostEnvironmentBoundary,Ki as workspaceGraphCache,Wa as wrapOwnershipConflict,yS as wrapThrownErrorForSentry,zt as writeAuthorEnvironment,qe as writeFileAtomic,_m as writeMutationCheckpoint,jT as writeSettings,zh as writeStdout,gg as writeVectorizationStatusLedger,Nr as writeWorkspaceJsonWithHistory};
3
5
  //# sourceMappingURL=sdk.js.map