openmeld 0.3.203 → 0.3.205
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-CJk0_m8X.js → add-me-membership-jhCNTfdl.js} +2 -2
- package/dist/{add-me-membership-CJk0_m8X.js.map → add-me-membership-jhCNTfdl.js.map} +1 -1
- package/dist/{agents-Bt7Obl31.js → agents-9krfNX_L.js} +164 -11
- package/dist/agents-9krfNX_L.js.map +1 -0
- package/dist/{api-client-foundation-_SdQMn5d.js → api-client-foundation-BMPOo4bG.js} +3 -3
- package/dist/{api-client-foundation-_SdQMn5d.js.map → api-client-foundation-BMPOo4bG.js.map} +1 -1
- package/dist/{api-client-foundation-Z13uEgLv.js → api-client-foundation-BguumKMv.js} +1 -1
- package/dist/auth-session-CpPqG8Xz.js +4 -0
- package/dist/{auth-session-CJyZ6pcf.js → auth-session-wmefguut.js} +2 -2
- package/dist/{auth-session-CJyZ6pcf.js.map → auth-session-wmefguut.js.map} +1 -1
- package/dist/{command-ByGJPtg_.js → command-DKM3wO3V.js} +8 -8
- package/dist/{command-ByGJPtg_.js.map → command-DKM3wO3V.js.map} +1 -1
- package/dist/{computer-setup-continuation-BUTzrA6i.js → computer-setup-continuation-Dad0lLP9.js} +4 -4
- package/dist/{computer-setup-continuation-BUTzrA6i.js.map → computer-setup-continuation-Dad0lLP9.js.map} +1 -1
- package/dist/dist-BFbC-9BX.js +4 -0
- package/dist/{dist-d5scH__V.js → dist-CkixulB-.js} +49 -3
- package/dist/dist-CkixulB-.js.map +1 -0
- package/dist/{elapsed-time-CEErxeIW.js → elapsed-time-CjAPqg-B.js} +3 -3
- package/dist/{elapsed-time-CEErxeIW.js.map → elapsed-time-CjAPqg-B.js.map} +1 -1
- package/dist/{installer-BxYmUUrI.js → installer-CZyyvNZr.js} +3 -3
- package/dist/{installer-BxYmUUrI.js.map → installer-CZyyvNZr.js.map} +1 -1
- package/dist/{openmeld-SO-3VMt2.js → openmeld-DVThrV4O.js} +13 -13
- package/dist/{openmeld-SO-3VMt2.js.map → openmeld-DVThrV4O.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-Q_3IZbWS.js → openmeld-maintenance-worker-Cxp6fwB5.js} +4 -4
- package/dist/{openmeld-maintenance-worker-Q_3IZbWS.js.map → openmeld-maintenance-worker-Cxp6fwB5.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-o8iJtvmu.js → openmeld-tools-update-coordinator-DJ65uI3O.js} +151 -52
- package/dist/openmeld-tools-update-coordinator-DJ65uI3O.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{prepare-session-executor-BLf0gZ4S.js → prepare-session-executor-aE1YARgn.js} +8 -8
- package/dist/{prepare-session-executor-BLf0gZ4S.js.map → prepare-session-executor-aE1YARgn.js.map} +1 -1
- package/dist/{profiles-CxclDtCJ.js → profiles-Dx3gaXgQ.js} +86 -56
- package/dist/profiles-Dx3gaXgQ.js.map +1 -0
- package/dist/upgrade-BFGKy5He.js +4 -0
- package/dist/{upgrade-DToennqx.js → upgrade-Bk8t5oav.js} +4 -4
- package/dist/{upgrade-DToennqx.js.map → upgrade-Bk8t5oav.js.map} +1 -1
- package/package.json +2 -2
- package/dist/agents-Bt7Obl31.js.map +0 -1
- package/dist/auth-session-D42GXCid.js +0 -4
- package/dist/dist-ClkOpDGh.js +0 -4
- package/dist/dist-d5scH__V.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-o8iJtvmu.js.map +0 -1
- package/dist/profiles-CxclDtCJ.js.map +0 -1
- package/dist/upgrade-WwCleBq2.js +0 -4
package/dist/{computer-setup-continuation-BUTzrA6i.js → computer-setup-continuation-Dad0lLP9.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { f as hasPendingComputerSetupContinuation, g as resumeInterruptedComputerSetup } from "./auth-session-
|
|
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, g as resumeInterruptedComputerSetup } from "./auth-session-wmefguut.js";
|
|
4
|
+
import { qt as createPresenter } from "./elapsed-time-CjAPqg-B.js";
|
|
5
|
+
import { A as mintPrepareSessionReconnectToken, D as recoverInterruptedComputerAuthHandoff, i as runPrepareSessionExecutor } from "./prepare-session-executor-aE1YARgn.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-Dad0lLP9.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computer-setup-continuation-
|
|
1
|
+
{"version":3,"file":"computer-setup-continuation-Dad0lLP9.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 uploadSpaceAttachment, 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 updateSpaceMeta, St as buildRoutineRunsPath, T as buildComputerFileAccessReadPath, 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 setSpaceAccessMode, _t as buildProjectPath, a as buildAgentActivitySessionsPath, an as createSpaceFolder, at as buildOrganizationDocumentsPath, b as buildCenterAgentMemberResearchPath, bn as updateSpaceFileContent, bt as buildRoutinePausePath, c as buildAgentProfileCreationApprovalPreferencePath, cn as getSpaceFile, ct as buildOrganizationSkillGitHubPreviewPath, d as buildAgentProfileCreationRequestDecisionPath, dn as normalizeApiBaseUrl, dt as buildOrganizationSkillsPath, en as createProjectsApi, et as buildLocalProjectControlPath, f as buildAgentProfileCreationRequestRetryPath, fn as publicSpaceUrls, ft as buildOrganizationUsageOverviewPath, g as buildCenterAgentDesignationPath, gn as resolveProfileSpaceHistoryGatewayHost, gt as buildProfileSpaceHistoryUpsertPath, h as buildCenterAgentAuditJournalPath, hn as resolveAccountSpaceIndexGatewayHost, ht as buildProfileSpaceHistoryStatusPath, i as buildAccountSpaceIndexPath, in as createSpaceApi, it as buildOrganizationDocumentPath, j as buildCurrentOrganizationFeedbackReportingPolicyPath, jt as createAgentActivityApi, k as buildCurrentOrganizationComputersPath, kt as buildSpaceInboxUnreadTargetsPath, l as buildAgentProfileCreationDefaultsPath, ln as listSpaceFileRevisions, lt as buildOrganizationSkillMaintainersPath, m as buildAgentProfileWorkRecoveryRoute, mn as readOrUpdateSpaceMessagePins, mt as buildProfileSpaceHistoryListPath, n as OpenMeldApiClientInvalidResponseError, nn as createRoutinesApi, nt as buildOrganizationDocumentApproveDraftPath, o as buildAgentActivitySnapshotPath, on as downloadSpaceFileContent, ot as buildOrganizationSkillEnabledPath, p as buildAgentProfileCreationRequestsPath, pn as readOrUpdateSpaceFilePins, pt as buildProfileRoute, q as buildInboxItemPath, qt as createOrganizationDocumentsApi, r as buildAccountSpaceActiveWakeSummaryPath, rn as createRuntimeReportingApi, rt as buildOrganizationDocumentDiscardDraftPath, s as buildAgentActivityStatsPath, sn as getModelCatalog, st as buildOrganizationSkillGitHubImportPath, t as OpenMeldApiClientHttpError, tn as createReasoningStreamApi, tt as buildModelCatalogPath, u as buildAgentProfileCreationRequestCancelPath, un as listSpaceFiles, ut as buildOrganizationSkillPath, v as buildCenterAgentInboxReadThroughPath, vn as toStructuredApiClientFailure, vt as buildProjectsPath, w as buildCenterAgentSessionsPath, wn as uploadSpaceFile, wt as buildRoutinesPath, x as buildCenterAgentOperatingStatePath, xn as updateSpaceFileEntry, xt as buildRoutineResumePath, y as buildCenterAgentInboxSummaryPath, yn as trashSpaceFileEntry, yt as buildRoutinePath, z as buildCurrentOrganizationMessageChannelSetupRequestsPath, zt as createFeedbackApi } from "./dist-CkixulB-.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, createSpaceApi, createSpaceFolder, downloadSpaceFileContent, getModelCatalog, getSpaceFile, listSpaceFileRevisions, listSpaceFiles, normalizeApiBaseUrl, publicSpaceUrls, readOrUpdateSpaceFilePins, readOrUpdateSpaceMessagePins, resolveAccountSpaceIndexGatewayHost, resolveProfileSpaceHistoryGatewayHost, setSpaceAccessMode, toStructuredApiClientFailure, trashSpaceFileEntry, updateSpaceFileContent, updateSpaceFileEntry, updateSpaceMeta, uploadSpaceAttachment, uploadSpaceFile };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-pe3_Re-c.js";
|
|
4
|
-
import { $n as
|
|
4
|
+
import { $i as computerSetupModeSchema, $n as spaceAttachmentFileNameSchema, $r as int, $t as localComponentUpdateStatusSchema, Ai as spaceThreadContextSchema, An as localAgentCatalogLaunchStatusSchema, Ar as restoreSpaceFileEntryResponseSchema, At as dispatchExecutionSchema, Bi as profileWorkingDirectorySchema, Ci as spaceAgentStreamSnapshotSchema, Cn as executeExecutionRecoveryResponseSchema, Cr as getSpaceFileResponseSchema, Ct as localAgentInstallationOptionSchema, Di as localAgentReasoningPreferencesSchema, Dr as publishSpaceComposerUploadResponseSchema, Er as listSpaceFilesResponseSchema, Et as openMeldDaemonSyncRouteCatalogPayloadSchema, Fi as agentProfileIdSchema, Fr as spaceFileClientMutationIdSchema, Ft as spacePublicationModeSchema, Gi as optionalBooleanQuerySchema, Gr as uploadSpaceFileResponseSchema, Hi as uuidProfileIdSchema, Hr as stageSpaceComposerUploadResponseSchema, Ir as spaceFileDescriptorSchema, It as spaceDispatchPolicySchema, Jn as signalTextDataSchema, Jr as boolean, Ki as trimmedStringFromUnknown, Kn as signalStatusDataSchema, Kr as NEVER, Li as openMeldRuntimeProfileIdSchema, Lr as spaceFileEntryIdSchema, Lt as workingLanguageGuidanceSchema, Mi as spaceThreadSchema, Mn as localAgentCatalogWithLifecycleSchema, Mr as spaceComposerUploadDescriptorSchema, Ni as spaceThreadSignalPlacementSchema, Nn as agentProfileWorkRecoveryActionKindSchema, Nr as spaceComposerUploadIdSchema, Nt as resultArchivePolicySchema, Pr as spaceFileActorSchema, Pt as spaceAllowedActionsSchema, Q as openMeldDaemonProviderAccessEvidenceProviderSchema, Qn as spaceAttachmentDimensionSchema, Qr as enumFactory, Qt as localComponentUpdateProjectionSchema, Ri as profileKindSchema, Rr as spaceFileMimeTypeSchema, Rt as workingLanguageTagSchema, Si as spaceAgentStreamPresenceSchema, Sn as executeExecutionRecoveryBodySchema, Sr as discardSpaceComposerUploadResponseSchema, St as spaceWakeAgentTaskHandleSchema, Tn as START_BOUNDED_ID_SCHEMA, Tr as listSpaceFileRevisionsResponseSchema, Ui as finiteIntegerNumber, Ur as trashSpaceFileEntryResponseSchema, Vi as profileWorkspaceModeSchema, Vr as spaceMessageFileReferencesSchema, Vt as agentInteractionPendingSummarySchema, Wi as nonEmptyTrimmedStringFromUnknown, Wr as updateSpaceFileEntryResponseSchema, Wt as agentInteractionResponseSchema, Xn as wakeDeviceWaitTargetSchema, Xr as discriminatedUnion, Yn as signalTextSchema, Yr as coerce, Z as openMeldDaemonOriginalErrorSchema, Zn as spaceAttachmentDescriptorSchema, Zr as email, Zt as localComponentUpdatePolicySchema, _n as normalizeSpacePasswordText, _r as spaceMentionLabelSourceSchema, _t as agentTaskHandleSchema, a as authProfileViewSchema, ai as number, an as openMeldToolsUpdateOperationSchema, bi as spaceAgentStreamDeltaFrameSchema, bn as organizationProtectedInformationSchema, bt as buildAgentTaskKey, c as updateAgentProfileDefaultProjectBodySchema, ci as record, cn as postSpaceWakeStopBodySchema, cr as messageEnvelopeSchema, d as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, di as tuple, dn as runtimeCoordinatorExecutionEventSchema, dr as conversationCompactionMarkerSchema, dt as localFolderPickerResultSchema, ea as openMeldNavigationTargetSchema, ei as iso, er as spaceAttachmentMimeTypeSchema, f as daemonExecutionCompatibilitySchema, fi as undefinedFactory, fn as runtimeCoordinatorExecutionRecordSchema, fr as centerAgentInteractionSourceSchema, ft as localFolderPathSchema, gi as clientMessageIdSchema$1, gn as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, gr as spaceMentionLabelSchema, gt as agentTaskCompletionObservationSchema, hi as url, hn as spaceTraceExecutionIdentityProjectionSchema, ht as agentTaskCompletionConditionSchema, i as authProfileManagedRoleSchema, ii as nullFactory, ji as spaceThreadEventSchema, jr as restoreSpaceFileRevisionResponseSchema, ki as openMeldRequestContextSchema, l as updateAgentProfileDefaultProjectResponseSchema, li as strictObject, ln as postSpaceWakeStopResponseSchema, mi as unknown, mt as agentDelegationSnapshotSchema, ni as literal, nn as openMeldToolsMaintenanceProjectionSchema, nr as spaceMessageAttachmentSchema, oi as object, on as openMeldToolsUpdateRequestResultSchema, pi as union, pt as spaceCallerContextSchema, q as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, qi as MAX_TEXT_LENGTH$1, qn as signalSystemNoticeDataSchema, qr as array, ri as neverFactory, rr as spaceMessageAttachmentsSchema, rt as openMeldDaemonTaskResultProjectFailureContextSchema, si as preprocess, ta as openMeldWebUrlSchema, ti as lazySchema, tn as openMeldToolsMaintenanceMutationResultSchema, tr as spaceAttachmentSizeBytesSchema, u as updateProfileResponseSchema, ui as string, un as runtimeCoordinatorExecutionCreationDiagnosticSchema, ut as localFolderPickerRequestSchema, vi as AGENT_STREAM_SNAPSHOT_MAX_CHARS, vn as spacePasswordSchema, vr as SPACE_FILE_ERROR_CODES, vt as agentTaskTerminalOutcomeSchema, wi as spaceAgentStreamTerminalFrameSchema, wn as inspectExecutionRecoveryResponseSchema, xi as spaceAgentStreamPartFrameSchema, xn as updateOrganizationInformationProtectionPolicyBodySchema, xr as createSpaceFolderResponseSchema, xt as controllerAgentTaskHandleSchema, yi as agentStreamToolPartSchema, yn as organizationInformationProtectionPolicyResponseSchema, yr as SPACE_FILE_MAX_SIZE_BYTES, yt as areAgentTaskTerminalOutcomesEqual, zi as profileSchema, zr as spaceFileNameSchema, zt as targetWakeLifecycleIdentitySchema } from "./profiles-Dx3gaXgQ.js";
|
|
5
5
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
6
6
|
import { n as toErrorMessage$3 } from "./dist-o3UL1EGQ.js";
|
|
7
7
|
import * as z$1 from "zod/v4";
|
|
@@ -162,6 +162,7 @@ const getSpaceMessageReactionsResponseSchema = z$1.object({
|
|
|
162
162
|
//#endregion
|
|
163
163
|
//#region ../../packages/schemas/dist/schemas/protocol/hello.js
|
|
164
164
|
const helloCapabilitiesSchema = z$1.object({
|
|
165
|
+
agentReplyPlacement: z$1.boolean().optional(),
|
|
165
166
|
liveSignalHistory: z$1.boolean().optional(),
|
|
166
167
|
spaceMessageAddressing: z$1.boolean().optional()
|
|
167
168
|
});
|
|
@@ -13474,6 +13475,30 @@ const getActiveSpaceWakeProgressResponseSchema = z$1.strictObject({
|
|
|
13474
13475
|
items: z$1.array(wakeProgressItemSchema)
|
|
13475
13476
|
});
|
|
13476
13477
|
//#endregion
|
|
13478
|
+
//#region ../../packages/schemas/dist/schemas/space-mesh/agent-reply-placement.js
|
|
13479
|
+
const AGENT_REPLY_PLACEMENT_HEADER = "x-openmeld-agent-reply-placement";
|
|
13480
|
+
const agentReplyPlacementSchema = z$1.enum(["conversation", "thread"]);
|
|
13481
|
+
z$1.strictObject({
|
|
13482
|
+
context: openMeldRequestContextSchema,
|
|
13483
|
+
placement: agentReplyPlacementSchema
|
|
13484
|
+
});
|
|
13485
|
+
z$1.strictObject({
|
|
13486
|
+
spaceId: z$1.string().min(1),
|
|
13487
|
+
dispatchId: z$1.string().min(1),
|
|
13488
|
+
sourceSignalId: z$1.string().min(1),
|
|
13489
|
+
profileId: z$1.string().min(1),
|
|
13490
|
+
defaultToThread: z$1.boolean(),
|
|
13491
|
+
lock: z$1.boolean(),
|
|
13492
|
+
placement: agentReplyPlacementSchema.optional()
|
|
13493
|
+
});
|
|
13494
|
+
z$1.strictObject({
|
|
13495
|
+
dispatchId: z$1.string().min(1),
|
|
13496
|
+
sourceSignalId: z$1.string().min(1),
|
|
13497
|
+
profileId: z$1.string().min(1),
|
|
13498
|
+
threadContext: spaceThreadContextSchema.nullable(),
|
|
13499
|
+
locked: z$1.boolean()
|
|
13500
|
+
});
|
|
13501
|
+
//#endregion
|
|
13477
13502
|
//#region ../../packages/schemas/dist/space-access-version.js
|
|
13478
13503
|
const SPACE_ACCESS_VERSION_HEADER = "x-openmeld-space-access-version";
|
|
13479
13504
|
//#endregion
|
|
@@ -16899,6 +16924,26 @@ function buildPublicSpaceUrl(baseUrl, spaceId, segment) {
|
|
|
16899
16924
|
url.pathname = `/v1/spaces/${encodeURIComponent(spaceId)}/${segment}`;
|
|
16900
16925
|
return url.toString();
|
|
16901
16926
|
}
|
|
16927
|
+
function createReasoningStreamApi(client) {
|
|
16928
|
+
return {
|
|
16929
|
+
get: () => client.requestJson({
|
|
16930
|
+
method: "GET",
|
|
16931
|
+
url: "/v1/account/reasoning-stream",
|
|
16932
|
+
operation: "reasoning_stream.preferences.get",
|
|
16933
|
+
schema: localAgentReasoningPreferencesSchema,
|
|
16934
|
+
invalidMessage: "Invalid reasoning streaming preference."
|
|
16935
|
+
}),
|
|
16936
|
+
update: (enabled) => client.requestJson({
|
|
16937
|
+
method: "PATCH",
|
|
16938
|
+
url: "/v1/account/reasoning-stream",
|
|
16939
|
+
operation: "reasoning_stream.preferences.update",
|
|
16940
|
+
schema: localAgentReasoningPreferencesSchema,
|
|
16941
|
+
body: JSON.stringify({ enabled }),
|
|
16942
|
+
headers: { "content-type": "application/json" },
|
|
16943
|
+
invalidMessage: "Invalid reasoning streaming preference."
|
|
16944
|
+
})
|
|
16945
|
+
};
|
|
16946
|
+
}
|
|
16902
16947
|
const ROUTINES_PATH = "/v1/organizations/current/routines";
|
|
16903
16948
|
const ROUTINE_TARGET_SPACES_PATH = "/v1/organizations/current/routine-target-spaces";
|
|
16904
16949
|
function buildRoutinesPath(query = {}) {
|
|
@@ -17497,6 +17542,7 @@ function currentSpaceAccessHeaders() {
|
|
|
17497
17542
|
}
|
|
17498
17543
|
function currentSpaceAddressingHeaders(contentType) {
|
|
17499
17544
|
return {
|
|
17545
|
+
[AGENT_REPLY_PLACEMENT_HEADER]: "1",
|
|
17500
17546
|
...contentType ? { "content-type": contentType } : {},
|
|
17501
17547
|
[OPENMELD_HEADER_SPACE_ADDRESSING_VERSION]: "1"
|
|
17502
17548
|
};
|
|
@@ -18748,6 +18794,6 @@ function shouldWrapNetworkRequestError(error) {
|
|
|
18748
18794
|
return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
|
|
18749
18795
|
}
|
|
18750
18796
|
//#endregion
|
|
18751
|
-
export { buildLocalFolderPickerPath as $,
|
|
18797
|
+
export { buildLocalFolderPickerPath as $, summarizeComputerFileAccessPolicy as $n, agentActivitySessionInventoryResponseSchema as $r, createProfilesApi as $t, buildCurrentOrganizationDirectoryPath as A, parseServerErrorFrame as An, updateCenterAgentRoutineResponseSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, pluginActionRequestSchema as Bn, localProjectControlDiscoverProjectsResponseSchema as Br, createFetchTransport as Bt, buildCenterAgentSessionPath as C, uploadSpaceAttachment as Cn, submitFeedbackIssueResponseSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, MAX_TEXT_LENGTH as Dn, listCenterAgentRoutinesResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, DAEMON_STREAM_KEEPALIVE_PONG as En, listCenterAgentRoutineRunsResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Fn, agentActivitySessionStatusSchema as Fr, createComputerFileAccessApi as Ft, buildFeedbackIssueSubmissionPath as G, spaceDispatchTraceAttemptStatusSchema as Gn, spaceMemberAgentWakeAvailabilitySchema as Gr, createOpenMeldApiClient as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Hn, postSpaceMembersResponseSchema as Hr, createLocalFolderPickerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, buildOpenMeldRequestContextHeaders as In, agentActivitySnapshotQuerySchema as Ir, createConfigApi as It, buildInboxItemReadPath as J, observabilityWakeTraceSelectorSchema as Jn, spaceMemberDirectorySchema as Jr, createOrganizationSkillsApi as Jt, buildInboxItemDismissPath as K, spaceDispatchTraceDispatchStatusSchema as Kn, spaceMemberDirectoryAllowedRelationsSchema as Kr, createOrganizationApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, toErrorMessage$2 as Ln, agentActivitySnapshotResponseSchema as Lr, createCurrentDeviceApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, OPENMELD_HEADER_PROFILE_ID as Mn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Nn, agentActivityEventSchema as Nr, createAgentProfileWorkRecoveryApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, parseEnvelope as On, pauseCenterAgentRoutineResponseSchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, OPENMELD_HEADER_REQUEST_ID as Pn, agentActivityProviderSchema as Pr, createCenterAgentApi as Pt, buildInboxSummaryPath as Q, projectOwnerComputerLocalRuntimes as Qn, agentActivitySessionInventoryQuerySchema as Qr, createProfileSpaceHistoryApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, getSpaceUpdatesResponseSchema as Rn, localProjectControlConnectionSchema as Rr, createDirectMessageApi as Rt, buildCenterAgentProfilePath as S, updateSpaceMeta as Sn, submitFeedbackIssueRequestSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, DAEMON_STREAM_KEEPALIVE_PING as Tn, deleteCenterAgentRoutineResponseSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, projectSpaceDispatchTraceFinalVisibleOutcome as Un, removeSpaceMembersResponseSchema as Ur, createLocalProjectControlApi as Ut, buildCurrentOrganizationSpacesPath as V, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Vn, leaveSpaceResponseSchema as Vr, createInboxApi as Vt, buildDirectMessageSpacePath as W, resolveSpaceDispatchTraceRootCause as Wn, resolvedSpaceMemberProfileSchema as Wr, createLocalRuntimeExpectedRoutesApi as Wt, buildInboxPath as X, submitAgentControllerTaskLifecycleEventItemSchema as Xn, agentActivityInventorySessionOriginSchema as Xr, createPluginsApi as Xt, buildInboxMarkAllReadPath as Y, projectObservabilityWakeCorrelation as Yn, spaceMemberKindSchema as Yr, createOrganizationUsageApi as Yt, buildInboxPreferencesPath as Z, ownerComputerDiagnosticsSchema as Zn, agentActivityInventorySessionStatusSchema as Zr, createPrepareReadinessApi as Zt, buildCenterAgentDirectMessageSpacePath as _, setSpaceAccessMode as _n, organizationSkillReleaseSummarySchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, projectSchema as ai, createSpaceFolder as an, OPENMELD_RUNTIME_CAPABILITIES_HEADER as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, updateSpaceFileContent as bn, organizationDirectoryResponseSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, openCodePermissionConfigSchema as ci, getSpaceFile as cn, computerFileAccessPolicySchema as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, toCompatibleSpaceAddressingRequestWireValue as di, normalizeApiBaseUrl as dn, resolveInitialSpaceAccessMode as dr, buildOrganizationSkillsPath as dt, localAgentSessionProviderSchema as ei, createProjectsApi as en, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, publicSpaceUrls as fn, spaceCreatorSchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, resolveProfileSpaceHistoryGatewayHost as gn, organizationSkillBundleSchema as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, resolveAccountSpaceIndexGatewayHost as hn, listOrganizationSkillsResponseSchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, listProjectsResponseSchema as ii, createSpaceApi as in, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, resolveCustomMentionAliasOverride as jn, AGENT_ACTIVITY_EVENT_MAX_BYTES as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, parseIncoming as kn, resumeCenterAgentRoutineResponseSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, agentControllerPermissionModeSchema as li, listSpaceFileRevisions as ln, modelCatalogSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, readOrUpdateSpaceMessagePins as mn, getOrganizationSkillResponseSchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, archiveProjectResponseSchema as ni, createRoutinesApi as nn, createAgentProfileCreationRequestBodySchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, updateProjectResponseSchema as oi, downloadSpaceFileContent as on, computerFileAccessDaemonFrameSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, readOrUpdateSpaceFilePins as pn, spaceMetaSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, spaceDispatchTraceResponseSchema as qn, spaceMemberDirectoryEntrySchema as qr, createOrganizationDocumentsApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, createProjectResponseSchema as ri, createRuntimeReportingApi as rn, gatewayErrorEnvelopeSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, centerAgentToolSpeakerSchema as si, getModelCatalog as sn, computerFileAccessPolicyInputSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, observedLocalAgentSessionSchema as ti, createReasoningStreamApi as tn, agentProfileCreationConfigurationSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, agentControllerCollaborationModeSchema as ui, listSpaceFiles as un, organizationSpaceDirectoryWithMemberCountsResponseSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, toStructuredApiClientFailure as vn, organizationSkillSummarySchema as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, uploadSpaceFile as wn, createCenterAgentRoutineResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, updateSpaceFileEntry as xn, organizationComputersResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, trashSpaceFileEntry as yn, stringifyOrganizationSkillBundleCanonicalJson as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, spaceEntryTargetSchema as zn, localProjectControlDaemonFrameSchema as zr, createFeedbackApi as zt };
|
|
18752
18798
|
|
|
18753
|
-
//# sourceMappingURL=dist-
|
|
18799
|
+
//# sourceMappingURL=dist-CkixulB-.js.map
|