openmeld 0.3.192 → 0.3.193
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.
- package/dist/{add-me-membership-C47bzJH_.js → add-me-membership-BQcoPSi_.js} +2 -2
- package/dist/{add-me-membership-C47bzJH_.js.map → add-me-membership-BQcoPSi_.js.map} +1 -1
- package/dist/{api-client-foundation-DJYylh9O.js → api-client-foundation-C9FdZYs5.js} +1 -1
- package/dist/{api-client-foundation-CJxKcKjx.js → api-client-foundation-DZ1VF6Jp.js} +3 -3
- package/dist/{api-client-foundation-CJxKcKjx.js.map → api-client-foundation-DZ1VF6Jp.js.map} +1 -1
- package/dist/auth-session-2PfMOWlc.js +4 -0
- package/dist/{auth-session-BBUxZl0r.js → auth-session-zoaAwPvG.js} +2 -2
- package/dist/{auth-session-BBUxZl0r.js.map → auth-session-zoaAwPvG.js.map} +1 -1
- package/dist/{command-BG-s6whz.js → command-Dn7iwNvL.js} +34 -12
- package/dist/command-Dn7iwNvL.js.map +1 -0
- package/dist/{dist-BWS7IyVX.js → dist-DFBcHqmp.js} +2 -2
- package/dist/{dist-DrTg9_9E.js → dist-DOjna6sI.js} +322 -113
- package/dist/dist-DOjna6sI.js.map +1 -0
- package/dist/{elapsed-time-CWidgsKt.js → elapsed-time-7Eje3wxu.js} +3 -3
- package/dist/{elapsed-time-CWidgsKt.js.map → elapsed-time-7Eje3wxu.js.map} +1 -1
- package/dist/{installer-B_RYaLD8.js → installer-CV2FsibQ.js} +3 -3
- package/dist/{installer-B_RYaLD8.js.map → installer-CV2FsibQ.js.map} +1 -1
- package/dist/{openmeld-C3EapSrF.js → openmeld-Bj5JEk7L.js} +13 -13
- package/dist/openmeld-Bj5JEk7L.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DJz-lxZG.js → openmeld-maintenance-worker-Chy2P0UY.js} +3 -3
- package/dist/{openmeld-maintenance-worker-DJz-lxZG.js.map → openmeld-maintenance-worker-Chy2P0UY.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-MHxhBR8_.js → openmeld-tools-update-coordinator-eCHRNtbb.js} +31 -11
- package/dist/openmeld-tools-update-coordinator-eCHRNtbb.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{runtime-transport-DtOI3PNe.js → runtime-transport-Bqz9BdDe.js} +3036 -3025
- package/dist/runtime-transport-Bqz9BdDe.js.map +1 -0
- package/dist/upgrade-BKUqH3y6.js +4 -0
- package/dist/{upgrade-D-8UCiVo.js → upgrade-BZTobc_3.js} +4 -4
- package/dist/{upgrade-D-8UCiVo.js.map → upgrade-BZTobc_3.js.map} +1 -1
- package/package.json +3 -3
- package/dist/auth-session-AKRpcwRN.js +0 -4
- package/dist/command-BG-s6whz.js.map +0 -1
- package/dist/dist-DrTg9_9E.js.map +0 -1
- package/dist/openmeld-C3EapSrF.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-MHxhBR8_.js.map +0 -1
- package/dist/runtime-transport-DtOI3PNe.js.map +0 -1
- package/dist/upgrade-C2F1k7lc.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-pe3_Re-c.js";
|
|
4
|
-
import { $ as localFolderPickerRequestSchema, $n as
|
|
4
|
+
import { $ as localFolderPickerRequestSchema, $n as SPACE_FILE_ERROR_CODES, $r as spaceAgentStreamSnapshotSchema, $t as runtimeCoordinatorExecutionEventSchema, An as signalTextDataSchema, Ar as iso, B as openMeldDaemonOriginalErrorSchema, Br as string, Bt as localComponentUpdateProjectionSchema, Cr as array, Ct as spacePublicationModeSchema, Dr as email, Dt as targetWakeLifecycleIdentitySchema, Ei as openMeldWebUrlSchema, Er as discriminatedUnion, Et as workingLanguageTagSchema, Fn as spaceAttachmentMimeTypeSchema, Fr as number, Gr as url, Hr as undefinedFactory, I as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, In as spaceAttachmentSizeBytesSchema, Ir as object, Jr as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Jt as openMeldToolsUpdateRequestResultSchema, K as openMeldDaemonTaskResultProjectFailureContextSchema, Kn as conversationCompactionMarkerSchema, Kr as clientMessageIdSchema$1, Ln as spaceMessageAttachmentSchema, Lr as preprocess, Mn as spaceAttachmentDescriptorSchema, Mr as literal, Mt as agentInteractionResponseSchema, Nn as spaceAttachmentDimensionSchema, Nr as neverFactory, On as signalStatusDataSchema, Or as enumFactory, Pn as spaceAttachmentFileNameSchema, Pr as nullFactory, Qn as spaceMentionLabelSourceSchema, Qr as spaceAgentStreamPresenceSchema, Qt as runtimeCoordinatorExecutionCreationDiagnosticSchema, Rn as spaceMessageAttachmentsSchema, Rr as record, Sr as NEVER, St as spaceAllowedActionsSchema, Ti as openMeldNavigationTargetSchema, Tr as coerce, Tt as workingLanguageGuidanceSchema, Un as messageEnvelopeSchema, Ur as union, Ut as openMeldToolsMaintenanceMutationResultSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vr as tuple, Vt as localComponentUpdateStatusSchema, Wr as unknown, Wt as openMeldToolsMaintenanceProjectionSchema, Xr as spaceAgentStreamDeltaFrameSchema, Xt as postSpaceWakeStopBodySchema, Yr as agentStreamToolPartSchema, Zn as spaceMentionLabelSchema, Zr as spaceAgentStreamPartFrameSchema, Zt as postSpaceWakeStopResponseSchema, _i as trimmedStringFromUnknown, _r as spaceMessageFileReferencesSchema, an as normalizeSpacePasswordText, ar as listSpaceFileRevisionsResponseSchema, at as agentTaskHandleSchema, br as updateSpaceFileEntryResponseSchema, ci as openMeldRuntimeProfileIdSchema, cn as organizationProtectedInformationSchema, ct as buildAgentTaskKey, di as profileWorkingDirectorySchema, dn as executeExecutionRecoveryResponseSchema, dr as restoreSpaceFileRevisionResponseSchema, dt as localAgentInstallationOptionSchema, ei as spaceAgentStreamTerminalFrameSchema, en as runtimeCoordinatorExecutionRecordSchema, er as SPACE_FILE_MAX_SIZE_BYTES, et as localFolderPickerResultSchema, fi as profileWorkspaceModeSchema, fn as inspectExecutionRecoveryResponseSchema, fr as spaceFileDescriptorSchema, gi as optionalBooleanQuerySchema, hi as nonEmptyTrimmedStringFromUnknown, hn as agentProfileWorkRecoveryActionKindSchema, ii as spaceThreadSignalPlacementSchema, in as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, it as agentTaskCompletionObservationSchema, jn as signalTextSchema, jr as lazySchema, kn as signalSystemNoticeDataSchema, kr as int, kt as agentInteractionPendingSummarySchema, li as profileKindSchema, ln as updateOrganizationInformationProtectionPolicyBodySchema, lt as controllerAgentTaskHandleSchema, mi as finiteIntegerNumber, mn as openMeldRequestContextSchema, mr as spaceFileMimeTypeSchema, mt as openMeldDaemonSyncRouteCatalogPayloadSchema, n as daemonExecutionCompatibilitySchema, ni as spaceThreadEventSchema, nr as discardSpaceComposerUploadResponseSchema, nt as agentDelegationSnapshotSchema, oi as agentProfileIdSchema, on as spacePasswordSchema, or as listSpaceFilesResponseSchema, ot as agentTaskTerminalOutcomeSchema, pi as uuidProfileIdSchema, qn as centerAgentInteractionSourceSchema, qt as openMeldToolsUpdateOperationSchema, ri as spaceThreadSchema, rn as spaceTraceExecutionIdentityProjectionSchema, rr as getSpaceFileResponseSchema, rt as agentTaskCompletionConditionSchema, sn as organizationInformationProtectionPolicyResponseSchema, sr as publishSpaceComposerUploadResponseSchema, st as areAgentTaskTerminalOutcomesEqual, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as spaceThreadContextSchema, tr as createSpaceFolderResponseSchema, tt as localFolderPathSchema, ui as profileSchema, un as executeExecutionRecoveryBodySchema, ur as restoreSpaceFileEntryResponseSchema, ut as spaceWakeAgentTaskHandleSchema, vi as MAX_TEXT_LENGTH$1, vr as stageSpaceComposerUploadResponseSchema, vt as dispatchExecutionSchema, wi as computerSetupModeSchema, wr as boolean, wt as spaceDispatchPolicySchema, xr as uploadSpaceFileResponseSchema, xt as resultArchivePolicySchema, yr as trashSpaceFileEntryResponseSchema, zr as strictObject, zt as localComponentUpdatePolicySchema } from "./runtime-transport-Bqz9BdDe.js";
|
|
5
5
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
6
6
|
import { n as toErrorMessage$3 } from "./dist-o3UL1EGQ.js";
|
|
7
7
|
import * as z$1 from "zod/v4";
|
|
@@ -93,6 +93,169 @@ function omitJsonField(value, fieldName) {
|
|
|
93
93
|
return Object.fromEntries(Object.entries(value).filter(([key]) => key !== fieldName));
|
|
94
94
|
}
|
|
95
95
|
//#endregion
|
|
96
|
+
//#region ../../packages/schemas/dist/schemas/space-mesh/message-reaction.js
|
|
97
|
+
const spaceReactionActorSchema = z$1.object({
|
|
98
|
+
profileId: z$1.string().min(1),
|
|
99
|
+
displayName: z$1.string(),
|
|
100
|
+
profileKind: z$1.enum(["human", "agent"])
|
|
101
|
+
});
|
|
102
|
+
const spaceReactionGroupSchema = z$1.object({
|
|
103
|
+
emoji: z$1.string().min(1).max(64),
|
|
104
|
+
label: z$1.string(),
|
|
105
|
+
count: z$1.number().int().positive(),
|
|
106
|
+
reactedByMe: z$1.boolean(),
|
|
107
|
+
actors: z$1.array(spaceReactionActorSchema),
|
|
108
|
+
actorsHasMore: z$1.boolean()
|
|
109
|
+
});
|
|
110
|
+
const spaceMessageReactionsSchema = z$1.object({
|
|
111
|
+
version: z$1.number().int().nonnegative(),
|
|
112
|
+
groups: z$1.array(spaceReactionGroupSchema)
|
|
113
|
+
});
|
|
114
|
+
z$1.object({
|
|
115
|
+
spaceId: z$1.string().trim().min(1),
|
|
116
|
+
signalId: z$1.string().trim().min(1),
|
|
117
|
+
emoji: z$1.string().min(1).max(64).optional(),
|
|
118
|
+
afterProfileId: z$1.string().min(1).max(256).optional()
|
|
119
|
+
});
|
|
120
|
+
z$1.object({
|
|
121
|
+
spaceId: z$1.string().trim().min(1),
|
|
122
|
+
signalId: z$1.string().trim().min(1),
|
|
123
|
+
emoji: z$1.string().min(1).max(64),
|
|
124
|
+
active: z$1.boolean()
|
|
125
|
+
});
|
|
126
|
+
const getSpaceMessageReactionsResponseSchema = z$1.object({
|
|
127
|
+
signalId: z$1.string(),
|
|
128
|
+
reactions: spaceMessageReactionsSchema,
|
|
129
|
+
actors: z$1.array(spaceReactionActorSchema).optional(),
|
|
130
|
+
nextCursor: z$1.string().nullable().optional()
|
|
131
|
+
});
|
|
132
|
+
//#endregion
|
|
133
|
+
//#region ../../packages/schemas/dist/schemas/protocol/hello.js
|
|
134
|
+
const helloCapabilitiesSchema = z$1.object({
|
|
135
|
+
liveSignalHistory: z$1.boolean().optional(),
|
|
136
|
+
spaceMessageAddressing: z$1.boolean().optional()
|
|
137
|
+
});
|
|
138
|
+
z$1.object({
|
|
139
|
+
type: z$1.literal("hello"),
|
|
140
|
+
profile: profileSchema,
|
|
141
|
+
capabilities: helloCapabilitiesSchema.optional()
|
|
142
|
+
});
|
|
143
|
+
const helloAckSchema = z$1.object({
|
|
144
|
+
type: z$1.literal("system.hello.ack"),
|
|
145
|
+
profile: profileSchema
|
|
146
|
+
});
|
|
147
|
+
//#endregion
|
|
148
|
+
//#region ../../packages/schemas/dist/schemas/protocol/server-error.js
|
|
149
|
+
const serverErrorFrameSchema = z$1.object({
|
|
150
|
+
error: nonEmptyTrimmedStringFromUnknown,
|
|
151
|
+
requestId: nonEmptyTrimmedStringFromUnknown.optional(),
|
|
152
|
+
clientMessageId: clientMessageIdSchema$1.optional()
|
|
153
|
+
});
|
|
154
|
+
//#endregion
|
|
155
|
+
//#region ../../packages/schemas/dist/schemas/protocol/envelope.js
|
|
156
|
+
const baseEnvelopeShape = {
|
|
157
|
+
v: z$1.literal(1),
|
|
158
|
+
id: nonEmptyTrimmedStringFromUnknown,
|
|
159
|
+
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
160
|
+
ts: finiteIntegerNumber,
|
|
161
|
+
profile: profileSchema
|
|
162
|
+
};
|
|
163
|
+
const presenceDataSchema = z$1.record(z$1.string(), z$1.unknown());
|
|
164
|
+
const presenceEnvelopeSchema = z$1.object({
|
|
165
|
+
...baseEnvelopeShape,
|
|
166
|
+
type: z$1.enum(["presence.join", "presence.quit"]),
|
|
167
|
+
data: presenceDataSchema
|
|
168
|
+
});
|
|
169
|
+
const signalTextEnvelopeSchema = z$1.object({
|
|
170
|
+
...baseEnvelopeShape,
|
|
171
|
+
type: z$1.literal("signal.text"),
|
|
172
|
+
data: signalTextDataSchema,
|
|
173
|
+
reactions: spaceMessageReactionsSchema.optional()
|
|
174
|
+
});
|
|
175
|
+
const signalStatusEnvelopeSchema = z$1.object({
|
|
176
|
+
...baseEnvelopeShape,
|
|
177
|
+
type: z$1.literal("signal.status"),
|
|
178
|
+
data: signalStatusDataSchema
|
|
179
|
+
});
|
|
180
|
+
const signalSystemNoticeEnvelopeSchema = z$1.object({
|
|
181
|
+
...baseEnvelopeShape,
|
|
182
|
+
type: z$1.literal("signal.system_notice"),
|
|
183
|
+
data: signalSystemNoticeDataSchema
|
|
184
|
+
});
|
|
185
|
+
const signalEnvelopeSchema = z$1.union([
|
|
186
|
+
presenceEnvelopeSchema,
|
|
187
|
+
signalTextEnvelopeSchema,
|
|
188
|
+
signalStatusEnvelopeSchema,
|
|
189
|
+
signalSystemNoticeEnvelopeSchema
|
|
190
|
+
]);
|
|
191
|
+
const spaceLiveSignalFrameSchema = z$1.strictObject({
|
|
192
|
+
type: z$1.literal("space.signal"),
|
|
193
|
+
signal: signalEnvelopeSchema,
|
|
194
|
+
history: z$1.strictObject({ persisted: z$1.boolean() }).optional(),
|
|
195
|
+
threadContext: spaceThreadContextSchema.optional(),
|
|
196
|
+
threadPlacement: spaceThreadSignalPlacementSchema.optional()
|
|
197
|
+
});
|
|
198
|
+
const spaceLiveInvalidationFrameSchema = z$1.strictObject({
|
|
199
|
+
type: z$1.enum([
|
|
200
|
+
"space.members.changed",
|
|
201
|
+
"space.meta.changed",
|
|
202
|
+
"space.files.changed",
|
|
203
|
+
"space.reactions.changed",
|
|
204
|
+
"agent.readiness.invalidated",
|
|
205
|
+
"wake.progress.changed"
|
|
206
|
+
]),
|
|
207
|
+
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
208
|
+
version: finiteIntegerNumber,
|
|
209
|
+
signalIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
210
|
+
profileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
211
|
+
agentProfileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
212
|
+
clientMessageIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
213
|
+
reason: nonEmptyTrimmedStringFromUnknown.optional()
|
|
214
|
+
});
|
|
215
|
+
const incomingServerMessageSchema = z$1.union([
|
|
216
|
+
signalEnvelopeSchema,
|
|
217
|
+
spaceLiveSignalFrameSchema,
|
|
218
|
+
spaceLiveInvalidationFrameSchema,
|
|
219
|
+
spaceAgentStreamDeltaFrameSchema,
|
|
220
|
+
spaceAgentStreamPartFrameSchema,
|
|
221
|
+
spaceAgentStreamTerminalFrameSchema,
|
|
222
|
+
helloAckSchema,
|
|
223
|
+
serverErrorFrameSchema
|
|
224
|
+
]);
|
|
225
|
+
//#endregion
|
|
226
|
+
//#region ../../packages/schemas/dist/schemas/http/space-message-mutation.js
|
|
227
|
+
const spaceMessageMutationBodySchema = z$1.discriminatedUnion("action", [
|
|
228
|
+
z$1.strictObject({
|
|
229
|
+
action: z$1.literal("edit"),
|
|
230
|
+
expectedRevision: z$1.number().int().nonnegative(),
|
|
231
|
+
text: z$1.string().max(MAX_TEXT_LENGTH$1),
|
|
232
|
+
retainedFileIds: z$1.array(z$1.string().min(1)).optional(),
|
|
233
|
+
retainedAttachmentIds: z$1.array(z$1.string().min(1)).optional()
|
|
234
|
+
}),
|
|
235
|
+
z$1.strictObject({
|
|
236
|
+
action: z$1.literal("recall"),
|
|
237
|
+
expectedRevision: z$1.number().int().nonnegative()
|
|
238
|
+
}),
|
|
239
|
+
z$1.strictObject({ action: z$1.literal("restore_draft") })
|
|
240
|
+
]);
|
|
241
|
+
const spaceMessageMutationResponseSchema = z$1.strictObject({ message: signalTextEnvelopeSchema });
|
|
242
|
+
z$1.strictObject({
|
|
243
|
+
startSignalId: z$1.string().min(1).max(200).optional(),
|
|
244
|
+
endSignalId: z$1.string().min(1).max(200).optional()
|
|
245
|
+
});
|
|
246
|
+
const spaceHistoryNavigationSchema = z$1.object({
|
|
247
|
+
entries: z$1.array(z$1.object({
|
|
248
|
+
signalId: z$1.string(),
|
|
249
|
+
endSignalId: z$1.string(),
|
|
250
|
+
startAt: z$1.number(),
|
|
251
|
+
endAt: z$1.number(),
|
|
252
|
+
count: z$1.number().int().positive(),
|
|
253
|
+
author: z$1.string(),
|
|
254
|
+
preview: z$1.string().max(360)
|
|
255
|
+
})).max(48),
|
|
256
|
+
total: z$1.number().int().nonnegative()
|
|
257
|
+
});
|
|
258
|
+
//#endregion
|
|
96
259
|
//#region ../../packages/schemas/dist/schemas/agent-controller-collaboration-mode.js
|
|
97
260
|
const agentControllerCollaborationModeSchema = z$1.enum(["codex:default", "codex:plan"]);
|
|
98
261
|
//#endregion
|
|
@@ -4004,7 +4167,8 @@ const authProfileViewSchema = strictObject({
|
|
|
4004
4167
|
profileKind: authProfileKindSchema,
|
|
4005
4168
|
isDefault: boolean(),
|
|
4006
4169
|
status: authProfileStatusSchema,
|
|
4007
|
-
ownerUserId: string().min(1),
|
|
4170
|
+
ownerUserId: string().min(1).nullable(),
|
|
4171
|
+
organizationId: string().min(1).nullable().optional(),
|
|
4008
4172
|
ownerName: string().min(1).optional(),
|
|
4009
4173
|
avatarUrl: string().min(1).optional(),
|
|
4010
4174
|
source: string().min(1),
|
|
@@ -4147,7 +4311,7 @@ const organizationDirectoryAgentProfileIdentitySchema = strictObject({
|
|
|
4147
4311
|
profileKind: literal("agent"),
|
|
4148
4312
|
isDefault: literal(false),
|
|
4149
4313
|
status: enumFactory(["active", "disabled"]),
|
|
4150
|
-
ownerUserId:
|
|
4314
|
+
ownerUserId: nullableTrimmedStringSchema$7,
|
|
4151
4315
|
ownerName: trimmedNonEmptyStringSchema$14.optional(),
|
|
4152
4316
|
avatarUrl: trimmedNonEmptyStringSchema$14.optional(),
|
|
4153
4317
|
source: trimmedNonEmptyStringSchema$14,
|
|
@@ -4974,96 +5138,6 @@ z$1.strictObject({
|
|
|
4974
5138
|
request: computerFileAccessUpdateRequestSchema
|
|
4975
5139
|
});
|
|
4976
5140
|
//#endregion
|
|
4977
|
-
//#region ../../packages/schemas/dist/schemas/protocol/hello.js
|
|
4978
|
-
const helloCapabilitiesSchema = z$1.object({
|
|
4979
|
-
liveSignalHistory: z$1.boolean().optional(),
|
|
4980
|
-
spaceMessageAddressing: z$1.boolean().optional()
|
|
4981
|
-
});
|
|
4982
|
-
z$1.object({
|
|
4983
|
-
type: z$1.literal("hello"),
|
|
4984
|
-
profile: profileSchema,
|
|
4985
|
-
capabilities: helloCapabilitiesSchema.optional()
|
|
4986
|
-
});
|
|
4987
|
-
const helloAckSchema = z$1.object({
|
|
4988
|
-
type: z$1.literal("system.hello.ack"),
|
|
4989
|
-
profile: profileSchema
|
|
4990
|
-
});
|
|
4991
|
-
//#endregion
|
|
4992
|
-
//#region ../../packages/schemas/dist/schemas/protocol/server-error.js
|
|
4993
|
-
const serverErrorFrameSchema = z$1.object({
|
|
4994
|
-
error: nonEmptyTrimmedStringFromUnknown,
|
|
4995
|
-
requestId: nonEmptyTrimmedStringFromUnknown.optional(),
|
|
4996
|
-
clientMessageId: clientMessageIdSchema$1.optional()
|
|
4997
|
-
});
|
|
4998
|
-
//#endregion
|
|
4999
|
-
//#region ../../packages/schemas/dist/schemas/protocol/envelope.js
|
|
5000
|
-
const baseEnvelopeShape = {
|
|
5001
|
-
v: z$1.literal(1),
|
|
5002
|
-
id: nonEmptyTrimmedStringFromUnknown,
|
|
5003
|
-
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
5004
|
-
ts: finiteIntegerNumber,
|
|
5005
|
-
profile: profileSchema
|
|
5006
|
-
};
|
|
5007
|
-
const presenceDataSchema = z$1.record(z$1.string(), z$1.unknown());
|
|
5008
|
-
const presenceEnvelopeSchema = z$1.object({
|
|
5009
|
-
...baseEnvelopeShape,
|
|
5010
|
-
type: z$1.enum(["presence.join", "presence.quit"]),
|
|
5011
|
-
data: presenceDataSchema
|
|
5012
|
-
});
|
|
5013
|
-
const signalTextEnvelopeSchema = z$1.object({
|
|
5014
|
-
...baseEnvelopeShape,
|
|
5015
|
-
type: z$1.literal("signal.text"),
|
|
5016
|
-
data: signalTextDataSchema
|
|
5017
|
-
});
|
|
5018
|
-
const signalStatusEnvelopeSchema = z$1.object({
|
|
5019
|
-
...baseEnvelopeShape,
|
|
5020
|
-
type: z$1.literal("signal.status"),
|
|
5021
|
-
data: signalStatusDataSchema
|
|
5022
|
-
});
|
|
5023
|
-
const signalSystemNoticeEnvelopeSchema = z$1.object({
|
|
5024
|
-
...baseEnvelopeShape,
|
|
5025
|
-
type: z$1.literal("signal.system_notice"),
|
|
5026
|
-
data: signalSystemNoticeDataSchema
|
|
5027
|
-
});
|
|
5028
|
-
const signalEnvelopeSchema = z$1.union([
|
|
5029
|
-
presenceEnvelopeSchema,
|
|
5030
|
-
signalTextEnvelopeSchema,
|
|
5031
|
-
signalStatusEnvelopeSchema,
|
|
5032
|
-
signalSystemNoticeEnvelopeSchema
|
|
5033
|
-
]);
|
|
5034
|
-
const spaceLiveSignalFrameSchema = z$1.strictObject({
|
|
5035
|
-
type: z$1.literal("space.signal"),
|
|
5036
|
-
signal: signalEnvelopeSchema,
|
|
5037
|
-
history: z$1.strictObject({ persisted: z$1.boolean() }).optional(),
|
|
5038
|
-
threadContext: spaceThreadContextSchema.optional(),
|
|
5039
|
-
threadPlacement: spaceThreadSignalPlacementSchema.optional()
|
|
5040
|
-
});
|
|
5041
|
-
const spaceLiveInvalidationFrameSchema = z$1.strictObject({
|
|
5042
|
-
type: z$1.enum([
|
|
5043
|
-
"space.members.changed",
|
|
5044
|
-
"space.meta.changed",
|
|
5045
|
-
"space.files.changed",
|
|
5046
|
-
"agent.readiness.invalidated",
|
|
5047
|
-
"wake.progress.changed"
|
|
5048
|
-
]),
|
|
5049
|
-
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
5050
|
-
version: finiteIntegerNumber,
|
|
5051
|
-
profileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
5052
|
-
agentProfileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
5053
|
-
clientMessageIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
5054
|
-
reason: nonEmptyTrimmedStringFromUnknown.optional()
|
|
5055
|
-
});
|
|
5056
|
-
const incomingServerMessageSchema = z$1.union([
|
|
5057
|
-
signalEnvelopeSchema,
|
|
5058
|
-
spaceLiveSignalFrameSchema,
|
|
5059
|
-
spaceLiveInvalidationFrameSchema,
|
|
5060
|
-
spaceAgentStreamDeltaFrameSchema,
|
|
5061
|
-
spaceAgentStreamPartFrameSchema,
|
|
5062
|
-
spaceAgentStreamTerminalFrameSchema,
|
|
5063
|
-
helloAckSchema,
|
|
5064
|
-
serverErrorFrameSchema
|
|
5065
|
-
]);
|
|
5066
|
-
//#endregion
|
|
5067
5141
|
//#region ../../packages/schemas/dist/schemas/http/space-signals.js
|
|
5068
5142
|
const signalTextRequestDataSchema = signalTextSchema.shape.data;
|
|
5069
5143
|
z$1.enum([
|
|
@@ -5169,6 +5243,7 @@ const centerAgentContextManifestSourceRefSchema = strictObject({
|
|
|
5169
5243
|
version: contentHashSchema$1
|
|
5170
5244
|
});
|
|
5171
5245
|
const centerAgentContextManifestEntrySchema = strictObject({
|
|
5246
|
+
reactions: spaceMessageReactionsSchema.optional(),
|
|
5172
5247
|
author: strictObject({
|
|
5173
5248
|
profileId: trimmedNonEmptyStringSchema$10,
|
|
5174
5249
|
profileKind: enumFactory([
|
|
@@ -8101,7 +8176,8 @@ const postSpaceThreadSignalBodySchema = z$1.strictObject({
|
|
|
8101
8176
|
files: signalTextSchema.shape.data.shape.files.optional(),
|
|
8102
8177
|
messageEnvelope: messageEnvelopeSchema.optional(),
|
|
8103
8178
|
clientMessageId: clientMessageIdSchema,
|
|
8104
|
-
authorHasRead: signalTextSchema.shape.data.shape.meta.unwrap().shape.authorHasRead
|
|
8179
|
+
authorHasRead: signalTextSchema.shape.data.shape.meta.unwrap().shape.authorHasRead,
|
|
8180
|
+
restoredFromSignalId: signalTextSchema.shape.data.shape.meta.unwrap().shape.restoredFromSignalId
|
|
8105
8181
|
}).superRefine((value, ctx) => {
|
|
8106
8182
|
const parsed = signalTextSchema.shape.data.safeParse({
|
|
8107
8183
|
text: value.text,
|
|
@@ -8288,6 +8364,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
|
|
|
8288
8364
|
text: string().max(REMOTE_AGENT_CONVERSATION_CONTINUITY_ENTRY_TEXT_MAX_CHARS * 2),
|
|
8289
8365
|
truncated: boolean()
|
|
8290
8366
|
}),
|
|
8367
|
+
reactions: spaceMessageReactionsSchema.optional(),
|
|
8291
8368
|
occurredAt: isoDateTimeSchema$1,
|
|
8292
8369
|
source: remoteAgentConversationContinuityEntrySourceSchema
|
|
8293
8370
|
}).superRefine((entry, context) => {
|
|
@@ -8438,7 +8515,7 @@ const remoteAgentWorkerSubmitTurnRequestShape = {
|
|
|
8438
8515
|
spaceId: nonEmptyStringSchema,
|
|
8439
8516
|
conversationId: optionalNonEmptyStringSchema,
|
|
8440
8517
|
agentProfileId: agentProfileIdSchema,
|
|
8441
|
-
agentProfileOwnerUserId: nonEmptyStringSchema,
|
|
8518
|
+
agentProfileOwnerUserId: nonEmptyStringSchema.nullable(),
|
|
8442
8519
|
bindingId: nonEmptyStringSchema,
|
|
8443
8520
|
triggerMessageId: nonEmptyStringSchema,
|
|
8444
8521
|
dispatchId: nonEmptyStringSchema,
|
|
@@ -10673,7 +10750,7 @@ const centerAgentDesignationSchema = strictObject({
|
|
|
10673
10750
|
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10674
10751
|
agentProfileId: agentProfileIdSchema,
|
|
10675
10752
|
duty: nullFactory(),
|
|
10676
|
-
designatedBy: trimmedNonEmptyStringSchema$1,
|
|
10753
|
+
designatedBy: trimmedNonEmptyStringSchema$1.nullable(),
|
|
10677
10754
|
createdAt: ISO_DATE_TIME_SCHEMA$1
|
|
10678
10755
|
});
|
|
10679
10756
|
const centerAgentModelConfigurationResponseSchema = strictObject({
|
|
@@ -11159,11 +11236,13 @@ strictObject({
|
|
|
11159
11236
|
});
|
|
11160
11237
|
});
|
|
11161
11238
|
strictObject({
|
|
11239
|
+
speakerMember: centerAgentToolSpeakerSchema.optional(),
|
|
11162
11240
|
completionCondition: agentTaskCompletionConditionSchema,
|
|
11163
11241
|
instruction: string().trim().min(1).max(4e3),
|
|
11164
11242
|
task: agentTaskHandleSchema
|
|
11165
11243
|
});
|
|
11166
11244
|
strictObject({
|
|
11245
|
+
speakerMember: centerAgentToolSpeakerSchema.optional(),
|
|
11167
11246
|
agentControllerRef: agentControllerRefSchema.optional(),
|
|
11168
11247
|
limit: int().min(1).max(20).optional()
|
|
11169
11248
|
});
|
|
@@ -13062,6 +13141,30 @@ const getSpaceMessageDetailsResponseSchema = z$1.strictObject({
|
|
|
13062
13141
|
});
|
|
13063
13142
|
clientMessageIdSchema$1.nullable();
|
|
13064
13143
|
//#endregion
|
|
13144
|
+
//#region ../../packages/schemas/dist/schemas/http/space-message-pins.js
|
|
13145
|
+
const spaceFilePinMutationSchema = z$1.strictObject({
|
|
13146
|
+
fileId: z$1.string().trim().min(1).max(200),
|
|
13147
|
+
action: z$1.enum(["pin", "unpin"])
|
|
13148
|
+
});
|
|
13149
|
+
const spaceFilePinsResponseSchema = z$1.strictObject({ pins: z$1.array(z$1.strictObject({
|
|
13150
|
+
file: spaceFileDescriptorSchema,
|
|
13151
|
+
pinnedByProfileId: uuidProfileIdSchema,
|
|
13152
|
+
pinnedByName: z$1.string(),
|
|
13153
|
+
pinnedAt: z$1.string()
|
|
13154
|
+
})) });
|
|
13155
|
+
const spaceMessagePinMutationSchema = z$1.strictObject({
|
|
13156
|
+
signalId: z$1.string().trim().min(1).max(200),
|
|
13157
|
+
action: z$1.enum(["pin", "unpin"])
|
|
13158
|
+
});
|
|
13159
|
+
const spaceMessagePinsResponseSchema = z$1.strictObject({ pins: z$1.array(z$1.strictObject({
|
|
13160
|
+
signalId: z$1.string().min(1),
|
|
13161
|
+
pinnedByProfileId: uuidProfileIdSchema,
|
|
13162
|
+
pinnedByName: z$1.string(),
|
|
13163
|
+
pinnedAt: z$1.string(),
|
|
13164
|
+
authorName: z$1.string(),
|
|
13165
|
+
preview: z$1.string()
|
|
13166
|
+
})) });
|
|
13167
|
+
//#endregion
|
|
13065
13168
|
//#region ../../packages/schemas/dist/schemas/http/space-updates.js
|
|
13066
13169
|
const DECIMAL_INTEGER_REGEX = /^\d+$/u;
|
|
13067
13170
|
const updatesLimitSchema = z$1.preprocess((value) => {
|
|
@@ -17430,7 +17533,7 @@ async function executeSpaceExecutionRecovery(client, input) {
|
|
|
17430
17533
|
}
|
|
17431
17534
|
async function listSpaceFiles(client, input) {
|
|
17432
17535
|
const response = await client.requestJson({
|
|
17433
|
-
...requestFields(input),
|
|
17536
|
+
...requestFields$1(input),
|
|
17434
17537
|
url: buildSpaceFilesPath(input.spaceId, input.query),
|
|
17435
17538
|
operation: "space.files.list",
|
|
17436
17539
|
schema: listSpaceFilesResponseSchema,
|
|
@@ -17451,7 +17554,7 @@ async function listSpaceFiles(client, input) {
|
|
|
17451
17554
|
}
|
|
17452
17555
|
async function getSpaceFile(client, input) {
|
|
17453
17556
|
return await client.requestJson({
|
|
17454
|
-
...requestFields(input),
|
|
17557
|
+
...requestFields$1(input),
|
|
17455
17558
|
url: buildSpaceFileEntryPath(input.spaceId, input.fileId),
|
|
17456
17559
|
operation: "space.files.get",
|
|
17457
17560
|
schema: getSpaceFileResponseSchema,
|
|
@@ -17460,7 +17563,7 @@ async function getSpaceFile(client, input) {
|
|
|
17460
17563
|
}
|
|
17461
17564
|
async function listSpaceFileRevisions(client, input) {
|
|
17462
17565
|
return await client.requestJson({
|
|
17463
|
-
...requestFields(input),
|
|
17566
|
+
...requestFields$1(input),
|
|
17464
17567
|
url: buildSpaceFileRevisionsPath(input.spaceId, input.fileId),
|
|
17465
17568
|
operation: "space.files.revisions.list",
|
|
17466
17569
|
schema: listSpaceFileRevisionsResponseSchema,
|
|
@@ -17469,7 +17572,7 @@ async function listSpaceFileRevisions(client, input) {
|
|
|
17469
17572
|
}
|
|
17470
17573
|
async function createSpaceFolder(client, input) {
|
|
17471
17574
|
return await client.requestJson({
|
|
17472
|
-
...requestFields(input),
|
|
17575
|
+
...requestFields$1(input),
|
|
17473
17576
|
url: buildSpaceFileFoldersPath(input.spaceId),
|
|
17474
17577
|
operation: "space.files.folder.create",
|
|
17475
17578
|
method: "POST",
|
|
@@ -17481,7 +17584,7 @@ async function createSpaceFolder(client, input) {
|
|
|
17481
17584
|
}
|
|
17482
17585
|
async function updateSpaceFileEntry(client, input) {
|
|
17483
17586
|
return (await client.requestJson({
|
|
17484
|
-
...requestFields(input),
|
|
17587
|
+
...requestFields$1(input),
|
|
17485
17588
|
url: buildSpaceFileEntryPath(input.spaceId, input.entryId),
|
|
17486
17589
|
operation: "space.files.entry.update",
|
|
17487
17590
|
method: "PATCH",
|
|
@@ -17493,7 +17596,7 @@ async function updateSpaceFileEntry(client, input) {
|
|
|
17493
17596
|
}
|
|
17494
17597
|
async function trashSpaceFileEntry(client, input) {
|
|
17495
17598
|
return await client.requestJson({
|
|
17496
|
-
...requestFields(input),
|
|
17599
|
+
...requestFields$1(input),
|
|
17497
17600
|
url: buildSpaceFileEntryPath(input.spaceId, input.entryId),
|
|
17498
17601
|
operation: "space.files.entry.trash",
|
|
17499
17602
|
method: "DELETE",
|
|
@@ -17505,7 +17608,7 @@ async function trashSpaceFileEntry(client, input) {
|
|
|
17505
17608
|
}
|
|
17506
17609
|
async function restoreSpaceFileEntry(client, input) {
|
|
17507
17610
|
return (await client.requestJson({
|
|
17508
|
-
...requestFields(input),
|
|
17611
|
+
...requestFields$1(input),
|
|
17509
17612
|
url: buildSpaceFileRestorePath(input.spaceId, input.entryId),
|
|
17510
17613
|
operation: "space.files.entry.restore",
|
|
17511
17614
|
method: "POST",
|
|
@@ -17517,7 +17620,7 @@ async function restoreSpaceFileEntry(client, input) {
|
|
|
17517
17620
|
}
|
|
17518
17621
|
async function restoreSpaceFileRevision(client, input) {
|
|
17519
17622
|
return (await client.requestJson({
|
|
17520
|
-
...requestFields(input),
|
|
17623
|
+
...requestFields$1(input),
|
|
17521
17624
|
url: buildSpaceFileRevisionRestorePath(input.spaceId, input.fileId, input.revision),
|
|
17522
17625
|
operation: "space.files.revision.restore",
|
|
17523
17626
|
method: "POST",
|
|
@@ -17535,7 +17638,7 @@ async function uploadSpaceFile(client, input) {
|
|
|
17535
17638
|
validateSize(body);
|
|
17536
17639
|
const mimeType = parseMimeType(input.mimeType);
|
|
17537
17640
|
return (await client.requestJson({
|
|
17538
|
-
...requestFields(input),
|
|
17641
|
+
...requestFields$1(input),
|
|
17539
17642
|
url: buildSpaceFileUploadPath(input),
|
|
17540
17643
|
operation: "space.files.upload",
|
|
17541
17644
|
method: "POST",
|
|
@@ -17550,7 +17653,7 @@ async function stageSpaceComposerUpload(client, input) {
|
|
|
17550
17653
|
validateSize(body);
|
|
17551
17654
|
const mimeType = parseMimeType(input.mimeType);
|
|
17552
17655
|
return (await client.requestJson({
|
|
17553
|
-
...requestFields(input),
|
|
17656
|
+
...requestFields$1(input),
|
|
17554
17657
|
body,
|
|
17555
17658
|
headers: { "content-type": mimeType },
|
|
17556
17659
|
invalidMessage: "invalid Space Composer upload response",
|
|
@@ -17562,7 +17665,7 @@ async function stageSpaceComposerUpload(client, input) {
|
|
|
17562
17665
|
}
|
|
17563
17666
|
async function publishSpaceComposerUpload(client, input) {
|
|
17564
17667
|
return (await client.requestJson({
|
|
17565
|
-
...requestFields(input),
|
|
17668
|
+
...requestFields$1(input),
|
|
17566
17669
|
body: JSON.stringify({ clientMutationId: input.clientMutationId }),
|
|
17567
17670
|
headers: { "content-type": "application/json" },
|
|
17568
17671
|
invalidMessage: "invalid Space Composer upload publication response",
|
|
@@ -17574,7 +17677,7 @@ async function publishSpaceComposerUpload(client, input) {
|
|
|
17574
17677
|
}
|
|
17575
17678
|
async function discardSpaceComposerUpload(client, input) {
|
|
17576
17679
|
await client.requestJson({
|
|
17577
|
-
...requestFields(input),
|
|
17680
|
+
...requestFields$1(input),
|
|
17578
17681
|
invalidMessage: "invalid Space Composer upload discard response",
|
|
17579
17682
|
method: "DELETE",
|
|
17580
17683
|
operation: "space.composer_uploads.discard",
|
|
@@ -17587,7 +17690,7 @@ async function updateSpaceFileContent(client, input) {
|
|
|
17587
17690
|
validateSize(body);
|
|
17588
17691
|
const mimeType = parseMimeType(input.mimeType);
|
|
17589
17692
|
return (await client.requestJson({
|
|
17590
|
-
...requestFields(input),
|
|
17693
|
+
...requestFields$1(input),
|
|
17591
17694
|
url: buildSpaceFileContentPath(input.spaceId, input.fileId, {
|
|
17592
17695
|
baseRevision: input.baseRevision,
|
|
17593
17696
|
clientMutationId: input.clientMutationId
|
|
@@ -17602,7 +17705,7 @@ async function updateSpaceFileContent(client, input) {
|
|
|
17602
17705
|
}
|
|
17603
17706
|
async function downloadSpaceFileContent(client, input) {
|
|
17604
17707
|
const response = await client.requestResponse({
|
|
17605
|
-
...requestFields(input),
|
|
17708
|
+
...requestFields$1(input),
|
|
17606
17709
|
url: buildSpaceFileContentPath(input.spaceId, input.fileId, { revision: input.revision }),
|
|
17607
17710
|
operation: "space.files.content.download"
|
|
17608
17711
|
});
|
|
@@ -17619,7 +17722,7 @@ async function downloadSpaceFileContent(client, input) {
|
|
|
17619
17722
|
revision
|
|
17620
17723
|
};
|
|
17621
17724
|
}
|
|
17622
|
-
function requestFields(input) {
|
|
17725
|
+
function requestFields$1(input) {
|
|
17623
17726
|
return {
|
|
17624
17727
|
requestContext: input.requestContext,
|
|
17625
17728
|
signal: input.signal,
|
|
@@ -17641,6 +17744,21 @@ function toRequestBody(bytes) {
|
|
|
17641
17744
|
function validateSize(body) {
|
|
17642
17745
|
if ((body instanceof Blob ? body.size : body.byteLength) > 10485760) throw new Error("Space files must be 10 MiB or smaller");
|
|
17643
17746
|
}
|
|
17747
|
+
function getSpaceHistoryNavigation(client, input) {
|
|
17748
|
+
const query = new URLSearchParams();
|
|
17749
|
+
if (input.startSignalId) query.set("startSignalId", input.startSignalId);
|
|
17750
|
+
if (input.endSignalId) query.set("endSignalId", input.endSignalId);
|
|
17751
|
+
return client.requestJson({
|
|
17752
|
+
url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/history-navigation?${query}`,
|
|
17753
|
+
operation: "space.history_navigation.read",
|
|
17754
|
+
requestContext: input.requestContext,
|
|
17755
|
+
signal: input.signal,
|
|
17756
|
+
timeoutMs: input.timeoutMs,
|
|
17757
|
+
...input.spacePassword === void 0 ? {} : { spacePassword: input.spacePassword },
|
|
17758
|
+
schema: spaceHistoryNavigationSchema,
|
|
17759
|
+
invalidMessage: "Invalid history navigation response"
|
|
17760
|
+
});
|
|
17761
|
+
}
|
|
17644
17762
|
async function leaveSpace(client, input) {
|
|
17645
17763
|
return await client.requestJson({
|
|
17646
17764
|
url: buildSpaceLeavePath(input.spaceId),
|
|
@@ -17769,6 +17887,44 @@ async function getSpaceMessageDetails(client, input) {
|
|
|
17769
17887
|
invalidMessage: "invalid message details response"
|
|
17770
17888
|
});
|
|
17771
17889
|
}
|
|
17890
|
+
function getSpaceMessageReactions(client, input) {
|
|
17891
|
+
const query = new URLSearchParams({ signalId: input.signalId });
|
|
17892
|
+
if (input.emoji) query.set("emoji", input.emoji);
|
|
17893
|
+
if (input.afterProfileId) query.set("afterProfileId", input.afterProfileId);
|
|
17894
|
+
return client.requestJson({
|
|
17895
|
+
...requestFields(input),
|
|
17896
|
+
url: `${path(input.spaceId)}?${query}`,
|
|
17897
|
+
method: "GET",
|
|
17898
|
+
operation: "space.reactions.read"
|
|
17899
|
+
});
|
|
17900
|
+
}
|
|
17901
|
+
function setSpaceMessageReaction(client, input) {
|
|
17902
|
+
return client.requestJson({
|
|
17903
|
+
...requestFields(input),
|
|
17904
|
+
url: path(input.spaceId),
|
|
17905
|
+
method: "PUT",
|
|
17906
|
+
operation: "space.reactions.set",
|
|
17907
|
+
headers: { "content-type": "application/json" },
|
|
17908
|
+
body: JSON.stringify({
|
|
17909
|
+
signalId: input.signalId,
|
|
17910
|
+
emoji: input.emoji,
|
|
17911
|
+
active: input.active
|
|
17912
|
+
})
|
|
17913
|
+
});
|
|
17914
|
+
}
|
|
17915
|
+
function path(spaceId) {
|
|
17916
|
+
return `/v1/spaces/${encodeURIComponent(spaceId)}/message-reactions`;
|
|
17917
|
+
}
|
|
17918
|
+
function requestFields(input) {
|
|
17919
|
+
return {
|
|
17920
|
+
requestContext: input.requestContext,
|
|
17921
|
+
signal: input.signal,
|
|
17922
|
+
timeoutMs: input.timeoutMs,
|
|
17923
|
+
...input.spacePassword === void 0 ? {} : { spacePassword: input.spacePassword },
|
|
17924
|
+
schema: getSpaceMessageReactionsResponseSchema,
|
|
17925
|
+
invalidMessage: "Invalid message reactions response"
|
|
17926
|
+
};
|
|
17927
|
+
}
|
|
17772
17928
|
async function updateSpaceMeta(client, input) {
|
|
17773
17929
|
const parsedBody = patchSpaceMetaBodySchema.safeParse({
|
|
17774
17930
|
...input.visibility === void 0 ? {} : { visibility: input.visibility },
|
|
@@ -17791,6 +17947,21 @@ async function updateSpaceMeta(client, input) {
|
|
|
17791
17947
|
invalidMessage: "invalid Space metadata response"
|
|
17792
17948
|
});
|
|
17793
17949
|
}
|
|
17950
|
+
function mutateSpaceMessage(client, input) {
|
|
17951
|
+
return client.requestJson({
|
|
17952
|
+
url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/messages/${encodeURIComponent(input.signalId)}`,
|
|
17953
|
+
operation: "space.message.change",
|
|
17954
|
+
method: "POST",
|
|
17955
|
+
headers: { "content-type": "application/json" },
|
|
17956
|
+
body: JSON.stringify(spaceMessageMutationBodySchema.parse(input.body)),
|
|
17957
|
+
requestContext: input.requestContext,
|
|
17958
|
+
signal: input.signal,
|
|
17959
|
+
timeoutMs: input.timeoutMs,
|
|
17960
|
+
...input.spacePassword === void 0 ? {} : { spacePassword: input.spacePassword },
|
|
17961
|
+
schema: spaceMessageMutationResponseSchema,
|
|
17962
|
+
invalidMessage: "Invalid message change response"
|
|
17963
|
+
});
|
|
17964
|
+
}
|
|
17794
17965
|
async function postSpaceNormalMessage(client, input) {
|
|
17795
17966
|
const body = buildPostNormalMessageBody(input);
|
|
17796
17967
|
const parsedBody = postNormalMessageBodySchema.safeParse(body);
|
|
@@ -18116,6 +18287,7 @@ const createSpaceApi = (client) => {
|
|
|
18116
18287
|
resolveEntry: async (input) => await resolveSpaceEntry(client, input),
|
|
18117
18288
|
getMembersSnapshot: async (input) => await getSpaceMembersSnapshot(client, input),
|
|
18118
18289
|
getMemberDirectory: async (input) => await getSpaceMemberDirectory(client, input),
|
|
18290
|
+
getHistoryNavigation: async (input) => await getSpaceHistoryNavigation(client, input),
|
|
18119
18291
|
getIdentityDirectory: async (input) => await getSpaceIdentityDirectory(client, input),
|
|
18120
18292
|
getViewerMembership: async (input) => await getSpaceViewerMembership(client, input),
|
|
18121
18293
|
listSignals: async (input) => await listSpaceSignals(client, input),
|
|
@@ -18128,8 +18300,11 @@ const createSpaceApi = (client) => {
|
|
|
18128
18300
|
respondToAgentInteraction: async (input) => await respondToSpaceAgentInteraction(client, input),
|
|
18129
18301
|
getWakeProgress: async (input) => await getSpaceWakeProgress(client, input),
|
|
18130
18302
|
getWakeTraceWaterfall: async (input) => await getSpaceWakeTraceWaterfall(client, input),
|
|
18303
|
+
getMessageReactions: (input) => getSpaceMessageReactions(client, input),
|
|
18304
|
+
setMessageReaction: (input) => setSpaceMessageReaction(client, input),
|
|
18131
18305
|
getMessageDetails: async (input) => await getSpaceMessageDetails(client, input),
|
|
18132
18306
|
createDiagnosticReport: async (input) => await createSpaceDiagnosticReport(client, input),
|
|
18307
|
+
mutateMessage: (input) => mutateSpaceMessage(client, input),
|
|
18133
18308
|
postNormalMessage: async (input) => await postSpaceNormalMessage(client, input),
|
|
18134
18309
|
createThread: async (input) => await createSpaceThread(client, input),
|
|
18135
18310
|
listThreads: async (input) => await listSpaceThreads(client, input),
|
|
@@ -18139,6 +18314,40 @@ const createSpaceApi = (client) => {
|
|
|
18139
18314
|
postThreadSignal: async (input) => await postSpaceThreadSignal(client, input)
|
|
18140
18315
|
};
|
|
18141
18316
|
};
|
|
18317
|
+
async function readOrUpdateSpaceFilePins(client, input) {
|
|
18318
|
+
return await client.requestJson({
|
|
18319
|
+
url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/file-pins`,
|
|
18320
|
+
operation: "space.file-pins",
|
|
18321
|
+
method: input.mutation ? "PATCH" : "GET",
|
|
18322
|
+
...input.mutation ? {
|
|
18323
|
+
headers: { "content-type": "application/json" },
|
|
18324
|
+
body: JSON.stringify(spaceFilePinMutationSchema.parse(input.mutation))
|
|
18325
|
+
} : {},
|
|
18326
|
+
requestContext: input.requestContext,
|
|
18327
|
+
signal: input.signal,
|
|
18328
|
+
timeoutMs: input.timeoutMs,
|
|
18329
|
+
spacePassword: input.spacePassword,
|
|
18330
|
+
schema: spaceFilePinsResponseSchema,
|
|
18331
|
+
invalidMessage: "Invalid pinned files response."
|
|
18332
|
+
});
|
|
18333
|
+
}
|
|
18334
|
+
async function readOrUpdateSpaceMessagePins(client, input) {
|
|
18335
|
+
return await client.requestJson({
|
|
18336
|
+
url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/message-pins`,
|
|
18337
|
+
operation: "space.message-pins",
|
|
18338
|
+
method: input.mutation ? "PATCH" : "GET",
|
|
18339
|
+
...input.mutation ? {
|
|
18340
|
+
headers: { "content-type": "application/json" },
|
|
18341
|
+
body: JSON.stringify(spaceMessagePinMutationSchema.parse(input.mutation))
|
|
18342
|
+
} : {},
|
|
18343
|
+
requestContext: input.requestContext,
|
|
18344
|
+
signal: input.signal,
|
|
18345
|
+
timeoutMs: input.timeoutMs,
|
|
18346
|
+
spacePassword: input.spacePassword,
|
|
18347
|
+
schema: spaceMessagePinsResponseSchema,
|
|
18348
|
+
invalidMessage: "Invalid pinned messages response."
|
|
18349
|
+
});
|
|
18350
|
+
}
|
|
18142
18351
|
function createFetchTransport(input) {
|
|
18143
18352
|
const defaultTimeoutMs = normalizeOptionalTimeoutMs(input.defaultTimeoutMs);
|
|
18144
18353
|
return async function fetchTransport(request) {
|
|
@@ -18238,6 +18447,6 @@ function composeAbortSignals(parent, timeout) {
|
|
|
18238
18447
|
};
|
|
18239
18448
|
}
|
|
18240
18449
|
//#endregion
|
|
18241
|
-
export { buildLocalFolderPickerPath as $,
|
|
18450
|
+
export { buildLocalFolderPickerPath as $, createAgentProfileCreationRequestBodySchema as $n, agentActivityInventorySessionOriginSchema as $r, createProjectsApi as $t, buildCurrentOrganizationDirectoryPath as A, OPENMELD_HEADER_PROFILE_ID as An, listCenterAgentRoutinesResponseSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, projectSpaceDispatchTraceFinalVisibleOutcome as Bn, agentActivitySnapshotResponseSchema as Br, createFetchTransport as Bt, buildCenterAgentSessionPath as C, DAEMON_STREAM_KEEPALIVE_PING as Cn, profileErrorResponseSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, parseIncoming as Dn, createCenterAgentRoutineResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, parseEnvelope as En, submitFeedbackIssueResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, toErrorMessage$2 as Fn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Fr, createComputerFileAccessApi as Ft, buildFeedbackIssueSubmissionPath as G, observabilityWakeTraceSelectorSchema as Gn, postSpaceMembersResponseSchema as Gr, createOpenMeldApiClient as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, spaceDispatchTraceAttemptStatusSchema as Hn, localProjectControlDaemonFrameSchema as Hr, createLocalFolderPickerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, getSpaceUpdatesResponseSchema as In, agentActivityEventSchema as Ir, createConfigApi as It, buildInboxItemReadPath as J, ownerComputerDiagnosticsSchema as Jn, spaceMemberAgentWakeAvailabilitySchema as Jr, createOrganizationSkillsApi as Jt, buildInboxItemDismissPath as K, projectObservabilityWakeCorrelation as Kn, removeSpaceMembersResponseSchema as Kr, createOrganizationApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, spaceEntryTargetSchema as Ln, agentActivityProviderSchema as Lr, createCurrentDeviceApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, OPENMELD_HEADER_REQUEST_ID as Mn, resumeCenterAgentRoutineResponseSchema as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Nn, updateCenterAgentRoutineResponseSchema as Nr, createAgentProfileWorkRecoveryApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, parseServerErrorFrame as On, deleteCenterAgentRoutineResponseSchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, buildOpenMeldRequestContextHeaders as Pn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Pr, createCenterAgentApi as Pt, buildInboxSummaryPath as Q, agentProfileCreationConfigurationSchema as Qn, spaceMemberKindSchema as Qr, createProfilesApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Rn, agentActivitySessionStatusSchema as Rr, createDirectMessageApi as Rt, buildCenterAgentProfilePath as S, uploadSpaceFile as Sn, profileCapabilitiesResponseSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, MAX_TEXT_LENGTH as Tn, submitFeedbackIssueRequestSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, spaceDispatchTraceDispatchStatusSchema as Un, localProjectControlDiscoverProjectsResponseSchema as Ur, createLocalProjectControlApi as Ut, buildCurrentOrganizationSpacesPath as V, resolveSpaceDispatchTraceRootCause as Vn, localProjectControlConnectionSchema as Vr, createInboxApi as Vt, buildDirectMessageSpacePath as W, spaceDispatchTraceResponseSchema as Wn, leaveSpaceResponseSchema as Wr, createLocalRuntimeExpectedRoutesApi as Wt, buildInboxPath as X, summarizeComputerFileAccessPolicy as Xn, spaceMemberDirectoryEntrySchema as Xr, createPrepareReadinessApi as Xt, buildInboxMarkAllReadPath as Y, projectOwnerComputerLocalRuntimes as Yn, spaceMemberDirectoryAllowedRelationsSchema as Yr, createOrganizationUsageApi as Yt, buildInboxPreferencesPath as Z, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Zn, spaceMemberDirectorySchema as Zr, createProfileSpaceHistoryApi as Zt, buildCenterAgentDirectMessageSpacePath as _, localAgentCatalogSchema as _i, trashSpaceFileEntry as _n, organizationDirectoryResponseSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, archiveProjectResponseSchema as ai, getModelCatalog as an, computerFileAccessPolicySchema as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, toCompatibleSpaceAddressingRequestWireValue as bi, updateSpaceMeta as bn, authProfileKindSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, projectSchema as ci, listSpaceFiles as cn, resolveInitialSpaceAccessMode as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, openCodePermissionConfigSchema as di, readOrUpdateSpaceFilePins as dn, getOrganizationSkillResponseSchema as dr, buildOrganizationSkillsPath as dt, agentActivityInventorySessionStatusSchema as ei, createRoutinesApi as en, gatewayErrorEnvelopeSchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, START_BOUNDED_ID_SCHEMA as fi, readOrUpdateSpaceMessagePins as fn, listOrganizationSkillsResponseSchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, startReplyReadinessSummarySchema as gi, toStructuredApiClientFailure as gn, stringifyOrganizationSkillBundleCanonicalJson as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as hi, setSpaceAccessMode as hn, organizationSkillSummarySchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, observedLocalAgentSessionSchema as ii, downloadSpaceFileContent as in, computerFileAccessPolicyInputSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as jn, pauseCenterAgentRoutineResponseSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, resolveCustomMentionAliasOverride as kn, listCenterAgentRoutineRunsResponseSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, updateProjectResponseSchema as li, normalizeApiBaseUrl as ln, spaceCreatorSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, START_ISO_DATE_TIME_SCHEMA as mi, resolveProfileSpaceHistoryGatewayHost as mn, organizationSkillReleaseSummarySchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivitySessionInventoryResponseSchema as ni, createSpaceApi as nn, OPENMELD_RUNTIME_CAPABILITIES_HEADER as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, createProjectResponseSchema as oi, getSpaceFile as on, modelCatalogSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, START_BOUNDED_VERSION_SCHEMA as pi, resolveAccountSpaceIndexGatewayHost as pn, organizationSkillBundleSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, submitAgentControllerTaskLifecycleEventItemSchema as qn, resolvedSpaceMemberProfileSchema as qr, createOrganizationDocumentsApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, localAgentSessionProviderSchema as ri, createSpaceFolder as rn, computerFileAccessDaemonFrameSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, listProjectsResponseSchema as si, listSpaceFileRevisions as sn, organizationSpaceDirectoryWithMemberCountsResponseSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, agentActivitySessionInventoryQuerySchema as ti, createRuntimeReportingApi as tn, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, centerAgentToolSpeakerSchema as ui, publicSpaceUrls as un, spaceMetaSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, agentControllerPermissionModeSchema as vi, updateSpaceFileContent as vn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, DAEMON_STREAM_KEEPALIVE_PONG as wn, organizationComputersResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, uploadSpaceAttachment as xn, authProfileManagedRoleSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, agentControllerCollaborationModeSchema as yi, updateSpaceFileEntry as yn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as zn, agentActivitySnapshotQuerySchema as zr, createFeedbackApi as zt };
|
|
18242
18451
|
|
|
18243
|
-
//# sourceMappingURL=dist-
|
|
18452
|
+
//# sourceMappingURL=dist-DOjna6sI.js.map
|