openmeld 0.3.135 → 0.3.137

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.
Files changed (31) hide show
  1. package/dist/{add-me-membership-9xY_Cbqw.js → add-me-membership-CZUHkjnP.js} +2 -2
  2. package/dist/{add-me-membership-9xY_Cbqw.js.map → add-me-membership-CZUHkjnP.js.map} +1 -1
  3. package/dist/{api-client-foundation--Nr2FS4d.js → api-client-foundation-BPmXnsr9.js} +4 -7
  4. package/dist/api-client-foundation-BPmXnsr9.js.map +1 -0
  5. package/dist/{auth-session-CNmIonA7.js → auth-session-B06nfwnD.js} +224 -88
  6. package/dist/auth-session-B06nfwnD.js.map +1 -0
  7. package/dist/{base-url-BtqW4aLS.js → base-url-CY_j4bLH.js} +13 -6
  8. package/dist/base-url-CY_j4bLH.js.map +1 -0
  9. package/dist/{command-wO4TFiYh.js → command-CU_3raCS.js} +783 -210
  10. package/dist/{command-wO4TFiYh.js.map → command-CU_3raCS.js.map} +1 -1
  11. package/dist/{daemon-runtime-lease-D82uDZ5s.js → daemon-runtime-lease-6DIprlJy.js} +2 -2
  12. package/dist/{daemon-runtime-lease-D82uDZ5s.js.map → daemon-runtime-lease-6DIprlJy.js.map} +1 -1
  13. package/dist/{dist-DoFr77hZ.js → dist-NJH-sDDB.js} +177 -42
  14. package/dist/dist-NJH-sDDB.js.map +1 -0
  15. package/dist/openmeld-dev.js +1 -1
  16. package/dist/openmeld.js +408 -222
  17. package/dist/openmeld.js.map +1 -1
  18. package/dist/{runtime-transport-Ciax1_jb.js → runtime-transport-DYzU1lHC.js} +78 -14
  19. package/dist/runtime-transport-DYzU1lHC.js.map +1 -0
  20. package/package.json +2 -2
  21. package/skills/README.md +5 -2
  22. package/skills/openmeld-cli/SKILL.md +109 -1151
  23. package/skills/openmeld-cli/playbooks/space-ops.md +34 -16
  24. package/skills/openmeld-cli/playbooks/space-reads.md +123 -0
  25. package/skills/openmeld-cli/references/commands.md +14 -9
  26. package/skills/openmeld-cli/references/runtime-resolution.md +21 -2
  27. package/dist/api-client-foundation--Nr2FS4d.js.map +0 -1
  28. package/dist/auth-session-CNmIonA7.js.map +0 -1
  29. package/dist/base-url-BtqW4aLS.js.map +0 -1
  30. package/dist/dist-DoFr77hZ.js.map +0 -1
  31. package/dist/runtime-transport-Ciax1_jb.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
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 localFolderPickerResultSchema, $n as openMeldToolsMaintenanceProjectionSchema, $t as trashSpaceFileEntryResponseSchema, An as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Ar as clientMessageIdSchema$1, At as spaceAttachmentMimeTypeSchema, B as openMeldDaemonProviderAccessEvidenceProviderSchema, Br as spacePasswordSchema, Bt as discardSpaceComposerUploadResponseSchema, Cr as tuple, Ct as signalStatusDataSchema, Dn as messageEnvelopeSchema, Dr as url, Dt as spaceAttachmentDescriptorSchema, Er as unknown, Et as signalTextSchema, F as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Fn as spaceAgentStreamSnapshotSchema, G as openMeldDaemonTaskResultProjectFailureContextSchema, Gr as organizationInformationProtectionPolicyResponseSchema, Gt as publishSpaceComposerUploadResponseSchema, In as spaceAgentStreamTerminalFrameSchema, It as centerAgentInteractionSourceSchema, Jn as localComponentUpdatePolicySchema, Jr as executeExecutionRecoveryBodySchema, Jt as restoreSpaceFileRevisionResponseSchema, Kr as organizationProtectedInformationSchema, Lr as spaceTraceExecutionIdentityProjectionSchema, Lt as SPACE_FILE_ERROR_CODES, Mn as spaceAgentStreamDeltaFrameSchema, Mr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Mt as spaceMessageAttachmentSchema, Nn as spaceAgentStreamPartFrameSchema, Nr as runtimeCoordinatorExecutionEventSchema, Nt as spaceMessageAttachmentsSchema, Or as postSpaceWakeStopBodySchema, Ot as spaceAttachmentDimensionSchema, Pn as spaceAgentStreamPresenceSchema, Pr as runtimeCoordinatorExecutionRecordSchema, Pt as conversationCompactionMarkerSchema, Q as localFolderPickerRequestSchema, Qn as openMeldToolsMaintenanceMutationResultSchema, Qr as openMeldRequestContextSchema, Qt as stageSpaceComposerUploadResponseSchema, Rn as agentInteractionPendingSummarySchema, Rr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Rt as SPACE_FILE_MAX_SIZE_BYTES, Sn as targetWakeLifecycleIdentitySchema, Sr as string, Tr as union, Tt as signalTextDataSchema, Ur as spaceMentionLabelSchema, Ut as listSpaceFileRevisionsResponseSchema, Vn as agentInteractionResponseSchema, Vt as getSpaceFileResponseSchema, Wr as spaceMentionLabelSourceSchema, Wt as listSpaceFilesResponseSchema, Xn as localComponentUpdateStatusSchema, Xr as inspectExecutionRecoveryResponseSchema, Yn as localComponentUpdateProjectionSchema, Yr as executeExecutionRecoveryResponseSchema, Yt as spaceFileMimeTypeSchema, Zt as spaceMessageFileReferencesSchema, _n as spaceAllowedActionsSchema, _r as number, ai as profileWorkingDirectorySchema, an as openMeldDaemonSyncRouteCatalogPayloadSchema, ar as NEVER, at as agentTaskTerminalOutcomeSchema, bi as openMeldWebUrlSchema, bn as workingLanguageGuidanceSchema, br as record, ci as finiteIntegerNumber, cr as coerce, ct as controllerAgentTaskHandleSchema, di as trimmedStringFromUnknown, dn as spaceThreadEventSchema, dr as enumFactory, ei as agentProfileIdSchema, en as updateSpaceFileEntryResponseSchema, et as localFolderPathSchema, fi as MAX_TEXT_LENGTH$1, fn as spaceThreadSchema, fr as int, gn as resultArchivePolicySchema, gr as nullFactory, hr as neverFactory, ii as profileSchema, it as agentTaskHandleSchema, jn as agentStreamToolPartSchema, jt as spaceAttachmentSizeBytesSchema, kr as postSpaceWakeStopResponseSchema, kt as spaceAttachmentFileNameSchema, li as nonEmptyTrimmedStringFromUnknown, ln as dispatchExecutionSchema, lr as discriminatedUnion, lt as spaceWakeAgentTaskHandleSchema, mr as literal, n as daemonExecutionCompatibilitySchema, ni as openMeldRuntimeProfileIdSchema, nn as localAgentInstallationOptionSchema, nr as openMeldToolsUpdateOperationSchema, nt as agentTaskCompletionConditionSchema, oi as profileWorkspaceModeSchema, or as array, ot as areAgentTaskTerminalOutcomesEqual, pn as spaceThreadSignalPlacementSchema, pr as iso, qr as updateOrganizationInformationProtectionPolicyBodySchema, qt as restoreSpaceFileEntryResponseSchema, ri as profileKindSchema, rr as openMeldToolsUpdateRequestResultSchema, rt as agentTaskCompletionObservationSchema, si as uuidProfileIdSchema, sr as boolean, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as uploadSpaceFileResponseSchema, tt as agentDelegationSnapshotSchema, ui as optionalBooleanQuerySchema, un as spaceThreadContextSchema, ur as email, vi as computerSetupModeSchema, vn as spacePublicationModeSchema, vr as object, wr as undefinedFactory, wt as signalSystemNoticeDataSchema, xn as workingLanguageTagSchema, xr as strictObject, xt as centerAgentTaskReferenceSchema, yi as openMeldNavigationTargetSchema, yn as spaceDispatchPolicySchema, yr as preprocess, z as openMeldDaemonOriginalErrorSchema, zr as normalizeSpacePasswordText, zt as createSpaceFolderResponseSchema } from "./runtime-transport-Ciax1_jb.js";
3
+ import { Sn as __exportAll, bn as agentControllerConversationCapabilitySchema, on as runtimeTransportModeSchema, pn as agentControllerRefSchema, vn as normalizeKnownBuiltinAgentControllerId, xn as resolveBuiltinAgentControllerConversationCapability } from "./base-url-CY_j4bLH.js";
4
+ import { $ as localFolderPickerResultSchema, $n as openMeldToolsMaintenanceProjectionSchema, $t as trashSpaceFileEntryResponseSchema, An as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Ar as clientMessageIdSchema$1, At as spaceAttachmentMimeTypeSchema, B as openMeldDaemonProviderAccessEvidenceProviderSchema, Br as spacePasswordSchema, Bt as discardSpaceComposerUploadResponseSchema, Cr as tuple, Ct as signalStatusDataSchema, Dn as messageEnvelopeSchema, Dr as url, Dt as spaceAttachmentDescriptorSchema, Er as unknown, Et as signalTextSchema, F as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Fn as spaceAgentStreamSnapshotSchema, G as openMeldDaemonTaskResultProjectFailureContextSchema, Gr as organizationInformationProtectionPolicyResponseSchema, Gt as publishSpaceComposerUploadResponseSchema, In as spaceAgentStreamTerminalFrameSchema, It as centerAgentInteractionSourceSchema, Jn as localComponentUpdatePolicySchema, Jr as executeExecutionRecoveryBodySchema, Jt as restoreSpaceFileRevisionResponseSchema, Kr as organizationProtectedInformationSchema, Lr as spaceTraceExecutionIdentityProjectionSchema, Lt as SPACE_FILE_ERROR_CODES, Mn as spaceAgentStreamDeltaFrameSchema, Mr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Mt as spaceMessageAttachmentSchema, Nn as spaceAgentStreamPartFrameSchema, Nr as runtimeCoordinatorExecutionEventSchema, Nt as spaceMessageAttachmentsSchema, Or as postSpaceWakeStopBodySchema, Ot as spaceAttachmentDimensionSchema, Pn as spaceAgentStreamPresenceSchema, Pr as runtimeCoordinatorExecutionRecordSchema, Pt as conversationCompactionMarkerSchema, Q as localFolderPickerRequestSchema, Qn as openMeldToolsMaintenanceMutationResultSchema, Qr as openMeldRequestContextSchema, Qt as stageSpaceComposerUploadResponseSchema, Rn as agentInteractionPendingSummarySchema, Rr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Rt as SPACE_FILE_MAX_SIZE_BYTES, Sn as targetWakeLifecycleIdentitySchema, Sr as string, Tr as union, Tt as signalTextDataSchema, Ur as spaceMentionLabelSchema, Ut as listSpaceFileRevisionsResponseSchema, Vn as agentInteractionResponseSchema, Vt as getSpaceFileResponseSchema, Wr as spaceMentionLabelSourceSchema, Wt as listSpaceFilesResponseSchema, Xn as localComponentUpdateStatusSchema, Xr as inspectExecutionRecoveryResponseSchema, Yn as localComponentUpdateProjectionSchema, Yr as executeExecutionRecoveryResponseSchema, Yt as spaceFileMimeTypeSchema, Zt as spaceMessageFileReferencesSchema, _n as spaceAllowedActionsSchema, _r as number, ai as profileWorkingDirectorySchema, an as openMeldDaemonSyncRouteCatalogPayloadSchema, ar as NEVER, at as agentTaskTerminalOutcomeSchema, bi as openMeldNavigationTargetSchema, bn as workingLanguageGuidanceSchema, br as record, ci as finiteIntegerNumber, cr as coerce, ct as controllerAgentTaskHandleSchema, di as trimmedStringFromUnknown, dn as spaceThreadEventSchema, dr as enumFactory, ei as agentProfileIdSchema, en as updateSpaceFileEntryResponseSchema, et as localFolderPathSchema, fi as MAX_TEXT_LENGTH$1, fn as spaceThreadSchema, fr as int, gn as resultArchivePolicySchema, gr as nullFactory, hr as neverFactory, ii as profileSchema, it as agentTaskHandleSchema, jn as agentStreamToolPartSchema, jt as spaceAttachmentSizeBytesSchema, kr as postSpaceWakeStopResponseSchema, kt as spaceAttachmentFileNameSchema, li as nonEmptyTrimmedStringFromUnknown, ln as dispatchExecutionSchema, lr as discriminatedUnion, lt as spaceWakeAgentTaskHandleSchema, mr as literal, n as daemonExecutionCompatibilitySchema, ni as openMeldRuntimeProfileIdSchema, nn as localAgentInstallationOptionSchema, nr as openMeldToolsUpdateOperationSchema, nt as agentTaskCompletionConditionSchema, oi as profileWorkspaceModeSchema, or as array, ot as areAgentTaskTerminalOutcomesEqual, pi as agentProfileWorkRecoveryActionKindSchema, pn as spaceThreadSignalPlacementSchema, pr as iso, qr as updateOrganizationInformationProtectionPolicyBodySchema, qt as restoreSpaceFileEntryResponseSchema, ri as profileKindSchema, rr as openMeldToolsUpdateRequestResultSchema, rt as agentTaskCompletionObservationSchema, si as uuidProfileIdSchema, sr as boolean, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as uploadSpaceFileResponseSchema, tt as agentDelegationSnapshotSchema, ui as optionalBooleanQuerySchema, un as spaceThreadContextSchema, ur as email, vn as spacePublicationModeSchema, vr as object, wr as undefinedFactory, wt as signalSystemNoticeDataSchema, xi as openMeldWebUrlSchema, xn as workingLanguageTagSchema, xr as strictObject, xt as centerAgentTaskReferenceSchema, yi as computerSetupModeSchema, yn as spaceDispatchPolicySchema, yr as preprocess, z as openMeldDaemonOriginalErrorSchema, zr as normalizeSpacePasswordText, zt as createSpaceFolderResponseSchema } from "./runtime-transport-DYzU1lHC.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
@@ -34,29 +34,48 @@ z$1.enum(AGENT_EXECUTION_READINESS_IMPACT_CLEARING_TRIGGERS);
34
34
  const MESSAGE_ENVELOPE_WIRE_FIELD_NAMES = /* @__PURE__ */ new Set(["messageEnvelope", "sourceMessageEnvelope"]);
35
35
  /**
36
36
  * Temporary transport-only compatibility for clients released before Space
37
- * Message Addressing moved to Wake and Reference.
37
+ * Message Addressing moved from CC to explicit Wake, Reference, and Mention.
38
38
  *
39
39
  * Callers must pass values that have already crossed current schemas. The
40
40
  * returned value is for JSON serialization only and must never be reused as a
41
41
  * domain object. Remove this encoder after the minimum supported Web, CLI,
42
42
  * Local Service, Gateway, Core, and Remote Agent versions all understand the
43
- * two-relation contract and production history has completed one retention
43
+ * current addressing contract and production history has completed one retention
44
44
  * window under the current read projection.
45
45
  */
46
46
  function toLegacySpaceAddressingWireValue(value) {
47
47
  return encodeLegacySpaceAddressingWireValue(value, null);
48
48
  }
49
+ /**
50
+ * Keeps Human Mention requests current while retaining the old request shape
51
+ * for messages that do not use the new relation.
52
+ */
53
+ function toCompatibleSpaceAddressingRequestWireValue(value) {
54
+ return containsHumanMentionTarget(value) ? value : toLegacySpaceAddressingWireValue(value);
55
+ }
56
+ function containsHumanMentionTarget(value) {
57
+ if (Array.isArray(value)) return value.some(containsHumanMentionTarget);
58
+ if (!isJsonRecord(value)) return false;
59
+ if (Array.isArray(value.mentionTargets) && value.mentionTargets.length > 0) return true;
60
+ return Object.values(value).some(containsHumanMentionTarget);
61
+ }
49
62
  function encodeLegacySpaceAddressingWireValue(value, fieldName) {
50
63
  if (Array.isArray(value)) return value.map((item) => encodeLegacySpaceAddressingWireValue(item, fieldName));
51
64
  if (!isJsonRecord(value)) return value;
52
65
  const encoded = Object.fromEntries(Object.entries(value).map(([key, nestedValue]) => [key, encodeLegacySpaceAddressingWireValue(nestedValue, key)]));
53
- if ((fieldName === null || fieldName !== null && MESSAGE_ENVELOPE_WIRE_FIELD_NAMES.has(fieldName)) && isCurrentMessageEnvelope(encoded)) return {
54
- ...encoded,
55
- ccTargets: []
56
- };
66
+ if ((fieldName === null || fieldName !== null && MESSAGE_ENVELOPE_WIRE_FIELD_NAMES.has(fieldName)) && isCurrentMessageEnvelope(encoded)) {
67
+ const mentionTargets = Array.isArray(encoded.mentionTargets) ? encoded.mentionTargets : [];
68
+ const referenceTargets = Array.isArray(encoded.referenceTargets) ? encoded.referenceTargets : [];
69
+ return {
70
+ ...omitJsonField(encoded, "mentionTargets"),
71
+ ccTargets: [],
72
+ referenceTargets: [.../* @__PURE__ */ new Set([...referenceTargets, ...mentionTargets])]
73
+ };
74
+ }
57
75
  if (fieldName === "allowedRelations" && isCurrentAllowedRelations(encoded)) return {
58
- ...encoded,
59
- cc: false
76
+ ...omitJsonField(encoded, "mention"),
77
+ cc: false,
78
+ reference: encoded.reference === true || encoded.mention === true
60
79
  };
61
80
  return encoded;
62
81
  }
@@ -64,11 +83,14 @@ function isCurrentMessageEnvelope(value) {
64
83
  return typeof value.text === "string" && Array.isArray(value.activationTargets) && Array.isArray(value.referenceTargets);
65
84
  }
66
85
  function isCurrentAllowedRelations(value) {
67
- return typeof value.wake === "boolean" && typeof value.reference === "boolean";
86
+ return typeof value.wake === "boolean" && typeof value.reference === "boolean" && typeof value.mention === "boolean";
68
87
  }
69
88
  function isJsonRecord(value) {
70
89
  return typeof value === "object" && value !== null;
71
90
  }
91
+ function omitJsonField(value, fieldName) {
92
+ return Object.fromEntries(Object.entries(value).filter(([key]) => key !== fieldName));
93
+ }
72
94
  //#endregion
73
95
  //#region ../../packages/schemas/dist/schemas/agent-controller-collaboration-mode.js
74
96
  const agentControllerCollaborationModeSchema = z$1.enum(["codex:default", "codex:plan"]);
@@ -2069,13 +2091,19 @@ const spaceIdentityDirectorySchema = strictObject({
2069
2091
  });
2070
2092
  const spaceMemberDirectoryAllowedRelationsSchema = preprocess((value) => {
2071
2093
  if (!(value && typeof value === "object") || Array.isArray(value)) return value;
2072
- const record = value;
2073
- if (typeof record.cc !== "boolean") return value;
2074
- const { cc: _legacyCc, ...currentRelations } = record;
2075
- return currentRelations;
2094
+ const { cc: _legacyCc, ...withoutLegacyCc } = value;
2095
+ if (typeof withoutLegacyCc.mention === "boolean") return withoutLegacyCc;
2096
+ if (typeof withoutLegacyCc.wake !== "boolean" || typeof withoutLegacyCc.reference !== "boolean") return withoutLegacyCc;
2097
+ const wasHumanReference = !withoutLegacyCc.wake && withoutLegacyCc.reference;
2098
+ return {
2099
+ ...withoutLegacyCc,
2100
+ mention: wasHumanReference,
2101
+ reference: wasHumanReference ? false : withoutLegacyCc.reference
2102
+ };
2076
2103
  }, strictObject({
2077
2104
  wake: boolean(),
2078
- reference: boolean()
2105
+ reference: boolean(),
2106
+ mention: boolean()
2079
2107
  }));
2080
2108
  const spaceMemberDirectoryCardSchema = strictObject({
2081
2109
  role: nullableTrimmedStringSchema$8,
@@ -2114,6 +2142,16 @@ const spaceMemberDirectoryEntrySchema = strictObject({
2114
2142
  message: "human members cannot support Wake",
2115
2143
  path: ["allowedRelations", "wake"]
2116
2144
  });
2145
+ if (value.profileKind === "human" && value.allowedRelations.reference) ctx.addIssue({
2146
+ code: "custom",
2147
+ message: "human members cannot support Reference",
2148
+ path: ["allowedRelations", "reference"]
2149
+ });
2150
+ if (value.profileKind === "agent" && value.allowedRelations.mention) ctx.addIssue({
2151
+ code: "custom",
2152
+ message: "agent members cannot support Human Mention",
2153
+ path: ["allowedRelations", "mention"]
2154
+ });
2117
2155
  });
2118
2156
  const spaceMemberDirectorySchema = strictObject({
2119
2157
  spaceId: trimmedNonEmptyStringSchema$15,
@@ -3578,6 +3616,7 @@ const agentControllerInterfaceSnapshotSchema = z$1.strictObject({
3578
3616
  skills: z$1.array(agentControllerInterfaceSkillSchema).max(512),
3579
3617
  status: agentControllerInterfaceStatusSchema,
3580
3618
  usageLimits: agentControllerUsageLimitsSchema.optional(),
3619
+ usageLimitsSupportMatrixVersion: z$1.int().positive().optional(),
3581
3620
  version: ACI_BOUNDED_ID_SCHEMA.nullable(),
3582
3621
  versionAdvisory: agentControllerInterfaceVersionAdvisorySchema.optional()
3583
3622
  });
@@ -4094,7 +4133,8 @@ const organizationDirectoryAgentProfileOperationalContextSchema = discriminatedU
4094
4133
  strictObject({
4095
4134
  currentWorkLocation: organizationDirectoryAgentProfileWorkLocationSchema.optional(),
4096
4135
  queuedWorkLocations: array(organizationDirectoryAgentProfileWorkLocationSchema).max(50).optional(),
4097
- recoveryAction: enumFactory(["continue_interrupted_work", "approve_queued_work"]).optional(),
4136
+ recoveryAction: agentProfileWorkRecoveryActionKindSchema.optional(),
4137
+ recoveryTargetWakeLifecycleId: trimmedNonEmptyStringSchema$14.optional(),
4098
4138
  status: literal("paused"),
4099
4139
  waitingCount: number().int().min(0).max(50)
4100
4140
  })
@@ -4563,6 +4603,9 @@ const trimmedNonEmptyStringSchema$13 = z$1.string().trim().min(1);
4563
4603
  const isoDateTimeSchema$7 = z$1.iso.datetime({ offset: true });
4564
4604
  const MAX_SPACE_GUIDE_LENGTH = 4e3;
4565
4605
  const spaceOrganizationVisibilitySchema = z$1.enum(["public", "private"]);
4606
+ function resolveInitialSpaceAccessMode(visibility) {
4607
+ return visibility === "private" ? "members_only" : "public";
4608
+ }
4566
4609
  const spaceCreatorSchema = z$1.strictObject({
4567
4610
  profileId: openMeldRuntimeProfileIdSchema,
4568
4611
  profileName: trimmedNonEmptyStringSchema$13.optional(),
@@ -4881,7 +4924,10 @@ z$1.strictObject({
4881
4924
  });
4882
4925
  //#endregion
4883
4926
  //#region ../../packages/schemas/dist/schemas/protocol/hello.js
4884
- const helloCapabilitiesSchema = z$1.object({ liveSignalHistory: z$1.boolean().optional() });
4927
+ const helloCapabilitiesSchema = z$1.object({
4928
+ liveSignalHistory: z$1.boolean().optional(),
4929
+ spaceMessageAddressing: z$1.boolean().optional()
4930
+ });
4885
4931
  z$1.object({
4886
4932
  type: z$1.literal("hello"),
4887
4933
  profile: profileSchema,
@@ -6518,9 +6564,16 @@ const getAgentProfileCreationApprovalPreferenceResponseSchema = agentProfileCrea
6518
6564
  const setAgentProfileCreationApprovalPreferenceResponseSchema = agentProfileCreationApprovalPreferenceSchema;
6519
6565
  //#endregion
6520
6566
  //#region ../../packages/schemas/dist/schemas/http/agent-profile-work-recovery.js
6521
- const agentProfileWorkRecoveryActionSchema = z$1.enum(["continue_interrupted_work", "approve_queued_work"]);
6567
+ const agentProfileWorkRecoveryActionSchema = agentProfileWorkRecoveryActionKindSchema;
6522
6568
  const agentProfileWorkRecoveryRouteParamsSchema = z$1.strictObject({ agentProfileId: agentProfileIdSchema });
6523
- const executeAgentProfileWorkRecoveryBodySchema = z$1.strictObject({ action: agentProfileWorkRecoveryActionSchema });
6569
+ const executeAgentProfileWorkRecoveryBodySchema = z$1.discriminatedUnion("action", [
6570
+ z$1.strictObject({ action: z$1.literal("continue_interrupted_work") }),
6571
+ z$1.strictObject({ action: z$1.literal("approve_queued_work") }),
6572
+ z$1.strictObject({
6573
+ action: z$1.literal("skip_interrupted_work"),
6574
+ expectedInterruptedTargetWakeLifecycleId: z$1.string().trim().min(1).max(512)
6575
+ })
6576
+ ]);
6524
6577
  const executeAgentProfileWorkRecoveryResponseSchema = z$1.strictObject({
6525
6578
  action: agentProfileWorkRecoveryActionSchema,
6526
6579
  status: z$1.literal("accepted")
@@ -7717,6 +7770,13 @@ const optionalTrimmedStringSchema = z$1.preprocess((value) => {
7717
7770
  const normalized = String(value ?? "").trim();
7718
7771
  return normalized.length > 0 ? normalized : void 0;
7719
7772
  }, z$1.string().min(1).optional());
7773
+ function boundSpaceStatusPreviewText(text) {
7774
+ if (text.length <= 240) return text;
7775
+ let truncated = text.slice(0, 239).trimEnd();
7776
+ const finalCodeUnit = truncated.charCodeAt(truncated.length - 1);
7777
+ if (finalCodeUnit >= 55296 && finalCodeUnit <= 56319) truncated = truncated.slice(0, -1).trimEnd();
7778
+ return `${truncated}…`;
7779
+ }
7720
7780
  const spaceStatusLatestVisibleUpdateSchema = z$1.object({
7721
7781
  signalId: nonEmptyTrimmedStringFromUnknown,
7722
7782
  signalType: z$1.enum([
@@ -7727,7 +7787,7 @@ const spaceStatusLatestVisibleUpdateSchema = z$1.object({
7727
7787
  createdAt: isoDateTimeSchema$3,
7728
7788
  actorProfileId: openMeldRuntimeProfileIdSchema,
7729
7789
  actorName: optionalTrimmedStringSchema,
7730
- previewText: nonEmptyTrimmedStringFromUnknown
7790
+ previewText: nonEmptyTrimmedStringFromUnknown.transform(boundSpaceStatusPreviewText)
7731
7791
  });
7732
7792
  const spaceStatusMembersSummarySchema = spaceMembersSummarySchema.extend({
7733
7793
  liveHumanCount: z$1.number().int().min(0),
@@ -10559,6 +10619,7 @@ const centerAgentSpaceContextAnchorByScope = {
10559
10619
  strictObject({
10560
10620
  afterSignalId: trimmedNonEmptyStringSchema$2.optional(),
10561
10621
  limit: number().int().min(1).max(100).optional(),
10622
+ requestedAddressingModel: literal("wake_reference_mention").optional(),
10562
10623
  scope: centerAgentSpaceContextScopeSchema.optional(),
10563
10624
  sourceSignalId: trimmedNonEmptyStringSchema$2.optional(),
10564
10625
  spaceId: trimmedNonEmptyStringSchema$2,
@@ -10588,10 +10649,19 @@ strictObject({
10588
10649
  });
10589
10650
  strictObject({
10590
10651
  files: spaceMessageFileReferencesSchema.optional(),
10652
+ mentionProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10591
10653
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10592
10654
  referenceProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10593
10655
  spaceId: trimmedNonEmptyStringSchema$2,
10594
10656
  text: string().trim().min(1).max(MAX_TEXT_LENGTH$1)
10657
+ }).superRefine((value, context) => {
10658
+ const referenceProfileIds = new Set(value.referenceProfileIds ?? []);
10659
+ const overlappingMentionIndex = value.mentionProfileIds?.findIndex((profileId) => referenceProfileIds.has(profileId));
10660
+ if (overlappingMentionIndex !== void 0 && overlappingMentionIndex >= 0) context.addIssue({
10661
+ code: "custom",
10662
+ message: "A profile cannot be both a Human Mention and a Reference target.",
10663
+ path: ["mentionProfileIds", overlappingMentionIndex]
10664
+ });
10595
10665
  });
10596
10666
  const centerAgentRemoteAgentExecutionPublicationSourceSchema = strictObject({
10597
10667
  executionId: trimmedNonEmptyStringSchema$2.max(512),
@@ -10668,11 +10738,23 @@ strictObject({
10668
10738
  agentProfileIds: array(agentProfileIdSchema).min(1).max(25),
10669
10739
  completionMode: centerAgentDelegationCompletionModeSchema.optional(),
10670
10740
  fallbackAgentProfileId: agentProfileIdSchema.optional(),
10741
+ mentionProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10671
10742
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10672
10743
  referenceProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10673
10744
  spaceId: trimmedNonEmptyStringSchema$2,
10674
10745
  text: string().trim().min(1).max(MAX_TEXT_LENGTH$1)
10675
10746
  }).superRefine((value, context) => {
10747
+ const otherAddressingProfileIds = /* @__PURE__ */ new Set([
10748
+ ...value.agentProfileIds,
10749
+ ...value.fallbackAgentProfileId ? [value.fallbackAgentProfileId] : [],
10750
+ ...value.referenceProfileIds ?? []
10751
+ ]);
10752
+ const overlappingMentionIndex = value.mentionProfileIds?.findIndex((profileId) => otherAddressingProfileIds.has(profileId));
10753
+ if (overlappingMentionIndex !== void 0 && overlappingMentionIndex >= 0) context.addIssue({
10754
+ code: "custom",
10755
+ message: "A profile cannot be both a Human Mention and another addressing target.",
10756
+ path: ["mentionProfileIds", overlappingMentionIndex]
10757
+ });
10676
10758
  const overlappingReferenceIndex = findCenterAgentReferenceOverlapIndex({
10677
10759
  activationTargets: value.agentProfileIds,
10678
10760
  fallbackAgentProfileId: value.fallbackAgentProfileId,
@@ -10717,7 +10799,9 @@ strictObject({
10717
10799
  organizationId: trimmedNonEmptyStringSchema$2,
10718
10800
  parentSubmissionId: trimmedNonEmptyStringSchema$2,
10719
10801
  profile: profileSchema,
10802
+ mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).default([]),
10720
10803
  referenceTargets: array(openMeldRuntimeProfileIdSchema).max(25).default([]),
10804
+ spaceAddressingVersion: literal("1").optional(),
10721
10805
  spaceId: trimmedNonEmptyStringSchema$2,
10722
10806
  subscriptionIds: array(trimmedNonEmptyStringSchema$2).min(1),
10723
10807
  text: string().trim().min(1).max(MAX_TEXT_LENGTH$1),
@@ -11104,10 +11188,14 @@ centerAgentConciergeActionResponseSchema.extend({
11104
11188
  meta: spaceMetaSchema.optional(),
11105
11189
  spaceId: trimmedNonEmptyStringSchema$2
11106
11190
  });
11107
- strictObject({
11191
+ discriminatedUnion("addressingModel", [strictObject({
11108
11192
  addressingModel: literal("wake_reference"),
11109
11193
  structuredReferenceTargets: literal(true)
11110
- });
11194
+ }), strictObject({
11195
+ addressingModel: literal("wake_reference_mention"),
11196
+ structuredMentionTargets: literal(true),
11197
+ structuredReferenceTargets: literal(true)
11198
+ })]);
11111
11199
  centerAgentConciergeActionResponseSchema.extend({
11112
11200
  signal: signalTextEnvelopeSchema,
11113
11201
  spaceId: trimmedNonEmptyStringSchema$2
@@ -11747,9 +11835,9 @@ const inboxResolutionStatusSchema = enumFactory([
11747
11835
  "open",
11748
11836
  "resolved"
11749
11837
  ]);
11750
- const inboxItemKindSchema = enumFactory([
11838
+ const inboxItemWireKindSchema = union([enumFactory([
11751
11839
  "space_message",
11752
- "space_reference",
11840
+ "space_mention",
11753
11841
  "agent_reply",
11754
11842
  "agent_interaction",
11755
11843
  "wake_outcome",
@@ -11758,7 +11846,7 @@ const inboxItemKindSchema = enumFactory([
11758
11846
  "document_review",
11759
11847
  "organization_request",
11760
11848
  "system_issue"
11761
- ]);
11849
+ ]), literal("space_reference")]);
11762
11850
  const inboxSourceKindSchema = enumFactory([
11763
11851
  "space_signal",
11764
11852
  "runtime_coordinator_interaction",
@@ -11848,13 +11936,13 @@ const inboxSourceTargetSchema = discriminatedUnion("kind", [
11848
11936
  ])
11849
11937
  })
11850
11938
  ]);
11851
- const inboxItemSchema = strictObject({
11939
+ const inboxItemWireSchema = strictObject({
11852
11940
  attention: inboxAttentionSchema,
11853
11941
  contextLabel: contextLabelSchema.nullable(),
11854
11942
  createdAt: isoDateTimeSchema,
11855
11943
  id: identifierSchema,
11856
11944
  importance: inboxImportanceSchema,
11857
- kind: inboxItemKindSchema,
11945
+ kind: inboxItemWireKindSchema,
11858
11946
  occurredAt: isoDateTimeSchema,
11859
11947
  organizationId: identifierSchema,
11860
11948
  preview: previewSchema,
@@ -11871,6 +11959,10 @@ const inboxItemSchema = strictObject({
11871
11959
  path: ["resolutionStatus"]
11872
11960
  });
11873
11961
  });
11962
+ const inboxItemSchema = inboxItemWireSchema.transform((item) => ({
11963
+ ...item,
11964
+ kind: normalizeInboxItemWireKind(item.kind)
11965
+ }));
11874
11966
  const listInboxItemsQuerySchema = strictObject({
11875
11967
  cursor: string().trim().min(1).max(1024).optional(),
11876
11968
  limit: coerce.number().int().min(1).max(100).optional(),
@@ -11881,6 +11973,11 @@ const listInboxItemsResponseSchema = strictObject({
11881
11973
  nextCursor: string().min(1).max(1024).nullable(),
11882
11974
  organizationId: identifierSchema
11883
11975
  });
11976
+ strictObject({
11977
+ items: array(inboxItemWireSchema),
11978
+ nextCursor: string().min(1).max(1024).nullable(),
11979
+ organizationId: identifierSchema
11980
+ });
11884
11981
  const inboxSummaryResponseSchema = strictObject({
11885
11982
  organizationId: identifierSchema,
11886
11983
  totalUnreadCount: number().int().nonnegative(),
@@ -11923,15 +12020,17 @@ const inboxNotificationPreferencesResponseSchema = strictObject({
11923
12020
  const updateInboxNotificationPreferencesBodySchema = strictObject({ urgentEmailEnabled: boolean() });
11924
12021
  const inboxItemRouteParamsSchema = strictObject({ itemId: identifierSchema });
11925
12022
  const getInboxItemResponseSchema = strictObject({ item: inboxItemSchema });
12023
+ strictObject({ item: inboxItemWireSchema });
11926
12024
  const dismissInboxItemResponseSchema = strictObject({ dismissedItemId: identifierSchema });
11927
12025
  const markInboxItemReadBodySchema = strictObject({ read: boolean() });
11928
12026
  const markInboxItemReadResponseSchema = strictObject({ item: inboxItemSchema });
12027
+ strictObject({ item: inboxItemWireSchema });
11929
12028
  const markAllInboxItemsReadResponseSchema = strictObject({ markedReadCount: number().int().nonnegative() });
11930
12029
  strictObject({
11931
12030
  attention: inboxAttentionSchema,
11932
12031
  contextLabel: contextLabelSchema.nullable(),
11933
12032
  importance: inboxImportanceSchema,
11934
- kind: inboxItemKindSchema,
12033
+ kind: inboxItemWireKindSchema,
11935
12034
  occurredAtMs: timestampMsSchema,
11936
12035
  organizationId: identifierSchema,
11937
12036
  preview: previewSchema,
@@ -11940,7 +12039,13 @@ strictObject({
11940
12039
  sourceKind: inboxSourceKindSchema,
11941
12040
  sourceTarget: inboxSourceTargetSchema,
11942
12041
  title: titleSchema
11943
- });
12042
+ }).transform((candidate) => ({
12043
+ ...candidate,
12044
+ kind: normalizeInboxItemWireKind(candidate.kind)
12045
+ }));
12046
+ function normalizeInboxItemWireKind(kind) {
12047
+ return kind === "space_reference" ? "space_mention" : kind;
12048
+ }
11944
12049
  listInboxItemsQuerySchema.extend({ context: openMeldRequestContextSchema });
11945
12050
  strictObject({ context: openMeldRequestContextSchema });
11946
12051
  strictObject({ context: openMeldRequestContextSchema });
@@ -13070,6 +13175,8 @@ const OPENMELD_HEADER_VISITED_PROFILE_IDS = "x-openmeld-visited-profile-ids";
13070
13175
  const OPENMELD_HEADER_VISITED_PROFILE_IDS_HASH = "x-openmeld-visited-profile-ids-hash";
13071
13176
  const OPENMELD_HEADER_FORWARDED_BY = "x-openmeld-forwarded-by";
13072
13177
  const OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION = "x-openmeld-inbox-source-target-version";
13178
+ const OPENMELD_HEADER_INBOX_ITEM_KIND_VERSION = "x-openmeld-inbox-item-kind-version";
13179
+ const OPENMELD_HEADER_SPACE_ADDRESSING_VERSION = "x-openmeld-space-addressing-version";
13073
13180
  const OPENMELD_HEADER_TEXT_ENCODING_PREFIX = "utf-8''";
13074
13181
  const PRINTABLE_ASCII_PATTERN = /^[\x20-\x7e]*$/;
13075
13182
  /**
@@ -13136,6 +13243,7 @@ function normalizeProfileIdList(value) {
13136
13243
  }
13137
13244
  const toErrorMessage$2 = toErrorMessage$3;
13138
13245
  const ORGANIZATION_DIRECTORY_INCLUDE_MEMBER_LAST_ACTIVE_AT_QUERY_PARAMETER = "includeMemberLastActiveAt";
13246
+ const ORGANIZATION_DIRECTORY_AGENT_PROFILE_WORK_RECOVERY_VERSION_QUERY_PARAMETER = "agentProfileWorkRecoveryVersion";
13139
13247
  //#endregion
13140
13248
  //#region ../../packages/protocol/dist/index.js
13141
13249
  const MAX_TEXT_LENGTH = 1e5;
@@ -13804,12 +13912,15 @@ const createAgentProfileBindingApi = (client) => {
13804
13912
  function buildAgentProfileWorkRecoveryRoute(agentProfileId) {
13805
13913
  return `/v1/agent-profiles/${encodeURIComponent(agentProfileId)}/work-recovery`;
13806
13914
  }
13807
- const executeAgentProfileWorkRecoveryInputSchema = agentProfileWorkRecoveryRouteParamsSchema.merge(executeAgentProfileWorkRecoveryBodySchema).extend({ requestContext: openMeldRequestContextSchema.optional() });
13915
+ const executeAgentProfileWorkRecoveryInputSchema = agentProfileWorkRecoveryRouteParamsSchema.extend({ requestContext: openMeldRequestContextSchema.optional() }).and(executeAgentProfileWorkRecoveryBodySchema);
13808
13916
  const createAgentProfileWorkRecoveryApi = (client) => ({ execute: async (input) => {
13809
13917
  const parsed = executeAgentProfileWorkRecoveryInputSchema.safeParse(input);
13810
13918
  if (!parsed.success) throw new Error(parsed.error.issues[0]?.message ?? "Invalid Agent Profile work recovery request.");
13811
13919
  return await client.requestJson({
13812
- body: JSON.stringify({ action: parsed.data.action }),
13920
+ body: JSON.stringify(parsed.data.action === "skip_interrupted_work" ? {
13921
+ action: parsed.data.action,
13922
+ expectedInterruptedTargetWakeLifecycleId: parsed.data.expectedInterruptedTargetWakeLifecycleId
13923
+ } : { action: parsed.data.action }),
13813
13924
  headers: { "content-type": "application/json" },
13814
13925
  invalidMessage: "Invalid Agent Profile work recovery response.",
13815
13926
  method: "POST",
@@ -15182,7 +15293,10 @@ const createInboxApi = (client) => ({
15182
15293
  }
15183
15294
  });
15184
15295
  function inboxSourceTargetVersionHeaders() {
15185
- return { [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "4" };
15296
+ return {
15297
+ [OPENMELD_HEADER_INBOX_ITEM_KIND_VERSION]: "1",
15298
+ [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "4"
15299
+ };
15186
15300
  }
15187
15301
  function requestOptions$7(input) {
15188
15302
  return {
@@ -15333,7 +15447,11 @@ function createLocalRuntimeExpectedRoutesApi(client) {
15333
15447
  }
15334
15448
  function buildCurrentOrganizationDirectoryPath(input) {
15335
15449
  const path = "/v1/organizations/current/directory";
15336
- return input?.includeMemberLastActiveAt === true ? `${path}?${ORGANIZATION_DIRECTORY_INCLUDE_MEMBER_LAST_ACTIVE_AT_QUERY_PARAMETER}=true` : path;
15450
+ const query = new URLSearchParams();
15451
+ if (input?.agentProfileWorkRecoveryVersion === 2) query.set(ORGANIZATION_DIRECTORY_AGENT_PROFILE_WORK_RECOVERY_VERSION_QUERY_PARAMETER, "2");
15452
+ if (input?.includeMemberLastActiveAt === true) query.set(ORGANIZATION_DIRECTORY_INCLUDE_MEMBER_LAST_ACTIVE_AT_QUERY_PARAMETER, "true");
15453
+ const queryString = query.toString();
15454
+ return queryString ? `${path}?${queryString}` : path;
15337
15455
  }
15338
15456
  function buildCurrentOrganizationComputersPath(input) {
15339
15457
  const path = "/v1/organizations/current/computers";
@@ -15592,7 +15710,10 @@ const createOrganizationApi = (client) => ({
15592
15710
  invalidMessage: "invalid Organization Binding authorization profile list response"
15593
15711
  }),
15594
15712
  getCurrentDirectory: async (input = {}) => await client.requestJson({
15595
- url: buildCurrentOrganizationDirectoryPath({ includeMemberLastActiveAt: input.includeMemberLastActiveAt }),
15713
+ url: buildCurrentOrganizationDirectoryPath({
15714
+ agentProfileWorkRecoveryVersion: input.agentProfileWorkRecoveryVersion ?? 2,
15715
+ includeMemberLastActiveAt: input.includeMemberLastActiveAt
15716
+ }),
15596
15717
  operation: "organization.directory.read",
15597
15718
  method: "GET",
15598
15719
  requestContext: input.requestContext,
@@ -17084,6 +17205,12 @@ function toRequestBody$1(bytes) {
17084
17205
  function readRequestBodySize(body) {
17085
17206
  return body instanceof Blob ? body.size : body.byteLength;
17086
17207
  }
17208
+ function currentSpaceAddressingHeaders(contentType) {
17209
+ return {
17210
+ ...contentType ? { "content-type": contentType } : {},
17211
+ [OPENMELD_HEADER_SPACE_ADDRESSING_VERSION]: "1"
17212
+ };
17213
+ }
17087
17214
  const SPACE_HISTORY_SIGNAL_KIND_TO_TYPE = {
17088
17215
  text: "signal.text",
17089
17216
  status: "signal.status",
@@ -17093,6 +17220,7 @@ async function listSpaceSignals(client, input) {
17093
17220
  return await client.requestJson({
17094
17221
  url: buildSpaceSignalsReadPath(input.spaceId, input.query),
17095
17222
  operation: "space.signals.read",
17223
+ headers: currentSpaceAddressingHeaders(),
17096
17224
  requestContext: input.requestContext,
17097
17225
  signal: input.signal,
17098
17226
  timeoutMs: input.timeoutMs,
@@ -17193,6 +17321,7 @@ async function getSpaceBootstrap(client, input) {
17193
17321
  return await client.requestJson({
17194
17322
  url: buildSpaceBootstrapReadPath(input.spaceId, input.historyQuery, input.includeAgentStreamPresence),
17195
17323
  operation: "space.bootstrap.read",
17324
+ headers: currentSpaceAddressingHeaders(),
17196
17325
  requestContext: input.requestContext,
17197
17326
  signal: input.signal,
17198
17327
  timeoutMs: input.timeoutMs,
@@ -17537,6 +17666,7 @@ async function getSpaceMemberDirectory(client, input) {
17537
17666
  return await client.requestJson({
17538
17667
  url: buildSpaceMemberDirectoryPath(input.spaceId),
17539
17668
  operation: "space.member_directory.read",
17669
+ headers: currentSpaceAddressingHeaders(),
17540
17670
  requestContext: input.requestContext,
17541
17671
  signal: input.signal,
17542
17672
  timeoutMs: input.timeoutMs,
@@ -17667,8 +17797,8 @@ async function postSpaceNormalMessage(client, input) {
17667
17797
  url: buildSpaceSignalsPath(input.spaceId),
17668
17798
  operation: "space.send",
17669
17799
  method: "POST",
17670
- headers: { "content-type": "application/json" },
17671
- body: JSON.stringify(toLegacySpaceAddressingWireValue(parsedBody.data)),
17800
+ headers: currentSpaceAddressingHeaders("application/json"),
17801
+ body: JSON.stringify(toCompatibleSpaceAddressingRequestWireValue(parsedBody.data)),
17672
17802
  requestContext: input.requestContext,
17673
17803
  signal: input.signal,
17674
17804
  timeoutMs: input.timeoutMs,
@@ -17727,7 +17857,7 @@ async function createSpaceThread(client, input) {
17727
17857
  url: buildSpaceThreadsPath(input.spaceId),
17728
17858
  operation: "space.thread.create",
17729
17859
  method: "POST",
17730
- headers: { "content-type": "application/json" },
17860
+ headers: currentSpaceAddressingHeaders("application/json"),
17731
17861
  body: JSON.stringify(parsedBody.data),
17732
17862
  requestContext: input.requestContext,
17733
17863
  signal: input.signal,
@@ -17742,6 +17872,7 @@ async function listSpaceThreads(client, input) {
17742
17872
  url: buildSpaceThreadsPath(input.spaceId),
17743
17873
  operation: "space.thread.list",
17744
17874
  method: "GET",
17875
+ headers: currentSpaceAddressingHeaders(),
17745
17876
  requestContext: input.requestContext,
17746
17877
  signal: input.signal,
17747
17878
  timeoutMs: input.timeoutMs,
@@ -17755,6 +17886,7 @@ async function getSpaceThread(client, input) {
17755
17886
  url: buildSpaceThreadPath(input.spaceId, input.threadId),
17756
17887
  operation: "space.thread.get",
17757
17888
  method: "GET",
17889
+ headers: currentSpaceAddressingHeaders(),
17758
17890
  requestContext: input.requestContext,
17759
17891
  signal: input.signal,
17760
17892
  timeoutMs: input.timeoutMs,
@@ -17768,6 +17900,7 @@ async function listSpaceThreadEvents(client, input) {
17768
17900
  url: buildSpaceThreadEventsPath(input.spaceId, input.threadId),
17769
17901
  operation: "space.thread.events",
17770
17902
  method: "GET",
17903
+ headers: currentSpaceAddressingHeaders(),
17771
17904
  requestContext: input.requestContext,
17772
17905
  signal: input.signal,
17773
17906
  timeoutMs: input.timeoutMs,
@@ -17790,6 +17923,7 @@ async function listSpaceThreadSignals(client, input) {
17790
17923
  } : void 0),
17791
17924
  operation: "space.thread.signals",
17792
17925
  method: "GET",
17926
+ headers: currentSpaceAddressingHeaders(),
17793
17927
  requestContext: input.requestContext,
17794
17928
  signal: input.signal,
17795
17929
  timeoutMs: input.timeoutMs,
@@ -17805,8 +17939,8 @@ async function postSpaceThreadSignal(client, input) {
17805
17939
  url: buildSpaceThreadSignalsPath(input.spaceId, input.threadId),
17806
17940
  operation: "space.thread.send",
17807
17941
  method: "POST",
17808
- headers: { "content-type": "application/json" },
17809
- body: JSON.stringify(toLegacySpaceAddressingWireValue(parsedBody.data)),
17942
+ headers: currentSpaceAddressingHeaders("application/json"),
17943
+ body: JSON.stringify(toCompatibleSpaceAddressingRequestWireValue(parsedBody.data)),
17810
17944
  requestContext: input.requestContext,
17811
17945
  signal: input.signal,
17812
17946
  timeoutMs: input.timeoutMs,
@@ -17823,6 +17957,7 @@ async function getSpaceUpdates(client, input) {
17823
17957
  spaceId: input.spaceId
17824
17958
  }),
17825
17959
  operation: "space.updates.read",
17960
+ headers: currentSpaceAddressingHeaders(),
17826
17961
  requestContext: input.requestContext,
17827
17962
  signal: input.signal,
17828
17963
  timeoutMs: input.timeoutMs,
@@ -18068,6 +18203,6 @@ function composeAbortSignals(parent, timeout) {
18068
18203
  };
18069
18204
  }
18070
18205
  //#endregion
18071
- 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 };
18206
+ export { submitAgentControllerTaskLifecycleEventItemSchema as $, spaceMemberDirectorySchema as $t, MAX_TEXT_LENGTH as A, submitFeedbackIssueRequestSchema as At, toErrorMessage$2 as B, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Bt, createSpaceApi as C, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as Ct, toStructuredApiClientFailure as D, profileCapabilitiesResponseSchema as Dt, resolveProfileSpaceHistoryGatewayHost as E, authProfileManagedRoleSchema as Et, OPENMELD_HEADER_PROFILE_ID as F, listCenterAgentRoutinesResponseSchema as Ft, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as G, agentActivitySnapshotResponseSchema as Gt, toErrorMessage$3 as H, agentActivityProviderSchema as Ht, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as I, pauseCenterAgentRoutineResponseSchema as It, spaceDispatchTraceAttemptStatusSchema as J, localProjectControlDiscoverProjectsResponseSchema as Jt, projectSpaceDispatchTraceFinalVisibleOutcome as K, localProjectControlConnectionSchema as Kt, OPENMELD_HEADER_REQUEST_ID as L, resumeCenterAgentRoutineResponseSchema as Lt, parseIncoming as M, createCenterAgentRoutineResponseSchema as Mt, parseServerErrorFrame as N, deleteCenterAgentRoutineResponseSchema as Nt, DAEMON_STREAM_KEEPALIVE_PING as O, profileErrorResponseSchema as Ot, resolveCustomMentionAliasOverride as P, listCenterAgentRoutineRunsResponseSchema as Pt, projectObservabilityWakeCorrelation as Q, spaceMemberDirectoryEntrySchema as Qt, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as R, updateCenterAgentRoutineResponseSchema as Rt, createRuntimeReportingApi as S, organizationDirectoryResponseSchema as St, resolveAccountSpaceIndexGatewayHost as T, authProfileKindSchema as Tt, getSpaceUpdatesResponseSchema as U, agentActivitySessionStatusSchema as Ut, sleep as V, agentActivityEventSchema as Vt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as W, agentActivitySnapshotQuerySchema as Wt, spaceDispatchTraceResponseSchema as X, postSpaceMembersResponseSchema as Xt, spaceDispatchTraceDispatchStatusSchema as Y, leaveSpaceResponseSchema as Yt, observabilityWakeTraceSelectorSchema as Z, removeSpaceMembersResponseSchema as Zt, createOrganizationSkillsApi as _, startReplyReadinessSummarySchema as _n, listOrganizationSkillsResponseSchema as _t, buildSpaceAttachmentDownloadPath as a, observedLocalAgentSessionSchema as an, gatewayErrorEnvelopeSchema as at, createProjectsApi as b, agentControllerCollaborationModeSchema as bn, organizationSkillSummarySchema as bt, createAgentProfileBindingApi as c, listProjectsResponseSchema as cn, computerFileAccessDaemonFrameSchema as ct, createCurrentDeviceApi as d, centerAgentToolSpeakerSchema as dn, modelCatalogSchema as dt, agentActivityInventorySessionOriginSchema as en, ownerComputerDiagnosticsSchema as et, createFeedbackApi as f, openCodePermissionConfigSchema as fn, organizationSpaceDirectoryWithMemberCountsResponseSchema as ft, createOrganizationApi as g, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as gn, getOrganizationSkillResponseSchema as gt, createOpenMeldApiClient as h, START_ISO_DATE_TIME_SCHEMA as hn, spaceMetaSchema as ht, buildProfileSpaceHistoryUpsertPath as i, localAgentSessionProviderSchema as in, agentProfileCreationConfigurationSchema as it, parseEnvelope as j, submitFeedbackIssueResponseSchema as jt, DAEMON_STREAM_KEEPALIVE_PONG as k, organizationComputersResponseSchema as kt, createCenterAgentApi as l, projectSchema as ln, computerFileAccessPolicyInputSchema as lt, createLocalRuntimeExpectedRoutesApi as m, START_BOUNDED_VERSION_SCHEMA as mn, spaceCreatorSchema as mt, OpenMeldApiClientInvalidResponseError as n, agentActivitySessionInventoryQuerySchema as nn, summarizeComputerFileAccessPolicy as nt, createAccountSpaceIndexApi as o, archiveProjectResponseSchema as on, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as ot, createFetchTransport as p, START_BOUNDED_ID_SCHEMA as pn, resolveInitialSpaceAccessMode as pt, resolveSpaceDispatchTraceRootCause as q, localProjectControlDaemonFrameSchema as qt, buildProfileSpaceHistoryStatusPath as r, agentActivitySessionInventoryResponseSchema as rn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as rt, createAgentActivityApi as s, createProjectResponseSchema as sn, OPENMELD_RUNTIME_CAPABILITIES_HEADER as st, OpenMeldApiClientHttpError as t, agentActivityInventorySessionStatusSchema as tn, projectOwnerComputerLocalRuntimes as tt, createComputerFileAccessApi as u, updateProjectResponseSchema as un, computerFileAccessPolicySchema as ut, createPrepareReadinessApi as v, localAgentCatalogSchema as vn, organizationSkillBundleSchema as vt, dist_exports as w, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as wt, createRoutinesApi as x, toCompatibleSpaceAddressingRequestWireValue as xn, stringifyOrganizationSkillBundleCanonicalJson as xt, createProfileSpaceHistoryApi as y, agentControllerPermissionModeSchema as yn, organizationSkillReleaseSummarySchema as yt, buildOpenMeldRequestContextHeaders as z, AGENT_ACTIVITY_EVENT_MAX_BYTES as zt };
18072
18207
 
18073
- //# sourceMappingURL=dist-DoFr77hZ.js.map
18208
+ //# sourceMappingURL=dist-NJH-sDDB.js.map