openmeld 0.3.112 → 0.3.114

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.
@@ -6344,14 +6344,22 @@ const agentProfileCreationRequestStatusReasonSchema = z$1.enum([
6344
6344
  const completeAgentProfileCreationConfigurationSchema = agentProfileCreationPreferenceSelectionSchema.safeExtend({
6345
6345
  agentControllerRef: agentControllerRefSchema.nullable(),
6346
6346
  authorizeForOrganization: z$1.boolean(),
6347
+ localAgentConnectionCandidateId: identifierSchema$2.nullable().optional(),
6347
6348
  targetComputerId: identifierSchema$2.nullable()
6348
6349
  }).superRefine((configuration, context) => {
6349
6350
  const hasController = configuration.agentControllerRef !== null;
6350
- if (hasController !== (configuration.targetComputerId !== null)) context.addIssue({
6351
+ const hasComputer = configuration.targetComputerId !== null;
6352
+ const hasCandidate = configuration.localAgentConnectionCandidateId != null;
6353
+ if (hasController !== hasComputer) context.addIssue({
6351
6354
  code: "custom",
6352
6355
  message: "agentControllerRef and targetComputerId must be provided together.",
6353
6356
  path: hasController ? ["targetComputerId"] : ["agentControllerRef"]
6354
6357
  });
6358
+ if (hasCandidate && !(hasController && hasComputer)) context.addIssue({
6359
+ code: "custom",
6360
+ message: "localAgentConnectionCandidateId requires an Agent Controller and Computer.",
6361
+ path: ["localAgentConnectionCandidateId"]
6362
+ });
6355
6363
  if (configuration.reasoningLevel !== null && configuration.modelId === null) context.addIssue({
6356
6364
  code: "custom",
6357
6365
  message: "reasoningLevel requires modelId.",
@@ -6373,10 +6381,10 @@ const completeAgentProfileCreationConfigurationSchema = agentProfileCreationPref
6373
6381
  });
6374
6382
  const agentProfileCreationConfigurationSchema = z$1.preprocess(addMissingAgentControllerCollaborationMode, completeAgentProfileCreationConfigurationSchema);
6375
6383
  function addMissingAgentControllerCollaborationMode(value) {
6376
- if (typeof value !== "object" || value === null || Array.isArray(value) || Object.hasOwn(value, "agentControllerCollaborationMode")) return value;
6384
+ if (typeof value !== "object" || value === null || Array.isArray(value)) return value;
6377
6385
  return {
6378
6386
  ...value,
6379
- agentControllerCollaborationMode: null
6387
+ ...Object.hasOwn(value, "agentControllerCollaborationMode") ? {} : { agentControllerCollaborationMode: null }
6380
6388
  };
6381
6389
  }
6382
6390
  const DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION = {
@@ -17961,4 +17969,4 @@ function composeAbortSignals(parent, timeout) {
17961
17969
  //#endregion
17962
17970
  export { ownerComputerDiagnosticsSchema as $, agentActivityInventorySessionStatusSchema as $t, MAX_TEXT_LENGTH as A, createCenterAgentRoutineResponseSchema as At, sleep as B, agentActivityProviderSchema as Bt, createSpaceApi as C, authProfileKindSchema as Ct, toStructuredApiClientFailure as D, organizationComputersResponseSchema as Dt, resolveProfileSpaceHistoryGatewayHost as E, profileErrorResponseSchema as Et, OPENMELD_HEADER_PROFILE_ID as F, resumeCenterAgentRoutineResponseSchema as Ft, projectSpaceDispatchTraceFinalVisibleOutcome as G, localProjectControlDaemonFrameSchema as Gt, getSpaceUpdatesResponseSchema as H, agentActivitySnapshotQuerySchema as Ht, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as I, updateCenterAgentRoutineResponseSchema as It, spaceDispatchTraceDispatchStatusSchema as J, postSpaceMembersResponseSchema as Jt, resolveSpaceDispatchTraceRootCause as K, localProjectControlDiscoverProjectsResponseSchema as Kt, OPENMELD_HEADER_REQUEST_ID as L, AGENT_ACTIVITY_EVENT_MAX_BYTES as Lt, parseIncoming as M, listCenterAgentRoutineRunsResponseSchema as Mt, parseServerErrorFrame as N, listCenterAgentRoutinesResponseSchema as Nt, DAEMON_STREAM_KEEPALIVE_PING as O, submitFeedbackIssueRequestSchema as Ot, resolveCustomMentionAliasOverride as P, pauseCenterAgentRoutineResponseSchema as Pt, submitAgentControllerTaskLifecycleEventItemSchema as Q, agentActivityInventorySessionOriginSchema as Qt, buildOpenMeldRequestContextHeaders as R, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Rt, createRuntimeReportingApi as S, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as St, resolveAccountSpaceIndexGatewayHost as T, profileCapabilitiesResponseSchema as Tt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as U, agentActivitySnapshotResponseSchema as Ut, toErrorMessage$3 as V, agentActivitySessionStatusSchema as Vt, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as W, localProjectControlConnectionSchema as Wt, observabilityWakeTraceSelectorSchema as X, spaceMemberDirectoryEntrySchema as Xt, spaceDispatchTraceResponseSchema as Y, removeSpaceMembersResponseSchema as Yt, projectObservabilityWakeCorrelation as Z, spaceMemberDirectorySchema as Zt, createOrganizationSkillsApi as _, agentControllerPermissionModeSchema as _n, organizationSkillReleaseSummarySchema as _t, buildSpaceAttachmentDownloadPath as a, createProjectResponseSchema as an, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as at, createProjectsApi as b, organizationDirectoryResponseSchema as bt, createAgentProfileBindingApi as c, updateProjectResponseSchema as cn, computerFileAccessPolicyInputSchema as ct, createCurrentDeviceApi as d, START_BOUNDED_ID_SCHEMA as dn, organizationSpaceDirectoryWithMemberCountsResponseSchema as dt, agentActivitySessionInventoryQuerySchema as en, projectOwnerComputerLocalRuntimes as et, createFeedbackApi as f, START_BOUNDED_VERSION_SCHEMA as fn, spaceCreatorSchema as ft, createOrganizationApi as g, localAgentCatalogSchema as gn, organizationSkillBundleSchema as gt, createOpenMeldApiClient as h, startReplyReadinessSummarySchema as hn, listOrganizationSkillsResponseSchema as ht, buildProfileSpaceHistoryUpsertPath as i, archiveProjectResponseSchema as in, gatewayErrorEnvelopeSchema as it, parseEnvelope as j, deleteCenterAgentRoutineResponseSchema as jt, DAEMON_STREAM_KEEPALIVE_PONG as k, submitFeedbackIssueResponseSchema as kt, createCenterAgentApi as l, centerAgentToolSpeakerSchema as ln, computerFileAccessPolicySchema as lt, createLocalRuntimeExpectedRoutesApi as m, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as mn, getOrganizationSkillResponseSchema as mt, OpenMeldApiClientInvalidResponseError as n, localAgentSessionProviderSchema as nn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as nt, createAccountSpaceIndexApi as o, listProjectsResponseSchema as on, OPENMELD_RUNTIME_CAPABILITIES_HEADER as ot, createFetchTransport as p, START_ISO_DATE_TIME_SCHEMA as pn, spaceMetaSchema as pt, spaceDispatchTraceAttemptStatusSchema as q, leaveSpaceResponseSchema as qt, buildProfileSpaceHistoryStatusPath as r, observedLocalAgentSessionSchema as rn, agentProfileCreationConfigurationSchema as rt, createAgentActivityApi as s, projectSchema as sn, computerFileAccessDaemonFrameSchema as st, OpenMeldApiClientHttpError as t, agentActivitySessionInventoryResponseSchema as tn, summarizeComputerFileAccessPolicy as tt, createComputerFileAccessApi as u, openCodePermissionConfigSchema as un, modelCatalogSchema as ut, createPrepareReadinessApi as v, agentControllerCollaborationModeSchema as vn, organizationSkillSummarySchema as vt, dist_exports as w, authProfileManagedRoleSchema as wt, createRoutinesApi as x, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as xt, createProfileSpaceHistoryApi as y, toLegacySpaceAddressingWireValue as yn, stringifyOrganizationSkillBundleCanonicalJson as yt, toErrorMessage$2 as z, agentActivityEventSchema as zt };
17963
17971
 
17964
- //# sourceMappingURL=dist-YI3Zjqfu.js.map
17972
+ //# sourceMappingURL=dist-BAzyHNIX.js.map