openmeld 0.3.150 → 0.3.151

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.
@@ -1088,40 +1088,6 @@ const updateAgentProfilePrimaryBindingModelSelectionBodySchema = strictObject({
1088
1088
  const updateAgentProfilePrimaryBindingAgentControllerPermissionModeBodySchema = strictObject({ agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema });
1089
1089
  const updateAgentProfilePrimaryBindingAgentControllerCollaborationModeBodySchema = strictObject({ agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema });
1090
1090
  const updateAgentProfilePrimaryBindingOpenCodePermissionBodySchema = strictObject({ openCodePermission: agentProfileBindingOpenCodePermissionSchema.nullable() });
1091
- const authorizeAgentProfileBindingForOrganizationResponseSchema = strictObject({
1092
- agentProfileId: boundedIdentifierSchema$10,
1093
- authorizedBy: boundedIdentifierSchema$10,
1094
- bindingId: boundedIdentifierSchema$10,
1095
- createdAt: iso.datetime({ offset: true }),
1096
- organizationId: boundedIdentifierSchema$10,
1097
- status: enumFactory(["authorized", "already_authorized"])
1098
- });
1099
- const organizationBindingAuthorizationSchema = strictObject({
1100
- agentProfileId: boundedIdentifierSchema$10,
1101
- authorizedBy: boundedIdentifierSchema$10,
1102
- bindingId: boundedIdentifierSchema$10,
1103
- createdAt: iso.datetime({ offset: true })
1104
- });
1105
- const bulkAuthorizeAgentProfileBindingsForOrganizationBodySchema = strictObject({ agentProfileIds: array(boundedIdentifierSchema$10).min(1).max(100).optional() });
1106
- const bulkOrganizationBindingAuthorizationSchema = organizationBindingAuthorizationSchema.extend({
1107
- organizationId: boundedIdentifierSchema$10,
1108
- status: enumFactory(["authorized", "already_authorized"])
1109
- });
1110
- const bulkAuthorizeAgentProfileBindingsForOrganizationResponseSchema = strictObject({
1111
- alreadyAuthorizedCount: number().int().nonnegative(),
1112
- authorizedCount: number().int().nonnegative(),
1113
- authorizations: array(bulkOrganizationBindingAuthorizationSchema),
1114
- organizationId: boundedIdentifierSchema$10
1115
- });
1116
- const organizationBindingAuthorizationPreferenceSchema = strictObject({
1117
- autoAuthorizeAgentProfileBindings: boolean(),
1118
- organizationId: boundedIdentifierSchema$10,
1119
- updatedAt: iso.datetime({ offset: true }).nullable(),
1120
- userId: boundedIdentifierSchema$10
1121
- });
1122
- const setOrganizationBindingAuthorizationPreferenceBodySchema = strictObject({ autoAuthorizeAgentProfileBindings: boolean() });
1123
- const getOrganizationBindingAuthorizationPreferenceResponseSchema = organizationBindingAuthorizationPreferenceSchema;
1124
- const setOrganizationBindingAuthorizationPreferenceResponseSchema = organizationBindingAuthorizationPreferenceSchema;
1125
1091
  const agentProfileCreationDefaultsFields = {
1126
1092
  agentControllerCollaborationMode: agentControllerCollaborationModeSchema.nullable(),
1127
1093
  agentControllerPermissionMode: agentControllerPermissionModeSchema.nullable(),
@@ -1156,52 +1122,6 @@ strictObject({
1156
1122
  organizationId: boundedIdentifierSchema$10,
1157
1123
  userId: boundedIdentifierSchema$10
1158
1124
  });
1159
- const saveOrganizationWakeAccessChoiceBodySchema = strictObject({ enableWakeAccess: boolean() });
1160
- const saveOrganizationWakeAccessChoiceResponseSchema = strictObject({
1161
- alreadyAuthorizedCount: number().int().nonnegative(),
1162
- authorizedCount: number().int().nonnegative(),
1163
- organizationId: boundedIdentifierSchema$10,
1164
- preference: organizationBindingAuthorizationPreferenceSchema
1165
- });
1166
- const listOrganizationBindingAuthorizationsResponseSchema = strictObject({
1167
- organizationId: boundedIdentifierSchema$10,
1168
- authorizations: array(organizationBindingAuthorizationSchema)
1169
- });
1170
- const organizationBindingAuthorizationProfileStatusSchema = enumFactory([
1171
- "authorized",
1172
- "not_authorized",
1173
- "binding_required"
1174
- ]);
1175
- const listOrganizationBindingAuthorizationProfilesResponseSchema = strictObject({
1176
- organizationId: boundedIdentifierSchema$10,
1177
- profiles: array(strictObject({
1178
- agentProfileId: boundedIdentifierSchema$10,
1179
- profileName: string().trim().min(1).max(256),
1180
- profileHandle: string().trim().min(1).max(256),
1181
- profileOrganizationId: boundedIdentifierSchema$10,
1182
- ownerUserId: boundedIdentifierSchema$10,
1183
- bindingId: boundedIdentifierSchema$10.nullable(),
1184
- authorized: boolean(),
1185
- authorizedBy: boundedIdentifierSchema$10.nullable(),
1186
- authorizedAt: iso.datetime({ offset: true }).nullable(),
1187
- status: organizationBindingAuthorizationProfileStatusSchema
1188
- }))
1189
- });
1190
- const listCurrentUserAgentProfileOrganizationWakeAccessResponseSchema = strictObject({ profiles: array(strictObject({
1191
- agentProfileId: boundedIdentifierSchema$10,
1192
- organizations: array(strictObject({
1193
- organizationId: boundedIdentifierSchema$10,
1194
- organizationName: string().trim().min(1).max(256),
1195
- organizationSlug: string().trim().min(1).max(256)
1196
- }))
1197
- })) });
1198
- const revokeAgentProfileBindingForOrganizationResponseSchema = strictObject({
1199
- agentProfileId: boundedIdentifierSchema$10,
1200
- bindingId: boundedIdentifierSchema$10.nullable(),
1201
- organizationId: boundedIdentifierSchema$10,
1202
- revoked: boolean(),
1203
- status: enumFactory(["revoked", "missing"])
1204
- });
1205
1125
  const disableAgentProfilePrimaryBindingResponseSchema = strictObject({
1206
1126
  agentProfileId: boundedIdentifierSchema$10,
1207
1127
  disabled: boolean(),
@@ -13241,6 +13161,13 @@ const wakeStopEligibilityReadModelSchema = z$1.union([
13241
13161
  const wakeProgressItemSchema = z$1.strictObject({
13242
13162
  clientMessageId: clientMessageIdSchema$1.nullable(),
13243
13163
  sourceSignalId: z$1.string().trim().min(1).nullable(),
13164
+ sourceContext: z$1.strictObject({
13165
+ messagePreview: z$1.string().trim().min(1).nullable(),
13166
+ profileId: z$1.string().trim().min(1),
13167
+ profileKind: profileKindSchema,
13168
+ profileName: z$1.string().trim().min(1).nullable(),
13169
+ threadId: z$1.string().trim().min(1).nullable()
13170
+ }).nullable().optional(),
13244
13171
  dispatchId: z$1.string().trim().min(1).nullable(),
13245
13172
  runtimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable().optional(),
13246
13173
  targetProfileId: z$1.string().trim().min(1),
@@ -13259,6 +13186,7 @@ z$1.strictObject({
13259
13186
  spaceId: nonEmptyTrimmedStringFromUnknown,
13260
13187
  clientMessageId: clientMessageIdSchema$1,
13261
13188
  includeTiming: optionalBooleanQuerySchema,
13189
+ includeSourceContext: optionalBooleanQuerySchema,
13262
13190
  includeWaitReason: optionalBooleanQuerySchema,
13263
13191
  includeWakeStopEligibility: optionalBooleanQuerySchema,
13264
13192
  targetProfileId: optionalSelectorSchema
@@ -13274,13 +13202,16 @@ const getSpaceWakeProgressResponseSchema = z$1.strictObject({
13274
13202
  z$1.strictObject({
13275
13203
  spaceId: nonEmptyTrimmedStringFromUnknown,
13276
13204
  includeTiming: optionalBooleanQuerySchema,
13205
+ includeSourceContext: optionalBooleanQuerySchema,
13277
13206
  includeWaitReason: optionalBooleanQuerySchema,
13278
13207
  includeWakeStopEligibility: optionalBooleanQuerySchema,
13208
+ sourceProfileId: optionalSelectorSchema,
13279
13209
  targetProfileId: optionalSelectorSchema
13280
13210
  });
13281
13211
  const getActiveSpaceWakeProgressResponseSchema = z$1.strictObject({
13282
13212
  query: z$1.strictObject({
13283
13213
  spaceId: z$1.string().trim().min(1),
13214
+ sourceProfileId: z$1.string().trim().min(1).nullable().optional(),
13284
13215
  targetProfileId: z$1.string().trim().min(1).nullable()
13285
13216
  }),
13286
13217
  items: z$1.array(wakeProgressItemSchema)
@@ -13484,14 +13415,12 @@ var dist_exports = /* @__PURE__ */ __exportAll({
13484
13415
  buildAgentActivitySessionsPath: () => buildAgentActivitySessionsPath,
13485
13416
  buildAgentActivitySnapshotPath: () => buildAgentActivitySnapshotPath,
13486
13417
  buildAgentActivityStatsPath: () => buildAgentActivityStatsPath,
13487
- buildAgentProfileBindingOrganizationAuthorizationsRoute: () => buildAgentProfileBindingOrganizationAuthorizationsRoute,
13488
13418
  buildAgentProfileCreationApprovalPreferencePath: () => buildAgentProfileCreationApprovalPreferencePath,
13489
13419
  buildAgentProfileCreationDefaultsPath: () => buildAgentProfileCreationDefaultsPath,
13490
13420
  buildAgentProfileCreationRequestCancelPath: () => buildAgentProfileCreationRequestCancelPath,
13491
13421
  buildAgentProfileCreationRequestDecisionPath: () => buildAgentProfileCreationRequestDecisionPath,
13492
13422
  buildAgentProfileCreationRequestRetryPath: () => buildAgentProfileCreationRequestRetryPath,
13493
13423
  buildAgentProfileCreationRequestsPath: () => buildAgentProfileCreationRequestsPath,
13494
- buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute: () => buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute,
13495
13424
  buildAgentProfileWorkRecoveryRoute: () => buildAgentProfileWorkRecoveryRoute,
13496
13425
  buildCenterAgentAuditJournalPath: () => buildCenterAgentAuditJournalPath,
13497
13426
  buildCenterAgentDesignationPath: () => buildCenterAgentDesignationPath,
@@ -13537,9 +13466,6 @@ var dist_exports = /* @__PURE__ */ __exportAll({
13537
13466
  buildLocalFolderPickerPath: () => buildLocalFolderPickerPath,
13538
13467
  buildLocalProjectControlPath: () => buildLocalProjectControlPath,
13539
13468
  buildModelCatalogPath: () => buildModelCatalogPath,
13540
- buildOrganizationBindingAuthorizationPreferencePath: () => buildOrganizationBindingAuthorizationPreferencePath,
13541
- buildOrganizationBindingAuthorizationProfilesPath: () => buildOrganizationBindingAuthorizationProfilesPath,
13542
- buildOrganizationBindingAuthorizationsBulkPath: () => buildOrganizationBindingAuthorizationsBulkPath,
13543
13469
  buildOrganizationDocumentApproveDraftPath: () => buildOrganizationDocumentApproveDraftPath,
13544
13470
  buildOrganizationDocumentDiscardDraftPath: () => buildOrganizationDocumentDiscardDraftPath,
13545
13471
  buildOrganizationDocumentPath: () => buildOrganizationDocumentPath,
@@ -13551,7 +13477,6 @@ var dist_exports = /* @__PURE__ */ __exportAll({
13551
13477
  buildOrganizationSkillPath: () => buildOrganizationSkillPath,
13552
13478
  buildOrganizationSkillsPath: () => buildOrganizationSkillsPath,
13553
13479
  buildOrganizationUsageOverviewPath: () => buildOrganizationUsageOverviewPath,
13554
- buildOrganizationWakeAccessChoicePath: () => buildOrganizationWakeAccessChoicePath,
13555
13480
  buildProfileRoute: () => buildProfileRoute,
13556
13481
  buildProfileSpaceHistoryListPath: () => buildProfileSpaceHistoryListPath,
13557
13482
  buildProfileSpaceHistoryStatusPath: () => buildProfileSpaceHistoryStatusPath,
@@ -13787,15 +13712,6 @@ function buildAgentProfilePrimaryBindingAgentControllerCollaborationModeRoute(ag
13787
13712
  function buildAgentProfilePrimaryBindingOpenCodePermissionRoute(agentProfileId) {
13788
13713
  return `${buildAgentProfilePrimaryBindingRoute(agentProfileId)}/opencode-permission`;
13789
13714
  }
13790
- function buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute(agentProfileId) {
13791
- return `${buildAgentProfilePrimaryBindingRoute(agentProfileId)}/organization-authorization`;
13792
- }
13793
- function buildAgentProfileBindingOrganizationAuthorizationsRoute() {
13794
- return "/v1/agent-profiles/primary-bindings/organization-authorizations";
13795
- }
13796
- function buildCurrentUserAgentProfileOrganizationWakeAccessRoute() {
13797
- return "/v1/agent-profiles/primary-bindings/organization-wake-access";
13798
- }
13799
13715
  function buildAgentProfileRouteCatalogSyncRoute(agentProfileId) {
13800
13716
  return `/v1/agent-profiles/${encodeURIComponent(agentProfileId)}/route-catalog-sync`;
13801
13717
  }
@@ -13949,44 +13865,6 @@ const createAgentProfileBindingApi = (client) => {
13949
13865
  url: buildAgentProfilePrimaryBindingRoute(input.agentProfileId)
13950
13866
  });
13951
13867
  },
13952
- authorizePrimaryBindingForOrganization: async (input) => {
13953
- const request = requireValidBindingRouteInput(input);
13954
- return await client.requestJson({
13955
- invalidMessage: "Invalid Organization Binding authorization response.",
13956
- method: "PUT",
13957
- operation: "agent_profile_binding.organization_authorization.authorize",
13958
- requestContext: request.requestContext,
13959
- schema: authorizeAgentProfileBindingForOrganizationResponseSchema,
13960
- url: buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute(request.agentProfileId)
13961
- });
13962
- },
13963
- listOrganizationAuthorizations: async (input = {}) => await client.requestJson({
13964
- invalidMessage: "Invalid Organization Binding authorization list response.",
13965
- method: "GET",
13966
- operation: "agent_profile_binding.organization_authorization.list",
13967
- requestContext: input.requestContext,
13968
- schema: listOrganizationBindingAuthorizationsResponseSchema,
13969
- url: buildAgentProfileBindingOrganizationAuthorizationsRoute()
13970
- }),
13971
- listCurrentUserOrganizationWakeAccess: async (input = {}) => await client.requestJson({
13972
- invalidMessage: "Invalid organization Wake access list response.",
13973
- method: "GET",
13974
- operation: "agent_profile_binding.organization_wake_access.list",
13975
- requestContext: input.requestContext,
13976
- schema: listCurrentUserAgentProfileOrganizationWakeAccessResponseSchema,
13977
- url: buildCurrentUserAgentProfileOrganizationWakeAccessRoute()
13978
- }),
13979
- revokePrimaryBindingForOrganization: async (input) => {
13980
- const request = requireValidBindingRouteInput(input);
13981
- return await client.requestJson({
13982
- invalidMessage: "Invalid Organization Binding authorization revoke response.",
13983
- method: "DELETE",
13984
- operation: "agent_profile_binding.organization_authorization.revoke",
13985
- requestContext: request.requestContext,
13986
- schema: revokeAgentProfileBindingForOrganizationResponseSchema,
13987
- url: buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute(request.agentProfileId)
13988
- });
13989
- },
13990
13868
  disablePrimaryBinding: async (input) => {
13991
13869
  const request = requireValidBindingRouteInput(input);
13992
13870
  return await client.requestJson({
@@ -15690,15 +15568,6 @@ function buildCurrentOrganizationCenterAgentMemoryPolicyPath() {
15690
15568
  function buildCurrentOrganizationInformationProtectionPath() {
15691
15569
  return "/v1/organizations/current/information-protection";
15692
15570
  }
15693
- function buildOrganizationBindingAuthorizationsBulkPath(organizationId) {
15694
- return `/v1/organizations/${encodeURIComponent(organizationId)}/binding-authorizations/bulk`;
15695
- }
15696
- function buildOrganizationBindingAuthorizationProfilesPath(organizationId) {
15697
- return `/v1/organizations/${encodeURIComponent(organizationId)}/binding-authorizations/profiles`;
15698
- }
15699
- function buildOrganizationBindingAuthorizationPreferencePath(organizationId) {
15700
- return `/v1/organizations/${encodeURIComponent(organizationId)}/binding-authorization-preference`;
15701
- }
15702
15571
  function buildAgentProfileCreationDefaultsPath(organizationId, agentControllerRef) {
15703
15572
  return `/v1/organizations/${encodeURIComponent(organizationId)}/agent-profile-creation-defaults/${encodeURIComponent(agentControllerRef)}`;
15704
15573
  }
@@ -15720,9 +15589,6 @@ function buildAgentProfileCreationRequestRetryPath(organizationId, requestId) {
15720
15589
  function buildAgentProfileCreationApprovalPreferencePath(organizationId) {
15721
15590
  return `/v1/organizations/${encodeURIComponent(organizationId)}/agent-profile-creation-approval-preference`;
15722
15591
  }
15723
- function buildOrganizationWakeAccessChoicePath(organizationId) {
15724
- return `/v1/organizations/${encodeURIComponent(organizationId)}/wake-access-choice`;
15725
- }
15726
15592
  const createOrganizationApi = (client) => ({
15727
15593
  createAgentProfileCreationRequest: async (input) => {
15728
15594
  const body = createAgentProfileCreationRequestBodySchema.parse({
@@ -15859,41 +15725,6 @@ const createOrganizationApi = (client) => ({
15859
15725
  schema: organizationLogoResponseSchema,
15860
15726
  invalidMessage: "invalid Organization logo removal response"
15861
15727
  }),
15862
- bulkAuthorizeAgentProfileBindings: async (input) => {
15863
- const body = bulkAuthorizeAgentProfileBindingsForOrganizationBodySchema.parse({ agentProfileIds: input.agentProfileIds });
15864
- return await client.requestJson({
15865
- url: buildOrganizationBindingAuthorizationsBulkPath(input.organizationId),
15866
- operation: "organization.binding_authorization.bulk_authorize",
15867
- method: "POST",
15868
- requestContext: input.requestContext,
15869
- signal: input.signal,
15870
- timeoutMs: input.timeoutMs,
15871
- headers: { "content-type": "application/json" },
15872
- body: JSON.stringify(body),
15873
- schema: bulkAuthorizeAgentProfileBindingsForOrganizationResponseSchema,
15874
- invalidMessage: "invalid Organization Binding authorization bulk response"
15875
- });
15876
- },
15877
- getBindingAuthorizationPreference: async (input) => await client.requestJson({
15878
- url: buildOrganizationBindingAuthorizationPreferencePath(input.organizationId),
15879
- operation: "organization.binding_authorization.preference.read",
15880
- method: "GET",
15881
- requestContext: input.requestContext,
15882
- signal: input.signal,
15883
- timeoutMs: input.timeoutMs,
15884
- schema: getOrganizationBindingAuthorizationPreferenceResponseSchema,
15885
- invalidMessage: "invalid Organization Binding authorization preference response"
15886
- }),
15887
- listBindingAuthorizationProfiles: async (input) => await client.requestJson({
15888
- url: buildOrganizationBindingAuthorizationProfilesPath(input.organizationId),
15889
- operation: "organization.binding_authorization.profiles.list",
15890
- method: "GET",
15891
- requestContext: input.requestContext,
15892
- signal: input.signal,
15893
- timeoutMs: input.timeoutMs,
15894
- schema: listOrganizationBindingAuthorizationProfilesResponseSchema,
15895
- invalidMessage: "invalid Organization Binding authorization profile list response"
15896
- }),
15897
15728
  getCurrentDirectory: async (input = {}) => await client.requestJson({
15898
15729
  url: buildCurrentOrganizationDirectoryPath({
15899
15730
  agentProfileWorkRecoveryVersion: input.agentProfileWorkRecoveryVersion ?? 2,
@@ -16124,21 +15955,6 @@ const createOrganizationApi = (client) => ({
16124
15955
  invalidMessage: "invalid Organization information protection policy response"
16125
15956
  });
16126
15957
  },
16127
- setBindingAuthorizationPreference: async (input) => {
16128
- const body = setOrganizationBindingAuthorizationPreferenceBodySchema.parse({ autoAuthorizeAgentProfileBindings: input.autoAuthorizeAgentProfileBindings });
16129
- return await client.requestJson({
16130
- url: buildOrganizationBindingAuthorizationPreferencePath(input.organizationId),
16131
- operation: "organization.binding_authorization.preference.write",
16132
- method: "PUT",
16133
- requestContext: input.requestContext,
16134
- signal: input.signal,
16135
- timeoutMs: input.timeoutMs,
16136
- headers: { "content-type": "application/json" },
16137
- body: JSON.stringify(body),
16138
- schema: setOrganizationBindingAuthorizationPreferenceResponseSchema,
16139
- invalidMessage: "invalid Organization Binding authorization preference response"
16140
- });
16141
- },
16142
15958
  setAgentProfileCreationDefaults: async (input) => {
16143
15959
  const body = setAgentProfileCreationDefaultsBodySchema.parse({
16144
15960
  agentControllerCollaborationMode: input.agentControllerCollaborationMode,
@@ -16160,21 +15976,6 @@ const createOrganizationApi = (client) => ({
16160
15976
  schema: setAgentProfileCreationDefaultsResponseSchema,
16161
15977
  invalidMessage: "invalid Agent Profile creation defaults response"
16162
15978
  });
16163
- },
16164
- saveWakeAccessChoice: async (input) => {
16165
- const body = saveOrganizationWakeAccessChoiceBodySchema.parse({ enableWakeAccess: input.enableWakeAccess });
16166
- return await client.requestJson({
16167
- url: buildOrganizationWakeAccessChoicePath(input.organizationId),
16168
- operation: "organization.wake_access_choice.write",
16169
- method: "PUT",
16170
- requestContext: input.requestContext,
16171
- signal: input.signal,
16172
- timeoutMs: input.timeoutMs,
16173
- headers: { "content-type": "application/json" },
16174
- body: JSON.stringify(body),
16175
- schema: saveOrganizationWakeAccessChoiceResponseSchema,
16176
- invalidMessage: "invalid Organization Wake access choice response"
16177
- });
16178
15979
  }
16179
15980
  });
16180
15981
  function toOrganizationLogoBody(bytes) {
@@ -18163,6 +17964,7 @@ function buildSpaceUpdatesReadPath(input) {
18163
17964
  async function getSpaceWakeProgress(client, input) {
18164
17965
  const searchParams = new URLSearchParams();
18165
17966
  searchParams.set("clientMessageId", input.clientMessageId);
17967
+ if (input.includeSourceContext === true) searchParams.set("includeSourceContext", "true");
18166
17968
  if (input.includeTiming === true) searchParams.set("includeTiming", "true");
18167
17969
  if (input.includeWaitReason === true) searchParams.set("includeWaitReason", "true");
18168
17970
  if (input.includeWakeStopEligibility === true) searchParams.set("includeWakeStopEligibility", "true");
@@ -18182,12 +17984,14 @@ async function getSpaceWakeProgress(client, input) {
18182
17984
  }
18183
17985
  async function getActiveSpaceWakeProgress(client, input) {
18184
17986
  const searchParams = new URLSearchParams();
17987
+ if (input.includeSourceContext === true) searchParams.set("includeSourceContext", "true");
18185
17988
  if (input.includeTiming === true) searchParams.set("includeTiming", "true");
18186
17989
  if (input.includeWaitReason === true) searchParams.set("includeWaitReason", "true");
18187
17990
  if (input.includeWakeStopEligibility === true) searchParams.set("includeWakeStopEligibility", "true");
18188
17991
  if (input.targetProfileId) searchParams.set("targetProfileId", input.targetProfileId);
17992
+ if (input.sourceProfileId) searchParams.set("sourceProfileId", input.sourceProfileId);
18189
17993
  const query = searchParams.toString();
18190
- return await client.requestJson({
17994
+ const response = await client.requestJson({
18191
17995
  url: query ? `${buildActiveSpaceWakeProgressPath(input.spaceId)}?${query}` : buildActiveSpaceWakeProgressPath(input.spaceId),
18192
17996
  operation: "space.active_wake_progress",
18193
17997
  method: "GET",
@@ -18198,6 +18002,17 @@ async function getActiveSpaceWakeProgress(client, input) {
18198
18002
  schema: getActiveSpaceWakeProgressResponseSchema,
18199
18003
  invalidMessage: "invalid active wake progress response"
18200
18004
  });
18005
+ if (input.sourceProfileId && response.query.sourceProfileId !== input.sourceProfileId) throw new OpenMeldApiClientInvalidResponseError({
18006
+ message: "Active Wake progress did not confirm the requested source profile filter.",
18007
+ operation: "space.active_wake_progress",
18008
+ status: 200,
18009
+ rawBody: JSON.stringify(response),
18010
+ schemaIssue: {
18011
+ message: "The response source profile did not match the requested source profile.",
18012
+ path: ["query", "sourceProfileId"]
18013
+ }
18014
+ });
18015
+ return response;
18201
18016
  }
18202
18017
  async function postSpaceWakeStop(client, input) {
18203
18018
  const parsedBody = postSpaceWakeStopBodySchema.safeParse(input.body);
@@ -18392,4 +18207,4 @@ function composeAbortSignals(parent, timeout) {
18392
18207
  //#endregion
18393
18208
  export { submitAgentControllerTaskLifecycleEventItemSchema as $, spaceMemberDirectoryAllowedRelationsSchema as $t, MAX_TEXT_LENGTH as A, submitFeedbackIssueRequestSchema as At, toErrorMessage$2 as B, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Bt, createSpaceApi as C, agentControllerCollaborationModeSchema as Cn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as Ct, toStructuredApiClientFailure as D, profileCapabilitiesResponseSchema as Dt, resolveProfileSpaceHistoryGatewayHost as E, authProfileManagedRoleSchema as Et, OPENMELD_HEADER_PROFILE_ID as F, listCenterAgentRoutinesResponseSchema as Ft, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as G, agentActivitySnapshotResponseSchema as Gt, toErrorMessage$3 as H, agentActivityProviderSchema as Ht, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as I, pauseCenterAgentRoutineResponseSchema as It, spaceDispatchTraceAttemptStatusSchema as J, localProjectControlDiscoverProjectsResponseSchema as Jt, projectSpaceDispatchTraceFinalVisibleOutcome as K, localProjectControlConnectionSchema as Kt, OPENMELD_HEADER_REQUEST_ID as L, resumeCenterAgentRoutineResponseSchema as Lt, parseIncoming as M, createCenterAgentRoutineResponseSchema as Mt, parseServerErrorFrame as N, deleteCenterAgentRoutineResponseSchema as Nt, DAEMON_STREAM_KEEPALIVE_PING as O, profileErrorResponseSchema as Ot, resolveCustomMentionAliasOverride as P, listCenterAgentRoutineRunsResponseSchema as Pt, projectObservabilityWakeCorrelation as Q, spaceMemberAgentWakeAvailabilitySchema as Qt, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as R, updateCenterAgentRoutineResponseSchema as Rt, createRuntimeReportingApi as S, agentControllerPermissionModeSchema as Sn, organizationDirectoryResponseSchema as St, resolveAccountSpaceIndexGatewayHost as T, authProfileKindSchema as Tt, getSpaceUpdatesResponseSchema as U, agentActivitySessionStatusSchema as Ut, sleep as V, agentActivityEventSchema as Vt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as W, agentActivitySnapshotQuerySchema as Wt, spaceDispatchTraceResponseSchema as X, postSpaceMembersResponseSchema as Xt, spaceDispatchTraceDispatchStatusSchema as Y, leaveSpaceResponseSchema as Yt, observabilityWakeTraceSelectorSchema as Z, removeSpaceMembersResponseSchema as Zt, createOrganizationSkillsApi as _, START_BOUNDED_VERSION_SCHEMA as _n, listOrganizationSkillsResponseSchema as _t, buildSpaceAttachmentDownloadPath as a, agentActivitySessionInventoryQuerySchema as an, gatewayErrorEnvelopeSchema as at, createProjectsApi as b, startReplyReadinessSummarySchema as bn, organizationSkillSummarySchema as bt, createAgentProfileBindingApi as c, observedLocalAgentSessionSchema as cn, computerFileAccessDaemonFrameSchema as ct, createCurrentDeviceApi as d, listProjectsResponseSchema as dn, modelCatalogSchema as dt, spaceMemberDirectoryEntrySchema as en, ownerComputerDiagnosticsSchema as et, createFeedbackApi as f, projectSchema as fn, organizationSpaceDirectoryWithMemberCountsResponseSchema as ft, createOrganizationApi as g, START_BOUNDED_ID_SCHEMA as gn, getOrganizationSkillResponseSchema as gt, createOpenMeldApiClient as h, openCodePermissionConfigSchema as hn, spaceMetaSchema as ht, buildProfileSpaceHistoryUpsertPath as i, agentActivityInventorySessionStatusSchema as in, agentProfileCreationConfigurationSchema as it, parseEnvelope as j, submitFeedbackIssueResponseSchema as jt, DAEMON_STREAM_KEEPALIVE_PONG as k, organizationComputersResponseSchema as kt, createCenterAgentApi as l, archiveProjectResponseSchema as ln, computerFileAccessPolicyInputSchema as lt, createLocalRuntimeExpectedRoutesApi as m, centerAgentToolSpeakerSchema as mn, spaceCreatorSchema as mt, OpenMeldApiClientInvalidResponseError as n, spaceMemberKindSchema as nn, summarizeComputerFileAccessPolicy as nt, createAccountSpaceIndexApi as o, agentActivitySessionInventoryResponseSchema as on, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as ot, createFetchTransport as p, updateProjectResponseSchema as pn, resolveInitialSpaceAccessMode as pt, resolveSpaceDispatchTraceRootCause as q, localProjectControlDaemonFrameSchema as qt, buildProfileSpaceHistoryStatusPath as r, agentActivityInventorySessionOriginSchema as rn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as rt, createAgentActivityApi as s, localAgentSessionProviderSchema as sn, OPENMELD_RUNTIME_CAPABILITIES_HEADER as st, OpenMeldApiClientHttpError as t, spaceMemberDirectorySchema as tn, projectOwnerComputerLocalRuntimes as tt, createComputerFileAccessApi as u, createProjectResponseSchema as un, computerFileAccessPolicySchema as ut, createPrepareReadinessApi as v, START_ISO_DATE_TIME_SCHEMA as vn, organizationSkillBundleSchema as vt, dist_exports as w, toCompatibleSpaceAddressingRequestWireValue as wn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as wt, createRoutinesApi as x, localAgentCatalogSchema as xn, stringifyOrganizationSkillBundleCanonicalJson as xt, createProfileSpaceHistoryApi as y, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as yn, organizationSkillReleaseSummarySchema as yt, buildOpenMeldRequestContextHeaders as z, AGENT_ACTIVITY_EVENT_MAX_BYTES as zt };
18394
18209
 
18395
- //# sourceMappingURL=dist-R6IbrImd.js.map
18210
+ //# sourceMappingURL=dist-BPsknNZJ.js.map