openmeld 0.3.149 → 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(),
@@ -12308,10 +12228,6 @@ function resolveListSignalsReadQuerySemantics(input) {
12308
12228
  path: "aroundSignalId",
12309
12229
  message: "aroundSignalId cannot be combined with limit."
12310
12230
  });
12311
- if (input.aroundSignalId && (input.beforeCount ?? 0) <= 0 && (input.afterCount ?? 0) <= 0) issues.push({
12312
- path: "aroundSignalId",
12313
- message: "aroundSignalId requires beforeCount > 0 or afterCount > 0."
12314
- });
12315
12231
  if (issues.length > 0) return {
12316
12232
  ok: false,
12317
12233
  issues
@@ -13245,6 +13161,13 @@ const wakeStopEligibilityReadModelSchema = z$1.union([
13245
13161
  const wakeProgressItemSchema = z$1.strictObject({
13246
13162
  clientMessageId: clientMessageIdSchema$1.nullable(),
13247
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(),
13248
13171
  dispatchId: z$1.string().trim().min(1).nullable(),
13249
13172
  runtimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable().optional(),
13250
13173
  targetProfileId: z$1.string().trim().min(1),
@@ -13263,6 +13186,7 @@ z$1.strictObject({
13263
13186
  spaceId: nonEmptyTrimmedStringFromUnknown,
13264
13187
  clientMessageId: clientMessageIdSchema$1,
13265
13188
  includeTiming: optionalBooleanQuerySchema,
13189
+ includeSourceContext: optionalBooleanQuerySchema,
13266
13190
  includeWaitReason: optionalBooleanQuerySchema,
13267
13191
  includeWakeStopEligibility: optionalBooleanQuerySchema,
13268
13192
  targetProfileId: optionalSelectorSchema
@@ -13278,13 +13202,16 @@ const getSpaceWakeProgressResponseSchema = z$1.strictObject({
13278
13202
  z$1.strictObject({
13279
13203
  spaceId: nonEmptyTrimmedStringFromUnknown,
13280
13204
  includeTiming: optionalBooleanQuerySchema,
13205
+ includeSourceContext: optionalBooleanQuerySchema,
13281
13206
  includeWaitReason: optionalBooleanQuerySchema,
13282
13207
  includeWakeStopEligibility: optionalBooleanQuerySchema,
13208
+ sourceProfileId: optionalSelectorSchema,
13283
13209
  targetProfileId: optionalSelectorSchema
13284
13210
  });
13285
13211
  const getActiveSpaceWakeProgressResponseSchema = z$1.strictObject({
13286
13212
  query: z$1.strictObject({
13287
13213
  spaceId: z$1.string().trim().min(1),
13214
+ sourceProfileId: z$1.string().trim().min(1).nullable().optional(),
13288
13215
  targetProfileId: z$1.string().trim().min(1).nullable()
13289
13216
  }),
13290
13217
  items: z$1.array(wakeProgressItemSchema)
@@ -13488,14 +13415,12 @@ var dist_exports = /* @__PURE__ */ __exportAll({
13488
13415
  buildAgentActivitySessionsPath: () => buildAgentActivitySessionsPath,
13489
13416
  buildAgentActivitySnapshotPath: () => buildAgentActivitySnapshotPath,
13490
13417
  buildAgentActivityStatsPath: () => buildAgentActivityStatsPath,
13491
- buildAgentProfileBindingOrganizationAuthorizationsRoute: () => buildAgentProfileBindingOrganizationAuthorizationsRoute,
13492
13418
  buildAgentProfileCreationApprovalPreferencePath: () => buildAgentProfileCreationApprovalPreferencePath,
13493
13419
  buildAgentProfileCreationDefaultsPath: () => buildAgentProfileCreationDefaultsPath,
13494
13420
  buildAgentProfileCreationRequestCancelPath: () => buildAgentProfileCreationRequestCancelPath,
13495
13421
  buildAgentProfileCreationRequestDecisionPath: () => buildAgentProfileCreationRequestDecisionPath,
13496
13422
  buildAgentProfileCreationRequestRetryPath: () => buildAgentProfileCreationRequestRetryPath,
13497
13423
  buildAgentProfileCreationRequestsPath: () => buildAgentProfileCreationRequestsPath,
13498
- buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute: () => buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute,
13499
13424
  buildAgentProfileWorkRecoveryRoute: () => buildAgentProfileWorkRecoveryRoute,
13500
13425
  buildCenterAgentAuditJournalPath: () => buildCenterAgentAuditJournalPath,
13501
13426
  buildCenterAgentDesignationPath: () => buildCenterAgentDesignationPath,
@@ -13541,9 +13466,6 @@ var dist_exports = /* @__PURE__ */ __exportAll({
13541
13466
  buildLocalFolderPickerPath: () => buildLocalFolderPickerPath,
13542
13467
  buildLocalProjectControlPath: () => buildLocalProjectControlPath,
13543
13468
  buildModelCatalogPath: () => buildModelCatalogPath,
13544
- buildOrganizationBindingAuthorizationPreferencePath: () => buildOrganizationBindingAuthorizationPreferencePath,
13545
- buildOrganizationBindingAuthorizationProfilesPath: () => buildOrganizationBindingAuthorizationProfilesPath,
13546
- buildOrganizationBindingAuthorizationsBulkPath: () => buildOrganizationBindingAuthorizationsBulkPath,
13547
13469
  buildOrganizationDocumentApproveDraftPath: () => buildOrganizationDocumentApproveDraftPath,
13548
13470
  buildOrganizationDocumentDiscardDraftPath: () => buildOrganizationDocumentDiscardDraftPath,
13549
13471
  buildOrganizationDocumentPath: () => buildOrganizationDocumentPath,
@@ -13555,7 +13477,6 @@ var dist_exports = /* @__PURE__ */ __exportAll({
13555
13477
  buildOrganizationSkillPath: () => buildOrganizationSkillPath,
13556
13478
  buildOrganizationSkillsPath: () => buildOrganizationSkillsPath,
13557
13479
  buildOrganizationUsageOverviewPath: () => buildOrganizationUsageOverviewPath,
13558
- buildOrganizationWakeAccessChoicePath: () => buildOrganizationWakeAccessChoicePath,
13559
13480
  buildProfileRoute: () => buildProfileRoute,
13560
13481
  buildProfileSpaceHistoryListPath: () => buildProfileSpaceHistoryListPath,
13561
13482
  buildProfileSpaceHistoryStatusPath: () => buildProfileSpaceHistoryStatusPath,
@@ -13791,15 +13712,6 @@ function buildAgentProfilePrimaryBindingAgentControllerCollaborationModeRoute(ag
13791
13712
  function buildAgentProfilePrimaryBindingOpenCodePermissionRoute(agentProfileId) {
13792
13713
  return `${buildAgentProfilePrimaryBindingRoute(agentProfileId)}/opencode-permission`;
13793
13714
  }
13794
- function buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute(agentProfileId) {
13795
- return `${buildAgentProfilePrimaryBindingRoute(agentProfileId)}/organization-authorization`;
13796
- }
13797
- function buildAgentProfileBindingOrganizationAuthorizationsRoute() {
13798
- return "/v1/agent-profiles/primary-bindings/organization-authorizations";
13799
- }
13800
- function buildCurrentUserAgentProfileOrganizationWakeAccessRoute() {
13801
- return "/v1/agent-profiles/primary-bindings/organization-wake-access";
13802
- }
13803
13715
  function buildAgentProfileRouteCatalogSyncRoute(agentProfileId) {
13804
13716
  return `/v1/agent-profiles/${encodeURIComponent(agentProfileId)}/route-catalog-sync`;
13805
13717
  }
@@ -13953,44 +13865,6 @@ const createAgentProfileBindingApi = (client) => {
13953
13865
  url: buildAgentProfilePrimaryBindingRoute(input.agentProfileId)
13954
13866
  });
13955
13867
  },
13956
- authorizePrimaryBindingForOrganization: async (input) => {
13957
- const request = requireValidBindingRouteInput(input);
13958
- return await client.requestJson({
13959
- invalidMessage: "Invalid Organization Binding authorization response.",
13960
- method: "PUT",
13961
- operation: "agent_profile_binding.organization_authorization.authorize",
13962
- requestContext: request.requestContext,
13963
- schema: authorizeAgentProfileBindingForOrganizationResponseSchema,
13964
- url: buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute(request.agentProfileId)
13965
- });
13966
- },
13967
- listOrganizationAuthorizations: async (input = {}) => await client.requestJson({
13968
- invalidMessage: "Invalid Organization Binding authorization list response.",
13969
- method: "GET",
13970
- operation: "agent_profile_binding.organization_authorization.list",
13971
- requestContext: input.requestContext,
13972
- schema: listOrganizationBindingAuthorizationsResponseSchema,
13973
- url: buildAgentProfileBindingOrganizationAuthorizationsRoute()
13974
- }),
13975
- listCurrentUserOrganizationWakeAccess: async (input = {}) => await client.requestJson({
13976
- invalidMessage: "Invalid organization Wake access list response.",
13977
- method: "GET",
13978
- operation: "agent_profile_binding.organization_wake_access.list",
13979
- requestContext: input.requestContext,
13980
- schema: listCurrentUserAgentProfileOrganizationWakeAccessResponseSchema,
13981
- url: buildCurrentUserAgentProfileOrganizationWakeAccessRoute()
13982
- }),
13983
- revokePrimaryBindingForOrganization: async (input) => {
13984
- const request = requireValidBindingRouteInput(input);
13985
- return await client.requestJson({
13986
- invalidMessage: "Invalid Organization Binding authorization revoke response.",
13987
- method: "DELETE",
13988
- operation: "agent_profile_binding.organization_authorization.revoke",
13989
- requestContext: request.requestContext,
13990
- schema: revokeAgentProfileBindingForOrganizationResponseSchema,
13991
- url: buildAgentProfilePrimaryBindingOrganizationAuthorizationRoute(request.agentProfileId)
13992
- });
13993
- },
13994
13868
  disablePrimaryBinding: async (input) => {
13995
13869
  const request = requireValidBindingRouteInput(input);
13996
13870
  return await client.requestJson({
@@ -15694,15 +15568,6 @@ function buildCurrentOrganizationCenterAgentMemoryPolicyPath() {
15694
15568
  function buildCurrentOrganizationInformationProtectionPath() {
15695
15569
  return "/v1/organizations/current/information-protection";
15696
15570
  }
15697
- function buildOrganizationBindingAuthorizationsBulkPath(organizationId) {
15698
- return `/v1/organizations/${encodeURIComponent(organizationId)}/binding-authorizations/bulk`;
15699
- }
15700
- function buildOrganizationBindingAuthorizationProfilesPath(organizationId) {
15701
- return `/v1/organizations/${encodeURIComponent(organizationId)}/binding-authorizations/profiles`;
15702
- }
15703
- function buildOrganizationBindingAuthorizationPreferencePath(organizationId) {
15704
- return `/v1/organizations/${encodeURIComponent(organizationId)}/binding-authorization-preference`;
15705
- }
15706
15571
  function buildAgentProfileCreationDefaultsPath(organizationId, agentControllerRef) {
15707
15572
  return `/v1/organizations/${encodeURIComponent(organizationId)}/agent-profile-creation-defaults/${encodeURIComponent(agentControllerRef)}`;
15708
15573
  }
@@ -15724,9 +15589,6 @@ function buildAgentProfileCreationRequestRetryPath(organizationId, requestId) {
15724
15589
  function buildAgentProfileCreationApprovalPreferencePath(organizationId) {
15725
15590
  return `/v1/organizations/${encodeURIComponent(organizationId)}/agent-profile-creation-approval-preference`;
15726
15591
  }
15727
- function buildOrganizationWakeAccessChoicePath(organizationId) {
15728
- return `/v1/organizations/${encodeURIComponent(organizationId)}/wake-access-choice`;
15729
- }
15730
15592
  const createOrganizationApi = (client) => ({
15731
15593
  createAgentProfileCreationRequest: async (input) => {
15732
15594
  const body = createAgentProfileCreationRequestBodySchema.parse({
@@ -15863,41 +15725,6 @@ const createOrganizationApi = (client) => ({
15863
15725
  schema: organizationLogoResponseSchema,
15864
15726
  invalidMessage: "invalid Organization logo removal response"
15865
15727
  }),
15866
- bulkAuthorizeAgentProfileBindings: async (input) => {
15867
- const body = bulkAuthorizeAgentProfileBindingsForOrganizationBodySchema.parse({ agentProfileIds: input.agentProfileIds });
15868
- return await client.requestJson({
15869
- url: buildOrganizationBindingAuthorizationsBulkPath(input.organizationId),
15870
- operation: "organization.binding_authorization.bulk_authorize",
15871
- method: "POST",
15872
- requestContext: input.requestContext,
15873
- signal: input.signal,
15874
- timeoutMs: input.timeoutMs,
15875
- headers: { "content-type": "application/json" },
15876
- body: JSON.stringify(body),
15877
- schema: bulkAuthorizeAgentProfileBindingsForOrganizationResponseSchema,
15878
- invalidMessage: "invalid Organization Binding authorization bulk response"
15879
- });
15880
- },
15881
- getBindingAuthorizationPreference: async (input) => await client.requestJson({
15882
- url: buildOrganizationBindingAuthorizationPreferencePath(input.organizationId),
15883
- operation: "organization.binding_authorization.preference.read",
15884
- method: "GET",
15885
- requestContext: input.requestContext,
15886
- signal: input.signal,
15887
- timeoutMs: input.timeoutMs,
15888
- schema: getOrganizationBindingAuthorizationPreferenceResponseSchema,
15889
- invalidMessage: "invalid Organization Binding authorization preference response"
15890
- }),
15891
- listBindingAuthorizationProfiles: async (input) => await client.requestJson({
15892
- url: buildOrganizationBindingAuthorizationProfilesPath(input.organizationId),
15893
- operation: "organization.binding_authorization.profiles.list",
15894
- method: "GET",
15895
- requestContext: input.requestContext,
15896
- signal: input.signal,
15897
- timeoutMs: input.timeoutMs,
15898
- schema: listOrganizationBindingAuthorizationProfilesResponseSchema,
15899
- invalidMessage: "invalid Organization Binding authorization profile list response"
15900
- }),
15901
15728
  getCurrentDirectory: async (input = {}) => await client.requestJson({
15902
15729
  url: buildCurrentOrganizationDirectoryPath({
15903
15730
  agentProfileWorkRecoveryVersion: input.agentProfileWorkRecoveryVersion ?? 2,
@@ -16128,21 +15955,6 @@ const createOrganizationApi = (client) => ({
16128
15955
  invalidMessage: "invalid Organization information protection policy response"
16129
15956
  });
16130
15957
  },
16131
- setBindingAuthorizationPreference: async (input) => {
16132
- const body = setOrganizationBindingAuthorizationPreferenceBodySchema.parse({ autoAuthorizeAgentProfileBindings: input.autoAuthorizeAgentProfileBindings });
16133
- return await client.requestJson({
16134
- url: buildOrganizationBindingAuthorizationPreferencePath(input.organizationId),
16135
- operation: "organization.binding_authorization.preference.write",
16136
- method: "PUT",
16137
- requestContext: input.requestContext,
16138
- signal: input.signal,
16139
- timeoutMs: input.timeoutMs,
16140
- headers: { "content-type": "application/json" },
16141
- body: JSON.stringify(body),
16142
- schema: setOrganizationBindingAuthorizationPreferenceResponseSchema,
16143
- invalidMessage: "invalid Organization Binding authorization preference response"
16144
- });
16145
- },
16146
15958
  setAgentProfileCreationDefaults: async (input) => {
16147
15959
  const body = setAgentProfileCreationDefaultsBodySchema.parse({
16148
15960
  agentControllerCollaborationMode: input.agentControllerCollaborationMode,
@@ -16164,21 +15976,6 @@ const createOrganizationApi = (client) => ({
16164
15976
  schema: setAgentProfileCreationDefaultsResponseSchema,
16165
15977
  invalidMessage: "invalid Agent Profile creation defaults response"
16166
15978
  });
16167
- },
16168
- saveWakeAccessChoice: async (input) => {
16169
- const body = saveOrganizationWakeAccessChoiceBodySchema.parse({ enableWakeAccess: input.enableWakeAccess });
16170
- return await client.requestJson({
16171
- url: buildOrganizationWakeAccessChoicePath(input.organizationId),
16172
- operation: "organization.wake_access_choice.write",
16173
- method: "PUT",
16174
- requestContext: input.requestContext,
16175
- signal: input.signal,
16176
- timeoutMs: input.timeoutMs,
16177
- headers: { "content-type": "application/json" },
16178
- body: JSON.stringify(body),
16179
- schema: saveOrganizationWakeAccessChoiceResponseSchema,
16180
- invalidMessage: "invalid Organization Wake access choice response"
16181
- });
16182
15979
  }
16183
15980
  });
16184
15981
  function toOrganizationLogoBody(bytes) {
@@ -18167,6 +17964,7 @@ function buildSpaceUpdatesReadPath(input) {
18167
17964
  async function getSpaceWakeProgress(client, input) {
18168
17965
  const searchParams = new URLSearchParams();
18169
17966
  searchParams.set("clientMessageId", input.clientMessageId);
17967
+ if (input.includeSourceContext === true) searchParams.set("includeSourceContext", "true");
18170
17968
  if (input.includeTiming === true) searchParams.set("includeTiming", "true");
18171
17969
  if (input.includeWaitReason === true) searchParams.set("includeWaitReason", "true");
18172
17970
  if (input.includeWakeStopEligibility === true) searchParams.set("includeWakeStopEligibility", "true");
@@ -18186,12 +17984,14 @@ async function getSpaceWakeProgress(client, input) {
18186
17984
  }
18187
17985
  async function getActiveSpaceWakeProgress(client, input) {
18188
17986
  const searchParams = new URLSearchParams();
17987
+ if (input.includeSourceContext === true) searchParams.set("includeSourceContext", "true");
18189
17988
  if (input.includeTiming === true) searchParams.set("includeTiming", "true");
18190
17989
  if (input.includeWaitReason === true) searchParams.set("includeWaitReason", "true");
18191
17990
  if (input.includeWakeStopEligibility === true) searchParams.set("includeWakeStopEligibility", "true");
18192
17991
  if (input.targetProfileId) searchParams.set("targetProfileId", input.targetProfileId);
17992
+ if (input.sourceProfileId) searchParams.set("sourceProfileId", input.sourceProfileId);
18193
17993
  const query = searchParams.toString();
18194
- return await client.requestJson({
17994
+ const response = await client.requestJson({
18195
17995
  url: query ? `${buildActiveSpaceWakeProgressPath(input.spaceId)}?${query}` : buildActiveSpaceWakeProgressPath(input.spaceId),
18196
17996
  operation: "space.active_wake_progress",
18197
17997
  method: "GET",
@@ -18202,6 +18002,17 @@ async function getActiveSpaceWakeProgress(client, input) {
18202
18002
  schema: getActiveSpaceWakeProgressResponseSchema,
18203
18003
  invalidMessage: "invalid active wake progress response"
18204
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;
18205
18016
  }
18206
18017
  async function postSpaceWakeStop(client, input) {
18207
18018
  const parsedBody = postSpaceWakeStopBodySchema.safeParse(input.body);
@@ -18396,4 +18207,4 @@ function composeAbortSignals(parent, timeout) {
18396
18207
  //#endregion
18397
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 };
18398
18209
 
18399
- //# sourceMappingURL=dist-uIlo_qlW.js.map
18210
+ //# sourceMappingURL=dist-BPsknNZJ.js.map