@unbrained/pm-cli 2026.8.20 → 2026.8.22
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.
- package/.claude-plugin/marketplace.json +2 -2
- package/CHANGELOG.md +38 -0
- package/dist/cli/error-guidance.d.ts +29 -4
- package/dist/cli/error-guidance.js +43 -43
- package/dist/cli/main.d.ts +3 -0
- package/dist/cli/main.js +40 -7
- package/dist/cli-bundle/bundle-manifest.json +150 -150
- package/dist/cli-bundle/chunks/{chunk-L4LGPBJU.js → chunk-BWX4SK46.js} +58 -58
- package/dist/cli-bundle/chunks/chunk-EMWDM5FI.js +13 -0
- package/dist/cli-bundle/chunks/chunk-HYG6LRL4.js +200 -0
- package/dist/cli-bundle/chunks/{chunk-TSMWLCHS.js → chunk-MYYI3ZOA.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-4GB2LTOQ.js → chunk-MZTZQTMS.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-7BRF2BX2.js → chunk-QI2CT3IX.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-SMWXHMVB.js +35 -0
- package/dist/cli-bundle/chunks/{chunk-US2ZQW2M.js → chunk-U6GQ4VMV.js} +47 -47
- package/dist/cli-bundle/chunks/{chunk-K3EN3LK2.js → chunk-VMMIL3SI.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-WG4STC36.js +5 -0
- package/dist/cli-bundle/chunks/{chunk-XYDDWBZN.js → chunk-YBPJAOQQ.js} +3 -3
- package/dist/cli-bundle/chunks/{register-list-query-JSAQCVOC.js → register-list-query-HZKBQNWW.js} +2 -2
- package/dist/cli-bundle/chunks/{register-mutation-XJPAW63D.js → register-mutation-HTKEEGRD.js} +2 -2
- package/dist/cli-bundle/chunks/{register-operations-DSOSB2XQ.js → register-operations-6EMRWJJY.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-QUR6QL2C.js → register-setup-QK4OTOXN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-TDR5OGG3.js → chunk-2ARQGDDW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-AZBACT5T.js → chunk-2AZT5WXZ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-M32HFIQB.js → chunk-2POVTNLY.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-3LKU6PTJ.js +4 -0
- package/dist/cli-bundle/focused-chunks/chunk-5SHSBMX2.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-UGSS4F5X.js → chunk-6S2MO3Q3.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-5L7M4AI7.js → chunk-A2BC5PQL.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-C4S4A4JJ.js +5 -0
- package/dist/cli-bundle/focused-chunks/{chunk-OM65KHGF.js → chunk-D6RBZEJJ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-E2EWYPY6.js +16 -0
- package/dist/cli-bundle/focused-chunks/{chunk-G3C5ERXG.js → chunk-GMYPD4FX.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-L5LDSRO2.js +155 -0
- package/dist/cli-bundle/focused-chunks/{chunk-BLJCGGID.js → chunk-MB37AYN6.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-MCOR37QK.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-FUREQLQN.js → chunk-PH2OXXVZ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-325UXIO7.js → chunk-PMGJUFNQ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-R6SR45XU.js +50 -0
- package/dist/cli-bundle/focused-chunks/chunk-WZE4LIPW.js +8 -0
- package/dist/cli-bundle/main.js +13 -13
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +2 -2
- package/dist/cli-bundle/sdk-core.js +40 -40
- package/dist/cli-bundle/sdk-governance.js +1 -1
- package/dist/cli-bundle/sdk-graph.js +1 -1
- package/dist/cli-bundle/sdk-merge.js +32 -32
- package/dist/cli-bundle/sdk-query.js +1 -1
- package/dist/cli-bundle/sdk-runtime.js +1 -1
- package/dist/cli-bundle/sdk-testing.js +1 -1
- package/dist/cli-bundle/sdk.js +5 -5
- package/dist/core/extensions/extension-hook-runtime.js +22 -20
- package/dist/core/extensions/extension-types.d.ts +8 -1
- package/dist/core/extensions/extension-types.js +2 -2
- package/dist/core/extensions/loader.js +7 -3
- package/dist/core/extensions/service-ownership.d.ts +8 -0
- package/dist/core/extensions/service-ownership.js +20 -0
- package/dist/core/item/id.js +20 -5
- package/dist/core/item/item-format.js +27 -2
- package/dist/core/shared/errors.d.ts +20 -0
- package/dist/core/shared/errors.js +2 -2
- package/dist/core/store/item-store.js +6 -91
- package/dist/core/store/tracker-preflight.d.ts +7 -0
- package/dist/core/store/tracker-preflight.js +142 -0
- package/dist/sdk/agent/refusal-reachability.d.ts +1 -1
- package/dist/sdk/agent/tracker-preflight-contracts.d.ts +63 -0
- package/dist/sdk/agent/tracker-preflight-contracts.js +127 -0
- package/dist/sdk/annotations.js +6 -7
- package/dist/sdk/authoring.d.ts +1 -1
- package/dist/sdk/authoring.js +2 -2
- package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +77 -0
- package/dist/sdk/cli-contracts/agent-output-contracts.js +324 -2
- package/dist/sdk/cli-contracts/commander-mutation-options.js +3 -3
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +3 -1
- package/dist/sdk/cli-contracts/runtime-contracts.js +4 -3
- package/dist/sdk/cli-contracts.d.ts +1 -1
- package/dist/sdk/cli-contracts.js +3 -3
- package/dist/sdk/config.d.ts +5 -0
- package/dist/sdk/config.js +5 -5
- package/dist/sdk/context-intent-runtime.js +7 -4
- package/dist/sdk/contracts.d.ts +1 -0
- package/dist/sdk/contracts.js +3 -2
- package/dist/sdk/dependencies.js +5 -7
- package/dist/sdk/dependency-flag-validation.d.ts +1 -1
- package/dist/sdk/dependency-flag-validation.js +10 -4
- package/dist/sdk/environment/tracker-preflight.d.ts +6 -0
- package/dist/sdk/environment/tracker-preflight.js +10 -0
- package/dist/sdk/eval.js +5 -7
- package/dist/sdk/extension/install-sources.d.ts +1 -1
- package/dist/sdk/extension/install-sources.js +6 -3
- package/dist/sdk/extension/output-ownership.d.ts +1 -0
- package/dist/sdk/extension/output-ownership.js +3 -2
- package/dist/sdk/files.js +6 -10
- package/dist/sdk/generated/generated-error-code-catalog-part-1.js +75 -15
- package/dist/sdk/generated/generated-error-code-catalog-part-2.js +81 -8
- package/dist/sdk/governance/assurance.d.ts +36 -2
- package/dist/sdk/governance/assurance.js +184 -10
- package/dist/sdk/governance/gc.js +5 -6
- package/dist/sdk/governance/health.d.ts +3 -0
- package/dist/sdk/governance/health.js +42 -11
- package/dist/sdk/governance/hierarchy-validation.d.ts +29 -0
- package/dist/sdk/governance/hierarchy-validation.js +109 -0
- package/dist/sdk/governance/reindex.js +5 -6
- package/dist/sdk/governance/validate.d.ts +2 -9
- package/dist/sdk/governance/validate.js +51 -109
- package/dist/sdk/graph/assembly.d.ts +6 -1
- package/dist/sdk/graph/assembly.js +16 -22
- package/dist/sdk/graph/governance-contracts.d.ts +1 -1
- package/dist/sdk/graph/governance-contracts.js +8 -2
- package/dist/sdk/graph/governance.d.ts +7 -5
- package/dist/sdk/graph/governance.js +76 -16
- package/dist/sdk/graph/hierarchy-integrity.d.ts +94 -0
- package/dist/sdk/graph/hierarchy-integrity.js +311 -0
- package/dist/sdk/graph/index.d.ts +2 -1
- package/dist/sdk/graph/index.js +3 -2
- package/dist/sdk/graph/remediation.js +32 -2
- package/dist/sdk/graph/run.d.ts +31 -2
- package/dist/sdk/graph/run.js +83 -36
- package/dist/sdk/graph/traversal.js +14 -5
- package/dist/sdk/graph/workspace-relationship-kind-registry.d.ts +8 -0
- package/dist/sdk/graph/workspace-relationship-kind-registry.js +28 -0
- package/dist/sdk/history-compact.js +6 -9
- package/dist/sdk/history-read.js +5 -7
- package/dist/sdk/history-redact.js +5 -6
- package/dist/sdk/history-repair.js +6 -9
- package/dist/sdk/improvement-ledger.js +7 -10
- package/dist/sdk/index.d.ts +4 -2
- package/dist/sdk/index.js +5 -3
- package/dist/sdk/item-children.js +21 -8
- package/dist/sdk/lifecycle/append.d.ts +0 -5
- package/dist/sdk/lifecycle/append.js +5 -6
- package/dist/sdk/lifecycle/claim.d.ts +0 -5
- package/dist/sdk/lifecycle/claim.js +6 -9
- package/dist/sdk/lifecycle/close-many.d.ts +0 -5
- package/dist/sdk/lifecycle/close-many.js +5 -6
- package/dist/sdk/lifecycle/close.d.ts +0 -5
- package/dist/sdk/lifecycle/close.js +5 -6
- package/dist/sdk/lifecycle/copy.d.ts +0 -5
- package/dist/sdk/lifecycle/copy.js +5 -6
- package/dist/sdk/lifecycle/create.d.ts +0 -5
- package/dist/sdk/lifecycle/create.js +127 -102
- package/dist/sdk/lifecycle/delete.js +5 -6
- package/dist/sdk/lifecycle/focus.d.ts +0 -5
- package/dist/sdk/lifecycle/focus.js +5 -6
- package/dist/sdk/lifecycle/hierarchy-mutation-lock.d.ts +15 -0
- package/dist/sdk/lifecycle/hierarchy-mutation-lock.js +25 -0
- package/dist/sdk/lifecycle/plan.d.ts +0 -5
- package/dist/sdk/lifecycle/plan.js +5 -6
- package/dist/sdk/lifecycle/restore.js +5 -6
- package/dist/sdk/lifecycle/update-many.d.ts +0 -5
- package/dist/sdk/lifecycle/update-many.js +5 -6
- package/dist/sdk/lifecycle/update.d.ts +2 -5
- package/dist/sdk/lifecycle/update.js +211 -84
- package/dist/sdk/linked-artifacts.js +6 -7
- package/dist/sdk/merge/install.js +5 -6
- package/dist/sdk/mutation-events.js +5 -7
- package/dist/sdk/package-import-adapters.js +6 -8
- package/dist/sdk/profile.js +6 -7
- package/dist/sdk/query/activity.js +5 -6
- package/dist/sdk/query/calendar.js +5 -6
- package/dist/sdk/query/complete-list.d.ts +3 -3
- package/dist/sdk/query/complete-list.js +46 -3
- package/dist/sdk/query/get.d.ts +0 -5
- package/dist/sdk/query/get.js +5 -6
- package/dist/sdk/query/history.d.ts +0 -5
- package/dist/sdk/query/history.js +5 -6
- package/dist/sdk/query/list.d.ts +4 -3
- package/dist/sdk/query/list.js +92 -54
- package/dist/sdk/query/search.js +5 -7
- package/dist/sdk/read-output-contracts.d.ts +5 -1
- package/dist/sdk/read-output-contracts.js +87 -22
- package/dist/sdk/relationship-context.js +3 -4
- package/dist/sdk/relationship-kinds/contract.d.ts +8 -0
- package/dist/sdk/relationship-kinds/contract.js +13 -13
- package/dist/sdk/relationships.d.ts +1 -1
- package/dist/sdk/relationships.js +27 -2
- package/dist/sdk/runtime.d.ts +3 -2
- package/dist/sdk/runtime.js +3 -2
- package/dist/sdk/schema-migration.js +6 -7
- package/dist/sdk/schema.js +5 -6
- package/dist/sdk/stats.js +5 -8
- package/dist/sdk/templates.js +5 -6
- package/dist/sdk/test/batch.js +15 -9
- package/dist/sdk/test/execution.js +12 -5
- package/dist/sdk/test/runs.js +5 -7
- package/dist/types.d.ts +11 -0
- package/dist/types.js +2 -2
- package/docs/AGENT_UX_CONTRACTS.md +24 -1
- package/docs/COMMANDS.md +29 -14
- package/docs/DEPENDENCY_KIND_CONTRACT.md +40 -1
- package/docs/DIAGNOSTIC_OUTPUT_CONTRACTS.md +98 -0
- package/docs/EXTENSIONS.md +2 -1
- package/docs/README.md +1 -0
- package/docs/READ_OUTPUT_CONTRACTS.md +9 -2
- package/docs/RECURRENCE_RECOVERY_CONTRACTS.md +37 -0
- package/docs/RELATIONSHIP_GRAPH.md +97 -12
- package/docs/SDK_PRIMITIVE_INVENTORY.md +15 -1
- package/docs/TESTING.md +15 -0
- package/marketplace.json +2 -2
- package/package.json +1 -1
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/sdk/public-surface.json +848 -56
- package/dist/cli-bundle/chunks/chunk-2RDVGYWE.js +0 -13
- package/dist/cli-bundle/chunks/chunk-BLVQHFSY.js +0 -35
- package/dist/cli-bundle/chunks/chunk-CU25EQVV.js +0 -5
- package/dist/cli-bundle/chunks/chunk-RS3IV2R6.js +0 -197
- package/dist/cli-bundle/focused-chunks/chunk-6AHG2YW7.js +0 -50
- package/dist/cli-bundle/focused-chunks/chunk-GXWQBE3T.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-JWKEDZJI.js +0 -4
- package/dist/cli-bundle/focused-chunks/chunk-KYZ6JGPL.js +0 -155
- package/dist/cli-bundle/focused-chunks/chunk-Q47EX4DI.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-RIHDMCUM.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-T4ZFY7ZJ.js +0 -16
- package/dist/cli-bundle/focused-chunks/chunk-Z3PLWSGM.js +0 -2
package/dist/cli-bundle/sdk.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{a as hO,b as gO,c as uf,d as ff,e as mf,g as _f,h as hf,i as gf,j as Tf,k as yf,l as Cf,m as Af,n as Ef,o as TO,p as yO,q as CO,r as AO,s as EO,t as SO,u as OO,v as bO,w as Sf,x as Of,y as RO,z as xO}from"./chunks/chunk-K3EN3LK2.js";import{A as fb,B as mb,C as _b,D as hb,E as gb,F as Tb,G as yb,H as Cb,I as Ab,J as Eb,K as Sb,L as Ob,M as bb,N as Rb,O as xb,P as Ib,Q as Nb,R as wb,S as kb,T as vb,U as Pb,V as Mb,W as Lb,X as Db,Y as Fb,a as UO,b as BO,c as HO,d as zO,e as VO,f as WO,g as KO,h as XO,i as YO,j as JO,k as qO,l as ZO,m as QO,n as eb,o as tb,p as nb,q as rb,r as ob,s as ib,t as sb,u as ab,v as cb,w as db,x as pb,y as lb,z as ub}from"./chunks/chunk-4GB2LTOQ.js";import{a as IO,b as NO,c as wO,d as kO}from"./chunks/chunk-TSMWLCHS.js";import{a as vO,b as PO,c as MO,d as LO,e as DO,f as FO,g as GO,h as $O,i as jO}from"./chunks/chunk-7BRF2BX2.js";import{$ as BS,$a as Al,$b as Ru,A as uC,Aa as ZS,Ab as Ql,Ac as Qu,B as ec,Ba as QS,Bb as eu,Bc as ef,C as Vc,Ca as eO,Cb as tu,Cc as tf,D as Wc,Da as tO,Db as nu,Dc as nf,E as Kc,Ea as Zp,Eb as ru,Ec as rf,F as Xc,Fa as Qp,Fb as ou,Fc as of,G as Yc,Ga as el,Gb as iu,Gc as sf,H as hd,Ha as tl,Hb as su,Hc as af,I as gd,Ia as nl,Ib as au,Ic as cf,J as Td,Ja as rl,Jb as cu,Jc as df,K as yd,Ka as ol,Kb as du,Kc as pf,L as Cd,La as il,Lb as pu,Lc as lf,M as Ad,Ma as sl,Mb as lu,N as Ed,Na as al,Nb as uu,O as Sd,Oa as cl,Ob as fu,P as wS,Pa as dl,Pb as mu,Q as kS,Qa as pl,Qb as _u,R as vS,Ra as ll,Rb as hu,S as PS,Sa as ul,Sb as gu,T as MS,Ta as fl,Tb as Tu,U as LS,Ua as ml,Ub as yu,V as DS,Va as _l,Vb as Cu,W as FS,Wa as hl,Wb as Au,X as GS,Xa as gl,Xb as Eu,Y as $S,Ya as Tl,Yb as Su,Z as jS,Za as yl,Zb as Ou,_ as US,_a as Cl,_b as bu,a as Ki,aa as Oe,ab as El,ac as xu,b as Xi,ba as be,bb as Sl,bc as Iu,c as Yi,ca as Re,cb as Ol,cc as Nu,d as $y,da as xe,db as De,dc as wu,e as jy,ea as Ie,eb as F,ec as ku,f as qi,fa as Ne,fb as vl,fc as vu,g as Ky,ga as we,gb as Pl,gc as Pu,h as Xy,ha as ke,hb as Ml,hc as Mu,i as Yy,ia as ve,ib as Ll,ic as Lu,j as Jy,ja as Pe,jb as Dl,jc as Du,k as qy,ka as Me,kb as Fl,kc as Fu,l as Zy,la as Qd,lb as Gl,lc as Gu,m as Qy,ma as ep,mb as $l,mc as $u,n as eC,na as tp,nb as jl,nc as ju,o as tC,oa as np,ob as Ul,oc as Uu,p as nC,pa as rp,pb as Bl,pc as Bu,q as rC,qa as op,qb as Hl,qc as Hu,r as oC,ra as ip,rb as zl,rc as zu,s as iC,sa as sp,sb as Vl,sc as Vu,t as sC,ta as ap,tb as Wl,tc as Wu,u as ns,ua as cp,ub as Kl,uc as Ku,v as aC,va as dp,vb as Xl,vc as Xu,w as cC,wa as pp,wb as Yl,wc as Yu,x as dC,xa as lp,xb as Jl,xc as Ju,y as pC,ya as up,yb as ql,yc as qu,z as lC,za as qS,zb as Zl,zc as Zu}from"./chunks/chunk-L4LGPBJU.js";import{a as Se,f as Rd,g as xd}from"./chunks/chunk-XYDDWBZN.js";import{A as IS,B as NS,C as Gd,D as $d,E as jd,b as Qa,c as aE,d as sS,e as pS,f as lS,g as uS,h as fS,i as mS,j as Od,k as _S,l as Md,m as Ld,n as Dd,o as Fd,p as gS,q as TS,r as yS,s as CS,t as AS,u as ES,v as SS,w as OS,x as bS,y as RS,z as xS}from"./chunks/chunk-CU25EQVV.js";import{$ as sA,$a as vA,$b as cS,$c as xp,A as YC,Aa as va,Ab as QE,Ac as rO,Ad as Rl,B as JC,Ba as Pa,Bb as eS,Bc as mp,Bd as xl,C as qC,Ca as Ma,Cb as tS,Cc as Z,Cd as Il,D as ZC,Da as La,Db as nS,Dc as _p,Dd as Nl,Ea as Da,Eb as rS,Ec as hp,Ed as wl,F as iA,Fa,Fb as oS,Fc as gp,Fd as kl,Ga,Gb as iS,Gc as Tp,Ha as $a,Hc as yp,Ia as ja,Ib as Jc,Ic as Cp,J as Ks,Ja as Ua,Jb as qc,Jc as Ap,Ka as Ba,Kb as aS,Kc as Ep,La as Ha,Lb as Zc,Lc as Sp,Ma as za,Mb as Qc,Mc as oO,Na as Va,Nb as ed,Nc as iO,Oa as Wa,Ob as td,Oc as sO,Pa as Ka,Pb as nd,Pc as aO,Qa as Xa,Qb as rd,Qc as cO,Ra as Ya,Rb as od,Rc as dO,Sa as Ja,Sb as id,Sc as pO,Ta as qa,Tb as sd,Tc as lO,Ua as bA,Ub as ad,Uc as uO,Va as RA,Vb as cd,Vc as fO,Wa as xA,Wb as dd,Wc as mO,Xa as IA,Xb as pd,Ya as NA,Yb as ld,Yc as Op,Za as wA,Zb as ud,Zc as bp,_a as kA,_b as fd,_c as Rp,a as SC,aa as aA,ab as PA,ac as dS,ad as Ip,b as OC,ba as Xs,bb as MA,bc as md,bd as Np,c as bC,ca as Ys,cb as LA,cd as wp,d as RC,da as Js,db as DA,dd as kp,e as xC,ea as qs,eb as tc,ec as _d,ed as vp,f as IC,fa as Zs,fb as nc,fd as Pp,g as NC,ga as Qs,gb as rc,gc as hS,gd as Mp,h as wC,ha as ea,hb as oc,hc as bd,hd as Lp,i as kC,ia as gA,ib as ic,ic as Ud,id as Dp,j as vC,ja as TA,jb as sc,jc as Bd,jd as Fp,k as PC,ka as yA,kb as ac,kc as Hd,kd as Gp,l as MC,la as CA,lb as cc,lc as XS,ld as $p,m as LC,mb as dc,mc as YS,md as jp,n as DC,na as AA,nb as pc,nc as JS,nd as Up,o as FC,ob as $c,oc as zd,od as Bp,p as GC,pa as EA,pb as jc,pc as Vd,pd as _O,q as $C,qa as SA,qb as Uc,qc as Wd,qd as Hp,r as jC,ra as Oa,rb as Bc,rc as Kd,rd as zp,s as UC,sa as ba,sb as KE,sc as Xd,sd as Vp,t as BC,ta as OA,tb as XE,tc as Yd,td as Wp,u as HC,ua as Ra,ub as YE,uc as Jd,ud as Kp,v as zC,va as xa,vb as JE,vc as qd,vd as Xp,w as VC,wa as Ia,wb as qE,wc as Zd,wd as Yp,x as WC,xa as Na,xb as Hc,xc as fp,xd as Jp,y as KC,ya as wa,yb as zc,yc as nO,yd as qp,z as XC,za as ka,zb as ZE,zc as Le,zd as bl}from"./chunks/chunk-BLVQHFSY.js";import{Aa as ga,Ba as Ta,Ca as ya,Da as Ca,Ea as Aa,Fa as Ea,Ga as Sa,H as da,Ha as Id,I as pa,Ia as Nd,J as la,Ja as wd,K as ua,Ka as kd,La as vd,Ma as Pd,a as Vy,b as Wy,c as Zi,d as Qi,f as es,g as ts,h as cA,i as dA,j as pA,k as lA,l as uA,m as fA,n as mA,o as _A,oa as ge,p as ta,pa as Te,q as na,qa as ye,r as ra,ra as Ce,s as oa,sa as fa,t as ia,u as hA,ua as ma,v as sa,va as _a,w as aa,wa as ha,x as ca}from"./chunks/chunk-US2ZQW2M.js";import{$ as Es,$a as tE,$b as Ec,Aa as GA,Ab as OE,B as rs,Ba as $A,Bb as bE,C as QC,Ca as jA,Cb as RE,D as eA,Da as UA,Db as xE,E as tA,Ea as BA,Eb as IE,F as nA,Fa as HA,Fb as NE,G as rA,Ga as zA,Gb as wE,H as os,Ha as VA,Hb as kE,I as is,Ia as WA,Ib as vE,J as ss,Ja as KA,Jb as PE,K as as,Kb as ME,L as cs,Lb as LE,M as ds,Mb as DE,N as q,Nb as FE,O as ps,Ob as GE,P as ls,Pb as $E,Q as us,Qb as jE,R as fs,Rb as UE,S as oA,Sa as XA,Sb as BE,T as ms,Ta as YA,Tb as _c,U as _s,Ua as JA,Ub as hc,V as hs,Va as qA,Vb as gc,W as gs,Wa as ZA,Wb as Tc,X as Ts,Xa as QA,Xb as yc,Y as ys,Yb as Cc,Z as Cs,Zb as Ae,_ as As,_a as eE,_b as Ac,a as wy,aa as Ss,ab as nE,ac as Sc,b as ky,ba as Os,bb as rE,bc as Oc,c as vy,ca as bs,cb as oE,cc as bc,d as Py,da as Rs,db as iE,dc as Rc,e as My,ea as xs,eb as sE,ec as xc,fa as Is,fb as Za,fc as Ic,ga as Ns,gb as lc,gc as Nc,h as Ly,ha as ws,hb as uc,hc as wc,i as Dy,ia as ks,ib as fc,ic as kc,j as Ji,ja as vs,jb as mc,jc as vc,k as Fy,ka as Ps,kb as cE,kc as Pc,l as Gy,la as Ms,lb as dE,lc as Mc,m as Uy,ma as Ls,mb as pE,mc as Lc,n as By,na as Ds,nb as lE,nc as Dc,o as Hy,oa as Fs,ob as uE,oc as Ee,p as zy,pa as Gs,pb as fE,pc as Fc,q as fC,qa as $s,qb as mE,qc as HE,r as mC,ra as js,rb as _E,rc as zE,s as _C,sa as Us,sb as hE,sc as VE,t as hC,ta as Bs,tb as gE,tc as Gc,u as gC,ua as Hs,ub as TE,uc as WE,v as TC,va as zs,vb as yE,vc as HS,w as yC,wa as Vs,wb as CE,wc as zS,x as CC,xa as Ws,xb as AE,xc as VS,y as AC,yb as EE,yc as WS,z as EC,za as FA,zb as SE,zc as KS}from"./chunks/chunk-2RDVGYWE.js";import{$ as Km,$a as At,$e as xn,$f as Rg,$g as tT,$i as py,$j as xy,$k as qo,Ac as L_,Ad as zt,Ae as Mh,Af as ng,Ag as Wn,Ah as mT,Ai as ZT,Aj as Fr,Ak as Oo,Al as Oi,B as Mm,Bc as D_,Bd as Vt,Be as Lh,Bf as rg,Bg as Kn,Bh as _T,Bi as QT,Bj as Gr,Bk as bo,Bl as bi,C,Cc as F_,Cd as Wt,Ce as Dh,Cf as og,Cg as Xn,Ch as nr,Ci as ey,Cj as $r,Ck as Ro,Cl as Ri,D as Lm,Dc as G_,De as Fh,Df as ig,Dg as Yn,Dh as hT,Di as ty,Dj as jr,Dk as xo,Dl as xi,E as W,Ec as $_,Ee as Gh,Ef as sg,Eg as Jn,Eh as gT,Ei as ny,Ej as Ur,Ek as Io,El as Ii,Fc as j_,Fe as $h,Ff as ag,Fg as qn,Fh as TT,Fi as ry,Fj as Br,Fk as No,Fl as Ni,G as Dm,Gc as It,Ge as jh,Gf as cg,Gg as jg,Gh as yT,Gi as oy,Gj as Hr,Gk as wo,Gl as wi,H as Fm,Hc as U_,He as Uh,Hf as dg,Hh as fe,Hi as sr,Hj as zr,Hk as ko,Hl as ki,Ia as r_,Ib as h_,Ic as Nt,Id as ah,Ie as cn,If as pg,Ig as Zn,Ih as CT,Ii as ar,Ij as Vr,Ik as vo,Il as vi,Ja as o_,Jb as Et,Jd as ch,Je as dn,Jf as lg,Jg as Qn,Jh as AT,Ji as cr,Jj as Wr,Jk as Po,Jl as Pi,K as Gm,Ka as i_,Kb as St,Kc as B_,Kd as dh,Ke as pn,Kf as ug,Kg as er,Kh as ET,Ki as dr,Kj as Kr,Kk as Mo,Kl as Mi,Lc as H_,Ld as Kt,Le as ln,Lf as fg,Lh as ST,Li as pr,Lj as Xr,Lk as Lo,Mb as D,Mc as z_,Md as Xt,Me as un,Mf as mg,Mg as Ug,Mi as lr,Mj as Yr,Mk as Do,Ml as Y,N as $m,Na as ht,Nb as g_,Nc as V_,Nd as Yt,Ne as fn,Nf as _g,Ng as Bg,Nh as OT,Nj as Jr,Nk as Fo,Nl as J,O as ce,Oa as s_,Oc as W_,Od as Jt,Oe as mn,Of as hg,Og as Hg,Oh as bT,Oi as ur,Oj as qr,Ok as Go,Ol as Li,P as de,Pa as a_,Pb as T_,Pc as ue,Pd as qt,Pe as _n,Pf as gg,Pg as zg,Ph as RT,Pi as fr,Pj as Zr,Pk as $o,Pl as Di,Q as at,Qa as c_,Qc as K_,Qd as Zt,Qe as hn,Qf as Tg,Qg as tr,Qh as xT,Qi as mr,Qj as hy,Qk as jo,Ql as Fi,R as ct,Ra as d_,Rb as y_,Rc as X_,Rd as Qt,Re as gn,Rf as yg,Rg as Vg,Rh as rr,Ri as _r,Rj as gy,Rk as Uo,Rl as Gi,S as pe,Sc as Y_,Sd as en,Se as Tn,Sf as Cg,Sg as Wg,Sh as or,Si as hr,Sj as Ty,Sk as Bo,Sl as $i,T as jm,Ta as gt,Td as tn,Te as yn,Tf as Ag,Tg as Kg,Th as ir,Ti as gr,Tj as yy,Tk as Ho,Tl as ji,Ua as Tt,Uc as J_,Ud as nn,Ue as Cn,Uf as Eg,Ug as Xg,Uh as IT,Ui as Tr,Uj as Cy,Uk as zo,Ul as Ui,V as Um,Va as K,Vc as q_,Vd as rn,Ve as An,Vg as Yg,Vi as yr,Vj as Ay,Vk as Vo,Vl as Bi,W as Bm,Wd as ph,We as En,Wf as Sg,Wg as Jg,Wh as NT,Wi as iy,Wj as Ey,Wk as Wo,Wl as Hi,X as Hm,Xd as lh,Xe as Sn,Xf as Og,Xg as qg,Xh as wT,Xi as sy,Xj as Sy,Xk as Ko,Xl as zi,Y as zm,Ya as yt,Yd as uh,Ye as On,Yg as Zg,Yh as kT,Yi as ay,Yj as Oy,Yk as Xo,Yl as Vi,Z as Vm,Za as Ct,Ze as bn,Zg as Qg,Zi as cy,Zj as by,Zk as Yo,Zl as Wi,_ as Wm,_e as Rn,_f as bg,_g as eT,_h as vT,_i as dy,_j as Ry,_k as Jo,_l as he,aa as Xm,ad as Z_,af as In,ag as xg,aj as ly,ak as Iy,al as Zo,ba as Ym,be as on,bf as Nn,bg as Ig,bh as nT,bi as PT,bj as uy,bk as Ny,bl as Qo,c as rt,ca as Jm,cc as C_,cd as wt,ce as sn,cf as wn,cg as Ng,ck as Qr,cl as ei,dc as A_,dd as Q_,de as an,df as kn,dg as jn,dh as rT,di as MT,dk as eo,dl as ti,e as ae,ea as qm,ec as E_,ed as kt,ef as vn,eg as Un,eh as oT,ek as to,el as ni,f as ot,fa as Zm,fe as fh,ff as Pn,fh as iT,fj as _e,fk as no,fl as ri,g as it,ga as Qm,gc as S_,gd as eh,ge as mh,gf as Mn,gh as sT,gj as fy,gk as ro,gl as oi,h as st,ha as e_,hc as O_,hd as th,he as _h,hf as Ln,hh as aT,hi as LT,hj as my,hk as oo,hl as ii,ia as t_,id as nh,ie as hh,if as Dn,ig as wg,ii as DT,ij as _y,ik as io,il as si,j as Im,ja as n_,jc as b_,jd as vt,je as gh,jf as Fn,jg as kg,ji as FT,jj as Cr,jk as so,jl as ai,k as Nm,ka as dt,kc as Ot,kd as Pt,ke as Th,kf as Gn,kg as vg,ki as GT,kj as Ar,kk as ao,kl as ci,l as wm,la as pt,ld as Mt,le as yh,lf as $n,lg as Pg,li as $T,lj as Er,lk as co,ll as di,ma as lt,mc as bt,md as Lt,me as Ch,mf as Bh,mj as Sr,mk as po,ml as pi,nc as Rt,nd as Dt,ne as Ah,nf as Hh,ng as Mg,ni as jT,nj as Or,nk as lo,nl as li,od as Ft,oe as Eh,of as zh,og as Lg,oi as UT,oj as br,ok as uo,ol as ui,pb as p_,pd as Gt,pe as Sh,pf as Vh,pi as BT,pj as Rr,pk as fo,pl as fi,qa as ut,qb as X,qc as R_,qd as rh,qe as Oh,qf as Wh,qi as HT,qj as xr,qk as mo,ql as mi,rb as le,rc as x_,rd as oh,re as bh,rf as Kh,ri as zT,rj as Ir,rk as _o,rl as _i,s as km,sa as ft,sb as l_,sc as I_,se as Rh,sf as Xh,sg as Dg,sh as cT,si as VT,sj as Nr,sk as ho,sl as hi,ta as mt,tb as u_,tc as N_,td as $t,te as xh,tf as Yh,tg as Fg,th as dT,ti as WT,tj as wr,tk as go,tl as gi,u as vm,ua as _t,ub as f_,uc as w_,ud as jt,ue as Ih,uf as Jh,ug as Gg,uh as pT,ui as KT,uj as kr,uk as To,ul as Ti,vb as m_,vc as k_,vd as ih,ve as Nh,vf as qh,vg as $g,vh as lT,vi as XT,vj as vr,vk as yo,vl as yi,wb as A,wc as v_,wd as Ut,we as wh,wf as Zh,wg as Bn,wh as uT,wi as YT,wj as Pr,wk as Co,wl as Ci,x as Pm,xb as __,xc as xt,xd as Bt,xe as kh,xf as Qh,xg as Hn,xh as fT,xi as me,xj as Mr,xk as Ao,xl as Ai,yc as P_,yd as sh,ye as vh,yf as eg,yg as zn,yi as JT,yj as Lr,yk as Eo,yl as Ei,zc as M_,zd as Ht,ze as Ph,zf as tg,zg as Vn,zi as qT,zj as Dr,zk as So,zl as Si}from"./chunks/chunk-RS3IV2R6.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 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}],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: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 bf(){return Object.keys(O).sort().map(e=>O[e])}function Rf(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 xf(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,a=Math.floor(t/o),c=0,s=1;for(let L=0;L<e.hierarchy_depth;L+=1)c=Math.min(Number.MAX_SAFE_INTEGER,c+s),s=Math.min(Number.MAX_SAFE_INTEGER,s*e.hierarchy_fanout);let d=a%c,p=a-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 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,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[a,,c]of this.annotationFields){let s=Math.floor(this.itemCount/100),d=this.itemCount%100,p=s*c+Math.max(0,c+d-100),l=s*c+Math.min(c,d),u=this.annotations[a];(u<p||u>l)&&r.push(`${a}:${u}!in[${p},${l}]`)}let o=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let a of[...o].sort()){let c=this.edgeKinds[a]??0,s=this.expectedEdgeKinds[a]??0;c!==s&&r.push(`edge_kind:${a}:${c}!=${s}`)}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 je(e){return new Q(e)}function If(e,t){let n=je(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 Nf(){let e=K(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 Ue="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((n,r)=>ee(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,ee(r,`${t}.${n}`)])))}function Be(e){if(e.schema!==Ue)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:ee(n.input,`operations[${r}].input`)})))})}async function He(e,t){let n=Be(e);return de(n,t)}async function wf(e,t){return He(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 kf(){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 ze=["lines","branches","functions","statements"];function vf(e,t){if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(`Coverage entry for ${e} must be an object.`)}function Pf(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 Mf(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)){vf(n,r);for(let o of ze){let i=Pf(n,o,r[o]),a=i.total-i.covered;a>0&&t.push({file:n,metric:o,uncovered:a,...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 Lf=["captured_redacted","captured_verbatim"],Df=[{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 Ff(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||!Lf.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 Df)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 Gf(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 $f(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?Ff(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 Gf(e,n)}function rR(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,a=0;for(let c of e.boundaries){if(typeof c!="object"||c===null||Array.isArray(c)){r.push({boundary_id:"unknown",kind:"invalid_boundary",detail:"Each boundary must be a JSON object."});continue}let s=c,d=m(s.id)?s.id:void 0;if(d!==void 0&&o.has(d)){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=$f(s,t,n.getTime());i+=p.captured,a+=p.waived,r.push(...p.findings)}return r.sort((c,s)=>c.boundary_id!==s.boundary_id?c.boundary_id.localeCompare(s.boundary_id):c.kind.localeCompare(s.kind)),{ok:r.length===0,boundary_count:e.boundaries.length,captured_count:i,waived_count:a,findings:r}}import b 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 Ve=300*1e3,jf=3;function cR(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function dR(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=te.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(te.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)),a=i.filter(d=>o.getTime()-d.mtimeMs<Ve),c=Math.max(0,jf-1-a.length),s=i.filter(d=>o.getTime()-d.mtimeMs>=Ve).slice(c).map(d=>d.name).sort((d,p)=>d.localeCompare(p));for(let d of s)b.rmSync(te.join(e,d),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:n,removed:s}}import We 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",Uf=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"]),oe=/\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 ne(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 Bf={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:ne,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:ne,packages:ne,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(oe);return t?[Number(t[1]),Number(t[2]),Number(t[3]),Number(t[4]??0)]:null}function $(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 re(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 Hf(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[B],i=typeof o=="string"?o.trim():"",a=/^[<!]/u.test(i)?void 0:i.match(oe)?.[0];a&&t.push(a)}return t.sort((n,r)=>$(r,n))[0]}function zf(e){let n=re(j.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 Vf(e,t){try{let n=We.readFileSync(j.join(e,t),"utf8").split(/\r?\n/u),r=n.findIndex(s=>s.includes(B));if(r<0)return;let o=n[r].match(/^\s*/u)[0].length,i=[n[r]];for(let s=r+1;s<n.length;s+=1){let d=n[s],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(oe)?.[0]}catch{return}}function Wf(e){let t=[],n=re(j.join(e,"package.json")),r=n?Hf(n):void 0;r&&t.push({version:r,source:"package.json"});let i=re(j.join(e,"node_modules","@unbrained","pm-cli","package.json"))?.version;typeof i=="string"&&U(i)&&t.push({version:i,source:"installed-package"});let a=zf(e);a&&U(a)&&t.push({version:a,source:"package-lock.json"});for(let c of["pnpm-lock.yaml","yarn.lock"]){let s=Vf(e,c);s&&t.push({version:s,source:c})}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 Kf(e){let t=Xe(e);if(!t||f(e,["--help","-h","--dry-run"]))return!1;let{command:n,index:r}=t,o=[];for(let a=r+1;a<e.length;a+=1){let c=e[a];if(Ke.has(c)){a+=1;continue}c.startsWith("-")||o.push(c.toLowerCase())}let i=Bf[n];return i?i(e,o):Uf.has(n)}function Xf(e){let t=Xe(e.argv)?.command,n=Kf(e.argv),o=Wf(e.projectRoot).filter(c=>$(c.version,e.executingVersion)!==null).sort((c,s)=>$(s.version,c.version))[0],i=o!==void 0&&$(e.executingVersion,o.version)===-1,a=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 ${B} ${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,...a?{warning:a}:{},override_applied:i&&n&&e.allowStale===!0}}function _R(e){let t=Xf(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 Yf}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,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(),a=t.list();return Object.freeze({version:ie,fingerprint:Yf("sha256").update(D({nodes:o,edges:i,kinds:a})).digest("hex"),created_at:new Date(r).toISOString(),nodes:o,edges:i,kinds:a})}function Jf(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function P(e){if(!Jf(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 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 qf(e,t={}){let n=e.map(P),r=new Map;for(let a of n)for(let c of a.snapshot.kinds){let s=r.get(c.kind);if(s&&D(s)!==D(c))throw new TypeError(`Conflicting federated relationship kind: ${c.kind}`);r.set(c.kind,c)}let o=new X([...r.values()].sort((a,c)=>a.kind.localeCompare(c.kind))),i=new A(new Set(n.flatMap(a=>[...a.snapshot.nodes])),n.flatMap(a=>[...a.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 Zf(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 a=r==="disconnected"?0:Math.floor((t-1)/n);return{node_count:t,edge_count:a,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let c=0;c<t;c+=1)yield`${i}-${c}`}},edges:{*[Symbol.iterator](){if(r!=="disconnected")for(let c=n;c<t;c+=n)yield{source:`${i}-${r==="star"?0:c-n}`,target:`${i}-${c}`,kind:o}}}}}function y(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function Je(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"}),a=[];y(await _(e,{workspace:n})===null,"workspace must start empty"),a.push({name:"empty-read",passed:!0});let c=await H(e,{workspace:n,snapshot:o});y(c.disposition==="written","first sync must write"),a.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"),a.push({name:"read-isolation",passed:!0}),y((await H(e,{workspace:n,snapshot:o})).disposition==="current","identical sync must be idempotent"),a.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"),a.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"),a.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"),a.push({name:"clear",passed:!0})),{adapter:e.name,workspace:n,cases:Object.freeze(a),clear_supported:e.clear!==void 0}}function Qf(e){return Je(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 qe}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 jR(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(),a=q(e,void 0,t.registry),c=a.graph.nodes(),s=a.graph.edges().map(u=>{let h=qe("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=qe("sha256").update(JSON.stringify({migrationId:n,nodes:c,events:s})).digest("hex"),p=new Set([...t.existingEventIds??[]].filter(u=>typeof u=="string").map(u=>u.trim()).filter(Boolean)),l=s.filter(u=>!p.has(u.eventId));return Object.freeze({migration_id:n,fingerprint:d,nodes:c,events:Object.freeze(l),edge_count:s.length,skipped_existing_count:s.length-l.length,duplicate_dependency_rows:a.duplicateRows.length,dangling_reference_count:a.dangling.active.length+a.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]="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"}},BR=Object.freeze(Object.keys(se));function et(e){if(Object.hasOwn(se,e))return se[e]}var em=new Set([..."=([{,:;!?&|+-*%^~<>","=>"]);function I(e,t){return e<t?-1:e>t?1:0}function tm(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 nm(e){return e===void 0||e.kind==="punctuator"&&em.has(e.value)||e.kind==="identifier"&&["return","case","throw","else","yield"].includes(e.value)}function rm(e,t){if(/\s/u.test(e[t]))return t+1;if(e.startsWith("//",t)){let n=e.indexOf(`
|
|
3
|
-
`,t+2);return
|
|
4
|
-
`&&t.push(n+1);return t}function gm(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 HR(e){let t=[],n=[];for(let o of[...e].sort((i,a)=>I(i.path,a.path))){let i=hm(o.content),a;try{a=_m(o.content)}catch(c){n.push({kind:"invalid_source",subject:o.path,detail:`${o.path} could not be parsed for recovery producers: ${String(c)}.`});continue}for(let c of a){let s=c.field,d=gm(i,c.offset),p=et(s);p?t.push({path:o.path,line:d,field:s,kind:p.kind}):/(?:retry_command|candidate_command|fallback_candidate|next_best_command|example|next_step|migration_hint|restore_with)/u.test(s)&&!/(?:_total|_truncated)$/u.test(s)&&n.push({kind:"unknown_recovery_field",subject:`${o.path}:${d}:${s}`,detail:`${s} resembles a recovery reference but has no typed field contract.`})}}let r=Object.fromEntries(M.map(o=>[o,t.filter(i=>i.kind===o).length]));for(let o of M)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 zR(e,t){let n=[],r=(o,i)=>{if(Array.isArray(o)){o.forEach((a,c)=>r(a,[...i,String(c)]));return}if(!(typeof o!="object"||o===null))for(let[a,c]of Object.entries(o).sort(([s],[d])=>I(s,d))){let s=et(a),d=s?.kind==="migration_hint"&&o.semantics==="behavior_preserving"?{...s,semantics:"behavior_preserving"}:s,p=[c].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,a,String(u)].map(L=>encodeURIComponent(L)).join("/");n.push({id:`${e}:${d.kind}:${w}`,probe_id:e,kind:d.kind,semantics:d.semantics,value:N})}),r(c,[...i,a])}};return r(t,[]),n}function VR(e,t){let n=e.flatMap(a=>(a.owned_states??[]).map(c=>({contract:a,state:c}))),r=[],o=new Map;for(let a of t){if(o.has(a.probe_id)){r.push({kind:"duplicate_probe",probe_id:a.probe_id,detail:`Observation ${a.probe_id} was supplied more than once.`});continue}o.set(a.probe_id,a)}let i=new Set(n.map(({state:a})=>a.probe_id));for(let{contract:a,state:c}of n){let s=o.get(c.probe_id);if(!s){r.push({kind:"missing_probe",probe_id:c.probe_id,detail:`No entrypoint observation was recorded for ${a.code}.`});continue}s.code!==a.code&&r.push({kind:"wrong_error_code",probe_id:c.probe_id,detail:`Expected ${a.code}; observed ${s.code}.`}),s.exit_class!==c.expected_exit_class&&r.push({kind:"wrong_exit_class",probe_id:c.probe_id,detail:`Expected ${c.expected_exit_class}; observed ${s.exit_class}.`}),c.entrypoints.includes(s.entrypoint)||r.push({kind:"wrong_entrypoint",probe_id:c.probe_id,detail:`Expected one of ${c.entrypoints.join(", ")}; observed ${s.entrypoint}.`})}for(let a of t)i.has(a.probe_id)||r.push({kind:"undeclared_probe",probe_id:a.probe_id,detail:`Observation ${a.probe_id} has no catalog declaration.`});return r.sort((a,c)=>a.probe_id!==c.probe_id?a.probe_id.localeCompare(c.probe_id):a.kind.localeCompare(c.kind)),{ok:r.length===0,declared_probe_count:n.length,observed_probe_count:t.length,findings:r}}function WR(e,t){let n=[],r=new Set,o=new Set;for(let s of e){if(r.has(s.id)){o.add(s.id),n.push({kind:"duplicate_obligation",reference_id:s.id,detail:`Recovery obligation ${s.id} was declared more than once.`});continue}r.add(s.id)}let i=new Map;for(let s of t){if(i.has(s.id)){n.push({kind:"duplicate_observation",reference_id:s.id,detail:`Recovery reference ${s.id} was observed more than once.`});continue}i.set(s.id,s),r.has(s.id)||n.push({kind:"undeclared_observation",reference_id:s.id,detail:`Recovery observation ${s.id} has no emitted obligation.`})}for(let s of e){if(o.has(s.id))continue;let d=i.get(s.id);d?d.reachable?d.semantics!==s.semantics&&n.push({kind:"wrong_semantics",reference_id:s.id,detail:`Recovery reference ${s.value} promised ${s.semantics}; proof demonstrated ${d.semantics}.`}):n.push({kind:"unreachable_reference",reference_id:s.id,detail:`Recovery reference ${s.value} did not reach its promised target.`}):n.push({kind:"missing_observation",reference_id:s.id,detail:`No reachability proof was recorded for ${s.kind} ${s.value}.`})}let a=M.map(s=>{let d=e.filter(l=>l.kind===s),p=d.filter(l=>!o.has(l.id)).map(l=>i.get(l.id)).filter(l=>l!==void 0);return{kind:s,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((s,d)=>s.reference_id!==d.reference_id?s.reference_id.localeCompare(d.reference_id):s.kind.localeCompare(d.kind));let c=a.reduce((s,d)=>s+d.passed,0);return{ok:n.length===0,declared_reference_count:e.length,observed_reference_count:t.length,pass_fraction:r.size===0?1:c/r.size,coverage_by_kind:a,findings:n}}function Tm(e,t){let n=new Map(M.map(i=>[i,new Set]));for(let i of t)n.get(i.kind).add(i.value);let r=M.map(i=>({kind:i,source_producers:e.producer_count_by_kind[i],runtime_values:n.get(i).size})),o=r.filter(({source_producers:i,runtime_values:a})=>i>0&&a===0).map(({kind:i})=>i);return{ok:e.ok&&o.length===0,source_producer_count:e.producer_count,runtime_value_count:r.reduce((i,{runtime_values:a})=>i+a,0),coverage_by_kind:r,missing_runtime_kinds:o}}var KR=Tm;(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 ym(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 Cm(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."},...ym(e)]}function JR(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 a of Cm(o))a!==void 0&&t.push(a);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]="6ba3d756-dcd6-59b7-92fe-ec33d294d72b")}catch{}})();var z,Am=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 Em(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 n=Am[e];if(n===void 0)throw new Error(`Command ${e} exposes --full without a registered projection concept.`);return n}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:a})=>Le(i,J(i)).map(c=>({command:i,family:a,concept:Em(i,c.flag),flag:c.flag,aliases:Object.freeze([...c.aliases??[]]),value_kind:c.repeatable?"list":c.flag==="--limit"?"number":c.value_type}))),n=new Set(t.flatMap(i=>i.aliases.map(a=>`${i.command}:${a}`))),r=t.filter(i=>!n.has(`${i.command}:${i.flag}`)),o=new Map;for(let i of r){let a=o.get(i.concept)??new Set;a.add(i.value_kind),o.set(i.concept,a)}return z=Object.freeze(r.map(i=>Object.freeze({...i,concept:o.get(i.concept)?.size===1?i.concept:`${i.concept}@${i.command}`}))),z}function tx(){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 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 V())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 Sm(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 Om(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 bm(e,t,n){let r=new Map(e.map(o=>[`${o.command}:${o.flag}`,o]));for(let o of t){let i=`${o.command}:${o.canonical_flag}`,a=r.get(i);if(!a){n.push({code:"removed_canonical_spelling",command:o.command,detail:`${o.canonical_flag} disappeared from the executable spelling inventory.`});continue}let c=new Set([a.flag,...a.aliases]);for(let s of o.accepted_spellings)c.has(s)||n.push({code:"removed_compatibility_spelling",command:o.command,detail:`${s} no longer resolves to ${o.canonical_flag}.`})}}function nx(e=V(),t=nt(),n=[]){let r=[],o=new Map,i=new Map,a=new Map,c=new Map;for(let s of e){let d=`${s.command}:${s.flag}`;o.has(d)?r.push({code:"duplicate_canonical_flag",command:s.command,detail:`${s.flag} has more than one canonical row.`}):o.set(d,s),c.set(s.command,(c.get(s.command)??0)+1);let p=i.get(s.concept);p!==void 0&&p!==s.value_kind?r.push({code:"inconsistent_concept_kind",command:s.command,detail:`${s.concept} uses both ${p} and ${s.value_kind}.`}):i.set(s.concept,s.value_kind);let l=a.get(s.concept);l!==void 0&&l!==s.flag?r.push({code:"semantic_spelling_collision",command:s.command,detail:`${s.concept} is canonicalized by both ${l} and ${s.flag}.`}):a.set(s.concept,s.flag)}return Sm(e,o,r),Om(c,t,r),bm(e,n,r),r.sort((s,d)=>s.command.localeCompare(d.command)||s.code.localeCompare(d.code)||s.detail.localeCompare(d.detail)),{ok:r.length===0,entry_count:e.length,budget_count:t.length,concept_count:new Set(e.map(({concept:s})=>s)).size,baseline_entry_count:n.length,findings:r}}function rx(){let e=V(),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:a})=>{let c=n.get(o);return`| \`${o}\` | ${c} | ${i} | ${a} |`}),""].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 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 px(e){return e}function lx(e){return e}function ux(e){return e}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{handled:!0,result:e}}function yx(){return{handled:!1}}function Cx(e){return e}function Ax(e){return e}function Ex(e){return e}function Sx(e){return e}function Ox(e){return e}function bx(e){return e}function Rx(e){return e}function xx(e){return e}function Ix(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 Rm(e={},t={}){return new F(t).extension(void 0,{...e,migrate:!0})}function xm(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]="69a0f0d4-50f9-5063-9cc6-64de2abac82e")}catch{}})();export{FA as ACTIONABILITY_ORDERING_KINDS,br as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,Ai as ACTIVITY_FLAG_CONTRACTS,Kt as AGENT_PROVENANCE_DIMENSIONS,oo as AGGREGATE_FLAG_CONTRACTS,Vo as APPEND_FLAG_CONTRACTS,PA as ASSURANCE_ACTIONS,MA as ASSURANCE_DECLARATION_KINDS,IC as ASSURANCE_DOCUMENT_VERSION,li as ASSURANCE_FLAG_CONTRACTS,NC as ASSURANCE_GATE_TRIGGERS,wC as ASSURANCE_MEASUREMENT_SOURCE_KINDS,KC as ASSURANCE_PRESET_IDS,OC as AssuranceEvaluationRefusalError,SC as AssuranceMutationRefusalError,bC as AssuranceSourceResolutionError,vt as BASELINE_ITEM_FORMAT_VERSION,Lf as BOUNDARY_FIXTURE_CAPTURE_SOURCES,YA 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,p_ as BUILTIN_RELATIONSHIP_KINDS,Er as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,Ci as CALENDAR_FLAG_CONTRACTS,Wo as CLAIM_FLAG_CONTRACTS,$i as CLOSE_ACTION_OPTION_KEYS,Ho as CLOSE_FLAG_CONTRACTS,zo as CLOSE_MANY_FLAG_CONTRACTS,Zo as CLOSE_TASK_FLAG_CONTRACTS,io as COMMENTS_FLAG_CONTRACTS,r_ as COMMON_MUTATION_COMMAND_OPTION_KEYS,Pi as COMPLETION_FLAG_CONTRACTS,_t as CONFIDENCE_TEXT_VALUES,Ao as CONFIG_FLAG_CONTRACTS,Sr as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,mE as CONTEXT_EVALUATION_METRIC_NAMES,Si as CONTEXT_FLAG_CONTRACTS,Ae as CONTEXT_OUTPUT_VALUES,yE as CONTEXT_PACKING_PROFILES,pE as CONTEXT_RELEVANCE_SERVICE,cE as CONTEXT_RELEVANCE_SIGNAL_NAMES,xE as CONTEXT_SIGNAL_SET_VERSION,RE as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,IE as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,vi as CONTRACTS_FLAG_CONTRACTS,hi as COPY_FLAG_CONTRACTS,Nr as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,kr as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,wr as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,vm as CREATE_DIRECT_CLOSE_REASON_DEFAULT,ui as CREATE_FLAG_CONTRACTS,bg as CURRENT_HISTORY_ITEM_HASH_VERSION,Pt as CURRENT_ITEM_FORMAT_VERSION,vE as ContextSignalStore,AE as ContextUsageValidationError,hC as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,lS as DEFAULT_CHILD_SAMPLE_LIMIT,XA as DEFAULT_COMPACT_LIST_FIELDS,ST as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,$d as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,KE as DEFAULT_TERMINAL_TRANSITION_POLICY,DE as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,RA as DEFECT_ESCAPE_CLASSES,xA as DEFECT_GATE_EVIDENCE_DISPOSITIONS,Xo as DELETE_FLAG_CONTRACTS,ut as DEPENDENCY_KIND_VALUES,Ri as DEPS_FLAG_CONTRACTS,po as DOCS_FLAG_CONTRACTS,ci as DUPLICATES_FLAG_CONTRACTS,Ii as EVAL_FLAG_CONTRACTS,Ld as EVAL_QUERY_SET_CONTRACT,Dd as EVAL_QUERY_SET_EXAMPLE,Md as EVAL_QUERY_SET_SCHEMA_ID,Ei as EVENTS_FLAG_CONTRACTS,ei as EVENT_FLAG_CONTRACTS,dn as EXECUTABLE_COMMAND_ALIASES,C as EXIT_CODE,vo as EXTENSION_ACTIVATE_FLAG_CONTRACTS,ko as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,$o as EXTENSION_ADOPT_FLAG_CONTRACTS,Ky as EXTENSION_CAPABILITIES,wm as EXTENSION_CAPABILITY_CONTRACT,Im as EXTENSION_CAPABILITY_CONTRACT_VERSION,Nm as EXTENSION_CAPABILITY_LEGACY_ALIASES,Ot as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,Go as EXTENSION_CATALOG_FLAG_CONTRACTS,Po as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,wo as EXTENSION_DESCRIBE_FLAG_CONTRACTS,Fo as EXTENSION_DOCTOR_FLAG_CONTRACTS,No as EXTENSION_EXPLORE_FLAG_CONTRACTS,Eo as EXTENSION_FLAG_CONTRACTS,Oo as EXTENSION_INIT_FLAG_CONTRACTS,xo as EXTENSION_INSTALL_FLAG_CONTRACTS,Lo as EXTENSION_MANAGE_FLAG_CONTRACTS,Mo as EXTENSION_MIGRATE_FLAG_CONTRACTS,Xy as EXTENSION_POLICY_MODES,Yy as EXTENSION_POLICY_SURFACES,Do as EXTENSION_RELOAD_FLAG_CONTRACTS,qy as EXTENSION_SANDBOX_PROFILES,So as EXTENSION_SCOPE_FLAG_CONTRACTS,Jy as EXTENSION_TRUST_MODES,Io as EXTENSION_UNINSTALL_FLAG_CONTRACTS,QC as EXTERNAL_DEPENDENCY_SOURCE_KIND,eA as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,co as FILES_FLAG_CONTRACTS,gi as FOCUS_FLAG_CONTRACTS,si as GC_FLAG_CONTRACTS,ZA as GET_DEPTH_VALUES,Oi as GET_FLAG_CONTRACTS,no as GLOBAL_FLAG_CONTRACTS,Ms as GRAPH_DURABLE_CACHE_MIN_ITEMS,Ps as GRAPH_DURABLE_CACHE_VERSION,xi as GRAPH_FLAG_CONTRACTS,yn as GRAPH_SUBCOMMAND_VALUES,bi as GUIDE_FLAG_CONTRACTS,di as HEALTH_FLAG_CONTRACTS,_o as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,sA as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,ZS as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,ho as HISTORY_COMPACT_FLAG_CONTRACTS,lo as HISTORY_FLAG_CONTRACTS,fo as HISTORY_REDACT_FLAG_CONTRACTS,mo as HISTORY_REPAIR_FLAG_CONTRACTS,Id as INIT_AGENT_GUIDANCE_MODE_VALUES,Co as INIT_FLAG_CONTRACTS,jo as INSTALL_FLAG_CONTRACTS,mt as ISSUE_SEVERITY_VALUES,mi as ITEM_COMPLETE_FLAG_CONTRACTS,PS as ITEM_LATEST_TIMESTAMP_FIELDS,km as ITEM_METADATA_KEY_ORDER,fi as ITEM_MUTATE_FLAG_CONTRACTS,_i as ITEM_REOPEN_FLAG_CONTRACTS,pt as ITEM_TYPE_VALUES,vS as ITEM_UNION_COLLECTION_FIELDS,kE as JsonFileContextSignalStoreAdapter,ao as LEARNINGS_FLAG_CONTRACTS,nd as LINKED_TEST_ENV_NAME_PATTERN,rd as LINKED_TEST_PM_CONTEXT_MODE_VALUES,td as LINKED_TEST_PROTECTED_ENV_KEYS,Cr as LIST_COMMANDER_STRING_OPTION_CONTRACTS,JA as LIST_COMMAND_DEFAULT_PROJECTIONS,Qy as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,ro as LIST_FILTER_FLAG_CONTRACTS,nE as LIST_SORT_FIELDS,rE as LIST_SORT_ORDER_VALUES,pS as MAX_CHILD_PROJECTION_ITEMS,Qo as MEET_FLAG_CONTRACTS,DS as MERGE_DRIVER_ARTIFACT_VALUES,uo as MERGE_FLAG_CONTRACTS,HS as MUTATION_EVENT_WIRE_BUDGET,v as MemoryRelationshipGraphAdapter,Or as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,wi as NEXT_FLAG_CONTRACTS,Fc as NEXT_OUTPUT_VALUES,so as NOTES_FLAG_CONTRACTS,bo as PACKAGE_FLAG_CONTRACTS,Ro as PACKAGE_INIT_FLAG_CONTRACTS,qo as PAUSE_TASK_FLAG_CONTRACTS,Gi as PLAN_CREATE_METADATA_PARAMETER_KEYS,yo as PLAN_FLAG_CONTRACTS,Td as PLAN_SHOW_DEPTH_VALUES,gd as PLAN_SUBCOMMANDS,yd as PLAN_TEMPLATE_NAMES,Ki as PM_CLI_EXPECTED_ERROR_NAME,Oy as PM_CLI_GRAMMAR_CONTRACT,hy as PM_CLI_GRAMMAR_NOUNS,En as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,gy as PM_CLI_SHARED_VERBS,cn as PM_COMMAND_ALIAS_CONTRACTS,Z as PM_COMMAND_CAPABILITY_CONTRACTS,Ey as PM_COMMAND_DESTINATION_CONTRACTS,QE as PM_COMMAND_EXIT_CONTRACTS,ZE as PM_COMMAND_EXIT_OUTCOME_CONTRACTS,Fn as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,lO as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,Sy as PM_COMMAND_POSITIONAL_CONTRACTS,_p as PM_COMMAND_VISIBILITY_CONTRACTS,tC as PM_COMPLETE_LIST_FINDING_CODES,aC as PM_CONTEXT_INTENTS_FILE,lg as PM_CONTEXT_INTENT_CONTRACTS,Tn as PM_CORE_COMMAND_NAMES,g as PM_CORPUS_SHAPE_SCHEMA,On as PM_DEPRECATED_TOOL_ACTIONS,bn as PM_DISCOVERABLE_TOOL_ACTIONS,cO as PM_ERROR_CODE_CATALOG,oO as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,ze 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,fA as PM_GITATTRIBUTES_END,uA as PM_GITATTRIBUTES_START,_A as PM_GITATTRIBUTES_V2_END,mA as PM_GITATTRIBUTES_V2_START,Qi as PM_GITIGNORE_END,Zi as PM_GITIGNORE_START,An as PM_ITEM_ACTION_SUBCOMMANDS,Ep as PM_MCP_PROMPT_CONTRACTS,Ap as PM_MCP_RESOURCE_CONTRACTS,yp as PM_MCP_TOOL_COMMAND_CONTRACTS,hh as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,sr as PM_MUTATION_ACTION_CONTRACTS,Pn as PM_OUTPUT_BUDGET_CLASSES,vn as PM_OUTPUT_DEGRADATION_STEPS,dO as PM_OUTPUT_ENVELOPE_KINDS,Te as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,ge as PM_PACKAGE_RESOURCE_KINDS,Ty as PM_POSITIONAL_ACTION_CONTRACTS,Wi as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,zi as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,Qh as PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS,Jh as PM_READ_OUTPUT_DIMENSIONS,Zh as PM_READ_OUTPUT_OPTION_FLAGS,Vh as PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS,zh as PM_READ_OUTPUT_SESSION_MIN_TOKENS,qh as PM_READ_OUTPUT_SURFACES,eg as PM_READ_OUTPUT_SURFACE_CONTRACTS,_h as PM_READ_ROW_CONTRACTS,mh as PM_READ_ROW_JQ_SELECTOR,BR as PM_RECOVERY_REFERENCE_FIELDS,M as PM_RECOVERY_REFERENCE_KINDS,eS as PM_SUCCESS_EXIT_CODES,Sn as PM_TOOL_ACTIONS,ji as PM_TOOL_ACTION_PARAMETER_CONTRACTS,Vi as PM_TOOL_PARAMETERS_SCHEMA,Hi as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Bi as PM_TOOL_PARAMETERS_SCHEMA_VERSION,Di as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,Ue as PM_WORKSPACE_RECIPE_SCHEMA,To as PROFILE_FLAG_CONTRACTS,ve as PROFILE_LINT_CODES,ke as PROFILE_LINT_DIMENSIONS,Oe as PROFILE_NAMES,op as PROFILE_SUBCOMMANDS,W as PmCliError,F as PmClient,nC as PmCompleteListValidationError,vh as QUERY_CURSOR_CONTRACT,Bo as REINDEX_FLAG_CONTRACTS,TT as REINDEX_LOCK_ID,ie as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Yo as RELEASE_FLAG_CONTRACTS,ti as REMIND_FLAG_CONTRACTS,ue as RESERVED_ITEM_FIELD_NAMES,Ko as RESTORE_FLAG_CONTRACTS,ft as RISK_VALUES,$y as RelationshipEventLog,jy as RelationshipEventStore,A as RelationshipGraph,X as RelationshipKindRegistry,go as SCHEMA_FLAG_CONTRACTS,Ar as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,eC as SEARCH_EXTENSION_FLAG_DEFINITIONS,ki as SEARCH_FLAG_CONTRACTS,yc as SEMANTIC_ATTRIBUTION_LIMITS,Mm as SETTINGS_DEFAULTS,zd as SNAPSHOT_SCHEMA,dA as SOURCE_CONTEXT_ACCESS_ENV,pA as SOURCE_CONTEXT_WRITE_OVERRIDE_ENV,Jo as START_TASK_FLAG_CONTRACTS,ai as STATS_FLAG_CONTRACTS,lt as STATUS_VALUES,to as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,Rg as SUPPORTED_HISTORY_ITEM_HASH_VERSIONS,qm as SUPPRESS_HOST_OUTPUT_MARKER,oi as TELEMETRY_FLAG_CONTRACTS,Hp as TELEMETRY_SUBCOMMANDS,ri as TEST_ALL_FLAG_CONTRACTS,ni as TEST_FLAG_CONTRACTS,ii as TEST_RUNS_FLAG_CONTRACTS,Gp as TEST_RUN_MEASUREMENT_LIMIT,Yr as TOOL_ACTIVITY_OPTION_CONTRACTS,Fr as TOOL_AGGREGATE_OPTION_CONTRACTS,Vr as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,Xr as TOOL_CALENDAR_OPTION_CONTRACTS,Kr as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,Jr as TOOL_CONTEXT_OPTION_CONTRACTS,Br as TOOL_CREATE_OPTION_CONTRACTS,Ur as TOOL_CREATE_OPTION_CONTRACT_SOURCE,qr as TOOL_DEPS_OPTION_CONTRACTS,Zr as TOOL_GRAPH_OPTION_CONTRACTS,Dr as TOOL_LIST_FILTER_OPTION_CONTRACTS,Gr as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,jr as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,$r as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,Wr as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,zr as TOOL_UPDATE_OPTION_CONTRACTS,Hr as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,Pm as TYPE_TO_FOLDER,Ym as UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES,vr as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,Mr as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Pr as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Ti as UPDATE_FLAG_CONTRACTS,yi as UPDATE_MANY_FLAG_CONTRACTS,Uo as UPGRADE_FLAG_CONTRACTS,pi as VALIDATE_FLAG_CONTRACTS,Ni as WORKSPACE_FLAG_CONTRACTS,Hn as WORKSPACE_HISTORY_ID,Vd as WORKSPACE_SNAPSHOT_ACTIONS,ls as WorkspaceGraphCache,Vy as WorkspaceTransactionInterruptedError,Ji as _testOnly,aE as _testOnlyAggregateCommand,xd as _testOnlyConfigCommand,_S as _testOnlyGetCommand,ba as _testOnlyHealthCommand,vd as _testOnlyInit,Nd as _testOnlyInitAgentGuidance,jO as _testOnlyItemTransaction,KS as _testOnlyMutationEvents,zE as _testOnlyNextCommand,NS as _testOnlySearchCommand,aS as _testOnlySimilarity,Qd as _testOnlyTemplates,Ja as _testOnlyValidateCommand,qC as acceptAssuranceProposals,ea as acknowledgeUnknownAuthorHistoryEvents,Qs as acknowledgeUnknownAuthorHistoryEventsFromTransport,OT as acquireItemMetadataDerivedIndexLock,Bn as acquireLock,ZO as activateExtensionForTest,S_ as activateExtensions,Wt as agentSessionEnvironment,Gl as aggregate,xp as analyzeAgentProvenanceDescriptorCoverage,NA as analyzeDefectChangeRisk,By as analyzeGraphImpact,Hy as analyzeKnowledgeGraph,oS as analyzePmCommandExitConformance,Rn as analyzePmToolActionParity,GS as analyzeReconciliationDiscard,Uy as analyzeRelationshipExecution,Rs as analyzeRelationshipSchedule,lf as analyzeSdkActionCoverage,he as analyzeSdkCliParameterCompleteness,Jl as append,Un as appendHistoryEntry,Kn as appendWorkspaceAuditEvent,Wn as appendWorkspaceHistoryChange,Wg as applyAcceptanceCriteriaMutations,YC as applyAssurancePreset,hf as applyBootstrapPagerPolicy,hg as applyContextIntentProjection,Dc as applyContextTagProjection,oE as applyFilterValueEcho,vy as applyHistoryPatch,Sf as applyInvocationAuthorOverride,ka as applyPathMigrations,cg as applyReadOutputDimensions,og as applyReadOutputIncludeModes,Kh as applyReadOutputSessionReferences,Y_ as applyRegisteredItemFieldDefaultsAndValidation,La as applyStandaloneNote,ya as applyStoredExtensionMigrationState,Xg as applyTagRemovals,qE as applyTerminalOrderingPolicy,Da as artifactKey,$m as asRecordClone,Gm as asRecordOrNull,q as assembleWorkspaceRelationshipGraph,sC as assertCompleteListResult,vb as assertExtensionBlueprint,kb as assertExtensionCapabilityUsage,fb as assertExtensionDeactivated,Lb as assertExtensionManifestCompatible,Mb as assertExtensionManifestMatchesBlueprint,Db as assertExtensionPreflight,QS as assertHistoryCompactTarget,jS as assertHistoryRepairTarget,va as assertLinkedArtifactMutationIsUnambiguous,Qf as assertMemoryRelationshipGraphAdapterConformance,qg as assertNoUnknownCsvKeys,mb as assertPackageManifest,zg as assertParentReferenceIsNotSelf,Pb as assertProjectProfile,_R as assertProjectRuntimeCompatibility,gh as assertProjectionModeChoice,_b as assertRegisteredCommandContract,bb as assertRegisteredCommandOverride,Ab as assertRegisteredExporter,hb as assertRegisteredFlags,gb as assertRegisteredHook,Cb as assertRegisteredImporter,Eb as assertRegisteredItemField,Sb as assertRegisteredItemType,wb as assertRegisteredMigration,Rb as assertRegisteredParserOverride,xb as assertRegisteredPreflightOverride,Ob as assertRegisteredProfile,Ib as assertRegisteredRendererOverride,Tb as assertRegisteredSearchProvider,Nb as assertRegisteredServiceOverride,yb as assertRegisteredVectorStoreAdapter,m_ as assertRelationshipEdgeAllowed,Je as assertRelationshipGraphAdapterConformance,kC as assuranceAssertionUpdateIsLoosening,yg as attachContextIntentReceipt,Sh as attachOutputOmissionReceipt,Ag as attachOutputTokenAccounting,Cg as attachReadOutputContracts,Xh as attachReadOutputSessionReceipt,ia as auditMergeAttributeFence,hA as auditMergeDriverConfiguration,ks as auditWorkspaceRelationshipGraph,Ht as boundAgentEpisodeIdentity,Uh as boundReadOutputRows,vc as buildChildrenByParent,gS as buildCompactSearchFilterSummary,iE as buildContentFilterEcho,wE as buildContextSignalSnapshot,xf as buildCorpusShapeItemPlan,IA as buildDefectRecurrenceIndex,_a as buildExtensionDescribeResult,sE as buildGovernanceMissingFilterEcho,cT as buildInvalidTypeError,uS as buildItemChildrenRollup,GO as buildItemCompletionMutations,dE as buildItemContextRelevanceCandidates,wT as buildItemNotFoundError,mS as buildItemSchedule,ra as buildMergeAttributePatterns,Ui as buildPmActionToolInputSchema,oA as buildRelationshipContext,LT as buildSearchCorpus,FT as buildSemanticCorpusInput,HT as buildVectorizationEmbeddingIdentity,zT as buildVectorizationEmbeddingMetadata,TS as buildVerboseSearchFilters,FE as buildWorkspaceMemorySnapshot,Bt as canonicalDocument,o_ as canonicalizeCommandOptionKey,l_ as canonicalizeRelationshipKind,HR as censusPmRecoveryReferenceProducers,iC as certifyCompleteListResult,JO as checkExtensionManifestCompatibility,Pu as claim,Mu as claimNext,aA as classifyHistoryAuthorEvent,XS as classifyHostEnvironmentFault,RS as classifyImplicitSemanticFallbackReason,Dt as classifyItemFormatVersion,Wp as classifyLinkedTestFailure,j_ as clearActiveExtensionHooks,$s as clearDurableGraphCache,dh as clearFocusedItem,ns as clearWorkspaceContractsCache,vu as close,Hc as closeItem,Bu as closeTask,yf as coalesceRepeatedListFlags,GA as collectBlockedByIds,jA as collectBlockedByIdsFromCorpus,cs as collectDanglingDependencyReferences,BA as collectDependencyBlockedIds,ss as collectDuplicateDependencyRows,ws as collectDuplicateRelationshipEdgeGroups,bS as collectErrorCauseCodes,ds as collectMissingDependencyTargetIds,Jc as collectNewOrderingCycleWarnings,xs as collectOrderingCycles,as as collectOrderingStorageContradictions,pC as collectPackageContextIntentContracts,Ce as collectPackageExtensionDirectories,K_ as collectRegisteredItemFieldNames,th as collectRuntimeCreateFieldValues,dT as collectRuntimeFilterValues,nh as collectRuntimeUpdateFieldValues,xc as collectSubtreeIds,bt as collectUsedExtensionCapabilities,i_ as commandOptionFlagLabel,Ul as comments,Cl as commitImportedItem,$O as commitItemCompletion,FO as commitItemMutations,Wy as commitWorkspaceTransaction,eo as compactFlagAliasContracts,Ic as compareCriticalItems,$ as comparePmDateVersions,zy as compareRelationshipSnapshots,jm as compareTimestampStrings,AC as compileHistoryProvenanceMatcher,mg as composeContextIntentContracts,HO as composeExtension,YO as composeExtensionPackage,HA as computeActionabilityReport,Fg as computeHistoryDiff,Os as computeRelationshipCentrality,Ss as computeRelationshipDominators,ps as computeWorkspaceGraphFingerprint,Zl as config,$_ as consumeAfterCommandAffectedItems,vl as context,Tg as contextIntentRowId,Du as copy,Kp as countFailureCategories,$h as countReadOutputRows,Nu as create,XC as createAssurancePreset,bA as createAssuranceWorkspaceContext,Bm as createCheckpointId,rC as createCompleteListOptions,O_ as createCoreCommandHookContext,je as createCorpusShapeMeasurement,DC as createEmptyAssuranceDocument,h_ as createEmptyExtensionRegistrationRegistry,qi as createExtensionCommandSdk,St as createExtensionContributionInventory,Fb as createExtensionTestHarness,jn as createHistoryEntry,sy as createLazyModule,NT as createMutationGuardSdk,Th as createOutputOmissionReceipt,Xi as createPmCliExpectedError,Of as createPmCliProgram,Ln as createPmCommandOutputBudget,bh as createQueryFingerprint,Zf as createRelationshipGraphScaleFixture,x as createRelationshipGraphSnapshot,le as createRelationshipKindRegistry,yS as createSearchCursorFingerprint,b_ as createSerialQueue,Zg as createStdinTokenResolver,Jm as createUnknownSubcommandError,Wd as createWorkspaceSnapshot,QO as deactivateExtensionForTest,yx as declineServiceOverride,gg as decodeContextIntentCursor,iy as decodeHtmlEntitiesInOptions,Nh as decodeQueryCursor,xh as decodeQueryCursorEnvelope,Ih as decodeQueryCursorState,Hh as decodeReadOutputContinuationCursor,Ga as dedupeLinkedArtifacts,lE as defaultScoreContextCandidates,bx as defineAfterCommandHook,Sx as defineBeforeCommandHook,Ox as defineBeforeMutationHook,ax as defineCommand,mx as defineCommandOverride,S as defineCorpusShape,Ex as defineExporter,UO as defineExtension,BO as defineExtensionBlueprint,ix as defineExtensionManifest,cx as defineFlag,Ax as defineImporter,px as defineItemField,dx as defineItemType,lx as defineMigration,Ix as defineOnIndexHook,xx as defineOnReadHook,Rx as defineOnWriteHook,_x as defineParserOverride,Dn as definePmCommandOutputBudget,pO as definePmCommandOutputEnvelope,iO as definePmErrorCodeCatalog,hx as definePreflightOverride,sx as defineProjectProfile,Cx as defineRendererOverride,ux as defineSearchProvider,gx as defineServiceOverride,fx as defineVectorStoreAdapter,Be as defineWorkspaceRecipe,Fu as deleteItem,Zd as deleteWorkspaceSnapshot,__ as dependencyToRelationship,Xl as deps,JC as deriveAssuranceProposals,VO as deriveExtensionCapabilities,iS as derivePmBulkMutationEffect,zR as derivePmRecoveryReferenceObligations,da as deriveSchemaEvolutionMigrationId,ZT as deriveTelemetryCommandResolution,fT as describeAllowedTransitions,cA as describeExtensionActivation,WO as describeExtensionBlueprint,pc as describeItemOwnershipConflict,Ne as describeProfileComposition,we as describeProjectProfile,AO as describeUnknownError,Zt as detectAgentIdentity,nn as detectHarnessIdentity,As as detectRelationshipCommunities,Qt as diagnoseAgentIdentity,vs as diffRelationshipAuditSnapshots,Up as diffTestRunMeasurements,A_ as discoverExtensions,Tt as discoverNearbyPmRoot,Wf as discoverProjectRuntimeVersionPins,Kl as docs,jl as duplicates,Ls as durableGraphCachePath,js as durableGraphCacheStatus,Mt as effectiveItemFormatVersion,_y as emitTelemetryErrorEvent,yl as emptyImportedDocument,Rh as encodeQueryCursor,Bh as encodeReadOutputContinuationCursor,Gg as enforceHistoryStreamPolicyForItem,$g as enforceHistoryStreamPolicyForItems,nO as enrichCliFlagInvocationContract,Le as enrichCliFlagInvocationContracts,My as ensureMaterializedHistoryTarget,ts as ensurePmGitignore,Ra as ensureScope,qT as ensureSentryInit,Tl as ensureTrackerInitialized,ys as enumerateRelationshipPaths,$n as estimatePmOutputTokens,GC as evaluateAssuranceAssertion,$C as evaluateAssuranceGate,rR as evaluateBoundaryFixtures,_E as evaluateContextRanking,wA as evaluateDefectGateEvidence,FC as evaluateMeasurement,cr as evaluateMutationGuard,Pp as evaluateProvenanceCoverage,wp as evaluateSemanticAttributionCoverage,ed as evaluateSimilarityGovernance,uT as evaluateTransition,GT as executeEmbeddingBatchesWithRetry,UT as executeVectorDelete,BT as executeVectorReset,jT as executeVectorUpsert,wf as executeWorkspaceRecipe,Ma as expandAddGlobEntries,za as explainSourceTraceability,Hu as extension,Vu as extensionActivate,Wu as extensionDeactivate,zu as extensionList,Rm as extensionMigrate,wy as extractPatchFailureContext,Xa as extractReferencedPmItemIdsFromCommand,qf as federateRelationshipGraphSnapshots,zl as files,Vl as filesDiscover,Wl as filesLookup,Mf as findCoverageDeficits,Qc as findDuplicateClusters,na as findGitWorkspaceRoot,fa as findInstalledNpmPackageCandidate,Es as findRedundantRelationshipEdges,bs as findRelationshipCutStructure,Zc as findSimilarItems,my as finishTelemetryCommand,Km as flattenFlagListValue,kf as flushTelemetryQueue,$u as focus,Cs as forEachMatchedRelationshipEdge,Ns as formatDuplicateEdgeGroup,Is as formatOrderingStorageContradiction,Ay as formatPmPositionalActionFlagTip,up as formatProfileApplyHuman,lp as formatProfileLintHuman,dp as formatProfileListHuman,pp as formatProfileShowHuman,ua as formatSchemaEvolutionMigrationHuman,IS as formatVectorIndexRecoveryWarnings,Su as gc,er as generateItemId,Dl as get,D_ as getActiveCommandResult,ug as getActiveContextIntentContracts,xt as getActiveExtensionRegistrations,UC as getAssuranceDeclaration,af as getContracts,ah as getFocusedItem,At as getHistoryPath,Gy as getItemAt,Ct as getItemPath,lr as getMutationActionContract,es as getPmGitignoreBlock,yt as getSettingsPath,sf as getWorkspaceContracts,zn as getWorkspaceHistoryPath,Yl as graph,Ds as graphAuditBaselinePath,kp as groupHistoryByEpisode,Tx as handleServiceOverride,Y as hasSubcommandFlagContractsForCommand,VT as hasVectorizationEmbeddingIdentityChanged,WT as hasVectorizationVectorDimensionChanged,xg as hashDocument,Ig as hashDocumentForVersion,Ng as hashEmptyDocument,Eu as health,_s as hierarchyAncestors,hs as hierarchyDescendants,xu as historyCompact,Iu as historyCompactBulk,CC as historyEntryMatchesProvenance,Ou as historyRedact,bu as historyRepair,Ru as historyRepairAll,$A as indexBlockedByIds,KT as inferConsistentVectorDimension,Mn as inferPmOutputBudgetClass,ql as init,oC as inspectCompleteListResult,Xs as inspectHistoryAuthorStream,Xf as inspectProjectRuntimeCompatibility,Tr as inspectStaleInProgressItems,Vn as inspectWorkspaceHistoryState,Kd as inspectWorkspaceSnapshot,ca as installMergeFence,$c as isAlreadyClaimedError,OO as isCommanderError,ic as isErrnoError,tA as isExternalDependencySourceKind,Qm as isHostOutputSuppressed,dr as isMutationAction,f_ as isOrderingRelationshipKind,Bg as isPlaceholderReferenceToken,Yi as isPmCliExpectedError,In as isPmExtensionCapabilityContract,wn as isPmExtensionPolicyModeContract,kn as isPmExtensionPolicySurfaceContract,Nn as isPmExtensionServiceNameContract,nS as isPmKnownExitCode,fO as isPmMutationReceipt,tS as isPmSuccessfulExitCode,xn as isPmToolAction,Kf as isProjectMutatingInvocation,ay as isPureSnakeCaseAlias,dg as isReadOutputBudgetExceeded,Ch as isReadRowContract,Ks as isRuntimeRecord,py as isTerminalPlanMode,oh as isTerminalStatus,ct as isTimestampLiteral,LO as itemDocumentToMutationOptions,fS as itemHasSchedule,ur as jaccardSimilarity,Hl as learnings,Xm as levenshteinDistanceWithinLimit,nc as limitAnnotationEntries,KO as lintExtensionBlueprint,Pe as lintProjectProfile,Pl as list,Tf as listAliasPluralKeys,Ml as listAllComplete,xT as listAllDocumentCandidatesCached,ir as listAllItemMetadata,IT as listAllItemMetadataLight,jC as listAssuranceDeclarations,WC as listAssuranceVerdicts,bf as listBuiltinCorpusShapes,IO as listCoreClosedDomainContracts,QA as listGetProjectionFields,TA as listInvalidProvenanceHistoryStreamIds,qA as listListProjectionFields,AA as listMergeReceipts,pr as listMutationActions,zS as listMutationEvents,nt as listPmCommandFlagBudgets,Tp as listPmCommandsForFamily,gp as listPmCommandsForTier,V as listPmFlagLexicon,tx as listPmFlagSpellingInventory,Cp as listPmMcpToolsForProfile,Ie as listProfiles,Xd as listWorkspaceSnapshots,lC as loadContextIntentRuntimeLayers,ep as loadCreateTemplateOptions,E_ as loadExtensions,Bs as loadGraphAuditBaseline,zm as loadMutationCheckpoint,_ as loadRelationshipGraphAdapter,rr as locateItem,Jg as looksLikeGenericKeyValueEntry,jh as mapReadOutputRows,EA as markMergeReceiptReconciled,pT as matchesRuntimeFilters,uy as maybeRunFirstUseTelemetryPrompt,If as measureCorpusShapePlan,Kg as mergeAdditiveTags,zO as mergeExtensionBlueprints,wS as mergeHistoryStreams,MS as mergeItemDocuments,LS as mergeJsonDocuments,Cf as mergeLinkedTestTwoTokenEntries,kS as mergeRelationshipEventStreams,Mc as mergeSortedWarnings,dy as migrateItemFilesToFormat,vT as mutateItem,kT as mutateItemWithHistoryContext,Xn as mutateWorkspaceJsonWithHistory,Fl as next,tc as normalizeAnnotationTransportOptions,xC as normalizeAssuranceEvaluation,RC as normalizeAssuranceMutation,Af as normalizeBootstrapInvocation,os as normalizeDependencyGraphTarget,rA as normalizeDependencySeedId,nA as normalizeDependencySourceKind,Et as normalizeExtensionContributionInventory,gA as normalizeInvalidHistoryProvenance,gO as normalizeItemAddressInvocation,Lt as normalizeItemFormatVersion,Qn as normalizeItemId,$t as normalizeItemMetadata,gf as normalizeLegacyExtensionActionSyntax,Pa as normalizeLinkedPath,Ug as normalizeParentReferenceValue,Re as normalizeProfileName,Zn as normalizeRawItemId,ig as normalizeReadOutputIncludeModeOptions,Pg as normalizeReplayPatchOps,fr as normalizeSimilarityText,rh as normalizeStatusForRegistry,Gt as normalizeStatusInput,Q_ as normalizeStatusInputWithRegistry,SO as normalizeThrownExitCode,Bl as notes,at as nowIso,Fs as openDurableGraphCache,gs as orderingPredecessors,Ts as orderingSuccessors,CE as packContextCandidates,Nc as packRankedContextItems,nf as packageActivate,tf as packageCatalog,rf as packageDeactivate,Qu as packageDescribe,qu as packageDoctor,Yu as packageInstall,Ku as packageLifecycle,Xu as packageList,Zu as packageManage,xm as packageMigrate,ef as packageReload,Ju as packageUninstall,kh as paginateQueryRows,xa as parseAddEntries,Ia as parseAddGlobEntries,oc as parseAnnotationTextInput,vO as parseAtomicMutationControls,_f as parseBootstrapCommandName,uf as parseBootstrapGlobalOptions,mf as parseBootstrapHelpRequest,Ef as parseBootstrapTypeValue,bc as parseContextDepth,Ac as parseContextFocusFields,cC as parseContextIntentDeclarations,Rc as parseContextSections,NE as parseContextSignalSnapshot,Yg as parseCsvKv,vA as parseDefectChangeRiskRequest,kA as parseDefectRecurrencePolicy,Fd as parseEvalQuerySet,Vs as parseGraphSubcommand,TC as parseHistoryProvenanceFilters,fC as parseIntegerLimit,ih as parseItemDocument,PO as parseItemMutationBatch,aT as parseLimit,ld as parseLinkedTestAssertionEqualsMap,ud as parseLinkedTestAssertionGteMap,sd as parseLinkedTestBoolean,ad as parseLinkedTestContextMode,id as parseLinkedTestEnvClear,od as parseLinkedTestEnvSet,fd as parseLinkedTestJsonEntries,pd as parseLinkedTestMinLines,dd as parseLinkedTestRegexList,cd as parseLinkedTestStringList,wa as parseMigrateEntries,zA as parseMultiValueFilter,mO as parseMutationReceipt,eT as parseOptionalNonNegativeInteger,Qg as parseOptionalNumber,mC as parsePriority,KA as parsePriorityFilterSet,Wh as parseReadOutputSession,X_ as parseRegisteredItemFieldAssignments,P as parseRelationshipGraphSnapshot,Na as parseRemoveEntries,Ha as parseSourceLineRange,rT as parseStatusFilterCsv,VA as parseStringFilterSet,tr as parseTags,$p as parseTestRunMeasurements,_C as parseType,WA as parseTypeFilterSet,Zs as parseUnknownAuthorHistoryEventCoordinates,VE as partitionDecisionEntries,Dg as patchPathToChangedField,rt as pathExists,Uu as pauseTask,Gs as persistDurableGraphResult,mT as persistSelectedItemFormat,LE as planCompletedAtBackfill,Me as planProfileApplication,jR as planRelationshipEventBackfill,zs as planRelationshipRemediation,pa as planSchemaEvolutionMigration,Js as planUnknownAuthorHistoryAcknowledgment,Yd as planWorkspaceSnapshotRestore,Ry as positionalShapeKey,xy as positionalSignatureKey,qO as preflightExtension,_r as prepareSimilarityText,Og as printError,Sg as printResult,hu as profile,yu as profileApply,Cu as profileLint,gu as profileList,Tu as profileShow,G_ as projectAfterCommandItemSnapshot,Ec as projectContextFocusRows,Fp as projectFleetAttributionAnalytics,yC as projectHistoryProvenance,Lp as projectProvenanceCoverageAnalytics,Ya as projectValidateCounts,ZC as promoteAssuranceAssertion,dR as pruneCompileCacheGenerations,BC as putAssuranceDeclaration,HC as putAssuranceDeclarationBundle,CT as queryItemMetadataIndex,AT as queryLinkedFileMetadataIndex,ET as querySimilarItemMetadataIndex,jp as queryTestRunMeasurementsBelow,sn as quoteCommandArg,on as quoteWindowsCommandArg,xO as rankCommandPaths,rc as readAnnotationEntries,en as readAuthorEnvironment,Qp as readBooleanOption,bE as readContextUsageAffinity,el as readCsvListOption,Ta as readExtensionMigrationState,ot as readFileIfExists,Rr as readFirstStringFromCommanderOptions,xr as readFirstValueFromCommanderOptions,vp as readHistoryAnalyticsWindow,uh as readHistoryEntries,bp as readImprovementLedger,bT as readItemMetadataDerivedIndexState,or as readLocatedItem,Gh as readOutputBudgetCollections,Fh as readOutputContinuationRowCollections,Lh as readOutputContinuationRowPaths,rg as readOutputIncludeModeOptions,Dh as readOutputRowCollections,Mh as readOutputRowPaths,Yh as readOutputSessionRemainingTokens,ye as readPmPackageManifest,cf as readRequiredString,nr as readSettings,_T as readSettingsWithMetadata,Ir as readStringArrayFromCommanderOptions,Zp as readStringOption,EO as readThrownExitCode,XT as readVectorizationStatusLedger,dC as readWorkspaceContextIntentContracts,PE as readWorkspaceContextSignals,GE as readWorkspaceMemory,Rt as reconcileExtensionCapabilityUsage,Jn as reconcileWorkspaceJsonHistory,F_ as recordAfterCommandAffectedItem,VC as recordAssuranceVerdict,hc as recordClaimSemanticAttribution,EE as recordContextUsageServing,SE as recordContextUsageTouch,OE as recordContextUsageTouches,Tc as recordFocusSemanticAttribution,Op as recordImprovementObservation,gc as recordReleaseSemanticAttribution,RT as refreshItemMetadataDerivedIndex,sa as refreshMergeAttributeFenceIfInstalled,JT as refreshSearchArtifactsForMutation,Yt as registerHarnessSignalDescriptors,fh as registerOutputMaterialFieldGroups,Lu as release,zC as removeAssuranceDeclaration,st as removeFileIfExists,Ua as renameArtifactsResultKey,uc as renderCalendarMarkdown,fc as renderCalendarToon,Lc as renderContextMarkdown,ha as renderExtensionDescribeMarkdown,ma as renderExtensionSurfaceMarkdown,Sl as renderGuideMarkdown,CO as renderMissingOptionRetry,WE as renderNextMarkdown,NO as renderPmClosedDomainHelp,an as renderPmCommand,ln as renderPmCommandAliasMigrationHint,Sp as renderPmCommandVisibilityMarkdown,rx as renderPmFlagLexiconMarkdown,iT as renderRowsAsCsv,sT as renderRowsAsTable,ku as reopen,Py as replayHistoryToTarget,kg as replayToCanonicalItemDocument,wg as replayToItemDocument,YE as requireTerminalReason,JE as requireTerminalReasonWithRecovery,P_ as resetActiveExtensionRuntimeState,fs as resetWorkspaceGraphCache,zt as resolveAgentSessionContextFromSignals,dc as resolveAnnotationIndex,sc as resolveAnnotationInput,lh as resolveAuthor,rn as resolveAuthorIdentity,jg as resolveBodyFileContent,Rf as resolveBuiltinCorpusShape,lc as resolveCalendarOutputFormat,sO as resolveCanonicalPmErrorCodeContract,u_ as resolveCanonicalRelationshipKind,ph as resolveClaimPrincipal,c_ as resolveCommandOptionPolicyState,cR as resolveCompileCacheGeneration,ME as resolveCompletionTimestamp,n_ as resolveConfiguredPmPackageRoot,tE as resolveContentFieldFilters,_g as resolveContextIntentContract,Sc as resolveContextOutputFormat,Oc as resolveContextTokenBudget,cS as resolveCreateExplicitEmptyFlag,PT as resolveEmbeddingProviders,Ea as resolveExtensionInstallSourceIdentity,ga as resolveExtensionMigrationStatePath,C_ as resolveExtensionRoots,Wm as resolveFlagValueKind,Al as resolveGuideOutputFormat,Rp as resolveHistoryEpisodeGroupIdentity,gC as resolveHistoryProvenanceDimensions,Ly as resolveHistorySubject,ky as resolveHistoryTarget,SS as resolveHybridSemanticWeight,gt as resolveImplicitPmRoot,Um as resolveIsoOrRelative,UA as resolveItemBlockers,MO as resolveItemMutationDocument,ht as resolveItemTypeRegistry,Z_ as resolveItemTypesFilePath,Xp as resolveLinkedTestFailureExitCode,ta as resolveMergeInstallContext,eE as resolveMissingMetadataFilters,yO as resolveMissingOptionPlaceholder,yh as resolveModePairedOutputOmissionReceipt,HE as resolveNextOutputFormat,Eh as resolveOutputOmissionReceipt,t_ as resolvePmCliVersion,pn as resolvePmCommandAlias,mp as resolvePmCommandCapabilityFamily,rS as resolvePmCommandExitContract,Gn as resolvePmCommandOutputBudget,uO as resolvePmCommandOutputEnvelope,yy as resolvePmCommandPositionalContract,hp as resolvePmCommandVisibilityTier,aO as resolvePmErrorCodeContract,Em as resolvePmFlagSemanticConcept,e_ as resolvePmPackageRootFromModule,Cy as resolvePmPositionalActionContract,Mi as resolvePmPositionalActionFlagContracts,K as resolvePmRoot,Fi as resolvePmToolCustomFieldCollision,tT as resolvePriority,xe as resolveProfile,oa as resolveProjectMergeTypeFolders,wh as resolveQueryCursorStart,sg as resolveReadOutputDimensions,pg as resolveReadOutputEncoding,tg as resolveReadOutputSurface,Ah as resolveReadRowContract,TO as resolveRecoveryCommandName,J_ as resolveRegisteredSearchProvider,q_ as resolveRegisteredVectorStoreAdapter,kt as resolveRuntimeFieldRegistry,wt as resolveRuntimeStatusRegistry,MT as resolveSearchCorpusFields,AS as resolveSearchMaxResults,CS as resolveSearchPage,ES as resolveSearchScoreThreshold,OS as resolveSearchTuning,DT as resolveSemanticCorpusCharacterLimit,_c as resolveSemanticLineageIds,gT as resolveSettingsWithSemanticRuntimeDefaults,lA as resolveSourceContextWritePolicy,fp as resolveStartTaskInProgressStatus,J as resolveSubcommandFlagContractsForCommand,Lm as resolveTelemetryErrorCategory,XE as resolveTerminalReason,a_ as resolveTypeDefinition,s_ as resolveTypeName,oT as resolveTypeSynonym,lT as resolveTypeWorkflows,qs as resolveUnknownAuthorAcknowledgmentSelector,xS as resolveVectorIndexRecovery,$T as resolveVectorStores,is as resolveWorkspaceRelationshipKindRegistry,Gu as restore,Vm as restoreCheckpointItems,qn as restoreWorkspaceJsonFromHistory,qd as restoreWorkspaceSnapshot,Jd as restoreWorkspaceSnapshotWithRecovery,pf as runAction,U_ as runActiveBeforeMutationHooks,H_ as runActiveCommandHandler,B_ as runActiveOnIndexHooks,Nt as runActiveOnReadHooks,It as runActiveOnWriteHooks,z_ as runActiveParserOverride,V_ as runActivePreflightOverride,W_ as runActiveServiceOverride,rs as runActivity,y_ as runAfterCommandHooks,Qa as runAggregate,cc as runAnnotationCommand,ec as runAppend,LA as runAssuranceAction,DA as runAssuranceDispatch,T_ as runBeforeCommandHooks,mc as runCalendar,jc as runClaim,Uc as runClaimNext,zc as runClose,Wc as runCloseMany,Kc as runComments,Ol as runCompletion,Rd as runConfig,Ee as runContext,TE as runContextEvaluationCorpus,hE as runContextEvaluationScenario,Ad as runCopy,md as runCreate,Ed as runDelete,ms as runDeps,Ba as runDocs,_O as runDuplicates,jd as runEval,Bd as runEvent,Sa as runExtension,Aa as runExtensionMigrateAction,Ca as runExtensionMigrations,Va as runFiles,Ka as runFilesDiscover,Wa as runFilesLookup,Dp as runFleetAttributionAnalytics,Sd as runFocus,bd as runGc,Od as runGet,Ws as runGraph,El as runGuide,Oa as runHealth,sS as runHistory,qS as runHistoryCompact,eO as runHistoryCompactBulk,Dy as runHistoryRedact,$S as runHistoryRepair,US as runHistoryRepairAll,Pd as runInit,wd as runInitAgentGuidance,Xc as runLearnings,ja as runLinkedArtifacts,Yp as runLinkedTests,Za as runList,Ud as runMeet,FS as runMergeDriver,aa as runMergeInstall,SA as runMergeReceiptReport,BS as runMergeReconcile,Gc as runNext,Yc as runNotes,Cd as runPlan,cp as runProfileApply,ap as runProfileLint,ip as runProfileList,sp as runProfileShow,Mp as runProvenanceCoverageAnalytics,eb as runRegisteredCommandForTest,ib as runRegisteredCommandOverrideForTest,ub as runRegisteredExporterForTest,nb as runRegisteredHookForTest,lb as runRegisteredImporterForTest,pb as runRegisteredMigrationForTest,tb as runRegisteredMutationGuardForTest,rb as runRegisteredParserOverrideForTest,ob as runRegisteredPreflightOverrideForTest,sb as runRegisteredRendererOverrideForTest,cb as runRegisteredSearchProviderForTest,ab as runRegisteredServiceOverrideForTest,db as runRegisteredVectorStoreAdapterForTest,De as runReindex,Bc as runRelease,Hd as runRemind,tO as runReopen,Vc as runRestore,la as runSchemaEvolutionMigration,Gd as runSearch,Nf as runSearchRefreshWorkerEntrypoint,bl as runStartBackgroundRun,Bp as runStats,zp as runTelemetry,np as runTemplatesList,tp as runTemplatesSave,rp as runTemplatesShow,Jp as runTest,qp as runTestAll,Rl as runTestRunsList,Il as runTestRunsLogs,wl as runTestRunsResume,xl as runTestRunsStatus,Nl as runTestRunsStop,kl as runTestRunsWorker,_d as runUpdate,hd as runUpdateMany,Se as runUpgrade,qa as runValidate,df as runWithActiveExtensions,Vt as runWithAgentSessionContext,fg as runWithContextIntentContracts,uC as runWithDiscoveredContextIntentContracts,Jt as runWithHarnessDetectionSignals,qt as runWithWorkspaceHarnessSignalDescriptors,He as runWithWorkspaceRecipe,hS as runWorkspaceTransactionGc,Hs as saveGraphAuditBaseline,iA as scanExtensionHostVersions,Ys as scanHistoryAuthorAttribution,Ft as scanItemFormatVersions,ar as scanMutationSecrets,yA as scanProvenanceResolverHealth,yr as scanStaleInProgressItems,OA as scanStorageIntegrity,Ql as schema,su as schemaAddField,ou as schemaAddStatus,nu as schemaAddType,pu as schemaApplyPreset,lu as schemaInferTypes,eu as schemaList,cu as schemaListFields,mu as schemaRemapStatus,au as schemaRemoveField,iu as schemaRemoveStatus,ru as schemaRemoveType,fu as schemaRenameField,uu as schemaRenameType,tu as schemaShow,du as schemaShowField,_u as schemaShowStatus,RO as scoreCommandPathMatch,uE as scoreContextCandidates,fE as scoreContextCandidatesWithActiveExtensions,hr as scoreItemSimilarity,JR as scorePmRefusalClosure,gr as scorePreparedItemSimilarity,Ll as search,UE as searchWorkspaceMemory,BE as searchWorkspaceMemoryReadResult,Oh as selectCursorSemanticOptions,gl as selectImportAuthor,jE as selectWorkspaceMemory,$E as selectWorkspaceMemoryRollups,Cc as semanticAttributionAffinity,ny as sentryCaptureCliError,ty as sentryFinishCommandSpan,oy as sentryFlush,ry as sentryLogCliUsageError,QT as sentrySetCommandContext,ey as sentryStartCommandSpan,Ut as serializeItemDocument,wO as serializeNdjsonRows,kO as serializeNdjsonStream,M_ as setActiveCommandContext,L_ as setActiveCommandResult,x_ as setActiveExtensionCommands,R_ as setActiveExtensionHooks,I_ as setActiveExtensionParsers,N_ as setActiveExtensionPreflight,v_ as setActiveExtensionRegistrations,k_ as setActiveExtensionRenderers,w_ as setActiveExtensionServices,ch as setFocusedItem,ly as shouldCompletePlanOnClose,Us as shouldPersistDurableGraphCache,yT as shouldRunSearchRefreshInForeground,qc as similarityAdvisoryWarnings,Ph as sliceReadOutputRowCollection,Fa as sortLinkedArtifacts,Vg as splitAcceptanceCriteria,cy as splitCommaList,jt as splitFrontMatter,ag as stabilizeReadOutputReceiptEstimates,D as stableStringify,g_ as stableValueEquals,ju as startTask,fy as startTelemetryCommand,$l as stats,eh as statusIsTerminal,ff as stripGlobalBootstrapTokens,VS as subscribeMutationEventBatches,WS as subscribeMutationEvents,Ip as summarizeAgentModelProvenance,Np as summarizeAgentProvenance,gE as summarizeContextEvaluationReports,Vp as summarizeContextPreflight,EC as summarizeHistoryProvenance,kd as summarizeInitResult,CA as summarizeMergeReceipt,dS as supportsCreateExplicitEmpty,hO as supportsItemIdAlias,Zm as suppressHostOutput,H as syncRelationshipGraphAdapter,XO as synthesizeExtensionManifest,Li as toCompletionFlagString,Pc as toContextFocusItem,wc as toContextPackingSummary,kc as toContextRankingSummary,Fm as toErrorMessage,nl as toEstimatedMinutesValue,Zy as toExtensionFlagDefinitions,al as toImportBoolean,ll as toImportConfidence,sl as toImportInteger,_l as toImportLinkedDocs,ml as toImportLinkedFiles,hl as toImportLinkedTests,fl as toImportLogEntries,ul as toImportNormalizedEnum,pl as toImportNumberMap,rl as toImportPriority,il as toImportStatus,cl as toImportStringList,dl as toImportStringMap,ol as toImportTags,sh as toItemRecord,tl as toNonEmptyImportString,Dm as toNonEmptyStringOrUndefined,vg as toReplayDocument,mr as tokenizeSimilarityText,YS as translateHostEnvironmentFault,wu as update,of as upgrade,Au as validate,PC as validateAssertionDefinition,LC as validateAssuranceDocument,MC as validateGateDefinition,DO as validateItemMutationRows,$a as validateLinkedPaths,vC as validateMeasurementDefinition,Hg as validateMissingParentReference,ng as validateReadOutputOptions,nT as validateSprintOrReleaseValue,d_ as validateTypeOptions,rO as verifyCliFlagInvocationParity,by as verifyExplicitPositionalSlotCensus,Lg as verifyHistoryChain,Mg as verifyHistoryChainWithVersion,Fy as verifyHistoryEntries,Ny as verifyPmCliGrammar,Iy as verifyPmCommandPositionalContracts,nx as verifyPmFlagLexicon,KR as verifyPmRecoveryKindRuntimeCoverage,Tm as verifyPmRecoveryProducerRuntimeCoverage,WR as verifyPmRecoveryReferences,VR as verifyPmRefusalReachability,Lr as verifyToolOptionCliParity,Qr as withFlagAliasMetadata,JS as withHostEnvironmentBoundary,us as workspaceGraphCache,ac as wrapOwnershipConflict,bO as wrapThrownErrorForSentry,tn as writeAuthorEnvironment,it as writeFileAtomic,Hm as writeMutationCheckpoint,hT as writeSettings,Eg as writeStdout,YT as writeVectorizationStatusLedger,Yn as writeWorkspaceJsonWithHistory};
|
|
1
|
+
import{a as vb,b as Pb,c as xf,d as If,e as Nf,g as wf,h as kf,i as vf,j as Pf,k as Mf,l as Lf,m as Df,n as Ff,o as Mb,p as Lb,q as Db,r as Fb,s as Gb,t as $b,u as jb,v as Ub,w as Gf,x as $f,y as Hb,z as Bb}from"./chunks/chunk-VMMIL3SI.js";import{A as NO,B as wO,C as kO,D as vO,E as PO,F as MO,G as LO,H as DO,I as FO,J as GO,K as $O,L as jO,M as UO,N as HO,O as BO,P as zO,Q as VO,R as WO,S as KO,T as XO,U as YO,V as JO,W as qO,X as ZO,Y as QO,a as nO,b as oO,c as iO,d as sO,e as aO,f as dO,g as cO,h as pO,i as lO,j as uO,k as fO,l as mO,m as _O,n as hO,o as gO,p as TO,q as yO,r as CO,s as AO,t as EO,u as SO,v as bO,w as OO,x as RO,y as xO,z as IO}from"./chunks/chunk-MZTZQTMS.js";import{a as zb,b as Vb,c as Wb,d as Kb}from"./chunks/chunk-MYYI3ZOA.js";import{a as Xb,b as Yb,c as Jb,d as qb,e as Zb,f as Qb,g as eO,h as tO,i as rO}from"./chunks/chunk-QI2CT3IX.js";import{$ as ob,$a as Dl,$b as Uu,A as IC,Aa as mb,Ab as mu,Ac as _f,B as _d,Ba as _b,Bb as _u,Bc as hf,C as sc,Ca as hb,Cb as hu,Cc as gf,D as ac,Da as gb,Db as gu,Dc as Tf,E as dc,Ea as fl,Eb as Tu,Ec as yf,F as cc,Fa as ml,Fb as yu,Fc as Cf,G as pc,Ga as _l,Gb as Cu,Gc as Af,H as kc,Ha as hl,Hb as Au,Hc as Ef,I as vc,Ia as gl,Ib as Eu,Ic as Sf,J as Pc,Ja as Tl,Jb as Su,Jc as bf,K as Mc,Ka as yl,Kb as bu,Kc as Of,L as Lc,La as Cl,Lb as Ou,Lc as Rf,M as Dc,Ma as Al,Mb as Ru,N as Fc,Na as El,Nb as xu,O as Gc,Oa as Sl,Ob as Iu,P as WS,Pa as bl,Pb as Nu,Q as KS,Qa as Ol,Qb as wu,R as XS,Ra as Rl,Rb as ku,S as YS,Sa as xl,Sb as vu,T as JS,Ta as Il,Tb as Pu,U as qS,Ua as Nl,Ub as Mu,V as ZS,Va as wl,Vb as Lu,W as QS,Wa as kl,Wb as Du,X as eb,Xa as vl,Xb as Fu,Y as tb,Ya as Pl,Yb as Gu,Z as rb,Za as Ml,Zb as $u,_ as nb,_a as Ll,_b as ju,a as ns,aa as Oe,ab as Fl,ac as Hu,b as os,ba as Re,bb as Gl,bc as Bu,c as is,ca as xe,cb as $l,cc as zu,d as tC,da as Ie,db as Fe,dc as Vu,e as rC,ea as Ne,eb as F,ec as Wu,f as as,fa as we,fb as Kl,fc as Ku,g as cC,ga as ke,gb as Xl,gc as Xu,h as pC,ha as ve,hb as Yl,hc as Yu,i as lC,ia as Pe,ib as Jl,ic as Ju,j as uC,ja as Me,jb as ql,jc as qu,k as fC,ka as Le,kb as Zl,kc as Zu,l as mC,la as mp,lb as Ql,lc as Qu,m as _C,ma as _p,mb as eu,mc as ef,n as hC,na as hp,nb as tu,nc as tf,o as gC,oa as gp,ob as ru,oc as rf,p as TC,pa as Tp,pb as nu,pc as nf,q as yC,qa as yp,qb as ou,qc as of,r as CC,ra as Cp,rb as iu,rc as sf,s as AC,sa as Ap,sb as su,sc as af,t as EC,ta as Ep,tb as au,tc as df,u as us,ua as Sp,ub as du,uc as cf,v as SC,va as bp,vb as cu,vc as pf,w as bC,wa as Op,wb as pu,wc as lf,x as OC,xa as Rp,xb as lu,xc as uf,y as RC,ya as xp,yb as uu,yc as ff,z as xC,za as fb,zb as fu,zc as mf}from"./chunks/chunk-BWX4SK46.js";import{a as be,f as Uc,g as Hc}from"./chunks/chunk-YBPJAOQQ.js";import{A as zS,B as VS,C as Qc,D as ep,E as tp,b as md,c as SE,d as ES,e as RS,f as xS,g as IS,h as NS,i as wS,j as $c,k as kS,l as Yc,m as Jc,n as qc,o as Zc,p as PS,q as MS,r as LS,s as DS,t as FS,u as GS,v as $S,w as jS,x as US,y as HS,z as BS}from"./chunks/chunk-WG4STC36.js";import{$ as EA,$a as XA,$b as bS,$c as Hp,A as lA,Aa as Ka,Ab as _S,Ac as yb,Ad as Ul,B as uA,Ba as Xa,Bb as hS,Bc as Np,Bd as Hl,C as fA,Ca as Ya,Cb as gS,Cc as Z,Cd as Bl,D as mA,Da as Ja,Db as TS,Dc as wp,Dd as zl,Ea as qa,Eb as yS,Ec as kp,Ed as Vl,F as AA,Fa as Za,Fb as CS,Fc as vp,Fd as Wl,Ga as Qa,Gb as AS,Gc as Pp,Ha as ed,Hc as Mp,Ia as td,Ib as lc,Ic as Lp,J as da,Ja as rd,Jb as uc,Jc as Dp,Ka as nd,Kb as SS,Kc as Fp,La as od,Lb as fc,Lc as Gp,Ma as id,Mb as mc,Mc as Cb,Na as sd,Nb as _c,Nc as Ab,Oa as ad,Ob as hc,Oc as Eb,Pa as dd,Pb as gc,Pc as Sb,Qa as cd,Qb as Tc,Qc as bb,Ra as pd,Rb as yc,Rc as Ob,Sa as ld,Sb as Cc,Sc as Rb,Ta as ud,Tb as Ac,Tc as xb,Ua as UA,Ub as Ec,Uc as Ib,Va as HA,Vb as Sc,Vc as Nb,Wa as BA,Wb as bc,Wc as wb,Xa as zA,Xb as Oc,Ya as VA,Yb as Rc,Yc as $p,Za as WA,Zb as xc,Zc as jp,_a as KA,_b as Ic,_c as Up,a as $C,aa as SA,ab as YA,ac as OS,ad as Bp,b as jC,ba as ca,bb as JA,bc as Nc,bd as zp,c as UC,ca as pa,cb as qA,cd as Vp,d as HC,da as la,db as ZA,dd as Wp,e as BC,ea as ua,eb as hd,ec as wc,ed as Kp,f as zC,fa,fb as gd,fd as Xp,g as VC,ga as ma,gb as Td,gc as vS,gd as Yp,h as WC,ha as _a,hb as yd,hc as jc,hd as Jp,i as KC,ia as PA,ib as Cd,ic as rp,id as qp,j as XC,ja as MA,jb as Ad,jc as np,jd as Zp,k as YC,ka as LA,kb as Ed,kc as op,kd as Qp,l as JC,la as DA,lb as Sd,lc as pb,ld as el,m as qC,mb as bd,mc as lb,md as tl,n as ZC,na as FA,nb as Od,nc as ub,nd as rl,o as QC,ob as ec,oc as ip,od as nl,p as eA,pa as GA,pb as tc,pc as sp,pd as kb,q as tA,qa as $A,qb as rc,qc as ap,qd as ol,r as rA,ra as $a,rb as nc,rc as dp,rd as il,s as nA,sa as ja,sb as cS,sc as cp,sd as sl,t as oA,ta as jA,tb as pS,tc as pp,td as al,u as iA,ua as Ua,ub as lS,uc as lp,ud as dl,v as sA,va as Ha,vb as uS,vc as up,vd as cl,w as aA,wa as Ba,wb as fS,wc as fp,wd as pl,x as dA,xa as za,xb as oc,xc as Ip,xd as ll,y as cA,ya as Va,yb as ic,yc as Tb,yd as ul,z as pA,za as Wa,zb as mS,zc as De,zd as jl}from"./chunks/chunk-SMWXHMVB.js";import{Aa as va,Ba as Pa,Ca as Ma,Da as La,Ea as Da,Fa,Ga,H as ba,Ha as Bc,I as Oa,Ia as zc,J as Ra,Ja as Vc,K as xa,Ka as Wc,La as Kc,Ma as Xc,a as aC,b as dC,c as ds,d as cs,f as ps,g as ls,h as bA,i as OA,j as RA,k as xA,l as IA,m as NA,n as wA,o as kA,oa as Te,p as ha,pa as ye,q as ga,qa as Ce,r as Ta,ra as Ae,s as ya,sa as Ia,t as Ca,u as vA,ua as Na,v as Aa,va as wa,w as Ea,wa as ka,x as Sa}from"./chunks/chunk-U6GQ4VMV.js";import{$ as vs,$a as mE,$b as Pd,Aa as ia,Ab as LE,Ac as ib,B as fs,Ba as sa,Bb as DE,Bc as sb,C as _A,Ca as aa,Cb as FE,Cc as ab,D as hA,Db as GE,Dc as db,E as gA,Ea as QA,Eb as $E,Ec as cb,F as TA,Fa as eE,Fb as jE,G as yA,Ga as tE,Gb as UE,H as ms,Ha as rE,Hb as HE,I as _s,Ia as nE,Ib as BE,J as hs,Ja as oE,Jb as zE,K as gs,Ka as iE,Kb as VE,L as Ts,La as sE,Lb as WE,M as ys,Ma as aE,Mb as KE,N as Cs,Na as dE,Nb as XE,O as As,Oa as cE,Ob as YE,P as Es,Pb as JE,Q as Ss,Qb as qE,R as bs,Rb as ZE,S as q,Sb as QE,T as Os,Tb as eS,U as Rs,Ub as tS,V as xs,Vb as rS,W as Is,Wb as nS,X as CA,Xa as pE,Xb as oS,Y as Ns,Ya as lE,Yb as wd,Z as ws,Za as uE,Zb as kd,_ as ks,_a as fE,_b as vd,a as Wy,aa as Ps,ab as _E,ac as Md,b as Ky,ba as Ms,bc as Ld,c as Xy,ca as Ls,cc as Ee,d as Yy,da as Ds,db as hE,dc as Dd,e as Jy,ea as Fs,eb as gE,ec as Fd,fa as Gs,fb as TE,fc as Gd,ga as $s,gb as yE,gc as $d,h as qy,ha as js,hb as CE,hc as jd,i as Zy,ia as Us,ib as AE,ic as Ud,j as ss,ja as Hs,jb as EE,jc as Hd,k as Qy,ka as Bs,kb as fd,kc as Bd,l as eC,la as zs,lb as Rd,lc as zd,m as nC,ma as Vs,mb as xd,mc as Vd,n as oC,na as Ws,nb as Id,nc as Wd,o as iC,oa as Ks,ob as Nd,oc as Kd,p as sC,pa as Xs,pb as bE,pc as Xd,q as NC,qa as Ys,qb as OE,qc as Yd,r as wC,ra as Js,rb as RE,rc as Jd,s as kC,sa as qs,sb as xE,sc as qd,t as vC,ta as Zs,tb as IE,tc as Se,u as PC,ua as Qs,ub as NE,uc as Zd,v as MC,va as ea,vb as wE,vc as iS,w as LC,wa as ta,wb as kE,wc as sS,x as DC,xa as ra,xb as vE,xc as aS,y as FC,ya as na,yb as PE,yc as Qd,z as GC,za as oa,zb as ME,zc as dS}from"./chunks/chunk-EMWDM5FI.js";import{$ as c_,$a as Et,$e as xr,$g as lT,$h as mn,$i as Rn,$j as My,$k as Zo,$l as Yi,Ac as q_,Ad as Vt,Ae as Jh,Af as ug,Ag as eT,Ah as RT,Ai as sy,Aj as Gn,Ak as Oo,Al as Oi,B as Jm,Bc as Z_,Bd as Wt,Be as qh,Bf as fg,Bg as tT,Bh as xT,Bi as ay,Bj as $n,Bk as Ro,Bl as Ri,C,Cc as Q_,Cd as Kt,Ce as Zh,Cf as mg,Cg as Xr,Ch as IT,Ci as dy,Cj as jn,Ck as xo,Cl as xi,D as qm,Dc as eh,De as Qh,Df as _g,Dg as Yr,Dh as NT,Di as cy,Dj as Un,Dk as Io,Dl as Ii,E as W,Ec as th,Ee as eg,Ef as hg,Eg as Jr,Ei as py,Ej as Hn,Ek as No,El as Ni,Fc as rh,Fe as tg,Ff as gg,Fg as qr,Fi as ly,Fj as Bn,Fk as wo,Fl as wi,G as Zm,Gc as Nt,Ge as rg,Gf as Tg,Gg as Zr,Gh as wT,Gi as _e,Gj as zn,Gk as ko,Gl as ki,H as Qm,Hc as nh,He as ng,Hf as yg,Hg as Qr,Hh as kT,Hi as uy,Hj as Vn,Hk as vo,Hl as vi,Ia as y_,Ib as v_,Ic as wt,Id as Sh,Ie as dr,If as Cg,Ig as en,Ih as cn,Ii as fy,Ij as Wn,Ik as Po,Il as Pi,Ja as C_,Jb as St,Jd as bh,Je as cr,Jf as Ag,Jg as tn,Jh as vT,Ji as my,Jj as Kn,Jk as Mo,Jl as Mi,K as e_,Ka as A_,Kb as bt,Kc as oh,Kd as Oh,Ke as pr,Kf as Eg,Kg as rn,Kh as PT,Ki as _y,Kj as Xn,Kk as Lo,Kl as Li,Lc as ih,Ld as Xt,Le as lr,Lf as Sg,Lg as nn,Lh as MT,Li as hy,Lj as Yn,Lk as Do,Ll as Di,Mb as D,Mc as sh,Md as Yt,Me as ur,Mf as bg,Mg as rT,Mh as LT,Mi as gy,Mj as Jn,Mk as Fo,Ml as Fi,N as t_,Na as gt,Nb as P_,Nc as ah,Nd as Jt,Ne as fr,Nf as Og,Nh as me,Ni as Ty,Nj as qn,Nk as Go,Nl as Gi,O as ce,Oa as E_,Oc as dh,Od as qt,Oe as mr,Of as Rg,Og as on,Oh as DT,Oi as yy,Oj as Zn,Ok as $o,Ol as $i,P as pe,Pa as S_,Pb as M_,Pc as fe,Pd as Zt,Pe as _r,Pf as xg,Pg as sn,Ph as FT,Pi as Cy,Pj as Qn,Pk as jo,Pl as ji,Q as dt,Qa as b_,Qc as ch,Qd as Qt,Qe as hr,Qf as Ig,Qg as an,Qh as GT,Qi as hn,Qj as eo,Qk as Uo,Ql as Ui,R as ct,Ra as O_,Rb as L_,Rc as ph,Rd as er,Re as gr,Rf as Ng,Rh as $T,Ri as gn,Rj as to,Rk as Ho,Rl as Hi,S as le,Sc as lh,Sd as tr,Se as Tr,Sf as wg,Sg as nT,Si as Tn,Sj as ro,Sk as Bo,Sl as Bi,T as r_,Ta as Tt,Td as rr,Te as yr,Tf as kg,Tg as oT,Th as jT,Ti as yn,Tj as no,Tk as zo,Tl as zi,Ua as yt,Uc as uh,Ud as nr,Ue as Cr,Uf as vg,Ug as iT,Uh as UT,Ui as Cn,Uj as oo,Uk as Vo,V as n_,Va as K,Vc as fh,Vd as or,Ve as Ar,Vf as Pg,Vg as sT,Vh as HT,Vi as An,Vj as io,Vk as Wo,Vl as Y,W as o_,Wd as Rh,We as Er,Wf as Mg,Wg as dn,Wh as BT,Wj as so,Wk as Ko,Wl as J,X as i_,Xd as xh,Xe as Sr,Xf as Lg,Xg as aT,Xh as pn,Xi as En,Xj as ao,Xk as Xo,Xl as Vi,Y as s_,Ya as Ct,Yd as Ih,Ye as br,Yf as Dg,Yg as dT,Yh as ln,Yi as Sn,Yj as co,Yk as Yo,Yl as Wi,Z as a_,Za as At,Ze as Or,Zf as Fg,Zg as cT,Zh as un,Zi as bn,Zj as vy,Zk as Jo,Zl as Ki,_ as d_,_e as Rr,_f as Gg,_g as pT,_h as fn,_i as On,_j as Py,_k as qo,_l as Xi,aa as p_,ad as mh,af as Ir,ag as $g,ah as uT,ai as _n,aj as xn,ak as Ly,al as Qo,am as Ji,ba as l_,be as ir,bf as Nr,bg as jg,bh as fT,bi as zT,bj as In,bk as Dy,bl as ei,bm as qi,c as ot,ca as u_,cc as D_,cd as kt,ce as sr,cf as wr,ch as mT,cj as Nn,ck as Fy,cl as ti,cm as Zi,dc as F_,dd as _h,de as ar,df as kr,dh as _T,di as VT,dj as Ay,dk as Gy,dl as ri,dm as Qi,e as de,ea as f_,ec as G_,ed as vt,ef as vr,eg as Ug,eh as hT,ei as WT,ej as Ey,ek as $y,el as ni,em as es,f as it,fa as m_,fe as Nh,ff as Pr,fg as Hg,fh as gT,fi as KT,fj as Sy,fk as jy,fl as oi,fm as ts,g as st,ga as __,gc as $_,gd as hh,ge as wh,gf as Mr,gg as Bg,gj as by,gk as Uy,gl as ii,gm as rs,h as at,ha as h_,hc as j_,hd as gh,he as kh,hf as Lr,hg as zg,hh as TT,hi as XT,hj as Oy,hk as Hy,hl as si,hm as ge,ia as g_,id as Th,ie as vh,if as Dr,ig as Vg,ij as Ry,ik as By,il as ai,j as zm,ja as T_,jc as U_,jd as Pt,je as Ph,jf as Fr,jg as Wr,jh as yT,jj as xy,jk as zy,jl as di,k as Vm,ka as pt,kc as Ot,kd as Mt,ke as Mh,kf as Gr,kg as Kr,kh as CT,ki as YT,kj as Iy,kk as Vy,kl as ci,l as Wm,la as lt,ld as Lt,le as Lh,lf as $r,lh as AT,lk as po,ll as pi,ma as ut,mc as Rt,md as Dt,me as Dh,mf as jr,mh as ET,mi as JT,mk as lo,ml as li,nc as xt,nd as Ft,ne as Fh,nf as Ur,nh as ST,nk as uo,nl as ui,od as Gt,oe as Gh,of as Hr,og as Wg,oj as he,ok as fo,ol as fi,pb as R_,pd as $t,pe as $h,pf as Br,pg as Kg,pj as Ny,pk as mo,pl as mi,qa as ft,qb as X,qc as H_,qd as yh,qe as jh,qf as zr,qg as Xg,qi as qT,qj as wy,qk as _o,ql as _i,rb as ue,rc as B_,rd as Ch,re as Uh,rf as Vr,rg as Yg,ri as ZT,rj as ky,rk as ho,rl as hi,s as Km,sa as mt,sb as x_,sc as z_,se as Hh,sf as og,si as QT,sj as wn,sk as go,sl as gi,ta as _t,tb as I_,tc as V_,td as jt,te as Bh,tf as ig,tg as Jg,ti as ey,tj as kn,tk as To,tl as Ti,u as Xm,ua as ht,ub as N_,uc as W_,ud as Ut,ue as zh,uf as sg,ug as qg,ui as ty,uj as vn,uk as yo,ul as yi,vb as w_,vc as K_,vd as Ah,ve as Vh,vf as ag,vj as Pn,vk as Co,vl as Ci,wb as A,wc as X_,wd as Ht,we as Wh,wf as dg,wi as ry,wj as Mn,wk as Ao,wl as Ai,x as Ym,xb as k_,xc as It,xd as Bt,xe as Kh,xf as cg,xi as ny,xj as Ln,xk as Eo,xl as Ei,yc as Y_,yd as Eh,ye as Xh,yf as pg,yg as Zg,yh as bT,yi as oy,yj as Dn,yk as So,yl as Si,zc as J_,zd as zt,ze as Yh,zf as lg,zg as Qg,zh as OT,zi as iy,zj as Fn,zk as bo,zl as bi}from"./chunks/chunk-HYG6LRL4.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 jf(){return Object.keys(b).sort().map(e=>b[e])}function Uf(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 Hf(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 Bf(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 zf(){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 He="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 Be(e){if(e.schema!==He)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=Be(e);return pe(r,t)}async function Vf(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 Wf(){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 Kf(e,t){if(typeof t!="object"||t===null||Array.isArray(t))throw new TypeError(`Coverage entry for ${e} must be an object.`)}function Xf(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 Yf(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)){Kf(r,n);for(let o of Ve){let i=Xf(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 Jf=["captured_redacted","captured_verbatim"],qf=[{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 Zf(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||!Jf.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 qf)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 Qf(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 em(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?Zf(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 Qf(e,r)}function yR(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=em(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,tm=3;function bR(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function OR(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,tm-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 H="@unbrained/pm-cli",rm=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 nm={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 om(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[H],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 im(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 sm(e,t){try{let r=Ke.readFileSync(j.join(e,t),"utf8").split(/\r?\n/u),n=r.findIndex(a=>a.includes(H));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 am(e){let t=[],r=ne(j.join(e,"package.json")),n=r?om(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=im(e);s&&U(s)&&t.push({version:s,source:"package-lock.json"});for(let d of["pnpm-lock.yaml","yarn.lock"]){let a=sm(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 dm(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=nm[r];return i?i(e,o):rm.has(r)}function cm(e){let t=Ye(e.argv)?.command,r=dm(e.argv),o=am(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 ${H} ${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 kR(e){let t=cm(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 ${H} ${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 pm}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:pm("sha256").update(D({nodes:o,edges:i,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:o,edges:i,kinds:s})}function lm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function P(e){if(!lm(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 B(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 um(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 fm(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 B(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 B(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 mm(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]="20842b89-cef6-542e-b069-76c22b340f1d")}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 nx(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"}},ix=Object.freeze(Object.keys(se));function tt(e){if(Object.hasOwn(se,e))return se[e]}var _m=new Set([..."=([{,:;!?&|+-*%^~<>","=>"]);function I(e,t){return e<t?-1:e>t?1:0}function hm(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 gm(e){return e===void 0||e.kind==="punctuator"&&_m.has(e.value)||e.kind==="identifier"&&["return","case","throw","else","yield"].includes(e.value)}function Tm(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 ym(e,t,r){if(e[t]!=="/"||!gm(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=hm(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 Am(e){let t=[],r=0;for(;r<e.length;){let n=Tm(e,r);if(n!==void 0){r=n;continue}let o=ym(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 Em=new Set(["object","block","pattern"]),Sm=new Set(["const","let","var"]),bm=new Set(["}",")","]"]),Om=new Set(["=","(","[",",",":","?","return"]);function Rm(e,t,r){if([...r].reverse().find(i=>Em.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"&&Sm.has(o.value)?"pattern":o?.value==="=>"||o?.value===")"?"block":o&&Om.has(o.value)?"object":"block"}function xm(e,t,r){let n=e[t];if(n.value==="{"){let d=Rm(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 Im(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 Nm(e,t){return e[t+1]?.value===")"&&e[t+2]?.value==="=>"||e[t+1]?.value==="="}function wm(e){let t=Am(et.stripTypeScriptTypes(e,{mode:"strip"})),r=[],n=[];for(let[o,i]of t.entries()){let s=n.at(-1),d=Im(s,i,t[o+1]);d&&s.candidates.push(d);let a=xm(t,o,n);if(a)n.push(a);else if(bm.has(i.value)){let c=n.pop();c?.kind==="object"&&!Nm(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 km(e){let t=[0];for(let r=0;r<e.length;r+=1)e[r]===`
|
|
4
|
+
`&&t.push(r+1);return t}function vm(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 sx(e){let t=[],r=[];for(let o of[...e].sort((i,s)=>I(i.path,s.path))){let i=km(o.content),s;try{s=wm(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=vm(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 ax(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 dx(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 cx(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 Pm(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 px=Pm;(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 Mm(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 Lm(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."},...Mm(e)]}function fx(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 Lm(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 _x(){return ae.map(e=>({...e}))}function Dm(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 hx(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=Dm(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,Fm=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 Gm(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=Fm[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:Gm(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 Ax(){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 $m(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 jm(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 Um(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 Ex(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 $m(e,o,n),jm(d,t,n),Um(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 Sx(){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 Ox(e){return e}function Rx(e){return e}function xx(e){return e}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 Fx(e){return e}function Gx(e){return{handled:!0,result:e}}function $x(){return{handled:!1}}function jx(e){return e}function Ux(e){return e}function Hx(e){return e}function Bx(e){return e}function zx(e){return e}function Vx(e){return e}function Wx(e){return e}function Kx(e){return e}function Xx(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 Hm(e={},t={}){return new F(t).extension(void 0,{...e,migrate:!0})}function Bm(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]="bca95ba2-258c-5be2-8428-dcb8dbc87ef0")}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]="483445af-d102-5b49-9b45-8452f8e48ea8")}catch{}})();export{QA as ACTIONABILITY_ORDERING_KINDS,Ln as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,ki as ACTIVITY_FLAG_CONTRACTS,Xt as AGENT_PROVENANCE_DIMENSIONS,_o as AGGREGATE_FLAG_CONTRACTS,ti as APPEND_FLAG_CONTRACTS,YA as ASSURANCE_ACTIONS,JA as ASSURANCE_DECLARATION_KINDS,zC as ASSURANCE_DOCUMENT_VERSION,Ai as ASSURANCE_FLAG_CONTRACTS,VC as ASSURANCE_GATE_TRIGGERS,WC as ASSURANCE_MEASUREMENT_SOURCE_KINDS,cA as ASSURANCE_PRESET_IDS,jC as AssuranceEvaluationRefusalError,$C as AssuranceMutationRefusalError,UC as AssuranceSourceResolutionError,Pt as BASELINE_ITEM_FORMAT_VERSION,Jf as BOUNDARY_FIXTURE_CAPTURE_SOURCES,lE 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,R_ as BUILTIN_RELATIONSHIP_KINDS,vn as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,wi as CALENDAR_FLAG_CONTRACTS,ri as CLAIM_FLAG_CONTRACTS,Yi as CLOSE_ACTION_OPTION_KEYS,Qo as CLOSE_FLAG_CONTRACTS,ei as CLOSE_MANY_FLAG_CONTRACTS,di as CLOSE_TASK_FLAG_CONTRACTS,ho as COMMENTS_FLAG_CONTRACTS,y_ as COMMON_MUTATION_COMMAND_OPTION_KEYS,Bi as COMPLETION_FLAG_CONTRACTS,ht as CONFIDENCE_TEXT_VALUES,ko as CONFIG_FLAG_CONTRACTS,Pn as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,wE as CONTEXT_EVALUATION_METRIC_NAMES,Pi as CONTEXT_FLAG_CONTRACTS,Ee as CONTEXT_OUTPUT_VALUES,LE as CONTEXT_PACKING_PROFILES,RE as CONTEXT_RELEVANCE_SERVICE,bE as CONTEXT_RELEVANCE_SIGNAL_NAMES,BE as CONTEXT_SIGNAL_SET_VERSION,HE as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,zE as CONTEXT_SIGNAL_STORE_WARNING_DETAILS,Hi as CONTRACTS_FLAG_CONTRACTS,Ri as COPY_FLAG_CONTRACTS,$n as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,Un as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,jn as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,Xm as CREATE_DIRECT_CLOSE_REASON_DEFAULT,Ei as CREATE_FLAG_CONTRACTS,Ug as CURRENT_HISTORY_ITEM_HASH_VERSION,Mt as CURRENT_ITEM_FORMAT_VERSION,XE as ContextSignalStore,FE as ContextUsageValidationError,vC as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,xS as DEFAULT_CHILD_SAMPLE_LIMIT,pE as DEFAULT_COMPACT_LIST_FIELDS,$T as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,ep as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,cS as DEFAULT_TERMINAL_TRANSITION_POLICY,ZE as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,HA as DEFECT_ESCAPE_CLASSES,BA as DEFECT_GATE_EVIDENCE_DISPOSITIONS,oi as DELETE_FLAG_CONTRACTS,ft as DEPENDENCY_KIND_VALUES,Di as DEPS_FLAG_CONTRACTS,Co as DOCS_FLAG_CONTRACTS,Ti as DUPLICATES_FLAG_CONTRACTS,Gi as EVAL_FLAG_CONTRACTS,Jc as EVAL_QUERY_SET_CONTRACT,qc as EVAL_QUERY_SET_EXAMPLE,Yc as EVAL_QUERY_SET_SCHEMA_ID,vi as EVENTS_FLAG_CONTRACTS,pi as EVENT_FLAG_CONTRACTS,cr as EXECUTABLE_COMMAND_ALIASES,C as EXIT_CODE,Ho as EXTENSION_ACTIVATE_FLAG_CONTRACTS,Uo as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,Yo as EXTENSION_ADOPT_FLAG_CONTRACTS,cC as EXTENSION_CAPABILITIES,Wm as EXTENSION_CAPABILITY_CONTRACT,zm as EXTENSION_CAPABILITY_CONTRACT_VERSION,Vm as EXTENSION_CAPABILITY_LEGACY_ALIASES,Ot as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,Xo as EXTENSION_CATALOG_FLAG_CONTRACTS,Bo as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,jo as EXTENSION_DESCRIBE_FLAG_CONTRACTS,Ko as EXTENSION_DOCTOR_FLAG_CONTRACTS,$o as EXTENSION_EXPLORE_FLAG_CONTRACTS,vo as EXTENSION_FLAG_CONTRACTS,Mo as EXTENSION_INIT_FLAG_CONTRACTS,Fo as EXTENSION_INSTALL_FLAG_CONTRACTS,Vo as EXTENSION_MANAGE_FLAG_CONTRACTS,zo as EXTENSION_MIGRATE_FLAG_CONTRACTS,pC as EXTENSION_POLICY_MODES,lC as EXTENSION_POLICY_SURFACES,Wo as EXTENSION_RELOAD_FLAG_CONTRACTS,fC as EXTENSION_SANDBOX_PROFILES,Po as EXTENSION_SCOPE_FLAG_CONTRACTS,uC as EXTENSION_TRUST_MODES,Go as EXTENSION_UNINSTALL_FLAG_CONTRACTS,_A as EXTERNAL_DEPENDENCY_SOURCE_KIND,hA as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,yo as FILES_FLAG_CONTRACTS,xi as FOCUS_FLAG_CONTRACTS,hi as GC_FLAG_CONTRACTS,mE as GET_DEPTH_VALUES,Mi as GET_FLAG_CONTRACTS,fo as GLOBAL_FLAG_CONTRACTS,Ys as GRAPH_DURABLE_CACHE_MIN_ITEMS,Xs as GRAPH_DURABLE_CACHE_VERSION,Fi as GRAPH_FLAG_CONTRACTS,yr as GRAPH_SUBCOMMAND_VALUES,Li as GUIDE_FLAG_CONTRACTS,yi as HEALTH_FLAG_CONTRACTS,Oo as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,EA as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,mb as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,Ro as HISTORY_COMPACT_FLAG_CONTRACTS,Ao as HISTORY_FLAG_CONTRACTS,So as HISTORY_REDACT_FLAG_CONTRACTS,bo as HISTORY_REPAIR_FLAG_CONTRACTS,Bc as INIT_AGENT_GUIDANCE_MODE_VALUES,wo as INIT_FLAG_CONTRACTS,Jo as INSTALL_FLAG_CONTRACTS,_t as ISSUE_SEVERITY_VALUES,bi as ITEM_COMPLETE_FLAG_CONTRACTS,YS as ITEM_LATEST_TIMESTAMP_FIELDS,Km as ITEM_METADATA_KEY_ORDER,Si as ITEM_MUTATE_FLAG_CONTRACTS,Oi as ITEM_REOPEN_FLAG_CONTRACTS,lt as ITEM_TYPE_VALUES,XS as ITEM_UNION_COLLECTION_FIELDS,KE as JsonFileContextSignalStoreAdapter,To as LEARNINGS_FLAG_CONTRACTS,gc as LINKED_TEST_ENV_NAME_PATTERN,Tc as LINKED_TEST_PM_CONTEXT_MODE_VALUES,hc as LINKED_TEST_PROTECTED_ENV_KEYS,wn as LIST_COMMANDER_STRING_OPTION_CONTRACTS,uE as LIST_COMMAND_DEFAULT_PROJECTIONS,_C as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,mo as LIST_FILTER_FLAG_CONTRACTS,TE as LIST_SORT_FIELDS,yE as LIST_SORT_ORDER_VALUES,RS as MAX_CHILD_PROJECTION_ITEMS,ci as MEET_FLAG_CONTRACTS,ZS as MERGE_DRIVER_ARTIFACT_VALUES,Eo as MERGE_FLAG_CONTRACTS,ib as MUTATION_EVENT_WIRE_BUDGET,v as MemoryRelationshipGraphAdapter,Mn as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,ji as NEXT_FLAG_CONTRACTS,Zd as NEXT_OUTPUT_VALUES,go as NOTES_FLAG_CONTRACTS,Lo as PACKAGE_FLAG_CONTRACTS,Do as PACKAGE_INIT_FLAG_CONTRACTS,ai as PAUSE_TASK_FLAG_CONTRACTS,Xi as PLAN_CREATE_METADATA_PARAMETER_KEYS,No as PLAN_FLAG_CONTRACTS,Pc as PLAN_SHOW_DEPTH_VALUES,vc as PLAN_SUBCOMMANDS,Mc as PLAN_TEMPLATE_NAMES,ns as PM_CLI_EXPECTED_ERROR_NAME,jy as PM_CLI_GRAMMAR_CONTRACT,vy as PM_CLI_GRAMMAR_NOUNS,Er as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,Py as PM_CLI_SHARED_VERBS,dr as PM_COMMAND_ALIAS_CONTRACTS,Z as PM_COMMAND_CAPABILITY_CONTRACTS,Gy as PM_COMMAND_DESTINATION_CONTRACTS,_S as PM_COMMAND_EXIT_CONTRACTS,mS as PM_COMMAND_EXIT_OUTCOME_CONTRACTS,jr as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,xb as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,$y as PM_COMMAND_POSITIONAL_CONTRACTS,wp as PM_COMMAND_VISIBILITY_CONTRACTS,gC as PM_COMPLETE_LIST_FINDING_CODES,SC as PM_CONTEXT_INTENTS_FILE,xg as PM_CONTEXT_INTENT_CONTRACTS,Tr as PM_CORE_COMMAND_NAMES,g as PM_CORPUS_SHAPE_SCHEMA,br as PM_DEPRECATED_TOOL_ACTIONS,Lr as PM_DIAGNOSTIC_DEGRADATION_STEPS,Dr as PM_DIAGNOSTIC_OUTPUT_BUDGET_CONTRACTS,Mr as PM_DIAGNOSTIC_OUTPUT_CLASSES,Or as PM_DISCOVERABLE_TOOL_ACTIONS,bb 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,NA as PM_GITATTRIBUTES_END,IA as PM_GITATTRIBUTES_START,kA as PM_GITATTRIBUTES_V2_END,wA as PM_GITATTRIBUTES_V2_START,cs as PM_GITIGNORE_END,ds as PM_GITIGNORE_START,Ar as PM_ITEM_ACTION_SUBCOMMANDS,Fp as PM_MCP_PROMPT_CONTRACTS,Dp as PM_MCP_RESOURCE_CONTRACTS,Mp as PM_MCP_TOOL_COMMAND_CONTRACTS,vh as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,hn as PM_MUTATION_ACTION_CONTRACTS,Pr as PM_OUTPUT_BUDGET_CLASSES,vr as PM_OUTPUT_DEGRADATION_STEPS,Ob as PM_OUTPUT_ENVELOPE_KINDS,ye as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,Te as PM_PACKAGE_RESOURCE_KINDS,My as PM_POSITIONAL_ACTION_CONTRACTS,rs as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,es as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,_g as PM_READ_OUTPUT_COMPOSITION_OPTION_FLAGS,ug as PM_READ_OUTPUT_DIMENSIONS,mg as PM_READ_OUTPUT_OPTION_FLAGS,ag as PM_READ_OUTPUT_SESSION_MAX_SEEN_ITEM_IDS,sg as PM_READ_OUTPUT_SESSION_MIN_TOKENS,fg as PM_READ_OUTPUT_SURFACES,hg as PM_READ_OUTPUT_SURFACE_CONTRACTS,kh as PM_READ_ROW_CONTRACTS,wh as PM_READ_ROW_JQ_SELECTOR,ix as PM_RECOVERY_REFERENCE_FIELDS,M as PM_RECOVERY_REFERENCE_KINDS,hS as PM_SUCCESS_EXIT_CODES,Sr as PM_TOOL_ACTIONS,Ji as PM_TOOL_ACTION_PARAMETER_CONTRACTS,ts as PM_TOOL_PARAMETERS_SCHEMA,Qi as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Zi as PM_TOOL_PARAMETERS_SCHEMA_VERSION,Wi as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,He as PM_WORKSPACE_RECIPE_SCHEMA,Io as PROFILE_FLAG_CONTRACTS,Pe as PROFILE_LINT_CODES,ve as PROFILE_LINT_DIMENSIONS,Oe as PROFILE_NAMES,yp as PROFILE_SUBCOMMANDS,W as PmCliError,F as PmClient,TC as PmCompleteListValidationError,Xh as QUERY_CURSOR_CONTRACT,Zo as REINDEX_FLAG_CONTRACTS,MT as REINDEX_LOCK_ID,ie as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,ii as RELEASE_FLAG_CONTRACTS,li as REMIND_FLAG_CONTRACTS,fe as RESERVED_ITEM_FIELD_NAMES,ni as RESTORE_FLAG_CONTRACTS,mt as RISK_VALUES,tC as RelationshipEventLog,rC as RelationshipEventStore,A as RelationshipGraph,X as RelationshipKindRegistry,xo as SCHEMA_FLAG_CONTRACTS,kn as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,hC as SEARCH_EXTENSION_FLAG_DEFINITIONS,Ui as SEARCH_FLAG_CONTRACTS,Md as SEMANTIC_ATTRIBUTION_LIMITS,Jm as SETTINGS_DEFAULTS,ip as SNAPSHOT_SCHEMA,OA as SOURCE_CONTEXT_ACCESS_ENV,RA as SOURCE_CONTEXT_WRITE_OVERRIDE_ENV,si as START_TASK_FLAG_CONTRACTS,gi as STATS_FLAG_CONTRACTS,ut as STATUS_VALUES,uo as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,Hg as SUPPORTED_HISTORY_ITEM_HASH_VERSIONS,f_ as SUPPRESS_HOST_OUTPUT_MARKER,mi as TELEMETRY_FLAG_CONTRACTS,ol as TELEMETRY_SUBCOMMANDS,fi as TEST_ALL_FLAG_CONTRACTS,ui as TEST_FLAG_CONTRACTS,_i as TEST_RUNS_FLAG_CONTRACTS,Qp as TEST_RUN_MEASUREMENT_LIMIT,io as TOOL_ACTIVITY_OPTION_CONTRACTS,Kn as TOOL_AGGREGATE_OPTION_CONTRACTS,to as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,oo as TOOL_CALENDAR_OPTION_CONTRACTS,no as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,so as TOOL_CONTEXT_OPTION_CONTRACTS,Zn as TOOL_CREATE_OPTION_CONTRACTS,qn as TOOL_CREATE_OPTION_CONTRACT_SOURCE,ao as TOOL_DEPS_OPTION_CONTRACTS,co as TOOL_GRAPH_OPTION_CONTRACTS,Wn as TOOL_LIST_FILTER_OPTION_CONTRACTS,Xn as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,Jn as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,Yn as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,ro as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,eo as TOOL_UPDATE_OPTION_CONTRACTS,Qn as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,Ym as TYPE_TO_FOLDER,l_ as UNKNOWN_SUBCOMMAND_COMPATIBILITY_CODES,Hn as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,zn as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Bn as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Ii as UPDATE_FLAG_CONTRACTS,Ni as UPDATE_MANY_FLAG_CONTRACTS,qo as UPGRADE_FLAG_CONTRACTS,Ci as VALIDATE_FLAG_CONTRACTS,$i as WORKSPACE_FLAG_CONTRACTS,Yr as WORKSPACE_HISTORY_ID,sp as WORKSPACE_SNAPSHOT_ACTIONS,Rs as WorkspaceGraphCache,aC as WorkspaceTransactionInterruptedError,ss as _testOnly,SE as _testOnlyAggregateCommand,Hc as _testOnlyConfigCommand,kS as _testOnlyGetCommand,ja as _testOnlyHealthCommand,Kc as _testOnlyInit,zc as _testOnlyInitAgentGuidance,rO as _testOnlyItemTransaction,cb as _testOnlyMutationEvents,sS as _testOnlyNextCommand,VS as _testOnlySearchCommand,SS as _testOnlySimilarity,mp as _testOnlyTemplates,ld as _testOnlyValidateCommand,fA as acceptAssuranceProposals,_a as acknowledgeUnknownAuthorHistoryEvents,ma as acknowledgeUnknownAuthorHistoryEventsFromTransport,jT as acquireItemMetadataDerivedIndexLock,Xr as acquireLock,mO as activateExtensionForTest,$_ as activateExtensions,Kt as agentSessionEnvironment,Ql as aggregate,Hp as analyzeAgentProvenanceDescriptorCoverage,VA as analyzeDefectChangeRisk,oC as analyzeGraphImpact,hs as analyzeHierarchyIntegrity,iC as analyzeKnowledgeGraph,CS as analyzePmCommandExitConformance,Rr as analyzePmToolActionParity,eb as analyzeReconciliationDiscard,nC as analyzeRelationshipExecution,Us as analyzeRelationshipSchedule,Rf as analyzeSdkActionCoverage,ge as analyzeSdkCliParameterCompleteness,lu as append,Kr as appendHistoryEntry,Qr as appendWorkspaceAuditEvent,Zr as appendWorkspaceHistoryChange,dT as applyAcceptanceCriteriaMutations,lA as applyAssurancePreset,kf as applyBootstrapPagerPolicy,vg as applyContextIntentProjection,qd as applyContextTagProjection,CE as applyFilterValueEcho,Xy as applyHistoryPatch,Gf as applyInvocationAuthorOverride,Wa as applyPathMigrations,bg as applyReadOutputDimensions,Cg as applyReadOutputIncludeModes,cg as applyReadOutputSessionReferences,lh as applyRegisteredItemFieldDefaultsAndValidation,Ja as applyStandaloneNote,Ma as applyStoredExtensionMigrationState,pT as applyTagRemovals,fS as applyTerminalOrderingPolicy,qa as artifactKey,t_ as asRecordClone,e_ as asRecordOrNull,q as assembleWorkspaceRelationshipGraph,EC as assertCompleteListResult,XO as assertExtensionBlueprint,KO as assertExtensionCapabilityUsage,NO as assertExtensionDeactivated,qO as assertExtensionManifestCompatible,JO as assertExtensionManifestMatchesBlueprint,ZO as assertExtensionPreflight,ys as assertHierarchyMutationAllowed,_b as assertHistoryCompactTarget,rb as assertHistoryRepairTarget,un as assertInitializedTracker,Ka as assertLinkedArtifactMutationIsUnambiguous,mm as assertMemoryRelationshipGraphAdapterConformance,fT as assertNoUnknownCsvKeys,wO as assertPackageManifest,sT as assertParentReferenceIsNotSelf,YO as assertProjectProfile,kR as assertProjectRuntimeCompatibility,Ph as assertProjectionModeChoice,ln as assertReadableTrackerRoot,kO as assertRegisteredCommandContract,UO as assertRegisteredCommandOverride,FO as assertRegisteredExporter,vO as assertRegisteredFlags,PO as assertRegisteredHook,DO as assertRegisteredImporter,GO as assertRegisteredItemField,$O as assertRegisteredItemType,WO as assertRegisteredMigration,HO as assertRegisteredParserOverride,BO as assertRegisteredPreflightOverride,jO as assertRegisteredProfile,zO as assertRegisteredRendererOverride,MO as assertRegisteredSearchProvider,VO as assertRegisteredServiceOverride,LO as assertRegisteredVectorStoreAdapter,w_ as assertRelationshipEdgeAllowed,qe as assertRelationshipGraphAdapterConformance,KC as assuranceAssertionUpdateIsLoosening,Lg as attachContextIntentReceipt,$h as attachOutputOmissionReceipt,Fg as attachOutputTokenAccounting,Dg as attachReadOutputContracts,pg as attachReadOutputSessionReceipt,Ca as auditMergeAttributeFence,vA as auditMergeDriverConfiguration,Ws as auditWorkspaceRelationshipGraph,zt as boundAgentEpisodeIdentity,ng as boundReadOutputRows,Kd as buildChildrenByParent,PS as buildCompactSearchFilterSummary,AE as buildContentFilterEcho,WE as buildContextSignalSnapshot,Hf as buildCorpusShapeItemPlan,zA as buildDefectRecurrenceIndex,wa as buildExtensionDescribeResult,EE as buildGovernanceMissingFilterEcho,bT as buildInvalidTypeError,IS as buildItemChildrenRollup,eO as buildItemCompletionMutations,OE as buildItemContextRelevanceCandidates,WT as buildItemNotFoundError,wS as buildItemSchedule,Ta as buildMergeAttributePatterns,qi as buildPmActionToolInputSchema,CA as buildRelationshipContext,qT as buildSearchCorpus,QT as buildSemanticCorpusInput,pn as buildTrackerInitializationRecovery,iy as buildVectorizationEmbeddingIdentity,sy as buildVectorizationEmbeddingMetadata,MS as buildVerboseSearchFilters,QE as buildWorkspaceMemorySnapshot,Bt as canonicalDocument,C_ as canonicalizeCommandOptionKey,x_ as canonicalizeRelationshipKind,sx as censusPmRecoveryReferenceProducers,AC as certifyCompleteListResult,uO as checkExtensionManifestCompatibility,Xu as claim,Yu as claimNext,SA as classifyHistoryAuthorEvent,pb as classifyHostEnvironmentFault,HS as classifyImplicitSemanticFallbackReason,Ft as classifyItemFormatVersion,al as classifyLinkedTestFailure,rh as clearActiveExtensionHooks,ea as clearDurableGraphCache,Oh as clearFocusedItem,us as clearWorkspaceContractsCache,Ku as close,oc as closeItem,nf as closeTask,Mf as coalesceRepeatedListFlags,eE as collectBlockedByIds,rE as collectBlockedByIdsFromCorpus,Ss as collectDanglingDependencyReferences,oE as collectDependencyBlockedIds,As as collectDuplicateDependencyRows,Vs as collectDuplicateRelationshipEdgeGroups,US as collectErrorCauseCodes,_s as collectHierarchyRelations,bs as collectMissingDependencyTargetIds,lc as collectNewOrderingCycleWarnings,Hs as collectOrderingCycles,Es as collectOrderingStorageContradictions,RC as collectPackageContextIntentContracts,Ae as collectPackageExtensionDirectories,ch as collectRegisteredItemFieldNames,gh as collectRuntimeCreateFieldValues,OT as collectRuntimeFilterValues,Th as collectRuntimeUpdateFieldValues,Hd as collectSubtreeIds,Rt as collectUsedExtensionCapabilities,A_ as commandOptionFlagLabel,ru as comments,Ll as commitImportedItem,tO as commitItemCompletion,Qb as commitItemMutations,dC as commitWorkspaceTransaction,lo as compactFlagAliasContracts,Bd as compareCriticalItems,$ as comparePmDateVersions,sC as compareRelationshipSnapshots,r_ as compareTimestampStrings,FC as compileHistoryProvenanceMatcher,wg as composeContextIntentContracts,iO as composeExtension,lO as composeExtensionPackage,iE as computeActionabilityReport,Qg as computeHistoryDiff,$s as computeRelationshipCentrality,Gs as computeRelationshipDominators,Os as computeWorkspaceGraphFingerprint,fu as config,th as consumeAfterCommandAffectedItems,Kl as context,Mg as contextIntentRowId,qu as copy,dl as countFailureCategories,tg as countReadOutputRows,zu as create,pA as createAssurancePreset,UA as createAssuranceWorkspaceContext,o_ as createCheckpointId,yC as createCompleteListOptions,j_ as createCoreCommandHookContext,Ue as createCorpusShapeMeasurement,ZC as createEmptyAssuranceDocument,v_ as createEmptyExtensionRegistrationRegistry,as as createExtensionCommandSdk,bt as createExtensionContributionInventory,QO as createExtensionTestHarness,Wr as createHistoryEntry,Ey as createLazyModule,VT as createMutationGuardSdk,Mh as createOutputOmissionReceipt,os as createPmCliExpectedError,$f as createPmCliProgram,Gr as createPmCommandOutputBudget,Uh as createQueryFingerprint,fm as createRelationshipGraphScaleFixture,x as createRelationshipGraphSnapshot,ue as createRelationshipKindRegistry,LS as createSearchCursorFingerprint,U_ as createSerialQueue,mT as createStdinTokenResolver,u_ as createUnknownSubcommandError,ap as createWorkspaceSnapshot,_O as deactivateExtensionForTest,$x as declineServiceOverride,Pg as decodeContextIntentCursor,Ay as decodeHtmlEntitiesInOptions,Vh as decodeQueryCursor,Bh as decodeQueryCursorEnvelope,zh as decodeQueryCursorState,ig as decodeReadOutputContinuationCursor,Qa as dedupeLinkedArtifacts,xE as defaultScoreContextCandidates,Vx as defineAfterCommandHook,Bx as defineBeforeCommandHook,zx as defineBeforeMutationHook,xx as defineCommand,Mx as defineCommandOverride,S as defineCorpusShape,Hx as defineExporter,nO as defineExtension,oO as defineExtensionBlueprint,Ox as defineExtensionManifest,Ix as defineFlag,Ux as defineImporter,wx as defineItemField,Nx as defineItemType,kx as defineMigration,Xx as defineOnIndexHook,Kx as defineOnReadHook,Wx as defineOnWriteHook,Lx as defineParserOverride,$r as definePmCommandOutputBudget,Rb as definePmCommandOutputEnvelope,Ab as definePmErrorCodeCatalog,Dx as definePreflightOverride,Rx as defineProjectProfile,jx as defineRendererOverride,vx as defineSearchProvider,Fx as defineServiceOverride,Px as defineVectorStoreAdapter,Be as defineWorkspaceRecipe,Zu as deleteItem,fp as deleteWorkspaceSnapshot,k_ as dependencyToRelationship,cu as deps,uA as deriveAssuranceProposals,aO as deriveExtensionCapabilities,AS as derivePmBulkMutationEffect,ax as derivePmRecoveryReferenceObligations,ba as deriveSchemaEvolutionMigrationId,my as deriveTelemetryCommandResolution,NT as describeAllowedTransitions,bA as describeExtensionActivation,dO as describeExtensionBlueprint,Od as describeItemOwnershipConflict,we as describeProfileComposition,ke as describeProjectProfile,Fb as describeUnknownError,Qt as detectAgentIdentity,nr as detectHarnessIdentity,Ds as detectRelationshipCommunities,er as diagnoseAgentIdentity,Ks as diffRelationshipAuditSnapshots,rl as diffTestRunMeasurements,F_ as discoverExtensions,yt as discoverNearbyPmRoot,am as discoverProjectRuntimeVersionPins,du as docs,tu as duplicates,Js as durableGraphCachePath,ta as durableGraphCacheStatus,Lt as effectiveItemFormatVersion,ky as emitTelemetryErrorEvent,Ml as emptyImportedDocument,Hh as encodeQueryCursor,og as encodeReadOutputContinuationCursor,eT as enforceHistoryStreamPolicyForItem,tT as enforceHistoryStreamPolicyForItems,Tb as enrichCliFlagInvocationContract,De as enrichCliFlagInvocationContracts,Jy as ensureMaterializedHistoryTarget,ls as ensurePmGitignore,Ua as ensureScope,fy as ensureSentryInit,Pl as ensureTrackerInitialized,Ms as enumerateRelationshipPaths,Hr as estimatePmOutputTokens,eA as evaluateAssuranceAssertion,tA as evaluateAssuranceGate,yR as evaluateBoundaryFixtures,kE as evaluateContextRanking,WA as evaluateDefectGateEvidence,QC as evaluateMeasurement,Tn as evaluateMutationGuard,Xp as evaluateProvenanceCoverage,Vp as evaluateSemanticAttributionCoverage,_c as evaluateSimilarityGovernance,IT as evaluateTransition,ey as executeEmbeddingBatchesWithRetry,ny as executeVectorDelete,oy as executeVectorReset,ry as executeVectorUpsert,Vf as executeWorkspaceRecipe,Ya as expandAddGlobEntries,id as explainSourceTraceability,of as extension,af as extensionActivate,df as extensionDeactivate,sf as extensionList,Hm as extensionMigrate,Wy as extractPatchFailureContext,cd as extractReferencedPmItemIdsFromCommand,um as federateRelationshipGraphSnapshots,iu as files,su as filesDiscover,au as filesLookup,Yf as findCoverageDeficits,mc as findDuplicateClusters,ga as findGitWorkspaceRoot,Ia as findInstalledNpmPackageCandidate,Fs as findRedundantRelationshipEdges,js as findRelationshipCutStructure,fc as findSimilarItems,wy as finishTelemetryCommand,c_ as flattenFlagListValue,Wf as flushTelemetryQueue,ef as focus,Ls as forEachMatchedRelationshipEdge,zs as formatDuplicateEdgeGroup,gs as formatHierarchyRelation,Bs as formatOrderingStorageContradiction,Fy as formatPmPositionalActionFlagTip,xp as formatProfileApplyHuman,Rp as formatProfileLintHuman,bp as formatProfileListHuman,Op as formatProfileShowHuman,xa as formatSchemaEvolutionMigrationHuman,zS as formatVectorIndexRecoveryWarnings,Gu as gc,an as generateItemId,ql as get,Z_ as getActiveCommandResult,Ig as getActiveContextIntentContracts,It as getActiveExtensionRegistrations,nA as getAssuranceDeclaration,Ef as getContracts,Sh as getFocusedItem,Et as getHistoryPath,eC as getItemAt,At as getItemPath,An as getMutationActionContract,ps as getPmGitignoreBlock,Ct as getSettingsPath,Af as getWorkspaceContracts,Jr as getWorkspaceHistoryPath,pu as graph,qs as graphAuditBaselinePath,Wp as groupHistoryByEpisode,Gx as handleServiceOverride,Y as hasSubcommandFlagContractsForCommand,ay as hasVectorizationEmbeddingIdentityChanged,dy as hasVectorizationVectorDimensionChanged,Bg as hashDocument,zg as hashDocumentForVersion,Vg as hashEmptyDocument,Fu as health,ws as hierarchyAncestors,ks as hierarchyDescendants,Hu as historyCompact,Bu as historyCompactBulk,DC as historyEntryMatchesProvenance,$u as historyRedact,ju as historyRepair,Uu as historyRepairAll,tE as indexBlockedByIds,Ts as indexHierarchyRelations,cy as inferConsistentVectorDimension,Fr as inferPmOutputBudgetClass,uu as init,CC as inspectCompleteListResult,ca as inspectHistoryAuthorStream,cm as inspectProjectRuntimeCompatibility,In as inspectStaleInProgressItems,qr as inspectWorkspaceHistoryState,dp as inspectWorkspaceSnapshot,Sa as installMergeFence,ec as isAlreadyClaimedError,jb as isCommanderError,Cd as isErrnoError,gA as isExternalDependencySourceKind,__ as isHostOutputSuppressed,yn as isMutationAction,N_ as isOrderingRelationshipKind,oT as isPlaceholderReferenceToken,is as isPmCliExpectedError,Ir as isPmExtensionCapabilityContract,wr as isPmExtensionPolicyModeContract,kr as isPmExtensionPolicySurfaceContract,Nr as isPmExtensionServiceNameContract,TS as isPmKnownExitCode,Nb as isPmMutationReceipt,gS as isPmSuccessfulExitCode,xr as isPmToolAction,dm as isProjectMutatingInvocation,Sy as isPureSnakeCaseAlias,Og as isReadOutputBudgetExceeded,Dh as isReadRowContract,da as isRuntimeRecord,Ry as isTerminalPlanMode,Ch as isTerminalStatus,ct as isTimestampLiteral,qb as itemDocumentToMutationOptions,NS as itemHasSchedule,En as jaccardSimilarity,ou as learnings,p_ as levenshteinDistanceWithinLimit,gd as limitAnnotationEntries,cO as lintExtensionBlueprint,Me as lintProjectProfile,Xl as list,Pf as listAliasPluralKeys,Yl as listAllComplete,BT as listAllDocumentCandidatesCached,_n as listAllItemMetadata,zT as listAllItemMetadataLight,rA as listAssuranceDeclarations,dA as listAssuranceVerdicts,jf as listBuiltinCorpusShapes,zb as listCoreClosedDomainContracts,_E as listGetProjectionFields,MA as listInvalidProvenanceHistoryStreamIds,fE as listListProjectionFields,FA as listMergeReceipts,Cn as listMutationActions,sb as listMutationEvents,nt as listPmCommandFlagBudgets,Pp as listPmCommandsForFamily,vp as listPmCommandsForTier,V as listPmFlagLexicon,Ax as listPmFlagSpellingInventory,Lp as listPmMcpToolsForProfile,Ne as listProfiles,_x as listTrackerPreflightRecoveryContracts,cp as listWorkspaceSnapshots,xC as loadContextIntentRuntimeLayers,_p as loadCreateTemplateOptions,G_ as loadExtensions,na as loadGraphAuditBaseline,s_ as loadMutationCheckpoint,_ as loadRelationshipGraphAdapter,fn as locateItem,uT as looksLikeGenericKeyValueEntry,rg as mapReadOutputRows,GA as markMergeReceiptReconciled,RT as matchesRuntimeFilters,Iy as maybeRunFirstUseTelemetryPrompt,Bf as measureCorpusShapePlan,cT as mergeAdditiveTags,sO as mergeExtensionBlueprints,WS as mergeHistoryStreams,JS as mergeItemDocuments,qS as mergeJsonDocuments,Lf as mergeLinkedTestTwoTokenEntries,KS as mergeRelationshipEventStreams,Yd as mergeSortedWarnings,Oy as migrateItemFilesToFormat,XT as mutateItem,KT as mutateItemWithHistoryContext,en as mutateWorkspaceJsonWithHistory,Zl as next,hd as normalizeAnnotationTransportOptions,BC as normalizeAssuranceEvaluation,HC as normalizeAssuranceMutation,Df as normalizeBootstrapInvocation,Cs as normalizeDependencyGraphTarget,yA as normalizeDependencySeedId,TA as normalizeDependencySourceKind,St as normalizeExtensionContributionInventory,PA as normalizeInvalidHistoryProvenance,Pb as normalizeItemAddressInvocation,Dt as normalizeItemFormatVersion,sn as normalizeItemId,jt as normalizeItemMetadata,vf as normalizeLegacyExtensionActionSyntax,Xa as normalizeLinkedPath,nT as normalizeParentReferenceValue,xe as normalizeProfileName,on as normalizeRawItemId,Ag as normalizeReadOutputIncludeModeOptions,Yg as normalizeReplayPatchOps,Sn as normalizeSimilarityText,yh as normalizeStatusForRegistry,$t as normalizeStatusInput,_h as normalizeStatusInputWithRegistry,$b as normalizeThrownExitCode,nu as notes,dt as nowIso,Zs as openDurableGraphCache,vs as orderingPredecessors,Ps as orderingSuccessors,DE as packContextCandidates,zd as packRankedContextItems,Tf as packageActivate,gf as packageCatalog,yf as packageDeactivate,_f as packageDescribe,ff as packageDoctor,lf as packageInstall,cf as packageLifecycle,pf as packageList,mf as packageManage,Bm as packageMigrate,hf as packageReload,uf as packageUninstall,Kh as paginateQueryRows,Ha as parseAddEntries,Ba as parseAddGlobEntries,yd as parseAnnotationTextInput,Xb as parseAtomicMutationControls,wf as parseBootstrapCommandName,xf as parseBootstrapGlobalOptions,Nf as parseBootstrapHelpRequest,Ff as parseBootstrapTypeValue,jd as parseContextDepth,Dd as parseContextFocusFields,bC as parseContextIntentDeclarations,Ud as parseContextSections,VE as parseContextSignalSnapshot,lT as parseCsvKv,XA as parseDefectChangeRiskRequest,KA as parseDefectRecurrencePolicy,Zc as parseEvalQuerySet,sa as parseGraphSubcommand,MC as parseHistoryProvenanceFilters,NC as parseIntegerLimit,Ah as parseItemDocument,Yb as parseItemMutationBatch,ST as parseLimit,Rc as parseLinkedTestAssertionEqualsMap,xc as parseLinkedTestAssertionGteMap,Ac as parseLinkedTestBoolean,Ec as parseLinkedTestContextMode,Cc as parseLinkedTestEnvClear,yc as parseLinkedTestEnvSet,Ic as parseLinkedTestJsonEntries,Oc as parseLinkedTestMinLines,bc as parseLinkedTestRegexList,Sc as parseLinkedTestStringList,Va as parseMigrateEntries,sE as parseMultiValueFilter,wb as parseMutationReceipt,hT as parseOptionalNonNegativeInteger,_T as parseOptionalNumber,wC as parsePriority,cE as parsePriorityFilterSet,dg as parseReadOutputSession,ph as parseRegisteredItemFieldAssignments,P as parseRelationshipGraphSnapshot,za as parseRemoveEntries,od as parseSourceLineRange,yT as parseStatusFilterCsv,aE as parseStringFilterSet,dn as parseTags,el as parseTestRunMeasurements,kC as parseType,dE as parseTypeFilterSet,fa as parseUnknownAuthorHistoryEventCoordinates,aS as partitionDecisionEntries,Zg as patchPathToChangedField,ot as pathExists,rf as pauseTask,Qs as persistDurableGraphResult,wT as persistSelectedItemFormat,qE as planCompletedAtBackfill,Le as planProfileApplication,nx as planRelationshipEventBackfill,ia as planRelationshipRemediation,Oa as planSchemaEvolutionMigration,la as planUnknownAuthorHistoryAcknowledgment,pp as planWorkspaceSnapshotRestore,Hy as positionalShapeKey,By as positionalSignatureKey,fO as preflightExtension,On as prepareSimilarityText,jg as printError,$g as printResult,ku as profile,Mu as profileApply,Lu as profileLint,vu as profileList,Pu as profileShow,eh as projectAfterCommandItemSnapshot,Fd as projectContextFocusRows,Zp as projectFleetAttributionAnalytics,LC as projectHistoryProvenance,zr as projectPmDiagnosticOutput,Vr as projectPmDiagnosticText,Jp as projectProvenanceCoverageAnalytics,pd as projectValidateCounts,mA as promoteAssuranceAssertion,OR as pruneCompileCacheGenerations,oA as putAssuranceDeclaration,iA as putAssuranceDeclarationBundle,DT as queryItemMetadataIndex,FT as queryLinkedFileMetadataIndex,GT as querySimilarItemMetadataIndex,tl as queryTestRunMeasurementsBelow,sr as quoteCommandArg,ir as quoteWindowsCommandArg,Bb as rankCommandPaths,Td as readAnnotationEntries,tr as readAuthorEnvironment,ml as readBooleanOption,UE as readContextUsageAffinity,_l as readCsvListOption,Pa as readExtensionMigrationState,it as readFileIfExists,Dn as readFirstStringFromCommanderOptions,Fn as readFirstValueFromCommanderOptions,Kp as readHistoryAnalyticsWindow,Ih as readHistoryEntries,jp as readImprovementLedger,UT as readItemMetadataDerivedIndexState,mn as readLocatedItem,eg as readOutputBudgetCollections,Qh as readOutputContinuationRowCollections,qh as readOutputContinuationRowPaths,yg as readOutputIncludeModeOptions,Zh as readOutputRowCollections,Jh as readOutputRowPaths,lg as readOutputSessionRemainingTokens,Ce as readPmPackageManifest,Sf as readRequiredString,cn as readSettings,kT as readSettingsWithMetadata,Gn as readStringArrayFromCommanderOptions,fl as readStringOption,Gb as readThrownExitCode,py as readVectorizationStatusLedger,OC as readWorkspaceContextIntentContracts,YE as readWorkspaceContextSignals,eS as readWorkspaceMemory,xt as reconcileExtensionCapabilityUsage,rn as reconcileWorkspaceJsonHistory,Q_ as recordAfterCommandAffectedItem,aA as recordAssuranceVerdict,kd as recordClaimSemanticAttribution,GE as recordContextUsageServing,$E as recordContextUsageTouch,jE as recordContextUsageTouches,Pd as recordFocusSemanticAttribution,$p as recordImprovementObservation,vd as recordReleaseSemanticAttribution,HT as refreshItemMetadataDerivedIndex,Aa as refreshMergeAttributeFenceIfInstalled,uy as refreshSearchArtifactsForMutation,Jt as registerHarnessSignalDescriptors,Nh as registerOutputMaterialFieldGroups,Ju as release,sA as removeAssuranceDeclaration,at as removeFileIfExists,rd as renameArtifactsResultKey,xd as renderCalendarMarkdown,Id as renderCalendarToon,Jd as renderContextMarkdown,ka as renderExtensionDescribeMarkdown,Na as renderExtensionSurfaceMarkdown,Gl as renderGuideMarkdown,Db as renderMissingOptionRetry,dS as renderNextMarkdown,Vb as renderPmClosedDomainHelp,ar as renderPmCommand,lr as renderPmCommandAliasMigrationHint,Gp as renderPmCommandVisibilityMarkdown,Sx as renderPmFlagLexiconMarkdown,AT as renderRowsAsCsv,ET as renderRowsAsTable,Wu as reopen,Yy as replayHistoryToTarget,Kg as replayToCanonicalItemDocument,Wg as replayToItemDocument,lS as requireTerminalReason,uS as requireTerminalReasonWithRecovery,Y_ as resetActiveExtensionRuntimeState,Is as resetWorkspaceGraphCache,Vt as resolveAgentSessionContextFromSignals,bd as resolveAnnotationIndex,Ad as resolveAnnotationInput,xh as resolveAuthor,or as resolveAuthorIdentity,rT as resolveBodyFileContent,Uf as resolveBuiltinCorpusShape,Rd as resolveCalendarOutputFormat,Eb as resolveCanonicalPmErrorCodeContract,I_ as resolveCanonicalRelationshipKind,Rh as resolveClaimPrincipal,b_ as resolveCommandOptionPolicyState,bR as resolveCompileCacheGeneration,JE as resolveCompletionTimestamp,T_ as resolveConfiguredPmPackageRoot,gE as resolveContentFieldFilters,kg as resolveContextIntentContract,Gd as resolveContextOutputFormat,$d as resolveContextTokenBudget,bS as resolveCreateExplicitEmptyFlag,YT as resolveEmbeddingProviders,Fa as resolveExtensionInstallSourceIdentity,va as resolveExtensionMigrationStatePath,D_ as resolveExtensionRoots,d_ as resolveFlagValueKind,Dl as resolveGuideOutputFormat,Up as resolveHistoryEpisodeGroupIdentity,PC as resolveHistoryProvenanceDimensions,qy as resolveHistorySubject,Ky as resolveHistoryTarget,$S as resolveHybridSemanticWeight,Tt as resolveImplicitPmRoot,n_ as resolveIsoOrRelative,nE as resolveItemBlockers,Jb as resolveItemMutationDocument,gt as resolveItemTypeRegistry,mh as resolveItemTypesFilePath,cl as resolveLinkedTestFailureExitCode,ha as resolveMergeInstallContext,hE as resolveMissingMetadataFilters,Lb as resolveMissingOptionPlaceholder,Lh as resolveModePairedOutputOmissionReceipt,iS as resolveNextOutputFormat,Gh as resolveOutputOmissionReceipt,g_ as resolvePmCliVersion,pr as resolvePmCommandAlias,Np as resolvePmCommandCapabilityFamily,yS as resolvePmCommandExitContract,Ur as resolvePmCommandOutputBudget,Ib as resolvePmCommandOutputEnvelope,Ly as resolvePmCommandPositionalContract,kp as resolvePmCommandVisibilityTier,Br as resolvePmDiagnosticOutputBudget,Sb as resolvePmErrorCodeContract,Gm as resolvePmFlagSemanticConcept,h_ as resolvePmPackageRootFromModule,Dy as resolvePmPositionalActionContract,zi as resolvePmPositionalActionFlagContracts,K as resolvePmRoot,Ki as resolvePmToolCustomFieldCollision,gT as resolvePriority,Ie as resolveProfile,ya as resolveProjectMergeTypeFolders,Wh as resolveQueryCursorStart,Eg as resolveReadOutputDimensions,Rg as resolveReadOutputEncoding,gg as resolveReadOutputSurface,Fh as resolveReadRowContract,Mb as resolveRecoveryCommandName,uh as resolveRegisteredSearchProvider,fh as resolveRegisteredVectorStoreAdapter,vt as resolveRuntimeFieldRegistry,kt as resolveRuntimeStatusRegistry,JT as resolveSearchCorpusFields,FS as resolveSearchMaxResults,DS as resolveSearchPage,GS as resolveSearchScoreThreshold,jS as resolveSearchTuning,ZT as resolveSemanticCorpusCharacterLimit,wd as resolveSemanticLineageIds,PT as resolveSettingsWithSemanticRuntimeDefaults,xA as resolveSourceContextWritePolicy,Ip as resolveStartTaskInProgressStatus,J as resolveSubcommandFlagContractsForCommand,qm as resolveTelemetryErrorCategory,pS as resolveTerminalReason,S_ as resolveTypeDefinition,E_ as resolveTypeName,CT as resolveTypeSynonym,xT as resolveTypeWorkflows,ua as resolveUnknownAuthorAcknowledgmentSelector,BS as resolveVectorIndexRecovery,ty as resolveVectorStores,ms as resolveWorkspaceRelationshipKindRegistry,Qu as restore,a_ as restoreCheckpointItems,nn as restoreWorkspaceJsonFromHistory,up as restoreWorkspaceSnapshot,lp as restoreWorkspaceSnapshotWithRecovery,Of as runAction,nh as runActiveBeforeMutationHooks,ih as runActiveCommandHandler,oh as runActiveOnIndexHooks,wt as runActiveOnReadHooks,Nt as runActiveOnWriteHooks,sh as runActiveParserOverride,ah as runActivePreflightOverride,dh as runActiveServiceOverride,fs as runActivity,L_ as runAfterCommandHooks,md as runAggregate,Sd as runAnnotationCommand,_d as runAppend,qA as runAssuranceAction,ZA as runAssuranceDispatch,M_ as runBeforeCommandHooks,Nd as runCalendar,tc as runClaim,rc as runClaimNext,ic as runClose,ac as runCloseMany,dc as runComments,$l as runCompletion,Uc as runConfig,Se as runContext,ME as runContextEvaluationCorpus,vE as runContextEvaluationScenario,Dc as runCopy,Nc as runCreate,Fc as runDelete,Ns as runDeps,nd as runDocs,kb as runDuplicates,tp as runEval,np as runEvent,Ga as runExtension,Da as runExtensionMigrateAction,La as runExtensionMigrations,sd as runFiles,dd as runFilesDiscover,ad as runFilesLookup,qp as runFleetAttributionAnalytics,Gc as runFocus,jc as runGc,$c as runGet,aa as runGraph,Fl as runGuide,$a as runHealth,ES as runHistory,fb as runHistoryCompact,hb as runHistoryCompactBulk,Zy as runHistoryRedact,tb as runHistoryRepair,nb as runHistoryRepairAll,Xc as runInit,Vc as runInitAgentGuidance,cc as runLearnings,td as runLinkedArtifacts,pl as runLinkedTests,fd as runList,rp as runMeet,QS as runMergeDriver,Ea as runMergeInstall,$A as runMergeReceiptReport,ob as runMergeReconcile,Qd as runNext,pc as runNotes,Lc as runPlan,Sp as runProfileApply,Ep as runProfileLint,Cp as runProfileList,Ap as runProfileShow,Yp as runProvenanceCoverageAnalytics,hO as runRegisteredCommandForTest,AO as runRegisteredCommandOverrideForTest,IO as runRegisteredExporterForTest,TO as runRegisteredHookForTest,xO as runRegisteredImporterForTest,RO as runRegisteredMigrationForTest,gO as runRegisteredMutationGuardForTest,yO as runRegisteredParserOverrideForTest,CO as runRegisteredPreflightOverrideForTest,EO as runRegisteredRendererOverrideForTest,bO as runRegisteredSearchProviderForTest,SO as runRegisteredServiceOverrideForTest,OO as runRegisteredVectorStoreAdapterForTest,Fe as runReindex,nc as runRelease,op as runRemind,gb as runReopen,sc as runRestore,Ra as runSchemaEvolutionMigration,Qc as runSearch,zf as runSearchRefreshWorkerEntrypoint,jl as runStartBackgroundRun,nl as runStats,il as runTelemetry,gp as runTemplatesList,hp as runTemplatesSave,Tp as runTemplatesShow,ll as runTest,ul as runTestAll,Ul as runTestRunsList,Bl as runTestRunsLogs,Vl as runTestRunsResume,Hl as runTestRunsStatus,zl as runTestRunsStop,Wl as runTestRunsWorker,wc as runUpdate,kc as runUpdateMany,be as runUpgrade,ud as runValidate,bf as runWithActiveExtensions,Wt as runWithAgentSessionContext,Ng as runWithContextIntentContracts,IC as runWithDiscoveredContextIntentContracts,qt as runWithHarnessDetectionSignals,Zt as runWithWorkspaceHarnessSignalDescriptors,ze as runWithWorkspaceRecipe,vS as runWorkspaceTransactionGc,oa as saveGraphAuditBaseline,AA as scanExtensionHostVersions,pa as scanHistoryAuthorAttribution,Gt as scanItemFormatVersions,gn as scanMutationSecrets,LA as scanProvenanceResolverHealth,Nn as scanStaleInProgressItems,jA as scanStorageIntegrity,mu as schema,Au as schemaAddField,yu as schemaAddStatus,gu as schemaAddType,Ou as schemaApplyPreset,Ru as schemaInferTypes,_u as schemaList,Su as schemaListFields,Nu as schemaRemapStatus,Eu as schemaRemoveField,Cu as schemaRemoveStatus,Tu as schemaRemoveType,Iu as schemaRenameField,xu as schemaRenameType,hu as schemaShow,bu as schemaShowField,wu as schemaShowStatus,Hb as scoreCommandPathMatch,IE as scoreContextCandidates,NE as scoreContextCandidatesWithActiveExtensions,Rn as scoreItemSimilarity,fx as scorePmRefusalClosure,xn as scorePreparedItemSimilarity,hx as scoreTrackerPreflightRecoveryClosure,Jl as search,nS as searchWorkspaceMemory,oS as searchWorkspaceMemoryReadResult,jh as selectCursorSemanticOptions,vl as selectImportAuthor,rS as selectWorkspaceMemory,tS as selectWorkspaceMemoryRollups,Ld as semanticAttributionAffinity,Ty as sentryCaptureCliError,gy as sentryFinishCommandSpan,Cy as sentryFlush,yy as sentryLogCliUsageError,_y as sentrySetCommandContext,hy as sentryStartCommandSpan,Ht as serializeItemDocument,Wb as serializeNdjsonRows,Kb as serializeNdjsonStream,J_ as setActiveCommandContext,q_ as setActiveCommandResult,B_ as setActiveExtensionCommands,H_ as setActiveExtensionHooks,z_ as setActiveExtensionParsers,V_ as setActiveExtensionPreflight,X_ as setActiveExtensionRegistrations,K_ as setActiveExtensionRenderers,W_ as setActiveExtensionServices,bh as setFocusedItem,xy as shouldCompletePlanOnClose,ra as shouldPersistDurableGraphCache,LT as shouldRunSearchRefreshInForeground,uc as similarityAdvisoryWarnings,Yh as sliceReadOutputRowCollection,Za as sortLinkedArtifacts,aT as splitAcceptanceCriteria,by as splitCommaList,Ut as splitFrontMatter,Sg as stabilizeReadOutputReceiptEstimates,D as stableStringify,P_ as stableValueEquals,tf as startTask,Ny as startTelemetryCommand,eu as stats,hh as statusIsTerminal,If as stripGlobalBootstrapTokens,ab as subscribeMutationEventBatches,db as subscribeMutationEvents,Bp as summarizeAgentModelProvenance,zp as summarizeAgentProvenance,PE as summarizeContextEvaluationReports,sl as summarizeContextPreflight,GC as summarizeHistoryProvenance,Wc as summarizeInitResult,DA as summarizeMergeReceipt,OS as supportsCreateExplicitEmpty,vb as supportsItemIdAlias,m_ as suppressHostOutput,B as syncRelationshipGraphAdapter,pO as synthesizeExtensionManifest,Vi as toCompletionFlagString,Xd as toContextFocusItem,Vd as toContextPackingSummary,Wd as toContextRankingSummary,Qm as toErrorMessage,gl as toEstimatedMinutesValue,mC as toExtensionFlagDefinitions,El as toImportBoolean,Rl as toImportConfidence,Al as toImportInteger,wl as toImportLinkedDocs,Nl as toImportLinkedFiles,kl as toImportLinkedTests,Il as toImportLogEntries,xl as toImportNormalizedEnum,Ol as toImportNumberMap,Tl as toImportPriority,Cl as toImportStatus,Sl as toImportStringList,bl as toImportStringMap,yl as toImportTags,Eh as toItemRecord,hl as toNonEmptyImportString,Zm as toNonEmptyStringOrUndefined,Xg as toReplayDocument,bn as tokenizeSimilarityText,lb as translateHostEnvironmentFault,Vu as update,Cf as upgrade,Du as validate,YC as validateAssertionDefinition,qC as validateAssuranceDocument,JC as validateGateDefinition,Zb as validateItemMutationRows,ed as validateLinkedPaths,XC as validateMeasurementDefinition,iT as validateMissingParentReference,Tg as validateReadOutputOptions,TT as validateSprintOrReleaseValue,O_ as validateTypeOptions,yb as verifyCliFlagInvocationParity,Uy as verifyExplicitPositionalSlotCensus,qg as verifyHistoryChain,Jg as verifyHistoryChainWithVersion,Qy as verifyHistoryEntries,Vy as verifyPmCliGrammar,zy as verifyPmCommandPositionalContracts,Ex as verifyPmFlagLexicon,px as verifyPmRecoveryKindRuntimeCoverage,Pm as verifyPmRecoveryProducerRuntimeCoverage,cx as verifyPmRecoveryReferences,dx as verifyPmRefusalReachability,Vn as verifyToolOptionCliParity,po as withFlagAliasMetadata,ub as withHostEnvironmentBoundary,xs as workspaceGraphCache,Ed as wrapOwnershipConflict,Ub as wrapThrownErrorForSentry,rr as writeAuthorEnvironment,st as writeFileAtomic,i_ as writeMutationCheckpoint,vT as writeSettings,Gg as writeStdout,ly as writeVectorizationStatusLedger,tn as writeWorkspaceJsonWithHistory};
|
|
6
6
|
//# sourceMappingURL=sdk.js.map
|