@unbrained/pm-cli 2026.8.8 → 2026.8.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +59 -0
  3. package/dist/cli/commander-usage.js +17 -12
  4. package/dist/cli/help-json-payload.js +51 -16
  5. package/dist/cli/main.js +7 -6
  6. package/dist/cli-bundle/bundle-manifest.json +162 -162
  7. package/dist/cli-bundle/chunks/chunk-2QYH4QMI.js +30 -0
  8. package/dist/cli-bundle/chunks/{chunk-2ZMXX3Q6.js → chunk-EBO7OUUE.js} +70 -70
  9. package/dist/cli-bundle/chunks/{chunk-NUXRRNAB.js → chunk-ETML5C6H.js} +48 -48
  10. package/dist/cli-bundle/chunks/chunk-JUDU4RO4.js +194 -0
  11. package/dist/cli-bundle/chunks/chunk-JZSNADRR.js +5 -0
  12. package/dist/cli-bundle/chunks/chunk-MENWVGJW.js +2 -0
  13. package/dist/cli-bundle/chunks/{chunk-ALDHXLPS.js → chunk-S4EITGLA.js} +2 -2
  14. package/dist/cli-bundle/chunks/chunk-TIGKWVLA.js +13 -0
  15. package/dist/cli-bundle/chunks/{chunk-CBLA33YK.js → chunk-TRWXF476.js} +2 -2
  16. package/dist/cli-bundle/chunks/chunk-TSLDTJLQ.js +2 -0
  17. package/dist/cli-bundle/chunks/{register-list-query-WFZAMJHZ.js → register-list-query-OJ6ZXKV4.js} +2 -2
  18. package/dist/cli-bundle/chunks/{register-mutation-SOKKOTHQ.js → register-mutation-DKI7QC7O.js} +2 -2
  19. package/dist/cli-bundle/chunks/register-operations-P5OGMT6I.js +2 -0
  20. package/dist/cli-bundle/chunks/{register-setup-2HL5ZHMK.js → register-setup-S3KT2LTH.js} +2 -2
  21. package/dist/cli-bundle/focused-chunks/{chunk-ANTMGYLI.js → chunk-2COZ67XT.js} +2 -2
  22. package/dist/cli-bundle/focused-chunks/chunk-2EXI2DKR.js +4 -0
  23. package/dist/cli-bundle/focused-chunks/{chunk-YSAHYUXX.js → chunk-34SX654S.js} +2 -2
  24. package/dist/cli-bundle/focused-chunks/chunk-36FTZ2NT.js +2 -0
  25. package/dist/cli-bundle/focused-chunks/chunk-3CQECMKR.js +16 -0
  26. package/dist/cli-bundle/focused-chunks/chunk-75774JWP.js +6 -0
  27. package/dist/cli-bundle/focused-chunks/chunk-7UN6BHHO.js +2 -0
  28. package/dist/cli-bundle/focused-chunks/{chunk-TCSAPH33.js → chunk-CHIBMEZR.js} +6 -6
  29. package/dist/cli-bundle/focused-chunks/chunk-DZGAHZZV.js +3 -0
  30. package/dist/cli-bundle/focused-chunks/chunk-FF4MNAYB.js +153 -0
  31. package/dist/cli-bundle/focused-chunks/chunk-GHTN2ILR.js +2 -0
  32. package/dist/cli-bundle/focused-chunks/chunk-I4YM2I7S.js +2 -0
  33. package/dist/cli-bundle/focused-chunks/chunk-IMDTEN7K.js +2 -0
  34. package/dist/cli-bundle/focused-chunks/chunk-IW43E4XL.js +2 -0
  35. package/dist/cli-bundle/focused-chunks/chunk-JMVA4HKR.js +5 -0
  36. package/dist/cli-bundle/focused-chunks/{chunk-PL2EYDJK.js → chunk-KR5RVXLQ.js} +31 -29
  37. package/dist/cli-bundle/focused-chunks/chunk-KSNJG4KI.js +16 -0
  38. package/dist/cli-bundle/focused-chunks/chunk-M6RPIXKC.js +2 -0
  39. package/dist/cli-bundle/focused-chunks/chunk-MXYSIQ56.js +18 -0
  40. package/dist/cli-bundle/focused-chunks/chunk-RIIN5V4N.js +2 -0
  41. package/dist/cli-bundle/focused-chunks/chunk-RKWSCYYN.js +2 -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 +38 -38
  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/diagnostics/remediation.js +19 -9
  54. package/dist/core/fs/fs-utils.d.ts +10 -0
  55. package/dist/core/fs/fs-utils.js +16 -4
  56. package/dist/core/history/history.js +13 -4
  57. package/dist/core/item/actionability.d.ts +7 -1
  58. package/dist/core/item/actionability.js +71 -15
  59. package/dist/core/item/item-format.js +3 -32
  60. package/dist/core/schema/fields-file.d.ts +1 -2
  61. package/dist/core/schema/fields-file.js +4 -11
  62. package/dist/core/schema/runtime-schema.js +3 -10
  63. package/dist/core/schema/status-defs-file.d.ts +1 -2
  64. package/dist/core/schema/status-defs-file.js +4 -32
  65. package/dist/core/schema/status-token.d.ts +2 -0
  66. package/dist/core/schema/status-token.js +32 -0
  67. package/dist/core/schema/type-workflows.d.ts +1 -2
  68. package/dist/core/schema/type-workflows.js +4 -11
  69. package/dist/core/shared/author.d.ts +25 -0
  70. package/dist/core/shared/author.js +128 -10
  71. package/dist/core/shared/errors.d.ts +4 -0
  72. package/dist/core/shared/errors.js +2 -2
  73. package/dist/core/shared/text-normalization.d.ts +1 -1
  74. package/dist/core/shared/text-normalization.js +2 -2
  75. package/dist/sdk/actionability.d.ts +1 -1
  76. package/dist/sdk/actionability.js +3 -3
  77. package/dist/sdk/agent/command-recovery.d.ts +4 -0
  78. package/dist/sdk/agent/command-recovery.js +52 -0
  79. package/dist/sdk/agent/command-suggestions.d.ts +4 -0
  80. package/dist/sdk/agent/command-suggestions.js +67 -0
  81. package/dist/sdk/agent/create-option-policy.d.ts +12 -0
  82. package/dist/sdk/agent/create-option-policy.js +32 -0
  83. package/dist/sdk/agent/item-addressing.d.ts +19 -0
  84. package/dist/sdk/agent/item-addressing.js +208 -0
  85. package/dist/sdk/cli-bootstrap.d.ts +1 -1
  86. package/dist/sdk/cli-bootstrap.js +20 -5
  87. package/dist/sdk/cli-contracts/commander-mutation-options.js +16 -4
  88. package/dist/sdk/cli-contracts/flag-contracts.js +62 -21
  89. package/dist/sdk/cli-contracts/registration-helpers.js +10 -2
  90. package/dist/sdk/cli-contracts/runtime-contracts.d.ts +8 -0
  91. package/dist/sdk/cli-contracts/runtime-contracts.js +20 -3
  92. package/dist/sdk/cli-contracts/tool-option-contracts.d.ts +6 -0
  93. package/dist/sdk/cli-contracts/tool-option-contracts.js +4 -2
  94. package/dist/sdk/cli-contracts/tool-parameter-tables.js +19 -4
  95. package/dist/sdk/cli-contracts/tool-schema.js +17 -4
  96. package/dist/sdk/context-intent-runtime.js +8 -5
  97. package/dist/sdk/context-signal-store.d.ts +34 -0
  98. package/dist/sdk/context-signal-store.js +24 -2
  99. package/dist/sdk/core-governance.d.ts +1 -1
  100. package/dist/sdk/core-governance.js +3 -3
  101. package/dist/sdk/dependencies.d.ts +2 -0
  102. package/dist/sdk/dependencies.js +7 -6
  103. package/dist/sdk/dependency-flag-validation.d.ts +15 -1
  104. package/dist/sdk/dependency-flag-validation.js +54 -2
  105. package/dist/sdk/extension/bundled-catalog.js +19 -6
  106. package/dist/sdk/generated-error-code-catalog.js +110 -2
  107. package/dist/sdk/governance/health.js +38 -12
  108. package/dist/sdk/governance/provenance-health.d.ts +39 -0
  109. package/dist/sdk/governance/provenance-health.js +185 -0
  110. package/dist/sdk/governance/validate-item-reader.d.ts +13 -0
  111. package/dist/sdk/governance/validate-item-reader.js +18 -0
  112. package/dist/sdk/governance/validate.d.ts +2 -2
  113. package/dist/sdk/governance/validate.js +25 -11
  114. package/dist/sdk/governance.d.ts +1 -0
  115. package/dist/sdk/governance.js +3 -2
  116. package/dist/sdk/graph/assembly.d.ts +4 -0
  117. package/dist/sdk/graph/assembly.js +22 -2
  118. package/dist/sdk/graph/run.d.ts +2 -0
  119. package/dist/sdk/graph/run.js +3 -2
  120. package/dist/sdk/index.d.ts +4 -0
  121. package/dist/sdk/index.js +6 -2
  122. package/dist/sdk/lifecycle/close.js +27 -19
  123. package/dist/sdk/lifecycle/create.d.ts +2 -0
  124. package/dist/sdk/lifecycle/create.js +66 -19
  125. package/dist/sdk/lifecycle/plan.js +6 -3
  126. package/dist/sdk/lifecycle/update-many.js +39 -27
  127. package/dist/sdk/lifecycle/update.d.ts +6 -1
  128. package/dist/sdk/lifecycle/update.js +51 -28
  129. package/dist/sdk/merge/driver.d.ts +2 -1
  130. package/dist/sdk/merge/driver.js +7 -4
  131. package/dist/sdk/merge/index.d.ts +1 -1
  132. package/dist/sdk/merge/index.js +3 -3
  133. package/dist/sdk/merge/install.d.ts +4 -0
  134. package/dist/sdk/merge/install.js +29 -17
  135. package/dist/sdk/merge/receipts.d.ts +17 -1
  136. package/dist/sdk/merge/receipts.js +112 -20
  137. package/dist/sdk/merge/reconcile.js +21 -4
  138. package/dist/sdk/merge/three-way.d.ts +6 -2
  139. package/dist/sdk/merge/three-way.js +24 -10
  140. package/dist/sdk/output-projection.js +24 -4
  141. package/dist/sdk/query/context.d.ts +2 -0
  142. package/dist/sdk/query/context.js +7 -4
  143. package/dist/sdk/query/get.d.ts +11 -0
  144. package/dist/sdk/query/get.js +37 -3
  145. package/dist/sdk/query/light-metadata.d.ts +3 -0
  146. package/dist/sdk/query/light-metadata.js +19 -0
  147. package/dist/sdk/read-output-contracts.d.ts +1 -1
  148. package/dist/sdk/read-output-contracts.js +23 -4
  149. package/dist/sdk/relationship-kinds/contract.d.ts +48 -0
  150. package/dist/sdk/relationship-kinds/contract.js +22 -0
  151. package/dist/sdk/relationships.d.ts +6 -41
  152. package/dist/sdk/relationships.js +12 -126
  153. package/dist/sdk/runtime-primitives.d.ts +1 -1
  154. package/dist/sdk/runtime-primitives.js +3 -3
  155. package/dist/sdk/runtime.d.ts +4 -1
  156. package/dist/sdk/runtime.js +8 -3
  157. package/dist/sdk/schema-migration.js +7 -9
  158. package/dist/sdk/similarity-scoring.d.ts +1 -2
  159. package/dist/sdk/similarity-scoring.js +4 -16
  160. package/dist/sdk/similarity.d.ts +5 -0
  161. package/dist/sdk/similarity.js +40 -10
  162. package/dist/sdk/structured-mutations.js +5 -2
  163. package/dist/sdk/test/linked-command-detection.d.ts +2 -7
  164. package/dist/sdk/test/linked-command-detection.js +22 -9
  165. package/dist/sdk/workspace-snapshot.d.ts +4 -0
  166. package/dist/sdk/workspace-snapshot.js +24 -11
  167. package/docs/AGENT_GUIDE.md +5 -2
  168. package/docs/COMMANDS.md +27 -6
  169. package/docs/DEPENDENCY_KIND_CONTRACT.md +29 -0
  170. package/docs/ITEM_READ_PROJECTIONS.md +26 -0
  171. package/docs/MERGE_SAFETY.md +17 -8
  172. package/docs/README.md +2 -5
  173. package/docs/READ_OUTPUT_CONTRACTS.md +2 -2
  174. package/docs/RELATIONSHIP_GRAPH.md +1 -1
  175. package/docs/SDK.md +33 -8
  176. package/docs/SDK_AGENT_SESSION_CONTEXT.md +36 -2
  177. package/docs/SDK_CONTEXT.md +97 -0
  178. package/docs/SDK_CONTEXT_INTEGRITY.md +33 -3
  179. package/docs/SENTRY_CONTRACT_EPOCHS.md +20 -0
  180. package/docs/agent-task-token-baseline.json +2 -2
  181. package/marketplace.json +2 -2
  182. package/package.json +5 -4
  183. package/packages/pm-beads/package.json +1 -1
  184. package/packages/pm-calendar/package.json +1 -1
  185. package/packages/pm-command-kit/package.json +1 -1
  186. package/packages/pm-digital-twin/package.json +1 -1
  187. package/packages/pm-governance-audit/package.json +1 -1
  188. package/packages/pm-guide-shell/package.json +1 -1
  189. package/packages/pm-kanban/package.json +1 -1
  190. package/packages/pm-lifecycle-hooks/package.json +1 -1
  191. package/packages/pm-linked-test-adapters/package.json +1 -1
  192. package/packages/pm-search-advanced/package.json +1 -1
  193. package/packages/pm-templates/package.json +1 -1
  194. package/packages/pm-todos/package.json +1 -1
  195. package/packages/pm-vcs/package.json +1 -1
  196. package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
  197. package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
  198. package/sdk/public-surface.json +415 -43
  199. package/dist/cli-bundle/chunks/chunk-GKA54IJM.js +0 -5
  200. package/dist/cli-bundle/chunks/chunk-KRY7SRUO.js +0 -2
  201. package/dist/cli-bundle/chunks/chunk-MNJ4NNSY.js +0 -26
  202. package/dist/cli-bundle/chunks/chunk-OJPCFDDY.js +0 -13
  203. package/dist/cli-bundle/chunks/chunk-PFSD3DAN.js +0 -194
  204. package/dist/cli-bundle/chunks/chunk-SQ7QZFQ6.js +0 -2
  205. package/dist/cli-bundle/chunks/register-operations-5XQETS6E.js +0 -2
  206. package/dist/cli-bundle/focused-chunks/chunk-54EU2UVO.js +0 -2
  207. package/dist/cli-bundle/focused-chunks/chunk-5FLBTZJQ.js +0 -2
  208. package/dist/cli-bundle/focused-chunks/chunk-5GJ57YKN.js +0 -2
  209. package/dist/cli-bundle/focused-chunks/chunk-CMDS3KYT.js +0 -14
  210. package/dist/cli-bundle/focused-chunks/chunk-DMKOMTTY.js +0 -6
  211. package/dist/cli-bundle/focused-chunks/chunk-F5B3HBEZ.js +0 -5
  212. package/dist/cli-bundle/focused-chunks/chunk-FI6DWU2M.js +0 -2
  213. package/dist/cli-bundle/focused-chunks/chunk-FNOKJG6N.js +0 -16
  214. package/dist/cli-bundle/focused-chunks/chunk-FPDYXZBK.js +0 -4
  215. package/dist/cli-bundle/focused-chunks/chunk-GWI6YIKJ.js +0 -3
  216. package/dist/cli-bundle/focused-chunks/chunk-HCUC62AB.js +0 -2
  217. package/dist/cli-bundle/focused-chunks/chunk-HGNKPSCB.js +0 -153
  218. package/dist/cli-bundle/focused-chunks/chunk-IAS7PMLG.js +0 -2
  219. package/dist/cli-bundle/focused-chunks/chunk-SM2PJGP3.js +0 -2
  220. package/dist/cli-bundle/focused-chunks/chunk-U646T7Z6.js +0 -18
  221. package/dist/cli-bundle/focused-chunks/chunk-YKPE4PPY.js +0 -2
  222. package/dist/cli-bundle/focused-chunks/chunk-ZOLDTUU7.js +0 -2
@@ -1,2 +1,2 @@
1
- import{s as r,t as T,u as A,v as B,w as f}from"./focused-chunks/chunk-PL2EYDJK.js";import"./focused-chunks/chunk-DMKOMTTY.js";import{K as k,L as v,M as E,N as R,O as U,P as j,Q as q,R as z,Y as C,ta as F,ua as G,va as H}from"./focused-chunks/chunk-CMDS3KYT.js";import"./focused-chunks/chunk-IAS7PMLG.js";import"./focused-chunks/chunk-ZOLDTUU7.js";import"./focused-chunks/chunk-HCUC62AB.js";import{a as w,b as h,c as D,d as I,e as _}from"./focused-chunks/chunk-5GJ57YKN.js";import{ia as n,ja as d,ka as p,la as s,ma as x,na as i,oa as l,pa as m,qa as u,ra as a,sa as c,ta as g,ua as y,va as b}from"./focused-chunks/chunk-U646T7Z6.js";import"./focused-chunks/chunk-GWI6YIKJ.js";import"./focused-chunks/chunk-SM2PJGP3.js";import"./focused-chunks/chunk-HGNKPSCB.js";import"./focused-chunks/chunk-FPDYXZBK.js";import"./focused-chunks/chunk-FI6DWU2M.js";import"./focused-chunks/chunk-54EU2UVO.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]="708c1c46-ce32-56ff-812f-71f825ad7ec4")}catch{}})();export{k as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,n as PM_MUTATION_ACTION_CONTRACTS,B as _testOnlyHealthCommand,h as _testOnlySimilarity,G as _testOnlyValidateCommand,z as acknowledgeUnknownAuthorHistoryEvents,q as acknowledgeUnknownAuthorHistoryEventsFromTransport,v as classifyHistoryAuthorEvent,p as evaluateMutationGuard,_ as evaluateSimilarityGovernance,I as findDuplicateClusters,D as findSimilarItems,i as getMutationActionContract,E as inspectHistoryAuthorStream,y as inspectStaleInProgressItems,s as isMutationAction,a as jaccardSimilarity,x as listMutationActions,l as normalizeSimilarityText,j as parseUnknownAuthorHistoryEventCoordinates,u as prepareSimilarityText,F as projectValidateCounts,U as resolveUnknownAuthorAcknowledgmentSelector,T as runGc,A as runHealth,f as runReindex,r as runUpgrade,H as runValidate,R as scanHistoryAuthorAttribution,d as scanMutationSecrets,b as scanStaleInProgressItems,C as scanStorageIntegrity,c as scoreItemSimilarity,g as scorePreparedItemSimilarity,w as similarityAdvisoryWarnings,m as tokenizeSimilarityText};
1
+ import{s as r,t as T,u as A,v as B,w as C,x as f}from"./focused-chunks/chunk-KR5RVXLQ.js";import"./focused-chunks/chunk-75774JWP.js";import{$ as F,M as k,N as v,O as E,P as R,Q as U,R as j,S as q,T as z,wa as G,xa as H,ya as J}from"./focused-chunks/chunk-3CQECMKR.js";import"./focused-chunks/chunk-IW43E4XL.js";import"./focused-chunks/chunk-I4YM2I7S.js";import"./focused-chunks/chunk-M6RPIXKC.js";import{a as w,b as h,c as D,d as I,e as _}from"./focused-chunks/chunk-RKWSCYYN.js";import{ia as n,ja as d,ka as p,la as x,ma as m,na as s,pa as a,qa as i,ra as l,sa as u,ta as b,ua as g,va as y,wa as c}from"./focused-chunks/chunk-MXYSIQ56.js";import"./focused-chunks/chunk-DZGAHZZV.js";import"./focused-chunks/chunk-36FTZ2NT.js";import"./focused-chunks/chunk-FF4MNAYB.js";import"./focused-chunks/chunk-2EXI2DKR.js";import"./focused-chunks/chunk-RIIN5V4N.js";import"./focused-chunks/chunk-GHTN2ILR.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{k as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,n as PM_MUTATION_ACTION_CONTRACTS,C as _testOnlyHealthCommand,h as _testOnlySimilarity,H as _testOnlyValidateCommand,z as acknowledgeUnknownAuthorHistoryEvents,q as acknowledgeUnknownAuthorHistoryEventsFromTransport,v as classifyHistoryAuthorEvent,p as evaluateMutationGuard,_ as evaluateSimilarityGovernance,I as findDuplicateClusters,D as findSimilarItems,s as getMutationActionContract,E as inspectHistoryAuthorStream,y as inspectStaleInProgressItems,x as isMutationAction,a as jaccardSimilarity,m as listMutationActions,i as normalizeSimilarityText,j as parseUnknownAuthorHistoryEventCoordinates,u as prepareSimilarityText,G as projectValidateCounts,U as resolveUnknownAuthorAcknowledgmentSelector,T as runGc,B as runHealth,f as runReindex,r as runUpgrade,J as runValidate,R as scanHistoryAuthorAttribution,d as scanMutationSecrets,A as scanProvenanceResolverHealth,c as scanStaleInProgressItems,F as scanStorageIntegrity,b as scoreItemSimilarity,g as scorePreparedItemSimilarity,w as similarityAdvisoryWarnings,l as tokenizeSimilarityText};
2
2
  //# sourceMappingURL=sdk-governance.js.map
@@ -1,2 +1,2 @@
1
- import{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 Ie,b as De,c as Te,d as Ce,e as $e,f as Oe,g as H,h as B,i as W,j,k as z,l as F,m as U,n as L,o as V,p as K,q,r as J,s as Z,t as Q,u as X,v as Y,w as ee,x as te,y as re,z as He}from"./focused-chunks/chunk-TCSAPH33.js";import{c as O,d as P,e as N,f as M,g as v,h as k}from"./focused-chunks/chunk-HCUC62AB.js";import{a as Pe,b as Ne,c as Me,d as ve}from"./focused-chunks/chunk-5FLBTZJQ.js";import"./focused-chunks/chunk-HGNKPSCB.js";import{$ as _,aa as S,ba as Ee,ca as Se,da as f,ea as xe}from"./focused-chunks/chunk-FPDYXZBK.js";import"./focused-chunks/chunk-FI6DWU2M.js";import{aa as b,la as $}from"./focused-chunks/chunk-54EU2UVO.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 pt(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{ae as GRAPH_DURABLE_CACHE_MIN_ITEMS,oe as GRAPH_DURABLE_CACHE_VERSION,$ as GRAPH_SUBCOMMAND_VALUES,m as MemoryRelationshipGraphAdapter,A as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Ie as RelationshipEventLog,De as RelationshipEventStore,f as RelationshipGraph,_ as RelationshipKindRegistry,ee as WorkspaceGraphCache,Ce as analyzeGraphImpact,$e as analyzeKnowledgeGraph,Te as analyzeRelationshipExecution,se as analyzeRelationshipSchedule,k as assembleWorkspaceRelationshipGraph,Ge as assertMemoryRelationshipGraphAdapterConformance,Se as assertRelationshipEdgeAllowed,I as assertRelationshipGraphAdapterConformance,Z as auditWorkspaceRelationshipGraph,He as buildRelationshipContext,he as clearDurableGraphCache,Pe as collectBlockedByIds,M as collectDanglingDependencyReferences,Me as collectDependencyBlockedIds,N as collectDuplicateDependencyRows,J as collectDuplicateRelationshipEdgeGroups,v as collectMissingDependencyTargetIds,X as collectNewOrderingCycleWarnings,K as collectOrderingCycles,Oe as compareRelationshipSnapshots,ve as computeActionabilityReport,ne as computeRelationshipCentrality,V as computeRelationshipDominators,Y as computeWorkspaceGraphFingerprint,Ae as createRelationshipGraphScaleFixture,u as createRelationshipGraphSnapshot,S as createRelationshipKindRegistry,xe as dependencyToRelationship,U as detectRelationshipCommunities,Q as diffRelationshipAuditSnapshots,pe as durableGraphCachePath,fe as durableGraphCacheStatus,z as enumerateRelationshipPaths,ke as federateRelationshipGraphSnapshots,L as findRedundantRelationshipEdges,ie as findRelationshipCutStructure,F as forEachMatchedRelationshipEdge,q as formatDuplicateEdgeGroup,de as graphAuditBaselinePath,H as hierarchyAncestors,B as hierarchyDescendants,Ee as isOrderingRelationshipKind,ue as loadGraphAuditBaseline,c as loadRelationshipGraphAdapter,O as normalizeDependencyGraphTarget,ce as openDurableGraphCache,W as orderingPredecessors,j as orderingSuccessors,we as parseGraphSubcommand,y as parseRelationshipGraphSnapshot,le as persistDurableGraphResult,pt as planRelationshipEventBackfill,ye as planRelationshipRemediation,re as resetWorkspaceGraphCache,Ne as resolveItemBlockers,P as resolveWorkspaceRelationshipKindRegistry,be as runGraph,me as saveGraphAuditBaseline,ge as shouldPersistDurableGraphCache,R as syncRelationshipGraphAdapter,te as workspaceGraphCache};
1
+ import{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 z,l as F,m as U,n as L,o as V,p as K,q,r as J,s as Z,t as Q,u as X,v as Y,w as ee,x as te,y as re,z as Ue}from"./focused-chunks/chunk-CHIBMEZR.js";import{d as O,e as P,f as N,g as M,h as v,i as k}from"./focused-chunks/chunk-M6RPIXKC.js";import{a as ve,b as He,c as Be,d as We,e as je,f as ze,g as Fe}from"./focused-chunks/chunk-7UN6BHHO.js";import"./focused-chunks/chunk-FF4MNAYB.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-2EXI2DKR.js";import"./focused-chunks/chunk-RIIN5V4N.js";import{aa as b,la as $}from"./focused-chunks/chunk-GHTN2ILR.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{ve as ACTIONABILITY_ORDERING_KINDS,Ee as BUILTIN_RELATIONSHIP_KINDS,ae as GRAPH_DURABLE_CACHE_MIN_ITEMS,oe 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,ee as WorkspaceGraphCache,Pe as analyzeGraphImpact,Ne as analyzeKnowledgeGraph,Oe as analyzeRelationshipExecution,se as analyzeRelationshipSchedule,k as assembleWorkspaceRelationshipGraph,Ge as assertMemoryRelationshipGraphAdapterConformance,De as assertRelationshipEdgeAllowed,I as assertRelationshipGraphAdapterConformance,Z as auditWorkspaceRelationshipGraph,Ue as buildRelationshipContext,Se as canonicalizeRelationshipKind,he as clearDurableGraphCache,He as collectBlockedByIds,We as collectBlockedByIdsFromCorpus,M as collectDanglingDependencyReferences,ze as collectDependencyBlockedIds,N as collectDuplicateDependencyRows,J as collectDuplicateRelationshipEdgeGroups,v as collectMissingDependencyTargetIds,X as collectNewOrderingCycleWarnings,K as collectOrderingCycles,Me as compareRelationshipSnapshots,Fe as computeActionabilityReport,ne as computeRelationshipCentrality,V as computeRelationshipDominators,Y as computeWorkspaceGraphFingerprint,Ae as createRelationshipGraphScaleFixture,u as createRelationshipGraphSnapshot,S as createRelationshipKindRegistry,Te as dependencyToRelationship,U as detectRelationshipCommunities,Q as diffRelationshipAuditSnapshots,pe as durableGraphCachePath,fe as durableGraphCacheStatus,z as enumerateRelationshipPaths,ke as federateRelationshipGraphSnapshots,L as findRedundantRelationshipEdges,ie as findRelationshipCutStructure,F as forEachMatchedRelationshipEdge,q as formatDuplicateEdgeGroup,de as graphAuditBaselinePath,H as hierarchyAncestors,B as hierarchyDescendants,Be as indexBlockedByIds,Ie as isOrderingRelationshipKind,ue as loadGraphAuditBaseline,c as loadRelationshipGraphAdapter,O as normalizeDependencyGraphTarget,ce as openDurableGraphCache,W as orderingPredecessors,j as orderingSuccessors,we as parseGraphSubcommand,y as parseRelationshipGraphSnapshot,le as persistDurableGraphResult,gt as planRelationshipEventBackfill,ye as planRelationshipRemediation,re as resetWorkspaceGraphCache,xe as resolveCanonicalRelationshipKind,je as resolveItemBlockers,P as resolveWorkspaceRelationshipKindRegistry,be as runGraph,me as saveGraphAuditBaseline,ge as shouldPersistDurableGraphCache,R as syncRelationshipGraphAdapter,te as workspaceGraphCache};
2
2
  //# sourceMappingURL=sdk-graph.js.map
@@ -1,2 +1,2 @@
1
- import{a as p,b,c as m,d as M,e as _,f as y,g as E,h as R,l as D}from"./focused-chunks/chunk-F5B3HBEZ.js";import{T as u,V as c,W as I,X as T,d as o,e as n,f,g as i,h as s,i as A,j as d,k as l,l as g,m as a,n as w}from"./focused-chunks/chunk-CMDS3KYT.js";import"./focused-chunks/chunk-IAS7PMLG.js";import"./focused-chunks/chunk-ZOLDTUU7.js";import"./focused-chunks/chunk-HCUC62AB.js";import"./focused-chunks/chunk-YSAHYUXX.js";import"./focused-chunks/chunk-U646T7Z6.js";import"./focused-chunks/chunk-GWI6YIKJ.js";import"./focused-chunks/chunk-SM2PJGP3.js";import"./focused-chunks/chunk-HGNKPSCB.js";import"./focused-chunks/chunk-FPDYXZBK.js";import"./focused-chunks/chunk-FI6DWU2M.js";import"./focused-chunks/chunk-54EU2UVO.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]="a8072065-092c-564b-a84f-cf687f795a92")}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,m as ITEM_UNION_COLLECTION_FIELDS,E as MERGE_DRIVER_ARTIFACT_VALUES,n as PM_GITATTRIBUTES_END,o as PM_GITATTRIBUTES_START,d as auditMergeAttributeFence,l as auditMergeDriverConfiguration,s as buildMergeAttributePatterns,i as findGitWorkspaceRoot,w as installMergeFence,c as listMergeReceipts,I as markMergeReceiptReconciled,p as mergeHistoryStreams,_ as mergeItemDocuments,y as mergeJsonDocuments,b as mergeRelationshipEventStreams,g as refreshMergeAttributeFenceIfInstalled,f as resolveMergeInstallContext,A as resolveProjectMergeTypeFolders,R as runMergeDriver,a as runMergeInstall,T as runMergeReceiptReport,D as runMergeReconcile,u 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-JMVA4HKR.js";import{V as I,X as _,Z as c,_ as p,d as o,e as n,f as i,g as f,h as s,i as d,j as T,k as w,l,m as g,n as u,o as a,p as h}from"./focused-chunks/chunk-3CQECMKR.js";import"./focused-chunks/chunk-IW43E4XL.js";import"./focused-chunks/chunk-I4YM2I7S.js";import"./focused-chunks/chunk-M6RPIXKC.js";import"./focused-chunks/chunk-34SX654S.js";import"./focused-chunks/chunk-MXYSIQ56.js";import"./focused-chunks/chunk-DZGAHZZV.js";import"./focused-chunks/chunk-36FTZ2NT.js";import"./focused-chunks/chunk-FF4MNAYB.js";import"./focused-chunks/chunk-2EXI2DKR.js";import"./focused-chunks/chunk-RIIN5V4N.js";import"./focused-chunks/chunk-GHTN2ILR.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 ve,$a as mo,A as oe,Aa as b,B as te,Ba as y,C as re,Ca as g,D as ne,Da as C,E as fe,Ea as w,F as de,Fa as I,G as pe,Ga as Xe,H as se,Ha as qe,I as xe,Ia as ze,J as ae,Ja as Ge,K as me,Ka as He,L as ie,La as Je,M as le,Ma as Ke,N as ue,Na as Qe,O as ce,Oa as Ye,P as be,Pa as Ze,Q as ye,Qa as $e,R as ge,Ra as eo,S as Ce,Sa as oo,T as we,Ta as to,U as Ie,Ua as ro,V as Te,Va as no,W as he,Wa as fo,X as ke,Xa as po,Y as _e,Ya as so,Z as De,Za as xo,_ as Se,_a as ao,aa as Fe,ab as io,b as N,ba as Ee,bb as lo,c as V,ca as Pe,cb as uo,d as W,da as Oe,ea as Re,fa as Ue,ga as je,ha as Ae,i as r,ia as Be,ja as Le,k as X,ka as Me,l as q,la as Ne,m as z,ma as Ve,n as G,na as We,oa as n,pa as f,qa as d,ra as p,s as H,sa as s,t as J,ta as x,u as K,ua as a,v as Q,va as m,w as Y,wa as i,x as Z,xa as l,y as $,ya as u,z as ee,za as c}from"./focused-chunks/chunk-FNOKJG6N.js";import"./focused-chunks/chunk-5GJ57YKN.js";import"./focused-chunks/chunk-5FLBTZJQ.js";import"./focused-chunks/chunk-YSAHYUXX.js";import{E as M}from"./focused-chunks/chunk-U646T7Z6.js";import"./focused-chunks/chunk-GWI6YIKJ.js";import"./focused-chunks/chunk-SM2PJGP3.js";import{Ta as O,Ua as R,Va as U,Wa as j,Ya as A,Za as B,_a as L,ga as E,za as P}from"./focused-chunks/chunk-HGNKPSCB.js";import"./focused-chunks/chunk-FPDYXZBK.js";import{l as T,m as h,n as k,o as _,p as D,q as S,r as v,s as F}from"./focused-chunks/chunk-FI6DWU2M.js";import"./focused-chunks/chunk-54EU2UVO.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,Ue as ContextSignalStore,ke as ContextUsageValidationError,Ye as DEFAULT_CHILD_SAMPLE_LIMIT,Y as DEFAULT_COMPACT_LIST_FIELDS,j as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Ae as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,Re as JsonFileContextSignalStoreAdapter,$ as LIST_COMMAND_DEFAULT_PROJECTIONS,K as LIST_SORT_FIELDS,Q as LIST_SORT_ORDER_VALUES,Qe as MAX_CHILD_PROJECTION_ITEMS,Xe as NEXT_OUTPUT_VALUES,F as QUERY_CURSOR_CONTRACT,ne as _testOnly,de as _testOnlyAggregateCommand,eo as _testOnlyGetCommand,ze as _testOnlyNextCommand,io as _testOnlySearchCommand,A as acquireItemMetadataDerivedIndexLock,w as applyContextTagProjection,ee as applyFilterValueEcho,b as buildChildrenByParent,oo as buildCompactSearchFilterSummary,oe as buildContentFilterEcho,Oe as buildContextSignalSnapshot,te as buildGovernanceMissingFilterEcho,Ze as buildItemChildrenRollup,ie as buildItemContextRelevanceCandidates,to as buildVerboseSearchFilters,Be as buildWorkspaceMemorySnapshot,mo as classifyImplicitSemanticFallbackReason,ao as collectErrorCauseCodes,m as collectSubtreeIds,i as compareCriticalItems,h as createQueryFingerprint,ro 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,Pe 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,Ge as partitionDecisionEntries,d as projectContextFocusRows,O as queryItemMetadataIndex,R as queryLinkedFileMetadataIndex,U as querySimilarItemMetadataIndex,ve as readContextUsageAffinity,E as readHistoryEntries,B as readItemMetadataDerivedIndexState,je as readWorkspaceContextSignals,Le as readWorkspaceMemory,_e as recordContextUsageServing,De as recordContextUsageTouch,Se as recordContextUsageTouches,L as refreshItemMetadataDerivedIndex,se as renderCalendarMarkdown,xe as renderCalendarToon,C as renderContextMarkdown,Je as renderNextMarkdown,pe as resolveCalendarOutputFormat,J as resolveContentFieldFilters,p as resolveContextOutputFormat,s as resolveContextTokenBudget,so as resolveHybridSemanticWeight,H as resolveMissingMetadataFilters,qe as resolveNextOutputFormat,S as resolveQueryCursorStart,fo as resolveSearchMaxResults,no as resolveSearchPage,po as resolveSearchScoreThreshold,xo as resolveSearchTuning,r as runActivity,fe as runAggregate,ae as runCalendar,I as runContext,Ie as runContextEvaluationCorpus,Ce as runContextEvaluationScenario,uo as runDuplicates,$e as runGet,Ke as runHistory,re as runList,He as runNext,lo as runSearch,ce as scoreContextCandidates,be as scoreContextCandidatesWithActiveExtensions,Ve as searchWorkspaceMemory,We as searchWorkspaceMemoryReadResult,T as selectCursorSemanticOptions,Ne as selectWorkspaceMemory,Me as selectWorkspaceMemoryRollups,we as summarizeContextEvaluationReports,y as toContextFocusItem,u as toContextPackingSummary,c as toContextRankingSummary,P as verifyHistoryChain};
1
+ import{$ as ve,$a as mo,A as oe,Aa as c,B as te,Ba as b,C as re,Ca as y,D as ne,Da as g,E as fe,Ea as C,F as de,Fa as w,G as pe,Ga as I,H as se,Ha as qe,I as xe,Ia as ze,J as ae,Ja as Ge,K as me,Ka as He,L as ie,La as Je,M as le,Ma as Ke,N as ue,Na as Qe,O as ce,Oa as Ye,P as be,Pa as Ze,Q as ye,Qa as $e,R as ge,Ra as eo,S as Ce,Sa as oo,T as we,Ta as to,U as Ie,Ua as ro,V as Te,Va as no,W as he,Wa as fo,X as ke,Xa as po,Y as _e,Ya as so,Z as De,Za as xo,_ as Se,_a as ao,aa as Fe,ab as io,b as N,ba as Ee,bb as lo,c as V,ca as Pe,cb as uo,d as W,da as Oe,db as co,ea as Re,fa as Ue,ga as je,ha as Ae,i as r,ia as Be,ja as Le,k as X,ka as Me,l as q,la as Ne,m as z,ma as Ve,n as G,na as We,oa as Xe,pa as n,qa as f,ra as d,s as H,sa as p,t as J,ta as s,u as K,ua as x,v as Q,va as a,w as Y,wa as m,x as Z,xa as i,y as $,ya as l,z as ee,za as u}from"./focused-chunks/chunk-KSNJG4KI.js";import"./focused-chunks/chunk-RKWSCYYN.js";import"./focused-chunks/chunk-7UN6BHHO.js";import"./focused-chunks/chunk-34SX654S.js";import{E as M}from"./focused-chunks/chunk-MXYSIQ56.js";import"./focused-chunks/chunk-DZGAHZZV.js";import"./focused-chunks/chunk-36FTZ2NT.js";import{$a as L,Aa as P,Ua as O,Va as R,Wa as U,Xa as j,Za as A,_a as B,ha as E}from"./focused-chunks/chunk-FF4MNAYB.js";import"./focused-chunks/chunk-2EXI2DKR.js";import{l as T,m as h,n as k,o as _,p as D,q as S,r as v,s as F}from"./focused-chunks/chunk-RIIN5V4N.js";import"./focused-chunks/chunk-GHTN2ILR.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 sb,$b as sc,Aa as Oa,Ab as Tb,Ac as Tc,Ba as Pa,Bb as Ub,Bc as Uc,Ca as Qa,Cb as Vb,Cc as Vc,Da as Ra,Db as Wb,Ea as Sa,Eb as Xb,Fa as Ta,Fb as Yb,G as Aa,Ga as Ua,Gb as Zb,H as Ba,Ha as Va,Hb as _b,I as Ca,Ia as Wa,Ib as $b,Ja as Xa,Jb as ac,Ka as Ya,Kb as bc,La as Za,Lb as cc,Ma as _a,Mb as dc,Na as $a,Nb as ec,Oa as ab,Ob as fc,Pa as bb,Pb as gc,Qa as cb,Qb as hc,Ra as db,Rb as ic,Sa as eb,Sb as jc,Ta as fb,Tb as kc,Ua as gb,Ub as lc,Va as hb,Vb as mc,Wa as ib,Wb as nc,Xa as jb,Xb as oc,Ya as kb,Yb as pc,Za as qb,Zb as qc,_a as rb,_b as rc,a as $,ab as tb,ac as tc,b as aa,bb as ub,bc as uc,c as ba,cb as vb,cc as vc,db as wb,dc as wc,eb as xb,ec as xc,fb as yb,fc as yc,ga as Fa,gb as zb,gc as zc,ha as Ga,hb as Ab,hc as Ac,ia as Ha,ib as Bb,ic as Bc,ja as Ia,jb as Cb,jc as Cc,kb as Db,kc as Dc,lb as Eb,lc as Ec,mb as Fb,mc as Fc,n as ga,nb as Gb,nc as Gc,o as ha,ob as Hb,oc as Hc,pb as Ib,pc as Ic,qb as Jb,qc as Jc,rb as Kb,rc as Kc,sb as Lb,sc as Lc,tb as Mb,tc as Mc,ub as Nb,uc as Nc,vb as Ob,vc as Oc,w as ya,wb as Pb,wc as Pc,xa as La,xb as Qb,xc as Qc,ya as Ma,yb as Rb,yc as Rc,za as Na,zb as Sb,zc as Sc}from"./chunks/chunk-2ZMXX3Q6.js";import"./chunks/chunk-ALDHXLPS.js";import{E as Ea,f as ja,n as Da}from"./chunks/chunk-GKA54IJM.js";import{W as za,dc as Ja,ec as Ka,n as sa,o as ta,p as ua,qc as lb,r as va,rc as mb,s as wa,sc as nb,t as xa,tc as ob,uc as pb}from"./chunks/chunk-MNJ4NNSY.js";import{c as ca,d as da,f as ea,g as fa}from"./chunks/chunk-NUXRRNAB.js";import{$ as na,Ia as oa,X as ia,Y as ka,Z as la,Za as pa,_ as ma,_a as qa,cb as ra}from"./chunks/chunk-OJPCFDDY.js";import{$c as E,A as e,Bf as O,C as f,Fa as p,Fg as T,Kf as P,La as q,Lf as Q,Mf as R,Na as r,P as g,Q as h,Qa as s,Qc as y,Ra as t,Rh as X,Sc as z,Sf as S,Sh as Y,Ta as u,Ug as U,Uh as Z,Vg as V,Vh as _,Wg as W,Xc as A,Yc as B,Zc as C,_c as D,ad as F,bd as G,c as a,ca as i,d as b,da as j,dd as H,e as c,ea as k,f as d,fd as I,gd as J,ia as l,id as K,jd as L,ka as m,kf as M,la as n,lc as v,lf as N,ma as o,uc as w,wc as x}from"./chunks/chunk-PFSD3DAN.js";export{A as BASELINE_ITEM_FORMAT_VERSION,i as BUILTIN_ITEM_TYPE_VALUES,o as CONFIDENCE_TEXT_VALUES,oa as CONTEXT_OUTPUT_VALUES,B as CURRENT_ITEM_FORMAT_VERSION,sa as DEFAULT_TERMINAL_TRANSITION_POLICY,l as DEPENDENCY_KIND_VALUES,e as EXIT_CODE,n as ISSUE_SEVERITY_VALUES,j as ITEM_TYPE_VALUES,qa as NEXT_OUTPUT_VALUES,$ as PM_CLI_EXPECTED_ERROR_NAME,da as PM_GITIGNORE_END,ca as PM_GITIGNORE_START,f as PmCliError,qb as PmClient,m as RISK_VALUES,ga as SEARCH_EXTENSION_FLAG_DEFINITIONS,k as STATUS_VALUES,O as acquireLock,wb as aggregate,Vc as analyzeSdkActionCoverage,Ib as append,N as appendHistoryEntry,va as applyTerminalOrderingPolicy,L as canonicalDocument,qc as claim,rc as claimNext,E as classifyItemFormatVersion,ha as clearWorkspaceContractsCache,pc as close,wa as closeItem,zc as closeTask,zb as comments,fb as commitImportedItem,Kb as config,rb as context,tc as copy,nc as create,M as createHistoryEntry,aa as createPmCliExpectedError,uc as deleteItem,Gb as deps,Fb as docs,yb as duplicates,C as effectiveItemFormatVersion,eb as emptyImportedDocument,fa as ensurePmGitignore,db as ensureTrackerInitialized,Ac as extension,Cc as extensionActivate,Dc as extensionDeactivate,Bc as extensionList,Cb as files,Db as filesDiscover,Eb as filesLookup,wc as focus,hc as gc,R as generateItemId,ub as get,v as getActiveExtensionRegistrations,Rc as getContracts,u as getHistoryPath,t as getItemPath,ea as getPmGitignoreBlock,s as getSettingsPath,Qc as getWorkspaceContracts,Hb as graph,gc as health,lc as historyCompact,mc as historyCompactBulk,ic as historyRedact,jc as historyRepair,kc as historyRepairAll,Jb as init,ba as isPmCliExpectedError,H as isTerminalStatus,h as isTimestampLiteral,Z as jaccardSimilarity,Bb as learnings,sb as list,W as listAllItemMetadata,Fa as loadCreateTemplateOptions,U as locateItem,vb as next,D as normalizeItemFormatVersion,Q as normalizeItemId,I as normalizeItemMetadata,P as normalizeRawItemId,X as normalizeSimilarityText,G as normalizeStatusInput,Ab as notes,g as nowIso,Nc as packageActivate,Mc as packageCatalog,Oc as packageDeactivate,Kc as packageDescribe,Ic as packageDoctor,Gc as packageInstall,Ec as packageLifecycle,Fc as packageList,Jc as packageManage,Lc as packageReload,Hc as packageUninstall,S as parseTags,a as pathExists,yc as pauseTask,ac as profile,dc as profileApply,ec as profileLint,bc as profileList,cc as profileShow,Ma as readBooleanOption,Na as readCsvListOption,b as readFileIfExists,V as readLocatedItem,Sc as readRequiredString,T as readSettings,La as readStringOption,sc as release,d as removeFileIfExists,la as renderCalendarMarkdown,ma as renderCalendarToon,ib as renderGuideMarkdown,ua as requireTerminalReason,ka as resolveCalendarOutputFormat,gb as resolveGuideOutputFormat,q as resolveImplicitPmRoot,p as resolveItemTypeRegistry,r as resolvePmRoot,z as resolveRuntimeFieldRegistry,y as resolveRuntimeStatusRegistry,ta as resolveTerminalReason,vc as restore,Uc as runAction,x as runActiveOnReadHooks,w as runActiveOnWriteHooks,ja as runAggregate,na as runCalendar,xa as runClose,jb as runCompletion,pa as runContext,Aa as runCopy,Ba as runDelete,Ka as runDuplicates,Ca as runFocus,Da as runGet,hb as runGuide,ia as runList,ra as runNext,kb as runReindex,ya as runRestore,Ea as runSearch,Ja as runStats,Ha as runTemplatesList,Ga as runTemplatesSave,Ia as runTemplatesShow,lb as runTestRunsList,nb as runTestRunsLogs,pb as runTestRunsResume,mb as runTestRunsStatus,ob as runTestRunsStop,za as runUpdate,Tc as runWithActiveExtensions,F as scanItemFormatVersions,Lb as schema,Sb as schemaAddField,Qb as schemaAddStatus,Ob as schemaAddType,Wb as schemaApplyPreset,Xb as schemaInferTypes,Mb as schemaList,Ub as schemaListFields,_b as schemaRemapStatus,Tb as schemaRemoveField,Rb as schemaRemoveStatus,Pb as schemaRemoveType,Zb as schemaRenameField,Yb as schemaRenameType,Nb as schemaShow,Vb as schemaShowField,$b as schemaShowStatus,_ as scoreItemSimilarity,tb as search,cb as selectImportAuthor,K as serializeItemDocument,J as splitFrontMatter,xc as startTask,xb as stats,Pa as toEstimatedMinutesValue,Ua as toImportBoolean,Ya as toImportConfidence,Ta as toImportInteger,ab as toImportLinkedDocs,$a as toImportLinkedFiles,bb as toImportLinkedTests,_a as toImportLogEntries,Za as toImportNormalizedEnum,Xa as toImportNumberMap,Qa as toImportPriority,Sa as toImportStatus,Va as toImportStringList,Wa as toImportStringMap,Ra as toImportTags,Oa as toNonEmptyImportString,Y as tokenizeSimilarityText,oc as update,Pc as upgrade,fc 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-EBO7OUUE.js";import"./chunks/chunk-S4EITGLA.js";import{E as Fa,f as ka,n as Ea}from"./chunks/chunk-JZSNADRR.js";import{$ as Aa,Ac as pb,Bc as qb,kc as Ka,lc as La,n as ta,o as ua,p as va,r as wa,s as xa,t as ya,xc as mb,yc as nb,zc as ob}from"./chunks/chunk-2QYH4QMI.js";import{c as da,d as ea,f as fa,g as ga}from"./chunks/chunk-ETML5C6H.js";import{$ as la,Ma as pa,_ as ja,aa as ma,ba as na,bb as qa,ca as oa,cb as ra,gb as sa}from"./chunks/chunk-TIGKWVLA.js";import{$c as A,$g as X,B as e,D as f,Fa as p,Gf as O,Jg as T,La as q,Na as r,P as g,Pf as P,Q as h,Qa as s,Qf as Q,Ra as t,Rf as R,Ta as u,Uc as y,Wc as z,Wh as Y,Xf as S,Xh as Z,Yg as U,Yh as _,Zg as V,_g as W,_h as $,ad as B,bd as C,c as a,ca as i,cd as D,da as j,dd as E,e as b,ea as k,ed as F,f as c,fd as G,g as d,hd as H,ia as l,jd as I,ka as m,kd as J,la as n,ma as o,md as K,nd as L,oc as v,pf as M,qf as N,xc as w,zc as x}from"./chunks/chunk-JUDU4RO4.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-CBLA33YK.js";import"./chunks/chunk-2ZMXX3Q6.js";import"./chunks/chunk-ALDHXLPS.js";import"./chunks/chunk-GKA54IJM.js";import"./chunks/chunk-MNJ4NNSY.js";import{o as a,wa as b}from"./chunks/chunk-NUXRRNAB.js";import"./chunks/chunk-OJPCFDDY.js";import"./chunks/chunk-PFSD3DAN.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-TRWXF476.js";import"./chunks/chunk-EBO7OUUE.js";import"./chunks/chunk-S4EITGLA.js";import"./chunks/chunk-JZSNADRR.js";import"./chunks/chunk-2QYH4QMI.js";import{o as a,ya as b}from"./chunks/chunk-ETML5C6H.js";import"./chunks/chunk-TIGKWVLA.js";import"./chunks/chunk-JUDU4RO4.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