openmeld 0.3.131 → 0.3.133

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 normalizeKnownBuiltinAgentControllerId, an as runtimeTransportModeSchema, bn as resolveBuiltinAgentControllerConversationCapability, fn as agentControllerRefSchema, xn as __exportAll, yn as agentControllerConversationCapabilitySchema } from "./base-url-BtqW4aLS.js";
4
- import { $ as agentTaskCompletionObservationSchema, $n as array, $r as profileWorkspaceModeSchema, Ar as spaceTraceExecutionIdentityProjectionSchema, At as conversationCompactionMarkerSchema, Br as updateOrganizationInformationProtectionPolicyBodySchema, Cn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Cr as clientMessageIdSchema$1, Ct as spaceAttachmentDescriptorSchema, Dn as spaceAgentStreamPresenceSchema, Dr as runtimeCoordinatorExecutionRecordSchema, Dt as spaceAttachmentSizeBytesSchema, En as spaceAgentStreamPartFrameSchema, Er as runtimeCoordinatorExecutionEventSchema, Et as spaceAttachmentMimeTypeSchema, F as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Ft as createSpaceFolderResponseSchema, Gn as openMeldToolsMaintenanceMutationResultSchema, Gr as openMeldRequestContextSchema, Gt as spaceMessageFileReferencesSchema, Hn as localComponentUpdateProjectionSchema, Hr as executeExecutionRecoveryResponseSchema, Ht as restoreSpaceFileRevisionResponseSchema, Ir as spaceMentionLabelSchema, It as getSpaceFileResponseSchema, J as localFolderPickerRequestSchema, Jt as uploadSpaceFileResponseSchema, Kn as openMeldToolsMaintenanceProjectionSchema, Kt as trashSpaceFileEntryResponseSchema, L as openMeldDaemonProviderAccessEvidenceProviderSchema, Lr as spaceMentionLabelSourceSchema, Mr as normalizeSpacePasswordText, Mt as centerAgentInteractionSourceSchema, Nr as spacePasswordSchema, Nt as SPACE_FILE_ERROR_CODES, On as spaceAgentStreamSnapshotSchema, Ot as spaceMessageAttachmentSchema, Pn as agentInteractionResponseSchema, Pt as SPACE_FILE_MAX_SIZE_BYTES, Q as agentTaskCompletionConditionSchema, Qn as NEVER, Qr as profileWorkingDirectorySchema, Qt as openMeldDaemonSyncRouteCatalogPayloadSchema, Rr as organizationInformationProtectionPolicyResponseSchema, Rt as listSpaceFileRevisionsResponseSchema, Sr as postSpaceWakeStopResponseSchema, St as signalTextSchema, Tn as spaceAgentStreamDeltaFrameSchema, Tr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Tt as spaceAttachmentFileNameSchema, Un as localComponentUpdateStatusSchema, Ur as inspectExecutionRecoveryResponseSchema, Ut as spaceFileMimeTypeSchema, V as openMeldDaemonTaskResultProjectFailureContextSchema, Vn as localComponentUpdatePolicySchema, Vr as executeExecutionRecoveryBodySchema, Vt as restoreSpaceFileEntryResponseSchema, X as localFolderPathSchema, Xn as openMeldToolsUpdateRequestResultSchema, Xr as profileKindSchema, Y as localFolderPickerResultSchema, Yn as openMeldToolsUpdateOperationSchema, Yr as openMeldRuntimeProfileIdSchema, Yt as localAgentInstallationOptionSchema, Z as agentDelegationSnapshotSchema, Zr as profileSchema, _r as undefinedFactory, _t as centerAgentTaskReferenceSchema, ai as MAX_TEXT_LENGTH$1, an as spaceThreadSchema, ar as int, at as spaceWakeAgentTaskHandleSchema, bn as messageEnvelopeSchema, br as url, bt as signalSystemNoticeDataSchema, cr as neverFactory, dn as spacePublicationModeSchema, dr as object, ei as uuidProfileIdSchema, er as boolean, et as agentTaskHandleSchema, fi as computerSetupModeSchema, fn as spaceDispatchPolicySchema, fr as preprocess, gr as tuple, hn as targetWakeLifecycleIdentitySchema, hr as string, ii as trimmedStringFromUnknown, in as spaceThreadEventSchema, ir as enumFactory, it as controllerAgentTaskHandleSchema, jn as agentInteractionPendingSummarySchema, jr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, kn as spaceAgentStreamTerminalFrameSchema, kt as spaceMessageAttachmentsSchema, ln as resultArchivePolicySchema, lr as nullFactory, mi as openMeldWebUrlSchema, mn as workingLanguageTagSchema, mr as strictObject, n as daemonExecutionCompatibilitySchema, ni as nonEmptyTrimmedStringFromUnknown, nn as dispatchExecutionSchema, nr as discriminatedUnion, nt as areAgentTaskTerminalOutcomesEqual, on as spaceThreadSignalPlacementSchema, or as iso, pi as openMeldNavigationTargetSchema, pn as workingLanguageGuidanceSchema, pr as record, qr as agentProfileIdSchema, qt as updateSpaceFileEntryResponseSchema, ri as optionalBooleanQuerySchema, rn as spaceThreadContextSchema, rr as email, rt as buildAgentTaskKey, sr as literal, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as finiteIntegerNumber, tr as coerce, tt as agentTaskTerminalOutcomeSchema, un as spaceAllowedActionsSchema, ur as number, vr as union, wn as agentStreamToolPartSchema, wt as spaceAttachmentDimensionSchema, xr as postSpaceWakeStopBodySchema, xt as signalTextDataSchema, yr as unknown, yt as signalStatusDataSchema, zr as organizationProtectedInformationSchema, zt as listSpaceFilesResponseSchema } from "./runtime-transport-CHbXitKu.js";
4
+ import { $ as agentTaskCompletionConditionSchema, $n as openMeldToolsUpdateOperationSchema, $r as openMeldRuntimeProfileIdSchema, $t as localAgentInstallationOptionSchema, An as spaceAgentStreamPartFrameSchema, Ar as runtimeCoordinatorExecutionEventSchema, At as spaceMessageAttachmentsSchema, Br as spaceMentionLabelSchema, Bt as listSpaceFileRevisionsResponseSchema, Cr as unknown, Ct as signalTextSchema, Dn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Dr as clientMessageIdSchema$1, Dt as spaceAttachmentMimeTypeSchema, Er as postSpaceWakeStopResponseSchema, Et as spaceAttachmentFileNameSchema, F as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Fn as agentInteractionPendingSummarySchema, Fr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Ft as SPACE_FILE_MAX_SIZE_BYTES, Gn as localComponentUpdatePolicySchema, Gr as executeExecutionRecoveryBodySchema, Gt as restoreSpaceFileRevisionResponseSchema, H as openMeldDaemonTaskResultProjectFailureContextSchema, Hr as organizationInformationProtectionPolicyResponseSchema, Ht as publishSpaceComposerUploadResponseSchema, Ir as normalizeSpacePasswordText, It as createSpaceFolderResponseSchema, Jt as spaceMessageFileReferencesSchema, Kn as localComponentUpdateProjectionSchema, Kr as executeExecutionRecoveryResponseSchema, Kt as spaceFileMimeTypeSchema, L as openMeldDaemonProviderAccessEvidenceProviderSchema, Lr as spacePasswordSchema, Lt as discardSpaceComposerUploadResponseSchema, Mn as spaceAgentStreamSnapshotSchema, Nn as spaceAgentStreamTerminalFrameSchema, Nt as centerAgentInteractionSourceSchema, On as agentStreamToolPartSchema, Ot as spaceAttachmentSizeBytesSchema, Pr as spaceTraceExecutionIdentityProjectionSchema, Pt as SPACE_FILE_ERROR_CODES, Q as agentDelegationSnapshotSchema, Qt as uploadSpaceFileResponseSchema, Rn as agentInteractionResponseSchema, Rt as getSpaceFileResponseSchema, Sr as union, St as signalTextDataSchema, Tr as postSpaceWakeStopBodySchema, Tt as spaceAttachmentDimensionSchema, Ur as organizationProtectedInformationSchema, Vr as spaceMentionLabelSourceSchema, Vt as listSpaceFilesResponseSchema, Wr as updateOrganizationInformationProtectionPolicyBodySchema, Wt as restoreSpaceFileEntryResponseSchema, X as localFolderPickerResultSchema, Xn as openMeldToolsMaintenanceProjectionSchema, Xt as trashSpaceFileEntryResponseSchema, Y as localFolderPickerRequestSchema, Yn as openMeldToolsMaintenanceMutationResultSchema, Yr as openMeldRequestContextSchema, Yt as stageSpaceComposerUploadResponseSchema, Z as localFolderPathSchema, Zr as agentProfileIdSchema, Zt as updateSpaceFileEntryResponseSchema, _i as openMeldNavigationTargetSchema, _n as workingLanguageGuidanceSchema, _r as record, ai as finiteIntegerNumber, ar as coerce, at as controllerAgentTaskHandleSchema, br as tuple, bt as signalStatusDataSchema, ci as trimmedStringFromUnknown, cn as spaceThreadEventSchema, cr as enumFactory, dr as literal, ei as profileKindSchema, er as openMeldToolsUpdateRequestResultSchema, et as agentTaskCompletionObservationSchema, fr as neverFactory, gi as computerSetupModeSchema, gn as spaceDispatchPolicySchema, gr as preprocess, hn as spacePublicationModeSchema, hr as object, ii as uuidProfileIdSchema, ir as boolean, it as buildAgentTaskKey, jn as spaceAgentStreamPresenceSchema, jr as runtimeCoordinatorExecutionRecordSchema, jt as conversationCompactionMarkerSchema, kn as spaceAgentStreamDeltaFrameSchema, kr as runtimeCoordinatorExecutionCreationDiagnosticSchema, kt as spaceMessageAttachmentSchema, li as MAX_TEXT_LENGTH$1, ln as spaceThreadSchema, lr as int, mn as spaceAllowedActionsSchema, mr as number, n as daemonExecutionCompatibilitySchema, ni as profileWorkingDirectorySchema, nn as openMeldDaemonSyncRouteCatalogPayloadSchema, nr as NEVER, nt as agentTaskTerminalOutcomeSchema, oi as nonEmptyTrimmedStringFromUnknown, on as dispatchExecutionSchema, or as discriminatedUnion, ot as spaceWakeAgentTaskHandleSchema, pn as resultArchivePolicySchema, pr as nullFactory, qn as localComponentUpdateStatusSchema, qr as inspectExecutionRecoveryResponseSchema, ri as profileWorkspaceModeSchema, rr as array, rt as areAgentTaskTerminalOutcomesEqual, si as optionalBooleanQuerySchema, sn as spaceThreadContextSchema, sr as email, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as profileSchema, tt as agentTaskHandleSchema, un as spaceThreadSignalPlacementSchema, ur as iso, vi as openMeldWebUrlSchema, vn as workingLanguageTagSchema, vr as strictObject, vt as centerAgentTaskReferenceSchema, wn as messageEnvelopeSchema, wr as url, wt as spaceAttachmentDescriptorSchema, xr as undefinedFactory, xt as signalSystemNoticeDataSchema, yn as targetWakeLifecycleIdentitySchema, yr as string } from "./runtime-transport-C_9yu9UB.js";
5
5
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
6
6
  import * as z$1 from "zod/v4";
7
7
  //#region ../../packages/schemas/dist/agent-execution-readiness-impact-taxonomy.js
@@ -4115,6 +4115,11 @@ const organizationDirectoryResponseSchema = strictObject({
4115
4115
  members: array(organizationDirectoryMemberSchema),
4116
4116
  agentProfiles: array(organizationDirectoryAgentProfileSchema)
4117
4117
  });
4118
+ strictObject({
4119
+ lastActiveAt: ISO_DATE_TIME_SCHEMA$10,
4120
+ organizationId: trimmedNonEmptyStringSchema$14,
4121
+ userId: trimmedNonEmptyStringSchema$14
4122
+ });
4118
4123
  strictObject({
4119
4124
  cursor: string().trim().min(1).max(1024).optional(),
4120
4125
  limit: number().int().min(1).max(100).optional()
@@ -7691,6 +7696,7 @@ const getSpaceStatusResponseSchema = z$1.object({
7691
7696
  name: optionalTrimmedStringSchema,
7692
7697
  spacePurpose: optionalTrimmedStringSchema,
7693
7698
  directMessageConvertedAt: isoDateTimeSchema$3.optional(),
7699
+ organizationVisibility: spaceOrganizationVisibilitySchema.optional(),
7694
7700
  accessMode: spaceAccessModeSchema,
7695
7701
  passwordProtected: z$1.boolean(),
7696
7702
  dispatchPolicy: spaceDispatchPolicySchema,
@@ -16841,6 +16847,14 @@ function buildSpaceFileUploadPath(input) {
16841
16847
  if (input.parentId) searchParams.set("parentId", input.parentId);
16842
16848
  return `${buildSpaceFilesPath(input.spaceId)}?${searchParams.toString()}`;
16843
16849
  }
16850
+ function buildSpaceComposerUploadPath(input) {
16851
+ const path = `${buildSpaceRoutePath(input.spaceId, "composer-uploads")}/${encodeURIComponent(input.uploadId)}`;
16852
+ if (input.name === void 0) return path;
16853
+ return `${path}?${new URLSearchParams({ name: input.name }).toString()}`;
16854
+ }
16855
+ function buildSpaceComposerUploadPublishPath(input) {
16856
+ return `${buildSpaceComposerUploadPath(input)}/publish`;
16857
+ }
16844
16858
  function buildSpaceAttachmentUploadPath(spaceId, query) {
16845
16859
  const path = buildSpaceAttachmentsPath(spaceId);
16846
16860
  const searchParams = new URLSearchParams();
@@ -17326,6 +17340,43 @@ async function uploadSpaceFile(client, input) {
17326
17340
  invalidMessage: "invalid Space file upload response"
17327
17341
  })).file;
17328
17342
  }
17343
+ async function stageSpaceComposerUpload(client, input) {
17344
+ const body = toRequestBody(input.bytes);
17345
+ validateSize(body);
17346
+ const mimeType = parseMimeType(input.mimeType);
17347
+ return (await client.requestJson({
17348
+ ...requestFields(input),
17349
+ body,
17350
+ headers: { "content-type": mimeType },
17351
+ invalidMessage: "invalid Space Composer upload response",
17352
+ method: "PUT",
17353
+ operation: "space.composer_uploads.stage",
17354
+ schema: stageSpaceComposerUploadResponseSchema,
17355
+ url: buildSpaceComposerUploadPath(input)
17356
+ })).upload;
17357
+ }
17358
+ async function publishSpaceComposerUpload(client, input) {
17359
+ return (await client.requestJson({
17360
+ ...requestFields(input),
17361
+ body: JSON.stringify({ clientMutationId: input.clientMutationId }),
17362
+ headers: { "content-type": "application/json" },
17363
+ invalidMessage: "invalid Space Composer upload publication response",
17364
+ method: "POST",
17365
+ operation: "space.composer_uploads.publish",
17366
+ schema: publishSpaceComposerUploadResponseSchema,
17367
+ url: buildSpaceComposerUploadPublishPath(input)
17368
+ })).file;
17369
+ }
17370
+ async function discardSpaceComposerUpload(client, input) {
17371
+ await client.requestJson({
17372
+ ...requestFields(input),
17373
+ invalidMessage: "invalid Space Composer upload discard response",
17374
+ method: "DELETE",
17375
+ operation: "space.composer_uploads.discard",
17376
+ schema: discardSpaceComposerUploadResponseSchema,
17377
+ url: buildSpaceComposerUploadPath(input)
17378
+ });
17379
+ }
17329
17380
  async function updateSpaceFileContent(client, input) {
17330
17381
  const body = toRequestBody(input.bytes);
17331
17382
  validateSize(body);
@@ -17810,6 +17861,9 @@ const createSpaceApi = (client) => {
17810
17861
  restoreFileEntry: async (input) => await restoreSpaceFileEntry(client, input),
17811
17862
  restoreFileRevision: async (input) => await restoreSpaceFileRevision(client, input),
17812
17863
  uploadFile: async (input) => await uploadSpaceFile(client, input),
17864
+ stageComposerUpload: async (input) => await stageSpaceComposerUpload(client, input),
17865
+ publishComposerUpload: async (input) => await publishSpaceComposerUpload(client, input),
17866
+ discardComposerUpload: async (input) => await discardSpaceComposerUpload(client, input),
17813
17867
  updateFileContent: async (input) => await updateSpaceFileContent(client, input),
17814
17868
  downloadFileContent: async (input) => await downloadSpaceFileContent(client, input),
17815
17869
  removeMembers: async (input) => await removeSpaceMembers(client, input),
@@ -17944,4 +17998,4 @@ function composeAbortSignals(parent, timeout) {
17944
17998
  //#endregion
17945
17999
  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 };
17946
18000
 
17947
- //# sourceMappingURL=dist-BnHChh7U.js.map
18001
+ //# sourceMappingURL=dist-xeL9hjwh.js.map