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