openmeld 0.3.204 → 0.3.206
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-RRltMq3f.js → add-me-membership-BkHWMxE4.js} +2 -2
- package/dist/{add-me-membership-RRltMq3f.js.map → add-me-membership-BkHWMxE4.js.map} +1 -1
- package/dist/{agents-CQlCI9-A.js → agents-BOTlKiwS.js} +901 -499
- package/dist/agents-BOTlKiwS.js.map +1 -0
- package/dist/{api-client-foundation-DdImzphz.js → api-client-foundation-6ms5gSu8.js} +1 -1
- package/dist/{api-client-foundation-CStvOzAU.js → api-client-foundation-DpgDs0rw.js} +17 -7
- package/dist/api-client-foundation-DpgDs0rw.js.map +1 -0
- package/dist/{auth-session-BKtdaSHC.js → auth-session-BjSqMLTz.js} +187 -56
- package/dist/auth-session-BjSqMLTz.js.map +1 -0
- package/dist/auth-session-ahQ5VXiF.js +4 -0
- package/dist/{base-url-jWXPssF_.js → base-url-9A557X2K.js} +2 -2
- package/dist/{base-url-jWXPssF_.js.map → base-url-9A557X2K.js.map} +1 -1
- package/dist/{base-url-C89TOpPV.js → base-url-CRAYNW-4.js} +1 -1
- package/dist/{command-Bw24V9uI.js → command-CkbzbvXy.js} +10 -10
- package/dist/{command-Bw24V9uI.js.map → command-CkbzbvXy.js.map} +1 -1
- package/dist/{computer-setup-continuation-CHSesXzR.js → computer-setup-continuation-Cd9nhLQ-.js} +4 -4
- package/dist/{computer-setup-continuation-CHSesXzR.js.map → computer-setup-continuation-Cd9nhLQ-.js.map} +1 -1
- package/dist/dist-0boZRalP.js +4 -0
- package/dist/{dist-C2XTwHAi.js → dist-CxadJClH.js} +3692 -3557
- package/dist/dist-CxadJClH.js.map +1 -0
- package/dist/{elapsed-time-G3Sw-Sx-.js → elapsed-time-C7P-nWIO.js} +3 -3
- package/dist/{elapsed-time-G3Sw-Sx-.js.map → elapsed-time-C7P-nWIO.js.map} +1 -1
- package/dist/{installer-BtpNAUaE.js → installation-inventory-P49sTjhe.js} +359 -359
- package/dist/installation-inventory-P49sTjhe.js.map +1 -0
- package/dist/{openmeld-BnPEUym-.js → openmeld-ChOHuaqH.js} +20 -16
- package/dist/openmeld-ChOHuaqH.js.map +1 -0
- package/dist/openmeld-dev.js +1 -1
- package/dist/{openmeld-maintenance-worker-Jqau4x_b.js → openmeld-maintenance-worker-C7WykyDt.js} +5 -5
- package/dist/{openmeld-maintenance-worker-Jqau4x_b.js.map → openmeld-maintenance-worker-C7WykyDt.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-IT456QkB.js → openmeld-tools-update-coordinator-BBZhGo1A.js} +54 -50
- package/dist/openmeld-tools-update-coordinator-BBZhGo1A.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{prepare-session-executor-BU8LxDZW.js → prepare-session-executor-CLmDoHom.js} +9 -9
- package/dist/{prepare-session-executor-BU8LxDZW.js.map → prepare-session-executor-CLmDoHom.js.map} +1 -1
- package/dist/{profiles-B-d-Co3d.js → profiles-BCecj4Pj.js} +401 -397
- package/dist/profiles-BCecj4Pj.js.map +1 -0
- package/dist/upgrade-BKEAZKre.js +4 -0
- package/dist/{upgrade-DR54reUV.js → upgrade-l_5Tge_z.js} +4 -4
- package/dist/{upgrade-DR54reUV.js.map → upgrade-l_5Tge_z.js.map} +1 -1
- package/dist/{urls-4D7CaXe3.js → urls-CY2uzH2-.js} +2 -1
- package/dist/urls-CY2uzH2-.js.map +1 -0
- package/package.json +1 -1
- package/dist/agents-CQlCI9-A.js.map +0 -1
- package/dist/api-client-foundation-CStvOzAU.js.map +0 -1
- package/dist/auth-session-BKtdaSHC.js.map +0 -1
- package/dist/auth-session-Dz78zukO.js +0 -4
- package/dist/dist-BYU26WVn.js +0 -4
- package/dist/dist-C2XTwHAi.js.map +0 -1
- package/dist/installer-BtpNAUaE.js.map +0 -1
- package/dist/openmeld-BnPEUym-.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-IT456QkB.js.map +0 -1
- package/dist/profiles-B-d-Co3d.js.map +0 -1
- package/dist/upgrade-ByXRAj9S.js +0 -4
- package/dist/urls-4D7CaXe3.js.map +0 -1
package/dist/{computer-setup-continuation-CHSesXzR.js → computer-setup-continuation-Cd9nhLQ-.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { f as hasPendingComputerSetupContinuation,
|
|
4
|
-
import { qt as createPresenter } from "./elapsed-time-
|
|
5
|
-
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-
|
|
3
|
+
import { f as hasPendingComputerSetupContinuation, v as resumeInterruptedComputerSetup } from "./auth-session-BjSqMLTz.js";
|
|
4
|
+
import { qt as createPresenter } from "./elapsed-time-C7P-nWIO.js";
|
|
5
|
+
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-CLmDoHom.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-Cd9nhLQ-.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-setup-continuation-
|
|
1
|
+
{"version":3,"file":"computer-setup-continuation-Cd9nhLQ-.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"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import { $ as buildLocalFolderPickerPath, $t as createProfilesApi, A as buildCurrentOrganizationDirectoryPath, At as createAccountSpaceIndexApi, B as buildCurrentOrganizationMessageChannelsPath, Bt as createFetchTransport, C as buildCenterAgentSessionPath, Cn as updateSpaceMeta, Ct as buildRoutineTargetSpacesPath, D as buildCurrentAgentProfileSessionRoute, Dt as buildSpaceInboxReadThroughPath, E as buildComputerFileAccessUpdatePath, Et as buildSpaceBootstrapReadPath, F as buildCurrentOrganizationMessageChannelPath, Ft as createComputerFileAccessApi, G as buildFeedbackIssueSubmissionPath, Gt as createOpenMeldApiClient, H as buildCurrentOrganizationSpacesWithMemberCountsPath, Ht as createLocalFolderPickerApi, I as buildCurrentOrganizationMessageChannelRegistrationPath, It as createConfigApi, J as buildInboxItemReadPath, Jt as createOrganizationSkillsApi, K as buildInboxItemDismissPath, Kt as createOrganizationApi, L as buildCurrentOrganizationMessageChannelRegistrationPollPath, Lt as createCurrentDeviceApi, M as buildCurrentOrganizationInformationProtectionPath, Mt as createAgentProfileBindingApi, N as buildCurrentOrganizationLogoPath, Nt as createAgentProfileWorkRecoveryApi, O as buildCurrentOrganizationCenterAgentMemoryWipeSelfPath, Ot as buildSpaceInboxSummaryPath, P as buildCurrentOrganizationMemberOpenMeldServiceStatusesPath, Pt as createCenterAgentApi, Q as buildInboxSummaryPath, Qt as createProfileSpaceHistoryApi, R as buildCurrentOrganizationMessageChannelRegistrationsPath, Rt as createDirectMessageApi, S as buildCenterAgentProfilePath, Sn as updateSpaceFileEntry, St as buildRoutineRunsPath, T as buildComputerFileAccessReadPath, Tn as uploadSpaceFile, Tt as buildSpaceAttachmentDownloadPath, U as buildDirectMessageConversionPath, Ut as createLocalProjectControlApi, V as buildCurrentOrganizationSpacesPath, Vt as createInboxApi, W as buildDirectMessageSpacePath, Wt as createLocalRuntimeExpectedRoutesApi, X as buildInboxPath, Xt as createPluginsApi, Y as buildInboxMarkAllReadPath, Yt as createOrganizationUsageApi, Z as buildInboxPreferencesPath, Zt as createPrepareReadinessApi, _ as buildCenterAgentDirectMessageSpacePath, _n as resolveProfileSpaceHistoryGatewayHost, _t as buildProjectPath, a as buildAgentActivitySessionsPath, an as createSpaceApi, at as buildOrganizationDocumentsPath, b as buildCenterAgentMemberResearchPath, bn as trashSpaceFileEntry, bt as buildRoutinePausePath, c as buildAgentProfileCreationApprovalPreferencePath, cn as getModelCatalog, ct as buildOrganizationSkillGitHubPreviewPath, d as buildAgentProfileCreationRequestDecisionPath, dn as listSpaceFiles, dt as buildOrganizationSkillsPath, en as createProjectsApi, et as buildLocalProjectControlPath, f as buildAgentProfileCreationRequestRetryPath, fn as normalizeApiBaseUrl, ft as buildOrganizationUsageOverviewPath, g as buildCenterAgentDesignationPath, gn as resolveAccountSpaceIndexGatewayHost, gt as buildProfileSpaceHistoryUpsertPath, h as buildCenterAgentAuditJournalPath, hn as readOrUpdateSpaceMessagePins, ht as buildProfileSpaceHistoryStatusPath, i as buildAccountSpaceIndexPath, in as createServiceConnectionEvidenceApi, it as buildOrganizationDocumentPath, j as buildCurrentOrganizationFeedbackReportingPolicyPath, jt as createAgentActivityApi, k as buildCurrentOrganizationComputersPath, kt as buildSpaceInboxUnreadTargetsPath, l as buildAgentProfileCreationDefaultsPath, ln as getSpaceFile, lt as buildOrganizationSkillMaintainersPath, m as buildAgentProfileWorkRecoveryRoute, mn as readOrUpdateSpaceFilePins, mt as buildProfileSpaceHistoryListPath, n as OpenMeldApiClientInvalidResponseError, nn as createRoutinesApi, nt as buildOrganizationDocumentApproveDraftPath, o as buildAgentActivitySnapshotPath, on as createSpaceFolder, ot as buildOrganizationSkillEnabledPath, p as buildAgentProfileCreationRequestsPath, pn as publicSpaceUrls, pt as buildProfileRoute, q as buildInboxItemPath, qt as createOrganizationDocumentsApi, r as buildAccountSpaceActiveWakeSummaryPath, rn as createRuntimeReportingApi, rt as buildOrganizationDocumentDiscardDraftPath, s as buildAgentActivityStatsPath, sn as downloadSpaceFileContent, st as buildOrganizationSkillGitHubImportPath, t as OpenMeldApiClientHttpError, tn as createReasoningStreamApi, tt as buildModelCatalogPath, u as buildAgentProfileCreationRequestCancelPath, un as listSpaceFileRevisions, ut as buildOrganizationSkillPath, v as buildCenterAgentInboxReadThroughPath, vn as setSpaceAccessMode, vt as buildProjectsPath, w as buildCenterAgentSessionsPath, wn as uploadSpaceAttachment, wt as buildRoutinesPath, x as buildCenterAgentOperatingStatePath, xn as updateSpaceFileContent, xt as buildRoutineResumePath, y as buildCenterAgentInboxSummaryPath, yn as toStructuredApiClientFailure, yt as buildRoutinePath, z as buildCurrentOrganizationMessageChannelSetupRequestsPath, zt as createFeedbackApi } from "./dist-CxadJClH.js";
|
|
4
|
+
export { OpenMeldApiClientHttpError, OpenMeldApiClientInvalidResponseError, buildAccountSpaceActiveWakeSummaryPath, buildAccountSpaceIndexPath, buildAgentActivitySessionsPath, buildAgentActivitySnapshotPath, buildAgentActivityStatsPath, buildAgentProfileCreationApprovalPreferencePath, buildAgentProfileCreationDefaultsPath, buildAgentProfileCreationRequestCancelPath, buildAgentProfileCreationRequestDecisionPath, buildAgentProfileCreationRequestRetryPath, buildAgentProfileCreationRequestsPath, buildAgentProfileWorkRecoveryRoute, buildCenterAgentAuditJournalPath, buildCenterAgentDesignationPath, buildCenterAgentDirectMessageSpacePath, buildCenterAgentInboxReadThroughPath, buildCenterAgentInboxSummaryPath, buildCenterAgentMemberResearchPath, buildCenterAgentOperatingStatePath, buildCenterAgentProfilePath, buildCenterAgentSessionPath, buildCenterAgentSessionsPath, buildComputerFileAccessReadPath, buildComputerFileAccessUpdatePath, buildCurrentAgentProfileSessionRoute, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath, buildCurrentOrganizationComputersPath, buildCurrentOrganizationDirectoryPath, buildCurrentOrganizationFeedbackReportingPolicyPath, buildCurrentOrganizationInformationProtectionPath, buildCurrentOrganizationLogoPath, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath, buildCurrentOrganizationMessageChannelPath, buildCurrentOrganizationMessageChannelRegistrationPath, buildCurrentOrganizationMessageChannelRegistrationPollPath, buildCurrentOrganizationMessageChannelRegistrationsPath, buildCurrentOrganizationMessageChannelSetupRequestsPath, buildCurrentOrganizationMessageChannelsPath, buildCurrentOrganizationSpacesPath, buildCurrentOrganizationSpacesWithMemberCountsPath, buildDirectMessageConversionPath, buildDirectMessageSpacePath, buildFeedbackIssueSubmissionPath, buildInboxItemDismissPath, buildInboxItemPath, buildInboxItemReadPath, buildInboxMarkAllReadPath, buildInboxPath, buildInboxPreferencesPath, buildInboxSummaryPath, buildLocalFolderPickerPath, buildLocalProjectControlPath, buildModelCatalogPath, buildOrganizationDocumentApproveDraftPath, buildOrganizationDocumentDiscardDraftPath, buildOrganizationDocumentPath, buildOrganizationDocumentsPath, buildOrganizationSkillEnabledPath, buildOrganizationSkillGitHubImportPath, buildOrganizationSkillGitHubPreviewPath, buildOrganizationSkillMaintainersPath, buildOrganizationSkillPath, buildOrganizationSkillsPath, buildOrganizationUsageOverviewPath, buildProfileRoute, buildProfileSpaceHistoryListPath, buildProfileSpaceHistoryStatusPath, buildProfileSpaceHistoryUpsertPath, buildProjectPath, buildProjectsPath, buildRoutinePath, buildRoutinePausePath, buildRoutineResumePath, buildRoutineRunsPath, buildRoutineTargetSpacesPath, buildRoutinesPath, buildSpaceAttachmentDownloadPath, buildSpaceBootstrapReadPath, buildSpaceInboxReadThroughPath, buildSpaceInboxSummaryPath, buildSpaceInboxUnreadTargetsPath, createAccountSpaceIndexApi, createAgentActivityApi, createAgentProfileBindingApi, createAgentProfileWorkRecoveryApi, createCenterAgentApi, createComputerFileAccessApi, createConfigApi, createCurrentDeviceApi, createDirectMessageApi, createFeedbackApi, createFetchTransport, createInboxApi, createLocalFolderPickerApi, createLocalProjectControlApi, createLocalRuntimeExpectedRoutesApi, createOpenMeldApiClient, createOrganizationApi, createOrganizationDocumentsApi, createOrganizationSkillsApi, createOrganizationUsageApi, createPluginsApi, createPrepareReadinessApi, createProfileSpaceHistoryApi, createProfilesApi, createProjectsApi, createReasoningStreamApi, createRoutinesApi, createRuntimeReportingApi, createServiceConnectionEvidenceApi, createSpaceApi, createSpaceFolder, downloadSpaceFileContent, getModelCatalog, getSpaceFile, listSpaceFileRevisions, listSpaceFiles, normalizeApiBaseUrl, publicSpaceUrls, readOrUpdateSpaceFilePins, readOrUpdateSpaceMessagePins, resolveAccountSpaceIndexGatewayHost, resolveProfileSpaceHistoryGatewayHost, setSpaceAccessMode, toStructuredApiClientFailure, trashSpaceFileEntry, updateSpaceFileContent, updateSpaceFileEntry, updateSpaceMeta, uploadSpaceAttachment, uploadSpaceFile };
|