@unbrained/pm-cli 2026.8.4 → 2026.8.5
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 +39 -13
- package/dist/cli/error-guidance.js +4 -4
- package/dist/cli/register-structured-mutation.d.ts +2 -0
- package/dist/cli/register-structured-mutation.js +124 -12
- package/dist/cli-bundle/bundle-manifest.json +407 -407
- package/dist/cli-bundle/chunks/append-VXXGOXSG.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-QVO3VTA4.js → chunk-2WFXWAYX.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NM5G7RLU.js → chunk-3FTILRJ2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-VH2EAGUG.js → chunk-42E7YPLG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-RB65T4RX.js → chunk-43HQQI6S.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-J4EPW4GT.js → chunk-45G53IU4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PQXEB7W4.js → chunk-4VN6GS4U.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-4YUBDMQM.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-D2MBVMVE.js → chunk-54FNT7U2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NRDKVOUE.js → chunk-5ZBOIPGP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-3XZYTRPC.js → chunk-6MSQJOTG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-GOICHIX4.js → chunk-7A5OT5J2.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HTYC76A4.js → chunk-7C4PTJG6.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BKMZTZYL.js → chunk-A62CYISG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-5H47J5FG.js → chunk-BPELKUQD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HE3DZFN4.js → chunk-BXQLRKWF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-BLINBTMX.js → chunk-CSI3WS5I.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KH4GVBMC.js → chunk-DXDREUXT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-KIKLF2W4.js → chunk-E2RKBKWB.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-377OOXUF.js → chunk-EGJ4JTUG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SULWTPQO.js → chunk-FPBQHMFT.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-V5K52PYW.js → chunk-GE4KCSZP.js} +35 -35
- package/dist/cli-bundle/chunks/{chunk-NPUJ7OLK.js → chunk-HNFD72UK.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-QMWUL66F.js → chunk-HWRRMBJO.js} +5 -5
- package/dist/cli-bundle/chunks/chunk-L3AZOELJ.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-CGY5I2GO.js → chunk-LKDGK44W.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-LN2WFEU4.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-ZSH4GNBH.js → chunk-M72BKL5Q.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HQ2WU7OY.js → chunk-MHK6LIWE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-H6FITE7D.js → chunk-NE5VRDAI.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NY4T3JWN.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-DCJ6CM6F.js → chunk-OMXVBQ2N.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-OPVH7SKD.js +8 -0
- package/dist/cli-bundle/chunks/{chunk-CU5ENFNP.js → chunk-OTHLDSFP.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NH35JNK5.js → chunk-PMXJEU3F.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-SVDH5CHC.js → chunk-Q35VBGOQ.js} +4 -4
- package/dist/cli-bundle/chunks/{chunk-5PZGZMPG.js → chunk-R546TPDE.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Q5F6OI7C.js → chunk-RKAVWO3O.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JMKVCQSE.js → chunk-SSF4PIUR.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-PA5XRN2A.js → chunk-UN66FZRO.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-FQ4EFFDU.js → chunk-UP7DTVMD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NFF3JAQR.js → chunk-UZBWIUYD.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-2POYGY53.js → chunk-V3774P7D.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-B5ZLCD5Z.js → chunk-V3EUXXOF.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-6S7I3UKV.js → chunk-VCKLFEUN.js} +19 -19
- package/dist/cli-bundle/chunks/{chunk-PYYPQLHC.js → chunk-VN5VITU3.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-WRL4KNDL.js +20 -0
- package/dist/cli-bundle/chunks/{chunk-UJHUR3LZ.js → chunk-XCEZYMNI.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-JDPKBV5P.js → chunk-YEWNL576.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-OB7TRZ2G.js → chunk-YSO3YFZ4.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-UVZREFZU.js → chunk-ZYHOB3SN.js} +2 -2
- package/dist/cli-bundle/chunks/close-VZ3OQPN5.js +2 -0
- package/dist/cli-bundle/chunks/close-many-SB4TI27P.js +2 -0
- package/dist/cli-bundle/chunks/comments-BIF3Q4KY.js +2 -0
- package/dist/cli-bundle/chunks/copy-6AI5Z57X.js +2 -0
- package/dist/cli-bundle/chunks/{create-RLLCBCXM.js → create-XLKTXTUF.js} +2 -2
- package/dist/cli-bundle/chunks/delete-ZY2VHQTP.js +2 -0
- package/dist/cli-bundle/chunks/{deps-J4ONTF4X.js → deps-ITTY3GIC.js} +2 -2
- package/dist/cli-bundle/chunks/{docs-YL2DJ4WD.js → docs-W4OSRTYR.js} +2 -2
- package/dist/cli-bundle/chunks/{files-NGNAIYKK.js → files-EOK4AZI4.js} +2 -2
- package/dist/cli-bundle/chunks/focus-DLBNWL7L.js +2 -0
- package/dist/cli-bundle/chunks/{history-compact-HW62K5XP.js → history-compact-7UGTMLL3.js} +2 -2
- package/dist/cli-bundle/chunks/{history-redact-HVBKUJOW.js → history-redact-4DZRMD6Z.js} +2 -2
- package/dist/cli-bundle/chunks/{history-repair-OPNBH5JJ.js → history-repair-UPOSZW5R.js} +2 -2
- package/dist/cli-bundle/chunks/{learnings-F36PZXT6.js → learnings-GMRNCBS3.js} +2 -2
- package/dist/cli-bundle/chunks/{profile-N3XMWBM7.js → profile-2MUUMHRE.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-BKGHBI7Y.js → register-list-query-LR3SQ5ZF.js} +2 -2
- package/dist/cli-bundle/chunks/register-mutation-SUOHFVWM.js +20 -0
- package/dist/cli-bundle/chunks/register-operations-ARRRKOVN.js +2 -0
- package/dist/cli-bundle/chunks/{register-setup-KWV6UD77.js → register-setup-O6AYP6NP.js} +2 -2
- package/dist/cli-bundle/chunks/restore-ZVCVHTB5.js +2 -0
- package/dist/cli-bundle/chunks/{schema-4PJQMGUY.js → schema-FJ4EA3XF.js} +2 -2
- package/dist/cli-bundle/chunks/update-YHV52CSS.js +2 -0
- package/dist/cli-bundle/chunks/update-many-M6YHVNXM.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-7J5TUBUJ.js +153 -0
- package/dist/cli-bundle/focused-chunks/{chunk-ONIX2KKW.js → chunk-A7BJ5SS6.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-B7LJWAZE.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-QM2BIVK7.js → chunk-BIMTMOS7.js} +3 -3
- package/dist/cli-bundle/focused-chunks/{chunk-BOGRY7M6.js → chunk-FGKY4MBE.js} +10 -10
- package/dist/cli-bundle/focused-chunks/chunk-G6ETT4QK.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-C2QSL62X.js → chunk-GJ2TG2CW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-RO5BQFG3.js → chunk-IPWSFADF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-UFCPSWIL.js → chunk-MJ7HWSFK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-2VIIXOAD.js → chunk-N5XU5UVK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-PG2RIZBX.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-OYTK4VNH.js → chunk-PIMMYG7Q.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-K37BB4JL.js → chunk-QVHKCI4T.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-SQXVGHMH.js → chunk-RUR5I3TK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-SV3O7TSH.js +8 -0
- package/dist/cli-bundle/focused-chunks/{chunk-L6A4NVQC.js → chunk-UIL2M2NA.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-WVGJAD7L.js → chunk-VLYOEYML.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-W7BJEWHX.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-DQ4PLKEE.js → chunk-WEM2E2PE.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-WVIVUWVL.js +5 -0
- package/dist/cli-bundle/focused-chunks/chunk-Y4LDYLLT.js +2 -0
- package/dist/cli-bundle/main.js +4 -4
- package/dist/cli-bundle/sdk-authoring.js +1 -1
- package/dist/cli-bundle/sdk-contracts.js +1 -1
- package/dist/cli-bundle/sdk-core.js +28 -28
- 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 +1 -1
- 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 +1 -1
- package/dist/core/extensions/loader.js +5 -2
- package/dist/core/item/item-format.js +14 -20
- package/dist/core/shared/constants.js +3 -2
- package/dist/core/store/item-store.js +2 -2
- package/dist/core/store/settings.js +2 -2
- package/dist/mcp/server.js +12 -6
- package/dist/mcp/tool-definitions.js +14 -7
- package/dist/sdk/cli-contracts/agent-output-contracts.d.ts +18 -18
- package/dist/sdk/cli-contracts/agent-output-contracts.js +51 -23
- package/dist/sdk/cli-contracts/commander-mutation-options.js +26 -2
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +2 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +28 -2
- package/dist/sdk/cli-contracts/registration-helpers.js +4 -2
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +10 -2
- package/dist/sdk/cli-contracts/runtime-contracts.js +20 -5
- package/dist/sdk/cli-contracts/tool-schema.js +4 -2
- package/dist/sdk/cli-contracts.d.ts +2 -2
- package/dist/sdk/cli-contracts.js +4 -4
- package/dist/sdk/cli-program.js +3 -3
- package/dist/sdk/contracts.d.ts +1 -0
- package/dist/sdk/contracts.js +3 -2
- package/dist/sdk/dependency-provenance.d.ts +2 -0
- package/dist/sdk/dependency-provenance.js +7 -3
- package/dist/sdk/error-code-catalog.d.ts +23 -0
- package/dist/sdk/error-code-catalog.js +25 -5
- package/dist/sdk/generated-error-code-catalog.js +499 -3
- package/dist/sdk/graph/governance.js +3 -3
- package/dist/sdk/graph/remediation.js +3 -3
- package/dist/sdk/graph/run.js +4 -8
- package/dist/sdk/index.d.ts +2 -1
- package/dist/sdk/index.js +4 -3
- package/dist/sdk/item-transaction.d.ts +51 -6
- package/dist/sdk/item-transaction.js +132 -22
- package/dist/sdk/lifecycle/create.d.ts +4 -0
- package/dist/sdk/lifecycle/create.js +26 -10
- package/dist/sdk/lifecycle-policy.d.ts +9 -0
- package/dist/sdk/lifecycle-policy.js +22 -9
- package/dist/sdk/merge/driver.js +6 -3
- package/dist/sdk/output-contracts.d.ts +67 -0
- package/dist/sdk/output-contracts.js +173 -0
- package/dist/sdk/package-import-adapters.js +2 -2
- package/dist/sdk/structured-mutations.d.ts +23 -0
- package/dist/sdk/structured-mutations.js +219 -10
- package/dist/sdk/workspace-snapshot.js +58 -12
- package/dist/sdk/workspace.js +30 -4
- package/docs/COMMANDS.md +40 -10
- package/docs/EXTENSIONS.md +1 -1
- package/docs/MERGE_SAFETY.md +2 -0
- package/docs/PR_REVIEW_LOOP.md +10 -4
- package/docs/README.md +22 -22
- package/docs/RELEASING.md +3 -3
- package/docs/SCRIPTING.md +32 -9
- package/docs/SDK.md +91 -11
- package/docs/SELF_DESCRIBING_CONTEXT_CONTRACTS.md +13 -0
- package/docs/TESTING.md +25 -0
- package/docs/examples/sdk-contract-consumer/README.md +11 -1
- package/docs/examples/sdk-contract-consumer/package.json +2 -1
- package/docs/examples/sdk-contract-consumer/parse-receipt.mjs +22 -0
- package/marketplace.json +2 -2
- package/package.json +3 -2
- 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 +292 -14
- package/dist/cli-bundle/chunks/append-DHBRLHHS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-2INN52SU.js +0 -8
- package/dist/cli-bundle/chunks/chunk-6RSK4IFN.js +0 -20
- package/dist/cli-bundle/chunks/chunk-ASJJKA57.js +0 -2
- package/dist/cli-bundle/chunks/chunk-IYAVULRN.js +0 -2
- package/dist/cli-bundle/chunks/chunk-RRQBHQOV.js +0 -2
- package/dist/cli-bundle/chunks/chunk-XBLOD5TZ.js +0 -2
- package/dist/cli-bundle/chunks/close-VLHNN6YB.js +0 -2
- package/dist/cli-bundle/chunks/close-many-LSJNZKU6.js +0 -2
- package/dist/cli-bundle/chunks/comments-AAIA6A6X.js +0 -2
- package/dist/cli-bundle/chunks/copy-Z7YMLEHN.js +0 -2
- package/dist/cli-bundle/chunks/delete-KNOHHQJM.js +0 -2
- package/dist/cli-bundle/chunks/focus-LFRCGALV.js +0 -2
- package/dist/cli-bundle/chunks/register-mutation-GU3DCECN.js +0 -20
- package/dist/cli-bundle/chunks/register-operations-PTWH727R.js +0 -2
- package/dist/cli-bundle/chunks/restore-4HZSLILR.js +0 -2
- package/dist/cli-bundle/chunks/update-E6LPS5IV.js +0 -2
- package/dist/cli-bundle/chunks/update-many-OSIC6KRO.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-5MTKO7TV.js +0 -153
- package/dist/cli-bundle/focused-chunks/chunk-6GIZK7VQ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-AOP2WIZZ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-CL75YW32.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-E7OFMWGT.js +0 -8
- package/dist/cli-bundle/focused-chunks/chunk-I5F5UK3Q.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-T5TSY36R.js +0 -5
- package/dist/cli-bundle/focused-chunks/chunk-VT6BF2IX.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{s as r,t as T,u as j,v as q,w as f}from"./focused-chunks/chunk-
|
|
1
|
+
import{s as r,t as T,u as j,v as q,w as f}from"./focused-chunks/chunk-GJ2TG2CW.js";import"./focused-chunks/chunk-UIL2M2NA.js";import"./focused-chunks/chunk-W7BJEWHX.js";import"./focused-chunks/chunk-VLYOEYML.js";import{V as A,W as B,X as C,n as k,o as v,p as E,q as R,r as U,y as z}from"./focused-chunks/chunk-FGKY4MBE.js";import"./focused-chunks/chunk-G6ETT4QK.js";import{$ as x,X as n,Y as d,Z as p,_ as s,aa as i,ba as l,ca as m,da as u,ea as a,fa as c,ga as g,ha as y,ia as b,qa as w,ra as h,sa as D,ta as I,ua as _}from"./focused-chunks/chunk-MJ7HWSFK.js";import"./focused-chunks/chunk-RUR5I3TK.js";import"./focused-chunks/chunk-N5XU5UVK.js";import"./focused-chunks/chunk-PIMMYG7Q.js";import"./focused-chunks/chunk-7J5TUBUJ.js";import"./focused-chunks/chunk-BIMTMOS7.js";import"./focused-chunks/chunk-B7LJWAZE.js";import"./focused-chunks/chunk-Y4LDYLLT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="708c1c46-ce32-56ff-812f-71f825ad7ec4")}catch{}})();export{k as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,n as PM_MUTATION_ACTION_CONTRACTS,q as _testOnlyHealthCommand,h as _testOnlySimilarity,B as _testOnlyValidateCommand,U as acknowledgeUnknownAuthorHistoryEvents,v as classifyHistoryAuthorEvent,p as evaluateMutationGuard,_ as evaluateSimilarityGovernance,I as findDuplicateClusters,D as findSimilarItems,i as getMutationActionContract,E as inspectHistoryAuthorStream,y as inspectStaleInProgressItems,s as isMutationAction,a as jaccardSimilarity,x as listMutationActions,l as normalizeSimilarityText,u as prepareSimilarityText,A as projectValidateCounts,T as runGc,j as runHealth,f as runReindex,r as runUpgrade,C as runValidate,R as scanHistoryAuthorAttribution,d as scanMutationSecrets,b as scanStaleInProgressItems,z as scanStorageIntegrity,c as scoreItemSimilarity,g as scorePreparedItemSimilarity,w as similarityAdvisoryWarnings,m as tokenizeSimilarityText};
|
|
2
2
|
//# sourceMappingURL=sdk-governance.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{B as ne,C as ie,D as se,E as oe,F as ae,G as pe,H as de,I as ce,J as le,K as he,L as fe,M as ge,N as ue,O as me,P as ye,Q as we,R as be,a as Ie,b as De,c as Te,d as Ce,e as $e,f as Oe,g as H,h as B,i as W,j,k as z,l as F,m as U,n as L,o as V,p as K,q,r as J,s as Z,t as Q,u as X,v as Y,w as ee,x as te,y as re,z as He}from"./focused-chunks/chunk-E7OFMWGT.js";import{c as O,d as P,e as N,f as M,g as v,h as k}from"./focused-chunks/chunk-I5F5UK3Q.js";import{a as Pe,b as Ne,c as Me,d as ve}from"./focused-chunks/chunk-RO5BQFG3.js";import"./focused-chunks/chunk-5MTKO7TV.js";import{$ as _,aa as S,ba as Ee,ca as Se,da as f,ea as xe}from"./focused-chunks/chunk-QM2BIVK7.js";import"./focused-chunks/chunk-6GIZK7VQ.js";import{aa as b,la as $}from"./focused-chunks/chunk-CL75YW32.js";import{createHash as Re}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4586a8b2-07c8-53d4-9c5d-ca557ee07977")}catch{}})();var A=1;function g(e){e?.throwIfAborted()}function l(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function u(e,t,r={}){let n=Date.parse(r.createdAt??new Date().toISOString());if(!Number.isFinite(n))throw new TypeError("Relationship graph createdAt must be a valid timestamp");let i=e.nodes(),a=e.edges(),s=t.list();return Object.freeze({version:A,fingerprint:Re("sha256").update(b({nodes:i,edges:a,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:i,edges:a,kinds:s})}function _e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function y(e){if(!_e(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==A)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(i=>typeof i!="string"))throw new TypeError("Relationship graph snapshot nodes must be strings");if(!Array.isArray(e.edges)||!Array.isArray(e.kinds))throw new TypeError("Relationship graph snapshot edges and kinds must be arrays");if(typeof e.created_at!="string"||!Number.isFinite(Date.parse(e.created_at)))throw new TypeError("Relationship graph snapshot created_at must be valid");if(typeof e.fingerprint!="string")throw new TypeError("Relationship graph snapshot fingerprint must be a string");let t=new _([]);for(let i of e.kinds)t.register(i);let r=new f(e.nodes,e.edges,t),n=u(r,t,{createdAt:e.created_at});if(n.fingerprint!==e.fingerprint)throw new TypeError("Relationship graph snapshot fingerprint mismatch");return{snapshot:n,registry:t,graph:r}}async function c(e,t){l(e.name,"adapter name");let r=l(t.workspace,"workspace");g(t.signal);let n=await e.read({...t,workspace:r});return g(t.signal),n===null?null:y(n)}async function R(e,t){let r=l(t.workspace,"workspace"),n=y(t.snapshot).snapshot,i=await c(e,{workspace:r,signal:t.signal});if(i?.snapshot.fingerprint===n.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:n.fingerprint,previous_fingerprint:i.snapshot.fingerprint,node_count:n.nodes.length,edge_count:n.edges.length};if(g(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:i?.snapshot.fingerprint??null}),(await c(e,{workspace:r,signal:t.signal}))?.snapshot.fingerprint!==n.fingerprint)throw new Error(`Relationship graph adapter "${e.name}" did not expose the replaced snapshot`);return{adapter:e.name,workspace:r,disposition:"written",fingerprint:n.fingerprint,...i?{previous_fingerprint:i.snapshot.fingerprint}:{},node_count:n.nodes.length,edge_count:n.edges.length}}function ke(e,t={}){let r=e.map(y),n=new Map;for(let s of r)for(let o of s.snapshot.kinds){let d=n.get(o.kind);if(d&&b(d)!==b(o))throw new TypeError(`Conflicting federated relationship kind: ${o.kind}`);n.set(o.kind,o)}let i=new _([...n.values()].sort((s,o)=>s.kind.localeCompare(o.kind))),a=new f(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),i);return u(a,i,t)}var m=class{name;#e=new Map;constructor(t="memory"){this.name=l(t,"adapter name")}async read(t){g(t.signal);let r=this.#e.get(l(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){g(t.signal);let r=l(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.set(r,structuredClone(y(t.snapshot).snapshot))}async clear(t){g(t.signal);let r=l(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.delete(r)}};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="423d6e5d-93e5-5f29-93e0-11ddca9c3156")}catch{}})();function x(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Ae(e){let t=x(e.nodeCount,"nodeCount"),r=x(e.edgeStride??1,"edgeStride"),n=e.topology??"chain";if(!["chain","star","disconnected"].includes(n))throw new TypeError(`Unsupported relationship graph topology: ${n}`);let i=(e.kind??"related").trim(),a=(e.idPrefix??"node").trim();if(!i||!a)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let s=n==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:s,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let o=0;o<t;o+=1)yield`${a}-${o}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let o=r;o<t;o+=r)yield{source:`${a}-${n==="star"?0:o-r}`,target:`${a}-${o}`,kind:i}}}}}function h(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function I(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=S(),i=u(new f(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),a=u(new f(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],n),n,{createdAt:"2026-01-02T00:00:00.000Z"}),s=[];h(await c(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let o=await R(e,{workspace:r,snapshot:i});h(o.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),h((await c(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),h((await R(e,{workspace:r,snapshot:i})).disposition==="current","identical sync must be idempotent"),s.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:a,expected_fingerprint:i.fingerprint}),h((await c(e,{workspace:r}))?.snapshot.fingerprint===a.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let w=!1;try{await e.replace({workspace:r,snapshot:i,expected_fingerprint:i.fingerprint})}catch{w=!0}return h(w,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:a.fingerprint}),h(await c(e,{workspace:r})===null,"clear must remove the workspace"),s.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(s),clear_supported:e.clear!==void 0}}function Ge(e){return I(new m,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2c3df51e-6b10-5da6-8340-126465d9c434")}catch{}})();import{createHash as D}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54a3448c-719c-5404-a9b9-c3072a2fdce2")}catch{}})();function T(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function pt(e,t){let r=T(t.migrationId,"migrationId"),n=T(t.author,"author"),i=Date.parse(t.timestamp);if(!Number.isFinite(i))throw new TypeError("Relationship backfill timestamp must be valid");let a=new Date(i).toISOString(),s=k(e,void 0,t.registry),o=s.graph.nodes(),d=s.graph.edges().map(p=>{let E=D("sha256").update(JSON.stringify([r,p.kind,p.source,p.target,p.createdAt??null,p.author??null,p.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${E}`,relationshipId:`migration:${r}:${E}`,action:"add",edge:p,author:n,timestamp:a,reason:`Backfill ${r} from legacy item metadata`})}),w=D("sha256").update(JSON.stringify({migrationId:r,nodes:o,events:d})).digest("hex"),C=new Set([...t.existingEventIds??[]].filter(p=>typeof p=="string").map(p=>p.trim()).filter(Boolean)),G=d.filter(p=>!C.has(p.eventId));return Object.freeze({migration_id:r,fingerprint:w,nodes:o,events:Object.freeze(G),edge_count:d.length,skipped_existing_count:d.length-G.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.dangling.legacy_terminal.length})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b6d6f773-8336-5e0e-8dfb-d5729caa18d9")}catch{}})();export{ae as GRAPH_DURABLE_CACHE_MIN_ITEMS,oe as GRAPH_DURABLE_CACHE_VERSION,$ as GRAPH_SUBCOMMAND_VALUES,m as MemoryRelationshipGraphAdapter,A as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Ie as RelationshipEventLog,De as RelationshipEventStore,f as RelationshipGraph,_ as RelationshipKindRegistry,ee as WorkspaceGraphCache,Ce as analyzeGraphImpact,$e as analyzeKnowledgeGraph,Te as analyzeRelationshipExecution,se as analyzeRelationshipSchedule,k as assembleWorkspaceRelationshipGraph,Ge as assertMemoryRelationshipGraphAdapterConformance,Se as assertRelationshipEdgeAllowed,I as assertRelationshipGraphAdapterConformance,Z as auditWorkspaceRelationshipGraph,He as buildRelationshipContext,he as clearDurableGraphCache,Pe as collectBlockedByIds,M as collectDanglingDependencyReferences,Me as collectDependencyBlockedIds,N as collectDuplicateDependencyRows,J as collectDuplicateRelationshipEdgeGroups,v as collectMissingDependencyTargetIds,X as collectNewOrderingCycleWarnings,K as collectOrderingCycles,Oe as compareRelationshipSnapshots,ve as computeActionabilityReport,ne as computeRelationshipCentrality,V as computeRelationshipDominators,Y as computeWorkspaceGraphFingerprint,Ae as createRelationshipGraphScaleFixture,u as createRelationshipGraphSnapshot,S as createRelationshipKindRegistry,xe as dependencyToRelationship,U as detectRelationshipCommunities,Q as diffRelationshipAuditSnapshots,pe as durableGraphCachePath,fe as durableGraphCacheStatus,z as enumerateRelationshipPaths,ke as federateRelationshipGraphSnapshots,L as findRedundantRelationshipEdges,ie as findRelationshipCutStructure,F as forEachMatchedRelationshipEdge,q as formatDuplicateEdgeGroup,de as graphAuditBaselinePath,H as hierarchyAncestors,B as hierarchyDescendants,Ee as isOrderingRelationshipKind,ue as loadGraphAuditBaseline,c as loadRelationshipGraphAdapter,O as normalizeDependencyGraphTarget,ce as openDurableGraphCache,W as orderingPredecessors,j as orderingSuccessors,we as parseGraphSubcommand,y as parseRelationshipGraphSnapshot,le as persistDurableGraphResult,pt as planRelationshipEventBackfill,ye as planRelationshipRemediation,re as resetWorkspaceGraphCache,Ne as resolveItemBlockers,P as resolveWorkspaceRelationshipKindRegistry,be as runGraph,me as saveGraphAuditBaseline,ge as shouldPersistDurableGraphCache,R as syncRelationshipGraphAdapter,te as workspaceGraphCache};
|
|
1
|
+
import{B as ne,C as ie,D as se,E as oe,F as ae,G as pe,H as de,I as ce,J as le,K as he,L as fe,M as ge,N as ue,O as me,P as ye,Q as we,R as be,a as Ie,b as De,c as Te,d as Ce,e as $e,f as Oe,g as H,h as B,i as W,j,k as z,l as F,m as U,n as L,o as V,p as K,q,r as J,s as Z,t as Q,u as X,v as Y,w as ee,x as te,y as re,z as He}from"./focused-chunks/chunk-SV3O7TSH.js";import{c as O,d as P,e as N,f as M,g as v,h as k}from"./focused-chunks/chunk-G6ETT4QK.js";import{a as Pe,b as Ne,c as Me,d as ve}from"./focused-chunks/chunk-IPWSFADF.js";import"./focused-chunks/chunk-7J5TUBUJ.js";import{$ as _,aa as S,ba as Ee,ca as Se,da as f,ea as xe}from"./focused-chunks/chunk-BIMTMOS7.js";import"./focused-chunks/chunk-B7LJWAZE.js";import{aa as b,la as $}from"./focused-chunks/chunk-Y4LDYLLT.js";import{createHash as Re}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4586a8b2-07c8-53d4-9c5d-ca557ee07977")}catch{}})();var A=1;function g(e){e?.throwIfAborted()}function l(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function u(e,t,r={}){let n=Date.parse(r.createdAt??new Date().toISOString());if(!Number.isFinite(n))throw new TypeError("Relationship graph createdAt must be a valid timestamp");let i=e.nodes(),a=e.edges(),s=t.list();return Object.freeze({version:A,fingerprint:Re("sha256").update(b({nodes:i,edges:a,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:i,edges:a,kinds:s})}function _e(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function y(e){if(!_e(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==A)throw new TypeError(`Unsupported relationship graph snapshot version: ${String(e.version)}`);if(!Array.isArray(e.nodes)||e.nodes.some(i=>typeof i!="string"))throw new TypeError("Relationship graph snapshot nodes must be strings");if(!Array.isArray(e.edges)||!Array.isArray(e.kinds))throw new TypeError("Relationship graph snapshot edges and kinds must be arrays");if(typeof e.created_at!="string"||!Number.isFinite(Date.parse(e.created_at)))throw new TypeError("Relationship graph snapshot created_at must be valid");if(typeof e.fingerprint!="string")throw new TypeError("Relationship graph snapshot fingerprint must be a string");let t=new _([]);for(let i of e.kinds)t.register(i);let r=new f(e.nodes,e.edges,t),n=u(r,t,{createdAt:e.created_at});if(n.fingerprint!==e.fingerprint)throw new TypeError("Relationship graph snapshot fingerprint mismatch");return{snapshot:n,registry:t,graph:r}}async function c(e,t){l(e.name,"adapter name");let r=l(t.workspace,"workspace");g(t.signal);let n=await e.read({...t,workspace:r});return g(t.signal),n===null?null:y(n)}async function R(e,t){let r=l(t.workspace,"workspace"),n=y(t.snapshot).snapshot,i=await c(e,{workspace:r,signal:t.signal});if(i?.snapshot.fingerprint===n.fingerprint)return{adapter:e.name,workspace:r,disposition:"current",fingerprint:n.fingerprint,previous_fingerprint:i.snapshot.fingerprint,node_count:n.nodes.length,edge_count:n.edges.length};if(g(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:i?.snapshot.fingerprint??null}),(await c(e,{workspace:r,signal:t.signal}))?.snapshot.fingerprint!==n.fingerprint)throw new Error(`Relationship graph adapter "${e.name}" did not expose the replaced snapshot`);return{adapter:e.name,workspace:r,disposition:"written",fingerprint:n.fingerprint,...i?{previous_fingerprint:i.snapshot.fingerprint}:{},node_count:n.nodes.length,edge_count:n.edges.length}}function ke(e,t={}){let r=e.map(y),n=new Map;for(let s of r)for(let o of s.snapshot.kinds){let d=n.get(o.kind);if(d&&b(d)!==b(o))throw new TypeError(`Conflicting federated relationship kind: ${o.kind}`);n.set(o.kind,o)}let i=new _([...n.values()].sort((s,o)=>s.kind.localeCompare(o.kind))),a=new f(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),i);return u(a,i,t)}var m=class{name;#e=new Map;constructor(t="memory"){this.name=l(t,"adapter name")}async read(t){g(t.signal);let r=this.#e.get(l(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){g(t.signal);let r=l(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.set(r,structuredClone(y(t.snapshot).snapshot))}async clear(t){g(t.signal);let r=l(t.workspace,"workspace"),n=this.#e.get(r);if(t.expected_fingerprint!==void 0&&(n?.fingerprint??null)!==t.expected_fingerprint)throw new Error(`Relationship graph adapter conflict for ${r}`);this.#e.delete(r)}};(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="423d6e5d-93e5-5f29-93e0-11ddca9c3156")}catch{}})();function x(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function Ae(e){let t=x(e.nodeCount,"nodeCount"),r=x(e.edgeStride??1,"edgeStride"),n=e.topology??"chain";if(!["chain","star","disconnected"].includes(n))throw new TypeError(`Unsupported relationship graph topology: ${n}`);let i=(e.kind??"related").trim(),a=(e.idPrefix??"node").trim();if(!i||!a)throw new TypeError("Relationship graph kind and idPrefix must be non-empty");let s=n==="disconnected"?0:Math.floor((t-1)/r);return{node_count:t,edge_count:s,edge_basis:"fixture_generated",nodes:{*[Symbol.iterator](){for(let o=0;o<t;o+=1)yield`${a}-${o}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let o=r;o<t;o+=r)yield{source:`${a}-${n==="star"?0:o-r}`,target:`${a}-${o}`,kind:i}}}}}function h(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function I(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=S(),i=u(new f(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),a=u(new f(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],n),n,{createdAt:"2026-01-02T00:00:00.000Z"}),s=[];h(await c(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let o=await R(e,{workspace:r,snapshot:i});h(o.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),h((await c(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),h((await R(e,{workspace:r,snapshot:i})).disposition==="current","identical sync must be idempotent"),s.push({name:"idempotent-sync",passed:!0}),await e.replace({workspace:r,snapshot:a,expected_fingerprint:i.fingerprint}),h((await c(e,{workspace:r}))?.snapshot.fingerprint===a.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let w=!1;try{await e.replace({workspace:r,snapshot:i,expected_fingerprint:i.fingerprint})}catch{w=!0}return h(w,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:a.fingerprint}),h(await c(e,{workspace:r})===null,"clear must remove the workspace"),s.push({name:"clear",passed:!0})),{adapter:e.name,workspace:r,cases:Object.freeze(s),clear_supported:e.clear!==void 0}}function Ge(e){return I(new m,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2c3df51e-6b10-5da6-8340-126465d9c434")}catch{}})();import{createHash as D}from"node:crypto";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="54a3448c-719c-5404-a9b9-c3072a2fdce2")}catch{}})();function T(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function pt(e,t){let r=T(t.migrationId,"migrationId"),n=T(t.author,"author"),i=Date.parse(t.timestamp);if(!Number.isFinite(i))throw new TypeError("Relationship backfill timestamp must be valid");let a=new Date(i).toISOString(),s=k(e,void 0,t.registry),o=s.graph.nodes(),d=s.graph.edges().map(p=>{let E=D("sha256").update(JSON.stringify([r,p.kind,p.source,p.target,p.createdAt??null,p.author??null,p.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${E}`,relationshipId:`migration:${r}:${E}`,action:"add",edge:p,author:n,timestamp:a,reason:`Backfill ${r} from legacy item metadata`})}),w=D("sha256").update(JSON.stringify({migrationId:r,nodes:o,events:d})).digest("hex"),C=new Set([...t.existingEventIds??[]].filter(p=>typeof p=="string").map(p=>p.trim()).filter(Boolean)),G=d.filter(p=>!C.has(p.eventId));return Object.freeze({migration_id:r,fingerprint:w,nodes:o,events:Object.freeze(G),edge_count:d.length,skipped_existing_count:d.length-G.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.dangling.legacy_terminal.length})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b6d6f773-8336-5e0e-8dfb-d5729caa18d9")}catch{}})();export{ae as GRAPH_DURABLE_CACHE_MIN_ITEMS,oe as GRAPH_DURABLE_CACHE_VERSION,$ as GRAPH_SUBCOMMAND_VALUES,m as MemoryRelationshipGraphAdapter,A as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,Ie as RelationshipEventLog,De as RelationshipEventStore,f as RelationshipGraph,_ as RelationshipKindRegistry,ee as WorkspaceGraphCache,Ce as analyzeGraphImpact,$e as analyzeKnowledgeGraph,Te as analyzeRelationshipExecution,se as analyzeRelationshipSchedule,k as assembleWorkspaceRelationshipGraph,Ge as assertMemoryRelationshipGraphAdapterConformance,Se as assertRelationshipEdgeAllowed,I as assertRelationshipGraphAdapterConformance,Z as auditWorkspaceRelationshipGraph,He as buildRelationshipContext,he as clearDurableGraphCache,Pe as collectBlockedByIds,M as collectDanglingDependencyReferences,Me as collectDependencyBlockedIds,N as collectDuplicateDependencyRows,J as collectDuplicateRelationshipEdgeGroups,v as collectMissingDependencyTargetIds,X as collectNewOrderingCycleWarnings,K as collectOrderingCycles,Oe as compareRelationshipSnapshots,ve as computeActionabilityReport,ne as computeRelationshipCentrality,V as computeRelationshipDominators,Y as computeWorkspaceGraphFingerprint,Ae as createRelationshipGraphScaleFixture,u as createRelationshipGraphSnapshot,S as createRelationshipKindRegistry,xe as dependencyToRelationship,U as detectRelationshipCommunities,Q as diffRelationshipAuditSnapshots,pe as durableGraphCachePath,fe as durableGraphCacheStatus,z as enumerateRelationshipPaths,ke as federateRelationshipGraphSnapshots,L as findRedundantRelationshipEdges,ie as findRelationshipCutStructure,F as forEachMatchedRelationshipEdge,q as formatDuplicateEdgeGroup,de as graphAuditBaselinePath,H as hierarchyAncestors,B as hierarchyDescendants,Ee as isOrderingRelationshipKind,ue as loadGraphAuditBaseline,c as loadRelationshipGraphAdapter,O as normalizeDependencyGraphTarget,ce as openDurableGraphCache,W as orderingPredecessors,j as orderingSuccessors,we as parseGraphSubcommand,y as parseRelationshipGraphSnapshot,le as persistDurableGraphResult,pt as planRelationshipEventBackfill,ye as planRelationshipRemediation,re as resetWorkspaceGraphCache,Ne as resolveItemBlockers,P as resolveWorkspaceRelationshipKindRegistry,be as runGraph,me as saveGraphAuditBaseline,ge as shouldPersistDurableGraphCache,R as syncRelationshipGraphAdapter,te as workspaceGraphCache};
|
|
2
2
|
//# sourceMappingURL=sdk-graph.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as T,b as p,c as b,d as m,e as _,f as M,g as y,h as E,l as R}from"./focused-chunks/chunk-
|
|
1
|
+
import{a as T,b as p,c as b,d as m,e as _,f as M,g as y,h as E,l as R}from"./focused-chunks/chunk-WVIVUWVL.js";import{b as o,c as n,d as i,e as f,f as D,g as s,h as d,i as a,j as g,k as A,t as u,v as l,w as c,x as I}from"./focused-chunks/chunk-FGKY4MBE.js";import"./focused-chunks/chunk-G6ETT4QK.js";import"./focused-chunks/chunk-WEM2E2PE.js";import"./focused-chunks/chunk-PIMMYG7Q.js";import"./focused-chunks/chunk-7J5TUBUJ.js";import"./focused-chunks/chunk-BIMTMOS7.js";import"./focused-chunks/chunk-B7LJWAZE.js";import"./focused-chunks/chunk-Y4LDYLLT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="27725b9d-2a1d-54ae-8191-12ebace6ef6a")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="00dc29ff-60e0-5755-b7f1-4f69e438e87f")}catch{}})();export{m as ITEM_LATEST_TIMESTAMP_FIELDS,b as ITEM_UNION_COLLECTION_FIELDS,y as MERGE_DRIVER_ARTIFACT_VALUES,n as PM_GITATTRIBUTES_END,o as PM_GITATTRIBUTES_START,s as auditMergeAttributeFence,d as auditMergeDriverConfiguration,f as buildMergeAttributePatterns,i as findGitWorkspaceRoot,A as installMergeFence,l as listMergeReceipts,c as markMergeReceiptReconciled,T as mergeHistoryStreams,_ as mergeItemDocuments,M as mergeJsonDocuments,p as mergeRelationshipEventStreams,a as refreshMergeAttributeFenceIfInstalled,D as resolveProjectMergeTypeFolders,E as runMergeDriver,g as runMergeInstall,I as runMergeReceiptReport,R as runMergeReconcile,u as summarizeMergeReceipt};
|
|
2
2
|
//# sourceMappingURL=sdk-merge.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{$ as ve,$a as mo,A as oe,Aa as b,B as te,Ba as y,C as re,Ca as g,D as ne,Da as C,E as fe,Ea as w,F as de,Fa as I,G as pe,Ga as Xe,H as se,Ha as qe,I as xe,Ia as ze,J as ae,Ja as Ge,K as me,Ka as He,L as ie,La as Je,M as le,Ma as Ke,N as ue,Na as Qe,O as ce,Oa as Ye,P as be,Pa as Ze,Q as ye,Qa as $e,R as ge,Ra as eo,S as Ce,Sa as oo,T as we,Ta as to,U as Ie,Ua as ro,V as Te,Va as no,W as he,Wa as fo,X as ke,Xa as po,Y as _e,Ya as so,Z as De,Za as xo,_ as Se,_a as ao,aa as Fe,ab as io,b as N,ba as Ee,bb as lo,c as V,ca as Pe,cb as uo,d as W,da as Oe,ea as Re,fa as Ue,ga as je,ha as Ae,i as r,ia as Be,ja as Le,k as X,ka as Me,l as q,la as Ne,m as z,ma as Ve,n as G,na as We,oa as n,pa as f,qa as d,ra as p,s as H,sa as s,t as J,ta as x,u as K,ua as a,v as Q,va as m,w as Y,wa as i,x as Z,xa as l,y as $,ya as u,z as ee,za as c}from"./focused-chunks/chunk-
|
|
1
|
+
import{$ as ve,$a as mo,A as oe,Aa as b,B as te,Ba as y,C as re,Ca as g,D as ne,Da as C,E as fe,Ea as w,F as de,Fa as I,G as pe,Ga as Xe,H as se,Ha as qe,I as xe,Ia as ze,J as ae,Ja as Ge,K as me,Ka as He,L as ie,La as Je,M as le,Ma as Ke,N as ue,Na as Qe,O as ce,Oa as Ye,P as be,Pa as Ze,Q as ye,Qa as $e,R as ge,Ra as eo,S as Ce,Sa as oo,T as we,Ta as to,U as Ie,Ua as ro,V as Te,Va as no,W as he,Wa as fo,X as ke,Xa as po,Y as _e,Ya as so,Z as De,Za as xo,_ as Se,_a as ao,aa as Fe,ab as io,b as N,ba as Ee,bb as lo,c as V,ca as Pe,cb as uo,d as W,da as Oe,ea as Re,fa as Ue,ga as je,ha as Ae,i as r,ia as Be,ja as Le,k as X,ka as Me,l as q,la as Ne,m as z,ma as Ve,n as G,na as We,oa as n,pa as f,qa as d,ra as p,s as H,sa as s,t as J,ta as x,u as K,ua as a,v as Q,va as m,w as Y,wa as i,x as Z,xa as l,y as $,ya as u,z as ee,za as c}from"./focused-chunks/chunk-A7BJ5SS6.js";import{r as M}from"./focused-chunks/chunk-MJ7HWSFK.js";import"./focused-chunks/chunk-RUR5I3TK.js";import"./focused-chunks/chunk-N5XU5UVK.js";import"./focused-chunks/chunk-IPWSFADF.js";import"./focused-chunks/chunk-WEM2E2PE.js";import"./focused-chunks/chunk-PIMMYG7Q.js";import{Sa as O,Ta as R,Ua as U,Va as j,Xa as A,Ya as B,Za as L,ga as E,za as P}from"./focused-chunks/chunk-7J5TUBUJ.js";import"./focused-chunks/chunk-BIMTMOS7.js";import{l as T,m as h,n as k,o as _,p as D,q as S,r as v,s as F}from"./focused-chunks/chunk-B7LJWAZE.js";import"./focused-chunks/chunk-Y4LDYLLT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5133d678-01f4-5164-aea7-2cc5ed42dd58")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();export{Z as BRIEF_LIST_FIELDS,ye as CONTEXT_EVALUATION_METRIC_NAMES,n as CONTEXT_OUTPUT_VALUES,Te as CONTEXT_PACKING_PROFILES,le as CONTEXT_RELEVANCE_SERVICE,me as CONTEXT_RELEVANCE_SIGNAL_NAMES,Ee as CONTEXT_SIGNAL_SET_VERSION,Fe as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Ue as ContextSignalStore,ke as ContextUsageValidationError,Ye as DEFAULT_CHILD_SAMPLE_LIMIT,Y as DEFAULT_COMPACT_LIST_FIELDS,j as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,Ae as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,Re as JsonFileContextSignalStoreAdapter,$ as LIST_COMMAND_DEFAULT_PROJECTIONS,K as LIST_SORT_FIELDS,Q as LIST_SORT_ORDER_VALUES,Qe as MAX_CHILD_PROJECTION_ITEMS,Xe as NEXT_OUTPUT_VALUES,F as QUERY_CURSOR_CONTRACT,ne as _testOnly,de as _testOnlyAggregateCommand,eo as _testOnlyGetCommand,ze as _testOnlyNextCommand,io as _testOnlySearchCommand,A as acquireItemMetadataDerivedIndexLock,w as applyContextTagProjection,ee as applyFilterValueEcho,b as buildChildrenByParent,oo as buildCompactSearchFilterSummary,oe as buildContentFilterEcho,Oe as buildContextSignalSnapshot,te as buildGovernanceMissingFilterEcho,Ze as buildItemChildrenRollup,ie as buildItemContextRelevanceCandidates,to as buildVerboseSearchFilters,Be as buildWorkspaceMemorySnapshot,mo as classifyImplicitSemanticFallbackReason,ao as collectErrorCauseCodes,m as collectSubtreeIds,i as compareCriticalItems,h as createQueryFingerprint,ro as createSearchCursorFingerprint,D as decodeQueryCursor,_ as decodeQueryCursorState,ue as defaultScoreContextCandidates,k as encodeQueryCursor,ge as evaluateContextRanking,g as mergeSortedWarnings,he as packContextCandidates,l as packRankedContextItems,v as paginateQueryRows,x as parseContextDepth,f as parseContextFocusFields,a as parseContextSections,Pe as parseContextSignalSnapshot,N as parseIntegerLimit,M as parseLimit,X as parseMultiValueFilter,V as parsePriority,G as parsePriorityFilterSet,q as parseStringFilterSet,W as parseType,z as parseTypeFilterSet,Ge as partitionDecisionEntries,d as projectContextFocusRows,O as queryItemMetadataIndex,R as queryLinkedFileMetadataIndex,U as querySimilarItemMetadataIndex,ve as readContextUsageAffinity,E as readHistoryEntries,B as readItemMetadataDerivedIndexState,je as readWorkspaceContextSignals,Le as readWorkspaceMemory,_e as recordContextUsageServing,De as recordContextUsageTouch,Se as recordContextUsageTouches,L as refreshItemMetadataDerivedIndex,se as renderCalendarMarkdown,xe as renderCalendarToon,C as renderContextMarkdown,Je as renderNextMarkdown,pe as resolveCalendarOutputFormat,J as resolveContentFieldFilters,p as resolveContextOutputFormat,s as resolveContextTokenBudget,so as resolveHybridSemanticWeight,H as resolveMissingMetadataFilters,qe as resolveNextOutputFormat,S as resolveQueryCursorStart,fo as resolveSearchMaxResults,no as resolveSearchPage,po as resolveSearchScoreThreshold,xo as resolveSearchTuning,r as runActivity,fe as runAggregate,ae as runCalendar,I as runContext,Ie as runContextEvaluationCorpus,Ce as runContextEvaluationScenario,uo as runDuplicates,$e as runGet,Ke as runHistory,re as runList,He as runNext,lo as runSearch,ce as scoreContextCandidates,be as scoreContextCandidatesWithActiveExtensions,Ve as searchWorkspaceMemory,We as searchWorkspaceMemoryReadResult,T as selectCursorSemanticOptions,Ne as selectWorkspaceMemory,Me as selectWorkspaceMemoryRollups,we as summarizeContextEvaluationReports,y as toContextFocusItem,u as toContextPackingSummary,c as toContextRankingSummary,P as verifyHistoryChain};
|
|
2
2
|
//# sourceMappingURL=sdk-query.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{$ as ab,$a as fc,Aa as Gb,Ab as Gc,Ba as Hb,Bb as Hc,Ca as Ib,Cb as Ic,Da as Jb,Db as Jc,Ea as Kb,Eb as Kc,Fa as Lb,Fb as Lc,Ga as Mb,Gb as Mc,Ha as Nb,Hb as Nc,Ia as Ob,Ib as Oc,Ja as Pb,Jb as Pc,K as La,Ka as Qb,Kb as Qc,L as Ma,La as Rb,Lb as Rc,M as Na,Ma as Sb,Mb as Sc,N as Oa,Na as Tb,Nb as Tc,O as Pa,Oa as Ub,Ob as Uc,P as Qa,Pa as Vb,Pb as Vc,Q as Ra,Qa as Wb,R as Sa,Ra as Xb,S as Ta,Sa as Yb,T as Ua,Ta as Zb,U as Va,Ua as _b,V as Wa,Va as $b,W as Xa,Wa as ac,X as Ya,Xa as bc,Y as Za,Ya as cc,Z as _a,Za as dc,_ as $a,_a as ec,a as $,aa as bb,ab as gc,b as aa,ba as cb,bb as hc,c as ba,ca as db,cb as ic,da as eb,db as jc,ea as fb,eb as kc,fa as gb,fb as lc,ga as hb,gb as mc,ha as ib,hb as nc,ia as jb,ib as oc,ja as kb,jb as pc,ka as qb,kb as qc,la as rb,lb as rc,ma as sb,mb as sc,n as ga,na as tb,nb as tc,o as ha,oa as ub,ob as uc,pa as vb,pb as vc,qa as wb,qb as wc,ra as xb,rb as xc,sa as yb,sb as yc,ta as zb,tb as zc,ua as Ab,ub as Ac,va as Bb,vb as Bc,wa as Cb,wb as Cc,xa as Db,xb as Dc,ya as Eb,yb as Ec,za as Fb,zb as Fc}from"./chunks/chunk-
|
|
1
|
+
import{$ as ab,$a as fc,Aa as Gb,Ab as Gc,Ba as Hb,Bb as Hc,Ca as Ib,Cb as Ic,Da as Jb,Db as Jc,Ea as Kb,Eb as Kc,Fa as Lb,Fb as Lc,Ga as Mb,Gb as Mc,Ha as Nb,Hb as Nc,Ia as Ob,Ib as Oc,Ja as Pb,Jb as Pc,K as La,Ka as Qb,Kb as Qc,L as Ma,La as Rb,Lb as Rc,M as Na,Ma as Sb,Mb as Sc,N as Oa,Na as Tb,Nb as Tc,O as Pa,Oa as Ub,Ob as Uc,P as Qa,Pa as Vb,Pb as Vc,Q as Ra,Qa as Wb,R as Sa,Ra as Xb,S as Ta,Sa as Yb,T as Ua,Ta as Zb,U as Va,Ua as _b,V as Wa,Va as $b,W as Xa,Wa as ac,X as Ya,Xa as bc,Y as Za,Ya as cc,Z as _a,Za as dc,_ as $a,_a as ec,a as $,aa as bb,ab as gc,b as aa,ba as cb,bb as hc,c as ba,ca as db,cb as ic,da as eb,db as jc,ea as fb,eb as kc,fa as gb,fb as lc,ga as hb,gb as mc,ha as ib,hb as nc,ia as jb,ib as oc,ja as kb,jb as pc,ka as qb,kb as qc,la as rb,lb as rc,ma as sb,mb as sc,n as ga,na as tb,nb as tc,o as ha,oa as ub,ob as uc,pa as vb,pb as vc,qa as wb,qb as wc,ra as xb,rb as xc,sa as yb,sb as yc,ta as zb,tb as zc,ua as Ab,ub as Ac,va as Bb,vb as Bc,wa as Cb,wb as Cc,xa as Db,xb as Dc,ya as Eb,yb as Ec,za as Fb,zb as Fc}from"./chunks/chunk-UN66FZRO.js";import"./chunks/chunk-V3EUXXOF.js";import{ba as Ja,ca as Ka,sa as lb,ta as mb,ua as nb,va as ob,wa as pb}from"./chunks/chunk-WRL4KNDL.js";import"./chunks/chunk-E2RKBKWB.js";import{a as Ba}from"./chunks/chunk-DXDREUXT.js";import"./chunks/chunk-45G53IU4.js";import{m as Fa,n as Ga,o as Ha,p as Ia}from"./chunks/chunk-R546TPDE.js";import"./chunks/chunk-MHK6LIWE.js";import"./chunks/chunk-UZBWIUYD.js";import"./chunks/chunk-OMXVBQ2N.js";import"./chunks/chunk-4VN6GS4U.js";import"./chunks/chunk-3FTILRJ2.js";import"./chunks/chunk-2WFXWAYX.js";import"./chunks/chunk-V3774P7D.js";import"./chunks/chunk-54FNT7U2.js";import{a as Aa}from"./chunks/chunk-OTHLDSFP.js";import{a as Ca}from"./chunks/chunk-7A5OT5J2.js";import{a as za}from"./chunks/chunk-VN5VITU3.js";import"./chunks/chunk-7C4PTJG6.js";import"./chunks/chunk-EGJ4JTUG.js";import"./chunks/chunk-CHOQ2VAW.js";import{c as ca,d as da,f as ea,g as fa}from"./chunks/chunk-VCKLFEUN.js";import{D as Ea,e as ja,m as Da}from"./chunks/chunk-Q35VBGOQ.js";import{U as oa,i as ka,j as la,ja as pa,k as ma,ka as qa,l as na,oa as ra}from"./chunks/chunk-6MSQJOTG.js";import"./chunks/chunk-LKDGK44W.js";import"./chunks/chunk-OPVH7SKD.js";import"./chunks/chunk-LN2WFEU4.js";import"./chunks/chunk-SSF4PIUR.js";import"./chunks/chunk-HWRRMBJO.js";import"./chunks/chunk-YSO3YFZ4.js";import"./chunks/chunk-NE5VRDAI.js";import"./chunks/chunk-L3AZOELJ.js";import"./chunks/chunk-CSI3WS5I.js";import{a as ya}from"./chunks/chunk-HNFD72UK.js";import{b as wa,c as xa}from"./chunks/chunk-PMXJEU3F.js";import"./chunks/chunk-JC6FKIFM.js";import"./chunks/chunk-FB7G2HY2.js";import{u as ia}from"./chunks/chunk-RKAVWO3O.js";import"./chunks/chunk-43HQQI6S.js";import"./chunks/chunk-UP7DTVMD.js";import"./chunks/chunk-ZYHOB3SN.js";import"./chunks/chunk-BXQLRKWF.js";import"./chunks/chunk-YEWNL576.js";import{a as sa,b as ta,c as ua,e as va}from"./chunks/chunk-NY4T3JWN.js";import"./chunks/chunk-E2ZSLTOP.js";import{pa as X,qa as Y,sa as Z,ta as _}from"./chunks/chunk-A62CYISG.js";import"./chunks/chunk-BPELKUQD.js";import"./chunks/chunk-RSIC5OPE.js";import"./chunks/chunk-5ZBOIPGP.js";import"./chunks/chunk-A6KGKEWT.js";import{a as S}from"./chunks/chunk-42E7YPLG.js";import"./chunks/chunk-M72BKL5Q.js";import{$c as F,A as e,Af as T,C as f,Da as p,Ja as q,La as r,Lf as U,Mf as V,Nc as y,Nf as W,Oa as s,Pa as t,Pc as z,R as g,Ra as u,S as h,Wc as A,Xc as B,Yc as C,Zc as D,Ze as M,_c as E,_e as N,aa as i,ad as G,b as a,ba as j,c as b,ca as k,cd as H,d as c,ed as I,f as d,fd as J,ga as l,hd as K,ia as m,id as L,ja as n,ka as o,lc as v,mf as O,tf as P,uc as w,uf as Q,vf as R,wc as x}from"./chunks/chunk-GE4KCSZP.js";export{A as BASELINE_ITEM_FORMAT_VERSION,i as BUILTIN_ITEM_TYPE_VALUES,o as CONFIDENCE_TEXT_VALUES,oa as CONTEXT_OUTPUT_VALUES,B as CURRENT_ITEM_FORMAT_VERSION,sa as DEFAULT_TERMINAL_TRANSITION_POLICY,l as DEPENDENCY_KIND_VALUES,e as EXIT_CODE,n as ISSUE_SEVERITY_VALUES,j as ITEM_TYPE_VALUES,qa as NEXT_OUTPUT_VALUES,$ as PM_CLI_EXPECTED_ERROR_NAME,da as PM_GITIGNORE_END,ca as PM_GITIGNORE_START,f as PmCliError,qb as PmClient,m as RISK_VALUES,ga as SEARCH_EXTENSION_FLAG_DEFINITIONS,k as STATUS_VALUES,O as acquireLock,wb as aggregate,Vc as analyzeSdkActionCoverage,Ib as append,N as appendHistoryEntry,va as applyTerminalOrderingPolicy,L as canonicalDocument,qc as claim,rc as claimNext,E as classifyItemFormatVersion,ha as clearWorkspaceContractsCache,pc as close,wa as closeItem,zc as closeTask,zb as comments,fb as commitImportedItem,Kb as config,rb as context,tc as copy,nc as create,M as createHistoryEntry,aa as createPmCliExpectedError,uc as deleteItem,Gb as deps,Fb as docs,yb as duplicates,C as effectiveItemFormatVersion,eb as emptyImportedDocument,fa as ensurePmGitignore,db as ensureTrackerInitialized,Ac as extension,Cc as extensionActivate,Dc as extensionDeactivate,Bc as extensionList,Cb as files,Db as filesDiscover,Eb as filesLookup,wc as focus,hc as gc,R as generateItemId,ub as get,v as getActiveExtensionRegistrations,Rc as getContracts,u as getHistoryPath,t as getItemPath,ea as getPmGitignoreBlock,s as getSettingsPath,Qc as getWorkspaceContracts,Hb as graph,gc as health,lc as historyCompact,mc as historyCompactBulk,ic as historyRedact,jc as historyRepair,kc as historyRepairAll,Jb as init,ba as isPmCliExpectedError,H as isTerminalStatus,h as isTimestampLiteral,Z as jaccardSimilarity,Bb as learnings,sb as list,W as listAllItemMetadata,Fa as loadCreateTemplateOptions,U as locateItem,vb as next,D as normalizeItemFormatVersion,Q as normalizeItemId,I as normalizeItemMetadata,P as normalizeRawItemId,X as normalizeSimilarityText,G as normalizeStatusInput,Ab as notes,g as nowIso,Nc as packageActivate,Mc as packageCatalog,Oc as packageDeactivate,Kc as packageDescribe,Ic as packageDoctor,Gc as packageInstall,Ec as packageLifecycle,Fc as packageList,Jc as packageManage,Lc as packageReload,Hc as packageUninstall,S as parseTags,a as pathExists,yc as pauseTask,ac as profile,dc as profileApply,ec as profileLint,bc as profileList,cc as profileShow,Ma as readBooleanOption,Na as readCsvListOption,b as readFileIfExists,V as readLocatedItem,Sc as readRequiredString,T as readSettings,La as readStringOption,sc as release,d as removeFileIfExists,la as renderCalendarMarkdown,ma as renderCalendarToon,ib as renderGuideMarkdown,ua as requireTerminalReason,ka as resolveCalendarOutputFormat,gb as resolveGuideOutputFormat,q as resolveImplicitPmRoot,p as resolveItemTypeRegistry,r as resolvePmRoot,z as resolveRuntimeFieldRegistry,y as resolveRuntimeStatusRegistry,ta as resolveTerminalReason,vc as restore,Uc as runAction,x as runActiveOnReadHooks,w as runActiveOnWriteHooks,ja as runAggregate,na as runCalendar,xa as runClose,jb as runCompletion,pa as runContext,Aa as runCopy,Ba as runDelete,Ka as runDuplicates,Ca as runFocus,Da as runGet,hb as runGuide,ia as runList,ra as runNext,kb as runReindex,ya as runRestore,Ea as runSearch,Ja as runStats,Ha as runTemplatesList,Ga as runTemplatesSave,Ia as runTemplatesShow,lb as runTestRunsList,nb as runTestRunsLogs,pb as runTestRunsResume,mb as runTestRunsStatus,ob as runTestRunsStop,za as runUpdate,Tc as runWithActiveExtensions,F as scanItemFormatVersions,Lb as schema,Sb as schemaAddField,Qb as schemaAddStatus,Ob as schemaAddType,Wb as schemaApplyPreset,Xb as schemaInferTypes,Mb as schemaList,Ub as schemaListFields,_b as schemaRemapStatus,Tb as schemaRemoveField,Rb as schemaRemoveStatus,Pb as schemaRemoveType,Zb as schemaRenameField,Yb as schemaRenameType,Nb as schemaShow,Vb as schemaShowField,$b as schemaShowStatus,_ as scoreItemSimilarity,tb as search,cb as selectImportAuthor,K as serializeItemDocument,J as splitFrontMatter,xc as startTask,xb as stats,Pa as toEstimatedMinutesValue,Ua as toImportBoolean,Ya as toImportConfidence,Ta as toImportInteger,ab as toImportLinkedDocs,$a as toImportLinkedFiles,bb as toImportLinkedTests,_a as toImportLogEntries,Za as toImportNormalizedEnum,Xa as toImportNumberMap,Qa as toImportPriority,Sa as toImportStatus,Va as toImportStringList,Wa as toImportStringMap,Ra as toImportTags,Oa as toNonEmptyImportString,Y as tokenizeSimilarityText,oc as update,Pc as upgrade,fc as validate,c as writeFileAtomic};
|
|
2
2
|
//# sourceMappingURL=sdk-runtime.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{A as t,B as u,C as v,D as w,E as x,F as y,G as z,H as A,I as B,J as C,K as D,L as E,M as F,N as G,O as H,P as I,Q as J,R as K,S as L,T as M,U as N,V as O,W as P,X as Q,Y as R,f as c,g as d,l as e,m as f,n as g,o as h,p as i,q as j,r as k,s as l,t as m,u as n,v as o,w as p,x as q,y as r,z as s}from"./chunks/chunk-
|
|
1
|
+
import{A as t,B as u,C as v,D as w,E as x,F as y,G as z,H as A,I as B,J as C,K as D,L as E,M as F,N as G,O as H,P as I,Q as J,R as K,S as L,T as M,U as N,V as O,W as P,X as Q,Y as R,f as c,g as d,l as e,m as f,n as g,o as h,p as i,q as j,r as k,s as l,t as m,u as n,v as o,w as p,x as q,y as r,z as s}from"./chunks/chunk-FPBQHMFT.js";import"./chunks/chunk-UN66FZRO.js";import"./chunks/chunk-V3EUXXOF.js";import"./chunks/chunk-WRL4KNDL.js";import"./chunks/chunk-E2RKBKWB.js";import"./chunks/chunk-DXDREUXT.js";import"./chunks/chunk-45G53IU4.js";import"./chunks/chunk-R546TPDE.js";import"./chunks/chunk-MHK6LIWE.js";import"./chunks/chunk-UZBWIUYD.js";import"./chunks/chunk-OMXVBQ2N.js";import"./chunks/chunk-4VN6GS4U.js";import"./chunks/chunk-3FTILRJ2.js";import"./chunks/chunk-2WFXWAYX.js";import"./chunks/chunk-V3774P7D.js";import"./chunks/chunk-54FNT7U2.js";import"./chunks/chunk-OTHLDSFP.js";import"./chunks/chunk-7A5OT5J2.js";import"./chunks/chunk-VN5VITU3.js";import"./chunks/chunk-7C4PTJG6.js";import{a,i as b}from"./chunks/chunk-EGJ4JTUG.js";import"./chunks/chunk-CHOQ2VAW.js";import"./chunks/chunk-VCKLFEUN.js";import"./chunks/chunk-Q35VBGOQ.js";import"./chunks/chunk-6MSQJOTG.js";import"./chunks/chunk-LKDGK44W.js";import"./chunks/chunk-OPVH7SKD.js";import"./chunks/chunk-LN2WFEU4.js";import"./chunks/chunk-SSF4PIUR.js";import"./chunks/chunk-HWRRMBJO.js";import"./chunks/chunk-YSO3YFZ4.js";import"./chunks/chunk-NE5VRDAI.js";import"./chunks/chunk-L3AZOELJ.js";import"./chunks/chunk-CSI3WS5I.js";import"./chunks/chunk-HNFD72UK.js";import"./chunks/chunk-PMXJEU3F.js";import"./chunks/chunk-JC6FKIFM.js";import"./chunks/chunk-FB7G2HY2.js";import"./chunks/chunk-RKAVWO3O.js";import"./chunks/chunk-43HQQI6S.js";import"./chunks/chunk-UP7DTVMD.js";import"./chunks/chunk-ZYHOB3SN.js";import"./chunks/chunk-BXQLRKWF.js";import"./chunks/chunk-YEWNL576.js";import"./chunks/chunk-NY4T3JWN.js";import"./chunks/chunk-E2ZSLTOP.js";import"./chunks/chunk-A62CYISG.js";import"./chunks/chunk-BPELKUQD.js";import"./chunks/chunk-RSIC5OPE.js";import"./chunks/chunk-5ZBOIPGP.js";import"./chunks/chunk-A6KGKEWT.js";import"./chunks/chunk-42E7YPLG.js";import"./chunks/chunk-M72BKL5Q.js";import"./chunks/chunk-GE4KCSZP.js";export{e as activateExtensionForTest,M as assertExtensionBlueprint,L as assertExtensionCapabilityUsage,t as assertExtensionDeactivated,P as assertExtensionManifestCompatible,O as assertExtensionManifestMatchesBlueprint,Q as assertExtensionPreflight,u as assertPackageManifest,N as assertProjectProfile,v as assertRegisteredCommandContract,F as assertRegisteredCommandOverride,B as assertRegisteredExporter,w as assertRegisteredFlags,x as assertRegisteredHook,A as assertRegisteredImporter,C as assertRegisteredItemField,D as assertRegisteredItemType,K as assertRegisteredMigration,G as assertRegisteredParserOverride,H as assertRegisteredPreflightOverride,E as assertRegisteredProfile,I as assertRegisteredRendererOverride,y as assertRegisteredSearchProvider,J as assertRegisteredServiceOverride,z as assertRegisteredVectorStoreAdapter,R as createExtensionTestHarness,f as deactivateExtensionForTest,a as describeExtensionActivation,c as describeExtensionBlueprint,d as lintExtensionBlueprint,b as renderExtensionSurfaceMarkdown,g as runRegisteredCommandForTest,l as runRegisteredCommandOverrideForTest,s as runRegisteredExporterForTest,i as runRegisteredHookForTest,r as runRegisteredImporterForTest,q as runRegisteredMigrationForTest,h as runRegisteredMutationGuardForTest,j as runRegisteredParserOverrideForTest,k as runRegisteredPreflightOverrideForTest,m as runRegisteredRendererOverrideForTest,o as runRegisteredSearchProviderForTest,n as runRegisteredServiceOverrideForTest,p as runRegisteredVectorStoreAdapterForTest};
|
|
2
2
|
//# sourceMappingURL=sdk-testing.js.map
|
package/dist/cli-bundle/sdk.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as NC,b as IC,c as xC,d as bC,e as PC,f as LC}from"./chunks/chunk-RRQBHQOV.js";import{a as EC,b as gC,c as SC,d as OC,e as yC,f as L_,g as w_,h as M_,i as k_,j as D_,k as G_,l as v_,m as F_,n as U_,o as H_,p as $_,q as B_,r as V_}from"./chunks/chunk-UJHUR3LZ.js";import{A as oE,B as sE,C as iE,D as aE,E as pE,F as cE,G as dE,H as _E,I as mE,J as lE,K as uE,L as fE,M as hE,N as TE,O as AE,P as CE,Q as EE,R as gE,S as SE,T as OE,U as yE,V as RE,W as NE,X as IE,Y as xE,a as wC,b as MC,c as kC,d as DC,e as GC,f as vC,g as FC,h as UC,i as HC,j as $C,k as BC,l as VC,m as WC,n as zC,o as KC,p as jC,q as XC,r as YC,s as qC,t as JC,u as QC,v as ZC,w as eE,x as tE,y as rE,z as nE}from"./chunks/chunk-SULWTPQO.js";import{$ as Gc,$a as Bd,A as jA,Aa as fd,Ab as f_,B as XA,Ba as hd,Bb as h_,C as YA,Ca as Td,Cb as T_,D as qA,Da as Ad,Db as A_,E as JA,Ea as Cd,Eb as C_,F as QA,Fa as Ed,Fb as E_,G as ZA,Ga as gd,Gb as g_,H as eC,Ha as Sd,Hb as S_,I as sC,Ia as Od,Ib as O_,J as rp,Ja as yd,Jb as y_,K as Cc,Ka as Rd,Kb as R_,L as Ec,La as Nd,Lb as N_,M as gc,Ma as Id,Mb as I_,N as Sc,Na as xd,Nb as x_,O as Oc,Oa as bd,Ob as b_,P as yc,Pa as Pd,Pb as P_,Q as Rc,Qa as Ld,R as Nc,Ra as wd,S as Ic,Sa as Md,T as xc,Ta as kd,U as bc,Ua as Dd,V as Pc,Va as Gd,W as Lc,Wa as vd,X as wc,Xa as Fd,Y as Mc,Ya as Ud,Z as kc,Za as Hd,_ as Dc,_a as $d,a as Zo,aa as vc,ab as Vd,b as es,ba as Fc,bb as Wd,c as ts,ca as Uc,cb as zd,d as Ih,da as Hc,db as Kd,e as xh,ea as $c,eb as jd,f as ns,fa as Bc,fb as Xd,g as Dh,ga as Vc,gb as Yd,h as Gh,ha as Wc,hb as qd,i as vh,ia as zc,ib as Jd,j as Fh,ja as ue,jb as Qd,k as Uh,ka as Zc,kb as Zd,l as Hh,la as ed,lb as e_,m as $h,ma as td,mb as t_,n as Bh,na as rd,nb as r_,o as ps,oa as nd,ob as n_,p as Vh,pa as od,pb as o_,q as Wh,qa as sd,qb as s_,r as zh,ra as id,rb as i_,s as Kh,sa as ad,sb as a_,t as jh,ta as pd,tb as p_,u as Xh,ua as cd,ub as c_,v as ri,va as dd,vb as d_,w as oa,wa as _d,wb as __,x as sa,xa as md,xb as m_,y as ia,ya as ld,yb as l_,z as aa,za as ud,zb as u_}from"./chunks/chunk-PA5XRN2A.js";import{a as tC,b as rC,c as nC,d as oC}from"./chunks/chunk-B5ZLCD5Z.js";import{$ as pc,A as ip,B as ap,C as pp,D as cp,E as dp,F as _p,G as mp,H as lp,I as uC,J as fC,K as qp,L as Jp,M as Qp,N as Zp,O as ec,P as tc,Q as rc,R as nc,S as hC,T as TC,U as AC,W as oc,X as CC,Y as sc,Z as ic,_ as ac,a as gs,aa as cc,b as Ws,ba as dc,c as zs,ca as _c,d as Ks,da as mc,e as xA,ea as lc,f as ma,fa as uc,g as bA,ga as fc,h as PA,ha as hc,i as la,ia as Tc,j as ua,ja as Ac,k as fa,ka as Kc,l as LA,la as jc,ma as Xc,n as wA,na as Yc,o as MA,oa as qc,p as kA,pa as Jc,q as ha,qa as Qc,r as Ta,s as DA,t as va,u as Fa,v as Ua,w as Ha,x as np,y as op,z as sp}from"./chunks/chunk-6RSK4IFN.js";import"./chunks/chunk-KIKLF2W4.js";import{a as ca}from"./chunks/chunk-KH4GVBMC.js";import{a as ms}from"./chunks/chunk-J4EPW4GT.js";import{a as ne,b as oe,c as se,d as ie,e as ae,f as pe,g as ce,h as de,i as _e,j as me,k as le,l as up,m as fp,n as hp,o as Tp,p as Ap,q as Cp,r as Ep,s as gp,t as Sp,u as Op,v as yp,w as Rp,x as Np,y as Ip}from"./chunks/chunk-5PZGZMPG.js";import{a as ti}from"./chunks/chunk-HQ2WU7OY.js";import{b as ka,c as Da,d as Ga}from"./chunks/chunk-NFF3JAQR.js";import{a as Ma}from"./chunks/chunk-DCJ6CM6F.js";import{b as Aa,c as Ca,d as Ea,e as ga,f as Sa,g as Oa,h as ya,i as Ra,j as Na,k as Ia,l as xa,m as ba,n as Pa,o as La,p as wa}from"./chunks/chunk-PQXEB7W4.js";import{a as Bi}from"./chunks/chunk-NM5G7RLU.js";import{a as cC,b as dC,c as _C,d as mC}from"./chunks/chunk-QVO3VTA4.js";import{a as ei}from"./chunks/chunk-2POYGY53.js";import{a as ls,b as us,c as fs,d as hs,e as Ts,f as As,g as Cs,h as Es}from"./chunks/chunk-D2MBVMVE.js";import{a as pa}from"./chunks/chunk-CU5ENFNP.js";import{a as da}from"./chunks/chunk-GOICHIX4.js";import{a as $i}from"./chunks/chunk-PYYPQLHC.js";import{a as re,b as $a,c as Ba}from"./chunks/chunk-HTYC76A4.js";import{a as AA,d as Q,e as Z,f as ee,g as te,i as ea,j as ta,k as ra,o as na,p as Va,q as Wa,r as za,s as Ka,t as ja,u as Xa}from"./chunks/chunk-377OOXUF.js";import"./chunks/chunk-CHOQ2VAW.js";import{D as qi,E as Ji,F as Qi,G as Zi,a as Mh,b as kh,c as os,d as ss,f as is,g as as,h as CA,i as EA,j as Vi,k as Wi,l as zi,m as Ki,n as gA,o as ji,p as Xi,q as Yi}from"./chunks/chunk-6S7I3UKV.js";import{a as RC}from"./chunks/chunk-OAC5NIV4.js";import{A as WA,B as zA,C as KA,D as Za,E as ep,F as tp,G as iC,H as aC,I as pC,J as Mp,K as kp,L as Dp,M as Gp,N as vp,O as Fp,P as Up,Q as Hp,R as $p,S as Bp,T as Vp,U as Wp,V as zp,W as Kp,X as jp,Y as Xp,Z as Yp,a as bh,b as Ph,c as Lh,d as wh,e as _s,f as OT,g as mA,h as SA,i as OA,j as yA,k as RA,l as NA,m as _a,n as IA,o as Ya,p as qa,q as Ja,r as Qa,s as GA,t as vA,u as FA,v as UA,w as HA,x as $A,y as BA,z as VA}from"./chunks/chunk-SVDH5CHC.js";import{$ as ws,A as FT,B as UT,C as HT,D as $T,E as BT,F as VT,G as WT,H as zT,I as KT,J as jT,K as XT,L as YT,M as qT,N as JT,O as QT,P as ZT,Q as eA,R as tA,S as rA,T as nA,U as q,V as Ns,W as Is,X as xs,Y as bs,Z as Ps,_ as Ls,a as Qh,aa as Ms,b as Zh,ba as ks,c as eT,ca as Ds,d as tT,da as Gs,e as rT,ea as vs,f as nT,fa as Fs,g as oT,ga as Us,h as cs,ha as Hs,i as Ss,ia as $s,j as Os,ja as J,k as ys,ka as Bs,l as Rs,la as oA,m as yT,ma as sA,n as RT,na as iA,o as NT,oa as Vs,p as IT,pa as aA,q as xT,r as bT,s as PT,t as LT,u as wT,v as MT,w as kT,x as DT,y as GT,z as vT}from"./chunks/chunk-3XZYTRPC.js";import{a as xp,b as bp,c as Pp,d as Lp,e as lC,n as wp}from"./chunks/chunk-CGY5I2GO.js";import"./chunks/chunk-2INN52SU.js";import{a as xr,b as br,c as Pr,d as Lr,e as wr,f as Mr,g as kr,h as Dr,i as Gr,j as vr,k as Fr,l as Ur,m as Hr,n as $r,o as Br,p as Vr,q as Y}from"./chunks/chunk-ASJJKA57.js";import{A as qo,B as Jo,C as Qo,a as Wr,b as zr,c as Kr,d as jr,e as Xr,f as Yr,g as qr,h as Jr,i as Qr,j as Zr,k as en,l as tn,m as rn,n as nn,o as on,p as sn,q as an,r as Bo,s as Vo,t as Wo,u as zo,v as Ko,x as jo,y as Xo,z as Yo}from"./chunks/chunk-JMKVCQSE.js";import{A as Di,B as Gi,C as vi,D as Fi,E as Ui,P as Hi,p as Si,s as Ii,t as xi,u as bi,v as Pi,w as Li,x as wi,y as Mi,z as ki}from"./chunks/chunk-QMWUL66F.js";import{a as Oi,b as TA,c as yi,d as Ri,e as Ni}from"./chunks/chunk-OB7TRZ2G.js";import{b as pi,c as ci,d as di,e as _i,f as mi,g as li,h as ui,i as fi,j as hi,k as Ti,l as Ai,m as Ci,n as Ei,o as gi}from"./chunks/chunk-H6FITE7D.js";import{a as lA,b as uA,c as fA,d as hA,e as ni,f as oi,g as si,h as ii,i as ai,j as G}from"./chunks/chunk-XBLOD5TZ.js";import{a as Zs}from"./chunks/chunk-BLINBTMX.js";import{a as Qs}from"./chunks/chunk-NPUJ7OLK.js";import{b as qs,c as Js}from"./chunks/chunk-NH35JNK5.js";import{a as js,b as Xs,c as Ys}from"./chunks/chunk-JC6FKIFM.js";import"./chunks/chunk-FB7G2HY2.js";import{a as Yh,b as qh,c as Jh,d as cT,e as dT,f as _T,g as mT,k as lT,l as uT,m as fT,n as hT,o as TT,p as AT,q as CT,r as ET,s as gT,t as ST,u as ds}from"./chunks/chunk-Q5F6OI7C.js";import{a as Rh,b as Nh}from"./chunks/chunk-RB65T4RX.js";import"./chunks/chunk-FQ4EFFDU.js";import{a as Ah,b as Ch,c as Eh,d as gh,e as Sh,h as Oh,i as yh,j as rs}from"./chunks/chunk-UVZREFZU.js";import{a as sT,b as iT,c as aT,d as pT}from"./chunks/chunk-HE3DZFN4.js";import{$ as io,A as Mn,Aa as ko,B as kn,Ba as Do,C as Dn,Ca as Go,D as Gn,Da as vo,E as vn,Ea as Fo,F as Fn,Fa as Uo,G as Un,Ga as Ho,H as Hn,Ha as $o,I as $n,J as Bn,K as Vn,L as Wn,M as zn,N as Kn,O as jn,P as Xn,Q as Yn,R as qn,S as Jn,T as Qn,U as Zn,V as eo,W as to,X as ro,Y as no,Z as oo,_ as so,aa as ao,b as pn,ba as po,c as cn,ca as co,d as dn,da as _o,e as _n,ea as mo,f as mn,fa as lo,g as ln,ga as uo,h as un,ha as fo,i as fn,ia as ho,j as hn,ja as To,k as Tn,ka as Ao,l as An,la as Co,m as Cn,ma as Eo,n as En,na as go,o as gn,oa as So,p as Sn,pa as Oo,q as On,qa as yo,r as yn,ra as Ro,s as Rn,sa as No,t as Nn,ta as Io,u as In,ua as xo,v as xn,va as bo,w as bn,wa as Po,x as Pn,xa as Lo,y as Ln,ya as wo,z as wn,za as Mo}from"./chunks/chunk-JDPKBV5P.js";import{a as pA,b as cA,c as dA,d as _A}from"./chunks/chunk-IYAVULRN.js";import"./chunks/chunk-E2ZSLTOP.js";import{$ as Jf,A as K,Aa as _h,Ba as mh,C as wf,Ca as lh,Da as uh,E as Mf,Ha as X,I as kf,Ia as fh,J as Df,Ja as hh,K as Gf,Ka as Th,L as vf,M as Ff,O as Uf,P as Hf,Q as $f,R as Bf,S as Vf,T as Wf,U as zf,V as Kf,W as jf,X as Xf,Y as j,Z as Yf,_ as qf,a as Om,aa as Qf,b as ym,ba as Zf,c as Rm,ca as eh,d as Nm,da as th,e as Ol,ea as rh,f as yl,fa as nh,ga as oh,h as Uu,ha as sh,ia as ih,j as Hu,ja as ur,k as $u,ka as fr,l as Bu,la as hr,m as Vu,ma as Tr,n as ef,na as Ar,oa as Cr,p as tf,pa as Er,qa as gr,r as rf,ra as Sr,s as nf,sa as Or,t as of,ta as yr,u as sf,ua as Rr,v as cf,va as Nr,w as df,wa as Ir,x as Tf,xa as ah,y as Af,ya as ph,z as Cf,za as ch}from"./chunks/chunk-BKMZTZYL.js";import{a as Du,b as Gu}from"./chunks/chunk-5H47J5FG.js";import{b as _f,c as mf,d as lf}from"./chunks/chunk-RSIC5OPE.js";import{a as af}from"./chunks/chunk-NRDKVOUE.js";import{a as dh}from"./chunks/chunk-A6KGKEWT.js";import{a as cr,b as Wu,c as zu,d as Ku,e as ju,f as Xu,g as Yu,h as qu,i as Ju,j as Qu,k as Zu}from"./chunks/chunk-VH2EAGUG.js";import{k as pf}from"./chunks/chunk-ZSH4GNBH.js";import{$ as Lm,$b as Qe,$c as _t,$d as iu,A as Me,Aa as km,Ab as Je,Ac as Tl,Ad as Gl,Ae as Ft,Af as Ef,B as hm,Bb as x,Bc as Al,Be as Ut,Bf as gf,C as ke,Cb as Wm,Cc as Cl,Ce as Ht,Cf as Sf,Da as We,Dc as z,Dd as vl,De as $t,Df as Of,E as Tm,Ea as Dm,Eb as zm,Ec as El,Ed as Fl,Ee as Bt,Fa as Gm,Fc as gl,Fd as Ul,Fe as Vt,Ff as yf,Ga as vm,Gb as Km,Gc as Sl,Ge as Wt,Gf as Rf,H as Am,Ha as Fm,Hd as Hl,He as zt,Hf as Nf,Id as $l,Ie as Kt,If,Ja as ze,Jd as Bl,Je as jt,Jf as _r,K as Cm,Ka as Ke,Kd as Vl,Ke as Xt,Kf as mr,La as M,Lc as Rl,Ld as Wl,Le as Yt,Lf as lr,Md as zl,Me as qt,Mf as xf,N as Em,Nc as ot,Nd as Kl,Ne as Jt,Oa as je,Oc as Nl,Od as jl,Oe as yu,Of as bf,P as B,Pa as Xe,Pc as st,Pd as Xl,Pe as Ru,Pf,Q as V,Qd as Yl,Qf as Lf,R as De,Ra as Ye,Rc as Il,Rd as ql,Re as Nu,S as Ge,Sd as Jl,Se as Iu,T as gm,Tb as jm,Td as Ql,Ub as Xm,Uc as xl,Ud as Zl,V as Sm,Vb as Ym,Vc as bl,Vd as eu,Ve as xu,W as Im,Wc as it,Wd as tu,We as bu,X as xm,Xb as qm,Xc as at,Xd as ru,Xe as Qt,Yb as Jm,Yc as pt,Yd as nu,Ye as Zt,Z as bm,Zc as ct,Zd as ou,_ as Pm,_b as Qm,_c as dt,_d as su,aa as ve,ad as mt,ae as au,af as Pu,b as be,ba as Fe,bb as Um,bc as Ze,bd as Pl,be as pu,bf as Lu,c as Pe,ca as Ue,cc as et,cd as Ll,ce as cu,cf as wu,d as Le,de as du,df as Mu,ec as Zm,ed as lt,ee as _u,f as we,fc as el,fd as ut,fe as mu,ff as ku,ga as He,gc as tl,gd as wl,ge as lu,h as cm,hb as k,hc as rl,hd as ft,he as uu,i as dm,ia as $e,ib as W,ic as nl,id as ht,ie as fu,if as vu,j as _m,ja as Be,jb as Hm,jc as ol,jd as Ml,je as hu,jf as Fu,ka as Ve,kb as $m,kc as sl,kd as Tt,ke as Tu,kf as er,lb as T,lc as tt,ld as At,le as Au,lf as tr,mb as Bm,mc as il,md as Ct,me as Cu,mf as rr,nc as al,nd as Et,ne as Eu,nf as nr,oc as pl,od as b,oe as gu,of as or,pc as cl,pd as D,pe as Su,pf as sr,q as mm,qc as dl,qd as gt,qe as Ou,rc as _l,rd as St,re as bt,rf as ir,sc as ml,sd as Ot,se as Pt,sf as ar,t as lm,tc as ll,td as yt,te as Lt,tf as pr,uc as rt,ud as Rt,ue as wt,v as um,vc as ul,vd as Nt,ve as Mt,wc as nt,wd as It,we as kt,wf as uf,xd as xt,xe as Dt,xf as ff,ya as wm,yb as Vm,yc as fl,yd as kl,ye as Gt,yf as dr,z as fm,za as Mm,zb as qe,zc as hl,zd as Dl,ze as vt,zf as hf}from"./chunks/chunk-V5K52PYW.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 u="https://schema.unbrained.dev/pm/corpus-shape/v1";function A(e,t){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError(`Corpus shape ${t} must be a positive safe integer`);return e}function y(e,t){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Corpus shape ${t} must be a non-negative safe integer`);return e}function he(e){if(!(typeof e!="object"||e===null||Object.isFrozen(e))){for(let t of Object.values(e))he(t);Object.freeze(e)}}function C(e){if(e.schema!==u)throw new TypeError(`Unsupported corpus shape schema: ${e.schema}`);if(e.name.trim().length===0||e.description.trim().length===0)throw new TypeError("Corpus shape name and description must be non-empty");if(A(e.hierarchy_depth,"hierarchy_depth"),A(e.hierarchy_fanout,"hierarchy_fanout"),y(e.age_span_days,"age_span_days"),A(e.history_entries_per_item,"history_entries_per_item"),y(e.comments_per_100_items,"comments_per_100_items"),y(e.notes_per_100_items,"notes_per_100_items"),y(e.learnings_per_100_items,"learnings_per_100_items"),A(e.author_cardinality,"author_cardinality"),A(e.component_count,"component_count"),e.edge_kind_mix.length===0||e.edge_kind_mix.some(r=>r.kind.trim().length===0||r.weight<=0))throw new TypeError("Corpus shape edge_kind_mix requires non-empty kinds with positive weights");if(e.terminal_statuses.some(r=>!e.custom_statuses.includes(r)))throw new TypeError("Corpus shape terminal_statuses must be declared in custom_statuses");let t=structuredClone(e);return he(t),t}var P=[{kind:"implements",weight:5},{kind:"blocked_by",weight:2},{kind:"discovered_from",weight:2},{kind:"verifies",weight:2},{kind:"supersedes",weight:1},{kind:"related",weight:4}],E=Object.freeze({scratch:C({schema:u,name:"scratch",description:"Seconds-old, shallow project with minimal history.",hierarchy_depth:2,hierarchy_fanout:50,age_span_days:0,history_entries_per_item:1,comments_per_100_items:2,notes_per_100_items:1,learnings_per_100_items:1,edge_kind_mix:[{kind:"related",weight:1}],author_cardinality:2,component_count:1,include_cycles:!1,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),representative:C({schema:u,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:P,author_cardinality:32,component_count:1,include_cycles:!1,custom_types:["Experiment"],custom_statuses:["review"],terminal_statuses:[],custom_fields:["domain"]}),"deep-graph":C({schema:u,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:P,author_cardinality:16,component_count:1,include_cycles:!0,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),"multi-decade":C({schema:u,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:P,author_cardinality:64,component_count:1,include_cycles:!1,custom_types:["Program"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["portfolio"]}),"disconnected-archive":C({schema:u,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:P,author_cardinality:24,component_count:5,include_cycles:!1,custom_types:["Archive"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["archive_source"]})});function W_(){return Object.keys(E).sort().map(e=>E[e])}function z_(e){let t=e.trim().toLowerCase();if(!Object.hasOwn(E,t))throw new TypeError(`Unknown corpus shape "${e}". Available: ${Object.keys(E).join(", ")}`);return E[t]}var fe=new WeakMap;function Te(e,t){if(e===0)return[];let r=fe.get(t);r===void 0&&(r=t.edge_kind_mix.flatMap(o=>Array.from({length:o.weight},()=>o.kind)),fe.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 K_(e,t,r,n=42){if(y(t,"item index"),A(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),a=0,c=1;for(let $=0;$<e.hierarchy_depth;$+=1)a=Math.min(Number.MAX_SAFE_INTEGER,a+c),c=Math.min(Number.MAX_SAFE_INTEGER,c*e.hierarchy_fanout);let p=s%a,d=s-p,m=p===0?void 0:i+(d+Math.floor((p-1)/e.hierarchy_fanout))*o,_=Date.UTC(2026,0,1),I=e.age_span_days*864e5,xe=new Date(_+(r===1?0:Math.round(t/(r-1)*I))).toISOString(),w=(t*37+n)%100;return{index:t,id:`pm-s${t.toString(36).padStart(7,"0")}`,...m===void 0?{}:{parent:`pm-s${m.toString(36).padStart(7,"0")}`},component:i,timestamp:xe,author:`pm-corpus-agent-${(t+n)%Math.min(e.author_cardinality,r)}`,history_entry_count:e.history_entries_per_item,dependency_kinds:Te(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 v=class{shape;authors=new Set;components=new Set;depths=new Map;childCounts=new Map;edgeKinds={};expectedEdgeKinds={};annotations={comments:0,notes:0,learnings:0};annotationFields;planMismatches=[];itemCount=0;observedDepth=0;observedFanout=0;historyEntryCount=0;firstTimestamp=null;lastTimestamp=null;constructor(t){this.shape=t,this.annotationFields=[["comments","has_comment",t.comments_per_100_items],["notes","has_note",t.notes_per_100_items],["learnings","has_learning",t.learnings_per_100_items]]}recordMismatch(t,r){t&&this.planMismatches.push(r)}recordEdgeKinds(t,r){for(let 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,Te(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,,a]of this.annotationFields){let c=Math.floor(this.itemCount/100),p=this.itemCount%100,d=c*a+Math.max(0,a+p-100),m=c*a+Math.min(a,p),_=this.annotations[s];(_<d||_>m)&&n.push(`${s}:${_}!in[${d},${m}]`)}let o=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let s of[...o].sort()){let a=this.edgeKinds[s]??0,c=this.expectedEdgeKinds[s]??0;a!==c&&n.push(`edge_kind:${s}:${a}!=${c}`)}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 Ae(e){return new v(e)}function j_(e,t){let r=Ae(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]="1f6a4ff8-fc1e-5aac-8117-bae8f325b275")}catch{}})();function Ce(e){return e.agent_episode!==void 0?{id:e.agent_episode.id,source:"declared"}:{id:e.agent_instance?`inferred:instance:${e.agent_instance}`:`inferred:author:${e.author}:${e.ts.slice(0,13)}`,source:"inferred"}}function X_(e,t,r){let n=t,o=new Set([e.id]);for(;n!==void 0&&!o.has(n.id);)o.add(n.id),n=n.parent_id?r.get(n.parent_id):void 0;return n===void 0}function Y_(e){let t=[e];for(;t.length>0;){let r=t.pop();r.sort((n,o)=>n.entries[0].ts.localeCompare(o.entries[0].ts)||n.id.localeCompare(o.id)),t.push(...r.map(n=>n.children))}}function q_(e=D,t=b){return t.map(r=>{let n=e.filter(o=>((r==="model"?o.model_environment_keys:o.provenance_environment_keys?.[r])?.length??0)>0||o.provenance_resolvers?.[r]!==void 0).map(o=>o.harness).sort();return{dimension:r,harnesses:n,covered:n.length>0}})}function J_(e,t=1){let r=new Map;for(let n of e){if(!n.agent_harness)continue;let o=r.get(n.agent_harness)??{harness:n.agent_harness,entries:0,observed:0,unavailable:0,legacy_missing:0};o.entries+=1,n.agent_model||n.agent_provenance?.model&&n.agent_provenance.model.value.length>0?o.observed+=1:n.agent_provenance?.model===null?o.unavailable+=1:o.legacy_missing+=1,r.set(n.agent_harness,o)}return[...r.values()].map(n=>{let o=n.observed+n.unavailable;return{...n,coverage:o===0?null:n.observed/o,inert:o>=t&&n.observed===0}}).sort((n,o)=>n.harness.localeCompare(o.harness))}function Q_(e,t=b,r=1){let n=new Map;for(let o of e)if(o.agent_harness)for(let i of t){let s=`${o.agent_harness}\0${i}`,a=n.get(s)??{harness:o.agent_harness,dimension:i,entries:0,observed:0,unavailable:0,legacy_missing:0};a.entries+=1;let c=o.agent_provenance?.[i];c!=null&&c.value.length>0?a.observed+=1:c===null?a.unavailable+=1:a.legacy_missing+=1,n.set(s,a)}return[...n.values()].map(o=>{let i=o.observed+o.unavailable;return{...o,coverage:i===0?null:o.observed/i,inert:i>=r&&o.observed===0}}).sort((o,i)=>o.harness.localeCompare(i.harness)||o.dimension.localeCompare(i.dimension))}function Z_(e){let t=[...e].sort((i,s)=>i.ts.localeCompare(s.ts)||i.author.localeCompare(s.author)||i.op.localeCompare(s.op)||i.before_hash.localeCompare(s.before_hash)||i.after_hash.localeCompare(s.after_hash)),r=new Map,n=new Map;for(let i of t){let s=i.agent_episode,a=Ce(i),c=`${a.source}:${a.id}`,p=r.get(c);if(p){p.entries.push(i);continue}let d={id:a.id,...s?.label===void 0?{}:{label:s.label},...s?.parent_id===void 0?{}:{parent_id:s.parent_id},source:a.source,entries:[i],children:[]};r.set(c,d),s!==void 0&&n.set(a.id,d)}let o=[];for(let i of r.values()){let s=i.parent_id?n.get(i.parent_id):void 0;s&&X_(i,s,n)?s.children.push(i):o.push(i)}return Y_(o),o}(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]="80b8e2af-4dcf-59e8-bfbf-38124db887bf")}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 em(){let e=M(process.cwd(),process.env.PM_PATH);await K(e,(t,r)=>j(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 Ee="https://schema.unbrained.dev/pm/workspace-recipe/v1";function F(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)=>F(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,F(n,`${t}.${r}`)])))}function ge(e){if(e.schema!==Ee)throw new Error(`Unsupported workspace recipe schema: ${e.schema}`);let t=B(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:F(r.input,`operations[${n}].input`)})))})}async function Se(e,t){let r=ge(e);return V(r,t)}async function tm(e,t){return Se(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 rm(){await X()}import g from"node:fs";import U 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]="6748a283-bc93-5783-98c1-d1a7f2fdce4e")}catch{}})();var Oe=300*1e3,nm=3;function XE(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function YE(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.");g.mkdirSync(e,{recursive:!0});let n=U.join(e,r);g.mkdirSync(n,{recursive:!0});let o=new Date;g.utimesSync(n,o,o);let i=g.readdirSync(e).filter(p=>p!==r).flatMap(p=>{try{return[{name:p,mtimeMs:g.statSync(U.join(e,p)).mtimeMs}]}catch(d){if(d instanceof Error&&"code"in d&&d.code==="ENOENT")return[];throw d}}).sort((p,d)=>d.mtimeMs-p.mtimeMs||p.name.localeCompare(d.name)),s=i.filter(p=>o.getTime()-p.mtimeMs<Oe),a=Math.max(0,nm-1-s.length),c=i.filter(p=>o.getTime()-p.mtimeMs>=Oe).slice(a).map(p=>p.name).sort((p,d)=>p.localeCompare(d));for(let p of c)g.rmSync(U.join(e,p),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:r,removed:c}}import{createHash as om}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 H=1;function S(e){e?.throwIfAborted()}function f(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function O(e,t,r={}){let 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:H,fingerprint:om("sha256").update(x({nodes:o,edges:i,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:o,edges:i,kinds:s})}function sm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function N(e){if(!sm(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==H)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 k([]);for(let o of e.kinds)t.register(o);let r=new T(e.nodes,e.edges,t),n=O(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 l(e,t){f(e.name,"adapter name");let r=f(t.workspace,"workspace");S(t.signal);let n=await e.read({...t,workspace:r});return S(t.signal),n===null?null:N(n)}async function L(e,t){let r=f(t.workspace,"workspace"),n=N(t.snapshot).snapshot,o=await l(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(S(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:o?.snapshot.fingerprint??null}),(await l(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 im(e,t={}){let r=e.map(N),n=new Map;for(let s of r)for(let a of s.snapshot.kinds){let c=n.get(a.kind);if(c&&x(c)!==x(a))throw new TypeError(`Conflicting federated relationship kind: ${a.kind}`);n.set(a.kind,a)}let o=new k([...n.values()].sort((s,a)=>s.kind.localeCompare(a.kind))),i=new T(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),o);return O(i,o,t)}var R=class{name;#e=new Map;constructor(t="memory"){this.name=f(t,"adapter name")}async read(t){S(t.signal);let r=this.#e.get(f(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){S(t.signal);let r=f(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(N(t.snapshot).snapshot))}async clear(t){S(t.signal);let r=f(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 ye(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function am(e){let t=ye(e.nodeCount,"nodeCount"),r=ye(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 a=0;a<t;a+=1)yield`${i}-${a}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let a=r;a<t;a+=r)yield{source:`${i}-${n==="star"?0:a-r}`,target:`${i}-${a}`,kind:o}}}}}function h(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function Re(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=W(),o=O(new T(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),i=O(new T(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],n),n,{createdAt:"2026-01-02T00:00:00.000Z"}),s=[];h(await l(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let a=await L(e,{workspace:r,snapshot:o});h(a.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),h((await l(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),h((await L(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}),h((await l(e,{workspace:r}))?.snapshot.fingerprint===i.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let p=!1;try{await e.replace({workspace:r,snapshot:o,expected_fingerprint:o.fingerprint})}catch{p=!0}return h(p,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:i.fingerprint}),h(await l(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 pm(e){return Re(new R,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2c3df51e-6b10-5da6-8340-126465d9c434")}catch{}})();(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 Ne}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 Ie(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function Eg(e,t){let r=Ie(t.migrationId,"migrationId"),n=Ie(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=G(e,void 0,t.registry),a=s.graph.nodes(),c=s.graph.edges().map(_=>{let I=Ne("sha256").update(JSON.stringify([r,_.kind,_.source,_.target,_.createdAt??null,_.author??null,_.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${I}`,relationshipId:`migration:${r}:${I}`,action:"add",edge:_,author:n,timestamp:i,reason:`Backfill ${r} from legacy item metadata`})}),p=Ne("sha256").update(JSON.stringify({migrationId:r,nodes:a,events:c})).digest("hex"),d=new Set([...t.existingEventIds??[]].filter(_=>typeof _=="string").map(_=>_.trim()).filter(Boolean)),m=c.filter(_=>!d.has(_.eventId));return Object.freeze({migration_id:r,fingerprint:p,nodes:a,events:Object.freeze(m),edge_count:c.length,skipped_existing_count:c.length-m.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.dangling.legacy_terminal.length})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9212673f-1a9f-50b8-92a2-4fd30ce54351")}catch{}})();function Sg(e){return e}function Og(e){return e}function yg(e){return e}function Rg(e){return e}function Ng(e){return e}function Ig(e){return e}function xg(e){return e}function bg(e){return e}function Pg(e){return e}function Lg(e){return e}function wg(e){return e}function Mg(e){return e}function kg(e){return e}function Dg(e){return{handled:!0,result:e}}function Gg(){return{handled:!1}}function vg(e){return e}function Fg(e){return e}function Ug(e){return e}function Hg(e){return e}function $g(e){return e}function Bg(e){return e}function Vg(e){return e}function Wg(e){return e}function zg(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]="99a9b24a-4bc7-50da-8333-e76086f0e303")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="708c1c46-ce32-56ff-812f-71f825ad7ec4")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d5bccdd6-a532-570a-b545-f316abaaf70b")}catch{}})();export{kr as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,No as ACTIVITY_FLAG_CONTRACTS,b as AGENT_PROVENANCE_DIMENSIONS,ln as AGGREGATE_FLAG_CONTRACTS,Qn as APPEND_FLAG_CONTRACTS,it as BASELINE_ITEM_FORMAT_VERSION,AT as BRIEF_LIST_FIELDS,E as BUILTIN_CORPUS_SHAPES,D as BUILTIN_HARNESS_SIGNAL_DESCRIPTORS,ve as BUILTIN_ITEM_TYPE_VALUES,oe as BUILTIN_PROFILES,Lr as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,Ro as CALENDAR_FLAG_CONTRACTS,Zn as CLAIM_FLAG_CONTRACTS,zo as CLOSE_ACTION_OPTION_KEYS,qn as CLOSE_FLAG_CONTRACTS,Jn as CLOSE_MANY_FLAG_CONTRACTS,so as CLOSE_TASK_FLAG_CONTRACTS,un as COMMENTS_FLAG_CONTRACTS,wm as COMMON_MUTATION_COMMAND_OPTION_KEYS,Fo as COMPLETION_FLAG_CONTRACTS,Ve as CONFIDENCE_TEXT_VALUES,bn as CONFIG_FLAG_CONTRACTS,wr as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,PT as CONTEXT_EVALUATION_METRIC_NAMES,xo as CONTEXT_FLAG_CONTRACTS,q as CONTEXT_OUTPUT_VALUES,DT as CONTEXT_PACKING_PROFILES,NT as CONTEXT_RELEVANCE_SERVICE,yT as CONTEXT_RELEVANCE_SIGNAL_NAMES,VT as CONTEXT_SIGNAL_SET_VERSION,BT as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,vo as CONTRACTS_FLAG_CONTRACTS,go as COPY_FLAG_CONTRACTS,Fr as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,Hr as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Ur as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,mm as CREATE_DIRECT_CLOSE_REASON_DEFAULT,Co as CREATE_FLAG_CONTRACTS,at as CURRENT_ITEM_FORMAT_VERSION,jT as ContextSignalStore,vT as ContextUsageValidationError,Qh as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,OA as DEFAULT_CHILD_SAMPLE_LIMIT,TT as DEFAULT_COMPACT_LIST_FIELDS,Of as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,ep as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,pA as DEFAULT_TERMINAL_TRANSITION_POLICY,JT as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,to as DELETE_FLAG_CONTRACTS,He as DEPENDENCY_KIND_VALUES,Lo as DEPS_FLAG_CONTRACTS,An as DOCS_FLAG_CONTRACTS,ho as DUPLICATES_FLAG_CONTRACTS,Mo as EVAL_FLAG_CONTRACTS,qa as EVAL_QUERY_SET_CONTRACT,Ja as EVAL_QUERY_SET_EXAMPLE,Ya as EVAL_QUERY_SET_SCHEMA_ID,Io as EVENTS_FLAG_CONTRACTS,ao as EVENT_FLAG_CONTRACTS,xr as EXECUTABLE_COMMAND_ALIASES,Me as EXIT_CODE,Hn as EXTENSION_ACTIVATE_FLAG_CONTRACTS,Un as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,Kn as EXTENSION_ADOPT_FLAG_CONTRACTS,Dh as EXTENSION_CAPABILITIES,_m as EXTENSION_CAPABILITY_CONTRACT,cm as EXTENSION_CAPABILITY_CONTRACT_VERSION,dm as EXTENSION_CAPABILITY_LEGACY_ALIASES,Qe as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,zn as EXTENSION_CATALOG_FLAG_CONTRACTS,$n as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,Fn as EXTENSION_DESCRIBE_FLAG_CONTRACTS,Wn as EXTENSION_DOCTOR_FLAG_CONTRACTS,vn as EXTENSION_EXPLORE_FLAG_CONTRACTS,Pn as EXTENSION_FLAG_CONTRACTS,wn as EXTENSION_INIT_FLAG_CONTRACTS,Dn as EXTENSION_INSTALL_FLAG_CONTRACTS,Bn as EXTENSION_MANAGE_FLAG_CONTRACTS,Gh as EXTENSION_POLICY_MODES,vh as EXTENSION_POLICY_SURFACES,Vn as EXTENSION_RELOAD_FLAG_CONTRACTS,Uh as EXTENSION_SANDBOX_PROFILES,Ln as EXTENSION_SCOPE_FLAG_CONTRACTS,Fh as EXTENSION_TRUST_MODES,Gn as EXTENSION_UNINSTALL_FLAG_CONTRACTS,lA as EXTERNAL_DEPENDENCY_SOURCE_KIND,Tn as FILES_FLAG_CONTRACTS,So as FOCUS_FLAG_CONTRACTS,uo as GC_FLAG_CONTRACTS,bo as GET_FLAG_CONTRACTS,_n as GLOBAL_FLAG_CONTRACTS,vp as GRAPH_DURABLE_CACHE_MIN_ITEMS,Gp as GRAPH_DURABLE_CACHE_VERSION,wo as GRAPH_FLAG_CONTRACTS,Gt as GRAPH_SUBCOMMAND_VALUES,Po as GUIDE_FLAG_CONTRACTS,To as HEALTH_FLAG_CONTRACTS,On as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,bA as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,dC as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,yn as HISTORY_COMPACT_FLAG_CONTRACTS,Cn as HISTORY_FLAG_CONTRACTS,gn as HISTORY_REDACT_FLAG_CONTRACTS,Sn as HISTORY_REPAIR_FLAG_CONTRACTS,Va as INIT_AGENT_GUIDANCE_MODE_VALUES,xn as INIT_FLAG_CONTRACTS,jn as INSTALL_FLAG_CONTRACTS,Be as ISSUE_SEVERITY_VALUES,qA as ITEM_LATEST_TIMESTAMP_FIELDS,um as ITEM_METADATA_KEY_ORDER,Eo as ITEM_MUTATE_FLAG_CONTRACTS,Fe as ITEM_TYPE_VALUES,YA as ITEM_UNION_COLLECTION_FIELDS,KT as JsonFileContextSignalStoreAdapter,hn as LEARNINGS_FLAG_CONTRACTS,xi as LINKED_TEST_ENV_NAME_PATTERN,bi as LINKED_TEST_PM_CONTEXT_MODE_VALUES,Ii as LINKED_TEST_PROTECTED_ENV_KEYS,br as LIST_COMMANDER_STRING_OPTION_CONTRACTS,CT as LIST_COMMAND_DEFAULT_PROJECTIONS,$h as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,mn as LIST_FILTER_FLAG_CONTRACTS,fT as LIST_SORT_FIELDS,hT as LIST_SORT_ORDER_VALUES,SA as MAX_CHILD_PROJECTION_ITEMS,io as MEET_FLAG_CONTRACTS,ZA as MERGE_DRIVER_ARTIFACT_VALUES,En as MERGE_FLAG_CONTRACTS,R as MemoryRelationshipGraphAdapter,Mr as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,Do as NEXT_FLAG_CONTRACTS,Bs as NEXT_OUTPUT_VALUES,fn as NOTES_FLAG_CONTRACTS,Mn as PACKAGE_FLAG_CONTRACTS,kn as PACKAGE_INIT_FLAG_CONTRACTS,oo as PAUSE_TASK_FLAG_CONTRACTS,Wo as PLAN_CREATE_METADATA_PARAMETER_KEYS,In as PLAN_FLAG_CONTRACTS,sa as PLAN_SHOW_DEPTH_VALUES,oa as PLAN_SUBCOMMANDS,ia as PLAN_TEMPLATE_NAMES,Zo as PM_CLI_EXPECTED_ERROR_NAME,Ft as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,Yt as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,qp as PM_COMMAND_VISIBILITY_CONTRACTS,Vh as PM_CONTEXT_INTENTS_FILE,uu as PM_CONTEXT_INTENT_CONTRACTS,Dt as PM_CORE_COMMAND_NAMES,u as PM_CORPUS_SHAPE_SCHEMA,AC as PM_ERROR_CODE_CATALOG,bt as PM_EXTENSION_CAPABILITY_CONTRACTS,vt as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,Lt as PM_EXTENSION_POLICY_MODE_CONTRACTS,kt as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Mt as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,Pt as PM_EXTENSION_SERVICE_NAME_CONTRACTS,wt as PM_EXTENSION_TRUST_MODE_CONTRACTS,EA as PM_GITATTRIBUTES_END,CA as PM_GITATTRIBUTES_START,ss as PM_GITIGNORE_END,os as PM_GITIGNORE_START,rc as PM_MCP_PROMPT_CONTRACTS,tc as PM_MCP_RESOURCE_CONTRACTS,Zp as PM_MCP_TOOL_COMMAND_CONTRACTS,Bl as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,ur as PM_MUTATION_ACTION_CONTRACTS,jt as PM_OUTPUT_BUDGET_CLASSES,Kt as PM_OUTPUT_DEGRADATION_STEPS,Z as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,Q as PM_PACKAGE_RESOURCE_KINDS,Qo as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,qo as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,ou as PM_READ_OUTPUT_DIMENSIONS,iu as PM_READ_OUTPUT_OPTION_FLAGS,su as PM_READ_OUTPUT_SURFACES,au as PM_READ_OUTPUT_SURFACE_CONTRACTS,$l as PM_READ_ROW_CONTRACTS,Hl as PM_READ_ROW_JQ_SELECTOR,Ut as PM_TOOL_ACTIONS,Ko as PM_TOOL_ACTION_PARAMETER_CONTRACTS,Jo as PM_TOOL_PARAMETERS_SCHEMA,Yo as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Xo as PM_TOOL_PARAMETERS_SCHEMA_VERSION,Bo as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,Ee as PM_WORKSPACE_RECIPE_SCHEMA,Nn as PROFILE_FLAG_CONTRACTS,_e as PROFILE_LINT_CODES,de as PROFILE_LINT_DIMENSIONS,ne as PROFILE_NAMES,Cp as PROFILE_SUBCOMMANDS,ke as PmCliError,Zc as PmClient,nu as QUERY_CURSOR_CONTRACT,Yn as REINDEX_FLAG_CONTRACTS,Af as REINDEX_LOCK_ID,H as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,ro as RELEASE_FLAG_CONTRACTS,po as REMIND_FLAG_CONTRACTS,z as RESERVED_ITEM_FIELD_NAMES,eo as RESTORE_FLAG_CONTRACTS,$e as RISK_VALUES,Ih as RelationshipEventLog,xh as RelationshipEventStore,T as RelationshipGraph,k as RelationshipKindRegistry,Rn as SCHEMA_FLAG_CONTRACTS,Pr as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,Bh as SEARCH_EXTENSION_FLAG_DEFINITIONS,Go as SEARCH_FLAG_CONTRACTS,fm as SETTINGS_DEFAULTS,ip as SNAPSHOT_SCHEMA,no as START_TASK_FLAG_CONTRACTS,fo as STATS_FLAG_CONTRACTS,Ue as STATUS_VALUES,dn as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,vl as SUPPRESS_HOST_OUTPUT_MARKER,mo as TELEMETRY_FLAG_CONTRACTS,sc as TELEMETRY_SUBCOMMANDS,_o as TEST_ALL_FLAG_CONTRACTS,co as TEST_FLAG_CONTRACTS,lo as TEST_RUNS_FLAG_CONTRACTS,ac as TEST_RUN_MEASUREMENT_LIMIT,nn as TOOL_ACTIVITY_OPTION_CONTRACTS,zr as TOOL_AGGREGATE_OPTION_CONTRACTS,Zr as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,rn as TOOL_CALENDAR_OPTION_CONTRACTS,tn as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,on as TOOL_CONTEXT_OPTION_CONTRACTS,qr as TOOL_CREATE_OPTION_CONTRACTS,Yr as TOOL_CREATE_OPTION_CONTRACT_SOURCE,sn as TOOL_DEPS_OPTION_CONTRACTS,an as TOOL_GRAPH_OPTION_CONTRACTS,Wr as TOOL_LIST_FILTER_OPTION_CONTRACTS,Kr as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,Xr as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,jr as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,en as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,Qr as TOOL_UPDATE_OPTION_CONTRACTS,Jr as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,lm as TYPE_TO_FOLDER,$r as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,Vr as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Br as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,Oo as UPDATE_FLAG_CONTRACTS,yo as UPDATE_MANY_FLAG_CONTRACTS,Xn as UPGRADE_FLAG_CONTRACTS,Ao as VALIDATE_FLAG_CONTRACTS,ko as WORKSPACE_FLAG_CONTRACTS,tr as WORKSPACE_HISTORY_ID,bp as WorkspaceGraphCache,Mh as WorkspaceTransactionInterruptedError,rs as _testOnly,OT as _testOnlyAggregateCommand,Ba as _testOnlyConfigCommand,IA as _testOnlyGetCommand,Ta as _testOnlyHealthCommand,ja as _testOnlyInit,Wa as _testOnlyInitAgentGuidance,LC as _testOnlyItemTransaction,pC as _testOnlyMutationEvents,sA as _testOnlyNextCommand,KA as _testOnlySearchCommand,TA as _testOnlySimilarity,up as _testOnlyTemplates,Ua as _testOnlyValidateCommand,fa as acknowledgeUnknownAuthorHistoryEvents,yf as acquireItemMetadataDerivedIndexLock,er as acquireLock,VC as activateExtensionForTest,qm as activateExtensions,Et as agentSessionEnvironment,sd as aggregate,q_ as analyzeAgentProvenanceDescriptorCoverage,Ph as analyzeGraphImpact,Lh as analyzeKnowledgeGraph,Ht as analyzePmToolActionParity,tC as analyzeReconciliationDiscard,bh as analyzeRelationshipExecution,Dp as analyzeRelationshipSchedule,P_ as analyzeSdkActionCoverage,Y as analyzeSdkCliParameterCompleteness,Td as append,Zt as appendHistoryEntry,or as appendWorkspaceAuditEvent,nr as appendWorkspaceHistoryChange,zu as applyAcceptanceCriteriaMutations,D_ as applyBootstrapPagerPolicy,Cu as applyContextIntentProjection,$s as applyContextTagProjection,ET as applyFilterValueEcho,Eh as applyHistoryPatch,B_ as applyInvocationAuthorOverride,Oa as applyPathMigrations,_u as applyReadOutputDimensions,Sl as applyRegisteredItemFieldDefaultsAndValidation,Na as applyStandaloneNote,ju as applyTagRemovals,_A as applyTerminalOrderingPolicy,Ia as artifactKey,Em as asRecordClone,Cm as asRecordOrNull,G as assembleWorkspaceRelationshipGraph,OE as assertExtensionBlueprint,SE as assertExtensionCapabilityUsage,oE as assertExtensionDeactivated,NE as assertExtensionManifestCompatible,RE as assertExtensionManifestMatchesBlueprint,IE as assertExtensionPreflight,_C as assertHistoryCompactTarget,nC as assertHistoryRepairTarget,pm as assertMemoryRelationshipGraphAdapterConformance,qu as assertNoUnknownCsvKeys,sE as assertPackageManifest,Vu as assertParentReferenceIsNotSelf,yE as assertProjectProfile,Vl as assertProjectionModeChoice,iE as assertRegisteredCommandContract,hE as assertRegisteredCommandOverride,mE as assertRegisteredExporter,aE as assertRegisteredFlags,pE as assertRegisteredHook,_E as assertRegisteredImporter,lE as assertRegisteredItemField,uE as assertRegisteredItemType,gE as assertRegisteredMigration,TE as assertRegisteredParserOverride,AE as assertRegisteredPreflightOverride,fE as assertRegisteredProfile,CE as assertRegisteredRendererOverride,cE as assertRegisteredSearchProvider,EE as assertRegisteredServiceOverride,dE as assertRegisteredVectorStoreAdapter,$m as assertRelationshipEdgeAllowed,Re as assertRelationshipGraphAdapterConformance,Su as attachContextIntentReceipt,Yl as attachOutputOmissionReceipt,yu as attachOutputTokenAccounting,Ou as attachReadOutputContracts,Ki as auditMergeAttributeFence,gA as auditMergeDriverConfiguration,Ei as auditWorkspaceRelationshipGraph,Tt as boundAgentEpisodeIdentity,vs as buildChildrenByParent,GA as buildCompactSearchFilterSummary,gT as buildContentFilterEcho,zT as buildContextSignalSnapshot,K_ as buildCorpusShapeItemPlan,ta as buildExtensionDescribeResult,ST as buildGovernanceMissingFilterEcho,pf as buildInvalidTypeError,yA as buildItemChildrenRollup,RT as buildItemContextRelevanceCandidates,Pf as buildItemNotFoundError,NA as buildItemSchedule,Wi as buildMergeAttributePatterns,jo as buildPmActionToolInputSchema,lC as buildRelationshipContext,kf as buildSearchCorpus,Gf as buildSemanticCorpusInput,Bf as buildVectorizationEmbeddingIdentity,Vf as buildVectorizationEmbeddingMetadata,vA as buildVerboseSearchFilters,QT as buildWorkspaceMemorySnapshot,ht as canonicalDocument,Mm as canonicalizeCommandOptionKey,$C as checkExtensionManifestCompatibility,Zd as claim,e_ as claimNext,PA as classifyHistoryAuthorEvent,zA as classifyImplicitSemanticFallbackReason,dt as classifyItemFormatVersion,mc as classifyLinkedTestFailure,ll as clearActiveExtensionHooks,Bp as clearDurableGraphCache,ih as clearFocusedItem,ps as clearWorkspaceContractsCache,Qd as close,qs as closeItem,p_ as closeTask,F_ as coalesceRepeatedListFlags,sT as collectBlockedByIds,ii as collectDanglingDependencyReferences,aT as collectDependencyBlockedIds,si as collectDuplicateDependencyRows,Ci as collectDuplicateRelationshipEdgeGroups,WA as collectErrorCauseCodes,ai as collectMissingDependencyTargetIds,Si as collectNewOrderingCycleWarnings,Ti as collectOrderingCycles,Kh as collectPackageContextIntentContracts,te as collectPackageExtensionDirectories,El as collectRegisteredItemFieldNames,xl as collectRuntimeCreateFieldValues,cf as collectRuntimeFilterValues,bl as collectRuntimeUpdateFieldValues,ws as collectSubtreeIds,Ze as collectUsedExtensionCapabilities,km as commandOptionFlagLabel,pd as comments,$c as commitImportedItem,PC as commitItemMutations,kh as commitWorkspaceTransaction,cn as compactFlagAliasContracts,Ms as compareCriticalItems,wh as compareRelationshipSnapshots,gm as compareTimestampStrings,nT as compileHistoryProvenanceMatcher,Tu as composeContextIntentContracts,kC as composeExtension,HC as composeExtensionPackage,pT as computeActionabilityReport,Gu as computeHistoryDiff,Mp as computeRelationshipCentrality,hi as computeRelationshipDominators,xp as computeWorkspaceGraphFingerprint,Cd as config,ml as consumeAfterCommandAffectedItems,ed as context,gu as contextIntentRowId,r_ as copy,lc as countFailureCategories,qd as create,Om as createCheckpointId,Jm as createCoreCommandHookContext,Ae as createCorpusShapeMeasurement,Vm as createEmptyExtensionRegistrationRegistry,ns as createExtensionCommandSdk,Je as createExtensionContributionInventory,xE as createExtensionTestHarness,Qt as createHistoryEntry,ph as createLazyModule,bf as createMutationGuardSdk,Wl as createOutputOmissionReceipt,es as createPmCliExpectedError,V_ as createPmCliProgram,Jl as createQueryFingerprint,am as createRelationshipGraphScaleFixture,O as createRelationshipGraphSnapshot,W as createRelationshipKindRegistry,FA as createSearchCursorFingerprint,Qm as createSerialQueue,Ju as createStdinTokenResolver,ap as createWorkspaceSnapshot,WC as deactivateExtensionForTest,Gg as declineServiceOverride,Eu as decodeContextIntentCursor,ah as decodeHtmlEntitiesInOptions,eu as decodeQueryCursor,Zl as decodeQueryCursorState,ba as dedupeLinkedArtifacts,IT as defaultScoreContextCandidates,Bg as defineAfterCommandHook,Hg as defineBeforeCommandHook,$g as defineBeforeMutationHook,yg as defineCommand,Lg as defineCommandOverride,C as defineCorpusShape,Ug as defineExporter,wC as defineExtension,MC as defineExtensionBlueprint,Sg as defineExtensionManifest,Rg as defineFlag,Fg as defineImporter,Ig as defineItemField,Ng as defineItemType,xg as defineMigration,zg as defineOnIndexHook,Wg as defineOnReadHook,Vg as defineOnWriteHook,wg as defineParserOverride,Xt as definePmCommandOutputBudget,hC as definePmErrorCodeCatalog,Mg as definePreflightOverride,Og as defineProjectProfile,vg as defineRendererOverride,bg as defineSearchProvider,kg as defineServiceOverride,Pg as defineVectorStoreAdapter,ge as defineWorkspaceRecipe,n_ as deleteItem,lp as deleteWorkspaceSnapshot,Bm as dependencyToRelationship,fd as deps,GC as deriveExtensionCapabilities,qi as deriveSchemaEvolutionMigrationId,Jf as deriveTelemetryCommandResolution,lf as describeAllowedTransitions,AA as describeExtensionActivation,vC as describeExtensionBlueprint,gs as describeItemOwnershipConflict,pe as describeProfileComposition,ce as describeProjectProfile,EC as describeUnknownError,yt as detectAgentIdentity,It as detectHarnessIdentity,ui as detectRelationshipCommunities,gi as diffRelationshipAuditSnapshots,dc as diffTestRunMeasurements,Xm as discoverExtensions,Ke as discoverNearbyPmRoot,ud as docs,ad as duplicates,Fp as durableGraphCachePath,Vp as durableGraphCacheStatus,pt as effectiveItemFormatVersion,Th as emitTelemetryErrorEvent,Hc as emptyImportedDocument,Ql as encodeQueryCursor,vu as enforceHistoryStreamPolicyForItem,Fu as enforceHistoryStreamPolicyForItems,uC as enrichCliFlagInvocationContract,fC as enrichCliFlagInvocationContracts,Sh as ensureMaterializedHistoryTarget,as as ensurePmGitignore,Aa as ensureScope,qf as ensureSentryInit,Uc as ensureTrackerInitialized,mi as enumerateRelationshipPaths,Jt as estimatePmOutputTokens,LT as evaluateContextRanking,hr as evaluateMutationGuard,Ni as evaluateSimilarityGovernance,mf as evaluateTransition,vf as executeEmbeddingBatchesWithRetry,Hf as executeVectorDelete,$f as executeVectorReset,Uf as executeVectorUpsert,tm as executeWorkspaceRecipe,Ra as expandAddGlobEntries,c_ as extension,__ as extensionActivate,m_ as extensionDeactivate,d_ as extensionList,Ah as extractPatchFailureContext,va as extractReferencedPmItemIdsFromCommand,im as federateRelationshipGraphSnapshots,_d as files,md as filesDiscover,ld as filesLookup,Ri as findDuplicateClusters,Vi as findGitWorkspaceRoot,fi as findRedundantRelationshipEdges,kp as findRelationshipCutStructure,yi as findSimilarItems,hh as finishTelemetryCommand,xm as flattenFlagListValue,rm as flushTelemetryQueue,s_ as focus,li as forEachMatchedRelationshipEdge,Ai as formatDuplicateEdgeGroup,Ip as formatProfileApplyHuman,Np as formatProfileLintHuman,yp as formatProfileListHuman,Rp as formatProfileShowHuman,Zi as formatSchemaEvolutionMigrationHuman,Wd as gc,pr as generateItemId,nd as get,cl as getActiveCommandResult,fu as getActiveContextIntentContracts,tt as getActiveExtensionRegistrations,N_ as getContracts,oh as getFocusedItem,Ye as getHistoryPath,Nh as getItemAt,Xe as getItemPath,Cr as getMutationActionContract,is as getPmGitignoreBlock,je as getSettingsPath,R_ as getWorkspaceContracts,rr as getWorkspaceHistoryPath,hd as graph,Up as graphAuditBaselinePath,Z_ as groupHistoryByEpisode,Dg as handleServiceOverride,Uo as hasSubcommandFlagContractsForCommand,Wf as hasVectorizationEmbeddingIdentityChanged,zf as hasVectorizationVectorDimensionChanged,xu as hashDocument,bu as hashEmptyDocument,Vd as health,pi as hierarchyAncestors,ci as hierarchyDescendants,Xd as historyCompact,Yd as historyCompactBulk,rT as historyEntryMatchesProvenance,zd as historyRedact,Kd as historyRepair,jd as historyRepairAll,Kf as inferConsistentVectorDimension,Ad as init,la as inspectHistoryAuthorStream,Nr as inspectStaleInProgressItems,pp as inspectWorkspaceSnapshot,Yi as installMergeFence,OC as isCommanderError,hs as isErrnoError,uA as isExternalDependencySourceKind,Ul as isHostOutputSuppressed,Tr as isMutationAction,Hm as isOrderingRelationshipKind,$u as isPlaceholderReferenceToken,ts as isPmCliExpectedError,Bt as isPmExtensionCapabilityContract,Wt as isPmExtensionPolicyModeContract,zt as isPmExtensionPolicySurfaceContract,Vt as isPmExtensionServiceNameContract,$t as isPmToolAction,ch as isPureSnakeCaseAlias,mu as isReadOutputBudgetExceeded,Kl as isReadRowContract,rp as isRuntimeRecord,mh as isTerminalPlanMode,Ll as isTerminalStatus,Ge as isTimestampLiteral,xC as itemDocumentToMutationOptions,RA as itemHasSchedule,Or as jaccardSimilarity,dd as learnings,Um as levenshteinDistanceWithinLimit,ls as limitAnnotationEntries,FC as lintExtensionBlueprint,me as lintProjectProfile,td as list,v_ as listAliasPluralKeys,If as listAllDocumentCandidatesCached,lr as listAllItemMetadata,xf as listAllItemMetadataLight,W_ as listBuiltinCorpusShapes,wA as listMergeReceipts,Ar as listMutationActions,iC as listMutationEvents,Qp as listPmCommandsForTier,ec as listPmMcpToolsForProfile,ae as listProfiles,cp as listWorkspaceSnapshots,jh as loadContextIntentRuntimeLayers,fp as loadCreateTemplateOptions,Ym as loadExtensions,zp as loadGraphAuditBaseline,Rm as loadMutationCheckpoint,l as loadRelationshipGraphAdapter,_r as locateItem,Yu as looksLikeGenericKeyValueEntry,MA as markMergeReceiptReconciled,df as matchesRuntimeFilters,uh as maybeRunFirstUseTelemetryPrompt,j_ as measureCorpusShapePlan,Ku as mergeAdditiveTags,DC as mergeExtensionBlueprints,jA as mergeHistoryStreams,JA as mergeItemDocuments,QA as mergeJsonDocuments,U_ as mergeLinkedTestTwoTokenEntries,XA as mergeRelationshipEventStreams,Us as mergeSortedWarnings,_h as migrateItemFilesToFormat,Lf as mutateItem,od as next,H_ as normalizeBootstrapInvocation,ni as normalizeDependencyGraphTarget,hA as normalizeDependencySeedId,fA as normalizeDependencySourceKind,qe as normalizeExtensionContributionInventory,ct as normalizeItemFormatVersion,ar as normalizeItemId,lt as normalizeItemMetadata,G_ as normalizeLegacyExtensionActionSyntax,ya as normalizeLinkedPath,Hu as normalizeParentReferenceValue,se as normalizeProfileName,ir as normalizeRawItemId,Mu as normalizeReplayPatchOps,Er as normalizeSimilarityText,Pl as normalizeStatusForRegistry,mt as normalizeStatusInput,Nl as normalizeStatusInputWithRegistry,SC as normalizeThrownExitCode,cd as notes,De as nowIso,Hp as openDurableGraphCache,di as orderingPredecessors,_i as orderingSuccessors,GT as packContextCandidates,ks as packRankedContextItems,S_ as packageActivate,g_ as packageCatalog,O_ as packageDeactivate,C_ as packageDescribe,T_ as packageDoctor,f_ as packageInstall,l_ as packageLifecycle,u_ as packageList,A_ as packageManage,E_ as packageReload,h_ as packageUninstall,ru as paginateQueryRows,Ca as parseAddEntries,Ea as parseAddGlobEntries,fs as parseAnnotationTextInput,NC as parseAtomicMutationControls,k_ as parseBootstrapCommandName,L_ as parseBootstrapGlobalOptions,M_ as parseBootstrapHelpRequest,$_ as parseBootstrapTypeValue,Ps as parseContextDepth,Ns as parseContextFocusFields,Wh as parseContextIntentDeclarations,Ls as parseContextSections,WT as parseContextSignalSnapshot,Xu as parseCsvKv,Qa as parseEvalQuerySet,Xp as parseGraphSubcommand,eT as parseHistoryProvenanceFilters,Yh as parseIntegerLimit,wl as parseItemDocument,IC as parseItemMutationBatch,af as parseLimit,vi as parseLinkedTestAssertionEqualsMap,Fi as parseLinkedTestAssertionGteMap,wi as parseLinkedTestBoolean,Mi as parseLinkedTestContextMode,Li as parseLinkedTestEnvClear,Pi as parseLinkedTestEnvSet,Ui as parseLinkedTestJsonEntries,Gi as parseLinkedTestMinLines,Di as parseLinkedTestRegexList,ki as parseLinkedTestStringList,Sa as parseMigrateEntries,cT as parseMultiValueFilter,Zu as parseOptionalNonNegativeInteger,Qu as parseOptionalNumber,qh as parsePriority,mT as parsePriorityFilterSet,gl as parseRegisteredItemFieldAssignments,N as parseRelationshipGraphSnapshot,ga as parseRemoveEntries,rf as parseStatusFilterCsv,dT as parseStringFilterSet,cr as parseTags,pc as parseTestRunMeasurements,Jh as parseType,_T as parseTypeFilterSet,iA as partitionDecisionEntries,Du as patchPathToChangedField,be as pathExists,a_ as pauseTask,$p as persistDurableGraphResult,uf as persistSelectedItemFormat,qT as planCompletedAtBackfill,le as planProfileApplication,Eg as planRelationshipEventBackfill,jp as planRelationshipRemediation,Ji as planSchemaEvolutionMigration,dp as planWorkspaceSnapshotRestore,BC as preflightExtension,Sr as prepareSimilarityText,Iu as printError,Nu as printResult,vd as profile,Hd as profileApply,$d as profileLint,Fd as profileList,Ud as profileShow,_l as projectAfterCommandItemSnapshot,Is as projectContextFocusRows,tT as projectHistoryProvenance,Fa as projectValidateCounts,YE as pruneCompileCacheGenerations,Ef as queryItemMetadataIndex,gf as queryLinkedFileMetadataIndex,Sf as querySimilarItemMetadataIndex,cc as queryTestRunMeasurementsBelow,Xs as quoteCommandArg,js as quoteWindowsCommandArg,us as readAnnotationEntries,Rt as readAuthorEnvironment,Ec as readBooleanOption,$T as readContextUsageAffinity,gc as readCsvListOption,Pe as readFileIfExists,Dr as readFirstStringFromCommanderOptions,Gr as readFirstValueFromCommanderOptions,Gl as readHistoryEntries,Rf as readItemMetadataDerivedIndexState,mr as readLocatedItem,ee as readPmPackageManifest,I_ as readRequiredString,dr as readSettings,ff as readSettingsWithMetadata,vr as readStringArrayFromCommanderOptions,Cc as readStringOption,gC as readThrownExitCode,jf as readVectorizationStatusLedger,zh as readWorkspaceContextIntentContracts,XT as readWorkspaceContextSignals,ZT as readWorkspaceMemory,et as reconcileExtensionCapabilityUsage,dl as recordAfterCommandAffectedItem,FT as recordContextUsageServing,UT as recordContextUsageTouch,HT as recordContextUsageTouches,Nf as refreshItemMetadataDerivedIndex,ji as refreshMergeAttributeFenceIfInstalled,Yf as refreshSearchArtifactsForMutation,gt as registerHarnessSignalDescriptors,t_ as release,we as removeFileIfExists,wa as renameArtifactsResultKey,Os as renderCalendarMarkdown,ys as renderCalendarToon,Hs as renderContextMarkdown,ra as renderExtensionDescribeMarkdown,ea as renderExtensionSurfaceMarkdown,Wc as renderGuideMarkdown,aA as renderNextMarkdown,Ys as renderPmCommand,nc as renderPmCommandVisibilityMarkdown,of as renderRowsAsCsv,sf as renderRowsAsTable,gh as replayHistoryToTarget,Lu as replayToCanonicalItemDocument,Pu as replayToItemDocument,dA as requireTerminalReason,il as resetActiveExtensionRuntimeState,Lp as resetWorkspaceGraphCache,At as resolveAgentSessionContextFromSignals,Es as resolveAnnotationIndex,Ts as resolveAnnotationInput,Dl as resolveAuthor,xt as resolveAuthorIdentity,Uu as resolveBodyFileContent,z_ as resolveBuiltinCorpusShape,Ss as resolveCalendarOutputFormat,kl as resolveClaimPrincipal,vm as resolveCommandOptionPolicyState,XE as resolveCompileCacheGeneration,YT as resolveCompletionTimestamp,Lm as resolveConfiguredPmPackageRoot,uT as resolveContentFieldFilters,Au as resolveContextIntentContract,xs as resolveContextOutputFormat,bs as resolveContextTokenBudget,wf as resolveEmbeddingProviders,jm as resolveExtensionRoots,Im as resolveFlagValueKind,Bc as resolveGuideOutputFormat,Ce as resolveHistoryEpisodeGroupIdentity,Zh as resolveHistoryProvenanceDimensions,Oh as resolveHistorySubject,Ch as resolveHistoryTarget,BA as resolveHybridSemanticWeight,ze as resolveImplicitPmRoot,Sm as resolveIsoOrRelative,iT as resolveItemBlockers,We as resolveItemTypeRegistry,Rl as resolveItemTypesFilePath,uc as resolveLinkedTestFailureExitCode,lT as resolveMissingMetadataFilters,zl as resolveModePairedOutputOmissionReceipt,oA as resolveNextOutputFormat,Xl as resolveOutputOmissionReceipt,Pm as resolvePmCliVersion,qt as resolvePmCommandOutputBudget,Jp as resolvePmCommandVisibilityTier,TC as resolvePmErrorCodeContract,bm as resolvePmPackageRootFromModule,M as resolvePmRoot,Vo as resolvePmToolCustomFieldCollision,ef as resolvePriority,ie as resolveProfile,zi as resolveProjectMergeTypeFolders,tu as resolveQueryCursorStart,du as resolveReadOutputDimensions,lu as resolveReadOutputEncoding,pu as resolveReadOutputSurface,jl as resolveReadRowContract,Ol as resolveRegisteredSearchProvider,yl as resolveRegisteredVectorStoreAdapter,st as resolveRuntimeFieldRegistry,ot as resolveRuntimeStatusRegistry,Mf as resolveSearchCorpusFields,HA as resolveSearchMaxResults,UA as resolveSearchPage,$A as resolveSearchScoreThreshold,VA as resolveSearchTuning,Df as resolveSemanticCorpusCharacterLimit,Tf as resolveSettingsWithSemanticRuntimeDefaults,Ac as resolveStartTaskInProgressStatus,Ho as resolveSubcommandFlagContractsForCommand,hm as resolveTelemetryErrorCategory,cA as resolveTerminalReason,Gm as resolveTypeDefinition,Dm as resolveTypeName,nf as resolveTypeSynonym,_f as resolveTypeWorkflows,Ff as resolveVectorStores,oi as resolveWorkspaceRelationshipKindRegistry,o_ as restore,Nm as restoreCheckpointItems,mp as restoreWorkspaceSnapshot,_p as restoreWorkspaceSnapshotWithRecovery,b_ as runAction,ul as runActiveBeforeMutationHooks,hl as runActiveCommandHandler,fl as runActiveOnIndexHooks,nt as runActiveOnReadHooks,rt as runActiveOnWriteHooks,Tl as runActiveParserOverride,Al as runActivePreflightOverride,Cl as runActiveServiceOverride,cs as runActivity,Km as runAfterCommandHooks,_s as runAggregate,Cs as runAnnotationCommand,ms as runAppend,zm as runBeforeCommandHooks,Rs as runCalendar,Ws as runClaim,zs as runClaimNext,Js as runClose,Zs as runCloseMany,ei as runComments,zc as runCompletion,$a as runConfig,J as runContext,kT as runContextEvaluationCorpus,wT as runContextEvaluationScenario,pa as runCopy,Hi as runCreate,ca as runDelete,wp as runDeps,Ma as runDocs,CC as runDuplicates,tp as runEval,op as runEvent,na as runExtension,ka as runFiles,Ga as runFilesDiscover,Da as runFilesLookup,da as runFocus,ma as runGc,_a as runGet,Yp as runGraph,Vc as runGuide,ha as runHealth,mA as runHistory,cC as runHistoryCompact,mC as runHistoryCompactBulk,yh as runHistoryRedact,rC as runHistoryRepair,oC as runHistoryRepairAll,Xa as runInit,za as runInitAgentGuidance,ti as runLearnings,La as runLinkedArtifacts,fc as runLinkedTests,ds as runList,np as runMeet,eC as runMergeDriver,Xi as runMergeInstall,kA as runMergeReceiptReport,sC as runMergeReconcile,Vs as runNext,ri as runNotes,aa as runPlan,Op as runProfileApply,Sp as runProfileLint,Ep as runProfileList,gp as runProfileShow,zC as runRegisteredCommandForTest,qC as runRegisteredCommandOverrideForTest,nE as runRegisteredExporterForTest,jC as runRegisteredHookForTest,rE as runRegisteredImporterForTest,tE as runRegisteredMigrationForTest,KC as runRegisteredMutationGuardForTest,XC as runRegisteredParserOverrideForTest,YC as runRegisteredPreflightOverrideForTest,JC as runRegisteredRendererOverrideForTest,ZC as runRegisteredSearchProviderForTest,QC as runRegisteredServiceOverrideForTest,eE as runRegisteredVectorStoreAdapterForTest,ue as runReindex,Ks as runRelease,sp as runRemind,Qs as runRestore,Qi as runSchemaEvolutionMigration,Za as runSearch,em as runSearchRefreshWorkerEntrypoint,Kc as runStartBackgroundRun,oc as runStats,ic as runTelemetry,Tp as runTemplatesList,hp as runTemplatesSave,Ap as runTemplatesShow,hc as runTest,Tc as runTestAll,jc as runTestRunsList,Yc as runTestRunsLogs,Jc as runTestRunsResume,Xc as runTestRunsStatus,qc as runTestRunsStop,Qc as runTestRunsWorker,$i as runUpdate,Bi as runUpdateMany,re as runUpgrade,Ha as runValidate,x_ as runWithActiveExtensions,Ct as runWithAgentSessionContext,hu as runWithContextIntentContracts,Xh as runWithDiscoveredContextIntentContracts,St as runWithHarnessDetectionSignals,Ot as runWithWorkspaceHarnessSignalDescriptors,Se as runWithWorkspaceRecipe,xA as runWorkspaceTransactionGc,Kp as saveGraphAuditBaseline,ua as scanHistoryAuthorAttribution,_t as scanItemFormatVersions,fr as scanMutationSecrets,Ir as scanStaleInProgressItems,DA as scanStorageIntegrity,Ed as schema,Id as schemaAddField,Rd as schemaAddStatus,Od as schemaAddType,Ld as schemaApplyPreset,wd as schemaInferTypes,gd as schemaList,bd as schemaListFields,Dd as schemaRemapStatus,xd as schemaRemoveField,Nd as schemaRemoveStatus,yd as schemaRemoveType,kd as schemaRenameField,Md as schemaRenameType,Sd as schemaShow,Pd as schemaShowField,Gd as schemaShowStatus,xT as scoreContextCandidates,bT as scoreContextCandidatesWithActiveExtensions,yr as scoreItemSimilarity,Rr as scorePreparedItemSimilarity,rd as search,rA as searchWorkspaceMemory,nA as searchWorkspaceMemoryReadResult,ql as selectCursorSemanticOptions,Fc as selectImportAuthor,tA as selectWorkspaceMemory,eA as selectWorkspaceMemoryRollups,th as sentryCaptureCliError,eh as sentryFinishCommandSpan,nh as sentryFlush,rh as sentryLogCliUsageError,Qf as sentrySetCommandContext,Zf as sentryStartCommandSpan,ft as serializeItemDocument,RC as serializeNdjsonRows,al as setActiveCommandContext,pl as setActiveCommandResult,el as setActiveExtensionCommands,Zm as setActiveExtensionHooks,tl as setActiveExtensionParsers,rl as setActiveExtensionPreflight,sl as setActiveExtensionRegistrations,ol as setActiveExtensionRenderers,nl as setActiveExtensionServices,sh as setFocusedItem,lh as shouldCompletePlanOnClose,Wp as shouldPersistDurableGraphCache,Cf as shouldRunSearchRefreshInForeground,Oi as similarityAdvisoryWarnings,xa as sortLinkedArtifacts,Wu as splitAcceptanceCriteria,dh as splitCommaList,ut as splitFrontMatter,x as stableStringify,Wm as stableValueEquals,i_ as startTask,fh as startTelemetryCommand,id as stats,Il as statusIsTerminal,w_ as stripGlobalBootstrapTokens,aC as subscribeMutationEvents,J_ as summarizeAgentModelProvenance,Q_ as summarizeAgentProvenance,MT as summarizeContextEvaluationReports,_c as summarizeContextPreflight,oT as summarizeHistoryProvenance,Ka as summarizeInitResult,LA as summarizeMergeReceipt,Fl as suppressHostOutput,L as syncRelationshipGraphAdapter,UC as synthesizeExtensionManifest,$o as toCompletionFlagString,Fs as toContextFocusItem,Ds as toContextPackingSummary,Gs as toContextRankingSummary,Am as toErrorMessage,Oc as toEstimatedMinutesValue,Hh as toExtensionFlagDefinitions,xc as toImportBoolean,wc as toImportConfidence,Ic as toImportInteger,Gc as toImportLinkedDocs,Dc as toImportLinkedFiles,vc as toImportLinkedTests,kc as toImportLogEntries,Mc as toImportNormalizedEnum,Lc as toImportNumberMap,yc as toImportPriority,Nc as toImportStatus,bc as toImportStringList,Pc as toImportStringMap,Rc as toImportTags,Ml as toItemRecord,Sc as toNonEmptyImportString,Tm as toNonEmptyStringOrUndefined,wu as toReplayDocument,gr as tokenizeSimilarityText,Jd as update,y_ as upgrade,Bd as validate,bC as validateItemMutationRows,Pa as validateLinkedPaths,Bu as validateMissingParentReference,cu as validateReadOutputOptions,tf as validateSprintOrReleaseValue,Fm as validateTypeOptions,ku as verifyHistoryChain,Rh as verifyHistoryEntries,pn as withFlagAliasMetadata,Pp as workspaceGraphCache,As as wrapOwnershipConflict,yC as wrapThrownErrorForSentry,Nt as writeAuthorEnvironment,Le as writeFileAtomic,ym as writeMutationCheckpoint,hf as writeSettings,Ru as writeStdout,Xf as writeVectorizationStatusLedger,sr as writeWorkspaceJsonWithHistory};
|
|
1
|
+
import{a as FC,b as UC,c as HC,d as BC,e as $C,f as VC,g as WC,h as zC,i as KC}from"./chunks/chunk-4YUBDMQM.js";import{a as wC,b as MC,c as kC,d as DC,e as GC,f as k_,g as D_,h as G_,i as v_,j as F_,k as U_,l as H_,m as B_,n as $_,o as V_,p as W_,q as z_,r as K_}from"./chunks/chunk-XCEZYMNI.js";import{A as CE,B as EE,C as gE,D as SE,E as OE,F as yE,G as RE,H as NE,I as IE,J as xE,K as bE,L as PE,M as LE,N as wE,O as ME,P as kE,Q as DE,R as GE,S as vE,T as FE,U as UE,V as HE,W as BE,X as $E,Y as VE,a as jC,b as XC,c as YC,d as qC,e as JC,f as QC,g as ZC,h as eE,i as tE,j as rE,k as nE,l as oE,m as sE,n as iE,o as aE,p as pE,q as cE,r as dE,s as _E,t as mE,u as lE,v as uE,w as fE,x as hE,y as TE,z as AE}from"./chunks/chunk-FPBQHMFT.js";import{$ as Uc,$a as zd,A as QA,Aa as Ad,Ab as A_,B as ZA,Ba as Cd,Bb as C_,C as eC,Ca as Ed,Cb as E_,D as tC,Da as gd,Db as g_,E as rC,Ea as Sd,Eb as S_,F as nC,Fa as Od,Fb as O_,G as oC,Ga as yd,Gb as y_,H as sC,Ha as Rd,Hb as R_,I as dC,Ia as Nd,Ib as N_,J as sp,Ja as Id,Jb as I_,K as Sc,Ka as xd,Kb as x_,L as Oc,La as bd,Lb as b_,M as yc,Ma as Pd,Mb as P_,N as Rc,Na as Ld,Nb as L_,O as Nc,Oa as wd,Ob as w_,P as Ic,Pa as Md,Pb as M_,Q as xc,Qa as kd,R as bc,Ra as Dd,S as Pc,Sa as Gd,T as Lc,Ta as vd,U as wc,Ua as Fd,V as Mc,Va as Ud,W as kc,Wa as Hd,X as Dc,Xa as Bd,Y as Gc,Ya as $d,Z as vc,Za as Vd,_ as Fc,_a as Wd,a as rs,aa as Hc,ab as Kd,b as ns,ba as Bc,bb as jd,c as os,ca as $c,cb as Xd,d as Ph,da as Vc,db as Yd,e as Lh,ea as Wc,eb as qd,f as is,fa as zc,fb as Jd,g as Fh,ga as Kc,gb as Qd,h as Uh,ha as jc,hb as Zd,i as Hh,ia as Xc,ib as e_,j as Bh,ja as ue,jb as t_,k as $h,ka as rd,kb as r_,l as Vh,la as nd,lb as n_,m as Wh,ma as od,mb as o_,n as zh,na as sd,nb as s_,o as _s,oa as id,ob as i_,p as Kh,pa as ad,pb as a_,q as jh,qa as pd,qb as p_,r as Xh,ra as cd,rb as c_,s as Yh,sa as dd,sb as d_,t as qh,ta as _d,tb as __,u as Jh,ua as md,ub as m_,v as si,va as ld,vb as l_,w as aa,wa as ud,wb as u_,x as pa,xa as fd,xb as f_,y as ca,ya as hd,yb as h_,z as da,za as Td,zb as T_}from"./chunks/chunk-UN66FZRO.js";import{a as iC,b as aC,c as pC,d as cC}from"./chunks/chunk-V3EUXXOF.js";import{$ as PC,A as cp,B as dp,C as _p,D as mp,E as lp,F as up,G as fp,H as hp,I as CC,J as EC,K as Zp,L as ec,M as tc,N as rc,O as nc,P as oc,Q as sc,R as ic,S as gC,T as SC,U as OC,V as yC,W as RC,X as NC,Y as IC,Z as xC,_ as bC,a as ys,b as js,ba as ac,c as Xs,ca as LC,d as Ys,da as pc,e as MA,ea as cc,f as fa,fa as dc,g as kA,ga as _c,h as DA,ha as mc,i as ha,ia as lc,j as Ta,ja as uc,k as Aa,ka as fc,l as GA,la as hc,ma as Tc,n as vA,na as Ac,o as FA,oa as Cc,p as UA,pa as Ec,q as Ca,qa as gc,r as Ea,ra as Yc,s as HA,sa as qc,t as Ha,ta as Jc,u as Ba,ua as Qc,v as $a,va as Zc,w as Va,wa as ed,x as ip,xa as td,y as ap,z as pp}from"./chunks/chunk-WRL4KNDL.js";import"./chunks/chunk-E2RKBKWB.js";import{a as ma}from"./chunks/chunk-DXDREUXT.js";import{a as fs}from"./chunks/chunk-45G53IU4.js";import{a as ne,b as oe,c as se,d as ie,e as ae,f as pe,g as ce,h as de,i as _e,j as me,k as le,l as Tp,m as Ap,n as Cp,o as Ep,p as gp,q as Sp,r as Op,s as yp,t as Rp,u as Np,v as Ip,w as xp,x as bp,y as Pp}from"./chunks/chunk-R546TPDE.js";import{a as oi}from"./chunks/chunk-MHK6LIWE.js";import{b as va,c as Fa,d as Ua}from"./chunks/chunk-UZBWIUYD.js";import{a as Ga}from"./chunks/chunk-OMXVBQ2N.js";import{b as ga,c as Sa,d as Oa,e as ya,f as Ra,g as Na,h as Ia,i as xa,j as ba,k as Pa,l as La,m as wa,n as Ma,o as ka,p as Da}from"./chunks/chunk-4VN6GS4U.js";import{a as zi}from"./chunks/chunk-3FTILRJ2.js";import{a as uC,b as fC,c as hC,d as TC}from"./chunks/chunk-2WFXWAYX.js";import{a as ni}from"./chunks/chunk-V3774P7D.js";import{a as hs,b as Ts,c as As,d as Cs,e as Es,f as gs,g as Ss,h as Os}from"./chunks/chunk-54FNT7U2.js";import{a as _a}from"./chunks/chunk-OTHLDSFP.js";import{a as la}from"./chunks/chunk-7A5OT5J2.js";import{a as Wi}from"./chunks/chunk-VN5VITU3.js";import{a as re,b as Wa,c as za}from"./chunks/chunk-7C4PTJG6.js";import{a as OA,d as Q,e as Z,f as ee,g as te,i as na,j as oa,k as sa,o as ia,p as Ka,q as ja,r as Xa,s as Ya,t as qa,u as Ja}from"./chunks/chunk-EGJ4JTUG.js";import"./chunks/chunk-CHOQ2VAW.js";import{D as Zi,E as ea,F as ta,G as ra,a as Gh,b as vh,c as as,d as ps,f as cs,g as ds,h as yA,i as RA,j as Ki,k as ji,l as Xi,m as Yi,n as NA,o as qi,p as Ji,q as Qi}from"./chunks/chunk-VCKLFEUN.js";import{a as vC}from"./chunks/chunk-OAC5NIV4.js";import{A as YA,B as qA,C as JA,D as rp,E as np,F as op,G as _C,H as mC,I as lC,J as Gp,K as vp,L as Fp,M as Up,N as Hp,O as Bp,P as $p,Q as Vp,R as Wp,S as zp,T as Kp,U as jp,V as Xp,W as Yp,X as qp,Y as Jp,Z as Qp,a as wh,b as Mh,c as kh,d as Dh,e as us,f as NT,g as hA,h as IA,i as xA,j as bA,k as PA,l as LA,m as ua,n as wA,o as Qa,p as Za,q as ep,r as tp,s as BA,t as $A,u as VA,v as WA,w as zA,x as KA,y as jA,z as XA}from"./chunks/chunk-Q35VBGOQ.js";import{$ as Ds,A as BT,B as $T,C as VT,D as WT,E as zT,F as KT,G as jT,H as XT,I as YT,J as qT,K as JT,L as QT,M as ZT,N as eA,O as tA,P as rA,Q as nA,R as oA,S as sA,T as iA,U as q,V as bs,W as Ps,X as Ls,Y as ws,Z as Ms,_ as ks,a as tT,aa as Gs,b as rT,ba as vs,c as nT,ca as Fs,d as oT,da as Us,e as sT,ea as Hs,f as iT,fa as Bs,g as aT,ga as $s,h as ms,ha as Vs,i as Rs,ia as Ws,j as Ns,ja as J,k as Is,ka as zs,l as xs,la as aA,m as IT,ma as pA,n as xT,na as cA,o as bT,oa as Ks,p as PT,pa as dA,q as LT,r as wT,s as MT,t as kT,u as DT,v as GT,w as vT,x as FT,y as UT,z as HT}from"./chunks/chunk-6MSQJOTG.js";import{a as Lp,b as wp,c as Mp,d as kp,e as AC,n as Dp}from"./chunks/chunk-LKDGK44W.js";import"./chunks/chunk-OPVH7SKD.js";import{a as Pr,b as Lr,c as wr,d as Mr,e as kr,f as Dr,g as Gr,h as vr,i as Fr,j as Ur,k as Hr,l as Br,m as $r,n as Vr,o as Wr,p as zr,q as Y}from"./chunks/chunk-LN2WFEU4.js";import{A as Zo,B as es,C as ts,a as Kr,b as jr,c as Xr,d as Yr,e as qr,f as Jr,g as Qr,h as Zr,i as en,j as tn,k as rn,l as nn,m as on,n as sn,o as an,p as pn,q as cn,r as zo,s as Ko,t as jo,u as Xo,v as Yo,x as qo,y as Jo,z as Qo}from"./chunks/chunk-SSF4PIUR.js";import{A as Fi,B as Ui,C as Hi,D as Bi,E as $i,P as Vi,p as Ri,s as Pi,t as Li,u as wi,v as Mi,w as ki,x as Di,y as Gi,z as vi}from"./chunks/chunk-HWRRMBJO.js";import{a as Ni,b as SA,c as Ii,d as xi,e as bi}from"./chunks/chunk-YSO3YFZ4.js";import{b as _i,c as mi,d as li,e as ui,f as fi,g as hi,h as Ti,i as Ai,j as Ci,k as Ei,l as gi,m as Si,n as Oi,o as yi}from"./chunks/chunk-NE5VRDAI.js";import{a as TA,b as AA,c as CA,d as EA,e as gA,f as ii,g as ai,h as pi,i as ci,j as di,k as G}from"./chunks/chunk-L3AZOELJ.js";import{a as ri}from"./chunks/chunk-CSI3WS5I.js";import{a as ti}from"./chunks/chunk-HNFD72UK.js";import{b as Zs,c as ei}from"./chunks/chunk-PMXJEU3F.js";import{a as qs,b as Js,c as Qs}from"./chunks/chunk-JC6FKIFM.js";import"./chunks/chunk-FB7G2HY2.js";import{a as Qh,b as Zh,c as eT,d as mT,e as lT,f as uT,g as fT,k as hT,l as TT,m as AT,n as CT,o as ET,p as gT,q as ST,r as OT,s as yT,t as RT,u as ls}from"./chunks/chunk-RKAVWO3O.js";import{a as xh,b as bh}from"./chunks/chunk-43HQQI6S.js";import"./chunks/chunk-UP7DTVMD.js";import{a as gh,b as Sh,c as Oh,d as yh,e as Rh,h as Nh,i as Ih,j as ss}from"./chunks/chunk-ZYHOB3SN.js";import{a as pT,b as cT,c as dT,d as _T}from"./chunks/chunk-BXQLRKWF.js";import{$ as po,A as Dn,Aa as Go,B as Gn,Ba as vo,C as vn,Ca as Fo,D as Fn,Da as Uo,E as Un,Ea as Ho,F as Hn,Fa as Bo,G as Bn,Ga as $o,H as $n,Ha as Vo,I as Vn,Ia as Wo,J as Wn,K as zn,L as Kn,M as jn,N as Xn,O as Yn,P as qn,Q as Jn,R as Qn,S as Zn,T as eo,U as to,V as ro,W as no,X as oo,Y as so,Z as io,_ as ao,aa as co,b as dn,ba as _o,c as _n,ca as mo,d as mn,da as lo,e as ln,ea as uo,f as un,fa as fo,g as fn,ga as ho,h as hn,ha as To,i as Tn,ia as Ao,j as An,ja as Co,k as Cn,ka as Eo,l as En,la as go,m as gn,ma as So,n as Sn,na as Oo,o as On,oa as yo,p as yn,pa as Ro,q as Rn,qa as No,r as Nn,ra as Io,s as In,sa as xo,t as xn,ta as bo,u as bn,ua as Po,v as Pn,va as Lo,w as Ln,wa as wo,x as wn,xa as Mo,y as Mn,ya as ko,z as kn,za as Do}from"./chunks/chunk-YEWNL576.js";import{a as _A,b as mA,c as lA,d as uA,e as fA}from"./chunks/chunk-NY4T3JWN.js";import"./chunks/chunk-E2ZSLTOP.js";import{$ as eh,A as K,Aa as uh,Ba as fh,C as Df,Ca as hh,Da as Th,E as Gf,Ha as X,I as vf,Ia as Ah,J as Ff,Ja as Ch,K as Uf,Ka as Eh,L as Hf,M as Bf,O as $f,P as Vf,Q as Wf,R as zf,S as Kf,T as jf,U as Xf,V as Yf,W as qf,X as Jf,Y as j,Z as Qf,_ as Zf,a as Nm,aa as th,b as Im,ba as rh,c as xm,ca as nh,d as bm,da as oh,e as Nl,ea as sh,f as Il,fa as ih,ga as ah,h as $u,ha as ph,ia as ch,j as Vu,ja as hr,k as Wu,ka as Tr,l as zu,la as Ar,m as Ku,ma as Cr,n as nf,na as Er,oa as gr,p as of,pa as Sr,qa as Or,r as sf,ra as yr,s as af,sa as Rr,t as pf,ta as Nr,u as cf,ua as Ir,v as mf,va as xr,w as lf,wa as br,x as Ef,xa as dh,y as gf,ya as _h,z as Sf,za as mh}from"./chunks/chunk-A62CYISG.js";import{a as Fu,b as Uu}from"./chunks/chunk-BPELKUQD.js";import{b as uf,c as ff,d as hf}from"./chunks/chunk-RSIC5OPE.js";import{a as df}from"./chunks/chunk-5ZBOIPGP.js";import{a as lh}from"./chunks/chunk-A6KGKEWT.js";import{a as _r,b as ju,c as Xu,d as Yu,e as qu,f as Ju,g as Qu,h as Zu,i as ef,j as tf,k as rf}from"./chunks/chunk-42E7YPLG.js";import{k as _f}from"./chunks/chunk-M72BKL5Q.js";import{$ as km,$b as Qe,$c as _t,$d as cu,A as Me,Aa as vm,Ab as Je,Ac as El,Ad as Ul,Ae as Ft,Af as mr,B as Cm,Bb as x,Bc as gl,Be as Ut,Bf as Cf,C as ke,Cb as jm,Cc as Sl,Ce as Ht,Cf as Of,Da as We,Dc as z,Dd as Hl,De as Bt,Df as yf,E as Em,Ea as Fm,Eb as Xm,Ec as Ol,Ed as Bl,Ee as $t,Ef as Rf,Fa as Um,Fc as yl,Fd as $l,Fe as Vt,Ff as Nf,Ga as Hm,Gb as Ym,Gc as Rl,Ge as Wt,H as gm,Ha as Bm,Hd as Vl,He as zt,Hf as If,Id as Wl,Ie as Kt,If as xf,Ja as ze,Jd as zl,Je as jt,Jf as bf,K as Sm,Ka as Ke,Kd as Kl,Ke as Xt,Kf as Pf,La as M,Lc as xl,Ld as jl,Le as Yt,Lf as lr,Md as Xl,Me as qt,Mf as ur,N as Om,Nc as ot,Nd as Yl,Ne as Jt,Nf as fr,Oa as je,Oc as bl,Od as ql,Oe as Qt,Of as Lf,P as $,Pa as Xe,Pc as st,Pd as Jl,Pe as Zt,Q as V,Qd as Ql,Qe as Iu,Qf as wf,R as De,Ra as Ye,Rc as Pl,Rd as Zl,Re as xu,Rf as Mf,S as Ge,Sd as eu,Sf as kf,T as ym,Tb as qm,Td as tu,Te as bu,Ub as Jm,Uc as Ll,Ud as ru,Ue as Pu,V as Rm,Vb as Qm,Vc as wl,Vd as nu,W as Pm,Wc as it,Wd as ou,X as Lm,Xb as Zm,Xc as at,Xd as su,Xe as Lu,Yb as el,Yc as pt,Yd as iu,Ye as wu,Z as wm,Zc as ct,Zd as au,Ze as er,_ as Mm,_b as tl,_c as dt,_d as pu,_e as tr,aa as ve,ad as mt,ae as du,b as be,ba as Fe,bb as $m,bc as Ze,bd as Ml,be as _u,c as Pe,ca as Ue,cc as et,cd as kl,ce as mu,cf as Mu,d as Le,de as lu,df as ku,ec as rl,ed as lt,ee as uu,ef as Du,f as we,fc as nl,fd as ut,fe as fu,ff as Gu,ga as He,gc as ol,gd as Dl,ge as hu,h as mm,hb as k,hc as sl,hd as ft,he as Tu,hf as vu,i as lm,ia as Be,ib as W,ic as il,id as ht,ie as Au,j as um,ja as $e,jb as Vm,jc as al,jd as Gl,je as Cu,ka as Ve,kb as Wm,kc as pl,kd as Tt,ke as Eu,kf as Hu,lb as T,lc as tt,ld as At,le as gu,lf as Bu,mb as zm,mc as cl,md as Ct,me as Su,mf as rr,nc as dl,nd as Et,ne as Ou,nf as nr,oc as _l,od as b,oe as yu,of as or,pc as ml,pd as D,pe as Ru,pf as sr,q as fm,qc as ll,qd as gt,qe as Nu,qf as ir,rc as ul,rd as St,re as bt,rf as ar,sc as fl,sd as Ot,se as Pt,t as hm,tc as hl,td as yt,te as Lt,tf as pr,uc as rt,ud as Rt,ue as wt,uf as cr,v as Tm,vc as Tl,vd as Nt,ve as Mt,vf as dr,wc as nt,wd as It,we as kt,xd as xt,xe as Dt,ya as Dm,yb as Km,yc as Al,yd as vl,ye as Gt,yf as Tf,z as Am,za as Gm,zb as qe,zc as Cl,zd as Fl,ze as vt,zf as Af}from"./chunks/chunk-GE4KCSZP.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 u="https://schema.unbrained.dev/pm/corpus-shape/v1";function A(e,t){if(!Number.isSafeInteger(e)||e<=0)throw new TypeError(`Corpus shape ${t} must be a positive safe integer`);return e}function y(e,t){if(!Number.isSafeInteger(e)||e<0)throw new TypeError(`Corpus shape ${t} must be a non-negative safe integer`);return e}function he(e){if(!(typeof e!="object"||e===null||Object.isFrozen(e))){for(let t of Object.values(e))he(t);Object.freeze(e)}}function C(e){if(e.schema!==u)throw new TypeError(`Unsupported corpus shape schema: ${e.schema}`);if(e.name.trim().length===0||e.description.trim().length===0)throw new TypeError("Corpus shape name and description must be non-empty");if(A(e.hierarchy_depth,"hierarchy_depth"),A(e.hierarchy_fanout,"hierarchy_fanout"),y(e.age_span_days,"age_span_days"),A(e.history_entries_per_item,"history_entries_per_item"),y(e.comments_per_100_items,"comments_per_100_items"),y(e.notes_per_100_items,"notes_per_100_items"),y(e.learnings_per_100_items,"learnings_per_100_items"),A(e.author_cardinality,"author_cardinality"),A(e.component_count,"component_count"),e.edge_kind_mix.length===0||e.edge_kind_mix.some(r=>r.kind.trim().length===0||r.weight<=0))throw new TypeError("Corpus shape edge_kind_mix requires non-empty kinds with positive weights");if(e.terminal_statuses.some(r=>!e.custom_statuses.includes(r)))throw new TypeError("Corpus shape terminal_statuses must be declared in custom_statuses");let t=structuredClone(e);return he(t),t}var P=[{kind:"implements",weight:5},{kind:"blocked_by",weight:2},{kind:"discovered_from",weight:2},{kind:"verifies",weight:2},{kind:"supersedes",weight:1},{kind:"related",weight:4}],E=Object.freeze({scratch:C({schema:u,name:"scratch",description:"Seconds-old, shallow project with minimal history.",hierarchy_depth:2,hierarchy_fanout:50,age_span_days:0,history_entries_per_item:1,comments_per_100_items:2,notes_per_100_items:1,learnings_per_100_items:1,edge_kind_mix:[{kind:"related",weight:1}],author_cardinality:2,component_count:1,include_cycles:!1,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),representative:C({schema:u,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:P,author_cardinality:32,component_count:1,include_cycles:!1,custom_types:["Experiment"],custom_statuses:["review"],terminal_statuses:[],custom_fields:["domain"]}),"deep-graph":C({schema:u,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:P,author_cardinality:16,component_count:1,include_cycles:!0,custom_types:[],custom_statuses:[],terminal_statuses:[],custom_fields:[]}),"multi-decade":C({schema:u,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:P,author_cardinality:64,component_count:1,include_cycles:!1,custom_types:["Program"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["portfolio"]}),"disconnected-archive":C({schema:u,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:P,author_cardinality:24,component_count:5,include_cycles:!1,custom_types:["Archive"],custom_statuses:["archived"],terminal_statuses:["archived"],custom_fields:["archive_source"]})});function j_(){return Object.keys(E).sort().map(e=>E[e])}function X_(e){let t=e.trim().toLowerCase();if(!Object.hasOwn(E,t))throw new TypeError(`Unknown corpus shape "${e}". Available: ${Object.keys(E).join(", ")}`);return E[t]}var fe=new WeakMap;function Te(e,t){if(e===0)return[];let r=fe.get(t);r===void 0&&(r=t.edge_kind_mix.flatMap(o=>Array.from({length:o.weight},()=>o.kind)),fe.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 Y_(e,t,r,n=42){if(y(t,"item index"),A(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),a=0,c=1;for(let B=0;B<e.hierarchy_depth;B+=1)a=Math.min(Number.MAX_SAFE_INTEGER,a+c),c=Math.min(Number.MAX_SAFE_INTEGER,c*e.hierarchy_fanout);let p=s%a,d=s-p,m=p===0?void 0:i+(d+Math.floor((p-1)/e.hierarchy_fanout))*o,_=Date.UTC(2026,0,1),I=e.age_span_days*864e5,xe=new Date(_+(r===1?0:Math.round(t/(r-1)*I))).toISOString(),w=(t*37+n)%100;return{index:t,id:`pm-s${t.toString(36).padStart(7,"0")}`,...m===void 0?{}:{parent:`pm-s${m.toString(36).padStart(7,"0")}`},component:i,timestamp:xe,author:`pm-corpus-agent-${(t+n)%Math.min(e.author_cardinality,r)}`,history_entry_count:e.history_entries_per_item,dependency_kinds:Te(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 v=class{shape;authors=new Set;components=new Set;depths=new Map;childCounts=new Map;edgeKinds={};expectedEdgeKinds={};annotations={comments:0,notes:0,learnings:0};annotationFields;planMismatches=[];itemCount=0;observedDepth=0;observedFanout=0;historyEntryCount=0;firstTimestamp=null;lastTimestamp=null;constructor(t){this.shape=t,this.annotationFields=[["comments","has_comment",t.comments_per_100_items],["notes","has_note",t.notes_per_100_items],["learnings","has_learning",t.learnings_per_100_items]]}recordMismatch(t,r){t&&this.planMismatches.push(r)}recordEdgeKinds(t,r){for(let 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,Te(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,,a]of this.annotationFields){let c=Math.floor(this.itemCount/100),p=this.itemCount%100,d=c*a+Math.max(0,a+p-100),m=c*a+Math.min(a,p),_=this.annotations[s];(_<d||_>m)&&n.push(`${s}:${_}!in[${d},${m}]`)}let o=new Set([...Object.keys(this.edgeKinds),...Object.keys(this.expectedEdgeKinds)]);for(let s of[...o].sort()){let a=this.edgeKinds[s]??0,c=this.expectedEdgeKinds[s]??0;a!==c&&n.push(`edge_kind:${s}:${a}!=${c}`)}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 Ae(e){return new v(e)}function q_(e,t){let r=Ae(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]="1f6a4ff8-fc1e-5aac-8117-bae8f325b275")}catch{}})();function Ce(e){return e.agent_episode!==void 0?{id:e.agent_episode.id,source:"declared"}:{id:e.agent_instance?`inferred:instance:${e.agent_instance}`:`inferred:author:${e.author}:${e.ts.slice(0,13)}`,source:"inferred"}}function J_(e,t,r){let n=t,o=new Set([e.id]);for(;n!==void 0&&!o.has(n.id);)o.add(n.id),n=n.parent_id?r.get(n.parent_id):void 0;return n===void 0}function Q_(e){let t=[e];for(;t.length>0;){let r=t.pop();r.sort((n,o)=>n.entries[0].ts.localeCompare(o.entries[0].ts)||n.id.localeCompare(o.id)),t.push(...r.map(n=>n.children))}}function Z_(e=D,t=b){return t.map(r=>{let n=e.filter(o=>((r==="model"?o.model_environment_keys:o.provenance_environment_keys?.[r])?.length??0)>0||o.provenance_resolvers?.[r]!==void 0).map(o=>o.harness).sort();return{dimension:r,harnesses:n,covered:n.length>0}})}function em(e,t=1){let r=new Map;for(let n of e){if(!n.agent_harness)continue;let o=r.get(n.agent_harness)??{harness:n.agent_harness,entries:0,observed:0,unavailable:0,legacy_missing:0};o.entries+=1,n.agent_model||n.agent_provenance?.model&&n.agent_provenance.model.value.length>0?o.observed+=1:n.agent_provenance?.model===null?o.unavailable+=1:o.legacy_missing+=1,r.set(n.agent_harness,o)}return[...r.values()].map(n=>{let o=n.observed+n.unavailable;return{...n,coverage:o===0?null:n.observed/o,inert:o>=t&&n.observed===0}}).sort((n,o)=>n.harness.localeCompare(o.harness))}function tm(e,t=b,r=1){let n=new Map;for(let o of e)if(o.agent_harness)for(let i of t){let s=`${o.agent_harness}\0${i}`,a=n.get(s)??{harness:o.agent_harness,dimension:i,entries:0,observed:0,unavailable:0,legacy_missing:0};a.entries+=1;let c=o.agent_provenance?.[i];c!=null&&c.value.length>0?a.observed+=1:c===null?a.unavailable+=1:a.legacy_missing+=1,n.set(s,a)}return[...n.values()].map(o=>{let i=o.observed+o.unavailable;return{...o,coverage:i===0?null:o.observed/i,inert:i>=r&&o.observed===0}}).sort((o,i)=>o.harness.localeCompare(i.harness)||o.dimension.localeCompare(i.dimension))}function rm(e){let t=[...e].sort((i,s)=>i.ts.localeCompare(s.ts)||i.author.localeCompare(s.author)||i.op.localeCompare(s.op)||i.before_hash.localeCompare(s.before_hash)||i.after_hash.localeCompare(s.after_hash)),r=new Map,n=new Map;for(let i of t){let s=i.agent_episode,a=Ce(i),c=`${a.source}:${a.id}`,p=r.get(c);if(p){p.entries.push(i);continue}let d={id:a.id,...s?.label===void 0?{}:{label:s.label},...s?.parent_id===void 0?{}:{parent_id:s.parent_id},source:a.source,entries:[i],children:[]};r.set(c,d),s!==void 0&&n.set(a.id,d)}let o=[];for(let i of r.values()){let s=i.parent_id?n.get(i.parent_id):void 0;s&&J_(i,s,n)?s.children.push(i):o.push(i)}return Q_(o),o}(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]="80b8e2af-4dcf-59e8-bfbf-38124db887bf")}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 nm(){let e=M(process.cwd(),process.env.PM_PATH);await K(e,(t,r)=>j(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 Ee="https://schema.unbrained.dev/pm/workspace-recipe/v1";function F(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)=>F(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,F(n,`${t}.${r}`)])))}function ge(e){if(e.schema!==Ee)throw new Error(`Unsupported workspace recipe schema: ${e.schema}`);let t=$(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:F(r.input,`operations[${n}].input`)})))})}async function Se(e,t){let r=ge(e);return V(r,t)}async function om(e,t){return Se(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 sm(){await X()}import g from"node:fs";import U 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]="6748a283-bc93-5783-98c1-d1a7f2fdce4e")}catch{}})();var Oe=300*1e3,im=3;function cg(e){return(e?.trim()||"development").replace(/[^a-zA-Z0-9._-]/g,"_").replace(/^\./,"_")}function dg(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.");g.mkdirSync(e,{recursive:!0});let n=U.join(e,r);g.mkdirSync(n,{recursive:!0});let o=new Date;g.utimesSync(n,o,o);let i=g.readdirSync(e).filter(p=>p!==r).flatMap(p=>{try{return[{name:p,mtimeMs:g.statSync(U.join(e,p)).mtimeMs}]}catch(d){if(d instanceof Error&&"code"in d&&d.code==="ENOENT")return[];throw d}}).sort((p,d)=>d.mtimeMs-p.mtimeMs||p.name.localeCompare(d.name)),s=i.filter(p=>o.getTime()-p.mtimeMs<Oe),a=Math.max(0,im-1-s.length),c=i.filter(p=>o.getTime()-p.mtimeMs>=Oe).slice(a).map(p=>p.name).sort((p,d)=>p.localeCompare(d));for(let p of c)g.rmSync(U.join(e,p),{recursive:!0,force:!0,maxRetries:3,retryDelay:50});return{retained:r,removed:c}}import{createHash as am}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 H=1;function S(e){e?.throwIfAborted()}function f(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship graph ${t} must be non-empty`);return e.trim()}function O(e,t,r={}){let 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:H,fingerprint:am("sha256").update(x({nodes:o,edges:i,kinds:s})).digest("hex"),created_at:new Date(n).toISOString(),nodes:o,edges:i,kinds:s})}function pm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function N(e){if(!pm(e))throw new TypeError("Relationship graph snapshot must be an object");if(e.version!==H)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 k([]);for(let o of e.kinds)t.register(o);let r=new T(e.nodes,e.edges,t),n=O(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 l(e,t){f(e.name,"adapter name");let r=f(t.workspace,"workspace");S(t.signal);let n=await e.read({...t,workspace:r});return S(t.signal),n===null?null:N(n)}async function L(e,t){let r=f(t.workspace,"workspace"),n=N(t.snapshot).snapshot,o=await l(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(S(t.signal),await e.replace({workspace:r,signal:t.signal,snapshot:n,expected_fingerprint:o?.snapshot.fingerprint??null}),(await l(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 cm(e,t={}){let r=e.map(N),n=new Map;for(let s of r)for(let a of s.snapshot.kinds){let c=n.get(a.kind);if(c&&x(c)!==x(a))throw new TypeError(`Conflicting federated relationship kind: ${a.kind}`);n.set(a.kind,a)}let o=new k([...n.values()].sort((s,a)=>s.kind.localeCompare(a.kind))),i=new T(new Set(r.flatMap(s=>[...s.snapshot.nodes])),r.flatMap(s=>[...s.snapshot.edges]),o);return O(i,o,t)}var R=class{name;#e=new Map;constructor(t="memory"){this.name=f(t,"adapter name")}async read(t){S(t.signal);let r=this.#e.get(f(t.workspace,"workspace"));return r?structuredClone(r):null}async replace(t){S(t.signal);let r=f(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(N(t.snapshot).snapshot))}async clear(t){S(t.signal);let r=f(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 ye(e,t){if(!Number.isInteger(e)||e<1)throw new TypeError(`Relationship graph ${t} must be a positive integer`);return e}function dm(e){let t=ye(e.nodeCount,"nodeCount"),r=ye(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 a=0;a<t;a+=1)yield`${i}-${a}`}},edges:{*[Symbol.iterator](){if(n!=="disconnected")for(let a=r;a<t;a+=r)yield{source:`${i}-${n==="star"?0:a-r}`,target:`${i}-${a}`,kind:o}}}}}function h(e,t){if(!e)throw new Error(`Relationship graph adapter conformance: ${t}`)}async function Re(e,t={}){let r=t.workspace?.trim()||"pm-graph-conformance",n=W(),o=O(new T(["a","b"],[{source:"a",target:"b",kind:"related"}],n),n,{createdAt:"2026-01-01T00:00:00.000Z"}),i=O(new T(["a","b","c"],[{source:"a",target:"b",kind:"related"},{source:"b",target:"c",kind:"blocked_by"}],n),n,{createdAt:"2026-01-02T00:00:00.000Z"}),s=[];h(await l(e,{workspace:r})===null,"workspace must start empty"),s.push({name:"empty-read",passed:!0});let a=await L(e,{workspace:r,snapshot:o});h(a.disposition==="written","first sync must write"),s.push({name:"atomic-replace",passed:!0}),(await e.read({workspace:r})).nodes.push("mutated-reader-copy"),h((await l(e,{workspace:r}))?.snapshot.nodes.length===2,"reads must not mutate stored state"),s.push({name:"read-isolation",passed:!0}),h((await L(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}),h((await l(e,{workspace:r}))?.snapshot.fingerprint===i.fingerprint,"replacement must become visible"),s.push({name:"replacement-visibility",passed:!0});let p=!1;try{await e.replace({workspace:r,snapshot:o,expected_fingerprint:o.fingerprint})}catch{p=!0}return h(p,"stale compare-and-swap must fail"),s.push({name:"stale-cas",passed:!0}),e.clear&&(await e.clear({workspace:r,expected_fingerprint:i.fingerprint}),h(await l(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 _m(e){return Re(new R,e?{workspace:e}:{})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="2c3df51e-6b10-5da6-8340-126465d9c434")}catch{}})();(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 Ne}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 Ie(e,t){if(typeof e!="string"||e.trim().length===0)throw new TypeError(`Relationship backfill ${t} must be non-empty`);return e.trim()}function Dg(e,t){let r=Ie(t.migrationId,"migrationId"),n=Ie(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=G(e,void 0,t.registry),a=s.graph.nodes(),c=s.graph.edges().map(_=>{let I=Ne("sha256").update(JSON.stringify([r,_.kind,_.source,_.target,_.createdAt??null,_.author??null,_.payload??null])).digest("hex").slice(0,24);return Object.freeze({eventId:`backfill:${r}:${I}`,relationshipId:`migration:${r}:${I}`,action:"add",edge:_,author:n,timestamp:i,reason:`Backfill ${r} from legacy item metadata`})}),p=Ne("sha256").update(JSON.stringify({migrationId:r,nodes:a,events:c})).digest("hex"),d=new Set([...t.existingEventIds??[]].filter(_=>typeof _=="string").map(_=>_.trim()).filter(Boolean)),m=c.filter(_=>!d.has(_.eventId));return Object.freeze({migration_id:r,fingerprint:p,nodes:a,events:Object.freeze(m),edge_count:c.length,skipped_existing_count:c.length-m.length,duplicate_dependency_rows:s.duplicateRows.length,dangling_reference_count:s.dangling.active.length+s.dangling.legacy_terminal.length})}(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9212673f-1a9f-50b8-92a2-4fd30ce54351")}catch{}})();function vg(e){return e}function Fg(e){return e}function Ug(e){return e}function Hg(e){return e}function Bg(e){return e}function $g(e){return e}function Vg(e){return e}function Wg(e){return e}function zg(e){return e}function Kg(e){return e}function jg(e){return e}function Xg(e){return e}function Yg(e){return e}function qg(e){return{handled:!0,result:e}}function Jg(){return{handled:!1}}function Qg(e){return e}function Zg(e){return e}function eS(e){return e}function tS(e){return e}function rS(e){return e}function nS(e){return e}function oS(e){return e}function sS(e){return e}function iS(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]="99a9b24a-4bc7-50da-8333-e76086f0e303")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="708c1c46-ce32-56ff-812f-71f825ad7ec4")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5e04dc9d-8e2d-5ef2-bf8b-6b18bd87c3bc")}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="ee9b3579-e9c4-505d-9b38-3d3616757e64")}catch{}})();export{Gr as ACTIVITY_COMMANDER_STRING_OPTION_CONTRACTS,bo as ACTIVITY_FLAG_CONTRACTS,b as AGENT_PROVENANCE_DIMENSIONS,fn as AGGREGATE_FLAG_CONTRACTS,eo as APPEND_FLAG_CONTRACTS,it as BASELINE_ITEM_FORMAT_VERSION,gT as BRIEF_LIST_FIELDS,E as BUILTIN_CORPUS_SHAPES,D as BUILTIN_HARNESS_SIGNAL_DESCRIPTORS,ve as BUILTIN_ITEM_TYPE_VALUES,oe as BUILTIN_PROFILES,Mr as CALENDAR_COMMANDER_STRING_OPTION_CONTRACTS,xo as CALENDAR_FLAG_CONTRACTS,to as CLAIM_FLAG_CONTRACTS,Xo as CLOSE_ACTION_OPTION_KEYS,Qn as CLOSE_FLAG_CONTRACTS,Zn as CLOSE_MANY_FLAG_CONTRACTS,ao as CLOSE_TASK_FLAG_CONTRACTS,hn as COMMENTS_FLAG_CONTRACTS,Dm as COMMON_MUTATION_COMMAND_OPTION_KEYS,Bo as COMPLETION_FLAG_CONTRACTS,Ve as CONFIDENCE_TEXT_VALUES,Ln as CONFIG_FLAG_CONTRACTS,kr as CONTEXT_COMMANDER_STRING_OPTION_CONTRACTS,MT as CONTEXT_EVALUATION_METRIC_NAMES,Lo as CONTEXT_FLAG_CONTRACTS,q as CONTEXT_OUTPUT_VALUES,FT as CONTEXT_PACKING_PROFILES,bT as CONTEXT_RELEVANCE_SERVICE,IT as CONTEXT_RELEVANCE_SIGNAL_NAMES,KT as CONTEXT_SIGNAL_SET_VERSION,zT as CONTEXT_SIGNAL_STORE_FORMAT_VERSION,Ho as CONTRACTS_FLAG_CONTRACTS,yo as COPY_FLAG_CONTRACTS,Hr as CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,$r as CREATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Br as CREATE_COMMANDER_STRING_OPTION_CONTRACTS,fm as CREATE_DIRECT_CLOSE_REASON_DEFAULT,go as CREATE_FLAG_CONTRACTS,at as CURRENT_ITEM_FORMAT_VERSION,qT as ContextSignalStore,HT as ContextUsageValidationError,tT as DEFAULT_AUTHOR_IDENTITY_VOCABULARY,xA as DEFAULT_CHILD_SAMPLE_LIMIT,ET as DEFAULT_COMPACT_LIST_FIELDS,Nf as DEFAULT_DERIVED_INDEX_MINIMUM_ITEMS,np as DEFAULT_EVAL_QUERIES_RELATIVE_PATH,_A as DEFAULT_TERMINAL_TRANSITION_POLICY,eA as DEFAULT_WORKSPACE_MEMORY_MINIMUM_ITEMS,no as DELETE_FLAG_CONTRACTS,He as DEPENDENCY_KIND_VALUES,ko as DEPS_FLAG_CONTRACTS,En as DOCS_FLAG_CONTRACTS,Ao as DUPLICATES_FLAG_CONTRACTS,Go as EVAL_FLAG_CONTRACTS,Za as EVAL_QUERY_SET_CONTRACT,ep as EVAL_QUERY_SET_EXAMPLE,Qa as EVAL_QUERY_SET_SCHEMA_ID,Po as EVENTS_FLAG_CONTRACTS,co as EVENT_FLAG_CONTRACTS,Pr as EXECUTABLE_COMMAND_ALIASES,Me as EXIT_CODE,$n as EXTENSION_ACTIVATE_FLAG_CONTRACTS,Bn as EXTENSION_ADOPT_ALL_FLAG_CONTRACTS,Xn as EXTENSION_ADOPT_FLAG_CONTRACTS,Fh as EXTENSION_CAPABILITIES,um as EXTENSION_CAPABILITY_CONTRACT,mm as EXTENSION_CAPABILITY_CONTRACT_VERSION,lm as EXTENSION_CAPABILITY_LEGACY_ALIASES,Qe as EXTENSION_CAPABILITY_REGISTRATION_SURFACES,jn as EXTENSION_CATALOG_FLAG_CONTRACTS,Vn as EXTENSION_DEACTIVATE_FLAG_CONTRACTS,Hn as EXTENSION_DESCRIBE_FLAG_CONTRACTS,Kn as EXTENSION_DOCTOR_FLAG_CONTRACTS,Un as EXTENSION_EXPLORE_FLAG_CONTRACTS,wn as EXTENSION_FLAG_CONTRACTS,kn as EXTENSION_INIT_FLAG_CONTRACTS,vn as EXTENSION_INSTALL_FLAG_CONTRACTS,Wn as EXTENSION_MANAGE_FLAG_CONTRACTS,Uh as EXTENSION_POLICY_MODES,Hh as EXTENSION_POLICY_SURFACES,zn as EXTENSION_RELOAD_FLAG_CONTRACTS,$h as EXTENSION_SANDBOX_PROFILES,Mn as EXTENSION_SCOPE_FLAG_CONTRACTS,Bh as EXTENSION_TRUST_MODES,Fn as EXTENSION_UNINSTALL_FLAG_CONTRACTS,TA as EXTERNAL_DEPENDENCY_SOURCE_KIND,AA as EXTERNAL_DEPENDENCY_SOURCE_KIND_ALIAS,Cn as FILES_FLAG_CONTRACTS,Ro as FOCUS_FLAG_CONTRACTS,ho as GC_FLAG_CONTRACTS,wo as GET_FLAG_CONTRACTS,ln as GLOBAL_FLAG_CONTRACTS,Hp as GRAPH_DURABLE_CACHE_MIN_ITEMS,Up as GRAPH_DURABLE_CACHE_VERSION,Do as GRAPH_FLAG_CONTRACTS,Gt as GRAPH_SUBCOMMAND_VALUES,Mo as GUIDE_FLAG_CONTRACTS,Co as HEALTH_FLAG_CONTRACTS,Rn as HISTORY_AUTHOR_ACKNOWLEDGE_FLAG_CONTRACTS,kA as HISTORY_AUTHOR_ATTRIBUTION_BASELINE,fC as HISTORY_COMPACT_BULK_DEFAULT_MIN_ENTRIES,Nn as HISTORY_COMPACT_FLAG_CONTRACTS,gn as HISTORY_FLAG_CONTRACTS,On as HISTORY_REDACT_FLAG_CONTRACTS,yn as HISTORY_REPAIR_FLAG_CONTRACTS,Ka as INIT_AGENT_GUIDANCE_MODE_VALUES,Pn as INIT_FLAG_CONTRACTS,Yn as INSTALL_FLAG_CONTRACTS,$e as ISSUE_SEVERITY_VALUES,Oo as ITEM_COMPLETE_FLAG_CONTRACTS,tC as ITEM_LATEST_TIMESTAMP_FIELDS,Tm as ITEM_METADATA_KEY_ORDER,So as ITEM_MUTATE_FLAG_CONTRACTS,Fe as ITEM_TYPE_VALUES,eC as ITEM_UNION_COLLECTION_FIELDS,YT as JsonFileContextSignalStoreAdapter,An as LEARNINGS_FLAG_CONTRACTS,Li as LINKED_TEST_ENV_NAME_PATTERN,wi as LINKED_TEST_PM_CONTEXT_MODE_VALUES,Pi as LINKED_TEST_PROTECTED_ENV_KEYS,Lr as LIST_COMMANDER_STRING_OPTION_CONTRACTS,ST as LIST_COMMAND_DEFAULT_PROJECTIONS,Wh as LIST_FILTER_EXTENSION_FLAG_DEFINITIONS,un as LIST_FILTER_FLAG_CONTRACTS,AT as LIST_SORT_FIELDS,CT as LIST_SORT_ORDER_VALUES,IA as MAX_CHILD_PROJECTION_ITEMS,po as MEET_FLAG_CONTRACTS,oC as MERGE_DRIVER_ARTIFACT_VALUES,Sn as MERGE_FLAG_CONTRACTS,R as MemoryRelationshipGraphAdapter,Dr as NEXT_COMMANDER_STRING_OPTION_CONTRACTS,Fo as NEXT_FLAG_CONTRACTS,zs as NEXT_OUTPUT_VALUES,Tn as NOTES_FLAG_CONTRACTS,Dn as PACKAGE_FLAG_CONTRACTS,Gn as PACKAGE_INIT_FLAG_CONTRACTS,io as PAUSE_TASK_FLAG_CONTRACTS,jo as PLAN_CREATE_METADATA_PARAMETER_KEYS,bn as PLAN_FLAG_CONTRACTS,pa as PLAN_SHOW_DEPTH_VALUES,aa as PLAN_SUBCOMMANDS,ca as PLAN_TEMPLATE_NAMES,rs as PM_CLI_EXPECTED_ERROR_NAME,Ft as PM_CLI_ONLY_TOOL_ACTION_WAIVERS,Jt as PM_COMMAND_OUTPUT_BUDGET_CONTRACTS,IC as PM_COMMAND_OUTPUT_ENVELOPE_CONTRACTS,Zp as PM_COMMAND_VISIBILITY_CONTRACTS,Kh as PM_CONTEXT_INTENTS_FILE,Tu as PM_CONTEXT_INTENT_CONTRACTS,Dt as PM_CORE_COMMAND_NAMES,u as PM_CORPUS_SHAPE_SCHEMA,yC as PM_ERROR_CODE_CATALOG,gC as PM_ERROR_CODE_EXIT_CLASS_CONTRACTS,bt as PM_EXTENSION_CAPABILITY_CONTRACTS,vt as PM_EXTENSION_PACKAGE_ACTION_SUBCOMMANDS,Lt as PM_EXTENSION_POLICY_MODE_CONTRACTS,kt as PM_EXTENSION_POLICY_SURFACE_CONTRACTS,Mt as PM_EXTENSION_SANDBOX_PROFILE_CONTRACTS,Pt as PM_EXTENSION_SERVICE_NAME_CONTRACTS,wt as PM_EXTENSION_TRUST_MODE_CONTRACTS,RA as PM_GITATTRIBUTES_END,yA as PM_GITATTRIBUTES_START,ps as PM_GITIGNORE_END,as as PM_GITIGNORE_START,sc as PM_MCP_PROMPT_CONTRACTS,oc as PM_MCP_RESOURCE_CONTRACTS,rc as PM_MCP_TOOL_COMMAND_CONTRACTS,zl as PM_MODE_PAIRED_OUTPUT_PROJECTION_CONTRACTS,hr as PM_MUTATION_ACTION_CONTRACTS,jt as PM_OUTPUT_BUDGET_CLASSES,Kt as PM_OUTPUT_DEGRADATION_STEPS,RC as PM_OUTPUT_ENVELOPE_KINDS,Z as PM_PACKAGE_CONVENTIONAL_RESOURCE_ROOTS,Q as PM_PACKAGE_RESOURCE_KINDS,ts as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA,Zo as PM_PROVIDER_TOOL_PARAMETERS_SCHEMA_VERSION,au as PM_READ_OUTPUT_DIMENSIONS,cu as PM_READ_OUTPUT_OPTION_FLAGS,pu as PM_READ_OUTPUT_SURFACES,du as PM_READ_OUTPUT_SURFACE_CONTRACTS,Wl as PM_READ_ROW_CONTRACTS,Vl as PM_READ_ROW_JQ_SELECTOR,Ut as PM_TOOL_ACTIONS,Yo as PM_TOOL_ACTION_PARAMETER_CONTRACTS,es as PM_TOOL_PARAMETERS_SCHEMA,Qo as PM_TOOL_PARAMETERS_SCHEMA_MAJOR,Jo as PM_TOOL_PARAMETERS_SCHEMA_VERSION,zo as PM_TOOL_RESERVED_CUSTOM_FIELD_PROPERTIES,Ee as PM_WORKSPACE_RECIPE_SCHEMA,xn as PROFILE_FLAG_CONTRACTS,_e as PROFILE_LINT_CODES,de as PROFILE_LINT_DIMENSIONS,ne as PROFILE_NAMES,Sp as PROFILE_SUBCOMMANDS,ke as PmCliError,rd as PmClient,iu as QUERY_CURSOR_CONTRACT,Jn as REINDEX_FLAG_CONTRACTS,gf as REINDEX_LOCK_ID,H as RELATIONSHIP_GRAPH_SNAPSHOT_VERSION,oo as RELEASE_FLAG_CONTRACTS,_o as REMIND_FLAG_CONTRACTS,z as RESERVED_ITEM_FIELD_NAMES,ro as RESTORE_FLAG_CONTRACTS,Be as RISK_VALUES,Ph as RelationshipEventLog,Lh as RelationshipEventStore,T as RelationshipGraph,k as RelationshipKindRegistry,In as SCHEMA_FLAG_CONTRACTS,wr as SEARCH_COMMANDER_STRING_OPTION_CONTRACTS,zh as SEARCH_EXTENSION_FLAG_DEFINITIONS,Uo as SEARCH_FLAG_CONTRACTS,Am as SETTINGS_DEFAULTS,cp as SNAPSHOT_SCHEMA,so as START_TASK_FLAG_CONTRACTS,To as STATS_FLAG_CONTRACTS,Ue as STATUS_VALUES,mn as SUBCOMMAND_GLOBAL_FLAG_CONTRACTS,Hl as SUPPRESS_HOST_OUTPUT_MARKER,uo as TELEMETRY_FLAG_CONTRACTS,pc as TELEMETRY_SUBCOMMANDS,lo as TEST_ALL_FLAG_CONTRACTS,mo as TEST_FLAG_CONTRACTS,fo as TEST_RUNS_FLAG_CONTRACTS,dc as TEST_RUN_MEASUREMENT_LIMIT,sn as TOOL_ACTIVITY_OPTION_CONTRACTS,jr as TOOL_AGGREGATE_OPTION_CONTRACTS,tn as TOOL_BULK_MUTATION_FILTER_OPTION_CONTRACT_SOURCE,on as TOOL_CALENDAR_OPTION_CONTRACTS,nn as TOOL_CLOSE_MANY_FILTER_OPTION_CONTRACTS,an as TOOL_CONTEXT_OPTION_CONTRACTS,Qr as TOOL_CREATE_OPTION_CONTRACTS,Jr as TOOL_CREATE_OPTION_CONTRACT_SOURCE,pn as TOOL_DEPS_OPTION_CONTRACTS,cn as TOOL_GRAPH_OPTION_CONTRACTS,Kr as TOOL_LIST_FILTER_OPTION_CONTRACTS,Xr as TOOL_SEARCH_FILTER_OPTION_CONTRACTS,qr as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACTS,Yr as TOOL_SHARED_CREATE_UPDATE_OPTION_CONTRACT_SOURCE,rn as TOOL_UPDATE_MANY_FILTER_OPTION_CONTRACTS,en as TOOL_UPDATE_OPTION_CONTRACTS,Zr as TOOL_UPDATE_OPTION_CONTRACT_SOURCE,hm as TYPE_TO_FOLDER,Vr as UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS,zr as UPDATE_COMMANDER_REPEATABLE_OPTION_CONTRACTS,Wr as UPDATE_COMMANDER_STRING_OPTION_CONTRACTS,No as UPDATE_FLAG_CONTRACTS,Io as UPDATE_MANY_FLAG_CONTRACTS,qn as UPGRADE_FLAG_CONTRACTS,Eo as VALIDATE_FLAG_CONTRACTS,vo as WORKSPACE_FLAG_CONTRACTS,nr as WORKSPACE_HISTORY_ID,wp as WorkspaceGraphCache,Gh as WorkspaceTransactionInterruptedError,ss as _testOnly,NT as _testOnlyAggregateCommand,za as _testOnlyConfigCommand,wA as _testOnlyGetCommand,Ea as _testOnlyHealthCommand,qa as _testOnlyInit,ja as _testOnlyInitAgentGuidance,KC as _testOnlyItemTransaction,lC as _testOnlyMutationEvents,pA as _testOnlyNextCommand,JA as _testOnlySearchCommand,SA as _testOnlySimilarity,Tp as _testOnlyTemplates,$a as _testOnlyValidateCommand,Aa as acknowledgeUnknownAuthorHistoryEvents,If as acquireItemMetadataDerivedIndexLock,rr as acquireLock,oE as activateExtensionForTest,Zm as activateExtensions,Et as agentSessionEnvironment,pd as aggregate,Z_ as analyzeAgentProvenanceDescriptorCoverage,Mh as analyzeGraphImpact,kh as analyzeKnowledgeGraph,Ht as analyzePmToolActionParity,iC as analyzeReconciliationDiscard,wh as analyzeRelationshipExecution,Fp as analyzeRelationshipSchedule,M_ as analyzeSdkActionCoverage,Y as analyzeSdkCliParameterCompleteness,Ed as append,tr as appendHistoryEntry,ir as appendWorkspaceAuditEvent,sr as appendWorkspaceHistoryChange,Xu as applyAcceptanceCriteriaMutations,F_ as applyBootstrapPagerPolicy,Su as applyContextIntentProjection,Ws as applyContextTagProjection,OT as applyFilterValueEcho,Oh as applyHistoryPatch,z_ as applyInvocationAuthorOverride,Na as applyPathMigrations,uu as applyReadOutputDimensions,Rl as applyRegisteredItemFieldDefaultsAndValidation,ba as applyStandaloneNote,qu as applyTagRemovals,fA as applyTerminalOrderingPolicy,Pa as artifactKey,Om as asRecordClone,Sm as asRecordOrNull,G as assembleWorkspaceRelationshipGraph,FE as assertExtensionBlueprint,vE as assertExtensionCapabilityUsage,CE as assertExtensionDeactivated,BE as assertExtensionManifestCompatible,HE as assertExtensionManifestMatchesBlueprint,$E as assertExtensionPreflight,hC as assertHistoryCompactTarget,pC as assertHistoryRepairTarget,_m as assertMemoryRelationshipGraphAdapterConformance,Zu as assertNoUnknownCsvKeys,EE as assertPackageManifest,Ku as assertParentReferenceIsNotSelf,UE as assertProjectProfile,Kl as assertProjectionModeChoice,gE as assertRegisteredCommandContract,LE as assertRegisteredCommandOverride,IE as assertRegisteredExporter,SE as assertRegisteredFlags,OE as assertRegisteredHook,NE as assertRegisteredImporter,xE as assertRegisteredItemField,bE as assertRegisteredItemType,GE as assertRegisteredMigration,wE as assertRegisteredParserOverride,ME as assertRegisteredPreflightOverride,PE as assertRegisteredProfile,kE as assertRegisteredRendererOverride,yE as assertRegisteredSearchProvider,DE as assertRegisteredServiceOverride,RE as assertRegisteredVectorStoreAdapter,Wm as assertRelationshipEdgeAllowed,Re as assertRelationshipGraphAdapterConformance,Ru as attachContextIntentReceipt,Ql as attachOutputOmissionReceipt,Iu as attachOutputTokenAccounting,Nu as attachReadOutputContracts,Yi as auditMergeAttributeFence,NA as auditMergeDriverConfiguration,Oi as auditWorkspaceRelationshipGraph,Tt as boundAgentEpisodeIdentity,Hs as buildChildrenByParent,BA as buildCompactSearchFilterSummary,yT as buildContentFilterEcho,XT as buildContextSignalSnapshot,Y_ as buildCorpusShapeItemPlan,oa as buildExtensionDescribeResult,RT as buildGovernanceMissingFilterEcho,_f as buildInvalidTypeError,bA as buildItemChildrenRollup,WC as buildItemCompletionMutations,xT as buildItemContextRelevanceCandidates,Mf as buildItemNotFoundError,LA as buildItemSchedule,ji as buildMergeAttributePatterns,qo as buildPmActionToolInputSchema,AC as buildRelationshipContext,vf as buildSearchCorpus,Uf as buildSemanticCorpusInput,zf as buildVectorizationEmbeddingIdentity,Kf as buildVectorizationEmbeddingMetadata,$A as buildVerboseSearchFilters,tA as buildWorkspaceMemorySnapshot,ht as canonicalDocument,Gm as canonicalizeCommandOptionKey,rE as checkExtensionManifestCompatibility,r_ as claim,n_ as claimNext,DA as classifyHistoryAuthorEvent,qA as classifyImplicitSemanticFallbackReason,dt as classifyItemFormatVersion,fc as classifyLinkedTestFailure,hl as clearActiveExtensionHooks,zp as clearDurableGraphCache,ch as clearFocusedItem,_s as clearWorkspaceContractsCache,t_ as close,Zs as closeItem,__ as closeTask,B_ as coalesceRepeatedListFlags,pT as collectBlockedByIds,ci as collectDanglingDependencyReferences,dT as collectDependencyBlockedIds,pi as collectDuplicateDependencyRows,Si as collectDuplicateRelationshipEdgeGroups,YA as collectErrorCauseCodes,di as collectMissingDependencyTargetIds,Ri as collectNewOrderingCycleWarnings,Ei as collectOrderingCycles,Yh as collectPackageContextIntentContracts,te as collectPackageExtensionDirectories,Ol as collectRegisteredItemFieldNames,Ll as collectRuntimeCreateFieldValues,mf as collectRuntimeFilterValues,wl as collectRuntimeUpdateFieldValues,Ds as collectSubtreeIds,Ze as collectUsedExtensionCapabilities,vm as commandOptionFlagLabel,_d as comments,Wc as commitImportedItem,zC as commitItemCompletion,VC as commitItemMutations,vh as commitWorkspaceTransaction,_n as compactFlagAliasContracts,Gs as compareCriticalItems,Dh as compareRelationshipSnapshots,ym as compareTimestampStrings,iT as compileHistoryProvenanceMatcher,Eu as composeContextIntentContracts,YC as composeExtension,tE as composeExtensionPackage,_T as computeActionabilityReport,Uu as computeHistoryDiff,Gp as computeRelationshipCentrality,Ci as computeRelationshipDominators,Lp as computeWorkspaceGraphFingerprint,Sd as config,fl as consumeAfterCommandAffectedItems,nd as context,yu as contextIntentRowId,s_ as copy,hc as countFailureCategories,Zd as create,Nm as createCheckpointId,el as createCoreCommandHookContext,Ae as createCorpusShapeMeasurement,Km as createEmptyExtensionRegistrationRegistry,is as createExtensionCommandSdk,Je as createExtensionContributionInventory,VE as createExtensionTestHarness,er as createHistoryEntry,_h as createLazyModule,wf as createMutationGuardSdk,jl as createOutputOmissionReceipt,ns as createPmCliExpectedError,K_ as createPmCliProgram,Yt as createPmCommandOutputBudget,eu as createQueryFingerprint,dm as createRelationshipGraphScaleFixture,O as createRelationshipGraphSnapshot,W as createRelationshipKindRegistry,VA as createSearchCursorFingerprint,tl as createSerialQueue,ef as createStdinTokenResolver,dp as createWorkspaceSnapshot,sE as deactivateExtensionForTest,Jg as declineServiceOverride,Ou as decodeContextIntentCursor,dh as decodeHtmlEntitiesInOptions,nu as decodeQueryCursor,ru as decodeQueryCursorState,wa as dedupeLinkedArtifacts,PT as defaultScoreContextCandidates,nS as defineAfterCommandHook,tS as defineBeforeCommandHook,rS as defineBeforeMutationHook,Ug as defineCommand,Kg as defineCommandOverride,C as defineCorpusShape,eS as defineExporter,jC as defineExtension,XC as defineExtensionBlueprint,vg as defineExtensionManifest,Hg as defineFlag,Zg as defineImporter,$g as defineItemField,Bg as defineItemType,Vg as defineMigration,iS as defineOnIndexHook,sS as defineOnReadHook,oS as defineOnWriteHook,jg as defineParserOverride,qt as definePmCommandOutputBudget,NC as definePmCommandOutputEnvelope,SC as definePmErrorCodeCatalog,Xg as definePreflightOverride,Fg as defineProjectProfile,Qg as defineRendererOverride,Wg as defineSearchProvider,Yg as defineServiceOverride,zg as defineVectorStoreAdapter,ge as defineWorkspaceRecipe,i_ as deleteItem,hp as deleteWorkspaceSnapshot,zm as dependencyToRelationship,Ad as deps,JC as deriveExtensionCapabilities,Zi as deriveSchemaEvolutionMigrationId,eh as deriveTelemetryCommandResolution,hf as describeAllowedTransitions,OA as describeExtensionActivation,QC as describeExtensionBlueprint,ys as describeItemOwnershipConflict,pe as describeProfileComposition,ce as describeProjectProfile,wC as describeUnknownError,yt as detectAgentIdentity,It as detectHarnessIdentity,Ti as detectRelationshipCommunities,yi as diffRelationshipAuditSnapshots,lc as diffTestRunMeasurements,Jm as discoverExtensions,Ke as discoverNearbyPmRoot,Td as docs,dd as duplicates,Bp as durableGraphCachePath,Kp as durableGraphCacheStatus,pt as effectiveItemFormatVersion,Eh as emitTelemetryErrorEvent,Vc as emptyImportedDocument,tu as encodeQueryCursor,Hu as enforceHistoryStreamPolicyForItem,Bu as enforceHistoryStreamPolicyForItems,CC as enrichCliFlagInvocationContract,EC as enrichCliFlagInvocationContracts,Rh as ensureMaterializedHistoryTarget,ds as ensurePmGitignore,ga as ensureScope,Zf as ensureSentryInit,$c as ensureTrackerInitialized,fi as enumerateRelationshipPaths,Zt as estimatePmOutputTokens,kT as evaluateContextRanking,Ar as evaluateMutationGuard,bi as evaluateSimilarityGovernance,ff as evaluateTransition,Hf as executeEmbeddingBatchesWithRetry,Vf as executeVectorDelete,Wf as executeVectorReset,$f as executeVectorUpsert,om as executeWorkspaceRecipe,xa as expandAddGlobEntries,m_ as extension,u_ as extensionActivate,f_ as extensionDeactivate,l_ as extensionList,gh as extractPatchFailureContext,Ha as extractReferencedPmItemIdsFromCommand,cm as federateRelationshipGraphSnapshots,ud as files,fd as filesDiscover,hd as filesLookup,xi as findDuplicateClusters,Ki as findGitWorkspaceRoot,Ai as findRedundantRelationshipEdges,vp as findRelationshipCutStructure,Ii as findSimilarItems,Ch as finishTelemetryCommand,Lm as flattenFlagListValue,sm as flushTelemetryQueue,p_ as focus,hi as forEachMatchedRelationshipEdge,gi as formatDuplicateEdgeGroup,Pp as formatProfileApplyHuman,bp as formatProfileLintHuman,Ip as formatProfileListHuman,xp as formatProfileShowHuman,ra as formatSchemaEvolutionMigrationHuman,jd as gc,dr as generateItemId,id as get,ml as getActiveCommandResult,Au as getActiveContextIntentContracts,tt as getActiveExtensionRegistrations,b_ as getContracts,ah as getFocusedItem,Ye as getHistoryPath,bh as getItemAt,Xe as getItemPath,gr as getMutationActionContract,cs as getPmGitignoreBlock,je as getSettingsPath,x_ as getWorkspaceContracts,or as getWorkspaceHistoryPath,Cd as graph,$p as graphAuditBaselinePath,rm as groupHistoryByEpisode,qg as handleServiceOverride,$o as hasSubcommandFlagContractsForCommand,jf as hasVectorizationEmbeddingIdentityChanged,Xf as hasVectorizationVectorDimensionChanged,Lu as hashDocument,wu as hashEmptyDocument,Kd as health,_i as hierarchyAncestors,mi as hierarchyDescendants,Jd as historyCompact,Qd as historyCompactBulk,sT as historyEntryMatchesProvenance,Xd as historyRedact,Yd as historyRepair,qd as historyRepairAll,Yf as inferConsistentVectorDimension,Xt as inferPmOutputBudgetClass,gd as init,ha as inspectHistoryAuthorStream,xr as inspectStaleInProgressItems,_p as inspectWorkspaceSnapshot,Qi as installMergeFence,DC as isCommanderError,Cs as isErrnoError,CA as isExternalDependencySourceKind,$l as isHostOutputSuppressed,Cr as isMutationAction,Vm as isOrderingRelationshipKind,Wu as isPlaceholderReferenceToken,os as isPmCliExpectedError,$t as isPmExtensionCapabilityContract,Wt as isPmExtensionPolicyModeContract,zt as isPmExtensionPolicySurfaceContract,Vt as isPmExtensionServiceNameContract,bC as isPmMutationReceipt,Bt as isPmToolAction,mh as isPureSnakeCaseAlias,fu as isReadOutputBudgetExceeded,Yl as isReadRowContract,sp as isRuntimeRecord,fh as isTerminalPlanMode,kl as isTerminalStatus,Ge as isTimestampLiteral,BC as itemDocumentToMutationOptions,PA as itemHasSchedule,Rr as jaccardSimilarity,ld as learnings,$m as levenshteinDistanceWithinLimit,hs as limitAnnotationEntries,ZC as lintExtensionBlueprint,me as lintProjectProfile,od as list,H_ as listAliasPluralKeys,Pf as listAllDocumentCandidatesCached,fr as listAllItemMetadata,Lf as listAllItemMetadataLight,j_ as listBuiltinCorpusShapes,vA as listMergeReceipts,Er as listMutationActions,_C as listMutationEvents,tc as listPmCommandsForTier,nc as listPmMcpToolsForProfile,ae as listProfiles,mp as listWorkspaceSnapshots,qh as loadContextIntentRuntimeLayers,Ap as loadCreateTemplateOptions,Qm as loadExtensions,Xp as loadGraphAuditBaseline,xm as loadMutationCheckpoint,l as loadRelationshipGraphAdapter,lr as locateItem,Qu as looksLikeGenericKeyValueEntry,FA as markMergeReceiptReconciled,lf as matchesRuntimeFilters,Th as maybeRunFirstUseTelemetryPrompt,q_ as measureCorpusShapePlan,Yu as mergeAdditiveTags,qC as mergeExtensionBlueprints,QA as mergeHistoryStreams,rC as mergeItemDocuments,nC as mergeJsonDocuments,$_ as mergeLinkedTestTwoTokenEntries,ZA as mergeRelationshipEventStreams,$s as mergeSortedWarnings,uh as migrateItemFilesToFormat,kf as mutateItem,ad as next,V_ as normalizeBootstrapInvocation,ii as normalizeDependencyGraphTarget,gA as normalizeDependencySeedId,EA as normalizeDependencySourceKind,qe as normalizeExtensionContributionInventory,ct as normalizeItemFormatVersion,cr as normalizeItemId,lt as normalizeItemMetadata,U_ as normalizeLegacyExtensionActionSyntax,Ia as normalizeLinkedPath,Vu as normalizeParentReferenceValue,se as normalizeProfileName,pr as normalizeRawItemId,Gu as normalizeReplayPatchOps,Sr as normalizeSimilarityText,Ml as normalizeStatusForRegistry,mt as normalizeStatusInput,bl as normalizeStatusInputWithRegistry,kC as normalizeThrownExitCode,md as notes,De as nowIso,Vp as openDurableGraphCache,li as orderingPredecessors,ui as orderingSuccessors,UT as packContextCandidates,vs as packRankedContextItems,R_ as packageActivate,y_ as packageCatalog,N_ as packageDeactivate,S_ as packageDescribe,E_ as packageDoctor,A_ as packageInstall,h_ as packageLifecycle,T_ as packageList,g_ as packageManage,O_ as packageReload,C_ as packageUninstall,su as paginateQueryRows,Sa as parseAddEntries,Oa as parseAddGlobEntries,As as parseAnnotationTextInput,FC as parseAtomicMutationControls,v_ as parseBootstrapCommandName,k_ as parseBootstrapGlobalOptions,G_ as parseBootstrapHelpRequest,W_ as parseBootstrapTypeValue,Ms as parseContextDepth,bs as parseContextFocusFields,jh as parseContextIntentDeclarations,ks as parseContextSections,jT as parseContextSignalSnapshot,Ju as parseCsvKv,tp as parseEvalQuerySet,Jp as parseGraphSubcommand,nT as parseHistoryProvenanceFilters,Qh as parseIntegerLimit,Dl as parseItemDocument,UC as parseItemMutationBatch,df as parseLimit,Hi as parseLinkedTestAssertionEqualsMap,Bi as parseLinkedTestAssertionGteMap,Di as parseLinkedTestBoolean,Gi as parseLinkedTestContextMode,ki as parseLinkedTestEnvClear,Mi as parseLinkedTestEnvSet,$i as parseLinkedTestJsonEntries,Ui as parseLinkedTestMinLines,Fi as parseLinkedTestRegexList,vi as parseLinkedTestStringList,Ra as parseMigrateEntries,mT as parseMultiValueFilter,PC as parseMutationReceipt,rf as parseOptionalNonNegativeInteger,tf as parseOptionalNumber,Zh as parsePriority,fT as parsePriorityFilterSet,yl as parseRegisteredItemFieldAssignments,N as parseRelationshipGraphSnapshot,ya as parseRemoveEntries,sf as parseStatusFilterCsv,lT as parseStringFilterSet,_r as parseTags,_c as parseTestRunMeasurements,eT as parseType,uT as parseTypeFilterSet,cA as partitionDecisionEntries,Fu as patchPathToChangedField,be as pathExists,d_ as pauseTask,Wp as persistDurableGraphResult,Tf as persistSelectedItemFormat,ZT as planCompletedAtBackfill,le as planProfileApplication,Dg as planRelationshipEventBackfill,qp as planRelationshipRemediation,ea as planSchemaEvolutionMigration,lp as planWorkspaceSnapshotRestore,nE as preflightExtension,yr as prepareSimilarityText,Pu as printError,bu as printResult,Hd as profile,Vd as profileApply,Wd as profileLint,Bd as profileList,$d as profileShow,ul as projectAfterCommandItemSnapshot,Ps as projectContextFocusRows,oT as projectHistoryProvenance,Ba as projectValidateCounts,dg as pruneCompileCacheGenerations,Of as queryItemMetadataIndex,yf as queryLinkedFileMetadataIndex,Rf as querySimilarItemMetadataIndex,mc as queryTestRunMeasurementsBelow,Js as quoteCommandArg,qs as quoteWindowsCommandArg,Ts as readAnnotationEntries,Rt as readAuthorEnvironment,Oc as readBooleanOption,WT as readContextUsageAffinity,yc as readCsvListOption,Pe as readFileIfExists,vr as readFirstStringFromCommanderOptions,Fr as readFirstValueFromCommanderOptions,Ul as readHistoryEntries,xf as readItemMetadataDerivedIndexState,ur as readLocatedItem,ee as readPmPackageManifest,P_ as readRequiredString,mr as readSettings,Af as readSettingsWithMetadata,Ur as readStringArrayFromCommanderOptions,Sc as readStringOption,MC as readThrownExitCode,qf as readVectorizationStatusLedger,Xh as readWorkspaceContextIntentContracts,JT as readWorkspaceContextSignals,rA as readWorkspaceMemory,et as reconcileExtensionCapabilityUsage,ll as recordAfterCommandAffectedItem,BT as recordContextUsageServing,$T as recordContextUsageTouch,VT as recordContextUsageTouches,bf as refreshItemMetadataDerivedIndex,qi as refreshMergeAttributeFenceIfInstalled,Qf as refreshSearchArtifactsForMutation,gt as registerHarnessSignalDescriptors,o_ as release,we as removeFileIfExists,Da as renameArtifactsResultKey,Ns as renderCalendarMarkdown,Is as renderCalendarToon,Vs as renderContextMarkdown,sa as renderExtensionDescribeMarkdown,na as renderExtensionSurfaceMarkdown,jc as renderGuideMarkdown,dA as renderNextMarkdown,Qs as renderPmCommand,ic as renderPmCommandVisibilityMarkdown,pf as renderRowsAsCsv,cf as renderRowsAsTable,yh as replayHistoryToTarget,ku as replayToCanonicalItemDocument,Mu as replayToItemDocument,lA as requireTerminalReason,uA as requireTerminalReasonWithRecovery,cl as resetActiveExtensionRuntimeState,kp as resetWorkspaceGraphCache,At as resolveAgentSessionContextFromSignals,Os as resolveAnnotationIndex,Es as resolveAnnotationInput,Fl as resolveAuthor,xt as resolveAuthorIdentity,$u as resolveBodyFileContent,X_ as resolveBuiltinCorpusShape,Rs as resolveCalendarOutputFormat,vl as resolveClaimPrincipal,Hm as resolveCommandOptionPolicyState,cg as resolveCompileCacheGeneration,QT as resolveCompletionTimestamp,km as resolveConfiguredPmPackageRoot,TT as resolveContentFieldFilters,gu as resolveContextIntentContract,Ls as resolveContextOutputFormat,ws as resolveContextTokenBudget,Df as resolveEmbeddingProviders,qm as resolveExtensionRoots,Pm as resolveFlagValueKind,zc as resolveGuideOutputFormat,Ce as resolveHistoryEpisodeGroupIdentity,rT as resolveHistoryProvenanceDimensions,Nh as resolveHistorySubject,Sh as resolveHistoryTarget,jA as resolveHybridSemanticWeight,ze as resolveImplicitPmRoot,Rm as resolveIsoOrRelative,cT as resolveItemBlockers,HC as resolveItemMutationDocument,We as resolveItemTypeRegistry,xl as resolveItemTypesFilePath,Tc as resolveLinkedTestFailureExitCode,hT as resolveMissingMetadataFilters,Xl as resolveModePairedOutputOmissionReceipt,aA as resolveNextOutputFormat,Jl as resolveOutputOmissionReceipt,Mm as resolvePmCliVersion,Qt as resolvePmCommandOutputBudget,xC as resolvePmCommandOutputEnvelope,ec as resolvePmCommandVisibilityTier,OC as resolvePmErrorCodeContract,wm as resolvePmPackageRootFromModule,M as resolvePmRoot,Ko as resolvePmToolCustomFieldCollision,nf as resolvePriority,ie as resolveProfile,Xi as resolveProjectMergeTypeFolders,ou as resolveQueryCursorStart,lu as resolveReadOutputDimensions,hu as resolveReadOutputEncoding,_u as resolveReadOutputSurface,ql as resolveReadRowContract,Nl as resolveRegisteredSearchProvider,Il as resolveRegisteredVectorStoreAdapter,st as resolveRuntimeFieldRegistry,ot as resolveRuntimeStatusRegistry,Gf as resolveSearchCorpusFields,zA as resolveSearchMaxResults,WA as resolveSearchPage,KA as resolveSearchScoreThreshold,XA as resolveSearchTuning,Ff as resolveSemanticCorpusCharacterLimit,Ef as resolveSettingsWithSemanticRuntimeDefaults,gc as resolveStartTaskInProgressStatus,Vo as resolveSubcommandFlagContractsForCommand,Cm as resolveTelemetryErrorCategory,mA as resolveTerminalReason,Um as resolveTypeDefinition,Fm as resolveTypeName,af as resolveTypeSynonym,uf as resolveTypeWorkflows,Bf as resolveVectorStores,ai as resolveWorkspaceRelationshipKindRegistry,a_ as restore,bm as restoreCheckpointItems,fp as restoreWorkspaceSnapshot,up as restoreWorkspaceSnapshotWithRecovery,w_ as runAction,Tl as runActiveBeforeMutationHooks,Cl as runActiveCommandHandler,Al as runActiveOnIndexHooks,nt as runActiveOnReadHooks,rt as runActiveOnWriteHooks,El as runActiveParserOverride,gl as runActivePreflightOverride,Sl as runActiveServiceOverride,ms as runActivity,Ym as runAfterCommandHooks,us as runAggregate,Ss as runAnnotationCommand,fs as runAppend,Xm as runBeforeCommandHooks,xs as runCalendar,js as runClaim,Xs as runClaimNext,ei as runClose,ri as runCloseMany,ni as runComments,Xc as runCompletion,Wa as runConfig,J as runContext,vT as runContextEvaluationCorpus,DT as runContextEvaluationScenario,_a as runCopy,Vi as runCreate,ma as runDelete,Dp as runDeps,Ga as runDocs,LC as runDuplicates,op as runEval,ap as runEvent,ia as runExtension,va as runFiles,Ua as runFilesDiscover,Fa as runFilesLookup,la as runFocus,fa as runGc,ua as runGet,Qp as runGraph,Kc as runGuide,Ca as runHealth,hA as runHistory,uC as runHistoryCompact,TC as runHistoryCompactBulk,Ih as runHistoryRedact,aC as runHistoryRepair,cC as runHistoryRepairAll,Ja as runInit,Xa as runInitAgentGuidance,oi as runLearnings,ka as runLinkedArtifacts,Ac as runLinkedTests,ls as runList,ip as runMeet,sC as runMergeDriver,Ji as runMergeInstall,UA as runMergeReceiptReport,dC as runMergeReconcile,Ks as runNext,si as runNotes,da as runPlan,Np as runProfileApply,Rp as runProfileLint,Op as runProfileList,yp as runProfileShow,iE as runRegisteredCommandForTest,_E as runRegisteredCommandOverrideForTest,AE as runRegisteredExporterForTest,pE as runRegisteredHookForTest,TE as runRegisteredImporterForTest,hE as runRegisteredMigrationForTest,aE as runRegisteredMutationGuardForTest,cE as runRegisteredParserOverrideForTest,dE as runRegisteredPreflightOverrideForTest,mE as runRegisteredRendererOverrideForTest,uE as runRegisteredSearchProviderForTest,lE as runRegisteredServiceOverrideForTest,fE as runRegisteredVectorStoreAdapterForTest,ue as runReindex,Ys as runRelease,pp as runRemind,ti as runRestore,ta as runSchemaEvolutionMigration,rp as runSearch,nm as runSearchRefreshWorkerEntrypoint,Yc as runStartBackgroundRun,ac as runStats,cc as runTelemetry,Ep as runTemplatesList,Cp as runTemplatesSave,gp as runTemplatesShow,Cc as runTest,Ec as runTestAll,qc as runTestRunsList,Qc as runTestRunsLogs,ed as runTestRunsResume,Jc as runTestRunsStatus,Zc as runTestRunsStop,td as runTestRunsWorker,Wi as runUpdate,zi as runUpdateMany,re as runUpgrade,Va as runValidate,L_ as runWithActiveExtensions,Ct as runWithAgentSessionContext,Cu as runWithContextIntentContracts,Jh as runWithDiscoveredContextIntentContracts,St as runWithHarnessDetectionSignals,Ot as runWithWorkspaceHarnessSignalDescriptors,Se as runWithWorkspaceRecipe,MA as runWorkspaceTransactionGc,Yp as saveGraphAuditBaseline,Ta as scanHistoryAuthorAttribution,_t as scanItemFormatVersions,Tr as scanMutationSecrets,br as scanStaleInProgressItems,HA as scanStorageIntegrity,Od as schema,Pd as schemaAddField,xd as schemaAddStatus,Nd as schemaAddType,kd as schemaApplyPreset,Dd as schemaInferTypes,yd as schemaList,wd as schemaListFields,Fd as schemaRemapStatus,Ld as schemaRemoveField,bd as schemaRemoveStatus,Id as schemaRemoveType,vd as schemaRenameField,Gd as schemaRenameType,Rd as schemaShow,Md as schemaShowField,Ud as schemaShowStatus,LT as scoreContextCandidates,wT as scoreContextCandidatesWithActiveExtensions,Nr as scoreItemSimilarity,Ir as scorePreparedItemSimilarity,sd as search,sA as searchWorkspaceMemory,iA as searchWorkspaceMemoryReadResult,Zl as selectCursorSemanticOptions,Bc as selectImportAuthor,oA as selectWorkspaceMemory,nA as selectWorkspaceMemoryRollups,oh as sentryCaptureCliError,nh as sentryFinishCommandSpan,ih as sentryFlush,sh as sentryLogCliUsageError,th as sentrySetCommandContext,rh as sentryStartCommandSpan,ft as serializeItemDocument,vC as serializeNdjsonRows,dl as setActiveCommandContext,_l as setActiveCommandResult,nl as setActiveExtensionCommands,rl as setActiveExtensionHooks,ol as setActiveExtensionParsers,sl as setActiveExtensionPreflight,pl as setActiveExtensionRegistrations,al as setActiveExtensionRenderers,il as setActiveExtensionServices,ph as setFocusedItem,hh as shouldCompletePlanOnClose,jp as shouldPersistDurableGraphCache,Sf as shouldRunSearchRefreshInForeground,Ni as similarityAdvisoryWarnings,La as sortLinkedArtifacts,ju as splitAcceptanceCriteria,lh as splitCommaList,ut as splitFrontMatter,x as stableStringify,jm as stableValueEquals,c_ as startTask,Ah as startTelemetryCommand,cd as stats,Pl as statusIsTerminal,D_ as stripGlobalBootstrapTokens,mC as subscribeMutationEvents,em as summarizeAgentModelProvenance,tm as summarizeAgentProvenance,GT as summarizeContextEvaluationReports,uc as summarizeContextPreflight,aT as summarizeHistoryProvenance,Ya as summarizeInitResult,GA as summarizeMergeReceipt,Bl as suppressHostOutput,L as syncRelationshipGraphAdapter,eE as synthesizeExtensionManifest,Wo as toCompletionFlagString,Bs as toContextFocusItem,Fs as toContextPackingSummary,Us as toContextRankingSummary,gm as toErrorMessage,Nc as toEstimatedMinutesValue,Vh as toExtensionFlagDefinitions,Lc as toImportBoolean,Dc as toImportConfidence,Pc as toImportInteger,Uc as toImportLinkedDocs,Fc as toImportLinkedFiles,Hc as toImportLinkedTests,vc as toImportLogEntries,Gc as toImportNormalizedEnum,kc as toImportNumberMap,Ic as toImportPriority,bc as toImportStatus,wc as toImportStringList,Mc as toImportStringMap,xc as toImportTags,Gl as toItemRecord,Rc as toNonEmptyImportString,Em as toNonEmptyStringOrUndefined,Du as toReplayDocument,Or as tokenizeSimilarityText,e_ as update,I_ as upgrade,zd as validate,$C as validateItemMutationRows,Ma as validateLinkedPaths,zu as validateMissingParentReference,mu as validateReadOutputOptions,of as validateSprintOrReleaseValue,Bm as validateTypeOptions,vu as verifyHistoryChain,xh as verifyHistoryEntries,dn as withFlagAliasMetadata,Mp as workspaceGraphCache,gs as wrapOwnershipConflict,GC as wrapThrownErrorForSentry,Nt as writeAuthorEnvironment,Le as writeFileAtomic,Im as writeMutationCheckpoint,Cf as writeSettings,xu as writeStdout,Jf as writeVectorizationStatusLedger,ar as writeWorkspaceJsonWithHistory};
|
|
2
2
|
//# sourceMappingURL=sdk.js.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Implements extension runtime contracts and governance for Loader.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
7
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ed58c949-c3d3-5a74-9146-05b0a04b58c4")}catch(e){}}();
|
|
8
8
|
import fs from "node:fs/promises";
|
|
9
9
|
import path from "node:path";
|
|
10
10
|
import { pathToFileURL } from "node:url";
|
|
@@ -2143,6 +2143,9 @@ function collectRendererCollisionWarnings(renderers) {
|
|
|
2143
2143
|
}
|
|
2144
2144
|
const winner = bucket[bucket.length - 1];
|
|
2145
2145
|
for (const displaced of bucket.slice(0, -1)) {
|
|
2146
|
+
if (winner.commands?.length && displaced.commands?.length && !displaced.commands.some((command) => winner.commands?.includes(command))) {
|
|
2147
|
+
continue;
|
|
2148
|
+
}
|
|
2146
2149
|
warnings.push(`extension_renderer_collision:${format}:${winner.layer}:${winner.name}:${displaced.layer}:${displaced.name}`);
|
|
2147
2150
|
}
|
|
2148
2151
|
}
|
|
@@ -2317,4 +2320,4 @@ export const _testOnlyLoader = {
|
|
|
2317
2320
|
},
|
|
2318
2321
|
};
|
|
2319
2322
|
//# sourceMappingURL=loader.js.map
|
|
2320
|
-
//# debugId=
|
|
2323
|
+
//# debugId=ed58c949-c3d3-5a74-9146-05b0a04b58c4
|