openmeld 0.3.72 → 0.3.73
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-Bb-8iHny.js → add-me-membership-DeRldAKA.js} +2 -2
- package/dist/{add-me-membership-Bb-8iHny.js.map → add-me-membership-DeRldAKA.js.map} +1 -1
- package/dist/{api-client-foundation-ZUZRRLb8.js → api-client-foundation-26lWUTQ9.js} +3 -3
- package/dist/{api-client-foundation-ZUZRRLb8.js.map → api-client-foundation-26lWUTQ9.js.map} +1 -1
- package/dist/{auth-session-C7ZQlX6v.js → auth-session-zqpRQEFv.js} +2 -2
- package/dist/{auth-session-C7ZQlX6v.js.map → auth-session-zqpRQEFv.js.map} +1 -1
- package/dist/{command-CpPC2rTB.js → command-Doy58YKi.js} +201 -63
- package/dist/{command-CpPC2rTB.js.map → command-Doy58YKi.js.map} +1 -1
- package/dist/{dist-BPoTMZlr.js → dist-WHWyUs8I.js} +142 -112
- package/dist/dist-WHWyUs8I.js.map +1 -0
- package/dist/openmeld.js +6 -6
- package/dist/{runtime-transport-CaAK1jo1.js → runtime-transport-BxhzIxn4.js} +8 -1
- package/dist/{runtime-transport-CaAK1jo1.js.map → runtime-transport-BxhzIxn4.js.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-BPoTMZlr.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { cn as agentControllerRefSchema, hn as __exportAll, tn as runtimeTransportModeSchema } from "./base-url-KfrIdedc.js";
|
|
4
|
-
import { $ as localFolderPickerResultSchema, $n as organizationInformationProtectionPolicyResponseSchema, At as spaceAttachmentDescriptorSchema, Bn as runtimeCoordinatorExecutionCreationDiagnosticSchema, Bt as localAgentInstallationOptionSchema, Ct as signalStatusDataSchema, Dr as openMeldNavigationTargetSchema, Er as computerSetupModeSchema, Et as signalTextSchema, F as runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema, Ft as spaceMessageAttachmentSchema, G as openMeldDaemonTaskResultProjectFailureContextSchema, Gn as spaceTraceExecutionIdentityProjectionSchema, Hn as runtimeCoordinatorExecutionRecordSchema, I as runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema, In as postSpaceWakeStopBodySchema, It as spaceMessageAttachmentsSchema, Jn as spacePasswordSchema, Jt as spaceThreadContextSchema, Kn as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, L as runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema, Ln as postSpaceWakeStopResponseSchema, Lt as conversationCompactionMarkerSchema, M as runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema, Mn as localComponentUpdatePolicySchema, Mt as spaceAttachmentFileNameSchema, N as runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema, Nn as localComponentUpdateProjectionSchema, Nt as spaceAttachmentMimeTypeSchema, Or as openMeldWebUrlSchema, P as runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema, Pn as localComponentUpdateStatusSchema, Pt as spaceAttachmentSizeBytesSchema, Q as localFolderPickerRequestSchema, Qn as spaceMentionLabelSourceSchema, R as runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema, Rn as clientMessageIdSchema$1, Sn as agentInteractionPendingSummarySchema, Tn as agentInteractionResponseSchema, Tt as signalTextDataSchema, Ut as openMeldDaemonSyncRouteCatalogPayloadSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vn as runtimeCoordinatorExecutionEventSchema, Xt as spaceThreadSchema, Yt as spaceThreadEventSchema, Zn as spaceMentionLabelSchema, Zt as spaceThreadSignalPlacementSchema, _n as spaceAgentStreamPartFrameSchema, _r as nonEmptyTrimmedStringFromUnknown, an as workingLanguageTagSchema, at as agentTaskTerminalOutcomeSchema, bn as spaceAgentStreamTerminalFrameSchema, br as MAX_TEXT_LENGTH$1, cr as agentProfileIdSchema, ct as controllerAgentTaskHandleSchema, dn as messageEnvelopeSchema, dr as profileKindSchema, en as resultArchivePolicySchema, er as organizationProtectedInformationSchema, et as localFolderPathSchema, fr as profileSchema, gn as spaceAgentStreamDeltaFrameSchema, gr as finiteIntegerNumber, hn as agentStreamToolPartSchema, hr as uuidProfileIdSchema, in as workingLanguageGuidanceSchema, ir as inspectExecutionRecoveryResponseSchema, it as agentTaskHandleSchema, j as runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema, jt as spaceAttachmentDimensionSchema, lt as spaceWakeAgentTaskHandleSchema, mn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, mr as profileWorkspaceModeSchema, n as daemonExecutionCompatibilitySchema, nn as spacePublicationModeSchema, nr as executeExecutionRecoveryBodySchema, nt as agentTaskCompletionConditionSchema, on as targetWakeLifecycleIdentitySchema, or as openMeldRequestContextSchema, ot as areAgentTaskTerminalOutcomesEqual, pr as profileWorkingDirectorySchema, qn as normalizeSpacePasswordText, qt as dispatchExecutionSchema, rn as spaceDispatchPolicySchema, rr as executeExecutionRecoveryResponseSchema, rt as agentTaskCompletionObservationSchema, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceAllowedActionsSchema, tr as updateOrganizationInformationProtectionPolicyBodySchema, tt as agentDelegationSnapshotSchema, ur as openMeldRuntimeProfileIdSchema, vn as spaceAgentStreamPresenceSchema, vr as optionalBooleanQuerySchema, wt as signalSystemNoticeDataSchema, xt as centerAgentTaskReferenceSchema, yn as spaceAgentStreamSnapshotSchema, yr as trimmedStringFromUnknown, z as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, zt as centerAgentInteractionSourceSchema } from "./runtime-transport-
|
|
4
|
+
import { $ as localFolderPickerResultSchema, $n as organizationInformationProtectionPolicyResponseSchema, At as spaceAttachmentDescriptorSchema, Bn as runtimeCoordinatorExecutionCreationDiagnosticSchema, Bt as localAgentInstallationOptionSchema, Ct as signalStatusDataSchema, Dr as openMeldNavigationTargetSchema, Er as computerSetupModeSchema, Et as signalTextSchema, F as runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema, Ft as spaceMessageAttachmentSchema, G as openMeldDaemonTaskResultProjectFailureContextSchema, Gn as spaceTraceExecutionIdentityProjectionSchema, Hn as runtimeCoordinatorExecutionRecordSchema, I as runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema, In as postSpaceWakeStopBodySchema, It as spaceMessageAttachmentsSchema, Jn as spacePasswordSchema, Jt as spaceThreadContextSchema, Kn as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, L as runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema, Ln as postSpaceWakeStopResponseSchema, Lt as conversationCompactionMarkerSchema, M as runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema, Mn as localComponentUpdatePolicySchema, Mt as spaceAttachmentFileNameSchema, N as runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema, Nn as localComponentUpdateProjectionSchema, Nt as spaceAttachmentMimeTypeSchema, Or as openMeldWebUrlSchema, P as runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema, Pn as localComponentUpdateStatusSchema, Pt as spaceAttachmentSizeBytesSchema, Q as localFolderPickerRequestSchema, Qn as spaceMentionLabelSourceSchema, R as runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema, Rn as clientMessageIdSchema$1, Sn as agentInteractionPendingSummarySchema, Tn as agentInteractionResponseSchema, Tt as signalTextDataSchema, Ut as openMeldDaemonSyncRouteCatalogPayloadSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vn as runtimeCoordinatorExecutionEventSchema, Xt as spaceThreadSchema, Yt as spaceThreadEventSchema, Zn as spaceMentionLabelSchema, Zt as spaceThreadSignalPlacementSchema, _n as spaceAgentStreamPartFrameSchema, _r as nonEmptyTrimmedStringFromUnknown, an as workingLanguageTagSchema, at as agentTaskTerminalOutcomeSchema, bn as spaceAgentStreamTerminalFrameSchema, br as MAX_TEXT_LENGTH$1, cr as agentProfileIdSchema, ct as controllerAgentTaskHandleSchema, dn as messageEnvelopeSchema, dr as profileKindSchema, en as resultArchivePolicySchema, er as organizationProtectedInformationSchema, et as localFolderPathSchema, fr as profileSchema, gn as spaceAgentStreamDeltaFrameSchema, gr as finiteIntegerNumber, hn as agentStreamToolPartSchema, hr as uuidProfileIdSchema, in as workingLanguageGuidanceSchema, ir as inspectExecutionRecoveryResponseSchema, it as agentTaskHandleSchema, j as runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema, jt as spaceAttachmentDimensionSchema, lt as spaceWakeAgentTaskHandleSchema, mn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, mr as profileWorkspaceModeSchema, n as daemonExecutionCompatibilitySchema, nn as spacePublicationModeSchema, nr as executeExecutionRecoveryBodySchema, nt as agentTaskCompletionConditionSchema, on as targetWakeLifecycleIdentitySchema, or as openMeldRequestContextSchema, ot as areAgentTaskTerminalOutcomesEqual, pr as profileWorkingDirectorySchema, qn as normalizeSpacePasswordText, qt as dispatchExecutionSchema, rn as spaceDispatchPolicySchema, rr as executeExecutionRecoveryResponseSchema, rt as agentTaskCompletionObservationSchema, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceAllowedActionsSchema, tr as updateOrganizationInformationProtectionPolicyBodySchema, tt as agentDelegationSnapshotSchema, ur as openMeldRuntimeProfileIdSchema, vn as spaceAgentStreamPresenceSchema, vr as optionalBooleanQuerySchema, wt as signalSystemNoticeDataSchema, xt as centerAgentTaskReferenceSchema, yn as spaceAgentStreamSnapshotSchema, yr as trimmedStringFromUnknown, z as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, zt as centerAgentInteractionSourceSchema } from "./runtime-transport-BxhzIxn4.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
|
|
@@ -1951,6 +1951,17 @@ const MESSAGE_CHANNEL_EVENT_TEXT_MAX_CHARS = 4e3;
|
|
|
1951
1951
|
const nonEmptyStringSchema$4 = z.string().trim().min(1);
|
|
1952
1952
|
const providerIdSchema = nonEmptyStringSchema$4.max(512);
|
|
1953
1953
|
const timestampMsSchema$5 = z.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER);
|
|
1954
|
+
const slackMessagePermalinkSchema = z.url().max(2048).refine(isSlackMessagePermalink, { message: "Slack permalinks must use an HTTPS slack.com host." });
|
|
1955
|
+
function isSlackMessagePermalink(value) {
|
|
1956
|
+
let url;
|
|
1957
|
+
try {
|
|
1958
|
+
url = new URL(value);
|
|
1959
|
+
} catch {
|
|
1960
|
+
return false;
|
|
1961
|
+
}
|
|
1962
|
+
const hostname = url.hostname.toLowerCase();
|
|
1963
|
+
return url.protocol === "https:" && !url.username && !url.password && (hostname === "slack.com" || hostname.endsWith(".slack.com"));
|
|
1964
|
+
}
|
|
1954
1965
|
const messageChannelProviderSchema = z.enum(MESSAGE_CHANNEL_PROVIDERS);
|
|
1955
1966
|
const messageChannelParticipantIdentitySchema = z.strictObject({
|
|
1956
1967
|
connectionId: providerIdSchema,
|
|
@@ -3990,6 +4001,115 @@ z.strictObject({
|
|
|
3990
4001
|
request: computerFileAccessUpdateRequestSchema
|
|
3991
4002
|
});
|
|
3992
4003
|
//#endregion
|
|
4004
|
+
//#region ../../packages/schemas/dist/schemas/protocol/hello.js
|
|
4005
|
+
const helloCapabilitiesSchema = z.object({ liveSignalHistory: z.boolean().optional() });
|
|
4006
|
+
z.object({
|
|
4007
|
+
type: z.literal("hello"),
|
|
4008
|
+
profile: profileSchema,
|
|
4009
|
+
capabilities: helloCapabilitiesSchema.optional()
|
|
4010
|
+
});
|
|
4011
|
+
const helloAckSchema = z.object({
|
|
4012
|
+
type: z.literal("system.hello.ack"),
|
|
4013
|
+
profile: profileSchema
|
|
4014
|
+
});
|
|
4015
|
+
//#endregion
|
|
4016
|
+
//#region ../../packages/schemas/dist/schemas/protocol/server-error.js
|
|
4017
|
+
const serverErrorFrameSchema = z.object({
|
|
4018
|
+
error: nonEmptyTrimmedStringFromUnknown,
|
|
4019
|
+
requestId: nonEmptyTrimmedStringFromUnknown.optional(),
|
|
4020
|
+
clientMessageId: clientMessageIdSchema$1.optional()
|
|
4021
|
+
});
|
|
4022
|
+
//#endregion
|
|
4023
|
+
//#region ../../packages/schemas/dist/schemas/protocol/envelope.js
|
|
4024
|
+
const baseEnvelopeShape = {
|
|
4025
|
+
v: z.literal(1),
|
|
4026
|
+
id: nonEmptyTrimmedStringFromUnknown,
|
|
4027
|
+
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
4028
|
+
ts: finiteIntegerNumber,
|
|
4029
|
+
profile: profileSchema
|
|
4030
|
+
};
|
|
4031
|
+
const presenceDataSchema = z.record(z.string(), z.unknown());
|
|
4032
|
+
const presenceEnvelopeSchema = z.object({
|
|
4033
|
+
...baseEnvelopeShape,
|
|
4034
|
+
type: z.enum(["presence.join", "presence.quit"]),
|
|
4035
|
+
data: presenceDataSchema
|
|
4036
|
+
});
|
|
4037
|
+
const signalTextEnvelopeSchema = z.object({
|
|
4038
|
+
...baseEnvelopeShape,
|
|
4039
|
+
type: z.literal("signal.text"),
|
|
4040
|
+
data: signalTextDataSchema
|
|
4041
|
+
});
|
|
4042
|
+
const signalStatusEnvelopeSchema = z.object({
|
|
4043
|
+
...baseEnvelopeShape,
|
|
4044
|
+
type: z.literal("signal.status"),
|
|
4045
|
+
data: signalStatusDataSchema
|
|
4046
|
+
});
|
|
4047
|
+
const signalSystemNoticeEnvelopeSchema = z.object({
|
|
4048
|
+
...baseEnvelopeShape,
|
|
4049
|
+
type: z.literal("signal.system_notice"),
|
|
4050
|
+
data: signalSystemNoticeDataSchema
|
|
4051
|
+
});
|
|
4052
|
+
const signalEnvelopeSchema = z.union([
|
|
4053
|
+
presenceEnvelopeSchema,
|
|
4054
|
+
signalTextEnvelopeSchema,
|
|
4055
|
+
signalStatusEnvelopeSchema,
|
|
4056
|
+
signalSystemNoticeEnvelopeSchema
|
|
4057
|
+
]);
|
|
4058
|
+
const spaceLiveSignalFrameSchema = z.strictObject({
|
|
4059
|
+
type: z.literal("space.signal"),
|
|
4060
|
+
signal: signalEnvelopeSchema,
|
|
4061
|
+
history: z.strictObject({ persisted: z.boolean() }).optional(),
|
|
4062
|
+
threadContext: spaceThreadContextSchema.optional(),
|
|
4063
|
+
threadPlacement: spaceThreadSignalPlacementSchema.optional()
|
|
4064
|
+
});
|
|
4065
|
+
const spaceLiveInvalidationFrameSchema = z.strictObject({
|
|
4066
|
+
type: z.enum([
|
|
4067
|
+
"space.members.changed",
|
|
4068
|
+
"space.meta.changed",
|
|
4069
|
+
"agent.readiness.invalidated"
|
|
4070
|
+
]),
|
|
4071
|
+
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
4072
|
+
version: finiteIntegerNumber,
|
|
4073
|
+
profileIds: z.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
4074
|
+
agentProfileIds: z.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
4075
|
+
reason: nonEmptyTrimmedStringFromUnknown.optional()
|
|
4076
|
+
});
|
|
4077
|
+
const incomingServerMessageSchema = z.union([
|
|
4078
|
+
signalEnvelopeSchema,
|
|
4079
|
+
spaceLiveSignalFrameSchema,
|
|
4080
|
+
spaceLiveInvalidationFrameSchema,
|
|
4081
|
+
spaceAgentStreamDeltaFrameSchema,
|
|
4082
|
+
spaceAgentStreamPartFrameSchema,
|
|
4083
|
+
spaceAgentStreamTerminalFrameSchema,
|
|
4084
|
+
helloAckSchema,
|
|
4085
|
+
serverErrorFrameSchema
|
|
4086
|
+
]);
|
|
4087
|
+
//#endregion
|
|
4088
|
+
//#region ../../packages/schemas/dist/schemas/http/space-signals.js
|
|
4089
|
+
const signalTextRequestDataSchema = signalTextSchema.shape.data;
|
|
4090
|
+
z.enum([
|
|
4091
|
+
"user_authored",
|
|
4092
|
+
"system_emitted",
|
|
4093
|
+
"legacy_nullable"
|
|
4094
|
+
]);
|
|
4095
|
+
const postNormalMessageBodySchema = z.strictObject({
|
|
4096
|
+
text: signalTextRequestDataSchema.shape.text,
|
|
4097
|
+
attachments: signalTextRequestDataSchema.shape.attachments.optional(),
|
|
4098
|
+
messageEnvelope: signalTextRequestDataSchema.shape.messageEnvelope.optional(),
|
|
4099
|
+
replyTo: signalTextRequestDataSchema.shape.replyTo.optional(),
|
|
4100
|
+
meta: signalTextRequestDataSchema.shape.meta.optional()
|
|
4101
|
+
}).superRefine((value, ctx) => {
|
|
4102
|
+
const parsed = signalTextRequestDataSchema.safeParse(value);
|
|
4103
|
+
if (parsed.success) return;
|
|
4104
|
+
const firstIssue = parsed.error.issues[0];
|
|
4105
|
+
ctx.addIssue({
|
|
4106
|
+
code: "custom",
|
|
4107
|
+
path: firstIssue?.path ?? [],
|
|
4108
|
+
message: firstIssue?.message ?? "Invalid normal message payload"
|
|
4109
|
+
});
|
|
4110
|
+
});
|
|
4111
|
+
const postNormalMessageResponseSchema = signalTextEnvelopeSchema;
|
|
4112
|
+
//#endregion
|
|
3993
4113
|
//#region ../../packages/schemas/dist/schemas/http/center-agent-context-manifest.js
|
|
3994
4114
|
const CENTER_AGENT_CONTEXT_MANIFEST_VERSION = "center_agent_context_manifest.v1";
|
|
3995
4115
|
const CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION = "center_agent_context_load_receipt.v1";
|
|
@@ -5325,90 +5445,6 @@ const catchupResponseSchema = z.strictObject({
|
|
|
5325
5445
|
};
|
|
5326
5446
|
});
|
|
5327
5447
|
//#endregion
|
|
5328
|
-
//#region ../../packages/schemas/dist/schemas/protocol/hello.js
|
|
5329
|
-
const helloCapabilitiesSchema = z.object({ liveSignalHistory: z.boolean().optional() });
|
|
5330
|
-
z.object({
|
|
5331
|
-
type: z.literal("hello"),
|
|
5332
|
-
profile: profileSchema,
|
|
5333
|
-
capabilities: helloCapabilitiesSchema.optional()
|
|
5334
|
-
});
|
|
5335
|
-
const helloAckSchema = z.object({
|
|
5336
|
-
type: z.literal("system.hello.ack"),
|
|
5337
|
-
profile: profileSchema
|
|
5338
|
-
});
|
|
5339
|
-
//#endregion
|
|
5340
|
-
//#region ../../packages/schemas/dist/schemas/protocol/server-error.js
|
|
5341
|
-
const serverErrorFrameSchema = z.object({
|
|
5342
|
-
error: nonEmptyTrimmedStringFromUnknown,
|
|
5343
|
-
requestId: nonEmptyTrimmedStringFromUnknown.optional(),
|
|
5344
|
-
clientMessageId: clientMessageIdSchema$1.optional()
|
|
5345
|
-
});
|
|
5346
|
-
//#endregion
|
|
5347
|
-
//#region ../../packages/schemas/dist/schemas/protocol/envelope.js
|
|
5348
|
-
const baseEnvelopeShape = {
|
|
5349
|
-
v: z.literal(1),
|
|
5350
|
-
id: nonEmptyTrimmedStringFromUnknown,
|
|
5351
|
-
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
5352
|
-
ts: finiteIntegerNumber,
|
|
5353
|
-
profile: profileSchema
|
|
5354
|
-
};
|
|
5355
|
-
const presenceDataSchema = z.record(z.string(), z.unknown());
|
|
5356
|
-
const presenceEnvelopeSchema = z.object({
|
|
5357
|
-
...baseEnvelopeShape,
|
|
5358
|
-
type: z.enum(["presence.join", "presence.quit"]),
|
|
5359
|
-
data: presenceDataSchema
|
|
5360
|
-
});
|
|
5361
|
-
const signalTextEnvelopeSchema = z.object({
|
|
5362
|
-
...baseEnvelopeShape,
|
|
5363
|
-
type: z.literal("signal.text"),
|
|
5364
|
-
data: signalTextDataSchema
|
|
5365
|
-
});
|
|
5366
|
-
const signalStatusEnvelopeSchema = z.object({
|
|
5367
|
-
...baseEnvelopeShape,
|
|
5368
|
-
type: z.literal("signal.status"),
|
|
5369
|
-
data: signalStatusDataSchema
|
|
5370
|
-
});
|
|
5371
|
-
const signalSystemNoticeEnvelopeSchema = z.object({
|
|
5372
|
-
...baseEnvelopeShape,
|
|
5373
|
-
type: z.literal("signal.system_notice"),
|
|
5374
|
-
data: signalSystemNoticeDataSchema
|
|
5375
|
-
});
|
|
5376
|
-
const signalEnvelopeSchema = z.union([
|
|
5377
|
-
presenceEnvelopeSchema,
|
|
5378
|
-
signalTextEnvelopeSchema,
|
|
5379
|
-
signalStatusEnvelopeSchema,
|
|
5380
|
-
signalSystemNoticeEnvelopeSchema
|
|
5381
|
-
]);
|
|
5382
|
-
const spaceLiveSignalFrameSchema = z.strictObject({
|
|
5383
|
-
type: z.literal("space.signal"),
|
|
5384
|
-
signal: signalEnvelopeSchema,
|
|
5385
|
-
history: z.strictObject({ persisted: z.boolean() }).optional(),
|
|
5386
|
-
threadContext: spaceThreadContextSchema.optional(),
|
|
5387
|
-
threadPlacement: spaceThreadSignalPlacementSchema.optional()
|
|
5388
|
-
});
|
|
5389
|
-
const spaceLiveInvalidationFrameSchema = z.strictObject({
|
|
5390
|
-
type: z.enum([
|
|
5391
|
-
"space.members.changed",
|
|
5392
|
-
"space.meta.changed",
|
|
5393
|
-
"agent.readiness.invalidated"
|
|
5394
|
-
]),
|
|
5395
|
-
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
5396
|
-
version: finiteIntegerNumber,
|
|
5397
|
-
profileIds: z.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
5398
|
-
agentProfileIds: z.array(nonEmptyTrimmedStringFromUnknown).optional(),
|
|
5399
|
-
reason: nonEmptyTrimmedStringFromUnknown.optional()
|
|
5400
|
-
});
|
|
5401
|
-
const incomingServerMessageSchema = z.union([
|
|
5402
|
-
signalEnvelopeSchema,
|
|
5403
|
-
spaceLiveSignalFrameSchema,
|
|
5404
|
-
spaceLiveInvalidationFrameSchema,
|
|
5405
|
-
spaceAgentStreamDeltaFrameSchema,
|
|
5406
|
-
spaceAgentStreamPartFrameSchema,
|
|
5407
|
-
spaceAgentStreamTerminalFrameSchema,
|
|
5408
|
-
helloAckSchema,
|
|
5409
|
-
serverErrorFrameSchema
|
|
5410
|
-
]);
|
|
5411
|
-
//#endregion
|
|
5412
5448
|
//#region ../../packages/schemas/dist/schemas/runtime/center-agent-model.js
|
|
5413
5449
|
const boundedIdentifierSchema$3 = z.string().trim().min(1).max(256);
|
|
5414
5450
|
const centerAgentModelPreferenceSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("system_default") }), z.strictObject({
|
|
@@ -10435,6 +10471,15 @@ const centerAgentInboxSourceTargetSchema = z.strictObject({
|
|
|
10435
10471
|
message: "Center Agent Inbox targets must include both spaceId and signalId."
|
|
10436
10472
|
});
|
|
10437
10473
|
});
|
|
10474
|
+
const slackInboxSourceTargetSchema = z.strictObject({
|
|
10475
|
+
channelId: identifierSchema,
|
|
10476
|
+
kind: z.literal("message_channel"),
|
|
10477
|
+
messageId: identifierSchema,
|
|
10478
|
+
permalink: slackMessagePermalinkSchema,
|
|
10479
|
+
provider: z.literal("slack"),
|
|
10480
|
+
teamId: identifierSchema,
|
|
10481
|
+
threadRootMessageId: identifierSchema
|
|
10482
|
+
});
|
|
10438
10483
|
const inboxSourceTargetSchema = z.discriminatedUnion("kind", [
|
|
10439
10484
|
z.strictObject({
|
|
10440
10485
|
kind: z.literal("space"),
|
|
@@ -10457,6 +10502,7 @@ const inboxSourceTargetSchema = z.discriminatedUnion("kind", [
|
|
|
10457
10502
|
kind: z.literal("center_agent_task"),
|
|
10458
10503
|
taskId: identifierSchema
|
|
10459
10504
|
}),
|
|
10505
|
+
slackInboxSourceTargetSchema,
|
|
10460
10506
|
centerAgentInboxSourceTargetSchema,
|
|
10461
10507
|
z.strictObject({
|
|
10462
10508
|
kind: z.literal("settings"),
|
|
@@ -11639,31 +11685,6 @@ const getSpaceMessageDetailsResponseSchema = z.strictObject({
|
|
|
11639
11685
|
});
|
|
11640
11686
|
clientMessageIdSchema$1.nullable();
|
|
11641
11687
|
//#endregion
|
|
11642
|
-
//#region ../../packages/schemas/dist/schemas/http/space-signals.js
|
|
11643
|
-
const signalTextRequestDataSchema = signalTextSchema.shape.data;
|
|
11644
|
-
z.enum([
|
|
11645
|
-
"user_authored",
|
|
11646
|
-
"system_emitted",
|
|
11647
|
-
"legacy_nullable"
|
|
11648
|
-
]);
|
|
11649
|
-
const postNormalMessageBodySchema = z.strictObject({
|
|
11650
|
-
text: signalTextRequestDataSchema.shape.text,
|
|
11651
|
-
attachments: signalTextRequestDataSchema.shape.attachments.optional(),
|
|
11652
|
-
messageEnvelope: signalTextRequestDataSchema.shape.messageEnvelope.optional(),
|
|
11653
|
-
replyTo: signalTextRequestDataSchema.shape.replyTo.optional(),
|
|
11654
|
-
meta: signalTextRequestDataSchema.shape.meta.optional()
|
|
11655
|
-
}).superRefine((value, ctx) => {
|
|
11656
|
-
const parsed = signalTextRequestDataSchema.safeParse(value);
|
|
11657
|
-
if (parsed.success) return;
|
|
11658
|
-
const firstIssue = parsed.error.issues[0];
|
|
11659
|
-
ctx.addIssue({
|
|
11660
|
-
code: "custom",
|
|
11661
|
-
path: firstIssue?.path ?? [],
|
|
11662
|
-
message: firstIssue?.message ?? "Invalid normal message payload"
|
|
11663
|
-
});
|
|
11664
|
-
});
|
|
11665
|
-
const postNormalMessageResponseSchema = signalTextEnvelopeSchema;
|
|
11666
|
-
//#endregion
|
|
11667
11688
|
//#region ../../packages/schemas/dist/schemas/http/space-updates.js
|
|
11668
11689
|
const DECIMAL_INTEGER_REGEX = /^\d+$/u;
|
|
11669
11690
|
const updatesLimitSchema = z.preprocess((value) => {
|
|
@@ -11810,6 +11831,7 @@ const OPENMELD_HEADER_AUTO_RELAY_DEPTH = "x-openmeld-auto-relay-depth";
|
|
|
11810
11831
|
const OPENMELD_HEADER_VISITED_PROFILE_IDS = "x-openmeld-visited-profile-ids";
|
|
11811
11832
|
const OPENMELD_HEADER_VISITED_PROFILE_IDS_HASH = "x-openmeld-visited-profile-ids-hash";
|
|
11812
11833
|
const OPENMELD_HEADER_FORWARDED_BY = "x-openmeld-forwarded-by";
|
|
11834
|
+
const OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION = "x-openmeld-inbox-source-target-version";
|
|
11813
11835
|
const OPENMELD_HEADER_TEXT_ENCODING_PREFIX = "utf-8''";
|
|
11814
11836
|
const PRINTABLE_ASCII_PATTERN = /^[\x20-\x7e]*$/;
|
|
11815
11837
|
/**
|
|
@@ -13692,6 +13714,7 @@ const createInboxApi = (client) => ({
|
|
|
13692
13714
|
const params = requireValidInput$5(inboxItemRouteParamsSchema, { itemId: input.itemId }, "Inbox item request is invalid.");
|
|
13693
13715
|
return await client.requestJson({
|
|
13694
13716
|
...requestOptions$7(input),
|
|
13717
|
+
headers: inboxSourceTargetVersionHeaders(),
|
|
13695
13718
|
invalidMessage: "invalid Inbox item response",
|
|
13696
13719
|
method: "GET",
|
|
13697
13720
|
operation: "inbox.item.get",
|
|
@@ -13707,6 +13730,7 @@ const createInboxApi = (client) => ({
|
|
|
13707
13730
|
}, "Inbox list request is invalid.");
|
|
13708
13731
|
return await client.requestJson({
|
|
13709
13732
|
...requestOptions$7(input),
|
|
13733
|
+
headers: inboxSourceTargetVersionHeaders(),
|
|
13710
13734
|
invalidMessage: "invalid Inbox list response",
|
|
13711
13735
|
method: "GET",
|
|
13712
13736
|
operation: "inbox.list",
|
|
@@ -13728,7 +13752,10 @@ const createInboxApi = (client) => ({
|
|
|
13728
13752
|
return await client.requestJson({
|
|
13729
13753
|
...requestOptions$7(input),
|
|
13730
13754
|
body: JSON.stringify(body),
|
|
13731
|
-
headers: {
|
|
13755
|
+
headers: {
|
|
13756
|
+
"content-type": "application/json",
|
|
13757
|
+
...inboxSourceTargetVersionHeaders()
|
|
13758
|
+
},
|
|
13732
13759
|
invalidMessage: "invalid Inbox read response",
|
|
13733
13760
|
method: "PATCH",
|
|
13734
13761
|
operation: "inbox.item.read",
|
|
@@ -13806,6 +13833,9 @@ const createInboxApi = (client) => ({
|
|
|
13806
13833
|
});
|
|
13807
13834
|
}
|
|
13808
13835
|
});
|
|
13836
|
+
function inboxSourceTargetVersionHeaders() {
|
|
13837
|
+
return { [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "2" };
|
|
13838
|
+
}
|
|
13809
13839
|
function requestOptions$7(input) {
|
|
13810
13840
|
return {
|
|
13811
13841
|
...input.requestContext === void 0 ? {} : { requestContext: input.requestContext },
|
|
@@ -16248,4 +16278,4 @@ function composeAbortSignals(parent, timeout) {
|
|
|
16248
16278
|
//#endregion
|
|
16249
16279
|
export { OPENMELD_RUNTIME_CAPABILITIES_HEADER as $, START_ISO_DATE_TIME_SCHEMA as $t, parseEnvelope as A, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as At, toErrorMessage$3 as B, archiveProjectResponseSchema as Bt, dist_exports as C, deleteCenterAgentRoutineResponseSchema as Ct, DAEMON_STREAM_KEEPALIVE_PING as D, resumeCenterAgentRoutineResponseSchema as Dt, toStructuredApiClientFailure as E, pauseCenterAgentRoutineResponseSchema as Et, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as F, agentActivitySnapshotResponseSchema as Ft, spaceDispatchTraceAttemptStatusSchema as G, leaveSpaceResponseSchema as Gt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as H, listProjectsResponseSchema as Ht, OPENMELD_HEADER_REQUEST_ID as I, centerAgentToolSpeakerSchema as It, observabilityWakeTraceSelectorSchema as J, spaceMemberDirectoryEntrySchema as Jt, spaceDispatchTraceDispatchStatusSchema as K, postSpaceMembersResponseSchema as Kt, buildOpenMeldRequestContextHeaders as L, localProjectControlConnectionSchema as Lt, parseServerErrorFrame as M, agentActivityProviderSchema as Mt, resolveCustomMentionAliasOverride as N, agentActivitySessionStatusSchema as Nt, DAEMON_STREAM_KEEPALIVE_PONG as O, updateCenterAgentRoutineResponseSchema as Ot, OPENMELD_HEADER_PROFILE_ID as P, agentActivitySnapshotQuerySchema as Pt, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Q, START_BOUNDED_VERSION_SCHEMA as Qt, toErrorMessage$2 as R, localProjectControlDaemonFrameSchema as Rt, createSpaceApi as S, createCenterAgentRoutineResponseSchema as St, resolveProfileSpaceHistoryGatewayHost as T, listCenterAgentRoutinesResponseSchema as Tt, projectSpaceDispatchTraceFinalVisibleOutcome as U, projectSchema as Ut, getSpaceUpdatesResponseSchema as V, createProjectResponseSchema as Vt, resolveSpaceDispatchTraceRootCause as W, updateProjectResponseSchema as Wt, submitAgentControllerTaskLifecycleEventItemSchema as X, openCodePermissionConfigSchema as Xt, projectObservabilityWakeCorrelation as Y, spaceMemberDirectorySchema as Yt, gatewayErrorEnvelopeSchema as Z, START_BOUNDED_ID_SCHEMA as Zt, createPrepareReadinessApi as _, authProfileManagedRoleSchema as _t, buildSpaceAttachmentDownloadPath as a, toLegacySpaceAddressingWireValue as an, spaceCreatorSchema as at, createRoutinesApi as b, submitFeedbackIssueRequestSchema as bt, createAgentProfileBindingApi as c, listOrganizationSkillsResponseSchema as ct, createFeedbackApi as d, organizationSkillSummarySchema as dt, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as en, computerFileAccessDaemonFrameSchema as et, createFetchTransport as f, stringifyOrganizationSkillBundleCanonicalJson as ft, createOrganizationSkillsApi as g, authProfileKindSchema as gt, createOrganizationApi as h, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as ht, buildProfileSpaceHistoryUpsertPath as i, agentControllerCollaborationModeSchema as in, organizationSpaceDirectoryWithMemberCountsResponseSchema as it, parseIncoming as j, agentActivityEventSchema as jt, MAX_TEXT_LENGTH as k, AGENT_ACTIVITY_EVENT_MAX_BYTES as kt, createCenterAgentApi as l, organizationSkillBundleSchema as lt, createOpenMeldApiClient as m, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as mt, OpenMeldApiClientInvalidResponseError as n, localAgentCatalogSchema as nn, computerFileAccessPolicySchema as nt, createAccountSpaceIndexApi as o, spaceMetaSchema as ot, createLocalRuntimeExpectedRoutesApi as p, organizationDirectoryResponseSchema as pt, spaceDispatchTraceResponseSchema as q, removeSpaceMembersResponseSchema as qt, buildProfileSpaceHistoryStatusPath as r, agentControllerPermissionModeSchema as rn, modelCatalogSchema as rt, createAgentActivityApi as s, getOrganizationSkillResponseSchema as st, OpenMeldApiClientHttpError as t, startReplyReadinessSummarySchema as tn, computerFileAccessPolicyInputSchema as tt, createCurrentDeviceApi as u, organizationSkillReleaseSummarySchema as ut, createProfileSpaceHistoryApi as v, profileCapabilitiesResponseSchema as vt, resolveAccountSpaceIndexGatewayHost as w, listCenterAgentRoutineRunsResponseSchema as wt, createRuntimeReportingApi as x, submitFeedbackIssueResponseSchema as xt, createProjectsApi as y, profileErrorResponseSchema as yt, sleep as z, localProjectControlDiscoverProjectsResponseSchema as zt };
|
|
16250
16280
|
|
|
16251
|
-
//# sourceMappingURL=dist-
|
|
16281
|
+
//# sourceMappingURL=dist-WHWyUs8I.js.map
|