@unbrained/pm-cli 2026.8.19 → 2026.8.21

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