@unbrained/pm-cli 2026.8.12 → 2026.8.13

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 (173) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +22 -0
  3. package/dist/cli/error-guidance.js +4 -8
  4. package/dist/cli/main.js +3 -2
  5. package/dist/cli/register-assurance.js +28 -17
  6. package/dist/cli-bundle/bundle-manifest.json +161 -161
  7. package/dist/cli-bundle/chunks/chunk-3ZMOWAFM.js +2 -0
  8. package/dist/cli-bundle/chunks/chunk-DEDU3DG7.js +196 -0
  9. package/dist/cli-bundle/chunks/chunk-DL5M5J3V.js +13 -0
  10. package/dist/cli-bundle/chunks/chunk-F7FJYGK3.js +8 -0
  11. package/dist/cli-bundle/chunks/{chunk-RBTK5EZV.js → chunk-HIUZVCMN.js} +2 -2
  12. package/dist/cli-bundle/chunks/chunk-IMGIN7R6.js +2 -0
  13. package/dist/cli-bundle/chunks/{chunk-WLAHPSOX.js → chunk-Q47C67TQ.js} +2 -2
  14. package/dist/cli-bundle/chunks/{chunk-BM5YJ2UW.js → chunk-QGTUPEU5.js} +52 -52
  15. package/dist/cli-bundle/chunks/chunk-TF3TPKPR.js +34 -0
  16. package/dist/cli-bundle/chunks/{chunk-KOQMGCTA.js → chunk-YLBAPY22.js} +50 -50
  17. package/dist/cli-bundle/chunks/{register-list-query-XPCJRUUD.js → register-list-query-4HIZ7EA3.js} +2 -2
  18. package/dist/cli-bundle/chunks/{register-mutation-4RJCBKRS.js → register-mutation-W64FZ5HN.js} +2 -2
  19. package/dist/cli-bundle/chunks/register-operations-C44ET7R5.js +2 -0
  20. package/dist/cli-bundle/chunks/{register-setup-LLHAKP2V.js → register-setup-634MFRXU.js} +2 -2
  21. package/dist/cli-bundle/focused-chunks/chunk-27N23W6M.js +31 -0
  22. package/dist/cli-bundle/focused-chunks/{chunk-YIAXMC3T.js → chunk-2JP7W7GO.js} +2 -2
  23. package/dist/cli-bundle/focused-chunks/chunk-2RI2FESN.js +4 -0
  24. package/dist/cli-bundle/focused-chunks/chunk-3BNVU6LC.js +8 -0
  25. package/dist/cli-bundle/focused-chunks/{chunk-KHM2CS2C.js → chunk-3DJSGWVB.js} +2 -2
  26. package/dist/cli-bundle/focused-chunks/{chunk-2DALMVF7.js → chunk-6MLIRBLV.js} +2 -2
  27. package/dist/cli-bundle/focused-chunks/chunk-6XYLENDV.js +155 -0
  28. package/dist/cli-bundle/focused-chunks/chunk-CP4K4WFS.js +2 -0
  29. package/dist/cli-bundle/focused-chunks/{chunk-RWPAWUOT.js → chunk-E3AVJ655.js} +2 -2
  30. package/dist/cli-bundle/focused-chunks/{chunk-5TAGTDRE.js → chunk-EBTNSFYE.js} +2 -2
  31. package/dist/cli-bundle/focused-chunks/{chunk-KPSXVBDV.js → chunk-HC2OL2H2.js} +2 -2
  32. package/dist/cli-bundle/focused-chunks/{chunk-GQW4BPUT.js → chunk-I75MANL7.js} +2 -2
  33. package/dist/cli-bundle/focused-chunks/{chunk-ZMGWAYH7.js → chunk-IIS2FRKL.js} +2 -2
  34. package/dist/cli-bundle/focused-chunks/chunk-NFHFZH2Z.js +2 -0
  35. package/dist/cli-bundle/focused-chunks/chunk-OGC4XSBC.js +17 -0
  36. package/dist/cli-bundle/focused-chunks/{chunk-JAFRIWVF.js → chunk-OOYYKQWX.js} +4 -4
  37. package/dist/cli-bundle/focused-chunks/{chunk-KTLOKKCQ.js → chunk-PKPOZXLL.js} +2 -2
  38. package/dist/cli-bundle/focused-chunks/chunk-QDZUABWL.js +2 -0
  39. package/dist/cli-bundle/focused-chunks/chunk-QQX5TDFT.js +16 -0
  40. package/dist/cli-bundle/focused-chunks/{chunk-NYLOUPOB.js → chunk-TEZIXMTH.js} +2 -2
  41. package/dist/cli-bundle/focused-chunks/chunk-WEH6NSL6.js +18 -0
  42. package/dist/cli-bundle/main.js +13 -13
  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 +42 -41
  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 +1 -1
  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 +2 -2
  53. package/dist/core/checkpoint/checkpoint-gc.js +7 -12
  54. package/dist/core/extensions/activation-summary-markdown.js +5 -4
  55. package/dist/core/extensions/activation-summary.d.ts +2 -0
  56. package/dist/core/extensions/activation-summary.js +6 -2
  57. package/dist/core/extensions/capability-usage.d.ts +1 -1
  58. package/dist/core/extensions/capability-usage.js +4 -3
  59. package/dist/core/extensions/contribution-inventory.d.ts +1 -0
  60. package/dist/core/extensions/contribution-inventory.js +6 -2
  61. package/dist/core/extensions/extension-registries.js +3 -2
  62. package/dist/core/extensions/extension-types.d.ts +83 -1
  63. package/dist/core/extensions/extension-types.js +3 -2
  64. package/dist/core/extensions/loader.d.ts +2 -8
  65. package/dist/core/extensions/loader.js +53 -144
  66. package/dist/core/extensions/registration-values.d.ts +43 -0
  67. package/dist/core/extensions/registration-values.js +210 -0
  68. package/dist/core/extensions/runtime-registrations.d.ts +3 -1
  69. package/dist/core/extensions/runtime-registrations.js +12 -2
  70. package/dist/core/fs/fs-utils.d.ts +2 -0
  71. package/dist/core/fs/fs-utils.js +7 -3
  72. package/dist/core/history/drift-cache.js +4 -3
  73. package/dist/core/history/drift-scan.js +5 -11
  74. package/dist/core/lock/lock-gc.js +8 -13
  75. package/dist/core/lock/lock.js +5 -4
  76. package/dist/core/search/vector-stores.js +6 -11
  77. package/dist/core/store/item-metadata-cache.js +4 -4
  78. package/dist/core/telemetry/runtime.d.ts +6 -0
  79. package/dist/core/telemetry/runtime.js +101 -30
  80. package/dist/sdk/agent/command-recovery.d.ts +2 -0
  81. package/dist/sdk/agent/command-recovery.js +10 -2
  82. package/dist/sdk/annotations.js +4 -4
  83. package/dist/sdk/cli-contracts/completeness.js +9 -3
  84. package/dist/sdk/cli-contracts/enum-contracts.d.ts +1 -1
  85. package/dist/sdk/cli-contracts/flag-contracts.js +6 -3
  86. package/dist/sdk/cli-contracts/schemas/assurance-definition.d.ts +32 -0
  87. package/dist/sdk/cli-contracts/schemas/assurance-definition.js +25 -2
  88. package/dist/sdk/cli-contracts/tool-parameter-tables.js +35 -5
  89. package/dist/sdk/cli-contracts/tool-schema.js +17 -2
  90. package/dist/sdk/comments.js +4 -3
  91. package/dist/sdk/compile-cache.js +4 -3
  92. package/dist/sdk/compose.d.ts +3 -1
  93. package/dist/sdk/compose.js +16 -2
  94. package/dist/sdk/context-signal-store.js +4 -3
  95. package/dist/sdk/extension/install-runtime.js +4 -4
  96. package/dist/sdk/extension/managed-state.js +4 -3
  97. package/dist/sdk/extension-contracts.d.ts +1 -1
  98. package/dist/sdk/flag-invocation-contracts.js +5 -6
  99. package/dist/sdk/generated/generated-error-code-catalog-part-1.js +14 -2
  100. package/dist/sdk/governance/assurance-action.d.ts +27 -3
  101. package/dist/sdk/governance/assurance-action.js +112 -28
  102. package/dist/sdk/governance/assurance-mutation-error.d.ts +7 -0
  103. package/dist/sdk/governance/assurance-mutation-error.js +25 -2
  104. package/dist/sdk/governance/assurance-presets.d.ts +54 -0
  105. package/dist/sdk/governance/assurance-presets.js +136 -0
  106. package/dist/sdk/governance/assurance-runtime.d.ts +4 -0
  107. package/dist/sdk/governance/assurance-runtime.js +109 -8
  108. package/dist/sdk/governance/assurance.d.ts +39 -0
  109. package/dist/sdk/governance/assurance.js +143 -4
  110. package/dist/sdk/governance/gc.js +5 -11
  111. package/dist/sdk/governance/health.js +5 -5
  112. package/dist/sdk/governance/validate.js +4 -4
  113. package/dist/sdk/graph/durable-cache.js +61 -3
  114. package/dist/sdk/graph/governance-contracts.d.ts +12 -0
  115. package/dist/sdk/graph/governance-contracts.js +27 -0
  116. package/dist/sdk/graph/governance.d.ts +30 -2
  117. package/dist/sdk/graph/governance.js +124 -5
  118. package/dist/sdk/guide.js +4 -4
  119. package/dist/sdk/index.d.ts +2 -1
  120. package/dist/sdk/index.js +4 -3
  121. package/dist/sdk/linked-artifacts.d.ts +2 -0
  122. package/dist/sdk/linked-artifacts.js +29 -4
  123. package/dist/sdk/merge/install.js +5 -4
  124. package/dist/sdk/query/activity.js +4 -3
  125. package/dist/sdk/relationship-history.js +5 -5
  126. package/dist/sdk/schema-migration.js +4 -4
  127. package/dist/sdk/test/execution.js +4 -4
  128. package/dist/sdk/workspace-memory.js +4 -4
  129. package/dist/sdk/workspace-snapshot.js +8 -14
  130. package/dist/sdk/workspace-transaction-gc.js +4 -9
  131. package/dist/sdk/workspace-transaction.js +4 -4
  132. package/dist/sdk/workspace.js +4 -3
  133. package/docs/ASSURANCE.md +154 -3
  134. package/docs/CONFIGURATION.md +2 -0
  135. package/docs/EXTENSIONS.md +11 -12
  136. package/docs/RELATIONSHIP_GRAPH.md +15 -0
  137. package/docs/SDK.md +17 -3
  138. package/docs/TESTING.md +24 -15
  139. package/marketplace.json +2 -2
  140. package/package.json +3 -3
  141. package/packages/pm-beads/package.json +1 -1
  142. package/packages/pm-calendar/package.json +1 -1
  143. package/packages/pm-command-kit/package.json +1 -1
  144. package/packages/pm-digital-twin/package.json +1 -1
  145. package/packages/pm-governance-audit/package.json +1 -1
  146. package/packages/pm-guide-shell/package.json +1 -1
  147. package/packages/pm-kanban/package.json +1 -1
  148. package/packages/pm-lifecycle-hooks/package.json +1 -1
  149. package/packages/pm-linked-test-adapters/package.json +1 -1
  150. package/packages/pm-search-advanced/package.json +1 -1
  151. package/packages/pm-templates/package.json +1 -1
  152. package/packages/pm-todos/package.json +1 -1
  153. package/packages/pm-vcs/package.json +1 -1
  154. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  155. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  156. package/sdk/public-surface.json +183 -33
  157. package/dist/cli-bundle/chunks/chunk-3PS7X6GS.js +0 -8
  158. package/dist/cli-bundle/chunks/chunk-7KL6KMWF.js +0 -13
  159. package/dist/cli-bundle/chunks/chunk-D55A5AEN.js +0 -33
  160. package/dist/cli-bundle/chunks/chunk-KIKDWECH.js +0 -196
  161. package/dist/cli-bundle/chunks/chunk-R76342NV.js +0 -2
  162. package/dist/cli-bundle/chunks/chunk-VLUQOIDT.js +0 -2
  163. package/dist/cli-bundle/chunks/register-operations-2OGISOVR.js +0 -2
  164. package/dist/cli-bundle/focused-chunks/chunk-5OQIMELN.js +0 -155
  165. package/dist/cli-bundle/focused-chunks/chunk-ECADZMVC.js +0 -18
  166. package/dist/cli-bundle/focused-chunks/chunk-EJGXRA6B.js +0 -2
  167. package/dist/cli-bundle/focused-chunks/chunk-FFGSZCPK.js +0 -16
  168. package/dist/cli-bundle/focused-chunks/chunk-ISKOBJCM.js +0 -2
  169. package/dist/cli-bundle/focused-chunks/chunk-LGYK3NUF.js +0 -8
  170. package/dist/cli-bundle/focused-chunks/chunk-NBLUKITQ.js +0 -4
  171. package/dist/cli-bundle/focused-chunks/chunk-Q4T463SD.js +0 -31
  172. package/dist/cli-bundle/focused-chunks/chunk-QVZVY53N.js +0 -2
  173. package/dist/cli-bundle/focused-chunks/chunk-UTEWXDEQ.js +0 -17
@@ -1,2 +1,2 @@
1
- import{t as E,u as R,v as U,w as r,x as J,y as f}from"./focused-chunks/chunk-Q4T463SD.js";import"./focused-chunks/chunk-JAFRIWVF.js";import{$ as j,A as I,Aa as A,B as _,C as T,D as k,E as v,x as w,y as h,ya as q,z as D,za as z}from"./focused-chunks/chunk-UTEWXDEQ.js";import"./focused-chunks/chunk-GQW4BPUT.js";import"./focused-chunks/chunk-QVZVY53N.js";import"./focused-chunks/chunk-KPSXVBDV.js";import{b as B,c as C,d as F,e as G,f as H}from"./focused-chunks/chunk-NYLOUPOB.js";import{fa as n,ga as d,ha as p,ia as x,ja as m,ka as s,ma as a,na as i,oa as l,pa as u,qa as b,ra as g,sa as y,ta as c}from"./focused-chunks/chunk-ECADZMVC.js";import"./focused-chunks/chunk-RWPAWUOT.js";import"./focused-chunks/chunk-EJGXRA6B.js";import"./focused-chunks/chunk-5OQIMELN.js";import"./focused-chunks/chunk-NBLUKITQ.js";import"./focused-chunks/chunk-5TAGTDRE.js";import"./focused-chunks/chunk-ISKOBJCM.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]="8e8c2de1-7bff-57c6-8e71-9c27e9e76eaa")}catch{}})();export{w as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,n as PM_MUTATION_ACTION_CONTRACTS,U as _testOnlyHealthCommand,C as _testOnlySimilarity,z as _testOnlyValidateCommand,v as acknowledgeUnknownAuthorHistoryEvents,k as acknowledgeUnknownAuthorHistoryEventsFromTransport,h as classifyHistoryAuthorEvent,p as evaluateMutationGuard,H as evaluateSimilarityGovernance,G as findDuplicateClusters,F as findSimilarItems,s as getMutationActionContract,D as inspectHistoryAuthorStream,y as inspectStaleInProgressItems,x as isMutationAction,a as jaccardSimilarity,m as listMutationActions,i as normalizeSimilarityText,T as parseUnknownAuthorHistoryEventCoordinates,u as prepareSimilarityText,q as projectValidateCounts,_ as resolveUnknownAuthorAcknowledgmentSelector,J as runGc,R as runHealth,f as runReindex,r as runUpgrade,A as runValidate,I as scanHistoryAuthorAttribution,d as scanMutationSecrets,E as scanProvenanceResolverHealth,c as scanStaleInProgressItems,j as scanStorageIntegrity,b as scoreItemSimilarity,g as scorePreparedItemSimilarity,B as similarityAdvisoryWarnings,l as tokenizeSimilarityText};
1
+ import{t as E,u as R,v as U,w as r,x as J,y as f}from"./focused-chunks/chunk-27N23W6M.js";import"./focused-chunks/chunk-OOYYKQWX.js";import{$ as j,A as I,Aa as A,B as _,C as T,D as k,E as v,x as w,y as h,ya as q,z as D,za as z}from"./focused-chunks/chunk-OGC4XSBC.js";import"./focused-chunks/chunk-I75MANL7.js";import"./focused-chunks/chunk-NFHFZH2Z.js";import"./focused-chunks/chunk-HC2OL2H2.js";import{b as B,c as C,d as F,e as G,f as H}from"./focused-chunks/chunk-TEZIXMTH.js";import{ga as n,ha as d,ia as p,ja as x,ka as m,la as s,na as a,oa as i,pa as l,qa as u,ra as b,sa as g,ta as y,ua as c}from"./focused-chunks/chunk-WEH6NSL6.js";import"./focused-chunks/chunk-E3AVJ655.js";import"./focused-chunks/chunk-QDZUABWL.js";import"./focused-chunks/chunk-6XYLENDV.js";import"./focused-chunks/chunk-2RI2FESN.js";import"./focused-chunks/chunk-EBTNSFYE.js";import"./focused-chunks/chunk-CP4K4WFS.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]="8e8c2de1-7bff-57c6-8e71-9c27e9e76eaa")}catch{}})();export{w as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,n as PM_MUTATION_ACTION_CONTRACTS,U as _testOnlyHealthCommand,C as _testOnlySimilarity,z as _testOnlyValidateCommand,v as acknowledgeUnknownAuthorHistoryEvents,k as acknowledgeUnknownAuthorHistoryEventsFromTransport,h as classifyHistoryAuthorEvent,p as evaluateMutationGuard,H as evaluateSimilarityGovernance,G as findDuplicateClusters,F as findSimilarItems,s as getMutationActionContract,D as inspectHistoryAuthorStream,y as inspectStaleInProgressItems,x as isMutationAction,a as jaccardSimilarity,m as listMutationActions,i as normalizeSimilarityText,T as parseUnknownAuthorHistoryEventCoordinates,u as prepareSimilarityText,q as projectValidateCounts,_ as resolveUnknownAuthorAcknowledgmentSelector,J as runGc,R as runHealth,f as runReindex,r as runUpgrade,A as runValidate,I as scanHistoryAuthorAttribution,d as scanMutationSecrets,E as scanProvenanceResolverHealth,c as scanStaleInProgressItems,j as scanStorageIntegrity,b as scoreItemSimilarity,g as scorePreparedItemSimilarity,B as similarityAdvisoryWarnings,l as tokenizeSimilarityText};
2
2
  //# sourceMappingURL=sdk-governance.js.map
@@ -1,2 +1,2 @@
1
- import{A as re,B as ne,C as ie,D as se,E as oe,F as ae,G as pe,H as de,I as ce,J as le,K as he,L as fe,M as ge,N as ue,O as me,P as ye,Q as we,R as be,a as Ce,b as $e,c as Oe,d as Pe,e as Ne,f as Me,g as H,h as B,i as W,j,k as ve,m as z,n as F,o as U,p as L,q as V,r as K,s as q,t as J,u as Z,v as Q,w as X,x as Y,y as ee,z as te}from"./focused-chunks/chunk-LGYK3NUF.js";import{d as O,e as P,f as N,g as M,h as v,i as k}from"./focused-chunks/chunk-KPSXVBDV.js";import{a as He,b as Be,c as We,d as je,e as ze,f as Fe,g as Ue}from"./focused-chunks/chunk-YIAXMC3T.js";import"./focused-chunks/chunk-5OQIMELN.js";import{aa as Ee,ba as _,ca as S,da as Se,ea as xe,fa as Ie,ga as De,ha as f,ia as Te}from"./focused-chunks/chunk-NBLUKITQ.js";import"./focused-chunks/chunk-5TAGTDRE.js";import{aa as b,la as $}from"./focused-chunks/chunk-ISKOBJCM.js";import{createHash as Re}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 A=1;function g(e){e?.throwIfAborted()}function l(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function u(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 i=e.nodes(),a=e.edges(),s=t.list();return Object.freeze({version:A,fingerprint:Re("sha256").update(b({nodes:i,edges:a,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:i,edges:a,kinds:s})}function _e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function y(e){if(!_e(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==A)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(i=>typeof i!="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 _([]);for(let i of e.kinds)t.register(i);let r=new f(e.nodes,e.edges,t),n=u(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 c(e,t){l(e.name,"adapter name");let r=l(t.workspace,"workspace");g(t.signal);let n=await e.read({...t,workspace:r});return g(t.signal),n===null?null:y(n)}async function R(e,t){let r=l(t.workspace,"workspace"),n=y(t.snapshot).snapshot,i=await c(e,{workspace:r,signal:t.signal});if(i?.snapshot.fingerprint===n.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:n.fingerprint,previous_fingerprint:i.snapshot.fingerprint,node_count:n.nodes.length,edge_count:n.edges.length};if(g(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:i?.snapshot.fingerprint??null}),(await c(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,...i?{previous_fingerprint:i.snapshot.fingerprint}:{},node_count:n.nodes.length,edge_count:n.edges.length}}function ke(e,t={}){let r=e.map(y),n=new Map;for(let s of r)for(let o of s.snapshot.kinds){let d=n.get(o.kind);if(d&&b(d)!==b(o))throw new TypeError(`Conflicting federated relationship kind: ${o.kind}`);n.set(o.kind,o)}let i=new _([...n.values()].sort((s,o)=>s.kind.localeCompare(o.kind))),a=new f(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),i);return u(a,i,t)}var m=class{name;#e=new Map;constructor(t="memory"){this.name=l(t,"adapter name")}async read(t){g(t.signal);let r=this.#e.get(l(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){g(t.signal);let r=l(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(y(t.snapshot).snapshot))}async clear(t){g(t.signal);let r=l(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 x(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Ae(e){let t=x(e.nodeCount,"nodeCount"),r=x(e.edgeStride??1,"edgeStride"),n=e.topology??"chain";if(!["chain","star","disconnected"].includes(n))throw new TypeError(`Unsupported relationship graph topology: ${n}`);let i=(e.kind??"related").trim(),a=(e.idPrefix??"node").trim();if(!i||!a)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let s=n==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:s,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let o=0;o<t;o+=1)yield`${a}-${o}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let o=r;o<t;o+=r)yield{source:`${a}-${n==="star"?0:o-r}`,target:`${a}-${o}`,kind:i}}}}}function h(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function I(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=S(),i=u(new f(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),a=u(new f(["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"}),s=[];h(await c(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let o=await R(e,{workspace:r,snapshot:i});h(o.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),h((await c(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),h((await R(e,{workspace:r,snapshot:i})).disposition==="current","identical sync must be idempotent"),s.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:a,expected_fingerprint:i.fingerprint}),h((await c(e,{workspace:r}))?.snapshot.fingerprint===a.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let w=!1;try{await e.replace({workspace:r,snapshot:i,expected_fingerprint:i.fingerprint})}catch{w=!0}return h(w,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:a.fingerprint}),h(await c(e,{workspace:r})===null,"clear must remove the workspace"),s.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(s),clear_supported:e.clear!==void 0}}function Ge(e){return I(new m,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]="2c3df51e-6b10-5da6-8340-126465d9c434")}catch{}})();import{createHash as D}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 T(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function gt(e,t){let r=T(t.migrationId,"migrationId"),n=T(t.author,"author"),i=Date.parse(t.timestamp);if(!Number.isFinite(i))throw new TypeError("Relationship backfill timestamp must be valid");let a=new Date(i).toISOString(),s=k(e,void 0,t.registry),o=s.graph.nodes(),d=s.graph.edges().map(p=>{let E=D("sha256").update(JSON.stringify([r,p.kind,p.source,p.target,p.createdAt??null,p.author??null,p.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${E}`,relationshipId:`migration:${r}:${E}`,action:"add",edge:p,author:n,timestamp:a,reason:`Backfill ${r} from legacy item metadata`})}),w=D("sha256").update(JSON.stringify({migrationId:r,nodes:o,events:d})).digest("hex"),C=new Set([...t.existingEventIds??[]].filter(p=>typeof p=="string").map(p=>p.trim()).filter(Boolean)),G=d.filter(p=>!C.has(p.eventId));return Object.freeze({migration_id:r,fingerprint:w,nodes:o,events:Object.freeze(G),edge_count:d.length,skipped_existing_count:d.length-G.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.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]="b6d6f773-8336-5e0e-8dfb-d5729caa18d9")}catch{}})();export{He as ACTIONABILITY_ORDERING_KINDS,Ee as BUILTIN_RELATIONSHIP_KINDS,oe as GRAPH_DURABLE_CACHE_MIN_ITEMS,se as GRAPH_DURABLE_CACHE_VERSION,$ as GRAPH_SUBCOMMAND_VALUES,m as MemoryRelationshipGraphAdapter,A as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Ce as RelationshipEventLog,$e as RelationshipEventStore,f as RelationshipGraph,_ as RelationshipKindRegistry,B as WorkspaceGraphCache,Pe as analyzeGraphImpact,Ne as analyzeKnowledgeGraph,Oe as analyzeRelationshipExecution,Y as analyzeRelationshipSchedule,k as assembleWorkspaceRelationshipGraph,Ge as assertMemoryRelationshipGraphAdapterConformance,De as assertRelationshipEdgeAllowed,I as assertRelationshipGraphAdapterConformance,ne as auditWorkspaceRelationshipGraph,ve as buildRelationshipContext,Se as canonicalizeRelationshipKind,le as clearDurableGraphCache,Be as collectBlockedByIds,je as collectBlockedByIdsFromCorpus,M as collectDanglingDependencyReferences,Fe as collectDependencyBlockedIds,N as collectDuplicateDependencyRows,re as collectDuplicateRelationshipEdgeGroups,v as collectMissingDependencyTargetIds,be as collectNewOrderingCycleWarnings,ee as collectOrderingCycles,Me as compareRelationshipSnapshots,Ue as computeActionabilityReport,Q as computeRelationshipCentrality,Z as computeRelationshipDominators,H as computeWorkspaceGraphFingerprint,Ae as createRelationshipGraphScaleFixture,u as createRelationshipGraphSnapshot,S as createRelationshipKindRegistry,Te as dependencyToRelationship,q as detectRelationshipCommunities,ie as diffRelationshipAuditSnapshots,ae as durableGraphCachePath,he as durableGraphCacheStatus,V as enumerateRelationshipPaths,ke as federateRelationshipGraphSnapshots,J as findRedundantRelationshipEdges,X as findRelationshipCutStructure,K as forEachMatchedRelationshipEdge,te as formatDuplicateEdgeGroup,pe as graphAuditBaselinePath,z as hierarchyAncestors,F as hierarchyDescendants,We as indexBlockedByIds,Ie as isOrderingRelationshipKind,ge as loadGraphAuditBaseline,c as loadRelationshipGraphAdapter,O as normalizeDependencyGraphTarget,de as openDurableGraphCache,U as orderingPredecessors,L as orderingSuccessors,ye as parseGraphSubcommand,y as parseRelationshipGraphSnapshot,ce as persistDurableGraphResult,gt as planRelationshipEventBackfill,me as planRelationshipRemediation,j as resetWorkspaceGraphCache,xe as resolveCanonicalRelationshipKind,ze as resolveItemBlockers,P as resolveWorkspaceRelationshipKindRegistry,we as runGraph,ue as saveGraphAuditBaseline,fe as shouldPersistDurableGraphCache,R as syncRelationshipGraphAdapter,W as workspaceGraphCache};
1
+ import{A as re,B as ne,C as ie,D as se,E as oe,F as ae,G as pe,H as de,I as ce,J as le,K as he,L as fe,M as ge,N as ue,O as me,P as ye,Q as we,R as be,a as Ce,b as $e,c as Oe,d as Pe,e as Ne,f as Me,g as H,h as B,i as W,j,k as ve,m as z,n as F,o as U,p as L,q as V,r as K,s as q,t as J,u as Z,v as Q,w as X,x as Y,y as ee,z as te}from"./focused-chunks/chunk-3BNVU6LC.js";import{d as O,e as P,f as N,g as M,h as v,i as k}from"./focused-chunks/chunk-HC2OL2H2.js";import{a as He,b as Be,c as We,d as je,e as ze,f as Fe,g as Ue}from"./focused-chunks/chunk-2JP7W7GO.js";import"./focused-chunks/chunk-6XYLENDV.js";import{ba as Ee,ca as _,da as S,ea as Se,fa as xe,ga as Ie,ha as De,ia as f,ja as Te}from"./focused-chunks/chunk-2RI2FESN.js";import"./focused-chunks/chunk-EBTNSFYE.js";import{aa as b,la as $}from"./focused-chunks/chunk-CP4K4WFS.js";import{createHash as Re}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 A=1;function g(e){e?.throwIfAborted()}function l(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function u(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 i=e.nodes(),a=e.edges(),s=t.list();return Object.freeze({version:A,fingerprint:Re("sha256").update(b({nodes:i,edges:a,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:i,edges:a,kinds:s})}function _e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function y(e){if(!_e(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==A)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(i=>typeof i!="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 _([]);for(let i of e.kinds)t.register(i);let r=new f(e.nodes,e.edges,t),n=u(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 c(e,t){l(e.name,"adapter name");let r=l(t.workspace,"workspace");g(t.signal);let n=await e.read({...t,workspace:r});return g(t.signal),n===null?null:y(n)}async function R(e,t){let r=l(t.workspace,"workspace"),n=y(t.snapshot).snapshot,i=await c(e,{workspace:r,signal:t.signal});if(i?.snapshot.fingerprint===n.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:n.fingerprint,previous_fingerprint:i.snapshot.fingerprint,node_count:n.nodes.length,edge_count:n.edges.length};if(g(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:i?.snapshot.fingerprint??null}),(await c(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,...i?{previous_fingerprint:i.snapshot.fingerprint}:{},node_count:n.nodes.length,edge_count:n.edges.length}}function ke(e,t={}){let r=e.map(y),n=new Map;for(let s of r)for(let o of s.snapshot.kinds){let d=n.get(o.kind);if(d&&b(d)!==b(o))throw new TypeError(`Conflicting federated relationship kind: ${o.kind}`);n.set(o.kind,o)}let i=new _([...n.values()].sort((s,o)=>s.kind.localeCompare(o.kind))),a=new f(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),i);return u(a,i,t)}var m=class{name;#e=new Map;constructor(t="memory"){this.name=l(t,"adapter name")}async read(t){g(t.signal);let r=this.#e.get(l(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){g(t.signal);let r=l(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(y(t.snapshot).snapshot))}async clear(t){g(t.signal);let r=l(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 x(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Ae(e){let t=x(e.nodeCount,"nodeCount"),r=x(e.edgeStride??1,"edgeStride"),n=e.topology??"chain";if(!["chain","star","disconnected"].includes(n))throw new TypeError(`Unsupported relationship graph topology: ${n}`);let i=(e.kind??"related").trim(),a=(e.idPrefix??"node").trim();if(!i||!a)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let s=n==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:s,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let o=0;o<t;o+=1)yield`${a}-${o}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let o=r;o<t;o+=r)yield{source:`${a}-${n==="star"?0:o-r}`,target:`${a}-${o}`,kind:i}}}}}function h(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function I(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=S(),i=u(new f(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),a=u(new f(["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"}),s=[];h(await c(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let o=await R(e,{workspace:r,snapshot:i});h(o.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),h((await c(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),h((await R(e,{workspace:r,snapshot:i})).disposition==="current","identical sync must be idempotent"),s.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:a,expected_fingerprint:i.fingerprint}),h((await c(e,{workspace:r}))?.snapshot.fingerprint===a.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let w=!1;try{await e.replace({workspace:r,snapshot:i,expected_fingerprint:i.fingerprint})}catch{w=!0}return h(w,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:a.fingerprint}),h(await c(e,{workspace:r})===null,"clear must remove the workspace"),s.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(s),clear_supported:e.clear!==void 0}}function Ge(e){return I(new m,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]="2c3df51e-6b10-5da6-8340-126465d9c434")}catch{}})();import{createHash as D}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 T(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function gt(e,t){let r=T(t.migrationId,"migrationId"),n=T(t.author,"author"),i=Date.parse(t.timestamp);if(!Number.isFinite(i))throw new TypeError("Relationship backfill timestamp must be valid");let a=new Date(i).toISOString(),s=k(e,void 0,t.registry),o=s.graph.nodes(),d=s.graph.edges().map(p=>{let E=D("sha256").update(JSON.stringify([r,p.kind,p.source,p.target,p.createdAt??null,p.author??null,p.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${E}`,relationshipId:`migration:${r}:${E}`,action:"add",edge:p,author:n,timestamp:a,reason:`Backfill ${r} from legacy item metadata`})}),w=D("sha256").update(JSON.stringify({migrationId:r,nodes:o,events:d})).digest("hex"),C=new Set([...t.existingEventIds??[]].filter(p=>typeof p=="string").map(p=>p.trim()).filter(Boolean)),G=d.filter(p=>!C.has(p.eventId));return Object.freeze({migration_id:r,fingerprint:w,nodes:o,events:Object.freeze(G),edge_count:d.length,skipped_existing_count:d.length-G.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.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]="b6d6f773-8336-5e0e-8dfb-d5729caa18d9")}catch{}})();export{He as ACTIONABILITY_ORDERING_KINDS,Ee as BUILTIN_RELATIONSHIP_KINDS,oe as GRAPH_DURABLE_CACHE_MIN_ITEMS,se as GRAPH_DURABLE_CACHE_VERSION,$ as GRAPH_SUBCOMMAND_VALUES,m as MemoryRelationshipGraphAdapter,A as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Ce as RelationshipEventLog,$e as RelationshipEventStore,f as RelationshipGraph,_ as RelationshipKindRegistry,B as WorkspaceGraphCache,Pe as analyzeGraphImpact,Ne as analyzeKnowledgeGraph,Oe as analyzeRelationshipExecution,Y as analyzeRelationshipSchedule,k as assembleWorkspaceRelationshipGraph,Ge as assertMemoryRelationshipGraphAdapterConformance,De as assertRelationshipEdgeAllowed,I as assertRelationshipGraphAdapterConformance,ne as auditWorkspaceRelationshipGraph,ve as buildRelationshipContext,Se as canonicalizeRelationshipKind,le as clearDurableGraphCache,Be as collectBlockedByIds,je as collectBlockedByIdsFromCorpus,M as collectDanglingDependencyReferences,Fe as collectDependencyBlockedIds,N as collectDuplicateDependencyRows,re as collectDuplicateRelationshipEdgeGroups,v as collectMissingDependencyTargetIds,be as collectNewOrderingCycleWarnings,ee as collectOrderingCycles,Me as compareRelationshipSnapshots,Ue as computeActionabilityReport,Q as computeRelationshipCentrality,Z as computeRelationshipDominators,H as computeWorkspaceGraphFingerprint,Ae as createRelationshipGraphScaleFixture,u as createRelationshipGraphSnapshot,S as createRelationshipKindRegistry,Te as dependencyToRelationship,q as detectRelationshipCommunities,ie as diffRelationshipAuditSnapshots,ae as durableGraphCachePath,he as durableGraphCacheStatus,V as enumerateRelationshipPaths,ke as federateRelationshipGraphSnapshots,J as findRedundantRelationshipEdges,X as findRelationshipCutStructure,K as forEachMatchedRelationshipEdge,te as formatDuplicateEdgeGroup,pe as graphAuditBaselinePath,z as hierarchyAncestors,F as hierarchyDescendants,We as indexBlockedByIds,Ie as isOrderingRelationshipKind,ge as loadGraphAuditBaseline,c as loadRelationshipGraphAdapter,O as normalizeDependencyGraphTarget,de as openDurableGraphCache,U as orderingPredecessors,L as orderingSuccessors,ye as parseGraphSubcommand,y as parseRelationshipGraphSnapshot,ce as persistDurableGraphResult,gt as planRelationshipEventBackfill,me as planRelationshipRemediation,j as resetWorkspaceGraphCache,xe as resolveCanonicalRelationshipKind,ze as resolveItemBlockers,P as resolveWorkspaceRelationshipKindRegistry,we as runGraph,ue as saveGraphAuditBaseline,fe as shouldPersistDurableGraphCache,R as syncRelationshipGraphAdapter,W as workspaceGraphCache};
2
2
  //# sourceMappingURL=sdk-graph.js.map
@@ -1,2 +1,2 @@
1
- import{a as b,b as M,c as E,d as m,e as R,f as y,g as D,h as A,l as S}from"./focused-chunks/chunk-2DALMVF7.js";import{H as o,I as n,J as i,K as f,L as s,M as d,N as T,O as w,P as l,Q as g,R as u,S as a,T as h,V as I,X as _,Z as c,_ as p}from"./focused-chunks/chunk-UTEWXDEQ.js";import"./focused-chunks/chunk-GQW4BPUT.js";import"./focused-chunks/chunk-QVZVY53N.js";import"./focused-chunks/chunk-KPSXVBDV.js";import"./focused-chunks/chunk-KTLOKKCQ.js";import"./focused-chunks/chunk-ECADZMVC.js";import"./focused-chunks/chunk-RWPAWUOT.js";import"./focused-chunks/chunk-EJGXRA6B.js";import"./focused-chunks/chunk-5OQIMELN.js";import"./focused-chunks/chunk-NBLUKITQ.js";import"./focused-chunks/chunk-5TAGTDRE.js";import"./focused-chunks/chunk-ISKOBJCM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="687855bf-7432-5691-a809-1f0406b5d8a8")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="00dc29ff-60e0-5755-b7f1-4f69e438e87f")}catch{}})();export{m as ITEM_LATEST_TIMESTAMP_FIELDS,E as ITEM_UNION_COLLECTION_FIELDS,D as MERGE_DRIVER_ARTIFACT_VALUES,n as PM_GITATTRIBUTES_END,o as PM_GITATTRIBUTES_START,f as PM_GITATTRIBUTES_V2_END,i as PM_GITATTRIBUTES_V2_START,l as auditMergeAttributeFence,g as auditMergeDriverConfiguration,T as buildMergeAttributePatterns,d as findGitWorkspaceRoot,h as installMergeFence,_ as listMergeReceipts,c as markMergeReceiptReconciled,b as mergeHistoryStreams,R as mergeItemDocuments,y as mergeJsonDocuments,M as mergeRelationshipEventStreams,u as refreshMergeAttributeFenceIfInstalled,s as resolveMergeInstallContext,w as resolveProjectMergeTypeFolders,A as runMergeDriver,a as runMergeInstall,p as runMergeReceiptReport,S as runMergeReconcile,I as summarizeMergeReceipt};
1
+ import{a as b,b as M,c as E,d as m,e as R,f as y,g as D,h as A,l as S}from"./focused-chunks/chunk-6MLIRBLV.js";import{H as o,I as n,J as i,K as f,L as s,M as d,N as T,O as w,P as l,Q as g,R as u,S as a,T as h,V as I,X as _,Z as c,_ as p}from"./focused-chunks/chunk-OGC4XSBC.js";import"./focused-chunks/chunk-I75MANL7.js";import"./focused-chunks/chunk-NFHFZH2Z.js";import"./focused-chunks/chunk-HC2OL2H2.js";import"./focused-chunks/chunk-PKPOZXLL.js";import"./focused-chunks/chunk-WEH6NSL6.js";import"./focused-chunks/chunk-E3AVJ655.js";import"./focused-chunks/chunk-QDZUABWL.js";import"./focused-chunks/chunk-6XYLENDV.js";import"./focused-chunks/chunk-2RI2FESN.js";import"./focused-chunks/chunk-EBTNSFYE.js";import"./focused-chunks/chunk-CP4K4WFS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="687855bf-7432-5691-a809-1f0406b5d8a8")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="00dc29ff-60e0-5755-b7f1-4f69e438e87f")}catch{}})();export{m as ITEM_LATEST_TIMESTAMP_FIELDS,E as ITEM_UNION_COLLECTION_FIELDS,D as MERGE_DRIVER_ARTIFACT_VALUES,n as PM_GITATTRIBUTES_END,o as PM_GITATTRIBUTES_START,f as PM_GITATTRIBUTES_V2_END,i as PM_GITATTRIBUTES_V2_START,l as auditMergeAttributeFence,g as auditMergeDriverConfiguration,T as buildMergeAttributePatterns,d as findGitWorkspaceRoot,h as installMergeFence,_ as listMergeReceipts,c as markMergeReceiptReconciled,b as mergeHistoryStreams,R as mergeItemDocuments,y as mergeJsonDocuments,M as mergeRelationshipEventStreams,u as refreshMergeAttributeFenceIfInstalled,s as resolveMergeInstallContext,w as resolveProjectMergeTypeFolders,A as runMergeDriver,a as runMergeInstall,p as runMergeReceiptReport,S as runMergeReconcile,I as summarizeMergeReceipt};
2
2
  //# sourceMappingURL=sdk-merge.js.map
@@ -1,2 +1,2 @@
1
- import{$ as Se,$a as ro,A as ee,Aa as s,B as oe,Ba as x,C as te,Ca as a,D as re,Da as m,E as ne,Ea as i,F as fe,Fa as l,G as de,Ga as u,H as pe,Ha as c,I as se,Ia as b,J as xe,Ja as y,K as ae,Ka as g,L as me,La as C,M as ie,Ma as w,N as le,Na as I,O as ue,Oa as qe,P as ce,Pa as ze,Q as be,Qa as Ge,R as ye,Ra as He,S as ge,Sa as Je,T as Ce,Ta as Ke,U as we,Ua as Qe,V as Ie,Va as Ye,W as Te,Wa as Ze,X as he,Xa as $e,Y as ke,Ya as eo,Z as _e,Za as oo,_ as De,_a as to,aa as ve,ab as no,b as N,ba as Fe,bb as fo,c as V,ca as Ee,cb as po,d as W,da as Pe,db as so,ea as Oe,eb as xo,fa as Re,fb as ao,ga as Ue,gb as mo,ha as je,hb as io,ia as Ae,ib as lo,j as r,ja as Be,jb as uo,ka as Le,kb as co,l as X,la as Me,m as q,ma as Ne,n as z,na as Ve,o as G,oa as We,pa as Xe,t as H,u as J,v as K,w as Q,wa as n,x as Y,xa as f,y as Z,ya as d,z as $,za as p}from"./focused-chunks/chunk-FFGSZCPK.js";import"./focused-chunks/chunk-NYLOUPOB.js";import"./focused-chunks/chunk-YIAXMC3T.js";import"./focused-chunks/chunk-KTLOKKCQ.js";import{E as M}from"./focused-chunks/chunk-ECADZMVC.js";import"./focused-chunks/chunk-RWPAWUOT.js";import"./focused-chunks/chunk-EJGXRA6B.js";import{La as P,db as O,eb as R,fb as U,gb as j,ib as A,jb as B,kb as L,pa as E}from"./focused-chunks/chunk-5OQIMELN.js";import"./focused-chunks/chunk-NBLUKITQ.js";import{m as T,n as h,o as k,p as _,q as D,r as S,s as v,t as F}from"./focused-chunks/chunk-5TAGTDRE.js";import"./focused-chunks/chunk-ISKOBJCM.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{Z as BRIEF_LIST_FIELDS,ye as CONTEXT_EVALUATION_METRIC_NAMES,n as CONTEXT_OUTPUT_VALUES,Te as CONTEXT_PACKING_PROFILES,le as CONTEXT_RELEVANCE_SERVICE,me as CONTEXT_RELEVANCE_SIGNAL_NAMES,Ee as CONTEXT_SIGNAL_SET_VERSION,Fe as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Pe as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,je as ContextSignalStore,ke as ContextUsageValidationError,Ze as DEFAULT_CHILD_SAMPLE_LIMIT,Y as DEFAULT_COMPACT_LIST_FIELDS,j as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Be as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,Ue as JsonFileContextSignalStoreAdapter,$ as LIST_COMMAND_DEFAULT_PROJECTIONS,K as LIST_SORT_FIELDS,Q as LIST_SORT_ORDER_VALUES,Ye as MAX_CHILD_PROJECTION_ITEMS,qe as NEXT_OUTPUT_VALUES,F as QUERY_CURSOR_CONTRACT,ne as _testOnly,de as _testOnlyAggregateCommand,oo as _testOnlyGetCommand,Ge as _testOnlyNextCommand,lo as _testOnlySearchCommand,A as acquireItemMetadataDerivedIndexLock,w as applyContextTagProjection,ee as applyFilterValueEcho,b as buildChildrenByParent,to as buildCompactSearchFilterSummary,oe as buildContentFilterEcho,Re as buildContextSignalSnapshot,te as buildGovernanceMissingFilterEcho,$e as buildItemChildrenRollup,ie as buildItemContextRelevanceCandidates,ro as buildVerboseSearchFilters,Le as buildWorkspaceMemorySnapshot,io as classifyImplicitSemanticFallbackReason,mo as collectErrorCauseCodes,m as collectSubtreeIds,i as compareCriticalItems,h as createQueryFingerprint,no as createSearchCursorFingerprint,D as decodeQueryCursor,_ as decodeQueryCursorState,ue as defaultScoreContextCandidates,k as encodeQueryCursor,ge as evaluateContextRanking,g as mergeSortedWarnings,he as packContextCandidates,l as packRankedContextItems,v as paginateQueryRows,x as parseContextDepth,f as parseContextFocusFields,a as parseContextSections,Oe as parseContextSignalSnapshot,N as parseIntegerLimit,M as parseLimit,X as parseMultiValueFilter,V as parsePriority,G as parsePriorityFilterSet,q as parseStringFilterSet,W as parseType,z as parseTypeFilterSet,He as partitionDecisionEntries,d as projectContextFocusRows,O as queryItemMetadataIndex,R as queryLinkedFileMetadataIndex,U as querySimilarItemMetadataIndex,ve as readContextUsageAffinity,E as readHistoryEntries,B as readItemMetadataDerivedIndexState,Ae as readWorkspaceContextSignals,Me as readWorkspaceMemory,_e as recordContextUsageServing,De as recordContextUsageTouch,Se as recordContextUsageTouches,L as refreshItemMetadataDerivedIndex,se as renderCalendarMarkdown,xe as renderCalendarToon,C as renderContextMarkdown,Ke as renderNextMarkdown,pe as resolveCalendarOutputFormat,J as resolveContentFieldFilters,p as resolveContextOutputFormat,s as resolveContextTokenBudget,xo as resolveHybridSemanticWeight,H as resolveMissingMetadataFilters,ze as resolveNextOutputFormat,S as resolveQueryCursorStart,po as resolveSearchMaxResults,fo as resolveSearchPage,so as resolveSearchScoreThreshold,ao as resolveSearchTuning,r as runActivity,fe as runAggregate,ae as runCalendar,I as runContext,Ie as runContextEvaluationCorpus,Ce as runContextEvaluationScenario,co as runDuplicates,eo as runGet,Qe as runHistory,re as runList,Je as runNext,uo as runSearch,ce as scoreContextCandidates,be as scoreContextCandidatesWithActiveExtensions,We as searchWorkspaceMemory,Xe as searchWorkspaceMemoryReadResult,T as selectCursorSemanticOptions,Ve as selectWorkspaceMemory,Ne as selectWorkspaceMemoryRollups,we as summarizeContextEvaluationReports,y as toContextFocusItem,u as toContextPackingSummary,c as toContextRankingSummary,P as verifyHistoryChain};
1
+ import{$ as Se,$a as ro,A as ee,Aa as s,B as oe,Ba as x,C as te,Ca as a,D as re,Da as m,E as ne,Ea as i,F as fe,Fa as l,G as de,Ga as u,H as pe,Ha as c,I as se,Ia as b,J as xe,Ja as y,K as ae,Ka as g,L as me,La as C,M as ie,Ma as w,N as le,Na as I,O as ue,Oa as qe,P as ce,Pa as ze,Q as be,Qa as Ge,R as ye,Ra as He,S as ge,Sa as Je,T as Ce,Ta as Ke,U as we,Ua as Qe,V as Ie,Va as Ye,W as Te,Wa as Ze,X as he,Xa as $e,Y as ke,Ya as eo,Z as _e,Za as oo,_ as De,_a as to,aa as ve,ab as no,b as N,ba as Fe,bb as fo,c as V,ca as Ee,cb as po,d as W,da as Pe,db as so,ea as Oe,eb as xo,fa as Re,fb as ao,ga as Ue,gb as mo,ha as je,hb as io,ia as Ae,ib as lo,j as r,ja as Be,jb as uo,ka as Le,kb as co,l as X,la as Me,m as q,ma as Ne,n as z,na as Ve,o as G,oa as We,pa as Xe,t as H,u as J,v as K,w as Q,wa as n,x as Y,xa as f,y as Z,ya as d,z as $,za as p}from"./focused-chunks/chunk-QQX5TDFT.js";import"./focused-chunks/chunk-TEZIXMTH.js";import"./focused-chunks/chunk-2JP7W7GO.js";import"./focused-chunks/chunk-PKPOZXLL.js";import{F as M}from"./focused-chunks/chunk-WEH6NSL6.js";import"./focused-chunks/chunk-E3AVJ655.js";import"./focused-chunks/chunk-QDZUABWL.js";import{Ma as P,eb as O,fb as R,gb as U,hb as j,jb as A,kb as B,lb as L,qa as E}from"./focused-chunks/chunk-6XYLENDV.js";import"./focused-chunks/chunk-2RI2FESN.js";import{m as T,n as h,o as k,p as _,q as D,r as S,s as v,t as F}from"./focused-chunks/chunk-EBTNSFYE.js";import"./focused-chunks/chunk-CP4K4WFS.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{Z as BRIEF_LIST_FIELDS,ye as CONTEXT_EVALUATION_METRIC_NAMES,n as CONTEXT_OUTPUT_VALUES,Te as CONTEXT_PACKING_PROFILES,le as CONTEXT_RELEVANCE_SERVICE,me as CONTEXT_RELEVANCE_SIGNAL_NAMES,Ee as CONTEXT_SIGNAL_SET_VERSION,Fe as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Pe as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,je as ContextSignalStore,ke as ContextUsageValidationError,Ze as DEFAULT_CHILD_SAMPLE_LIMIT,Y as DEFAULT_COMPACT_LIST_FIELDS,j as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Be as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,Ue as JsonFileContextSignalStoreAdapter,$ as LIST_COMMAND_DEFAULT_PROJECTIONS,K as LIST_SORT_FIELDS,Q as LIST_SORT_ORDER_VALUES,Ye as MAX_CHILD_PROJECTION_ITEMS,qe as NEXT_OUTPUT_VALUES,F as QUERY_CURSOR_CONTRACT,ne as _testOnly,de as _testOnlyAggregateCommand,oo as _testOnlyGetCommand,Ge as _testOnlyNextCommand,lo as _testOnlySearchCommand,A as acquireItemMetadataDerivedIndexLock,w as applyContextTagProjection,ee as applyFilterValueEcho,b as buildChildrenByParent,to as buildCompactSearchFilterSummary,oe as buildContentFilterEcho,Re as buildContextSignalSnapshot,te as buildGovernanceMissingFilterEcho,$e as buildItemChildrenRollup,ie as buildItemContextRelevanceCandidates,ro as buildVerboseSearchFilters,Le as buildWorkspaceMemorySnapshot,io as classifyImplicitSemanticFallbackReason,mo as collectErrorCauseCodes,m as collectSubtreeIds,i as compareCriticalItems,h as createQueryFingerprint,no as createSearchCursorFingerprint,D as decodeQueryCursor,_ as decodeQueryCursorState,ue as defaultScoreContextCandidates,k as encodeQueryCursor,ge as evaluateContextRanking,g as mergeSortedWarnings,he as packContextCandidates,l as packRankedContextItems,v as paginateQueryRows,x as parseContextDepth,f as parseContextFocusFields,a as parseContextSections,Oe as parseContextSignalSnapshot,N as parseIntegerLimit,M as parseLimit,X as parseMultiValueFilter,V as parsePriority,G as parsePriorityFilterSet,q as parseStringFilterSet,W as parseType,z as parseTypeFilterSet,He as partitionDecisionEntries,d as projectContextFocusRows,O as queryItemMetadataIndex,R as queryLinkedFileMetadataIndex,U as querySimilarItemMetadataIndex,ve as readContextUsageAffinity,E as readHistoryEntries,B as readItemMetadataDerivedIndexState,Ae as readWorkspaceContextSignals,Me as readWorkspaceMemory,_e as recordContextUsageServing,De as recordContextUsageTouch,Se as recordContextUsageTouches,L as refreshItemMetadataDerivedIndex,se as renderCalendarMarkdown,xe as renderCalendarToon,C as renderContextMarkdown,Ke as renderNextMarkdown,pe as resolveCalendarOutputFormat,J as resolveContentFieldFilters,p as resolveContextOutputFormat,s as resolveContextTokenBudget,xo as resolveHybridSemanticWeight,H as resolveMissingMetadataFilters,ze as resolveNextOutputFormat,S as resolveQueryCursorStart,po as resolveSearchMaxResults,fo as resolveSearchPage,so as resolveSearchScoreThreshold,ao as resolveSearchTuning,r as runActivity,fe as runAggregate,ae as runCalendar,I as runContext,Ie as runContextEvaluationCorpus,Ce as runContextEvaluationScenario,co as runDuplicates,eo as runGet,Qe as runHistory,re as runList,Je as runNext,uo as runSearch,ce as scoreContextCandidates,be as scoreContextCandidatesWithActiveExtensions,We as searchWorkspaceMemory,Xe as searchWorkspaceMemoryReadResult,T as selectCursorSemanticOptions,Ve as selectWorkspaceMemory,Ne as selectWorkspaceMemoryRollups,we as summarizeContextEvaluationReports,y as toContextFocusItem,u as toContextPackingSummary,c as toContextRankingSummary,P 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-BM5YJ2UW.js";import"./chunks/chunk-WLAHPSOX.js";import{A as Fa,b as ka,j as Ea}from"./chunks/chunk-RBTK5EZV.js";import{$a as ya,$c as qb,Hb as Aa,Kc as Ka,Lc as La,Va as ta,Wa as ua,Xa as va,Xc as mb,Yc as nb,Za as wa,Zc as ob,_a as xa,_c as pb}from"./chunks/chunk-D55A5AEN.js";import{c as da,d as ea,f as fa,g as ga}from"./chunks/chunk-KOQMGCTA.js";import{$a as la,Sb as pa,_a as ja,ab as ma,bb as na,cb as oa,hc as qa,ic as ra,mc as sa}from"./chunks/chunk-7KL6KMWF.js";import{B as e,Bc as x,D as f,Ef as M,Ff as N,Ia as p,Oa as q,P as g,Q as h,Qa as r,Ta as s,Ua as t,Wa as u,Wc as y,Wf as O,Yc as z,Zg as T,bd as A,c as a,cd as B,dd as C,dg as P,e as b,ed as D,eg as Q,f as c,fa as i,fd as E,fg as R,g as d,ga as j,gd as F,ha as k,hd as G,hi as Y,ii as Z,jd as H,ji as _,la as l,ld as I,lg as S,li as $,md as J,mh as U,na as m,nh as V,oa as n,od as K,oh as W,pa as o,pd as L,ph as X,qc as v,zc as w}from"./chunks/chunk-KIKDWECH.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-QGTUPEU5.js";import"./chunks/chunk-Q47C67TQ.js";import{A as Fa,b as ka,j as Ea}from"./chunks/chunk-HIUZVCMN.js";import{Pb as Aa,Sc as Ka,Tc as La,bb as ta,cb as ua,db as va,dd as mb,ed as nb,fb as wa,fd as ob,gb as xa,gd as pb,hb as ya,hd as qb}from"./chunks/chunk-TF3TPKPR.js";import{c as da,d as ea,f as fa,g as ga}from"./chunks/chunk-YLBAPY22.js";import{$a as la,Sb as pa,_a as ja,ab as ma,bb as na,cb as oa,hc as qa,ic as ra,mc as sa}from"./chunks/chunk-DL5M5J3V.js";import{$c as z,Bc as w,C as e,Dc as x,E as f,Hf as M,If as N,Ja as p,Pa as q,Q as g,R as h,Ra as r,Ua as s,Va as t,Xa as u,Zc as y,Zf as O,ah as T,c as a,ed as A,f as b,fd as B,g as c,ga as i,gd as C,gg as P,h as d,ha as j,hd as D,hg as Q,ia as k,id as E,ig as R,jd as F,kd as G,ki as Y,li as Z,ma as l,md as H,mi as _,oa as m,od as I,og as S,oi as $,pa as n,pd as J,ph as U,qa as o,qh as V,rd as K,rh as W,sc as v,sd as L,sh as X}from"./chunks/chunk-DEDU3DG7.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-3PS7X6GS.js";import"./chunks/chunk-BM5YJ2UW.js";import"./chunks/chunk-WLAHPSOX.js";import"./chunks/chunk-RBTK5EZV.js";import"./chunks/chunk-D55A5AEN.js";import{h as a,ya as b}from"./chunks/chunk-KOQMGCTA.js";import"./chunks/chunk-7KL6KMWF.js";import"./chunks/chunk-KIKDWECH.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-F7FJYGK3.js";import"./chunks/chunk-QGTUPEU5.js";import"./chunks/chunk-Q47C67TQ.js";import"./chunks/chunk-HIUZVCMN.js";import"./chunks/chunk-TF3TPKPR.js";import{h as a,ya as b}from"./chunks/chunk-YLBAPY22.js";import"./chunks/chunk-DL5M5J3V.js";import"./chunks/chunk-DEDU3DG7.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