openmeld 0.3.201 → 0.3.202
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/dist/{add-me-membership-Bydm456C.js → add-me-membership-D0L-Rp2b.js} +2 -2
- package/dist/{add-me-membership-Bydm456C.js.map → add-me-membership-D0L-Rp2b.js.map} +1 -1
- package/dist/{agents-BYLmArr0.js → agents-DVvxGswx.js} +44 -27
- package/dist/agents-DVvxGswx.js.map +1 -0
- package/dist/{command-Biznp-FO.js → command-BzeF8e-W.js} +4 -4
- package/dist/{command-Biznp-FO.js.map → command-BzeF8e-W.js.map} +1 -1
- package/dist/{computer-setup-continuation-DPkzUv_T.js → computer-setup-continuation-C9zIfXWR.js} +3 -3
- package/dist/{computer-setup-continuation-DPkzUv_T.js.map → computer-setup-continuation-C9zIfXWR.js.map} +1 -1
- package/dist/{elapsed-time-ChC30u7g.js → elapsed-time-D6W25QcX.js} +2 -2
- package/dist/{elapsed-time-ChC30u7g.js.map → elapsed-time-D6W25QcX.js.map} +1 -1
- package/dist/{installer-Bjx_CtON.js → installer-7q1TA-GA.js} +2 -2
- package/dist/{installer-Bjx_CtON.js.map → installer-7q1TA-GA.js.map} +1 -1
- package/dist/{openmeld-B7cwCTxb.js → openmeld-Bg8kXoGJ.js} +16 -15
- package/dist/openmeld-Bg8kXoGJ.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DHQqf3DT.js → openmeld-maintenance-worker-CWzu4s1v.js} +4 -4
- package/dist/{openmeld-maintenance-worker-DHQqf3DT.js.map → openmeld-maintenance-worker-CWzu4s1v.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-Bf8KyI6N.js → openmeld-tools-update-coordinator-DNMcMykJ.js} +868 -488
- package/dist/openmeld-tools-update-coordinator-DNMcMykJ.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{prepare-session-executor-BOXF8ZE2.js → prepare-session-executor-B0_X-Fy6.js} +8 -8
- package/dist/prepare-session-executor-B0_X-Fy6.js.map +1 -0
- package/dist/upgrade-C8AKw9NW.js +4 -0
- package/dist/{upgrade-CdzOmo7O.js → upgrade-GoG7-WEn.js} +17 -254
- package/dist/upgrade-GoG7-WEn.js.map +1 -0
- package/package.json +1 -1
- package/dist/agents-BYLmArr0.js.map +0 -1
- package/dist/openmeld-B7cwCTxb.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-Bf8KyI6N.js.map +0 -1
- package/dist/prepare-session-executor-BOXF8ZE2.js.map +0 -1
- package/dist/upgrade-CdzOmo7O.js.map +0 -1
- package/dist/upgrade-DxRpsPL9.js +0 -4
package/dist/{computer-setup-continuation-DPkzUv_T.js → computer-setup-continuation-C9zIfXWR.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { f as hasPendingComputerSetupContinuation, g as resumeInterruptedComputerSetup } from "./auth-session-CJyZ6pcf.js";
|
|
4
|
-
import { qt as createPresenter } from "./elapsed-time-
|
|
5
|
-
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-
|
|
4
|
+
import { qt as createPresenter } from "./elapsed-time-D6W25QcX.js";
|
|
5
|
+
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-B0_X-Fy6.js";
|
|
6
6
|
import { setTimeout } from "node:timers/promises";
|
|
7
7
|
//#region src/commands/computer-setup-continuation.ts
|
|
8
8
|
const runtime = {
|
|
@@ -39,4 +39,4 @@ async function recoverComputerSetupAfterBackgroundUpdate() {
|
|
|
39
39
|
//#endregion
|
|
40
40
|
export { finishComputerSetupAfterBackgroundUpdate, recoverComputerSetupAfterBackgroundUpdate };
|
|
41
41
|
|
|
42
|
-
//# sourceMappingURL=computer-setup-continuation-
|
|
42
|
+
//# sourceMappingURL=computer-setup-continuation-C9zIfXWR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-setup-continuation-
|
|
1
|
+
{"version":3,"file":"computer-setup-continuation-C9zIfXWR.js","names":["sleep"],"sources":["../src/commands/computer-setup-continuation.ts"],"sourcesContent":["import { setTimeout as sleep } from \"node:timers/promises\";\nimport {\n hasPendingComputerSetupContinuation,\n resumeInterruptedComputerSetup,\n} from \"../config/auth-session\";\nimport { mintPrepareSessionReconnectToken } from \"../config/prepare-session-api\";\nimport { createPresenter } from \"../runtime/presenter/index\";\nimport type { RuntimeContext } from \"../runtime/types\";\nimport { recoverInterruptedComputerAuthHandoff } from \"./computer-auth-handoff-recovery\";\nimport { runPrepareSessionExecutor } from \"./prepare-session-executor\";\n\nconst runtime: RuntimeContext = {\n interactive: false,\n resolvedView: \"agent\",\n viewMode: \"agent\",\n};\n\n// Called only by the existing OS-owned maintenance worker after its update.\n// The live Terminal keeps ownership. If it exits, continue the same Core\n// Prepare session using the existing auth journal, not a second setup plan.\nexport async function finishComputerSetupAfterBackgroundUpdate(): Promise<void> {\n while (await hasPendingComputerSetupContinuation()) {\n const resumed = await resumeInterruptedComputerSetup(\n async (continuation) => {\n const { snapshot, opaqueToken } =\n await mintPrepareSessionReconnectToken({\n baseUrl: continuation.gatewayUrl,\n prepareSessionId: continuation.prepareSessionId,\n });\n if (\n snapshot.lifecycleStatus !== \"active\" &&\n snapshot.lifecycleStatus !== \"completed\"\n ) {\n return \"not_completed\";\n }\n const result = await runPrepareSessionExecutor({\n gatewayUrl: continuation.gatewayUrl,\n initialSnapshot: snapshot,\n interactive: false,\n localAgentSelection: continuation.localAgentSelection,\n presenter: createPresenter(runtime),\n runtime,\n startSession: opaqueToken,\n view: \"agent\",\n });\n return result.status;\n }\n );\n if (!resumed) {\n await sleep(500);\n }\n }\n}\n\n// Run after the completed update has released its pending job. Account rollback\n// uses the existing handoff recovery, which itself waits for active updates.\nexport async function recoverComputerSetupAfterBackgroundUpdate(): Promise<void> {\n await recoverInterruptedComputerAuthHandoff({\n presenter: createPresenter(runtime),\n runtime,\n view: \"agent\",\n });\n}\n"],"mappings":";;;;;;;AAWA,MAAM,UAA0B;CAC9B,aAAa;CACb,cAAc;CACd,UAAU;AACZ;AAKA,eAAsB,2CAA0D;CAC9E,OAAO,MAAM,oCAAoC,GA2B/C,IAAI,CAAC,MA1BiB,+BACpB,OAAO,iBAAiB;EACtB,MAAM,EAAE,UAAU,gBAChB,MAAM,iCAAiC;GACrC,SAAS,aAAa;GACtB,kBAAkB,aAAa;EACjC,CAAC;EACH,IACE,SAAS,oBAAoB,YAC7B,SAAS,oBAAoB,aAE7B,OAAO;EAYT,QAAO,MAVc,0BAA0B;GAC7C,YAAY,aAAa;GACzB,iBAAiB;GACjB,aAAa;GACb,qBAAqB,aAAa;GAClC,WAAW,gBAAgB,OAAO;GAClC;GACA,cAAc;GACd,MAAM;EACR,CAAC,EAAA,CACa;CAChB,CACF,GAEE,MAAMA,WAAM,GAAG;AAGrB;AAIA,eAAsB,4CAA2D;CAC/E,MAAM,sCAAsC;EAC1C,WAAW,gBAAgB,OAAO;EAClC;EACA,MAAM;CACR,CAAC;AACH"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { Cs as formatProfileAwareOpenMeldCliCommand, Ro as package_default, Ss as formatOpenMeldCliTextBlock, To as readPendingDaemonServiceUpdate, _o as OPENMELD_VERSION, bs as formatOpenMeldCliCommands, f as readLastOpenMeldToolsUpdateAttempt, p as readPendingOpenMeldToolsUpdateAttempt, vs as formatInlineOpenMeldCliCommands, wo as readLastDaemonServiceUpdate, xs as formatOpenMeldCliLine, ys as formatOpenMeldCliCommand } from "./openmeld-tools-update-coordinator-DNMcMykJ.js";
|
|
4
4
|
import { Hi as trimmedStringFromUnknown, Ji as shouldPreferMappedPublicAgentFailureReason, Wi as resolveMappedPublicAgentFailureReason } from "./profiles-CxclDtCJ.js";
|
|
5
5
|
import * as z$1 from "zod/v4";
|
|
6
6
|
import { setTimeout } from "node:timers/promises";
|
|
@@ -3215,4 +3215,4 @@ function formatElapsedTime(durationMs) {
|
|
|
3215
3215
|
//#endregion
|
|
3216
3216
|
export { buildAgentFacingMentalModelLines as $, createSpaceMenuGuideError as A, validateDaemonControlTargetInput as At, createSpaceSendInputRequiredGuideError as B, formatDualViewGuideForDisplay as Bt, createSpaceAddMembersGuideError as C, getSkillsTargetSelectionOptionalArguments as Ct, createSpaceDeleteHumanApprovalGuideError as D, formatCliVersionSummary as Dt, createSpaceCreateGuideError as E, validateSkillsTargetSelectionInput as Et, createSpaceRemoveMembersGuideError as F, getBuiltinAgentSelectionRequiredArguments as Ft, createStartAgentIdentityGuideError as G, waitForOpenMeldToolsUpdateCompletion as Gt, createSpaceTargetGuideError as H, formatAgentOverviewPayload as Ht, createSpaceResultGuideError as I, registerBuiltinAgentSelectionOptions as It, OPENMELD_AGENT_MENTAL_MODEL_LINES as J, sanitizeTerminalDisplayText as Jt, createStartAuthenticationGuideError as K, resolveOpenMeldToolsUpdateOperation as Kt, createSpaceSendInputConflictGuideError as L, validateBuiltinAgentSelectionInput as Lt, createSpacePublicationSetGuideError as M, buildBuiltinAgentSelectionCommand as Mt, createSpaceRemoveMembersCreatorGuideError as N, buildBuiltinAgentSelectionExamples as Nt, createSpaceLeaveCreatorGuideError as O, getCliVersionInfo as Ot, createSpaceRemoveMembersCurrentProfileGuideError as P, getBuiltinAgentSelectionOptionalArguments as Pt, areAllowedActionsEquivalent as Q, outLine as Qt, createSpaceSendInputEmptyGuideError as R, buildAgentOverviewFromContract as Rt, createSpaceAddMembersCurrentProfileGuideError as S, buildSkillsTargetSelectionExamples as St, createSpaceContractSetGuideError as T, registerSkillsTargetSelectionOptions as Tt, createSpaceUnsupportedProfileKindGuideError as U, resolveExternalOpenMeldToolsUpdate as Ut, createSpaceSubcommandTargetGuideError as V, buildDualViewGuideMessage as Vt, createSpaceUpdatesGuideError as W, waitForExternalOpenMeldToolsUpdate as Wt, SPACE_CONTRACT_ALLOWED_ACTION_ORDER as X, errLine as Xt, SPACE_COLLABORATION_CONTEXT_RULE as Y, formatMessage as Yt, SPACE_PERSONAL_CONTRIBUTION_RULE as Z, outJsonLine as Zt, createProfileActionGuideError as _, registerSpaceMemberSelectionOptions as _t, formatDaemonServiceDowngradeBlockedRecommendation as a, buildSpaceWakeParticipantLines as at, createResetConfirmationGuideError as b, SPACE_ADD_MEMBERS_PROGRESS_HEARTBEAT_MS as bt, formatDaemonServiceMissingRecommendation as c, deriveContinuity as ct, formatDaemonServiceMissingStatus as d, resolvePublicAgentFailureReason as dt, buildAgentFacingPublicationModeGuideLines as et, getDaemonDowngradeBlockedTitle as f, resolveSpacePublicationRequirement as ft, createDoctorFailedGuideError as g, ROOT_ENTRY_START_COMMAND as gt, createAuthLoginGuideError as h, ROOT_ENTRY_COMMANDS as ht, formatDaemonInstallFailedMessage as i, buildSpaceEntryBriefNeedMoreLine as it, createSpaceProfileRequiredGuideError as j, registerAuthLoginRequestOptions as jt, createSpaceLeaveGuideError as k, registerDaemonControlTargetOptions as kt, formatDaemonServiceMissingRunStepOne as l, isSelfWakeSpaceAction as lt, canUseInteractivePrompts as m, getCommandHintsFromContract as mt, resolveElapsedTimeMs as n, buildCompactDispatchActionGuidanceLines as nt, formatDaemonServiceMissingAction as o, canonicalizeAllowedActions as ot, runDaemonInstallDecisionPrompt as p, getCommandEntryContract as pt, createUpgradeConfirmationGuideError as q, createPresenter as qt, formatDaemonDowngradeBlockedNextStep as r, buildSpaceAgentIdentityLine as rt, formatDaemonServiceMissingMeaning as s, composeDispatchBrief as st, formatElapsedTime as t, buildCenterAgentRoleTemplateText as tt, formatDaemonServiceMissingRunStepTwo as u, renderSpaceEntryBrief as ut, createProfileCreateGuideError as v, validateSpaceMemberSelectionInput as vt, createSpaceAliasTargetGuideError as w, getSkillsTargetSelectionRequiredArguments as wt, createSkillsActionGuideError as x, resolveSpaceAddMembersProgressPhase as xt, createProfileMenuGuideError as y, SPACE_ADD_MEMBERS_AGENT_OVERVIEW_STAGES as yt, createSpaceSendInputFileReadFailedGuideError as z, DualViewGuideError as zt };
|
|
3217
3217
|
|
|
3218
|
-
//# sourceMappingURL=elapsed-time-
|
|
3218
|
+
//# sourceMappingURL=elapsed-time-D6W25QcX.js.map
|