openmeld 0.3.96 → 0.3.98

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { _n as __exportAll, cn as agentControllerRefSchema, gn as resolveBuiltinAgentControllerConversationCapability, hn as agentControllerConversationCapabilitySchema, pn as normalizeKnownBuiltinAgentControllerId, tn as runtimeTransportModeSchema } from "./base-url-Cv9x5Es9.js";
4
- import { $ as agentTaskTerminalOutcomeSchema, $n as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, At as centerAgentInteractionSourceSchema, Bn as localComponentUpdateProjectionSchema, Bt as restoreSpaceFileRevisionResponseSchema, Cn as spaceAgentStreamDeltaFrameSchema, Cr as finiteIntegerNumber, Ct as spaceAttachmentFileNameSchema, Dn as spaceAgentStreamTerminalFrameSchema, Dr as MAX_TEXT_LENGTH$1, Dt as spaceMessageAttachmentsSchema, En as spaceAgentStreamSnapshotSchema, Er as trimmedStringFromUnknown, Et as spaceMessageAttachmentSchema, F as openMeldDaemonProviderAccessEvidenceProviderSchema, Fr as openMeldWebUrlSchema, Gn as clientMessageIdSchema$1, Gt as updateSpaceFileEntryResponseSchema, It as listSpaceFileRevisionsResponseSchema, J as localFolderPathSchema, Jn as runtimeCoordinatorExecutionEventSchema, K as localFolderPickerRequestSchema, Kt as uploadSpaceFileResponseSchema, Lt as listSpaceFilesResponseSchema, Mn as agentInteractionResponseSchema, N as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Nr as computerSetupModeSchema, Nt as createSpaceFolderResponseSchema, Ot as conversationCompactionMarkerSchema, Pr as openMeldNavigationTargetSchema, Pt as getSpaceFileResponseSchema, Q as agentTaskHandleSchema, Qn as spaceTraceExecutionIdentityProjectionSchema, Sn as agentStreamToolPartSchema, Sr as uuidProfileIdSchema, St as spaceAttachmentDimensionSchema, Tn as spaceAgentStreamPresenceSchema, Tr as optionalBooleanQuerySchema, Tt as spaceAttachmentSizeBytesSchema, Un as postSpaceWakeStopBodySchema, Ut as spaceMessageFileReferencesSchema, Vn as localComponentUpdateStatusSchema, Vt as spaceFileMimeTypeSchema, Wn as postSpaceWakeStopResponseSchema, Wt as trashSpaceFileEntryResponseSchema, X as agentTaskCompletionConditionSchema, Xt as openMeldDaemonSyncRouteCatalogPayloadSchema, Y as agentDelegationSnapshotSchema, Yn as runtimeCoordinatorExecutionRecordSchema, Z as agentTaskCompletionObservationSchema, _r as openMeldRuntimeProfileIdSchema, _t as signalStatusDataSchema, ar as spaceMentionLabelSourceSchema, br as profileWorkingDirectorySchema, bt as signalTextSchema, cn as spaceAllowedActionsSchema, cr as updateOrganizationInformationProtectionPolicyBodySchema, dn as workingLanguageGuidanceSchema, dr as inspectExecutionRecoveryResponseSchema, en as dispatchExecutionSchema, er as normalizeSpacePasswordText, et as areAgentTaskTerminalOutcomesEqual, fn as workingLanguageTagSchema, hr as agentProfileIdSchema, ht as centerAgentTaskReferenceSchema, in as spaceThreadSignalPlacementSchema, ir as spaceMentionLabelSchema, jt as SPACE_FILE_ERROR_CODES, kn as agentInteractionPendingSummarySchema, ln as spacePublicationModeSchema, lr as executeExecutionRecoveryBodySchema, n as daemonExecutionCompatibilitySchema, nn as spaceThreadEventSchema, nt as controllerAgentTaskHandleSchema, or as organizationInformationProtectionPolicyResponseSchema, pn as targetWakeLifecycleIdentitySchema, pr as openMeldRequestContextSchema, q as localFolderPickerResultSchema, qn as runtimeCoordinatorExecutionCreationDiagnosticSchema, qt as localAgentInstallationOptionSchema, rn as spaceThreadSchema, rt as spaceWakeAgentTaskHandleSchema, sn as resultArchivePolicySchema, sr as organizationProtectedInformationSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceThreadContextSchema, tr as spacePasswordSchema, tt as buildAgentTaskKey, un as spaceDispatchPolicySchema, ur as executeExecutionRecoveryResponseSchema, vn as messageEnvelopeSchema, vr as profileKindSchema, vt as signalSystemNoticeDataSchema, wn as spaceAgentStreamPartFrameSchema, wr as nonEmptyTrimmedStringFromUnknown, wt as spaceAttachmentMimeTypeSchema, xn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, xr as profileWorkspaceModeSchema, xt as spaceAttachmentDescriptorSchema, yr as profileSchema, yt as signalTextDataSchema, z as openMeldDaemonTaskResultProjectFailureContextSchema, zn as localComponentUpdatePolicySchema, zt as restoreSpaceFileEntryResponseSchema } from "./runtime-transport-J50KvRbm.js";
4
+ import { $ as agentTaskTerminalOutcomeSchema, $n as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, At as centerAgentInteractionSourceSchema, Bn as localComponentUpdateProjectionSchema, Bt as restoreSpaceFileRevisionResponseSchema, Cn as spaceAgentStreamDeltaFrameSchema, Cr as finiteIntegerNumber, Ct as spaceAttachmentFileNameSchema, Dn as spaceAgentStreamTerminalFrameSchema, Dr as MAX_TEXT_LENGTH$1, Dt as spaceMessageAttachmentsSchema, En as spaceAgentStreamSnapshotSchema, Er as trimmedStringFromUnknown, Et as spaceMessageAttachmentSchema, F as openMeldDaemonProviderAccessEvidenceProviderSchema, Fr as openMeldWebUrlSchema, Gn as clientMessageIdSchema$1, Gt as updateSpaceFileEntryResponseSchema, It as listSpaceFileRevisionsResponseSchema, J as localFolderPathSchema, Jn as runtimeCoordinatorExecutionEventSchema, K as localFolderPickerRequestSchema, Kt as uploadSpaceFileResponseSchema, Lt as listSpaceFilesResponseSchema, Mn as agentInteractionResponseSchema, Mt as SPACE_FILE_MAX_SIZE_BYTES, N as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Nr as computerSetupModeSchema, Nt as createSpaceFolderResponseSchema, Ot as conversationCompactionMarkerSchema, Pr as openMeldNavigationTargetSchema, Pt as getSpaceFileResponseSchema, Q as agentTaskHandleSchema, Qn as spaceTraceExecutionIdentityProjectionSchema, Sn as agentStreamToolPartSchema, Sr as uuidProfileIdSchema, St as spaceAttachmentDimensionSchema, Tn as spaceAgentStreamPresenceSchema, Tr as optionalBooleanQuerySchema, Tt as spaceAttachmentSizeBytesSchema, Un as postSpaceWakeStopBodySchema, Ut as spaceMessageFileReferencesSchema, Vn as localComponentUpdateStatusSchema, Vt as spaceFileMimeTypeSchema, Wn as postSpaceWakeStopResponseSchema, Wt as trashSpaceFileEntryResponseSchema, X as agentTaskCompletionConditionSchema, Xt as openMeldDaemonSyncRouteCatalogPayloadSchema, Y as agentDelegationSnapshotSchema, Yn as runtimeCoordinatorExecutionRecordSchema, Z as agentTaskCompletionObservationSchema, _r as openMeldRuntimeProfileIdSchema, _t as signalStatusDataSchema, ar as spaceMentionLabelSourceSchema, br as profileWorkingDirectorySchema, bt as signalTextSchema, cn as spaceAllowedActionsSchema, cr as updateOrganizationInformationProtectionPolicyBodySchema, dn as workingLanguageGuidanceSchema, dr as inspectExecutionRecoveryResponseSchema, en as dispatchExecutionSchema, er as normalizeSpacePasswordText, et as areAgentTaskTerminalOutcomesEqual, fn as workingLanguageTagSchema, hr as agentProfileIdSchema, ht as centerAgentTaskReferenceSchema, in as spaceThreadSignalPlacementSchema, ir as spaceMentionLabelSchema, jt as SPACE_FILE_ERROR_CODES, kn as agentInteractionPendingSummarySchema, ln as spacePublicationModeSchema, lr as executeExecutionRecoveryBodySchema, n as daemonExecutionCompatibilitySchema, nn as spaceThreadEventSchema, nt as controllerAgentTaskHandleSchema, or as organizationInformationProtectionPolicyResponseSchema, pn as targetWakeLifecycleIdentitySchema, pr as openMeldRequestContextSchema, q as localFolderPickerResultSchema, qn as runtimeCoordinatorExecutionCreationDiagnosticSchema, qt as localAgentInstallationOptionSchema, rn as spaceThreadSchema, rt as spaceWakeAgentTaskHandleSchema, sn as resultArchivePolicySchema, sr as organizationProtectedInformationSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceThreadContextSchema, tr as spacePasswordSchema, tt as buildAgentTaskKey, un as spaceDispatchPolicySchema, ur as executeExecutionRecoveryResponseSchema, vn as messageEnvelopeSchema, vr as profileKindSchema, vt as signalSystemNoticeDataSchema, wn as spaceAgentStreamPartFrameSchema, wr as nonEmptyTrimmedStringFromUnknown, wt as spaceAttachmentMimeTypeSchema, xn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, xr as profileWorkspaceModeSchema, xt as spaceAttachmentDescriptorSchema, yr as profileSchema, yt as signalTextDataSchema, z as openMeldDaemonTaskResultProjectFailureContextSchema, zn as localComponentUpdatePolicySchema, zt as restoreSpaceFileEntryResponseSchema } from "./runtime-transport-Ch3hTK9F.js";
5
5
  import { r as daemonServiceLaneSchema } from "./service-contract-DZWQdPz5.js";
6
6
  import { z } from "zod/v4";
7
7
  //#region ../../packages/schemas/dist/agent-execution-readiness-impact-taxonomy.js
@@ -964,6 +964,23 @@ submitAgentActivitySessionReconciliationBodySchema.safeExtend({
964
964
  const boundedIdentifierSchema$10 = z.string().trim().min(1).max(256);
965
965
  const reasonCodeSchema$5 = z.string().trim().min(1).max(256);
966
966
  const agentProfileBindingRouteParamsSchema = z.strictObject({ agentProfileId: boundedIdentifierSchema$10 });
967
+ const getAgentProfileControllerChangeEligibilityResponseSchema = z.discriminatedUnion("status", [
968
+ z.strictObject({
969
+ agentProfileId: boundedIdentifierSchema$10,
970
+ reasonCode: z.literal("agent_profile_binding.controller_change_allowed"),
971
+ status: z.literal("allowed")
972
+ }),
973
+ z.strictObject({
974
+ agentProfileId: boundedIdentifierSchema$10,
975
+ reasonCode: z.literal("agent_profile_binding.controller_change_blocked_active_execution"),
976
+ status: z.literal("blocked")
977
+ }),
978
+ z.strictObject({
979
+ agentProfileId: boundedIdentifierSchema$10,
980
+ reasonCode: reasonCodeSchema$5,
981
+ status: z.literal("unavailable")
982
+ })
983
+ ]);
967
984
  const agentProfileBindingRuntimeIdSchema = z.strictObject({
968
985
  source: z.literal("runtime_registry_authority"),
969
986
  value: z.string().trim().min(1).max(512)
@@ -7876,15 +7893,26 @@ const remoteAgentWorkerAdmissionRejectedResponseSchema = z.strictObject({
7876
7893
  v: z.literal(1)
7877
7894
  });
7878
7895
  z.union([remoteAgentWorkerSubmitMessagesResultSchema, remoteAgentWorkerAdmissionRejectedResponseSchema]);
7879
- const remoteAgentWorkerInputAttachmentSchema = spaceMessageAttachmentSchema.extend({
7896
+ const remoteAgentWorkerLegacyInputAttachmentSchema = spaceMessageAttachmentSchema.extend({
7897
+ objectKey: z.undefined().optional(),
7898
+ removeAfterAdmission: z.literal(true).optional()
7899
+ });
7900
+ const remoteAgentWorkerSpaceFileInputAttachmentSchema = spaceMessageAttachmentSchema.extend({
7880
7901
  /**
7881
7902
  * Core-resolved immutable object key for a canonical Space File revision.
7882
- * Legacy message attachments omit this field and retain their derived key.
7883
7903
  */
7884
- objectKey: nonEmptyStringSchema.max(4096).optional(),
7885
- removeAfterAdmission: z.literal(true).optional()
7904
+ objectKey: nonEmptyStringSchema.max(4096),
7905
+ removeAfterAdmission: z.never().optional(),
7906
+ sizeBytes: z.number().int().finite().min(1).max(SPACE_FILE_MAX_SIZE_BYTES)
7907
+ });
7908
+ const remoteAgentWorkerInputAttachmentSchema = z.union([remoteAgentWorkerLegacyInputAttachmentSchema, remoteAgentWorkerSpaceFileInputAttachmentSchema]);
7909
+ const remoteAgentWorkerInputAttachmentsSchema = z.array(remoteAgentWorkerInputAttachmentSchema).max(10).superRefine((attachments, context) => {
7910
+ if (attachments.filter((attachment) => attachment.objectKey === void 0).length > 4) context.addIssue({
7911
+ code: "custom",
7912
+ path: [],
7913
+ message: `Legacy message attachments cannot exceed 4.`
7914
+ });
7886
7915
  });
7887
- const remoteAgentWorkerInputAttachmentsSchema = z.array(remoteAgentWorkerInputAttachmentSchema).max(4);
7888
7916
  const remoteAgentWorkerTurnMessageSchema = z.strictObject({
7889
7917
  role: z.enum(["user"]),
7890
7918
  content: nonEmptyStringSchema,
@@ -13153,6 +13181,9 @@ function requireValidInput$8(schema, value, message) {
13153
13181
  function buildAgentProfilePrimaryBindingRoute(agentProfileId) {
13154
13182
  return `/v1/agent-profiles/${encodeURIComponent(agentProfileId)}/primary-binding`;
13155
13183
  }
13184
+ function buildAgentProfileControllerChangeEligibilityRoute(agentProfileId) {
13185
+ return `/v1/agent-profiles/${encodeURIComponent(agentProfileId)}/controller-change-eligibility`;
13186
+ }
13156
13187
  function buildAgentProfilePrimaryBindingModelSelectionRoute(agentProfileId) {
13157
13188
  return `${buildAgentProfilePrimaryBindingRoute(agentProfileId)}/model-selection`;
13158
13189
  }
@@ -13254,6 +13285,14 @@ function requireValidExecutionReadinessBatchInput(input) {
13254
13285
  }
13255
13286
  const createAgentProfileBindingApi = (client) => {
13256
13287
  return {
13288
+ getControllerChangeEligibility: async (input) => await client.requestJson({
13289
+ invalidMessage: "Invalid Agent Profile Controller change eligibility response.",
13290
+ method: "GET",
13291
+ operation: "agent_profile_binding.controller_change_eligibility.read",
13292
+ requestContext: input.requestContext,
13293
+ schema: getAgentProfileControllerChangeEligibilityResponseSchema,
13294
+ url: buildAgentProfileControllerChangeEligibilityRoute(input.agentProfileId)
13295
+ }),
13257
13296
  getExecutionReadiness: async (input) => {
13258
13297
  const request = requireValidExecutionReadinessInput(input);
13259
13298
  return await client.requestJson({
@@ -17607,4 +17646,4 @@ function composeAbortSignals(parent, timeout) {
17607
17646
  //#endregion
17608
17647
  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 };
17609
17648
 
17610
- //# sourceMappingURL=dist-BBWU3O-I.js.map
17649
+ //# sourceMappingURL=dist-BKlTzgZt.js.map