@unbrained/pm-cli 2026.11.30 → 2026.12.1
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 +1 -1
- package/dist/cli/commander-usage.js +10 -10
- package/dist/cli/error-guidance.js +5 -5
- package/dist/cli/extension-command-help.js +6 -6
- package/dist/cli/help-json-payload.js +7 -7
- package/dist/cli/main.js +5 -5
- package/dist/cli/register-list-query.js +10 -10
- package/dist/cli/register-mutation.js +3 -3
- package/dist/cli/runtime/invocation-command-path.js +2 -0
- package/dist/cli/runtime/read-output-mutation-retry.js +1 -1
- package/dist/cli-bundle/bundle-manifest.json +1 -1
- package/dist/cli-bundle/chunks/{chunk-DCWGM7CY.js → chunk-3HKPVOAN.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-Z7YL2SUM.js → chunk-3KEMIPKG.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-IGEFPHV7.js → chunk-4YQMQOUO.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TX74QJ4W.js → chunk-4YYFY33T.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-A5ZEMOVR.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-5PNOVDVO.js → chunk-AHV3CSQG.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-AJLU6KLW.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-KCVSSONY.js → chunk-C6WM6ZN4.js} +3 -3
- package/dist/cli-bundle/chunks/chunk-CBUC4X7Q.js +127 -0
- package/dist/cli-bundle/chunks/{chunk-47ZS6RPL.js → chunk-CWPR234D.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-I4SPJQQI.js +3 -0
- package/dist/cli-bundle/chunks/{chunk-Q4VZSMUL.js → chunk-L2ZSSMYY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NHBG5ET3.js → chunk-MZZ4ZJ5Z.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-CCKM5YQM.js → chunk-NA6D75V5.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-NRQCBUYD.js +113 -0
- package/dist/cli-bundle/chunks/{chunk-YVTALIN3.js → chunk-OBPO6V7H.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-NZSXWIX7.js → chunk-OKEJ4U2I.js} +7 -7
- package/dist/cli-bundle/chunks/{chunk-KXTKLDKD.js → chunk-OXC5KBIQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-HXQ3OHQR.js → chunk-PCDTWL6V.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-FECZV72T.js → chunk-Q6GLSAJY.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-AOTI76Q6.js → chunk-Q6K7HWZ7.js} +2 -2
- package/dist/cli-bundle/chunks/chunk-QDV7S2QS.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-2SBTXR6C.js → chunk-SY5C3U32.js} +3 -3
- package/dist/cli-bundle/chunks/{chunk-WFYE34TO.js → chunk-U7RBJGLF.js} +23 -23
- package/dist/cli-bundle/chunks/chunk-WSEIEDEK.js +2 -0
- package/dist/cli-bundle/chunks/{chunk-FR7ULTM4.js → chunk-XME6GIFQ.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-TY55UX6M.js → chunk-YSVOXCYH.js} +2 -2
- package/dist/cli-bundle/chunks/{chunk-ZA5NS3PL.js → chunk-ZL6J6JYT.js} +6 -6
- package/dist/cli-bundle/chunks/{field-option-collisions-2F2Z7R7B.js → field-option-collisions-BBGTV7AD.js} +2 -2
- package/dist/cli-bundle/chunks/item-revision-3LENTXYF.js +2 -0
- package/dist/cli-bundle/chunks/item-transaction-66RDV7PH.js +2 -0
- package/dist/cli-bundle/chunks/{linked-resource-value-list-WXPPYUVQ.js → linked-resource-value-list-E2DX52LY.js} +2 -2
- package/dist/cli-bundle/chunks/{mutation-actor-UK3QNEEB.js → mutation-actor-NHN33ITJ.js} +2 -2
- package/dist/cli-bundle/chunks/{mutation-admission-UTDYPFWP.js → mutation-admission-PGKJTCG6.js} +2 -2
- package/dist/cli-bundle/chunks/{register-list-query-DRA3CWHI.js → register-list-query-7S5QWDTI.js} +11 -11
- package/dist/cli-bundle/chunks/{register-mutation-WO74VLEQ.js → register-mutation-2F6JUBST.js} +5 -5
- package/dist/cli-bundle/chunks/{register-operations-CRBKH7WN.js → register-operations-ET3UKPYK.js} +2 -2
- package/dist/cli-bundle/chunks/{register-setup-6V6NQB5C.js → register-setup-I63QTFCU.js} +2 -2
- package/dist/cli-bundle/chunks/{stage-DYEHGASU.js → stage-4ZCF74G4.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-RQYVX2T6.js → chunk-2DGKVXFT.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-2UWKU2BQ.js +3 -0
- package/dist/cli-bundle/focused-chunks/{chunk-UQJ4PY2Y.js → chunk-4SCFAWAW.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-7G7JIXLL.js → chunk-6BKT6XQN.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-6IY5CVGJ.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-7A6SEZEY.js +4 -0
- package/dist/cli-bundle/focused-chunks/{chunk-IJ3T3W4U.js → chunk-BHNBPCHP.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-LWBZ7UGG.js → chunk-EQCQTYKO.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-FM5WQ6ZU.js → chunk-HTDYNY4L.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-L357ZAES.js → chunk-JPZGC3W4.js} +5 -5
- package/dist/cli-bundle/focused-chunks/{chunk-62AMZMR4.js → chunk-KNBGHCIP.js} +3 -3
- package/dist/cli-bundle/focused-chunks/chunk-N64AC5G6.js +100 -0
- package/dist/cli-bundle/focused-chunks/{chunk-IIVDBAJM.js → chunk-OG57ESZK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-MZNV26XE.js → chunk-P2H3GTJK.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-TQQO42C2.js → chunk-PT7RT3T6.js} +26 -26
- package/dist/cli-bundle/focused-chunks/chunk-QZRYGYTI.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-A3DORTXS.js → chunk-SQ72CVUH.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-SQMOF65W.js +2 -0
- package/dist/cli-bundle/focused-chunks/chunk-T3ILWAEV.js +2 -0
- package/dist/cli-bundle/focused-chunks/{chunk-SXC3NVZI.js → chunk-TR22GU7M.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-M57KDG7I.js → chunk-TXTPAFHJ.js} +2 -2
- package/dist/cli-bundle/focused-chunks/chunk-VK3IE3TS.js +29 -0
- package/dist/cli-bundle/focused-chunks/{chunk-NJTKGBSK.js → chunk-VQIC3UZB.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{chunk-U35K7FSE.js → chunk-W4JMV7GF.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{field-option-collisions-7TG7STO7.js → field-option-collisions-2C6DLUC4.js} +2 -2
- package/dist/cli-bundle/focused-chunks/item-revision-723XCQPS.js +2 -0
- package/dist/cli-bundle/focused-chunks/{item-transaction-2IC2MLML.js → item-transaction-2K4SFLJ7.js} +2 -2
- package/dist/cli-bundle/focused-chunks/{mutation-actor-LJVF2HVD.js → mutation-actor-DJMZUIZI.js} +2 -2
- package/dist/cli-bundle/focused-chunks/mutation-admission-SDWQVVHN.js +2 -0
- package/dist/cli-bundle/focused-chunks/{stage-MWR73LTZ.js → stage-QBZIK3T5.js} +2 -2
- package/dist/cli-bundle/main.js +27 -27
- 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 +1 -1
- 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 +61 -61
- 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 +2 -2
- package/dist/core/extensions/reserved-host-flags.js +1 -1
- package/dist/core/shared/secret-rules.d.ts +86 -12
- package/dist/core/shared/secret-rules.js +7 -5
- package/dist/sdk/cli-bootstrap.js +1 -1
- package/dist/sdk/cli-contracts/flag-contracts.d.ts +50 -0
- package/dist/sdk/cli-contracts/flag-contracts.js +1 -1
- package/dist/sdk/cli-contracts/runtime-contracts.d.ts +3 -1
- package/dist/sdk/cli-contracts/runtime-contracts.js +1 -1
- package/dist/sdk/extension/command-options.js +1 -1
- package/dist/sdk/lifecycle/expect-hash-admission.d.ts +15 -0
- package/dist/sdk/lifecycle/expect-hash-admission.js +2 -0
- package/dist/sdk/lifecycle/item-revision.d.ts +4 -1
- package/dist/sdk/lifecycle/item-revision.js +1 -1
- package/dist/sdk/mutation-guard.js +1 -1
- package/dist/sdk/output-contracts.js +1 -1
- package/dist/sdk/output-projection.d.ts +1 -1
- package/dist/sdk/output-projection.js +1 -1
- package/dist/sdk/public-surface.json +1 -1
- package/dist/sdk/query/aggregate.js +1 -1
- package/dist/sdk/query/context.js +1 -1
- package/dist/sdk/query/list.js +1 -1
- package/dist/sdk/query/next.js +1 -1
- package/dist/sdk/query/search-contracts.js +1 -1
- package/dist/sdk/read-output/surfaces.js +1 -1
- package/dist/sdk/read-output-budget.d.ts +1 -1
- package/dist/sdk/read-output-budget.js +1 -1
- package/dist/sdk/read-output-contracts.js +1 -1
- package/dist/sdk/read-output-rows.js +1 -1
- package/docs/COMMANDS.md +37 -0
- package/docs/MUTATION_INTEGRITY.md +226 -10
- package/docs/SDK.md +16 -6
- package/docs/agent-task-token-baseline.json +1 -1
- package/marketplace.json +1 -1
- package/package.json +1 -1
- package/packages/pm-beads/package.json +1 -1
- package/packages/pm-calendar/package.json +1 -1
- package/packages/pm-command-kit/package.json +1 -1
- package/packages/pm-digital-twin/package.json +1 -1
- package/packages/pm-governance-audit/package.json +1 -1
- package/packages/pm-guide-shell/package.json +1 -1
- package/packages/pm-kanban/package.json +1 -1
- package/packages/pm-lifecycle-hooks/package.json +1 -1
- package/packages/pm-linked-test-adapters/package.json +1 -1
- package/packages/pm-search-advanced/package.json +1 -1
- package/packages/pm-templates/package.json +1 -1
- package/packages/pm-todos/package.json +1 -1
- package/packages/pm-vcs/package.json +1 -1
- package/plugins/pm-claude/.claude-plugin/plugin.json +1 -1
- package/plugins/pm-claude/package.json +1 -1
- package/plugins/pm-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/pm-codex/package.json +1 -1
- package/plugins/pm-codex/plugin.json +1 -1
- package/runtime-dependencies.json +1 -1
- package/dist/cli-bundle/chunks/chunk-3TXEWHQX.js +0 -125
- package/dist/cli-bundle/chunks/chunk-JPJNJHQW.js +0 -2
- package/dist/cli-bundle/chunks/chunk-NVYDPNQP.js +0 -2
- package/dist/cli-bundle/chunks/chunk-SJWIPGZW.js +0 -113
- package/dist/cli-bundle/chunks/chunk-USBTXMKS.js +0 -2
- package/dist/cli-bundle/chunks/chunk-VCXQ6A35.js +0 -3
- package/dist/cli-bundle/chunks/chunk-YPMNXG2C.js +0 -2
- package/dist/cli-bundle/chunks/item-revision-UAF6L47R.js +0 -2
- package/dist/cli-bundle/chunks/item-transaction-RJECL53Y.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-2UUBS4BG.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-4ER3VMST.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-4YBMHMBJ.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-HXM7K6VH.js +0 -100
- package/dist/cli-bundle/focused-chunks/chunk-NGHT2LNG.js +0 -3
- package/dist/cli-bundle/focused-chunks/chunk-P55AZPFN.js +0 -2
- package/dist/cli-bundle/focused-chunks/chunk-WAP3DF4B.js +0 -27
- package/dist/cli-bundle/focused-chunks/chunk-XR745UGE.js +0 -4
- package/dist/cli-bundle/focused-chunks/item-revision-J7EUGCHR.js +0 -2
- package/dist/cli-bundle/focused-chunks/mutation-admission-SLFAUONA.js +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{renderPmCommand as P,resolvePmCommandScopeArgs as q}from"../sdk/command-line.js";import{currentInvocationPromotions as K}from"./runtime/invocation-rewrites.js";import{resolveBodyFileContent as O,resolveCliBulkIdsInput as T,EXIT_CODE as f,PmCliError as
|
|
1
|
+
import{renderPmCommand as P,resolvePmCommandScopeArgs as q}from"../sdk/command-line.js";import{currentInvocationPromotions as K}from"./runtime/invocation-rewrites.js";import{resolveBodyFileContent as O,resolveCliBulkIdsInput as T,EXIT_CODE as f,PmCliError as y,createUnknownSubcommandError as D,readSettings as J,resolvePmRoot as W,resolveRuntimeFieldRegistry as Y}from"../sdk/runtime-primitives.js";import{CREATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS as E,MERGE_SUBCOMMAND_VALUES as I,PLAN_CREATE_METADATA_PARAMETER_KEYS as X,UPDATE_COMMANDER_OPTION_REGISTRATION_CONTRACTS as Z}from"../sdk/cli-contracts.js";import{BUILTIN_ITEM_TYPE_VALUES as Q,PLAN_STEP_LINK_KIND_VALUES as ee}from"../types/index.js";import{MERGE_DRIVER_ARTIFACT_VALUES as te,runMergeDriver as oe,runMergeInstall as ie,runMergeReconcile as ae,runMergeReceiptEvidenceReport as ne}from"./commands/workspace/merge.js";import{runAppend as re}from"./commands/lifecycle/append.js";import{runClose as le}from"./commands/lifecycle/close.js";import{runCloseTask as se}from"../sdk/lifecycle/task-composition.js";import{runCloseMany as de}from"./commands/lifecycle/close-many.js";import{runCopy as pe}from"./commands/lifecycle/copy.js";import{runCreate as ce}from"./commands/lifecycle/create.js";import{runDelete as ue}from"./commands/lifecycle/delete.js";import{runDeps as fe}from"./commands/query/deps.js";import{runDocs as me}from"./commands/annotations/docs.js";import{runFiles as ve,runFilesDiscover as ge}from"./commands/annotations/files.js";import{runFocus as ye}from"./commands/lifecycle/focus.js";import*as F from"./commands/workspace/profile.js";import{runUpdate as he}from"./commands/lifecycle/update.js";import{runUpdateMany as be}from"./commands/lifecycle/update-many.js";import{createStdinTokenResolver as N,preserveMutationStdinTokenFields as we,preserveMutationStdinTokenLiterals as $}from"../sdk/runtime-primitives.js";import{resolveDescriptionStdin as L}from"./description-stdin.js";import{itemDocumentToMutationOptions as ke}from"../sdk/structured-mutations.js";import{registerStructuredMutationCommands as Ae}from"./register-structured-mutation.js";import{registerHistoryMaintenanceCommands as Se}from"./register-history-maintenance.js";import{registerHistoryAuthorAcknowledgeCommand as _e}from"./register-history-author.js";import{PLAN_SUBCOMMANDS as Ce,runPlan as xe}from"./commands/lifecycle/plan.js";import{registerAnnotationCommands as Re}from"./register-annotations.js";import{registerFilesLookupCommand as De}from"./register-files-lookup.js";import{isPureSnakeCaseAlias as Fe}from"./schema-registration-helpers.js";import{registerSchemaCommand as Me}from"./schema/registration.js";import{stringArrayOption as Pe}from"./option-values.js";import{looksLikeSchemaSubcommandTypo as Wt,parseSchemaOrderOption as Yt}from"./schema-registration-helpers.js";const Oe=new Set(Q.map(t=>t.toLowerCase())),Te=new Set(X.map(t=>t==="estimate"?"estimatedMinutes":t));import{collect as d,applyActiveCommandResultService as _,addHiddenOption as w,addHiddenOptions as C,extractUpdateManyMutationOptionSource as Ee,formatHookWarnings as Ie,getGlobalOptions as v,invalidateSearchCachesForMutation as h,normalizeCreateOptions as B,normalizeUpdateOptions as U,printError as m,printResult as u,readOptionString as l,writeStdout as x}from"./registration-helpers.js";async function Ne(t,e,o,i,a){switch(e){case"list":return t.runProfileList();case"show":return t.runProfileShow(o);case"lint":return t.runProfileLint(o);default:return t.runProfileApply(o,{dryRun:i.dryRun===!0,author:typeof i.author=="string"?i.author:void 0,force:i.force===!0},a)}}function $e(t,e){switch(e.action){case"list":x(`${t.formatProfileListHuman(e)}
|
|
2
2
|
`);return;case"show":x(`${t.formatProfileShowHuman(e)}
|
|
3
3
|
`);return;case"lint":x(`${t.formatProfileLintHuman(e)}
|
|
4
4
|
`);return;default:x(`${t.formatProfileApplyHuman(e)}
|
|
5
|
-
`),e.warnings.length>0&&m(`profile apply warnings: ${Ie(e.warnings)}`);break}}function Le(t){return e=>{const o=Number(e);if(!Number.isInteger(o)||o<1)throw new
|
|
6
|
-
The CLI read ${n.map(s=>`"${s.from}" as ${s.flag}`).join(", ")}; pass --title to keep text as the title.`;throw new g(`pm create needs a title: "${a}" looks like an item type. Pass the title with --title or as a second positional.${r}`,f.USAGE,{code:"create_positional_type_without_title",why:'Without this guard the single positional is used as the title and the type defaults to Task \u2014 so the command would silently create a Task literally titled "'+a+'".',examples:[`pm create ${a} --title "Wire up SSO for the agent harness"`,`pm create ${a} "Wire up SSO for the agent harness"`,`pm create "Wire up SSO for the agent harness" --type ${a}`],nextSteps:n.length===0?[`Pass the title as an option: ${P(["create",a,"--title","<title>",...i])}`]:n.map(s=>`Keep "${s.from}" as the title: ${P(["create",a,"--title",s.from,...i])}`)})}const Ve=["body","bodyFile","description","dep","depRemove","comment","note","learning","file","test","doc","reminder","event","typeOption","field","ids"];function R(t){const e=Ve.flatMap(o=>{const i=t[o],a=typeof i=="string"&&i.trim()==="-"?1:Array.isArray(i)?i.filter(r=>typeof r=="string"&&r.trim()==="-").length:0,n=`--${o.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}`;return Array.from({length:a},()=>n)});if(t.stdinJson===!0&&e.unshift("--stdin-json"),e.length>1)throw new g(`Only one option may consume stdin per command invocation. Found: ${e.join(", ")}.`,f.USAGE)}function j(t,e,o){const i=[];e&&i.push("body"),o&&i.push("description"),we(t,i)}function V(t,e){return!e&&typeof t.description=="string"&&t.description.trim()==="-"}async function z(t,e,o,i){const a=await J(W(process.cwd(),i.path));return ke(t,e,o,Y(a.schema).definitions)}async function ze(t,e,o,i){const a=v(i),n=Date.now();R(o);const r=o.stdinJson===!0;if(r){const S=await N().resolveValue("-","--stdin-json");o=await z(S??"","create",o,a)}He(t,e,o);const s=Ge(t,e,o);je(s.positionalType,s.positionalTitle,o,q(a)),typeof s.positionalType=="string"&&s.positionalType.length>0&&o.type===void 0&&(o.type=s.positionalType),typeof s.positionalTitle=="string"&&s.positionalTitle.length>0&&o.title===void 0&&(o.title=s.positionalTitle);const p=V(o,r);r||await L(o);const c=typeof o.bodyFile=="string";c&&(o.body=await O(String(o.bodyFile),o.body!==void 0?String(o.body):void 0),delete o.bodyFile);const y=B(o,{requireType:!1});j(y,c,p),r&&$(y);const k=await ce(y,a);await h(a,k),u(k,a),a.profile&&m(`profile:command=create took_ms=${Date.now()-n}`)}function qe(t){return{type:l(t,"filterType"),tag:l(t,"filterTag"),priority:l(t,"filterPriority"),deadlineBefore:l(t,"filterDeadlineBefore"),deadlineAfter:l(t,"filterDeadlineAfter"),updatedAfter:l(t,"filterUpdatedAfter"),updatedBefore:l(t,"filterUpdatedBefore"),createdAfter:l(t,"filterCreatedAfter"),createdBefore:l(t,"filterCreatedBefore"),ids:l(t,"ids"),assignee:l(t,"filterAssignee"),assigneeFilter:A(t.filterAssigneeFilter,t.filterAssignee_filter),parent:l(t,"filterParent"),sprint:l(t,"filterSprint"),release:l(t,"filterRelease"),...G(t),limit:l(t,"limit"),offset:l(t,"offset")}}async function Ke(t,e){const o=v(e),i=Date.now();R(t),t.ids=await T(l(t,"ids"));const a=await de({status:l(t,"filterStatus"),list:qe(t),reason:l(t,"reason"),completedAt:l(t,"completedAt"),resolution:l(t,"resolution"),expectedResult:A(t.expectedResult,t.expected_result,t.expected),actualResult:A(t.actualResult,t.actual_result,t.actual),validateClose:t.validateClose===!0?"warn":l(t,"validateClose"),author:l(t,"author"),message:l(t,"message"),force:!!t.force,dryRun:t.dryRun===!0?!0:void 0,rollback:l(t,"rollback"),checkpoint:t.checkpoint===!1?!1:void 0},o);await h(o,a),u(a,o),o.profile&&m(`profile:command=close-many took_ms=${Date.now()-i}`)}async function Je(t,e){const o=v(e),i=Date.now();R(t),t.ids=await T(l(t,"ids"));const a=await be({status:l(t,"filterStatus"),list:Ue(t),update:U(Ee(t)),dryRun:t.dryRun===!0?!0:void 0,rollback:l(t,"rollback"),checkpoint:t.checkpoint===!1?!1:void 0},o);await h(o,a),u(await _("update-many",[],t,o,a),o),o.profile&&m(`profile:command=update-many took_ms=${Date.now()-i}`)}async function We(t,e,o,i){const a=v(i),n=Date.now(),r=typeof o.reason=="string"&&o.reason.trim().length>0&&o.reason||typeof o.closeReason=="string"&&o.closeReason.trim().length>0&&o.closeReason||void 0,s=typeof e=="string"&&e.length>0?e:r,c=await(o.releaseAssignment===!0?se:le)(t,s,{author:l(o,"author"),message:l(o,"message"),validateClose:o.validateClose===!0?"warn":l(o,"validateClose"),force:!!o.force,duplicateOf:l(o,"duplicateOf"),completedAt:l(o,"completedAt"),resolution:l(o,"resolution"),expectedResult:A(o.expectedResult,o.expected_result,o.expected),actualResult:A(o.actualResult,o.actual_result,o.actual)},a);await h(a,c),u(c,a),a.profile&&m(`profile:command=close took_ms=${Date.now()-n}`)}function Ye(t){const e={...t},o=[["blocked_by","blockedBy"],["resume_context","resumeContext"],["from_search","fromSearch"],["step_title","stepTitle"],["step_body","stepBody"],["step_owner","stepOwner"],["step_status","stepStatus"],["step_evidence","stepEvidence"],["step_blocked_reason","stepBlockedReason"],["step_replacement","stepReplacement"],["depends_on","dependsOn"],["link_kind","linkKind"],["link_note","linkNote"],["promote_to_item_dep","promoteToItemDep"],["allow_multiple_active","allowMultipleActive"],["decision_text","decisionText"],["decision_rationale","decisionRationale"],["decision_evidence","decisionEvidence"],["discovery_text","discoveryText"],["validation_text","validationText"],["validation_command","validationCommand"],["validation_expected","validationExpected"],["materialize_type","materializeType"],["materialize_parent","materializeParent"],["materialize_tags","materializeTags"]];for(const[a,n]of o)e[a]!==void 0&&e[n]===void 0&&(e[n]=e[a]);const i=B(e,{requireType:!1});return i.blockedBy=e.blockedBy,i}function Xe(t,e){if(!t)throw new g(`pm plan requires a subcommand. Allowed: ${e.join(", ")}`,f.USAGE,{code:"missing_required_argument",examples:['pm plan create --title "Refactor lock retry"',"pm plan show pm-a1b2 --depth standard",'pm plan add-step pm-a1b2 --step-title "Read lock.ts"']});if(e.includes(t))return;throw D({command_path:"plan",token:t,allowed:e,examples:t==="list"||t==="ls"?["pm list --type Plan","pm list --all --type Plan"]:void 0,retry_command:t==="list"||t==="ls"?"pm list --type Plan":void 0})}function Ze(t,e){if(t!=="reorder-step"||typeof e!="string")return;const o=Number.parseInt(e,10);if(!Number.isFinite(o))throw new g(`reorder-step requires an integer new order, got "${e}"`,f.USAGE);return o}async function Qe(t,e,o,i,a,n){const r=v(n),s=Date.now(),p=(t??"").trim().toLowerCase();Xe(p,Ce);const c=Ye(a),y=Ze(p,i),k=p==="create"&&typeof e=="string"&&e.length>0&&c.title===void 0?void 0:e;k===void 0&&typeof e=="string"&&e.length>0&&(c.title=e);const S=await xe({subcommand:p,id:k,stepRef:o,reorderTo:y,options:c,global:r});await h(r,S),u(S,r),r.profile&&m(`profile:command=plan took_ms=${Date.now()-s}`)}async function et(t,e,o){if(t!==void 0)throw new g("merge reconcile takes no positional arguments.",f.USAGE);const i=await ae({dryRun:e.dryRun===!0,force:e.force===!0,stage:e.stage===!0,message:typeof e.message=="string"?e.message:void 0,author:o.author},o);u(i,o),i.ok||(process.exitCode=f.GENERIC_FAILURE)}async function tt(t,e,o,i,a,n){if(t===void 0||e===void 0||o===void 0||i===void 0)throw new g("merge driver requires <artifact> <base> <ours> <theirs> (git supplies %O %A %B). Example: pm merge driver history %O %A %B",f.USAGE);const r=await oe({artifact:t,basePath:e,oursPath:o,theirsPath:i,outputPath:typeof a.output=="string"?a.output:void 0,itemPath:typeof a.itemPath=="string"?a.itemPath:void 0,prefer:typeof a.prefer=="string"?a.prefer:void 0},n);u(r,n),r.ok||(process.exitCode=f.GENERIC_FAILURE)}async function ot(t,e,o,i,a,n,r){const s=v(r),p=Date.now();switch(t.trim().toLowerCase()){case"install":{if(e!==void 0)throw new g("merge install takes no positional arguments.",f.USAGE);const y=await ie({dryRun:n.dryRun===!0,preCommitHook:n.preCommitHook===!0},s);u(y,s);break}case"reconcile":await et(e,n,s);break;case"report":{if(e!==void 0)throw new g("merge report takes no positional arguments.",f.USAGE);const y=await ne({includeReconciled:n.includeReconciled===!0});u(y,s),y.ok||(process.exitCode=f.GENERIC_FAILURE);break}case"driver":await tt(e,o,i,a,n,s);break;default:throw D({command_path:"merge",token:t,allowed:I,display_name:"merge"})}s.profile&&m(`profile:command=merge took_ms=${Date.now()-p}`)}async function it(t,e,o){const i=v(o),a=Date.now(),n=await pe(t,{title:l(e,"title"),author:l(e,"author"),message:l(e,"message"),allowDuplicate:e.allowDuplicate===!0},i);await h(i,n),u(n,i),i.profile&&m(`profile:command=copy took_ms=${Date.now()-a}`)}async function at(t,e,o){const i=v(o),a=Date.now(),n=await ge(t,{clear:e.clear===!0},i);u(n,i),i.profile&&m(`profile:command=focus took_ms=${Date.now()-a}`)}async function nt(t,e,o){const i=v(o),a=Date.now();R(e);const n=e.stdinJson===!0;if(n){const y=await N().resolveValue("-","--stdin-json");e=await z(y??"","update",e,i)}const r=V(e,n);n||await L(e);const s=typeof e.bodyFile=="string";s&&(e.body=await O(String(e.bodyFile),e.body!==void 0?String(e.body):void 0),delete e.bodyFile);const p=U(e);j(p,s,r),n&&$(p);const c=await he(t,p,i);await h(i,c),u(await _("update",[t],e,i,c),i),i.profile&&m(`profile:command=update took_ms=${Date.now()-a}`)}async function rt(t,e,o){const i=v(o),a=Date.now(),n=await ue(t,{author:l(e,"author"),message:l(e,"message"),force:!!e.force,dryRun:e.dryRun===!0},i);n.dry_run!==!0&&await h(i,n),u(n,i),i.profile&&m(`profile:command=delete took_ms=${Date.now()-a}`)}function lt(t,e){const o=l(e,"body"),i=l(e,"text"),a=typeof t=="string"?t:void 0;if([o,i,a].filter(s=>s!==void 0).length>1)throw new g("Specify append text with exactly one source: positional [text], --body, or --text",f.USAGE);const r=o??i??a;if(r===void 0)throw new g("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).",f.USAGE);return r}async function st(t,e,o,i){const a=v(i),n=Date.now(),r=await re(t,{body:lt(e,o),author:l(o,"author"),message:l(o,"message"),force:!!o.force},a);await h(a,r),u(r,a),a.profile&&m(`profile:command=append took_ms=${Date.now()-n}`)}async function dt(t,e,o,i){const a=v(i),n=Date.now(),{PROFILE_SUBCOMMANDS:r}=F,s=(t??"").trim().toLowerCase();if(!s)throw new g(`pm profile requires a subcommand. Allowed: ${r.join(", ")}`,f.USAGE,{code:"missing_required_argument",examples:["pm profile list","pm profile show agile","pm profile apply agile --dry-run","pm profile lint agile"]});if(!r.includes(s))throw D({command_path:"profile",token:s,allowed:r});const p=await Ne(F,s,e,o,a);a.json===!0||a.defaultOutputFormat==="json"?u(p,a):a.quiet||$e(F,p),p.action==="lint"&&!p.ok&&(process.exitCode=f.GENERIC_FAILURE),a.profile&&m(`profile:command=profile took_ms=${Date.now()-n}`)}function b(t,e){return Pe(t[e])??[]}async function pt(t,e,o){const i=v(o),a=Date.now(),n=b(e,"add"),r=b(e,"addGlob"),s=b(e,"remove"),p=b(e,"migrate"),c=await ve(t,{add:n,addGlob:r,remove:s,migrate:p,note:l(e,"note"),noteConflict:l(e,"noteConflict"),list:!!e.list,appendStable:!!e.appendStable,validatePaths:!!e.validatePaths,fullHistory:e.fullHistory===!0,author:l(e,"author"),message:l(e,"message"),force:!!e.force},i);(n.length>0||r.length>0||s.length>0||p.length>0)&&await h(i,c),u(await _("files",[t],e,i,c),i),i.profile&&m(`profile:command=files took_ms=${Date.now()-a}`)}async function ct(t,e,o){const i=v(o),a=Date.now(),n={...o.optsWithGlobals(),...e},r=await ye(t,{apply:!!n.apply,note:l(n,"note"),appendStable:!!n.appendStable,author:l(n,"author"),message:l(n,"message"),force:!!n.force},i);r.changed&&await h(i,r),u(r,i),i.profile&&m(`profile:command=files.discover took_ms=${Date.now()-a}`)}async function ut(t,e,o){const i=v(o),a=Date.now(),n=b(e,"add"),r=b(e,"addGlob"),s=b(e,"remove"),p=b(e,"migrate"),c=await me(t,{add:n,addGlob:r,remove:s,migrate:p,note:l(e,"note"),noteConflict:l(e,"noteConflict"),list:!!e.list,validatePaths:!!e.validatePaths,fullHistory:e.fullHistory===!0,author:l(e,"author"),message:l(e,"message"),force:!!e.force},i);(n.length>0||r.length>0||s.length>0||p.length>0)&&await h(i,c),u(await _("docs",[t],e,i,c),i),i.profile&&m(`profile:command=docs took_ms=${Date.now()-a}`)}async function ft(t,e,o){const i=v(o),a=Date.now(),n=await fe(t,{format:e.format,maxDepth:l(e,"maxDepth"),collapse:e.collapse,summary:e.summary===!0,full:e.full===!0,nodeLimit:l(e,"nodeLimit"),edgeLimit:l(e,"edgeLimit"),tokenBudget:l(e,"tokenBudget"),cursor:l(e,"cursor"),direction:l(e,"direction"),...Array.isArray(e.kind)?{kind:e.kind}:{}},i);u(n,i),i.profile&&m(`profile:command=deps took_ms=${Date.now()-a}`)}function qt(t,e={}){const o=t.command("create").argument("[type-or-title]",'Title, or type followed by title (e.g. task "Fix bug")').argument("[title]","Title following an item type").description("Create a new project management item.");if(M(o,E),o.option("--stdin-json","Item JSON from stdin; explicit flags override").option("--body-file <path>","Load body from a file or stdin (-); conflicts with --body").option("--clear-deps","Clear dependency entries").option("--clear-comments","Clear comments").option("--clear-notes","Clear notes").option("--clear-learnings","Clear learnings").option("--clear-files","Clear linked files").option("--clear-tests","Clear linked tests").option("--clear-docs","Clear linked docs").option("--clear-reminders","Clear reminders").option("--clear-events","Clear events").option("--clear-type-options","Clear type options").option("--allow-duplicate","Explicitly create even when strict similarity governance finds likely duplicates").option("--inherit-focus","Use saved focus as parent (CLI default; SDK/MCP opt in)",!0).option("--no-inherit-focus","Ignore saved focus; --unset parent also suppresses it").action(ze),e.targetCommandName==="create")return;t.command("copy").argument("<id>","Source item id").option("--title <value>","Optional title override for the copied item").option("--author <value>","Mutation author").option("--message <value>","History message").option("--allow-duplicate","Explicitly copy even when strict similarity governance finds likely duplicates").description("Copy an item into a new item id while resetting lifecycle fields.").action(it),t.command("focus").argument("[id]","Item id to focus (omit to show current focus)").option("--clear","Clear the focused item").description("Set/clear/show the session focused item that new items default --parent to.").action(at);const i=t.command("update").argument("<id>","Item id").description("Update item fields and metadata.");M(i,Z),i.option("--stdin-json","Read a full item JSON document from stdin; explicit flags override document values").option("--body-file <path>","Load body from a file or stdin (-); conflicts with --body").option("--replace-deps","Atomically replace dependency entries with the provided --dep values").option("--replace-tests","Atomically replace linked test entries with the provided --test values").option("--replace-files","Atomically replace linked file entries with the provided --file values").option("--replace-docs","Atomically replace linked doc entries with the provided --doc values").option("--clear-deps","Clear dependency entries").option("--clear-comments","Clear comments").option("--clear-notes","Clear notes").option("--clear-learnings","Clear learnings").option("--clear-files","Clear linked files").option("--clear-tests","Clear linked tests").option("--clear-docs","Clear linked docs").option("--clear-reminders","Clear reminders").option("--clear-events","Clear events").option("--clear-type-options","Clear type options").option("--force","Force ownership override"),i.action(nt),Ae(t);const a=t.command("update-many").description("Bulk-update matched items with dry-run plans and rollback checkpoints.").option("--filter-status <value>","Filter by status before applying updates").option("--filter-type <value>","Filter by item type before applying updates").option("--filter-tag <value>","Filter by tag before applying updates").option("--filter-priority <value>","Filter by priority before applying updates").option("--filter-deadline-before <value>","Filter by deadline upper bound before applying updates").option("--filter-deadline-after <value>","Filter by deadline lower bound before applying updates").option("--filter-updated-after <value>","Filter by updated_at lower bound before applying updates (ISO/relative)").option("--filter-updated-before <value>","Filter by updated_at upper bound before applying updates (ISO/relative)").option("--filter-created-after <value>","Filter by created_at lower bound before applying updates (ISO/relative)").option("--filter-created-before <value>","Filter by created_at upper bound before applying updates (ISO/relative)").option("--filter-assignee <value>","Filter by assignee before applying updates").option("--filter-assignee-filter <value>","Filter assignee presence: assigned|unassigned before applying updates").option("--filter-parent <value>","Filter by parent item ID before applying updates").option("--filter-sprint <value>","Filter by sprint before applying updates").option("--filter-release <value>","Filter by release before applying updates").option("--filter-ac-missing","Select only items missing acceptance_criteria (bulk backfill)").option("--filter-estimates-missing","Select only items missing estimated_minutes (bulk backfill)").option("--filter-resolution-missing","Select only terminal items missing resolution (bulk backfill)").option("--filter-metadata-missing","Select only items missing any tracked metadata (AC, estimate, or resolution)");H(a,"applying updates"),a.option("--ids <value>","Explicit ID allowlist: comma/newline text, - stdin, or @path file").option("--limit <n>","Limit matched item count before apply/preview").option("--offset <n>","Skip first n matched rows before apply/preview").option("--dry-run","Preview per-item diffs and checkpoint intent without mutating").option("--rollback <value>","Rollback a prior update-many checkpoint ID").option("--no-checkpoint","Disable checkpoint creation during apply mode").option("--title, -t <value>","Set title").option("--description, -d <value>","Set description").option("--body, -b <value>","Set body (allow empty string)").option("--status, -s <value>","Set status (use close command for closed)").option("--priority, -p <value>","Set priority").option("--type <value>","Set type").option("--tags <value>","Set comma-separated tags (replaces existing). Use --add-tags / --remove-tags to mutate additively.").option("--add-tags <value>","Add tags additively without replacing existing (repeatable; CSV accepted)",d).option("--remove-tags <value>","Remove tags from the existing list (repeatable; CSV accepted)",d).option("--deadline <value>","Set deadline (ISO/date string or relative)").option("--estimate, --estimated-minutes <value>","Set estimated minutes").option("--acceptance-criteria <value>","Set acceptance criteria").option("--ac <value>","Alias for --acceptance-criteria").option("--add-ac <value>","Add one semicolon-free acceptance criterion without replacing the existing list (repeatable)",d).option("--remove-ac <value>","Remove one semicolon-free acceptance criterion by exact text match (repeatable)",d).option("--definition-of-ready <value>","Set definition of ready").option("--order <value>","Set planning order/rank integer").option("--rank <value>","Alias for --order").option("--goal <value>","Set goal identifier").option("--objective <value>","Set objective identifier").option("--value <value>","Set business value summary").option("--impact <value>","Set business impact summary").option("--outcome <value>","Set expected outcome summary").option("--why-now <value>","Set why-now rationale").option("--assignee <value>","Set assignee").option("--parent <value>","Set parent item ID").option("--reviewer <value>","Set reviewer").option("--risk <value>","Set risk level").option("--confidence <value>","Set confidence level").option("--sprint <value>","Set sprint identifier").option("--release <value>","Set release identifier").option("--blocked-by <value>","Set blocked-by item ID or reason").option("--blocked-reason <value>","Set blocked reason").option("--unblock-note <value>","Set unblock rationale note").option("--reporter <value>","Set issue reporter").option("--severity <value>","Set issue severity").option("--environment <value>","Set issue environment context").option("--repro-steps <value>","Set issue reproduction steps").option("--resolution <value>","Set issue resolution summary").option("--expected-result <value>","Set issue expected behavior").option("--expected <value>","Short alias for --expected-result").option("--actual-result <value>","Set issue observed behavior").option("--actual <value>","Short alias for --actual-result").option("--affected-version <value>","Set affected version identifier").option("--fixed-version <value>","Set fixed version identifier").option("--component <value>","Set issue component ownership").option("--regression [value]","Set regression marker; bare flag means true, or pass true|false|1|0").option("--customer-impact <value>","Set customer impact summary").option("--dep <value>","Add dependency entry id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>",d).option("--dep-remove <value>","Remove dependency entries by id/kind/author/timestamp signature",d).option("--replace-deps","Atomically replace dependency entries with provided --dep values").option("--replace-tests","Atomically replace linked tests with provided --test values").option("--replace-files","Atomically replace linked files with provided --file values").option("--replace-docs","Atomically replace linked docs with provided --doc values").option("--comment <value>","Add comment seed author=<value>,created_at=<iso|now>,text=<value>",d).option("--note <value>","Add note seed author=<value>,created_at=<iso|now>,text=<value>",d).option("--learning <value>","Add learning seed author=<value>,created_at=<iso|now>,text=<value>",d).option("--file <value>","Add linked file path=<value>,scope=<project|global>,note=<text>",d).option("--test <value>","Add linked test command=<value>,path=<value>,scope=<project|global>",d).option("--doc <value>","Add linked doc path=<value>,scope=<project|global>,note=<text>",d).option("--reminder <value>","Add reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>",d).option("--event <value>","Add event entry start=<iso|relative>,end=<iso|relative>,recur_*",d).option("--type-option <value>","Set type options key=value (repeatable)",d).option("--unset <field>","Clear scalar fields by name (repeatable or csv)",d).option("--clear-deps","Clear dependency entries").option("--clear-comments","Clear comments").option("--clear-notes","Clear notes").option("--clear-learnings","Clear learnings").option("--clear-files","Clear linked files").option("--clear-tests","Clear linked tests").option("--clear-docs","Clear linked docs").option("--clear-reminders","Clear reminders").option("--clear-events","Clear events").option("--clear-type-options","Clear type options").option("--author <value>","Mutation author").option("--message <value>","Mutation message").option("--force","Force ownership override"),C(a,[["--filter-assignee_filter <value>","Alias for --filter-assignee-filter"],["--estimated_minutes <value>","Alias for --estimated-minutes"],["--acceptance_criteria <value>","Alias for --acceptance-criteria"],["--definition_of_ready <value>","Alias for --definition-of-ready"],["--why_now <value>","Alias for --why-now"],["--blocked_by <value>","Alias for --blocked-by"],["--blocked_reason <value>","Alias for --blocked-reason"],["--unblock_note <value>","Alias for --unblock-note"],["--repro_steps <value>","Alias for --repro-steps"],["--expected_result <value>","Alias for --expected-result"],["--actual_result <value>","Alias for --actual-result"],["--affected_version <value>","Alias for --affected-version"],["--fixed_version <value>","Alias for --fixed-version"],["--customer_impact <value>","Alias for --customer-impact"],["--filter-estimate-missing","Alias for --filter-estimates-missing"]],!1),C(a,[["--dep_remove <value>","Alias for --dep-remove"],["--type_option <value>","Alias for --type-option"],["--add_tags <value>","Alias for --add-tags"],["--remove_tags <value>","Alias for --remove-tags"],["--add_ac <value>","Alias for --add-ac"],["--remove_ac <value>","Alias for --remove-ac"]],!0),a.action(Je);const n=t.command("close").option("--release-assignment","Release ownership after closure").argument("<id>","Item id").argument("[text]","Close reason text (alias: --reason)").option("-r, --reason <value>","Close reason text (alias for positional <text>)").option("--close-reason <value>","Close reason text (alias for positional <text>)").option("--completed-at <value>","Actual completion timestamp (ISO or relative), distinct from tracker close time").option("-d, --duplicate-of <id>","Close as a duplicate of the canonical item id and auto-fill duplicate closure metadata").option("--author <value>","Mutation author").option("-m, --message <value>","History message").option("--validate-close [mode]",'Validate closure metadata before close: "off", "warn", or "strict" (default: settings governance preset)').option("--resolution <value>","Closure resolution summary (checked by --validate-close strict)").option("--expected-result <value>","Expected outcome for closure validation").option("--expected <value>","Short alias for --expected-result").option("--actual-result <value>","Observed outcome for closure validation").option("--actual <value>","Short alias for --actual-result").option("--force","Force ownership override").description("Close an item. Close reason requirement follows governance.require_close_reason.");w(n,"--expected_result <value>","Alias for --expected-result",!1),w(n,"--actual_result <value>","Alias for --actual-result",!1),n.action(We);const r=t.command("close-many").description("Bulk-close matched items with a shared reason and full runClose semantics (dry-run + rollback checkpoint).").option("--filter-status <value>","Filter by status before closing").option("--filter-type <value>","Filter by item type before closing").option("--filter-tag <value>","Filter by tag before closing").option("--filter-priority <value>","Filter by priority before closing").option("--filter-deadline-before <value>","Filter by deadline upper bound before closing").option("--filter-deadline-after <value>","Filter by deadline lower bound before closing").option("--filter-updated-after <value>","Filter by updated_at lower bound before closing (ISO/relative)").option("--filter-updated-before <value>","Filter by updated_at upper bound before closing (ISO/relative)").option("--filter-created-after <value>","Filter by created_at lower bound before closing (ISO/relative)").option("--filter-created-before <value>","Filter by created_at upper bound before closing (ISO/relative)").option("--filter-assignee <value>","Filter by assignee before closing").option("--filter-assignee-filter <value>","Filter assignee presence: assigned|unassigned before closing").option("--filter-parent <value>","Filter by parent item ID before closing").option("--filter-sprint <value>","Filter by sprint before closing").option("--filter-release <value>","Filter by release before closing");H(r,"closing"),r.option("--ids <value>","Explicit ID allowlist: comma/newline text, - stdin, or @path file").option("--limit <n>","Limit matched item count before apply/preview").option("--offset <n>","Skip first n matched rows before apply/preview").option("--reason <value>","Shared close reason applied to matched items (required when governance.require_close_reason is enabled)").option("--completed-at <value>","Actual completion timestamp (ISO or relative) applied to every matched item").option("--resolution <value>","Shared closure resolution applied to every matched item (closure-validation field)").option("--expected-result <value>","Shared expected-result note (closure-validation field)").option("--expected <value>","Short alias for --expected-result").option("--actual-result <value>","Shared actual-result note (closure-validation field)").option("--actual <value>","Short alias for --actual-result").option("--validate-close [mode]",'Validate closure metadata per item: "off", "warn", or "strict" (default: settings governance preset)').option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Re-close already-terminal matches and override ownership").option("--dry-run","Preview matched items + per-item skip/active-child plan without mutating").option("--rollback <value>","Rollback a prior close-many checkpoint ID").option("--no-checkpoint","Disable checkpoint creation during apply mode"),w(r,"--filter-assignee_filter <value>","Alias for --filter-assignee-filter",!1),w(r,"--expected_result <value>","Alias for --expected-result",!1),w(r,"--actual_result <value>","Alias for --actual-result",!1),r.action(Ke),t.command("delete").argument("<id>","Item id").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").option("--dry-run","Preview the item file that would be deleted without mutating").description("Delete an item and record the change in history.").action(rt),t.command("append").argument("<id>","Item id").argument("[text]","Body text; same as --body (- reads stdin)").option("--body <value>","Text to append to body (or - for stdin)").option("--text <value>","Alias for --body").option("--author <value>","Mutation author").option("--message <value>","Mutation message").option("--force","Force ownership override").description("Append text to an item's body. For concurrent writes, use pm notes.").action(st);const s=t.command("plan").description("Plan workflow: create, manage steps and dependencies, approve, and materialize.").argument("[subcommand]","Required; Plan subcommand: create|show|add-step|update-step|complete-step|block-step|reorder-step|remove-step|link|unlink|decision|discovery|validation|resume|approve|materialize").argument("[id]","Plan id (non-create); positional title for create").argument("[step]","Step reference: stable id (plan-step-001) or order integer").argument("[new-order]","New order integer for reorder-step").option("--title <value>","Plan title").option("--description <value>","Plan description").option("--scope <value>","Change or investigation scope").option("--parent <value>","Parent pm item id").option("--inherit-focus","Create under saved focus (CLI default)",!0).option("--no-inherit-focus","Create without saved focus").option("--related <value>","Related item ids (repeatable CSV)",d).option("--blocks <value>","Blocked item ids (repeatable CSV)",d).option("--blocked-by <value>","Blocking item ids (repeatable CSV)",d).option("--harness <value>","Plan harness provenance: codex|claude-code|cursor|generic").option("--mode <value>","Plan mode: draft|research|review|approved|executing|paused|completed|superseded").option("--resume-context <value>","Compact context summary for a future stateless agent").option("--tags <value>","Comma-separated tags").option("--priority <value>","Priority 0-4").option("--body <value>","Plan item body").option("--claim","Claim the plan on create for the author").option("--from-search <value>","Record the search query that led to plan creation").option("--template <value>","Seed plan steps from a built-in template: bug-investigation|feature-implementation|refactoring-sprint").option("--step-title <value>","Step title for add-step / update-step").option("--step <value>","Step title (repeatable on create: each --step appends an ordered step; elsewhere a single value aliases --step-title)",d).option("--step-body <value>","Step body text").option("--step-owner <value>","Step owner").option("--step-status <value>","Step status: pending|in_progress|completed|blocked|skipped|superseded").option("--step-evidence <value>","Step evidence text (used by update-step/complete-step)").option("--step-blocked-reason <value>","Step blocked reason (required when blocking)").option("--step-replacement <value>","Replacement reference for a superseded step").option("--depends-on <value>","Pm item ids the step depends on (repeatable, csv-friendly)",d).option("--link <value>","Pm item id to link (repeatable, csv-friendly)",d).option("--link-kind <value>",`Link kind: ${ee.join("|")}`).option("--link-note <value>","Optional note for the link").option("--promote-to-item-dep","Also add the linked id as a top-level item dependency when linking").option("--allow-multiple-active","Allow multiple steps to be in_progress at once").option("--file <value>","Step linked file path=<value>[,scope=project|global,note=<text>] (repeatable)",d).option("--test <value>","Step linked test command=<value>[,path=<value>,note=<text>] (repeatable)",d).option("--doc <value>","Step linked doc path=<value>[,scope=project|global,note=<text>] (repeatable)",d).option("--decision-text <value>","Decision log entry text").option("--decision <value>","Alias for --decision-text").option("--decision-rationale <value>","Decision log entry rationale").option("--decision-evidence <value>","Decision log entry evidence").option("--discovery-text <value>","Discovery log entry text").option("--discovery <value>","Alias for --discovery-text").option("--validation-text <value>","Validation log entry text").option("--validation <value>","Alias for --validation-text").option("--validation-command <value>","Validation log entry command").option("--validation-expected <value>","Validation log entry expected outcome").option("--depth <value>","Show depth: brief|standard|deep (default: brief)").option("--fields <value>","Comma-separated field projection for show output").option("--steps <value>","Comma-separated step ids/orders for materialize").option("--materialize-type <value>","Item type for materialized steps (default: Task)").option("--materialize-parent <value>","Parent item id for materialized children (default: the plan)").option("--materialize-tags <value>","Comma-separated tags for materialized children").option("--field <name=value>","Custom field value forwarded to every materialized child (repeatable)",d).option("--author <value>","Mutation author").option("--message <value>","Mutation message").option("--force","Force ownership override");M(s,E.filter(y=>Te.has(y.target))),C(s,[["--resume_context <value>","Alias for --resume-context"],["--from_search <value>","Alias for --from-search"],["--step_title <value>","Alias for --step-title"],["--step_body <value>","Alias for --step-body"],["--step_owner <value>","Alias for --step-owner"],["--step_status <value>","Alias for --step-status"],["--step_evidence <value>","Alias for --step-evidence"],["--step_blocked_reason <value>","Alias for --step-blocked-reason"],["--step_replacement <value>","Alias for --step-replacement"],["--link_kind <value>","Alias for --link-kind"],["--link_note <value>","Alias for --link-note"],["--promote_to_item_dep","Alias for --promote-to-item-dep"],["--allow_multiple_active","Alias for --allow-multiple-active"],["--decision_text <value>","Alias for --decision-text"],["--decision_rationale <value>","Alias for --decision-rationale"],["--decision_evidence <value>","Alias for --decision-evidence"],["--discovery_text <value>","Alias for --discovery-text"],["--validation_text <value>","Alias for --validation-text"],["--validation_command <value>","Alias for --validation-command"],["--validation_expected <value>","Alias for --validation-expected"],["--materialize_type <value>","Alias for --materialize-type"],["--materialize_parent <value>","Alias for --materialize-parent"],["--materialize_tags <value>","Alias for --materialize-tags"]],!1),C(s,[["--blocked_by <value>","Alias for --blocked-by"],["--depends_on <value>","Alias for --depends-on"]],!0),s.action(Qe),Se(t,!1),_e(t),t.command("merge").argument("<subcommand>",`${I.join(" | ")}`).argument("[artifact]",`driver: ${te.join(" | ")}`).argument("[base]","driver: ancestor file (%O)").argument("[ours]","driver: current file (%A)").argument("[theirs]","driver: incoming file (%B)").option("--dry-run","install/reconcile: preview").option("--pre-commit-hook","install: opt into merge settlement hook").option("--stage","reconcile: stage lossless audit evidence").option("--message <text>","reconcile: audit message").option("--force","reconcile: accept reviewed decisions").option("--include-reconciled","report: include settled receipts").option("--output <path>","driver: alternate output").option("--item-path <path>","driver: repository-relative path (%P)").option("--prefer <side>","driver: ours|theirs (default ours)").description("Manage tracker merges.").action(ot),Me(t),t.command("profile").argument("[subcommand]","Required; Profile subcommand: list, show, apply, or lint").argument("[name]","Profile name for show/apply/lint: agile, ops, or research").option("--dry-run","Preview the apply diff without writing any files (apply)").option("--author <value>","Mutation author").option("--force","Force ownership/lock override").description("List, show, apply, and lint project profiles \u2014 archetype bundles of item types, statuses, fields, workflows, config, templates, and recommended packages.").action(dt),Re(t,Le);const c=t.command("files").description("Manage files linked to an item.");c.argument("<id>","Item id").option("--add <value>","Add linked file entry (CSV/markdown pairs or - for stdin)",d).option("--add-glob <value>","Add linked file entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)",d).option("--remove <value>","Remove linked file by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= \u2014 record removal context with --message",d).option("--migrate <value>","Migrate linked file paths in-place (from=<prefix>,to=<prefix>; repeatable)",d).option("--note <value>","Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--note-conflict <mode>","On a different stored note: refuse (default)|replace|append").option("--list","List linked files without mutating").option("--append-stable","Preserve existing linked-file order and append new links without full-array resorting").option("--validate-paths","Validate linked file paths for existence and file shape").option("--full-history","Return all linked files after a write").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").action(pt),c.command("discover").argument("<id>","Item id").option("--apply","Add discovered missing files to the item").option("--note <value>","Note to attach to discovered file links").option("--append-stable","Preserve existing linked-file order and append discovered links without full-array resorting").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").description("Discover existing file paths referenced in item text and optionally link missing files.").action(ct),De(c),t.command("docs").argument("<id>","Item id").option("--add <value>","Add linked doc entry (CSV/markdown pairs or - for stdin)",d).option("--add-glob <value>","Add linked doc entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)",d).option("--remove <value>","Remove linked doc by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= \u2014 record removal context with --message",d).option("--migrate <value>","Migrate linked doc paths in-place (from=<prefix>,to=<prefix>; repeatable)",d).option("--note <value>","Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--note-conflict <mode>","On a different stored note: refuse (default)|replace|append").option("--list","List linked docs without mutating").option("--validate-paths","Validate linked doc paths for existence and file shape").option("--full-history","Return all linked docs after a write").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").description("Manage docs linked to an item.").action(ut),t.command("deps").argument("<id>","Item id").option("--format <value>","Output format (tree, graph, or context)","tree").option("--max-depth <value>","Maximum dependency traversal depth (0 keeps only the root)").option("--collapse <value>","Collapse mode (none or repeated)","none").option("--summary","Return counts only without full tree/graph payload").option("--full","Return the complete dependency row projection").option("--node-limit <value>","Maximum nodes in context output").option("--edge-limit <value>","Maximum edges and missing-reference rows in context output").option("--token-budget <value>","Maximum estimated tokens in context output").option("--cursor <value>","Continue an equivalent context query").option("--direction <value>","Context traversal direction (outgoing, incoming, or both)").option("--kind <value>","Restrict context traversal to registered relationship kinds (repeatable or comma-separated)",d).description("Show dependency relationships for an item.").action(ft)}export{Wt as looksLikeSchemaSubcommandTypo,Le as parsePositiveIntOption,Yt as parseSchemaOrderOption,M as registerCommanderOptionContracts,qt as registerMutationCommands};
|
|
5
|
+
`),e.warnings.length>0&&m(`profile apply warnings: ${Ie(e.warnings)}`);break}}function Le(t){return e=>{const o=Number(e);if(!Number.isInteger(o)||o<1)throw new y(`${t} must be a positive integer (1-based index).`,f.USAGE);return o}}function H(t,e){t.option("--filter-has-notes",`Select only items that have notes before ${e}`).option("--filter-no-notes",`Select only items that have no notes before ${e}`).option("--filter-has-learnings",`Select only items that have learnings before ${e}`).option("--filter-no-learnings",`Select only items that have no learnings before ${e}`).option("--filter-has-files",`Select only items that have linked files before ${e}`).option("--filter-no-files",`Select only items that have no linked files before ${e}`).option("--filter-has-docs",`Select only items that have linked docs before ${e}`).option("--filter-no-docs",`Select only items that have no linked docs before ${e}`).option("--filter-has-tests",`Select only items that have linked tests before ${e}`).option("--filter-no-tests",`Select only items that have no linked tests before ${e}`).option("--filter-has-comments",`Select only items that have comments before ${e}`).option("--filter-no-comments",`Select only items that have no comments before ${e}`).option("--filter-has-deps",`Select only items that have dependencies before ${e}`).option("--filter-no-deps",`Select only items that have no dependencies before ${e}`).option("--filter-has-body",`Select only items that have a non-empty body before ${e}`).option("--filter-empty-body",`Select only items with an empty body before ${e}`).option("--filter-has-linked-command",`Select only items whose linked tests carry a runnable command before ${e}`).option("--filter-no-linked-command",`Select only items whose linked tests carry no runnable command before ${e}`).option("--filter-reviewer-missing",`Select only items missing reviewer before ${e}`).option("--filter-risk-missing",`Select only items missing risk before ${e}`).option("--filter-confidence-missing",`Select only items missing confidence before ${e}`).option("--filter-sprint-missing",`Select only items missing sprint before ${e}`).option("--filter-release-missing",`Select only items missing release before ${e}`)}const Be=[["filterHasNotes","filterNoNotes","--filter-has-notes","--filter-no-notes"],["filterHasLearnings","filterNoLearnings","--filter-has-learnings","--filter-no-learnings"],["filterHasFiles","filterNoFiles","--filter-has-files","--filter-no-files"],["filterHasDocs","filterNoDocs","--filter-has-docs","--filter-no-docs"],["filterHasTests","filterNoTests","--filter-has-tests","--filter-no-tests"],["filterHasComments","filterNoComments","--filter-has-comments","--filter-no-comments"],["filterHasDeps","filterNoDeps","--filter-has-deps","--filter-no-deps"],["filterHasBody","filterEmptyBody","--filter-has-body","--filter-empty-body"],["filterHasLinkedCommand","filterNoLinkedCommand","--filter-has-linked-command","--filter-no-linked-command"]];function G(t){const e=o=>t[o]===!0?!0:void 0;for(const[o,i,a,n]of Be)if(t[o]===!0&&t[i]===!0)throw new y(`Cannot combine ${a} with ${n} for the same field.`,f.USAGE);return{filterReviewerMissing:e("filterReviewerMissing"),filterRiskMissing:e("filterRiskMissing"),filterConfidenceMissing:e("filterConfidenceMissing"),filterSprintMissing:e("filterSprintMissing"),filterReleaseMissing:e("filterReleaseMissing"),hasNotes:e("filterHasNotes"),hasLearnings:e("filterHasLearnings"),hasFiles:e("filterHasFiles"),hasDocs:e("filterHasDocs"),hasTests:e("filterHasTests"),hasComments:e("filterHasComments"),hasDeps:e("filterHasDeps"),hasBody:e("filterHasBody"),hasLinkedCommand:e("filterHasLinkedCommand"),noNotes:e("filterNoNotes"),noLearnings:e("filterNoLearnings"),noFiles:e("filterNoFiles"),noDocs:e("filterNoDocs"),noTests:e("filterNoTests"),noComments:e("filterNoComments"),noDeps:e("filterNoDeps"),emptyBody:e("filterEmptyBody"),noLinkedCommand:e("filterNoLinkedCommand")}}function M(t,e){for(const o of e){const i=[];let a=t.args;const n=r=>(t.args!==a&&(i.length=0,a=t.args),i.push(r),i);o.required?t.requiredOption(o.option,o.description):o.repeatable?t.option(o.option,o.description,n):t.option(o.option,o.description);for(const r of o.aliasOptions??[])Fe(o.option,r.option)?w(t,r.option,r.description,o.repeatable===!0,o.repeatable?n:void 0):o.repeatable?t.option(r.option,r.description,n):t.option(r.option,r.description)}}function Ue(t){const e=o=>typeof t[o]=="string"?t[o]:void 0;return{type:e("filterType"),tag:e("filterTag"),priority:e("filterPriority"),deadlineBefore:e("filterDeadlineBefore"),deadlineAfter:e("filterDeadlineAfter"),updatedAfter:e("filterUpdatedAfter"),updatedBefore:e("filterUpdatedBefore"),createdAfter:e("filterCreatedAfter"),createdBefore:e("filterCreatedBefore"),ids:e("ids"),assignee:e("filterAssignee"),assigneeFilter:e("filterAssigneeFilter")??e("filterAssignee_filter"),parent:e("filterParent"),sprint:e("filterSprint"),release:e("filterRelease"),filterAcMissing:t.filterAcMissing===!0?!0:void 0,filterEstimatesMissing:t.filterEstimatesMissing===!0||t.filterEstimateMissing===!0?!0:void 0,filterResolutionMissing:t.filterResolutionMissing===!0?!0:void 0,filterMetadataMissing:t.filterMetadataMissing===!0?!0:void 0,...G(t),limit:e("limit"),offset:e("offset"),includeBody:!0}}function A(...t){for(const e of t)if(typeof e=="string")return e}function He(t,e,o){if(!(t!=="many"||e!==void 0||o.title!==void 0||o.type!==void 0))throw new y("pm create many is not a command; bulk creation is pm item mutate.",f.USAGE,{code:"bulk_create_route",required:"Pipe a JSON array, JSON Lines, or {schema_version, mutations} document to pm item mutate, or pass --from <path>.",why:"pm item mutate commits every record in one workspace transaction with a replay-safe transaction id, so an interrupted or repeated import never duplicates items.",nextSteps:["pm item mutate --from items.jsonl --dry-run --json","pm item mutate --from items.jsonl --upsert-key external_id --json","pm guide lifecycle"],examples:["pm item mutate --from items.jsonl --json",`printf '%s\\n' '{"title":"First","type":"Task"}' '{"title":"Second","type":"Task"}' | pm item mutate --json`]})}function Ge(t,e,o){return typeof e=="string"&&e.length>0?{positionalType:t,positionalTitle:e}:typeof t!="string"||t.length===0?{positionalType:void 0,positionalTitle:void 0}:typeof o.title=="string"&&o.title.trim().length>0&&o.type===void 0?{positionalType:t,positionalTitle:void 0}:{positionalType:void 0,positionalTitle:t}}function je(t,e,o,i){if(t!==void 0||typeof e!="string"||e.length===0||o.title!==void 0||o.type!==void 0||!Oe.has(e.trim().toLowerCase()))return;const a=e.trim(),n=K(),r=n.length===0?"":`
|
|
6
|
+
The CLI read ${n.map(s=>`"${s.from}" as ${s.flag}`).join(", ")}; pass --title to keep text as the title.`;throw new y(`pm create needs a title: "${a}" looks like an item type. Pass the title with --title or as a second positional.${r}`,f.USAGE,{code:"create_positional_type_without_title",why:'Without this guard the single positional is used as the title and the type defaults to Task \u2014 so the command would silently create a Task literally titled "'+a+'".',examples:[`pm create ${a} --title "Wire up SSO for the agent harness"`,`pm create ${a} "Wire up SSO for the agent harness"`,`pm create "Wire up SSO for the agent harness" --type ${a}`],nextSteps:n.length===0?[`Pass the title as an option: ${P(["create",a,"--title","<title>",...i])}`]:n.map(s=>`Keep "${s.from}" as the title: ${P(["create",a,"--title",s.from,...i])}`)})}const Ve=["body","bodyFile","description","dep","depRemove","comment","note","learning","file","test","doc","reminder","event","typeOption","field","ids"];function R(t){const e=Ve.flatMap(o=>{const i=t[o],a=typeof i=="string"&&i.trim()==="-"?1:Array.isArray(i)?i.filter(r=>typeof r=="string"&&r.trim()==="-").length:0,n=`--${o.replace(/[A-Z]/g,r=>`-${r.toLowerCase()}`)}`;return Array.from({length:a},()=>n)});if(t.stdinJson===!0&&e.unshift("--stdin-json"),e.length>1)throw new y(`Only one option may consume stdin per command invocation. Found: ${e.join(", ")}.`,f.USAGE)}function j(t,e,o){const i=[];e&&i.push("body"),o&&i.push("description"),we(t,i)}function V(t,e){return!e&&typeof t.description=="string"&&t.description.trim()==="-"}async function z(t,e,o,i){const a=await J(W(process.cwd(),i.path));return ke(t,e,o,Y(a.schema).definitions)}async function ze(t,e,o,i){const a=v(i),n=Date.now();R(o);const r=o.stdinJson===!0;if(r){const S=await N().resolveValue("-","--stdin-json");o=await z(S??"","create",o,a)}He(t,e,o);const s=Ge(t,e,o);je(s.positionalType,s.positionalTitle,o,q(a)),typeof s.positionalType=="string"&&s.positionalType.length>0&&o.type===void 0&&(o.type=s.positionalType),typeof s.positionalTitle=="string"&&s.positionalTitle.length>0&&o.title===void 0&&(o.title=s.positionalTitle);const p=V(o,r);r||await L(o);const c=typeof o.bodyFile=="string";c&&(o.body=await O(String(o.bodyFile),o.body!==void 0?String(o.body):void 0),delete o.bodyFile);const g=B(o,{requireType:!1});j(g,c,p),r&&$(g);const k=await ce(g,a);await h(a,k),u(k,a),a.profile&&m(`profile:command=create took_ms=${Date.now()-n}`)}function qe(t){return{type:l(t,"filterType"),tag:l(t,"filterTag"),priority:l(t,"filterPriority"),deadlineBefore:l(t,"filterDeadlineBefore"),deadlineAfter:l(t,"filterDeadlineAfter"),updatedAfter:l(t,"filterUpdatedAfter"),updatedBefore:l(t,"filterUpdatedBefore"),createdAfter:l(t,"filterCreatedAfter"),createdBefore:l(t,"filterCreatedBefore"),ids:l(t,"ids"),assignee:l(t,"filterAssignee"),assigneeFilter:A(t.filterAssigneeFilter,t.filterAssignee_filter),parent:l(t,"filterParent"),sprint:l(t,"filterSprint"),release:l(t,"filterRelease"),...G(t),limit:l(t,"limit"),offset:l(t,"offset")}}async function Ke(t,e){const o=v(e),i=Date.now();R(t),t.ids=await T(l(t,"ids"));const a=await de({status:l(t,"filterStatus"),list:qe(t),reason:l(t,"reason"),completedAt:l(t,"completedAt"),resolution:l(t,"resolution"),expectedResult:A(t.expectedResult,t.expected_result,t.expected),actualResult:A(t.actualResult,t.actual_result,t.actual),validateClose:t.validateClose===!0?"warn":l(t,"validateClose"),author:l(t,"author"),message:l(t,"message"),force:!!t.force,dryRun:t.dryRun===!0?!0:void 0,rollback:l(t,"rollback"),checkpoint:t.checkpoint===!1?!1:void 0},o);await h(o,a),u(a,o),o.profile&&m(`profile:command=close-many took_ms=${Date.now()-i}`)}async function Je(t,e){const o=v(e),i=Date.now();R(t),t.ids=await T(l(t,"ids"));const a=await be({status:l(t,"filterStatus"),list:Ue(t),update:U(Ee(t)),dryRun:t.dryRun===!0?!0:void 0,rollback:l(t,"rollback"),checkpoint:t.checkpoint===!1?!1:void 0},o);await h(o,a),u(await _("update-many",[],t,o,a),o),o.profile&&m(`profile:command=update-many took_ms=${Date.now()-i}`)}async function We(t,e,o,i){const a=v(i),n=Date.now(),r=typeof o.reason=="string"&&o.reason.trim().length>0&&o.reason||typeof o.closeReason=="string"&&o.closeReason.trim().length>0&&o.closeReason||void 0,s=typeof e=="string"&&e.length>0?e:r,c=await(o.releaseAssignment===!0?se:le)(t,s,{author:l(o,"author"),message:l(o,"message"),validateClose:o.validateClose===!0?"warn":l(o,"validateClose"),force:!!o.force,duplicateOf:l(o,"duplicateOf"),completedAt:l(o,"completedAt"),resolution:l(o,"resolution"),expectedResult:A(o.expectedResult,o.expected_result,o.expected),actualResult:A(o.actualResult,o.actual_result,o.actual)},a);await h(a,c),u(c,a),a.profile&&m(`profile:command=close took_ms=${Date.now()-n}`)}function Ye(t){const e={...t},o=[["blocked_by","blockedBy"],["resume_context","resumeContext"],["from_search","fromSearch"],["step_title","stepTitle"],["step_body","stepBody"],["step_owner","stepOwner"],["step_status","stepStatus"],["step_evidence","stepEvidence"],["step_blocked_reason","stepBlockedReason"],["step_replacement","stepReplacement"],["depends_on","dependsOn"],["link_kind","linkKind"],["link_note","linkNote"],["promote_to_item_dep","promoteToItemDep"],["allow_multiple_active","allowMultipleActive"],["decision_text","decisionText"],["decision_rationale","decisionRationale"],["decision_evidence","decisionEvidence"],["discovery_text","discoveryText"],["validation_text","validationText"],["validation_command","validationCommand"],["validation_expected","validationExpected"],["materialize_type","materializeType"],["materialize_parent","materializeParent"],["materialize_tags","materializeTags"]];for(const[a,n]of o)e[a]!==void 0&&e[n]===void 0&&(e[n]=e[a]);const i=B(e,{requireType:!1});return i.blockedBy=e.blockedBy,i}function Xe(t,e){if(!t)throw new y(`pm plan requires a subcommand. Allowed: ${e.join(", ")}`,f.USAGE,{code:"missing_required_argument",examples:['pm plan create --title "Refactor lock retry"',"pm plan show pm-a1b2 --depth standard",'pm plan add-step pm-a1b2 --step-title "Read lock.ts"']});if(e.includes(t))return;throw D({command_path:"plan",token:t,allowed:e,examples:t==="list"||t==="ls"?["pm list --type Plan","pm list --all --type Plan"]:void 0,retry_command:t==="list"||t==="ls"?"pm list --type Plan":void 0})}function Ze(t,e){if(t!=="reorder-step"||typeof e!="string")return;const o=Number.parseInt(e,10);if(!Number.isFinite(o))throw new y(`reorder-step requires an integer new order, got "${e}"`,f.USAGE);return o}async function Qe(t,e,o,i,a,n){const r=v(n),s=Date.now(),p=(t??"").trim().toLowerCase();Xe(p,Ce);const c=Ye(a),g=Ze(p,i),k=p==="create"&&typeof e=="string"&&e.length>0&&c.title===void 0?void 0:e;k===void 0&&typeof e=="string"&&e.length>0&&(c.title=e);const S=await xe({subcommand:p,id:k,stepRef:o,reorderTo:g,options:c,global:r});await h(r,S),u(S,r),r.profile&&m(`profile:command=plan took_ms=${Date.now()-s}`)}async function et(t,e,o){if(t!==void 0)throw new y("merge reconcile takes no positional arguments.",f.USAGE);const i=await ae({dryRun:e.dryRun===!0,force:e.force===!0,stage:e.stage===!0,message:typeof e.message=="string"?e.message:void 0,author:o.author},o);u(i,o),i.ok||(process.exitCode=f.GENERIC_FAILURE)}async function tt(t,e,o,i,a,n){if(t===void 0||e===void 0||o===void 0||i===void 0)throw new y("merge driver requires <artifact> <base> <ours> <theirs> (git supplies %O %A %B). Example: pm merge driver history %O %A %B",f.USAGE);const r=await oe({artifact:t,basePath:e,oursPath:o,theirsPath:i,outputPath:typeof a.output=="string"?a.output:void 0,itemPath:typeof a.itemPath=="string"?a.itemPath:void 0,prefer:typeof a.prefer=="string"?a.prefer:void 0},n);u(r,n),r.ok||(process.exitCode=f.GENERIC_FAILURE)}async function ot(t,e,o,i,a,n,r){const s=v(r),p=Date.now();switch(t.trim().toLowerCase()){case"install":{if(e!==void 0)throw new y("merge install takes no positional arguments.",f.USAGE);const g=await ie({dryRun:n.dryRun===!0,preCommitHook:n.preCommitHook===!0},s);u(g,s);break}case"reconcile":await et(e,n,s);break;case"report":{if(e!==void 0)throw new y("merge report takes no positional arguments.",f.USAGE);const g=await ne({includeReconciled:n.includeReconciled===!0});u(g,s),g.ok||(process.exitCode=f.GENERIC_FAILURE);break}case"driver":await tt(e,o,i,a,n,s);break;default:throw D({command_path:"merge",token:t,allowed:I,display_name:"merge"})}s.profile&&m(`profile:command=merge took_ms=${Date.now()-p}`)}async function it(t,e,o){const i=v(o),a=Date.now(),n=await pe(t,{title:l(e,"title"),author:l(e,"author"),message:l(e,"message"),allowDuplicate:e.allowDuplicate===!0},i);await h(i,n),u(n,i),i.profile&&m(`profile:command=copy took_ms=${Date.now()-a}`)}async function at(t,e,o){const i=v(o),a=Date.now(),n=await ye(t,{clear:e.clear===!0},i);u(n,i),i.profile&&m(`profile:command=focus took_ms=${Date.now()-a}`)}async function nt(t,e,o){const i=v(o),a=Date.now();R(e);const n=e.stdinJson===!0;if(n){const g=await N().resolveValue("-","--stdin-json");e=await z(g??"","update",e,i)}const r=V(e,n);n||await L(e);const s=typeof e.bodyFile=="string";s&&(e.body=await O(String(e.bodyFile),e.body!==void 0?String(e.body):void 0),delete e.bodyFile);const p=U(e);j(p,s,r),n&&$(p);const c=await he(t,p,i);await h(i,c),u(await _("update",[t],e,i,c),i),i.profile&&m(`profile:command=update took_ms=${Date.now()-a}`)}async function rt(t,e,o){const i=v(o),a=Date.now(),n=await ue(t,{author:l(e,"author"),message:l(e,"message"),force:!!e.force,dryRun:e.dryRun===!0},i);n.dry_run!==!0&&await h(i,n),u(n,i),i.profile&&m(`profile:command=delete took_ms=${Date.now()-a}`)}function lt(t,e){const o=l(e,"body"),i=l(e,"text"),a=typeof t=="string"?t:void 0;if([o,i,a].filter(s=>s!==void 0).length>1)throw new y("Specify append text with exactly one source: positional [text], --body, or --text",f.USAGE);const r=o??i??a;if(r===void 0)throw new y("Missing append text. Provide it as positional [text], --body <value>, or --text <value> (use - for stdin).",f.USAGE);return r}async function st(t,e,o,i){const a=v(i),n=Date.now(),r=await re(t,{body:lt(e,o),author:l(o,"author"),message:l(o,"message"),force:!!o.force},a);await h(a,r),u(r,a),a.profile&&m(`profile:command=append took_ms=${Date.now()-n}`)}async function dt(t,e,o,i){const a=v(i),n=Date.now(),{PROFILE_SUBCOMMANDS:r}=F,s=(t??"").trim().toLowerCase();if(!s)throw new y(`pm profile requires a subcommand. Allowed: ${r.join(", ")}`,f.USAGE,{code:"missing_required_argument",examples:["pm profile list","pm profile show agile","pm profile apply agile --dry-run","pm profile lint agile"]});if(!r.includes(s))throw D({command_path:"profile",token:s,allowed:r});const p=await Ne(F,s,e,o,a);a.json===!0||a.defaultOutputFormat==="json"?u(p,a):a.quiet||$e(F,p),p.action==="lint"&&!p.ok&&(process.exitCode=f.GENERIC_FAILURE),a.profile&&m(`profile:command=profile took_ms=${Date.now()-n}`)}function b(t,e){return Pe(t[e])??[]}async function pt(t,e,o){const i=v(o),a=Date.now(),n=b(e,"add"),r=b(e,"addGlob"),s=b(e,"remove"),p=b(e,"migrate"),c=await ve(t,{add:n,addGlob:r,remove:s,migrate:p,note:l(e,"note"),noteConflict:l(e,"noteConflict"),list:!!e.list,appendStable:!!e.appendStable,validatePaths:!!e.validatePaths,fullHistory:e.fullHistory===!0,author:l(e,"author"),message:l(e,"message"),force:!!e.force},i);(n.length>0||r.length>0||s.length>0||p.length>0)&&await h(i,c),u(await _("files",[t],e,i,c),i),i.profile&&m(`profile:command=files took_ms=${Date.now()-a}`)}async function ct(t,e,o){const i=v(o),a=Date.now(),n={...o.optsWithGlobals(),...e},r=await ge(t,{apply:!!n.apply,note:l(n,"note"),appendStable:!!n.appendStable,author:l(n,"author"),message:l(n,"message"),force:!!n.force},i);r.changed&&await h(i,r),u(r,i),i.profile&&m(`profile:command=files.discover took_ms=${Date.now()-a}`)}async function ut(t,e,o){const i=v(o),a=Date.now(),n=b(e,"add"),r=b(e,"addGlob"),s=b(e,"remove"),p=b(e,"migrate"),c=await me(t,{add:n,addGlob:r,remove:s,migrate:p,note:l(e,"note"),noteConflict:l(e,"noteConflict"),list:!!e.list,validatePaths:!!e.validatePaths,fullHistory:e.fullHistory===!0,author:l(e,"author"),message:l(e,"message"),force:!!e.force},i);(n.length>0||r.length>0||s.length>0||p.length>0)&&await h(i,c),u(await _("docs",[t],e,i,c),i),i.profile&&m(`profile:command=docs took_ms=${Date.now()-a}`)}async function ft(t,e,o){const i=v(o),a=Date.now(),n=await fe(t,{format:e.format,maxDepth:l(e,"maxDepth"),collapse:e.collapse,summary:e.summary===!0,full:e.full===!0,nodeLimit:l(e,"nodeLimit"),edgeLimit:l(e,"edgeLimit"),tokenBudget:l(e,"tokenBudget"),cursor:l(e,"cursor"),direction:l(e,"direction"),...Array.isArray(e.kind)?{kind:e.kind}:{}},i);u(n,i),i.profile&&m(`profile:command=deps took_ms=${Date.now()-a}`)}function qt(t,e={}){const o=t.command("create").argument("[type-or-title]",'Title, or type followed by title (e.g. task "Fix bug")').argument("[title]","Title following an item type").description("Create a new project management item.");if(M(o,E),o.option("--stdin-json","Item JSON from stdin; explicit flags override").option("--body-file <path>","Load body from a file or stdin (-); conflicts with --body").option("--clear-deps","Clear dependency entries").option("--clear-comments","Clear comments").option("--clear-notes","Clear notes").option("--clear-learnings","Clear learnings").option("--clear-files","Clear linked files").option("--clear-tests","Clear linked tests").option("--clear-docs","Clear linked docs").option("--clear-reminders","Clear reminders").option("--clear-events","Clear events").option("--clear-type-options","Clear type options").option("--allow-duplicate","Explicitly create even when strict similarity governance finds likely duplicates").option("--inherit-focus","Use saved focus as parent (CLI default; SDK/MCP opt in)",!0).option("--no-inherit-focus","Ignore saved focus; --unset parent also suppresses it").action(ze),e.targetCommandName==="create")return;t.command("copy").argument("<id>","Source item id").option("--title <value>","Optional title override for the copied item").option("--author <value>","Mutation author").option("--message <value>","History message").option("--allow-duplicate","Explicitly copy even when strict similarity governance finds likely duplicates").description("Copy an item into a new item id while resetting lifecycle fields.").action(it),t.command("focus").argument("[id]","Item id to focus (omit to show current focus)").option("--clear","Clear the focused item").description("Set/clear/show the session focused item that new items default --parent to.").action(at);const i=t.command("update").argument("<id>","Item id").description("Update item fields and metadata.");M(i,Z),i.option("--stdin-json","Read a full item JSON document from stdin; explicit flags override document values").option("--body-file <path>","Load body from a file or stdin (-); conflicts with --body").option("--replace-deps","Atomically replace dependency entries with the provided --dep values").option("--replace-tests","Atomically replace linked test entries with the provided --test values").option("--replace-files","Atomically replace linked file entries with the provided --file values").option("--replace-docs","Atomically replace linked doc entries with the provided --doc values").option("--clear-deps","Clear dependency entries").option("--clear-comments","Clear comments").option("--clear-notes","Clear notes").option("--clear-learnings","Clear learnings").option("--clear-files","Clear linked files").option("--clear-tests","Clear linked tests").option("--clear-docs","Clear linked docs").option("--clear-reminders","Clear reminders").option("--clear-events","Clear events").option("--clear-type-options","Clear type options").option("--force","Force ownership override"),i.action(nt),Ae(t);const a=t.command("update-many").description("Bulk-update matched items with dry-run plans and rollback checkpoints.").option("--filter-status <value>","Filter by status before applying updates").option("--filter-type <value>","Filter by item type before applying updates").option("--filter-tag <value>","Filter by tag before applying updates").option("--filter-priority <value>","Filter by priority before applying updates").option("--filter-deadline-before <value>","Filter by deadline upper bound before applying updates").option("--filter-deadline-after <value>","Filter by deadline lower bound before applying updates").option("--filter-updated-after <value>","Filter by updated_at lower bound before applying updates (ISO/relative)").option("--filter-updated-before <value>","Filter by updated_at upper bound before applying updates (ISO/relative)").option("--filter-created-after <value>","Filter by created_at lower bound before applying updates (ISO/relative)").option("--filter-created-before <value>","Filter by created_at upper bound before applying updates (ISO/relative)").option("--filter-assignee <value>","Filter by assignee before applying updates").option("--filter-assignee-filter <value>","Filter assignee presence: assigned|unassigned before applying updates").option("--filter-parent <value>","Filter by parent item ID before applying updates").option("--filter-sprint <value>","Filter by sprint before applying updates").option("--filter-release <value>","Filter by release before applying updates").option("--filter-ac-missing","Select only items missing acceptance_criteria (bulk backfill)").option("--filter-estimates-missing","Select only items missing estimated_minutes (bulk backfill)").option("--filter-resolution-missing","Select only terminal items missing resolution (bulk backfill)").option("--filter-metadata-missing","Select only items missing any tracked metadata (AC, estimate, or resolution)");H(a,"applying updates"),a.option("--ids <value>","Explicit ID allowlist: comma/newline text, - stdin, or @path file").option("--limit <n>","Limit matched item count before apply/preview").option("--offset <n>","Skip first n matched rows before apply/preview").option("--dry-run","Preview per-item diffs and checkpoint intent without mutating").option("--rollback <value>","Rollback a prior update-many checkpoint ID").option("--no-checkpoint","Disable checkpoint creation during apply mode").option("--title, -t <value>","Set title").option("--description, -d <value>","Set description").option("--body, -b <value>","Set body (allow empty string)").option("--status, -s <value>","Set status (use close command for closed)").option("--priority, -p <value>","Set priority").option("--type <value>","Set type").option("--tags <value>","Set comma-separated tags (replaces existing). Use --add-tags / --remove-tags to mutate additively.").option("--add-tags <value>","Add tags additively without replacing existing (repeatable; CSV accepted)",d).option("--remove-tags <value>","Remove tags from the existing list (repeatable; CSV accepted)",d).option("--deadline <value>","Set deadline (ISO/date string or relative)").option("--estimate, --estimated-minutes <value>","Set estimated minutes").option("--acceptance-criteria <value>","Set acceptance criteria").option("--ac <value>","Alias for --acceptance-criteria").option("--add-ac <value>","Add one semicolon-free acceptance criterion without replacing the existing list (repeatable)",d).option("--remove-ac <value>","Remove one semicolon-free acceptance criterion by exact text match (repeatable)",d).option("--definition-of-ready <value>","Set definition of ready").option("--order <value>","Set planning order/rank integer").option("--rank <value>","Alias for --order").option("--goal <value>","Set goal identifier").option("--objective <value>","Set objective identifier").option("--value <value>","Set business value summary").option("--impact <value>","Set business impact summary").option("--outcome <value>","Set expected outcome summary").option("--why-now <value>","Set why-now rationale").option("--assignee <value>","Set assignee").option("--parent <value>","Set parent item ID").option("--reviewer <value>","Set reviewer").option("--risk <value>","Set risk level").option("--confidence <value>","Set confidence level").option("--sprint <value>","Set sprint identifier").option("--release <value>","Set release identifier").option("--blocked-by <value>","Set blocked-by item ID or reason").option("--blocked-reason <value>","Set blocked reason").option("--unblock-note <value>","Set unblock rationale note").option("--reporter <value>","Set issue reporter").option("--severity <value>","Set issue severity").option("--environment <value>","Set issue environment context").option("--repro-steps <value>","Set issue reproduction steps").option("--resolution <value>","Set issue resolution summary").option("--expected-result <value>","Set issue expected behavior").option("--expected <value>","Short alias for --expected-result").option("--actual-result <value>","Set issue observed behavior").option("--actual <value>","Short alias for --actual-result").option("--affected-version <value>","Set affected version identifier").option("--fixed-version <value>","Set fixed version identifier").option("--component <value>","Set issue component ownership").option("--regression [value]","Set regression marker; bare flag means true, or pass true|false|1|0").option("--customer-impact <value>","Set customer impact summary").option("--dep <value>","Add dependency entry id=<id>,kind=<kind>,author=<author>,created_at=<timestamp>",d).option("--dep-remove <value>","Remove dependency entries by id/kind/author/timestamp signature",d).option("--allow-unresolved-deps","Allow unresolved local dependency targets and emit explicit warning receipts").option("--replace-deps","Atomically replace dependency entries with provided --dep values").option("--replace-tests","Atomically replace linked tests with provided --test values").option("--replace-files","Atomically replace linked files with provided --file values").option("--replace-docs","Atomically replace linked docs with provided --doc values").option("--comment <value>","Add comment seed author=<value>,created_at=<iso|now>,text=<value>",d).option("--note <value>","Add note seed author=<value>,created_at=<iso|now>,text=<value>",d).option("--learning <value>","Add learning seed author=<value>,created_at=<iso|now>,text=<value>",d).option("--file <value>","Add linked file path=<value>,scope=<project|global>,note=<text>",d).option("--test <value>","Add linked test command=<value>,path=<value>,scope=<project|global>",d).option("--doc <value>","Add linked doc path=<value>,scope=<project|global>,note=<text>",d).option("--reminder <value>","Add reminder entry at=<iso|relative>|date=<iso|relative>,text=<text>|title=<text>",d).option("--event <value>","Add event entry start=<iso|relative>,end=<iso|relative>,recur_*",d).option("--type-option <value>","Set type options key=value (repeatable)",d).option("--unset <field>","Clear scalar fields by name (repeatable or csv)",d).option("--clear-deps","Clear dependency entries").option("--clear-comments","Clear comments").option("--clear-notes","Clear notes").option("--clear-learnings","Clear learnings").option("--clear-files","Clear linked files").option("--clear-tests","Clear linked tests").option("--clear-docs","Clear linked docs").option("--clear-reminders","Clear reminders").option("--clear-events","Clear events").option("--clear-type-options","Clear type options").option("--author <value>","Mutation author").option("--message <value>","Mutation message").option("--force","Force ownership override"),C(a,[["--filter-assignee_filter <value>","Alias for --filter-assignee-filter"],["--estimated_minutes <value>","Alias for --estimated-minutes"],["--acceptance_criteria <value>","Alias for --acceptance-criteria"],["--definition_of_ready <value>","Alias for --definition-of-ready"],["--why_now <value>","Alias for --why-now"],["--blocked_by <value>","Alias for --blocked-by"],["--blocked_reason <value>","Alias for --blocked-reason"],["--unblock_note <value>","Alias for --unblock-note"],["--repro_steps <value>","Alias for --repro-steps"],["--expected_result <value>","Alias for --expected-result"],["--actual_result <value>","Alias for --actual-result"],["--affected_version <value>","Alias for --affected-version"],["--fixed_version <value>","Alias for --fixed-version"],["--customer_impact <value>","Alias for --customer-impact"],["--filter-estimate-missing","Alias for --filter-estimates-missing"]],!1),C(a,[["--dep_remove <value>","Alias for --dep-remove"],["--type_option <value>","Alias for --type-option"],["--add_tags <value>","Alias for --add-tags"],["--remove_tags <value>","Alias for --remove-tags"],["--add_ac <value>","Alias for --add-ac"],["--remove_ac <value>","Alias for --remove-ac"]],!0),a.action(Je);const n=t.command("close").option("--release-assignment","Release ownership after closure").argument("<id>","Item id").argument("[text]","Close reason text (alias: --reason)").option("-r, --reason <value>","Close reason text (alias for positional <text>)").option("--close-reason <value>","Close reason text (alias for positional <text>)").option("--completed-at <value>","Actual completion timestamp (ISO or relative), distinct from tracker close time").option("-d, --duplicate-of <id>","Close as a duplicate of the canonical item id and auto-fill duplicate closure metadata").option("--author <value>","Mutation author").option("-m, --message <value>","History message").option("--validate-close [mode]",'Validate closure metadata before close: "off", "warn", or "strict" (default: settings governance preset)').option("--resolution <value>","Closure resolution summary (checked by --validate-close strict)").option("--expected-result <value>","Expected outcome for closure validation").option("--expected <value>","Short alias for --expected-result").option("--actual-result <value>","Observed outcome for closure validation").option("--actual <value>","Short alias for --actual-result").option("--force","Force ownership override").description("Close an item. Close reason requirement follows governance.require_close_reason.");w(n,"--expected_result <value>","Alias for --expected-result",!1),w(n,"--actual_result <value>","Alias for --actual-result",!1),n.action(We);const r=t.command("close-many").description("Bulk-close matched items with a shared reason and full runClose semantics (dry-run + rollback checkpoint).").option("--filter-status <value>","Filter by status before closing").option("--filter-type <value>","Filter by item type before closing").option("--filter-tag <value>","Filter by tag before closing").option("--filter-priority <value>","Filter by priority before closing").option("--filter-deadline-before <value>","Filter by deadline upper bound before closing").option("--filter-deadline-after <value>","Filter by deadline lower bound before closing").option("--filter-updated-after <value>","Filter by updated_at lower bound before closing (ISO/relative)").option("--filter-updated-before <value>","Filter by updated_at upper bound before closing (ISO/relative)").option("--filter-created-after <value>","Filter by created_at lower bound before closing (ISO/relative)").option("--filter-created-before <value>","Filter by created_at upper bound before closing (ISO/relative)").option("--filter-assignee <value>","Filter by assignee before closing").option("--filter-assignee-filter <value>","Filter assignee presence: assigned|unassigned before closing").option("--filter-parent <value>","Filter by parent item ID before closing").option("--filter-sprint <value>","Filter by sprint before closing").option("--filter-release <value>","Filter by release before closing");H(r,"closing"),r.option("--ids <value>","Explicit ID allowlist: comma/newline text, - stdin, or @path file").option("--limit <n>","Limit matched item count before apply/preview").option("--offset <n>","Skip first n matched rows before apply/preview").option("--reason <value>","Shared close reason applied to matched items (required when governance.require_close_reason is enabled)").option("--completed-at <value>","Actual completion timestamp (ISO or relative) applied to every matched item").option("--resolution <value>","Shared closure resolution applied to every matched item (closure-validation field)").option("--expected-result <value>","Shared expected-result note (closure-validation field)").option("--expected <value>","Short alias for --expected-result").option("--actual-result <value>","Shared actual-result note (closure-validation field)").option("--actual <value>","Short alias for --actual-result").option("--validate-close [mode]",'Validate closure metadata per item: "off", "warn", or "strict" (default: settings governance preset)').option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Re-close already-terminal matches and override ownership").option("--dry-run","Preview matched items + per-item skip/active-child plan without mutating").option("--rollback <value>","Rollback a prior close-many checkpoint ID").option("--no-checkpoint","Disable checkpoint creation during apply mode"),w(r,"--filter-assignee_filter <value>","Alias for --filter-assignee-filter",!1),w(r,"--expected_result <value>","Alias for --expected-result",!1),w(r,"--actual_result <value>","Alias for --actual-result",!1),r.action(Ke),t.command("delete").argument("<id>","Item id").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").option("--dry-run","Preview the item file that would be deleted without mutating").description("Delete an item and record the change in history.").action(rt),t.command("append").argument("<id>","Item id").argument("[text]","Body text; same as --body (- reads stdin)").option("-b, --body <value>","Text to append to body (or - for stdin)").option("--text <value>","Alias for --body").option("--author <value>","Mutation author").option("--message <value>","Mutation message").option("--force","Force ownership override").description("Append text to an item's body. For concurrent writes, use pm notes.").action(st);const s=t.command("plan").description("Plan workflow: create, manage steps and dependencies, approve, and materialize.").argument("[subcommand]","Required; Plan subcommand: create|show|add-step|update-step|complete-step|block-step|reorder-step|remove-step|link|unlink|decision|discovery|validation|resume|approve|materialize").argument("[id]","Plan id (non-create); positional title for create").argument("[step]","Step reference: stable id (plan-step-001) or order integer").argument("[new-order]","New order integer for reorder-step").option("--title <value>","Plan title").option("--description <value>","Plan description").option("--scope <value>","Change or investigation scope").option("--parent <value>","Parent pm item id").option("--inherit-focus","Create under saved focus (CLI default)",!0).option("--no-inherit-focus","Create without saved focus").option("--related <value>","Related item ids (repeatable CSV)",d).option("--blocks <value>","Blocked item ids (repeatable CSV)",d).option("--blocked-by <value>","Blocking item ids (repeatable CSV)",d).option("--harness <value>","Plan harness provenance: codex|claude-code|cursor|generic").option("--mode <value>","Plan mode: draft|research|review|approved|executing|paused|completed|superseded").option("--resume-context <value>","Compact context summary for a future stateless agent").option("--tags <value>","Comma-separated tags").option("--priority <value>","Priority 0-4").option("--body <value>","Plan item body").option("--claim","Claim the plan on create for the author").option("--from-search <value>","Record the search query that led to plan creation").option("--template <value>","Seed plan steps from a built-in template: bug-investigation|feature-implementation|refactoring-sprint").option("--step-title <value>","Step title for add-step / update-step").option("--step <value>","Step title (repeatable on create: each --step appends an ordered step; elsewhere a single value aliases --step-title)",d).option("--step-body <value>","Step body text").option("--step-owner <value>","Step owner").option("--step-status <value>","Step status: pending|in_progress|completed|blocked|skipped|superseded").option("--step-evidence <value>","Step evidence text (used by update-step/complete-step)").option("--step-blocked-reason <value>","Step blocked reason (required when blocking)").option("--step-replacement <value>","Replacement reference for a superseded step").option("--depends-on <value>","Pm item ids the step depends on (repeatable, csv-friendly)",d).option("--link <value>","Pm item id to link (repeatable, csv-friendly)",d).option("--link-kind <value>",`Link kind: ${ee.join("|")}`).option("--link-note <value>","Optional note for the link").option("--promote-to-item-dep","Also add the linked id as a top-level item dependency when linking").option("--allow-multiple-active","Allow multiple steps to be in_progress at once").option("--file <value>","Step linked file path=<value>[,scope=project|global,note=<text>] (repeatable)",d).option("--test <value>","Step linked test command=<value>[,path=<value>,note=<text>] (repeatable)",d).option("--doc <value>","Step linked doc path=<value>[,scope=project|global,note=<text>] (repeatable)",d).option("--decision-text <value>","Decision log entry text").option("--decision <value>","Alias for --decision-text").option("--decision-rationale <value>","Decision log entry rationale").option("--decision-evidence <value>","Decision log entry evidence").option("--discovery-text <value>","Discovery log entry text").option("--discovery <value>","Alias for --discovery-text").option("--validation-text <value>","Validation log entry text").option("--validation <value>","Alias for --validation-text").option("--validation-command <value>","Validation log entry command").option("--validation-expected <value>","Validation log entry expected outcome").option("--depth <value>","Show depth: brief|standard|deep (default: brief)").option("--fields <value>","Comma-separated field projection for show output").option("--steps <value>","Comma-separated step ids/orders for materialize").option("--materialize-type <value>","Item type for materialized steps (default: Task)").option("--materialize-parent <value>","Parent item id for materialized children (default: the plan)").option("--materialize-tags <value>","Comma-separated tags for materialized children").option("--field <name=value>","Custom field value forwarded to every materialized child (repeatable)",d).option("--author <value>","Mutation author").option("--message <value>","Mutation message").option("--force","Force ownership override");M(s,E.filter(g=>Te.has(g.target))),C(s,[["--resume_context <value>","Alias for --resume-context"],["--from_search <value>","Alias for --from-search"],["--step_title <value>","Alias for --step-title"],["--step_body <value>","Alias for --step-body"],["--step_owner <value>","Alias for --step-owner"],["--step_status <value>","Alias for --step-status"],["--step_evidence <value>","Alias for --step-evidence"],["--step_blocked_reason <value>","Alias for --step-blocked-reason"],["--step_replacement <value>","Alias for --step-replacement"],["--link_kind <value>","Alias for --link-kind"],["--link_note <value>","Alias for --link-note"],["--promote_to_item_dep","Alias for --promote-to-item-dep"],["--allow_multiple_active","Alias for --allow-multiple-active"],["--decision_text <value>","Alias for --decision-text"],["--decision_rationale <value>","Alias for --decision-rationale"],["--decision_evidence <value>","Alias for --decision-evidence"],["--discovery_text <value>","Alias for --discovery-text"],["--validation_text <value>","Alias for --validation-text"],["--validation_command <value>","Alias for --validation-command"],["--validation_expected <value>","Alias for --validation-expected"],["--materialize_type <value>","Alias for --materialize-type"],["--materialize_parent <value>","Alias for --materialize-parent"],["--materialize_tags <value>","Alias for --materialize-tags"]],!1),C(s,[["--blocked_by <value>","Alias for --blocked-by"],["--depends_on <value>","Alias for --depends-on"]],!0),s.action(Qe),Se(t,!1),_e(t),t.command("merge").argument("<subcommand>",`${I.join(" | ")}`).argument("[artifact]",`driver: ${te.join(" | ")}`).argument("[base]","driver: ancestor file (%O)").argument("[ours]","driver: current file (%A)").argument("[theirs]","driver: incoming file (%B)").option("--dry-run","install/reconcile: preview").option("--pre-commit-hook","install: opt into merge settlement hook").option("--stage","reconcile: stage lossless audit evidence").option("--message <text>","reconcile: audit message").option("--force","reconcile: accept reviewed decisions").option("--include-reconciled","report: include settled receipts").option("--output <path>","driver: alternate output").option("--item-path <path>","driver: repository-relative path (%P)").option("--prefer <side>","driver: ours|theirs (default ours)").description("Manage tracker merges.").action(ot),Me(t),t.command("profile").argument("[subcommand]","Required; Profile subcommand: list, show, apply, or lint").argument("[name]","Profile name for show/apply/lint: agile, ops, or research").option("--dry-run","Preview the apply diff without writing any files (apply)").option("--author <value>","Mutation author").option("--force","Force ownership/lock override").description("List, show, apply, and lint project profiles \u2014 archetype bundles of item types, statuses, fields, workflows, config, templates, and recommended packages.").action(dt),Re(t,Le);const c=t.command("files").description("Manage files linked to an item.");c.argument("<id>","Item id").option("--add <value>","Add linked file entry (CSV/markdown pairs or - for stdin)",d).option("--add-glob <value>","Add linked file entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)",d).option("--remove <value>","Remove linked file by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= \u2014 record removal context with --message",d).option("--migrate <value>","Migrate linked file paths in-place (from=<prefix>,to=<prefix>; repeatable)",d).option("--note <value>","Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--note-conflict <mode>","On a different stored note: refuse (default)|replace|append").option("--list","List linked files without mutating").option("--append-stable","Preserve existing linked-file order and append new links without full-array resorting").option("--validate-paths","Validate linked file paths for existence and file shape").option("--full-history","Return all linked files after a write").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").action(pt),c.command("discover").argument("<id>","Item id").option("--apply","Add discovered missing files to the item").option("--note <value>","Note to attach to discovered file links").option("--append-stable","Preserve existing linked-file order and append discovered links without full-array resorting").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").description("Discover existing file paths referenced in item text and optionally link missing files.").action(ct),De(c),t.command("docs").argument("<id>","Item id").option("--add <value>","Add linked doc entry (CSV/markdown pairs or - for stdin)",d).option("--add-glob <value>","Add linked doc entries from a glob (plain glob or pattern=<glob>,scope=<scope>,note=<text>; repeatable)",d).option("--remove <value>","Remove linked doc by path only (path=<value>, path:<value>, plain path, or - for stdin); does not accept note=/scope= \u2014 record removal context with --message",d).option("--migrate <value>","Migrate linked doc paths in-place (from=<prefix>,to=<prefix>; repeatable)",d).option("--note <value>","Note attached to every link added by --add/--add-glob in this invocation (embedded note= wins)").option("--note-conflict <mode>","On a different stored note: refuse (default)|replace|append").option("--list","List linked docs without mutating").option("--validate-paths","Validate linked doc paths for existence and file shape").option("--full-history","Return all linked docs after a write").option("--author <value>","Mutation author").option("--message <value>","History message").option("--force","Force ownership override").description("Manage docs linked to an item.").action(ut),t.command("deps").argument("<id>","Item id").option("--format <value>","Output format (tree, graph, or context)","tree").option("--max-depth <value>","Maximum dependency traversal depth (0 keeps only the root)").option("--collapse <value>","Collapse mode (none or repeated)","none").option("--summary","Return counts only without full tree/graph payload").option("--full","Return the complete dependency row projection").option("--node-limit <value>","Maximum nodes in context output").option("--edge-limit <value>","Maximum edges and missing-reference rows in context output").option("--token-budget <value>","Maximum estimated tokens in context output").option("--cursor <value>","Continue an equivalent context query").option("--direction <value>","Context traversal direction (outgoing, incoming, or both)").option("--kind <value>","Restrict context traversal to registered relationship kinds (repeatable or comma-separated)",d).description("Show dependency relationships for an item.").action(ft)}export{Wt as looksLikeSchemaSubcommandTypo,Le as parsePositiveIntOption,Yt as parseSchemaOrderOption,M as registerCommanderOptionContracts,qt as registerMutationCommands};
|
|
7
7
|
//# sourceMappingURL=register-mutation.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{findBootstrapCommandTokenIndex as i,stripGlobalBootstrapTokens as s}from"../../sdk/cli-bootstrap.js";import{hasSubcommandFlagContractsForCommand as a}from"../../sdk/cli-contracts/flag-contracts.js";const d=3;function c(t){const e=i([...t]);if(e===void 0)return;const o=[];for(const n of s(t.slice(e))){if(n.startsWith("-")||o.length===d)break;o.push(n)}for(let n=o.length;n>1;n-=1){const r=o.slice(0,n).join(" ");if(a(r))return r}return t[e]}export{c as resolveInvocationCommandPath};
|
|
2
|
+
//# sourceMappingURL=invocation-command-path.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{resolveSubcommandFlagContractsForCommand as m}from"../../sdk/cli-contracts/flag-contracts.js";import{enrichCliFlagInvocationContracts as c}from"../../sdk/flag-invocation-contracts.js";import{READ_OUTPUT_MUTATION_CONFLICT_CODE as _,READ_OUTPUT_SHAPING_CONTROL_FLAGS as p}from"../../sdk/read-output-contracts.js";import{renderPmCommand as C}from"../argv-utils.js";import{resolveInvocationCommandPath as T}from"./invocation-command-path.js";import{scanOptionTokens as O}from"./projection-retry.js";const a=new Set(p);function g(e){return e.includes("@")&&e.includes(":")}function h(e){const i=c(e??"",m(e));return new Set(i.filter(n=>n.takes_value).flatMap(n=>[n.flag,...n.aliases??[]]))}function L(e,i,n,o=[],u=()=>!1){if(i!==_)return n;const t=n===void 0?void 0:{...n,suggested_retry:void 0,suggested_retry_args:void 0},s=T(e),d=O(e,s);if(d===void 0||o===null||e.some(g)||u())return t;const r=S(e,d,h(s));if(r===void 0||r.size===0)return t;const f=[...o,...e.filter((A,l)=>!r.has(l))];return{...n,suggested_retry:C(f),suggested_retry_args:f}}function S(e,i,n){const o=new Set;for(const[t,{flag:s,consumesValue:d}]of i){if(!a.has(s))continue;const r=e[t-1];if(r!==void 0&&!r.includes("=")&&n.has(r)||d&&e[t+1]?.startsWith("-")===!0)return;o.add(t),d&&o.add(t+1)}return e.some((t,s)=>!o.has(s)&&a.has(t.split("=",1)[0]))?void 0:o}export{L as repairReadOutputMutationRecovery};
|
|
2
2
|
//# sourceMappingURL=read-output-mutation-retry.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schema_version":1,"generation":"6eb7af86fdf8e883834ee61bc9c18a9f9427bf6bdb31cf88bde16ead80c7ef97","files":[{"path":"chunks/chunk-2SBTXR6C.js","sha256":"556d0351dbe5a807b5e5140e141373cd006c564a4f7c9f190804cc4e3edfd31a"},{"path":"chunks/chunk-2SBTXR6C.js.map","sha256":"7f58de1c191671da1707b414341145508c2790da09f27dee09ce22ed74388a5a"},{"path":"chunks/chunk-3AZOATC2.js","sha256":"699836ad80823ad96a68d67a5189faa8056ddd505453a28835f1cf199da92dd1"},{"path":"chunks/chunk-3AZOATC2.js.map","sha256":"b5d143f4c9549ef3d6563452b4c66b62964676fffa77836168ba981fd0f7bfa0"},{"path":"chunks/chunk-3TXEWHQX.js","sha256":"a2947a7bd4d9f6b61507853411a881cc8c904d2c3b0196e820198c3dc2d5f4c3"},{"path":"chunks/chunk-3TXEWHQX.js.map","sha256":"8e413e7c2d58d4f1b0f47f54f4f0d05929ac8af50dbd4407608b02d953cb5b59"},{"path":"chunks/chunk-47ZS6RPL.js","sha256":"524db620ea91b21d0949b42ccb899a630a07cff58032d335102de8d67d4b205c"},{"path":"chunks/chunk-47ZS6RPL.js.map","sha256":"1758ad51c7d0464e2d0f5ed0bdf618d7f2215280c1f78075abaa713e27d22d58"},{"path":"chunks/chunk-4QA5O64H.js","sha256":"66cc1c77a452a76dd5aa6bd7dc5cc15899fa6b475ce10222036c1e4a3e3cd6b0"},{"path":"chunks/chunk-4QA5O64H.js.map","sha256":"a670010200bdd80e75fe64229ffae3670440836bb2ebfb3b61de5cd774215315"},{"path":"chunks/chunk-5EFS7K7Y.js","sha256":"f354fdc2ccaa6cc0d4a7ef19969c2c3438b77a7bcd532fcb39ba9c640acd1524"},{"path":"chunks/chunk-5EFS7K7Y.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-5PNOVDVO.js","sha256":"04ecc8c08311cd06b51015695afe1ba47ef75c852a19aaf4b0cfb3ea04e0ed73"},{"path":"chunks/chunk-5PNOVDVO.js.map","sha256":"ab21eb5373595202a98a73ee9c077d79d90fa90672ebeba0a0eff59044f26d58"},{"path":"chunks/chunk-6H36ZHMI.js","sha256":"099fed6fa7e85d4d0845e192e53fb00c7fc51ee708ce494201bd6839ae270457"},{"path":"chunks/chunk-6H36ZHMI.js.map","sha256":"c92d1722848b0dc82a942eceb1ea14c2aa754cf75d4083ca00eac9a05035c7f4"},{"path":"chunks/chunk-AA52P34H.js","sha256":"03bdff2d215b3ef804b31790b2a2cdac9bc71707859bf88dfca96b76392f9287"},{"path":"chunks/chunk-AA52P34H.js.map","sha256":"f5e04c45321344b4a998cb36de60d32e157ccb0400b165f6db2099acd4a1fc2c"},{"path":"chunks/chunk-AOTI76Q6.js","sha256":"0a9aaee186d07622dfd31e7597ea826455a213b85e9f926a2763dfcc1ff87dad"},{"path":"chunks/chunk-AOTI76Q6.js.map","sha256":"e24c8fdc6166bd20ba9c7eca0fdae0f5b976c0c3445430f71758f6060603e119"},{"path":"chunks/chunk-CCKM5YQM.js","sha256":"65831894ee9c86c73d933d3aa9abc0f903dcbaa684bbac3605f835b8623c5e73"},{"path":"chunks/chunk-CCKM5YQM.js.map","sha256":"943d79def5d8530a7bd9e98af894b486131f39e62685136ed56282a0a2ca95ae"},{"path":"chunks/chunk-DCWGM7CY.js","sha256":"6fb1e695c6fc6e8c0a7b03c25bf363fc6e80a75ac9af1330fc6d4fcd7bf448bd"},{"path":"chunks/chunk-DCWGM7CY.js.map","sha256":"3be6cf3e0fb661ebabf520e14fc99366e0ecbf71580da1b1ad52d6d93a269c1c"},{"path":"chunks/chunk-FECZV72T.js","sha256":"bd193e28a3c8addf82a9401e2448956c997caed63657a90f7bc922bdd2c20e54"},{"path":"chunks/chunk-FECZV72T.js.map","sha256":"74226e67aadbdf3a5bb2dcb19c4ef19df43d8b9ae846d8aca8ae0910ed60533c"},{"path":"chunks/chunk-FR7ULTM4.js","sha256":"9a15b4457b2a23a1704b9c39e1edab41a5e1ed96c4adc1505081ffcf51c5daee"},{"path":"chunks/chunk-FR7ULTM4.js.map","sha256":"1dd61d54a272f555bb95c3eee15a22c932c32905bbac10c587ce575e15a9f766"},{"path":"chunks/chunk-GSLOAEY2.js","sha256":"5388ecc1218922f345a8749e7cf0578879c005a5e6ef2691dee6f1fc6d04813d"},{"path":"chunks/chunk-GSLOAEY2.js.map","sha256":"f930238e4f20110f5efc0948f2538f4d1e82cd81e2a019fe3a65746c3023a7a1"},{"path":"chunks/chunk-HXQ3OHQR.js","sha256":"279cf638aae17ec7a30bd61b3a87beba9a6defcec6658cdf8e6a38d0bc512c8d"},{"path":"chunks/chunk-HXQ3OHQR.js.map","sha256":"e9a75e0abd58fa2bd88eb74c7268fa824ba6f2f93d34f0cc2936123b19701b15"},{"path":"chunks/chunk-HZZLSBIJ.js","sha256":"a2e564354cb123ceea7d93878953658ba864f38ab3ff95d59609d28eae1ea4ad"},{"path":"chunks/chunk-HZZLSBIJ.js.map","sha256":"a2c050b3e51799ea24d02b7f00fc1db9e95fd9ee0e94743e179adb307ba383b5"},{"path":"chunks/chunk-IGEFPHV7.js","sha256":"7b5b032abf511daf86954dc2a224db82254af9021017c6a568d356ad9f0758ea"},{"path":"chunks/chunk-IGEFPHV7.js.map","sha256":"e0c0bc473a372615d3fe483daeae065cc4847279a1b9cb70dc597ad499d4d939"},{"path":"chunks/chunk-JPJNJHQW.js","sha256":"269fc6b38a579b00644a328a9d6605715e8f999dd0df253c5933e0c375ef71f4"},{"path":"chunks/chunk-JPJNJHQW.js.map","sha256":"45fb2d31140ded48416d0950e1bf846f878b4d7afb4f9eaa7d81443c6f495815"},{"path":"chunks/chunk-K672XXGQ.js","sha256":"56e4fe9d44b09d2b08b3ecfd468988301517134f238e30dc3274d8374a1032ec"},{"path":"chunks/chunk-K672XXGQ.js.map","sha256":"63a0ce85f4d7a1c068d6abfcdeeecee2ea725fab99096e205066c687cbdea3ef"},{"path":"chunks/chunk-KCVSSONY.js","sha256":"83af50f5d82cd2047410851186ffaeba52597178b2bf0b9caa828b8157e27246"},{"path":"chunks/chunk-KCVSSONY.js.map","sha256":"85a21a0d261dc33e6aed8e9adcc974cbd8deb999bfc7467309fca68e1543b7a1"},{"path":"chunks/chunk-KXTKLDKD.js","sha256":"b38c817da111656735d798d72789a8a373b126cdf518ec1c16596d4d2763ba20"},{"path":"chunks/chunk-KXTKLDKD.js.map","sha256":"8728e02a19ed24e48e827b5560f95a3144f7b9e16e6e4a3af6ef5e28f9353768"},{"path":"chunks/chunk-NHBG5ET3.js","sha256":"9323b5ac25ba68eab8bf178956da28c45c4f7d5df81588f926dc667bea487f7d"},{"path":"chunks/chunk-NHBG5ET3.js.map","sha256":"2d883d829257296474cfc25258b639955391b557da73c25225928b307f25a0d5"},{"path":"chunks/chunk-NVYDPNQP.js","sha256":"3181725b604e96806a32dfe270aede93419ca49e637c2fda8e4a3aff5c6eb05d"},{"path":"chunks/chunk-NVYDPNQP.js.map","sha256":"9274c821f176dde5c9b2f55e30dc09734ecd0b5daa78059f9976a204a08a7a3c"},{"path":"chunks/chunk-NZSXWIX7.js","sha256":"89cebad76a165f7c4f0172f455acb997d0e3356c434071b5b3a1df5e909eb0c6"},{"path":"chunks/chunk-NZSXWIX7.js.map","sha256":"e2eb4c314a3a0b25c0413c7c9d58a4b6661127339a2482bad4fbccdbbf0ac4b7"},{"path":"chunks/chunk-OGVSGXQX.js","sha256":"7e8ce2a4b13316bd9defa2837280ec483b6c3ee21358c13ff58b10c9df18ee55"},{"path":"chunks/chunk-OGVSGXQX.js.map","sha256":"107bdc50c7776de00c12ddb87a6e08f96377c82f7042a4abf90225e9e9c3baf7"},{"path":"chunks/chunk-PZA7QECY.js","sha256":"12508079ea987f61bac5ceb97d7d37fc713ff6d17e8b856bc141da7068df4bb8"},{"path":"chunks/chunk-PZA7QECY.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-Q4VZSMUL.js","sha256":"0745a6902643852b981c35dce0c59a14c5284d60fe1e3af1f8b57d8d5dc58760"},{"path":"chunks/chunk-Q4VZSMUL.js.map","sha256":"e90e56a794aa3aaefec4d9236e5e5663f6278ddd5209c5743b29501f67bf9abd"},{"path":"chunks/chunk-SJWIPGZW.js","sha256":"30c77bf58c26a4471167a643b2ee9349027dfcefbbc4fec12cb56b9809543b5c"},{"path":"chunks/chunk-SJWIPGZW.js.map","sha256":"12e73f1c3048c41b4c2aabd75205f9505951c62d7694f94fc44212b71f3ae46a"},{"path":"chunks/chunk-SLFRSZK6.js","sha256":"198253f6cbdaeec258246cb37ee1931c3af4ae9daed6ddd1d5c8c8bb6cea3bc6"},{"path":"chunks/chunk-SLFRSZK6.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-TE6FBDHP.js","sha256":"fb158e686315c2b48db234d8b78727eddd6db35a16415e32af8e0d3c590661f7"},{"path":"chunks/chunk-TE6FBDHP.js.map","sha256":"edd02e3304bf32a45b7393d6e5cee280ea3a8e513e050ff7c694af408be1cef8"},{"path":"chunks/chunk-TX74QJ4W.js","sha256":"41a4f5571c6044b8bcb80c609103795b48fe8a814c32f31324306929feb9e191"},{"path":"chunks/chunk-TX74QJ4W.js.map","sha256":"db3e0fb5e1a1291a58617b4a0923aeec40e3e610ae6bb1c4cf01555746472100"},{"path":"chunks/chunk-TY55UX6M.js","sha256":"d3dfbebe342cf3abb3720fd81ffd85aaf01f6b2f991a575a0f59cdd040aacb9a"},{"path":"chunks/chunk-TY55UX6M.js.map","sha256":"fd6ae5dac75fcbb851ed2fb32bf60b29d43e0d181a5240ff871d5b717602c4ac"},{"path":"chunks/chunk-USBTXMKS.js","sha256":"da7f3a4ce0b8173d722c96fbb4af3f47ad71390a162adcaa6fe33e26fd475671"},{"path":"chunks/chunk-USBTXMKS.js.map","sha256":"5466a141fee9b5b9fc565ec026f5de949075df6dd9adef8016cc3e7bc411499a"},{"path":"chunks/chunk-VCXQ6A35.js","sha256":"921a58acc0ca6c6c38aee7c1def9f3fdb263ff4d7678f60f704924c458adfc5f"},{"path":"chunks/chunk-VCXQ6A35.js.map","sha256":"6e8d501978da1b53aa39a0fd61be04be16149c25bea0c85079a1eff3fe7f3efe"},{"path":"chunks/chunk-WFYE34TO.js","sha256":"9e214348dda446a50f9e3e62fe9a9463a1bfbed71b242b4cef57285bcd061b0b"},{"path":"chunks/chunk-WFYE34TO.js.map","sha256":"831774fa58b82eff01278a792789d8f9b1ce1898cc586eccdd4b3f6f089821b2"},{"path":"chunks/chunk-X5D5YUHR.js","sha256":"1a90a29a60cfe369d7d8dee4bebbf386dc816f490e420a3b2785526817944f18"},{"path":"chunks/chunk-X5D5YUHR.js.map","sha256":"24d1810f7b5707a807b199f4cf2fb83475978648f0990eb7659746cd8bcb9d7c"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-YPMNXG2C.js","sha256":"714d3e0c2f4ad05f2e0f2c15494a64a792110e7ccfe25a2626a45551970403f6"},{"path":"chunks/chunk-YPMNXG2C.js.map","sha256":"3ddf7b545ee37a0356c4bb7389aa14bd49f66dcd4d2c2fb2e89317421a285310"},{"path":"chunks/chunk-YVTALIN3.js","sha256":"91d32e27384be305c68d0431203b705d1f3078e9d23d4d0c7ec1319113222aa5"},{"path":"chunks/chunk-YVTALIN3.js.map","sha256":"7d37c6997576aba92652cfbae1dc183ebec7f19a08e9031994ee4629718eb982"},{"path":"chunks/chunk-Z7YL2SUM.js","sha256":"9634d58254eb4915f4edab1de184640c3b498656070d748de6243e12afee4bb3"},{"path":"chunks/chunk-Z7YL2SUM.js.map","sha256":"b848dc347df894d49955b1b137f2fa13171ef1d9f8002064069b33ae426885ce"},{"path":"chunks/chunk-ZA5NS3PL.js","sha256":"269d790405d7da183ff3c9eaa8225d1a372d53bb26261b2d630b49795ca5681b"},{"path":"chunks/chunk-ZA5NS3PL.js.map","sha256":"64bb7854d894e63ab1c1db053b3538953c3a62186600c2645666ed06058e4240"},{"path":"chunks/context-budget-recovery-M5RFUEFG.js","sha256":"c1dc0a54cfab9b3edd172e2fe60fc939dc43c54e21a67aca04a52c093ed095e7"},{"path":"chunks/context-budget-recovery-M5RFUEFG.js.map","sha256":"02fe8862be7c2c075eb087c74955cf1ea4c12ce4d57a6cba3a4175c701e81204"},{"path":"chunks/field-definition-losses-XKE4DRUA.js","sha256":"e9893a08147d99b65d337c61127f71a1550e98309608e3d9c4d2c01894494aaf"},{"path":"chunks/field-definition-losses-XKE4DRUA.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/field-option-collisions-2F2Z7R7B.js","sha256":"6245742dd3908e12fb3c4644a472d07a92201d4a2659f85e6e8b4debdfe7d893"},{"path":"chunks/field-option-collisions-2F2Z7R7B.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/indexed-receipt-blobs-DR3FDHND.js","sha256":"38d946afb33be21ee5eb42194f1fdb7f7c741849a1a63c2a1a23ae03745d7171"},{"path":"chunks/indexed-receipt-blobs-DR3FDHND.js.map","sha256":"ae5e8f3d0d4f3350e174fc2487b3e7ce353a63a7fdb88a36da347bd76664a09b"},{"path":"chunks/item-revision-UAF6L47R.js","sha256":"ea1f654dcd8ad36e5400dc1bae9ad04255372974714acfcf73c9b04a8889588d"},{"path":"chunks/item-revision-UAF6L47R.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/item-transaction-RJECL53Y.js","sha256":"b6c9d90b13fd21ae8f08cac60137c9c6bec83ad7812a32f118ef70c41acfc21e"},{"path":"chunks/item-transaction-RJECL53Y.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/linked-resource-value-list-WXPPYUVQ.js","sha256":"b83e0a8ccf88b258f92deff8a74e1ecbd6883afb04c35f27e3dbb4e14486459b"},{"path":"chunks/linked-resource-value-list-WXPPYUVQ.js.map","sha256":"b0fc08114903c3fe2097e77df75cc832992833a6d71e9688da053d5a31b39e43"},{"path":"chunks/mutation-actor-UK3QNEEB.js","sha256":"a43c067d7e1e715a6bd655212fd6ac6eff821d2b6963303e4129dd55d18ec431"},{"path":"chunks/mutation-actor-UK3QNEEB.js.map","sha256":"4671b1f3ebf6b059319dc16968274bf6042d72915fa166f808c8d4001a75e852"},{"path":"chunks/mutation-admission-UTDYPFWP.js","sha256":"8bd5414769a1196f0c4e6164366c21ca9ab2fa9543d0d6a480bfdc9473f9529b"},{"path":"chunks/mutation-admission-UTDYPFWP.js.map","sha256":"f2a1a14041eeb9e04b2d0b0f45ec09c245ad9a88a26d20c6ef930b8c628146ba"},{"path":"chunks/register-list-query-DRA3CWHI.js","sha256":"1927f4cf253ce26f1fb8aafc7f9313be06909b25106175fee28d8a63d7ae7777"},{"path":"chunks/register-list-query-DRA3CWHI.js.map","sha256":"eeaad8a29fde759c171f243528f78b0fba715ff610459aaba3dabb8d138c8acc"},{"path":"chunks/register-mutation-WO74VLEQ.js","sha256":"d739dec78da92c30b51abd382549fa771019f1e6f9a20e17718118232f2b86db"},{"path":"chunks/register-mutation-WO74VLEQ.js.map","sha256":"8a97a0abe82fc115898ebc7c84d25e67a917efed580d53c97d4c741cc46af7e5"},{"path":"chunks/register-operations-CRBKH7WN.js","sha256":"8920f177be0ce1ee864d28b575ee55f7ec1628a63b7c5e67d708d134c50c7b84"},{"path":"chunks/register-operations-CRBKH7WN.js.map","sha256":"c6d3f71e1a01215b10187bfd423bf539670f2f7cbc73a3e12265eda6f831e2b8"},{"path":"chunks/register-setup-6V6NQB5C.js","sha256":"a5de6b15e037f22922e3821de32ae485562d5f2fdda66aafc75711077fe79140"},{"path":"chunks/register-setup-6V6NQB5C.js.map","sha256":"28baa2de448d6a85d0747149c69ad1d54a4844b346c9a9bc2d4eba1cc106634f"},{"path":"chunks/runtime-schema-OAIUNQRL.js","sha256":"3e99ac5c17755d13ba5f61766c57bbaf75feb2b51b8ea9bca85f799eba48a1fe"},{"path":"chunks/runtime-schema-OAIUNQRL.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/settlement-hook-BIVNGBZF.js","sha256":"c18b58abec11be1586a471424354cc93b823ae093b29ae84c488a599db1d2afe"},{"path":"chunks/settlement-hook-BIVNGBZF.js.map","sha256":"c492aeb3a85b711e9aa36dd9e35aa0b361d397f4863a95c3cd297c276f9b7444"},{"path":"chunks/stage-DYEHGASU.js","sha256":"baf9a63d078251c77dbadb415a089ccbba272991dc45ba06853ee4d8af61ab6a"},{"path":"chunks/stage-DYEHGASU.js.map","sha256":"34c1c0d68058846a59c68dc7f162cf3bae428dcc70f3db9fd7cc7b3406e874ac"},{"path":"focused-chunks/chunk-26P6C6OO.js","sha256":"30d4569d8df04e45fbe4aa7b76774e863b4f8740e7709bb92d81a45b3e630604"},{"path":"focused-chunks/chunk-26P6C6OO.js.map","sha256":"24c900fe74a3d0e897a8291aeafcce70ab2585b37b58bbe371574d5af568cd7c"},{"path":"focused-chunks/chunk-2UUBS4BG.js","sha256":"ab3285db062f757601b1dc98d988e8bbbe348e3ed901be34228c5a6d8e445cac"},{"path":"focused-chunks/chunk-2UUBS4BG.js.map","sha256":"d61b02d430331f172b2ab96e8d583c61de8114e482838cf412ad467897504cad"},{"path":"focused-chunks/chunk-4ER3VMST.js","sha256":"22c476577b30e012d8b9e811cb5b9860382cba733b08058cf61928b5fee7dc37"},{"path":"focused-chunks/chunk-4ER3VMST.js.map","sha256":"557387504f4557da1f088c0f8372ba741e011d8188d8e5203d1cb553ac7c9b54"},{"path":"focused-chunks/chunk-4YBMHMBJ.js","sha256":"d07d6484f1364d1f78538118847e20b586e9a3979dbc44a86f85ddf985eb2d63"},{"path":"focused-chunks/chunk-4YBMHMBJ.js.map","sha256":"829ba3bcfcfcd6b8e54cca702ae0b3d91305cba77d4db030323bbc6f74ec8087"},{"path":"focused-chunks/chunk-62AMZMR4.js","sha256":"01656e1587f9ff672dea8a9e6bc94bc50686ab0094f095ed05792c359642e7aa"},{"path":"focused-chunks/chunk-62AMZMR4.js.map","sha256":"7bbb85a2abbc991d060c2c6dd7c88c5f8d11cbd32666a61617ccdc3c7d989f03"},{"path":"focused-chunks/chunk-7G7JIXLL.js","sha256":"5ebd1cabb8a85563a7cac94d367247c7b4fc8fa9ad35f8f4bf2f391835a7b083"},{"path":"focused-chunks/chunk-7G7JIXLL.js.map","sha256":"b78d3a05d33842836a881991e37d85f4964d8aace8484002b8c31f9b6813fb8f"},{"path":"focused-chunks/chunk-A3DORTXS.js","sha256":"45dcf8f7e9b812868d93ef00e9759179f006f7896d7d50d9b6afbe50dcf34ee8"},{"path":"focused-chunks/chunk-A3DORTXS.js.map","sha256":"b118357ef292995f67094849c57e770832eea744441c75d40abdd47eaa4789fd"},{"path":"focused-chunks/chunk-AIDL2ZNT.js","sha256":"27d1573f98fc71736ba9d779894ab0129e4bb6b81af4095d93b577de30223ff5"},{"path":"focused-chunks/chunk-AIDL2ZNT.js.map","sha256":"f5e04c45321344b4a998cb36de60d32e157ccb0400b165f6db2099acd4a1fc2c"},{"path":"focused-chunks/chunk-BKPUUW5O.js","sha256":"109fc60573d33e78f3308bd3ab22e3df1778ebba62c75cba87508496a15c6e98"},{"path":"focused-chunks/chunk-BKPUUW5O.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/chunk-BWOVFE5B.js","sha256":"882e1f9013d572bdd824e57afd209920469d876e7a8f90ac183386fcecfcee62"},{"path":"focused-chunks/chunk-BWOVFE5B.js.map","sha256":"b679f91dc73f9c4bb5b9caa164e553571401900b116e113a40079b712fc3445f"},{"path":"focused-chunks/chunk-CWQLW4ZO.js","sha256":"815081f7e19dcbe65f0c7aec7104a3b00318c070dcd509342717397eb53a8988"},{"path":"focused-chunks/chunk-CWQLW4ZO.js.map","sha256":"b5d143f4c9549ef3d6563452b4c66b62964676fffa77836168ba981fd0f7bfa0"},{"path":"focused-chunks/chunk-FM5WQ6ZU.js","sha256":"969cc85b8469ef9faef7e1eb31959bf51276775e8eace71c5ff7f2e34950e74e"},{"path":"focused-chunks/chunk-FM5WQ6ZU.js.map","sha256":"9d383362e149fd90714d71e223032a545ac014178b8b56b21a30a6b1c92f6177"},{"path":"focused-chunks/chunk-HXM7K6VH.js","sha256":"cd3bbf4b89537ecb5a001ce190c68532355ff77842eb785aa3a03e312eedfbf9"},{"path":"focused-chunks/chunk-HXM7K6VH.js.map","sha256":"18243d51af10e7b4aec1a41d7c5727380657f8d69b26a8537cce2f73347e1748"},{"path":"focused-chunks/chunk-IIP6LZ5E.js","sha256":"ca3b33e6048720a1b22c2d958455476cfb6f02ea9f6a0f8355d6fb2ea2dc8774"},{"path":"focused-chunks/chunk-IIP6LZ5E.js.map","sha256":"c92d1722848b0dc82a942eceb1ea14c2aa754cf75d4083ca00eac9a05035c7f4"},{"path":"focused-chunks/chunk-IIVDBAJM.js","sha256":"0c2b5ae08cb35da431139ccb4e9b43769b27a9f58fc7716ef9e8f05fbbc94c6a"},{"path":"focused-chunks/chunk-IIVDBAJM.js.map","sha256":"163120325a301bbbb35052d859d6038e7b8fb160911fc20fbf8dd734b4d20e04"},{"path":"focused-chunks/chunk-IJ3T3W4U.js","sha256":"117d096eb02bc288710dc4706c73ec3e9dc69b26c192eb9429afa42788bde90c"},{"path":"focused-chunks/chunk-IJ3T3W4U.js.map","sha256":"66df172f25508bb56e7f209415cf2b321067aff2bc6fc84fa666e00c3d209070"},{"path":"focused-chunks/chunk-IRYNVGKH.js","sha256":"f89257028e06b545f280958b2a45177c0227eac2573162c63a6c124e8464256a"},{"path":"focused-chunks/chunk-IRYNVGKH.js.map","sha256":"77c7ab86f9148230ffa274b5d7a0b74d97eaca0a119ec167e5262888ce237694"},{"path":"focused-chunks/chunk-JFICNN4T.js","sha256":"23d56023900d8066f45bd135ab7c3153c1d1c32542e538cd21319fe102e676bc"},{"path":"focused-chunks/chunk-JFICNN4T.js.map","sha256":"edd02e3304bf32a45b7393d6e5cee280ea3a8e513e050ff7c694af408be1cef8"},{"path":"focused-chunks/chunk-K53OIT5J.js","sha256":"ce7e8dc7e80be0ce7d17a96e9c27024d8d1adeda22b2eccd00145c6d0d68654c"},{"path":"focused-chunks/chunk-K53OIT5J.js.map","sha256":"f913e1f6fb8941186f72864c8d965ad6df947482dd876bb30b8f52ee9a25ce10"},{"path":"focused-chunks/chunk-KPASZGBL.js","sha256":"f315c4ceda427b8790d9a8c98879d0769a9ed17320bf659ea4f3cb6e9611b1fd"},{"path":"focused-chunks/chunk-KPASZGBL.js.map","sha256":"24d1810f7b5707a807b199f4cf2fb83475978648f0990eb7659746cd8bcb9d7c"},{"path":"focused-chunks/chunk-L357ZAES.js","sha256":"f110e78539c646c79d8bcf65b091e8dbc2c24c9e53c01f9671522b7d5af5944e"},{"path":"focused-chunks/chunk-L357ZAES.js.map","sha256":"e29d2695016d381b499fd179a0a61d35246eba770e93681fba302de53df0c938"},{"path":"focused-chunks/chunk-LWBZ7UGG.js","sha256":"42926554e0e16a6520cc81f97fa19ec0138dfda2f8dc019c27b825565833a81a"},{"path":"focused-chunks/chunk-LWBZ7UGG.js.map","sha256":"0b82d2c607dfd6a482737dd181f961a388f303bc4d68531a2f1af29e4409e9e9"},{"path":"focused-chunks/chunk-M57KDG7I.js","sha256":"c1919bcd35cd916100612528d987a23974127d8aba07fe2635776647f98830af"},{"path":"focused-chunks/chunk-M57KDG7I.js.map","sha256":"bfae57bda814efad711c6874aa85b01c1fbc4b5c35ef03c886ef6bf9872131c5"},{"path":"focused-chunks/chunk-MZNV26XE.js","sha256":"c4782cf58b6f2906f2b5f6343b952243459b0edb5a9c9817486973b8c77c434c"},{"path":"focused-chunks/chunk-MZNV26XE.js.map","sha256":"d9c59d668fc68044de6a4512cf356cd39192e5806e2a9490ac2eeae2426674be"},{"path":"focused-chunks/chunk-NGHT2LNG.js","sha256":"6c643fcece3a4b3f71d6790f48b5f53db4f16b7aaf7c13b7db30f5cd069f26fb"},{"path":"focused-chunks/chunk-NGHT2LNG.js.map","sha256":"89195c8f767a59cb3262e705010e1845bdce4d0688d562ed300cccb087c60a0a"},{"path":"focused-chunks/chunk-NJTKGBSK.js","sha256":"7e0ea7ae188b7407bdc111569d2763c7cb3e12007a4a70e3f2e2753f870808c8"},{"path":"focused-chunks/chunk-NJTKGBSK.js.map","sha256":"80db7377b9d43eefa0a959eda4d8e6f77cf8c997c737f527a6cb8c190368126b"},{"path":"focused-chunks/chunk-P55AZPFN.js","sha256":"6eb0004e07142308b33b79e371fb593a6a16809aafc13b79e7270367856bebc4"},{"path":"focused-chunks/chunk-P55AZPFN.js.map","sha256":"4dbc4d9d81b9e7218d6df789af74a90226b8c4fb4d154fa4a5e24801951e9a16"},{"path":"focused-chunks/chunk-RQYVX2T6.js","sha256":"ab3254acbc1ae0bc0dd096f704a0850070474395308661b266f920c498a09517"},{"path":"focused-chunks/chunk-RQYVX2T6.js.map","sha256":"d0bd511d8bea34c031a5456d4f0d3696c4c837cc24adef38eca3733799a234db"},{"path":"focused-chunks/chunk-SXC3NVZI.js","sha256":"1979bcdf74221dd526460e426363730070264e8fc14b7423f483baf494d31ea5"},{"path":"focused-chunks/chunk-SXC3NVZI.js.map","sha256":"73129b1525b6a94d7851dbac30b1459a31eed5ca66c33ff0f2aa142c5fcd7ece"},{"path":"focused-chunks/chunk-TQQO42C2.js","sha256":"e8b8fbb74ed637b67db71955810a1146f304e5f6b92a9ac3cb931ebaac19944a"},{"path":"focused-chunks/chunk-TQQO42C2.js.map","sha256":"258adf013ac90099385d41508489d33590130e21d6b3439732e0bc72a4961df9"},{"path":"focused-chunks/chunk-U35K7FSE.js","sha256":"45bd80e7ea2e8017483afb720cd4bb501a65f8d0ad388f03684b1ad4fbf60dca"},{"path":"focused-chunks/chunk-U35K7FSE.js.map","sha256":"665c6b53e244e19ca7b6d36cd53d185a16497e72fef8960df73da1a28b2287d1"},{"path":"focused-chunks/chunk-UQJ4PY2Y.js","sha256":"b92a5ef470aa17b5b922caf2d0e966609211e4a565a3e2db12df8b9733b2bb90"},{"path":"focused-chunks/chunk-UQJ4PY2Y.js.map","sha256":"61e21adf7aaedb8dacadb188dc8fc4de760f0a60ab9313a2c5c6bee2c82026fd"},{"path":"focused-chunks/chunk-WAP3DF4B.js","sha256":"d2ba7f4070c834710086a1ee7f58300bd5c1e5d7b688b1ead4d1089e6386f325"},{"path":"focused-chunks/chunk-WAP3DF4B.js.map","sha256":"a80b56f8d28ddd648616cc8f654bbfd239152206dc082c37cc74ea8c9f90c091"},{"path":"focused-chunks/chunk-X6CXWWNB.js","sha256":"ce7b75dd08f0c363ab9412a451c0cd63d2a985898b26291ff00ec8b6f955317e"},{"path":"focused-chunks/chunk-X6CXWWNB.js.map","sha256":"896b8382f3dc636d27e3b95da50a5a04ff5e2761f7f44a6f41b54275da5ac916"},{"path":"focused-chunks/chunk-XR6MLUVW.js","sha256":"bc5720f39311a91544abf0823d8e92a171052537ceebdff89bcca547f9cf41a6"},{"path":"focused-chunks/chunk-XR6MLUVW.js.map","sha256":"107bdc50c7776de00c12ddb87a6e08f96377c82f7042a4abf90225e9e9c3baf7"},{"path":"focused-chunks/chunk-XR745UGE.js","sha256":"2594ba731dffbf416cd485d2e443cc8ef18d96dc9b9e0e7d383b2ce9b0f33148"},{"path":"focused-chunks/chunk-XR745UGE.js.map","sha256":"195d694e60bbc8b425c5f8826c4f94a26b022636898260088c8d6b696d955f30"},{"path":"focused-chunks/context-budget-recovery-CSJV3TY3.js","sha256":"40718fe601c25e06a918ff93e676d5d49b483030c97e94f6ae54ef513552b308"},{"path":"focused-chunks/context-budget-recovery-CSJV3TY3.js.map","sha256":"904b87ac8c97989a10a0d567884173c1530a870fb9d75614e176461caf245255"},{"path":"focused-chunks/field-definition-losses-GGA6FUHD.js","sha256":"8fd9ea1601e16840e971e63ea700919e0b2f73f15da05ed13cb31329a77240f4"},{"path":"focused-chunks/field-definition-losses-GGA6FUHD.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/field-option-collisions-7TG7STO7.js","sha256":"5e825dda546afa175d3f21ea2effe1170cae5e4465b98927e055949987e19181"},{"path":"focused-chunks/field-option-collisions-7TG7STO7.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/indexed-receipt-blobs-EUYZJR5R.js","sha256":"c43f22286a26bd92a39948983d50aaea635127d3ecccb00aa3020c50c3583dc6"},{"path":"focused-chunks/indexed-receipt-blobs-EUYZJR5R.js.map","sha256":"2b587598a5e9c7ea7d9208d8a255923ba6fd0811509903b260d6f4ace9af7418"},{"path":"focused-chunks/item-revision-J7EUGCHR.js","sha256":"5b7dea2a01304d9e10941e24bee0b508551b739919bfd3be49739e9919a4163b"},{"path":"focused-chunks/item-revision-J7EUGCHR.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/item-transaction-2IC2MLML.js","sha256":"9ed42ca05657c821e0359093a7e942aaf57842c3b4d9b91321fca976ac5b6d1b"},{"path":"focused-chunks/item-transaction-2IC2MLML.js.map","sha256":"a6a605febf8ae79e8ca01c6c99275ace88ad3796cc3c18ffbc03180e5ed615b2"},{"path":"focused-chunks/mutation-actor-LJVF2HVD.js","sha256":"f44a38f16fa42cae1faa29c8efda89d19f19d42bf7a6b0636193fa7140bb0f7c"},{"path":"focused-chunks/mutation-actor-LJVF2HVD.js.map","sha256":"cce3c931c3c53aa9a2bff7cba6383e3ec97b5e141950340b05eb4bb3382fadaf"},{"path":"focused-chunks/mutation-admission-SLFAUONA.js","sha256":"a51fced43092ef7fe01527bb13372e202dcc2366a65adc6988e5402e995867ed"},{"path":"focused-chunks/mutation-admission-SLFAUONA.js.map","sha256":"19dba99f90c1d9a2fae83b161d067e7509cfbffc543109f5e02b62948584f11e"},{"path":"focused-chunks/runtime-schema-IDRXWCC4.js","sha256":"35087d95f948fd58b53e547a622bd20483e5b5bdf90c58f968316290dbc2270d"},{"path":"focused-chunks/runtime-schema-IDRXWCC4.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/settlement-hook-Q6MJQKIE.js","sha256":"734b72b1a413e8b8278fe85f3f9182d31abf223404655fbfcf9944511ffd6f5b"},{"path":"focused-chunks/settlement-hook-Q6MJQKIE.js.map","sha256":"7f4a1a819b9db41b5e3fa55c7c6e830d63b8d00e9cec25306bc997fd5ac2bb5a"},{"path":"focused-chunks/stage-MWR73LTZ.js","sha256":"80bd24d4dc569076da7a5f01ec9229490b7eea03eb3d9e70dad5cdcdb6c4cb52"},{"path":"focused-chunks/stage-MWR73LTZ.js.map","sha256":"a910b2c7ab962caad03043cd9c377b201fe291b1b35ccff405cc7e8fc206827f"},{"path":"main.js","sha256":"00de39cf718bddb012bbb27fea4f3698c58431c6b70c65392d0d059328f070bc"},{"path":"main.js.map","sha256":"02f9709495f068aaea222119cdbd9636f21d1b22ef6cd3e1e7cd00fb56bcdaf8"},{"path":"sdk-authoring.js","sha256":"8c8b0332c1aef70aca99906a3b6f442c023a02daae4819b80a0271eb8fda3555"},{"path":"sdk-authoring.js.map","sha256":"271829f54547a382fc219295ccf532e341dcf0158473c241313443514eb6b2f6"},{"path":"sdk-contracts.js","sha256":"c160e0b463a93a2c4a8a2c9b75d144649cfed480dfddd0bbea046f0c6edf8a72"},{"path":"sdk-contracts.js.map","sha256":"6ade420c8181a5d60c2213c048ee71943cdee59d10fb2b2118f57a2e95758297"},{"path":"sdk-core.js","sha256":"c7d419f4a6e43dd3e76ab3b52b48246f0645cb42426b9efba608da7531ac66e8"},{"path":"sdk-core.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-governance.js","sha256":"b309a6abf6753fbc80353dd32f184ab9f50ec858a748da4a6d046f54ead0d8cb"},{"path":"sdk-governance.js.map","sha256":"34b4e21e66ca2345441f4395317893d137370a5d99fdbccf68d982e4d930de84"},{"path":"sdk-graph.js","sha256":"e85475e0d496907a7cae330c0dd010cf73a8242a7f7736b817fe5a4f3188a151"},{"path":"sdk-graph.js.map","sha256":"4dc6838f0fc0eb954094996dec1fd44351072930a268403ad8fc28c32ee6e642"},{"path":"sdk-merge.js","sha256":"a49b2e3c6e6db81f75e70414e4a6b291fb05c0890d79f788e8869d45da3a54b7"},{"path":"sdk-merge.js.map","sha256":"a01494e91c1a45309aac571c80e28fd401eb92df3d4ffeaf7e53c9a136d1f466"},{"path":"sdk-query.js","sha256":"a18da8e5c2b3337ef616f31acc12690429061fba70a0d0bf2532646f229fbb15"},{"path":"sdk-query.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-runtime.js","sha256":"05fe196a616e3f55d856e5ad50a695fe0480cf188897266e1e817b25f09717ab"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"dc834e2fd58d06f07378cb1ebb1b6c48fb7c9dbb032cafae46e1934ca4b6cfc1"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"3439cd6b612a8f9d0462fe8b96b76048b6b994d8b423fcc240b44604b977efb6"},{"path":"sdk.js.map","sha256":"268d73509e00b8d2236595dd10b3b85197ed43816a63b61b86276370fbcc2888"}]}
|
|
1
|
+
{"schema_version":1,"generation":"ecdd9a2d6f3092ccd5c5c3cad376d05e004e0990cff76b9ce5cd68ffd1f03d35","files":[{"path":"chunks/chunk-3AZOATC2.js","sha256":"699836ad80823ad96a68d67a5189faa8056ddd505453a28835f1cf199da92dd1"},{"path":"chunks/chunk-3AZOATC2.js.map","sha256":"b5d143f4c9549ef3d6563452b4c66b62964676fffa77836168ba981fd0f7bfa0"},{"path":"chunks/chunk-3HKPVOAN.js","sha256":"0c95c6155888d78540e4c846c298d0db7f83e49299110fc0d4ecdb98b66a357d"},{"path":"chunks/chunk-3HKPVOAN.js.map","sha256":"3be6cf3e0fb661ebabf520e14fc99366e0ecbf71580da1b1ad52d6d93a269c1c"},{"path":"chunks/chunk-3KEMIPKG.js","sha256":"aacd6ebbbaa9b2df8bb42b115622a00d64c06edfad81384405bf5edcac478047"},{"path":"chunks/chunk-3KEMIPKG.js.map","sha256":"b848dc347df894d49955b1b137f2fa13171ef1d9f8002064069b33ae426885ce"},{"path":"chunks/chunk-4QA5O64H.js","sha256":"66cc1c77a452a76dd5aa6bd7dc5cc15899fa6b475ce10222036c1e4a3e3cd6b0"},{"path":"chunks/chunk-4QA5O64H.js.map","sha256":"a670010200bdd80e75fe64229ffae3670440836bb2ebfb3b61de5cd774215315"},{"path":"chunks/chunk-4YQMQOUO.js","sha256":"e56e3fcf5a68dd7d7b65c8760a21df0a126c5e998b421a3351b09a6ee1c97fc4"},{"path":"chunks/chunk-4YQMQOUO.js.map","sha256":"e0c0bc473a372615d3fe483daeae065cc4847279a1b9cb70dc597ad499d4d939"},{"path":"chunks/chunk-4YYFY33T.js","sha256":"fd29babe7886f864a37a083f7825d0f8432b1bdb1403f3fdbe2b291ae911249b"},{"path":"chunks/chunk-4YYFY33T.js.map","sha256":"db3e0fb5e1a1291a58617b4a0923aeec40e3e610ae6bb1c4cf01555746472100"},{"path":"chunks/chunk-5EFS7K7Y.js","sha256":"f354fdc2ccaa6cc0d4a7ef19969c2c3438b77a7bcd532fcb39ba9c640acd1524"},{"path":"chunks/chunk-5EFS7K7Y.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-6H36ZHMI.js","sha256":"099fed6fa7e85d4d0845e192e53fb00c7fc51ee708ce494201bd6839ae270457"},{"path":"chunks/chunk-6H36ZHMI.js.map","sha256":"c92d1722848b0dc82a942eceb1ea14c2aa754cf75d4083ca00eac9a05035c7f4"},{"path":"chunks/chunk-A5ZEMOVR.js","sha256":"e6d4246a026e204cebac5a9a948e39d78b51025044c0c4b8801be3596510f26e"},{"path":"chunks/chunk-A5ZEMOVR.js.map","sha256":"14faabbcaf98cfbbc691ec6432f06a0eb292cbbcd2eb4eb95043461236453c39"},{"path":"chunks/chunk-AA52P34H.js","sha256":"03bdff2d215b3ef804b31790b2a2cdac9bc71707859bf88dfca96b76392f9287"},{"path":"chunks/chunk-AA52P34H.js.map","sha256":"f5e04c45321344b4a998cb36de60d32e157ccb0400b165f6db2099acd4a1fc2c"},{"path":"chunks/chunk-AHV3CSQG.js","sha256":"49c78aaeb3d691e92050f4d239e0b29f231120fdc07afaed8942d04c246af1d1"},{"path":"chunks/chunk-AHV3CSQG.js.map","sha256":"ab21eb5373595202a98a73ee9c077d79d90fa90672ebeba0a0eff59044f26d58"},{"path":"chunks/chunk-AJLU6KLW.js","sha256":"58b68a301d8c8c143f6830a7477e06925f1f82237c31c1f0c546234b4cca5ff0"},{"path":"chunks/chunk-AJLU6KLW.js.map","sha256":"3ddf7b545ee37a0356c4bb7389aa14bd49f66dcd4d2c2fb2e89317421a285310"},{"path":"chunks/chunk-C6WM6ZN4.js","sha256":"e47d489e2cb3a8d3d471f3b65b584b228f3d5f6400f83d79aaf709a7ac4826c5"},{"path":"chunks/chunk-C6WM6ZN4.js.map","sha256":"85a21a0d261dc33e6aed8e9adcc974cbd8deb999bfc7467309fca68e1543b7a1"},{"path":"chunks/chunk-CBUC4X7Q.js","sha256":"9b4bc9ff08d4ea42f3da317c73f4f720eab3777c04dcf67826ab01c92a2e72b3"},{"path":"chunks/chunk-CBUC4X7Q.js.map","sha256":"a5d488d65e475058f78cd38744be45577dc9af5727833c576b8c4bf11e246a6e"},{"path":"chunks/chunk-CWPR234D.js","sha256":"2735cce57cbc9556781bdcbb15445d318f0537441495dcbec21cbf9581c403f4"},{"path":"chunks/chunk-CWPR234D.js.map","sha256":"1758ad51c7d0464e2d0f5ed0bdf618d7f2215280c1f78075abaa713e27d22d58"},{"path":"chunks/chunk-GSLOAEY2.js","sha256":"5388ecc1218922f345a8749e7cf0578879c005a5e6ef2691dee6f1fc6d04813d"},{"path":"chunks/chunk-GSLOAEY2.js.map","sha256":"f930238e4f20110f5efc0948f2538f4d1e82cd81e2a019fe3a65746c3023a7a1"},{"path":"chunks/chunk-HZZLSBIJ.js","sha256":"a2e564354cb123ceea7d93878953658ba864f38ab3ff95d59609d28eae1ea4ad"},{"path":"chunks/chunk-HZZLSBIJ.js.map","sha256":"a2c050b3e51799ea24d02b7f00fc1db9e95fd9ee0e94743e179adb307ba383b5"},{"path":"chunks/chunk-I4SPJQQI.js","sha256":"264d88a6e90337a2ec828cc2a6b60717dd12a806822af05adec289191687b424"},{"path":"chunks/chunk-I4SPJQQI.js.map","sha256":"49261a1a55dfef404ce7a3c98f6c1a036f1aa3abd7523dc6b5a66bfe43cf66cd"},{"path":"chunks/chunk-K672XXGQ.js","sha256":"56e4fe9d44b09d2b08b3ecfd468988301517134f238e30dc3274d8374a1032ec"},{"path":"chunks/chunk-K672XXGQ.js.map","sha256":"63a0ce85f4d7a1c068d6abfcdeeecee2ea725fab99096e205066c687cbdea3ef"},{"path":"chunks/chunk-L2ZSSMYY.js","sha256":"22f32d2692c3d2d626fabd9cdbdb1fa96cea6963b8a5d678f7f95ad5e3f10678"},{"path":"chunks/chunk-L2ZSSMYY.js.map","sha256":"e90e56a794aa3aaefec4d9236e5e5663f6278ddd5209c5743b29501f67bf9abd"},{"path":"chunks/chunk-MZZ4ZJ5Z.js","sha256":"9ad58ed622c9d427b366dd68209fa948670dec3ad9d52e3e96c7cbc28df7d91f"},{"path":"chunks/chunk-MZZ4ZJ5Z.js.map","sha256":"61ec9304792cedd2bcd8e06e372e7e8f3433328a094c4dd9ae6a750f98142478"},{"path":"chunks/chunk-NA6D75V5.js","sha256":"32450a9132dea4bd265b6f906dd9cc366bad31c205fb752e3033619f51fb5e91"},{"path":"chunks/chunk-NA6D75V5.js.map","sha256":"943d79def5d8530a7bd9e98af894b486131f39e62685136ed56282a0a2ca95ae"},{"path":"chunks/chunk-NRQCBUYD.js","sha256":"bb78f776bd352f1bae0b34823e42964a1a29e02d72cafe448c0ad563419f850b"},{"path":"chunks/chunk-NRQCBUYD.js.map","sha256":"284963ca675d530d22522206d82427d1af5c820615034f6440965f0f03cbee38"},{"path":"chunks/chunk-OBPO6V7H.js","sha256":"a4804aaee9c819fae7911dc47cf7b121b0a390075a6abd10abb58af927e8d3cc"},{"path":"chunks/chunk-OBPO6V7H.js.map","sha256":"7d37c6997576aba92652cfbae1dc183ebec7f19a08e9031994ee4629718eb982"},{"path":"chunks/chunk-OGVSGXQX.js","sha256":"7e8ce2a4b13316bd9defa2837280ec483b6c3ee21358c13ff58b10c9df18ee55"},{"path":"chunks/chunk-OGVSGXQX.js.map","sha256":"107bdc50c7776de00c12ddb87a6e08f96377c82f7042a4abf90225e9e9c3baf7"},{"path":"chunks/chunk-OKEJ4U2I.js","sha256":"eec3dde9a93dee147aeb39699d2660e76fa8f9365819050b43be978f5ea606ed"},{"path":"chunks/chunk-OKEJ4U2I.js.map","sha256":"53a5cfd0146392f4abd51f7ed2f8fe52b4a16725b5dac0854b23bfa55086f67b"},{"path":"chunks/chunk-OXC5KBIQ.js","sha256":"b65671bbf944c65ecfaa257de993f6261b6c94473e49f443649ea244fcd1c1ec"},{"path":"chunks/chunk-OXC5KBIQ.js.map","sha256":"8728e02a19ed24e48e827b5560f95a3144f7b9e16e6e4a3af6ef5e28f9353768"},{"path":"chunks/chunk-PCDTWL6V.js","sha256":"6f34ffd9d8335140c048eb1039bec6c057c52c63f0876b98dc704d3007565381"},{"path":"chunks/chunk-PCDTWL6V.js.map","sha256":"e9a75e0abd58fa2bd88eb74c7268fa824ba6f2f93d34f0cc2936123b19701b15"},{"path":"chunks/chunk-PZA7QECY.js","sha256":"12508079ea987f61bac5ceb97d7d37fc713ff6d17e8b856bc141da7068df4bb8"},{"path":"chunks/chunk-PZA7QECY.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-Q6GLSAJY.js","sha256":"04d110609e28db2bc6da48674e7fbd355fbba8e9f706ebba52c5ddbdea13c78c"},{"path":"chunks/chunk-Q6GLSAJY.js.map","sha256":"74226e67aadbdf3a5bb2dcb19c4ef19df43d8b9ae846d8aca8ae0910ed60533c"},{"path":"chunks/chunk-Q6K7HWZ7.js","sha256":"41ace7940c4cbd576738fd672717d133079d77d544ce0b0ebb06121a36b38e54"},{"path":"chunks/chunk-Q6K7HWZ7.js.map","sha256":"e24c8fdc6166bd20ba9c7eca0fdae0f5b976c0c3445430f71758f6060603e119"},{"path":"chunks/chunk-QDV7S2QS.js","sha256":"fb9d676e3d4bd70a6c33d59fdf9fff0b2f0146a02eb806329e92322f6dc58cd9"},{"path":"chunks/chunk-QDV7S2QS.js.map","sha256":"71625f05f90e9b4084be8a5d9a4be4b1429b4562692346ddcf55f68529ed70f6"},{"path":"chunks/chunk-SLFRSZK6.js","sha256":"198253f6cbdaeec258246cb37ee1931c3af4ae9daed6ddd1d5c8c8bb6cea3bc6"},{"path":"chunks/chunk-SLFRSZK6.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-SY5C3U32.js","sha256":"e6a43d8186d1ca93d3b90c2992534b4c4747160e54a14d2d1c2bcaad8cf7de86"},{"path":"chunks/chunk-SY5C3U32.js.map","sha256":"dda4390a69b3e614c8a5ad4238ec7c23f653de8e1b98a16458606bf71ac02182"},{"path":"chunks/chunk-TE6FBDHP.js","sha256":"fb158e686315c2b48db234d8b78727eddd6db35a16415e32af8e0d3c590661f7"},{"path":"chunks/chunk-TE6FBDHP.js.map","sha256":"edd02e3304bf32a45b7393d6e5cee280ea3a8e513e050ff7c694af408be1cef8"},{"path":"chunks/chunk-U7RBJGLF.js","sha256":"fdccd234fc4a4acd8da62dc45a985617114b767e5c6f5c817503f5b95f0ea94a"},{"path":"chunks/chunk-U7RBJGLF.js.map","sha256":"353c84874dbf56bfdb7e598aa8bfaa58bfa73d9b84a524cf38ed5efd90ae1e0d"},{"path":"chunks/chunk-WSEIEDEK.js","sha256":"75b9cec06f4f82027dfc85dd25b71c42a0e4b5ed280cf0d1ccd687799fcdb72c"},{"path":"chunks/chunk-WSEIEDEK.js.map","sha256":"f0bb733311e3db9ed651d28a7c116a2694692deba629f40ce345b0d21ffab65d"},{"path":"chunks/chunk-X5D5YUHR.js","sha256":"1a90a29a60cfe369d7d8dee4bebbf386dc816f490e420a3b2785526817944f18"},{"path":"chunks/chunk-X5D5YUHR.js.map","sha256":"24d1810f7b5707a807b199f4cf2fb83475978648f0990eb7659746cd8bcb9d7c"},{"path":"chunks/chunk-XAWE4EAK.js","sha256":"9ec1c5760661739327050e0bfc643cdfb827f8f501fe1a57c28be01371f89128"},{"path":"chunks/chunk-XAWE4EAK.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/chunk-XME6GIFQ.js","sha256":"4a6ad7fa488afbeec59f78e137dfaab034de3d1d1314e1a9a2e672446de9ca69"},{"path":"chunks/chunk-XME6GIFQ.js.map","sha256":"1dd61d54a272f555bb95c3eee15a22c932c32905bbac10c587ce575e15a9f766"},{"path":"chunks/chunk-YSVOXCYH.js","sha256":"4f405e358b159a7db3cf94a703e5b7a95f99ebef86bdc1a7e59a967f813f7d6a"},{"path":"chunks/chunk-YSVOXCYH.js.map","sha256":"fd6ae5dac75fcbb851ed2fb32bf60b29d43e0d181a5240ff871d5b717602c4ac"},{"path":"chunks/chunk-ZL6J6JYT.js","sha256":"3fadc0d58aff91426e000ef4b06f56f24ec20cd3b2e37655a6ad9cef95f7d33f"},{"path":"chunks/chunk-ZL6J6JYT.js.map","sha256":"5c4e5348e780c133523dd176e323ea856f7aadb9c5b8d510ab73896089c8b38f"},{"path":"chunks/context-budget-recovery-M5RFUEFG.js","sha256":"c1dc0a54cfab9b3edd172e2fe60fc939dc43c54e21a67aca04a52c093ed095e7"},{"path":"chunks/context-budget-recovery-M5RFUEFG.js.map","sha256":"02fe8862be7c2c075eb087c74955cf1ea4c12ce4d57a6cba3a4175c701e81204"},{"path":"chunks/field-definition-losses-XKE4DRUA.js","sha256":"e9893a08147d99b65d337c61127f71a1550e98309608e3d9c4d2c01894494aaf"},{"path":"chunks/field-definition-losses-XKE4DRUA.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/field-option-collisions-BBGTV7AD.js","sha256":"c2e8e5881dd0a69f7bfa6fdf3ea0a584a93ffefb08a0ad62038c3d2e7b1dfbcc"},{"path":"chunks/field-option-collisions-BBGTV7AD.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/indexed-receipt-blobs-DR3FDHND.js","sha256":"38d946afb33be21ee5eb42194f1fdb7f7c741849a1a63c2a1a23ae03745d7171"},{"path":"chunks/indexed-receipt-blobs-DR3FDHND.js.map","sha256":"ae5e8f3d0d4f3350e174fc2487b3e7ce353a63a7fdb88a36da347bd76664a09b"},{"path":"chunks/item-revision-3LENTXYF.js","sha256":"d29927a177b6be5f00814c5cf3173d275ac421f28f184664ed85c033d07c4e7e"},{"path":"chunks/item-revision-3LENTXYF.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/item-transaction-66RDV7PH.js","sha256":"5f3f92bfaf07b2b88ee7580690af2d32a5160956c5da53780aaafea6858b0092"},{"path":"chunks/item-transaction-66RDV7PH.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/linked-resource-value-list-E2DX52LY.js","sha256":"974fd55dac8cd9127b969bf56fc93459ea01ee7dcbafb08e7550985c2c7e48e3"},{"path":"chunks/linked-resource-value-list-E2DX52LY.js.map","sha256":"b0fc08114903c3fe2097e77df75cc832992833a6d71e9688da053d5a31b39e43"},{"path":"chunks/mutation-actor-NHN33ITJ.js","sha256":"3d6eff121639fe5a0f1d58151988acd67cc69356739ca82fd1b16cb231e8ca76"},{"path":"chunks/mutation-actor-NHN33ITJ.js.map","sha256":"4671b1f3ebf6b059319dc16968274bf6042d72915fa166f808c8d4001a75e852"},{"path":"chunks/mutation-admission-PGKJTCG6.js","sha256":"c1319e2b9e4ded9d08c44fc170e2b3a14a8259a2efc050fddc3e2f0a1cee7905"},{"path":"chunks/mutation-admission-PGKJTCG6.js.map","sha256":"f2a1a14041eeb9e04b2d0b0f45ec09c245ad9a88a26d20c6ef930b8c628146ba"},{"path":"chunks/register-list-query-7S5QWDTI.js","sha256":"aac83667b72d296f6b5fc2765c88103742c47dfc455deced59404995e300896a"},{"path":"chunks/register-list-query-7S5QWDTI.js.map","sha256":"8512b4f0641fe043a97665c61d2da87934cc6f4123ace2370dc8fd92a7c3cf44"},{"path":"chunks/register-mutation-2F6JUBST.js","sha256":"d71910c4c00585e9994e25c2e610059211d2d010ebbef25eb67b2919d8aa098a"},{"path":"chunks/register-mutation-2F6JUBST.js.map","sha256":"121ff6c5b4ff700844ca206968669db1523bedd3a754c3cbc6c919c171eceacf"},{"path":"chunks/register-operations-ET3UKPYK.js","sha256":"2745d348bf00edf26754a1e25270c67ec521773f75cbcb3f044d361e12771be5"},{"path":"chunks/register-operations-ET3UKPYK.js.map","sha256":"c6d3f71e1a01215b10187bfd423bf539670f2f7cbc73a3e12265eda6f831e2b8"},{"path":"chunks/register-setup-I63QTFCU.js","sha256":"01d8be9433ae04da61895351785aaad6ec1ad2bb6c4e1d2fd31c46a55e2f00a2"},{"path":"chunks/register-setup-I63QTFCU.js.map","sha256":"28baa2de448d6a85d0747149c69ad1d54a4844b346c9a9bc2d4eba1cc106634f"},{"path":"chunks/runtime-schema-OAIUNQRL.js","sha256":"3e99ac5c17755d13ba5f61766c57bbaf75feb2b51b8ea9bca85f799eba48a1fe"},{"path":"chunks/runtime-schema-OAIUNQRL.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"chunks/settlement-hook-BIVNGBZF.js","sha256":"c18b58abec11be1586a471424354cc93b823ae093b29ae84c488a599db1d2afe"},{"path":"chunks/settlement-hook-BIVNGBZF.js.map","sha256":"c492aeb3a85b711e9aa36dd9e35aa0b361d397f4863a95c3cd297c276f9b7444"},{"path":"chunks/stage-4ZCF74G4.js","sha256":"cc0e58961d2afce8199a8d53c9e88e93164a433540967b456d5a829472c54d9a"},{"path":"chunks/stage-4ZCF74G4.js.map","sha256":"34c1c0d68058846a59c68dc7f162cf3bae428dcc70f3db9fd7cc7b3406e874ac"},{"path":"focused-chunks/chunk-26P6C6OO.js","sha256":"30d4569d8df04e45fbe4aa7b76774e863b4f8740e7709bb92d81a45b3e630604"},{"path":"focused-chunks/chunk-26P6C6OO.js.map","sha256":"24c900fe74a3d0e897a8291aeafcce70ab2585b37b58bbe371574d5af568cd7c"},{"path":"focused-chunks/chunk-2DGKVXFT.js","sha256":"08b95922bbb0566d6137098ac81365d20fe3f1b185df3a724b0cd2c2e6215073"},{"path":"focused-chunks/chunk-2DGKVXFT.js.map","sha256":"d0bd511d8bea34c031a5456d4f0d3696c4c837cc24adef38eca3733799a234db"},{"path":"focused-chunks/chunk-2UWKU2BQ.js","sha256":"4f5f5c59ff207401ed2317f77cd579788bada7369b82af518e1dcc9169be5cfb"},{"path":"focused-chunks/chunk-2UWKU2BQ.js.map","sha256":"595951178b5434407efc879ffde9ac29215cb0752fd0913dddfcb4c0ca1baab4"},{"path":"focused-chunks/chunk-4SCFAWAW.js","sha256":"1bf9d7c62d155bc9ff94879a6e1f8f4dd8d94f1f16ab55694bf0c36d141a9f80"},{"path":"focused-chunks/chunk-4SCFAWAW.js.map","sha256":"61e21adf7aaedb8dacadb188dc8fc4de760f0a60ab9313a2c5c6bee2c82026fd"},{"path":"focused-chunks/chunk-6BKT6XQN.js","sha256":"7f181b438fed4e7a83c05c48c92ad80d528448030aca7a1022ed295b6259dfb3"},{"path":"focused-chunks/chunk-6BKT6XQN.js.map","sha256":"b78d3a05d33842836a881991e37d85f4964d8aace8484002b8c31f9b6813fb8f"},{"path":"focused-chunks/chunk-6IY5CVGJ.js","sha256":"7f2dfebbb26d86497cc116cafc1d7963febd2d41b1bebb89be86ff60a6af7a03"},{"path":"focused-chunks/chunk-6IY5CVGJ.js.map","sha256":"3c3c8639cc77affba1b3bec6a5149c414918506277a16c90ab5c15228d6c026d"},{"path":"focused-chunks/chunk-7A6SEZEY.js","sha256":"16f33a691a90d42c352024811c10b6aa8cc7ecd88d29b6cee7e8043abd37721d"},{"path":"focused-chunks/chunk-7A6SEZEY.js.map","sha256":"f3f87735197994774dc55c9b671d3bcb1d2476900d2a782f3c459d97666b2516"},{"path":"focused-chunks/chunk-AIDL2ZNT.js","sha256":"27d1573f98fc71736ba9d779894ab0129e4bb6b81af4095d93b577de30223ff5"},{"path":"focused-chunks/chunk-AIDL2ZNT.js.map","sha256":"f5e04c45321344b4a998cb36de60d32e157ccb0400b165f6db2099acd4a1fc2c"},{"path":"focused-chunks/chunk-BHNBPCHP.js","sha256":"86e4bc1f39059c0aa0cd91e05bcb64fd17ba981d027e2b6ea04efa969564fabb"},{"path":"focused-chunks/chunk-BHNBPCHP.js.map","sha256":"66df172f25508bb56e7f209415cf2b321067aff2bc6fc84fa666e00c3d209070"},{"path":"focused-chunks/chunk-BKPUUW5O.js","sha256":"109fc60573d33e78f3308bd3ab22e3df1778ebba62c75cba87508496a15c6e98"},{"path":"focused-chunks/chunk-BKPUUW5O.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/chunk-BWOVFE5B.js","sha256":"882e1f9013d572bdd824e57afd209920469d876e7a8f90ac183386fcecfcee62"},{"path":"focused-chunks/chunk-BWOVFE5B.js.map","sha256":"b679f91dc73f9c4bb5b9caa164e553571401900b116e113a40079b712fc3445f"},{"path":"focused-chunks/chunk-CWQLW4ZO.js","sha256":"815081f7e19dcbe65f0c7aec7104a3b00318c070dcd509342717397eb53a8988"},{"path":"focused-chunks/chunk-CWQLW4ZO.js.map","sha256":"b5d143f4c9549ef3d6563452b4c66b62964676fffa77836168ba981fd0f7bfa0"},{"path":"focused-chunks/chunk-EQCQTYKO.js","sha256":"4915e7e0d39c20ec537299ea4b93ab25807e6b32758074c4d16cce214c5603a2"},{"path":"focused-chunks/chunk-EQCQTYKO.js.map","sha256":"0b82d2c607dfd6a482737dd181f961a388f303bc4d68531a2f1af29e4409e9e9"},{"path":"focused-chunks/chunk-HTDYNY4L.js","sha256":"8bb8cf2fe9a2f6d77bc57937dc8ed4b23faeb6c400a9ca3921b31900522f6345"},{"path":"focused-chunks/chunk-HTDYNY4L.js.map","sha256":"9d383362e149fd90714d71e223032a545ac014178b8b56b21a30a6b1c92f6177"},{"path":"focused-chunks/chunk-IIP6LZ5E.js","sha256":"ca3b33e6048720a1b22c2d958455476cfb6f02ea9f6a0f8355d6fb2ea2dc8774"},{"path":"focused-chunks/chunk-IIP6LZ5E.js.map","sha256":"c92d1722848b0dc82a942eceb1ea14c2aa754cf75d4083ca00eac9a05035c7f4"},{"path":"focused-chunks/chunk-IRYNVGKH.js","sha256":"f89257028e06b545f280958b2a45177c0227eac2573162c63a6c124e8464256a"},{"path":"focused-chunks/chunk-IRYNVGKH.js.map","sha256":"77c7ab86f9148230ffa274b5d7a0b74d97eaca0a119ec167e5262888ce237694"},{"path":"focused-chunks/chunk-JFICNN4T.js","sha256":"23d56023900d8066f45bd135ab7c3153c1d1c32542e538cd21319fe102e676bc"},{"path":"focused-chunks/chunk-JFICNN4T.js.map","sha256":"edd02e3304bf32a45b7393d6e5cee280ea3a8e513e050ff7c694af408be1cef8"},{"path":"focused-chunks/chunk-JPZGC3W4.js","sha256":"e297a8864a5cd8090c40571f6a3dff105d79f2f02bf5a6fcf5e82f391399e408"},{"path":"focused-chunks/chunk-JPZGC3W4.js.map","sha256":"21cda939e2e569c4fbb91cb23b18951ac0bbaddaef995845617dffb8b817c58b"},{"path":"focused-chunks/chunk-K53OIT5J.js","sha256":"ce7e8dc7e80be0ce7d17a96e9c27024d8d1adeda22b2eccd00145c6d0d68654c"},{"path":"focused-chunks/chunk-K53OIT5J.js.map","sha256":"f913e1f6fb8941186f72864c8d965ad6df947482dd876bb30b8f52ee9a25ce10"},{"path":"focused-chunks/chunk-KNBGHCIP.js","sha256":"bbd900de27f1630fd0fc709b30cd3e7cad642f598f0a0987c98ce3cf7784a9c7"},{"path":"focused-chunks/chunk-KNBGHCIP.js.map","sha256":"f7f5e0beff7c4c5009d187c389fac345622cbc509ac382dedfeb1926bac2f752"},{"path":"focused-chunks/chunk-KPASZGBL.js","sha256":"f315c4ceda427b8790d9a8c98879d0769a9ed17320bf659ea4f3cb6e9611b1fd"},{"path":"focused-chunks/chunk-KPASZGBL.js.map","sha256":"24d1810f7b5707a807b199f4cf2fb83475978648f0990eb7659746cd8bcb9d7c"},{"path":"focused-chunks/chunk-N64AC5G6.js","sha256":"fa6c920bba577afb05eca7b0b6a58a79140c7d109878cc88f44da2373915f1e8"},{"path":"focused-chunks/chunk-N64AC5G6.js.map","sha256":"b1fdcfbc5ad48181719ac40f18423634d7b5dfab14114af41da33f4cc7e48d5f"},{"path":"focused-chunks/chunk-OG57ESZK.js","sha256":"272c58d9d7c6df1aa3ebdab8ce77c66daa617c688f1db71081ff41ac8ec1a26f"},{"path":"focused-chunks/chunk-OG57ESZK.js.map","sha256":"163120325a301bbbb35052d859d6038e7b8fb160911fc20fbf8dd734b4d20e04"},{"path":"focused-chunks/chunk-P2H3GTJK.js","sha256":"c50033de2a58cada131a9068758aa5d70f23cc29da195d5dc3a9b56d2d53d85b"},{"path":"focused-chunks/chunk-P2H3GTJK.js.map","sha256":"d9c59d668fc68044de6a4512cf356cd39192e5806e2a9490ac2eeae2426674be"},{"path":"focused-chunks/chunk-PT7RT3T6.js","sha256":"1c0e6e67427563a6b3491bc8dd9e3e2e483b590448ac3b8211ba418f52d8e3b2"},{"path":"focused-chunks/chunk-PT7RT3T6.js.map","sha256":"b7fb5c65b34812481ad5f2e5e5647ea640e10217d572681b10cc8267693f68a5"},{"path":"focused-chunks/chunk-QZRYGYTI.js","sha256":"6f3c7dcc91fe751ca86f84e32ba6e66c3090910a503409686e5d69ce9da59524"},{"path":"focused-chunks/chunk-QZRYGYTI.js.map","sha256":"30e88a85f3e6b3f30d2224cc05c2800910c75013c581fc248f6334d8477d2f6f"},{"path":"focused-chunks/chunk-SQ72CVUH.js","sha256":"9f268716e5c819f5e1b79b4400a2634a55beda5522c67e3dbde5521577c051f6"},{"path":"focused-chunks/chunk-SQ72CVUH.js.map","sha256":"b118357ef292995f67094849c57e770832eea744441c75d40abdd47eaa4789fd"},{"path":"focused-chunks/chunk-SQMOF65W.js","sha256":"9472299c86ad45aeea303d128185c974cf88312b71470155acc9b5ac5d2e39a5"},{"path":"focused-chunks/chunk-SQMOF65W.js.map","sha256":"3ed0f72265510580d731bd0901c30665dd8592bd9972069de8ad4756baa2cb32"},{"path":"focused-chunks/chunk-T3ILWAEV.js","sha256":"2d7e6d085c0cc8aedef0e6871683dfa0c5ea0f7363571241425894a039927608"},{"path":"focused-chunks/chunk-T3ILWAEV.js.map","sha256":"4318fba93617abea21e975d1dbeb10de9d575ed639c9a834730b9364c5c63dc9"},{"path":"focused-chunks/chunk-TR22GU7M.js","sha256":"a98fc5c8f3d9995055f531a0fc67b3235f72b99f361bdf4d9db7899aa1ad9e4f"},{"path":"focused-chunks/chunk-TR22GU7M.js.map","sha256":"73129b1525b6a94d7851dbac30b1459a31eed5ca66c33ff0f2aa142c5fcd7ece"},{"path":"focused-chunks/chunk-TXTPAFHJ.js","sha256":"3ec6a5ae84a156fc46ff4be3e77a3b71ac6872ce2ce3407a2ba2ee78e5e97ab8"},{"path":"focused-chunks/chunk-TXTPAFHJ.js.map","sha256":"bfae57bda814efad711c6874aa85b01c1fbc4b5c35ef03c886ef6bf9872131c5"},{"path":"focused-chunks/chunk-VK3IE3TS.js","sha256":"5b7da2b406a901c990abd553cc4ac60daeeab1f81142570a7a664832ea2139b2"},{"path":"focused-chunks/chunk-VK3IE3TS.js.map","sha256":"666060a68925b115ab80e563aa903e390fac7b8d5d76c5634648f16a80dd7469"},{"path":"focused-chunks/chunk-VQIC3UZB.js","sha256":"ecc9dd9f4e67d76170b6abfd891b899fb1f9b7aa2604cab9dfba1cd36a88a8e2"},{"path":"focused-chunks/chunk-VQIC3UZB.js.map","sha256":"80db7377b9d43eefa0a959eda4d8e6f77cf8c997c737f527a6cb8c190368126b"},{"path":"focused-chunks/chunk-W4JMV7GF.js","sha256":"0a0a010cb4ed6376155cbc58b0000c44e8feb5c59c0963ce32310da5dea9b469"},{"path":"focused-chunks/chunk-W4JMV7GF.js.map","sha256":"665c6b53e244e19ca7b6d36cd53d185a16497e72fef8960df73da1a28b2287d1"},{"path":"focused-chunks/chunk-X6CXWWNB.js","sha256":"ce7b75dd08f0c363ab9412a451c0cd63d2a985898b26291ff00ec8b6f955317e"},{"path":"focused-chunks/chunk-X6CXWWNB.js.map","sha256":"896b8382f3dc636d27e3b95da50a5a04ff5e2761f7f44a6f41b54275da5ac916"},{"path":"focused-chunks/chunk-XR6MLUVW.js","sha256":"bc5720f39311a91544abf0823d8e92a171052537ceebdff89bcca547f9cf41a6"},{"path":"focused-chunks/chunk-XR6MLUVW.js.map","sha256":"107bdc50c7776de00c12ddb87a6e08f96377c82f7042a4abf90225e9e9c3baf7"},{"path":"focused-chunks/context-budget-recovery-CSJV3TY3.js","sha256":"40718fe601c25e06a918ff93e676d5d49b483030c97e94f6ae54ef513552b308"},{"path":"focused-chunks/context-budget-recovery-CSJV3TY3.js.map","sha256":"904b87ac8c97989a10a0d567884173c1530a870fb9d75614e176461caf245255"},{"path":"focused-chunks/field-definition-losses-GGA6FUHD.js","sha256":"8fd9ea1601e16840e971e63ea700919e0b2f73f15da05ed13cb31329a77240f4"},{"path":"focused-chunks/field-definition-losses-GGA6FUHD.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/field-option-collisions-2C6DLUC4.js","sha256":"53c78ed90da462f612b1e78a9397933b7489067b676ad198f5612b75b2a1746d"},{"path":"focused-chunks/field-option-collisions-2C6DLUC4.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/indexed-receipt-blobs-EUYZJR5R.js","sha256":"c43f22286a26bd92a39948983d50aaea635127d3ecccb00aa3020c50c3583dc6"},{"path":"focused-chunks/indexed-receipt-blobs-EUYZJR5R.js.map","sha256":"2b587598a5e9c7ea7d9208d8a255923ba6fd0811509903b260d6f4ace9af7418"},{"path":"focused-chunks/item-revision-723XCQPS.js","sha256":"25b1f1d200362983919c22c8bd8ad78ddb13174d07c7767e32b8b4bf82e68937"},{"path":"focused-chunks/item-revision-723XCQPS.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/item-transaction-2K4SFLJ7.js","sha256":"9a09037a9117c230e400d0885e697bcc334e9ec8a67ef50acfcf3c03e532b868"},{"path":"focused-chunks/item-transaction-2K4SFLJ7.js.map","sha256":"a6a605febf8ae79e8ca01c6c99275ace88ad3796cc3c18ffbc03180e5ed615b2"},{"path":"focused-chunks/mutation-actor-DJMZUIZI.js","sha256":"a33f10d929599122c7f2c683cc74790c53daa86d3ff81e08418010be89e4fba3"},{"path":"focused-chunks/mutation-actor-DJMZUIZI.js.map","sha256":"cce3c931c3c53aa9a2bff7cba6383e3ec97b5e141950340b05eb4bb3382fadaf"},{"path":"focused-chunks/mutation-admission-SDWQVVHN.js","sha256":"f56ca2e50504af9a536ab35ce01f136245657e95c817dcfb2bfa8b9cec72ea40"},{"path":"focused-chunks/mutation-admission-SDWQVVHN.js.map","sha256":"b818eb4a1b185706834abb4ba24be6b601b1051a5d960ca57920484932b7624d"},{"path":"focused-chunks/runtime-schema-IDRXWCC4.js","sha256":"35087d95f948fd58b53e547a622bd20483e5b5bdf90c58f968316290dbc2270d"},{"path":"focused-chunks/runtime-schema-IDRXWCC4.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"focused-chunks/settlement-hook-Q6MJQKIE.js","sha256":"734b72b1a413e8b8278fe85f3f9182d31abf223404655fbfcf9944511ffd6f5b"},{"path":"focused-chunks/settlement-hook-Q6MJQKIE.js.map","sha256":"7f4a1a819b9db41b5e3fa55c7c6e830d63b8d00e9cec25306bc997fd5ac2bb5a"},{"path":"focused-chunks/stage-QBZIK3T5.js","sha256":"bbfa6cf45b130e7f9b9b1805b610700a3e7a3ac285ed4d253df567d87e7298f9"},{"path":"focused-chunks/stage-QBZIK3T5.js.map","sha256":"a910b2c7ab962caad03043cd9c377b201fe291b1b35ccff405cc7e8fc206827f"},{"path":"main.js","sha256":"254740a36a6220a817932cd845e837eeaf1fcdb0a0037daba109a45698d4328c"},{"path":"main.js.map","sha256":"7422f1904bc9c3a653e2f1d84ec7008c03e5ddb9a3a81faf3a4a2a4e9049954f"},{"path":"sdk-authoring.js","sha256":"e797c4302485d62b7ab6e54ab3f55b3a392ca77348a37bc46e53e5ddabd29eaf"},{"path":"sdk-authoring.js.map","sha256":"271829f54547a382fc219295ccf532e341dcf0158473c241313443514eb6b2f6"},{"path":"sdk-contracts.js","sha256":"ab0224663b6226938b9da64fca6d21bc2cef1c68a52634bd3fa590976e48340a"},{"path":"sdk-contracts.js.map","sha256":"0cda544bce5e7c59546e24be8627dc68031861b3dcc25ffab55b6b8f08f2b713"},{"path":"sdk-core.js","sha256":"c1a4264b5e2b7458f611bddaa04ca5a0410e800554885459bb0e7ac1e4dae922"},{"path":"sdk-core.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-governance.js","sha256":"c036535e6e6c9045dbde4a1d7095fa02240c853cfc738f9a4eb641d3a27fa3fd"},{"path":"sdk-governance.js.map","sha256":"34b4e21e66ca2345441f4395317893d137370a5d99fdbccf68d982e4d930de84"},{"path":"sdk-graph.js","sha256":"84e3e753e435f145b27d3cd7080daff5561ea86488d83ac82bf1903436e45bfe"},{"path":"sdk-graph.js.map","sha256":"4dc6838f0fc0eb954094996dec1fd44351072930a268403ad8fc28c32ee6e642"},{"path":"sdk-merge.js","sha256":"603a6b5100a8bdf867c57fdbd5a8f1351e40518c7bd157085dbd5cc033d86bdc"},{"path":"sdk-merge.js.map","sha256":"15291bc56f8626b2baaa022498355e706db28a1cb85549ca5976aeb89da9677f"},{"path":"sdk-query.js","sha256":"e40da7bcff37e6be277068817d660129f2ce6661538f27a2d18d402b073230cd"},{"path":"sdk-query.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-runtime.js","sha256":"1a94fb9fb0112cda1d5a236ca16026439475a3111a208c43edcb39ac68a09ff6"},{"path":"sdk-runtime.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk-testing.js","sha256":"71608da6c8cb8fa9070ba228195c18a9adb348cffb8fd6a224ec947894a0b921"},{"path":"sdk-testing.js.map","sha256":"ed562b0bba7ee7214e56ac7f728054b3496bec4597c94a4eb7b4179e6f5cb1c9"},{"path":"sdk.js","sha256":"886349d0d1e3b0e301832347985f2ccdad1b62ce12c4ec5ff35c471e71a24448"},{"path":"sdk.js.map","sha256":"05a75df25cf194b9e7e0718885a32ec918a3ad93b1e9657fe9821870f03f1146"}]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as ne}from"./chunk-
|
|
1
|
+
import{b as ne}from"./chunk-AHV3CSQG.js";import{Ra as K,Ta as Q,Va as Z,Wa as ee}from"./chunk-CBUC4X7Q.js";import{H as te,u as Y}from"./chunk-OXC5KBIQ.js";import{Bg as q,Nb as P,O as U,Qf as X,Xg as J,Yb as G,ac as H,df as j,ff as V,gb as z,gf as B,gg as W,va as F}from"./chunk-NRQCBUYD.js";import{g as $,o as D}from"./chunk-GSLOAEY2.js";import{O as L,Q as y}from"./chunk-I4SPJQQI.js";import{A as c,C as u,E as k,G as E,L as C}from"./chunk-K672XXGQ.js";function ft(t,e){let n=H(t),r=t.length>0?t[t.length-1].after_hash:B(),i=e===void 0||n.item_hash_version===void 0?void 0:V(e,n.item_hash_version,F(t.at(-1)?.hash_algorithm)),a=e===void 0?void 0:i===void 0?j(e):i[Math.max(0,i.indexOf(r))],o=a===void 0?void 0:a===r,s=[...n.errors];return o===!1&&s.push("verify_failed:current_item_hash_mismatch"),{ok:s.length===0,entries:t.length,errors:s,latest_after_hash:t.length>0?t[t.length-1].after_hash:void 0,current_item_hash:a,current_matches_latest:o}}async function _t(t,e,n={}){let r=D(n.cwd??process.cwd(),n.pmRoot);await te(r);let i=await Y(r),a=$(i,J()),o=await ne(r,t,i,a.type_to_folder),s=await P(o.historyPath,o.id);if(s.length===0)throw new u(`No history exists for ${o.id}; point-in-time reads are unavailable.`,c.NOT_FOUND);let p=Q(e,s),x=ee(Z(s,p.historyIndex),p),f=G(x,{schema:i.schema});if(f.metadata.id!==o.id)throw new u(`History target resolved to item ${f.metadata.id}, expected ${o.id}.`,c.GENERIC_FAILURE);let _=s[p.historyIndex],m=K(s,!0);return{document:f,reconstructed:!0,as_of_version:m===null?null:m+p.historyIndex+1,as_of_timestamp:_.ts,target:p,history_length:s.length}}import re from"node:fs/promises";import S from"node:path";function ie(t){return[...new Set(t.map(e=>e.trim()).filter(e=>e.length>0))].sort((e,n)=>e.localeCompare(n))}function l(t){return t.trim().toLowerCase()}function Dt(t){let e=t.trim().toLowerCase().replace(/[^a-z0-9._-]+/g,"-"),n=0;for(;e[n]==="-";)n+=1;let r=e.length;for(;r>n&&e[r-1]==="-";)r-=1;let i=e.slice(n,r);if(i.length===0)throw new u("Extension manifest name must resolve to a non-empty directory name.",c.USAGE);if(i==="."||i==="..")throw new u('Extension manifest name must not resolve to "." or "..".',c.USAGE);return i}function ye(t){return W(t)}async function ge(t){try{let e=JSON.parse(await re.readFile(S.join(t,"package.json"),"utf8")),n=typeof e.name=="string"&&/^(?:@[a-z0-9._~-]+\/)?[a-z0-9._~-]+$/iu.test(e.name)?e.name:void 0;return{...n?{package_name:n}:{},has_build_script:["build","prepare","prepack"].some(r=>typeof e.scripts?.[r]=="string")}}catch{return{has_build_script:!1}}}async function Ee(t,e,n){if(n.source_kind!=="github"||typeof n.source_root!="string")return new u(`Extension entry file is missing at "${e}".`,c.USAGE);let r=await ge(n.source_root),i=r.package_name?`pm package install npm:${r.package_name}`:void 0,a=n.source_input??n.source_root;return new u(`Extension entry "${t.entry}" is absent from GitHub source "${a}". pm package install copies GitHub repositories without running package scripts${r.has_build_script?", and this package declares a build or publish script":""}. ${i?`Try "${i}" if the package is published, or install a locally built directory.`:"Build the source locally and install that directory, or use its published npm: package."}`,c.USAGE,{code:"github_source_entry_unbuilt",required:"Use a GitHub tree with committed runtime output, a published npm artifact, or a locally built source directory.",why:"GitHub installation is a source copy and never executes untrusted package build scripts.",examples:i?[i,`pm package install ${n.source_root}`]:[`pm package install ${n.source_root}`],nextSteps:i?[`Retry with ${i}.`,"Or build the repository locally, then install its directory."]:["Build the repository locally, then install its directory.","If it is published, retry with pm package install npm:<package-name>."],recovery:{attempted_command:`pm install ${a}`,normalized_args:["install",a],...i?{next_best_command:i}:{}}})}async function Ut(t,e={}){let n=S.join(t,"manifest.json");if(!await k(n))throw new u(`Extension manifest is missing at "${n}".`,c.USAGE);let r;try{r=JSON.parse(await re.readFile(n,"utf8"))}catch(o){throw new u(`Failed to parse extension manifest at "${n}": ${ve(o)}`,c.USAGE)}let i=ye(r);if(!i)throw new u(`Extension manifest at "${n}" is invalid.`,c.USAGE);let a=S.resolve(t,i.entry);if(!U(t,a))throw new u(`Extension entry "${i.entry}" resolves outside extension directory "${t}".`,c.USAGE);if(!await k(a))throw await Ee(i,a,e);if(!await q(t,a))throw new u(`Extension entry "${i.entry}" resolves outside extension directory after symlink resolution.`,c.USAGE);return{directory:t,manifest_path:n,entry_path:a,manifest:i}}function ve(t){return t instanceof Error?t.message:String(t)}import A from"node:fs/promises";import be from"node:path";var we=".managed-extensions.json",v=1;function b(t){return be.join(t,we)}function xe(){return{version:v,updated_at:y(),entries:[]}}function M(t){return[...t].sort((e,n)=>{let r=e.scope.localeCompare(n.scope);if(r!==0)return r;let i=e.name.localeCompare(n.name);return i!==0?i:e.directory.localeCompare(n.directory)})}function Xt(t,e){return t.kind!==e.kind||t.input!==e.input||t.location!==e.location?!1:t.kind==="npm"&&e.kind==="npm"?t.package===e.package&&t.version===e.version:t.kind==="github"&&e.kind==="github"?t.repository===e.repository&&t.ref===e.ref&&t.subpath===e.subpath&&t.commit===e.commit:t.kind==="builtin"&&e.kind==="builtin"?t.name===e.name:!0}function d(t){return typeof t=="string"?t:void 0}var ke=/^(?:npm_registry|github_remote)_lookup_timed_out$/u;function Se(t,e){let n=d(e);return n===void 0||t.kind!=="github"||n.trim().length===0||/^[a-z0-9_]+$/u.test(n.trim())?n:"github_remote_lookup_failed"}function ae(t){return typeof t=="string"&&ke.test(t.trim())}function Ae(t,e){return ae(t)&&typeof e=="number"&&Number.isSafeInteger(e)&&e>0?{update_check_timeout_ms:e}:{}}function Me(t){return typeof t.name=="string"&&t.name.trim().length>0&&typeof t.directory=="string"&&t.directory.trim().length>0&&(t.scope==="project"||t.scope==="global")&&typeof t.manifest_version=="string"&&typeof t.manifest_entry=="string"&&Array.isArray(t.capabilities)&&t.capabilities.every(e=>typeof e=="string")&&typeof t.installed_at=="string"&&typeof t.updated_at=="string"}function Ie(t){if(typeof t!="object"||t===null)return null;let e=t;return e.kind!=="local"&&e.kind!=="github"&&e.kind!=="npm"&&e.kind!=="builtin"||typeof e.input!="string"||typeof e.location!="string"?null:{kind:e.kind,input:e.input,location:e.location,name:d(e.name),package:d(e.package),version:d(e.version),repository:d(e.repository),owner:d(e.owner),repo:d(e.repo),ref:d(e.ref),subpath:d(e.subpath),commit:d(e.commit)}}function Ne(t){if(typeof t!="object"||t===null)return null;let e=t;if(!Me(e))return null;let n=Ie(e.source);if(!n)return null;let r=X(e.contributions);return r===null?null:{name:e.name.trim(),directory:e.directory.trim(),scope:e.scope,manifest_version:e.manifest_version,manifest_entry:e.manifest_entry,capabilities:ie(e.capabilities),contributions:r,installed_at:e.installed_at,updated_at:e.updated_at,source:n,last_update_check_at:d(e.last_update_check_at),last_update_remote_commit:d(e.last_update_remote_commit),last_update_remote_version:d(e.last_update_remote_version),update_available:ae(e.update_error)?null:typeof e.update_available=="boolean"||e.update_available===null?e.update_available:void 0,update_error:Se(n,e.update_error),...Ae(e.update_error,e.update_check_timeout_ms)}}function I(t){if(typeof t!="object"||t===null)return null;let e=t;if(e.version!==v||!Array.isArray(e.entries))return null;let n=[];for(let r of e.entries){let i=Ne(r);i&&n.push(i)}return{version:v,updated_at:d(e.updated_at)??y(),entries:M(n)}}async function Wt(t){let e=b(t),n=xe();try{let r=await A.readFile(e,"utf8"),i=JSON.parse(r),a=I(i);if(!a)throw new u(`Managed extension state file "${e}" has an invalid schema. Repair or remove it before mutating extension state.`,c.GENERIC_FAILURE);return{path:e,state:a,warnings:[]}}catch(r){if(r instanceof u)throw r;if(typeof r=="object"&&r!==null&&"code"in r&&E(r))return{path:e,state:n,warnings:[]};throw new u(`Managed extension state file "${e}" could not be read. Repair or remove it before mutating extension state.`,c.GENERIC_FAILURE)}}async function Oe(t,e){let n=b(t),r={version:v,updated_at:y(),entries:M(e.entries)};await A.mkdir(t,{recursive:!0}),await A.writeFile(n,`${JSON.stringify(r,null,2)}
|
|
2
2
|
`,"utf8")}function Te(t,e){let n=t.entries.filter(r=>l(r.name)!==l(e.name)&&l(r.directory)!==l(e.directory));return n.push(e),{...t,updated_at:y(),entries:M(n)}}async function qt(t,e,n,r){let i=e.entries.find(o=>l(o.name)===l(n));if(!i)return e;let a=Te(e,{...i,contributions:r});return await Oe(t,a),a}import oe from"npm-package-arg";import N from"semver";var Re=new Set(["tag","version","range"]);function Ce(t){try{let e=oe(t),n=e.subSpec;return e.type==="alias"?n?.type:e.type}catch{return}}function O(t){if(t.kind!=="npm")return!1;let e=t.input.startsWith("npm:")?t.input.slice(4).trim():t.input.trim(),n=Ce(e);return n!==void 0&&Re.has(n)}function T(t){try{return oe.resolve("pm-version-probe",t).type==="version"}catch{return!1}}function se(t,e){let n=N.parse(t,{loose:!0}),r=N.parse(e,{loose:!0});return n===null||r===null?t!==e:N.gt(n,r)}import{constants as ce}from"node:fs";import w from"node:fs/promises";import h from"node:path";var $e="extension-update-observations.json",de=1,De=64*1024,Ue=16*1024*1024,le=1024*1024,Le=300*1e3,ue=2e3;function pe(t){return h.join(t,"runtime",$e)}var me=256;function g(t,e){let n=t[e];return typeof n=="string"&&n.length>0&&n.length<=me?n:void 0}function Fe(t){let e=Date.parse(t);return Number.isFinite(e)&&e<=Date.now()+Le}function ze(t){return t.remote_version===void 0||t.remote_version===null?null:g(t,"remote_version")}function Pe(t){if(typeof t!="object"||t===null||Array.isArray(t))return;let e=t,n=g(e,"name"),r=g(e,"installed_version"),i=g(e,"installed_updated_at"),a=g(e,"checked_at"),o=ze(e);if(!(n===void 0||r===void 0||i===void 0||o===void 0)&&!(a===void 0||!Fe(a)||typeof e.update_available!="boolean"))return{name:n,installed_version:r,installed_updated_at:i,remote_version:o,update_available:e.update_available,checked_at:a}}var Ge=".stale-cleanup",He=64*1024;async function je(t){try{let e=await w.lstat(t);return!e.isFile()||e.size>He}catch{return!1}}async function fe(t){try{return!(await w.lstat(t)).isDirectory()}catch{return!1}}async function Ve(t){let e=pe(t);try{if(await fe(h.dirname(e)))return[];let n=await _e(e,le);if(n===void 0)return[];let r=JSON.parse(n),i=typeof r=="object"&&r!==null?r:{};return(i.version===de&&Array.isArray(i.observations)?i.observations:[]).flatMap(o=>Pe(o)??[])}catch{return[]}}function Be(t=ce,e=!1){return t.O_RDONLY|(e?0:t.O_NOFOLLOW??0)|(t.O_NONBLOCK??0)}async function _e(t,e,n={}){if(n.followLinks!==!0&&!(await w.lstat(t)).isFile())return;let r=await w.open(t,Be(ce,n.followLinks===!0));try{if(!(await r.stat()).isFile())return;let i=Buffer.alloc(Math.min(De,e+1)),a=[],o=0;for(;o<=e;){let{bytesRead:s}=await r.read(i,0,Math.min(i.length,e+1-o),o);if(s===0)break;a.push(Buffer.from(i.subarray(0,s))),o+=s}return o>e?void 0:Buffer.concat(a,o).toString("utf8")}finally{await r.close()}}function Xe(t){return t.flatMap(e=>typeof e.last_update_check_at=="string"&&e.update_error===void 0&&typeof e.update_available=="boolean"&&(e.source.kind==="github"||O(e.source))&&[e.name,e.manifest_version,e.updated_at,e.last_update_remote_version??""].every(n=>n.length<=me)?[{name:e.name,installed_version:e.manifest_version,installed_updated_at:e.updated_at,remote_version:e.last_update_remote_version??e.last_update_remote_commit?.slice(0,12)??null,update_available:e.update_available,checked_at:e.last_update_check_at}]:[]).sort((e,n)=>e.name.localeCompare(n.name))}async function We(t){let e;try{e=await _e(b(t),Ue,{followLinks:!0})}catch(n){return E(n)?[]:void 0}if(e!==void 0)try{let n=JSON.parse(e),r=I(n),i=n.entries;return r!==null&&Array.isArray(i)&&i.length===r.entries.length?r.entries:void 0}catch{return}}function R(t){let e=new Map;for(let n of t){let r=`${l(n.name)}\0${n.installed_version}\0${n.installed_updated_at}`,i=e.get(r);(i===void 0||Date.parse(i.checked_at)<=Date.parse(n.checked_at))&&e.set(r,n)}return[...e.values()]}function qe(t,e){return l(t.name)===l(e.name)&&t.installed_version===e.manifest_version&&t.installed_updated_at===e.updated_at}async function Je(t,e,n){if(n.length===0)return;let r=pe(t),i=async()=>{if(await fe(h.dirname(r)))throw new Error(`${h.dirname(r)} is not a directory`)};await i();let a=h.join(t,"locks","extension-update-observations.lock");for(let s of[a,h.join(`${a}${Ge}`,"owner.json")])if(await je(s))throw new Error("update observation lock metadata is not a small regular file");let o=await z(t,"extension-update-observations",30,"pm package manage",!1,!1,ue,{maxWaitMs:ue});try{await i();let s=[...await Ve(t),...n],p=await We(e),x=(p===void 0?R(s):p.flatMap(_=>R(s.filter(m=>qe(m,_)&&he(m,_.source))))).sort((_,m)=>_.name.localeCompare(m.name)),f=`${JSON.stringify({version:de,observations:x},null,2)}
|
|
3
3
|
`;if(Buffer.byteLength(f,"utf8")>le)throw new Error("update observation record exceeds its size limit");await o.fence(()=>C(r,f))}finally{await o.release()}}async function dn(t,e,n,r){if(!(r||L()))try{await Je(t,e,Xe(n));return}catch(i){let a=i?.context?.code;return typeof a=="string"&&a.length>0?`extension_update_observation_write_failed:${a}`:"extension_update_observation_write_failed"}}function ln(t,e){if(typeof e.version!="string"||e.updated_at===void 0)return;let n=l(e.name);return R(t.filter(r=>l(r.name)===n&&r.installed_version===e.version&&r.installed_updated_at===e.updated_at&&he(r,e.source)))[0]}function Ye(t,e){let n=e?.trim().toLowerCase(),r=t.remote_version?.toLowerCase();return!n||r===void 0||!/^[0-9a-f]{7,40}$/u.test(r)?!1:n.startsWith(r)!==t.update_available}function he(t,e){return e===void 0?!0:e.kind==="github"?Ye(t,e.commit):O(e)?typeof e.version=="string"&&T(e.version)&&t.remote_version!==null&&T(t.remote_version)&&se(t.remote_version,e.version)===t.update_available:t.update_available===!1}function pn(t){return t?.update_available===!0?t.remote_version??"available":null}export{ft as a,_t as b,ie as c,l as d,Dt as e,ye as f,Ut as g,b as h,M as i,Xt as j,I as k,Wt as l,Oe as m,Te as n,qt as o,O as p,se as q,Ve as r,_e as s,We as t,dn as u,ln as v,pn as w};
|
|
4
|
-
//# sourceMappingURL=chunk-
|
|
4
|
+
//# sourceMappingURL=chunk-3HKPVOAN.js.map
|