openmeld 0.3.207 → 0.3.209

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 (56) hide show
  1. package/dist/{add-me-membership-1JHMjZoR.js → add-me-membership-Ck31xM9l.js} +2 -2
  2. package/dist/{add-me-membership-1JHMjZoR.js.map → add-me-membership-Ck31xM9l.js.map} +1 -1
  3. package/dist/{agents-CIDsThyG.js → agents-Caxxitma.js} +1190 -188
  4. package/dist/agents-Caxxitma.js.map +1 -0
  5. package/dist/{api-client-foundation-DSurenul.js → api-client-foundation-BGGVYxgq.js} +3 -3
  6. package/dist/{api-client-foundation-DSurenul.js.map → api-client-foundation-BGGVYxgq.js.map} +1 -1
  7. package/dist/{api-client-foundation-D6_NXHPV.js → api-client-foundation-LfQQZwak.js} +1 -1
  8. package/dist/{auth-session-CO5XtFaq.js → auth-session-CVxflepT.js} +2 -2
  9. package/dist/{auth-session-CO5XtFaq.js.map → auth-session-CVxflepT.js.map} +1 -1
  10. package/dist/auth-session-LTSqq_Tb.js +4 -0
  11. package/dist/{command-Bzt9zgnI.js → command-DqXu9TET.js} +48 -9
  12. package/dist/command-DqXu9TET.js.map +1 -0
  13. package/dist/{computer-connection-BOl79Ftf.js → computer-connection-TgsnU0K9.js} +2 -2
  14. package/dist/{computer-connection-BOl79Ftf.js.map → computer-connection-TgsnU0K9.js.map} +1 -1
  15. package/dist/{computer-connection-review-BTOvbJYL.js → computer-connection-review-Dg4TZc8O.js} +6 -6
  16. package/dist/{computer-connection-review-BTOvbJYL.js.map → computer-connection-review-Dg4TZc8O.js.map} +1 -1
  17. package/dist/{computer-setup-continuation-DmKdhR5u.js → computer-setup-continuation-Imn8Ykr-.js} +4 -4
  18. package/dist/{computer-setup-continuation-DmKdhR5u.js.map → computer-setup-continuation-Imn8Ykr-.js.map} +1 -1
  19. package/dist/{daemon-service-runtime-DQW9gSLT.js → daemon-service-runtime-CRHAVnEX.js} +3 -3
  20. package/dist/{daemon-service-runtime-DQW9gSLT.js.map → daemon-service-runtime-CRHAVnEX.js.map} +1 -1
  21. package/dist/{dist-D-kJdWZE.js → dist-CtoP6msP.js} +252 -188
  22. package/dist/dist-CtoP6msP.js.map +1 -0
  23. package/dist/dist-DVciurWV.js +4 -0
  24. package/dist/{elapsed-time-CcoM2R3N.js → elapsed-time-D6DCEnz7.js} +4 -4
  25. package/dist/{elapsed-time-CcoM2R3N.js.map → elapsed-time-D6DCEnz7.js.map} +1 -1
  26. package/dist/{installation-inventory-DJlwXa1q.js → installation-inventory-uRDaBzO_.js} +3 -3
  27. package/dist/{installation-inventory-DJlwXa1q.js.map → installation-inventory-uRDaBzO_.js.map} +1 -1
  28. package/dist/{openmeld-CiL4AiB0.js → openmeld-DYSsGBFL.js} +260 -38
  29. package/dist/openmeld-DYSsGBFL.js.map +1 -0
  30. package/dist/{openmeld-maintenance-worker-DjdmRASI.js → openmeld-maintenance-worker-sNN5314u.js} +5 -5
  31. package/dist/{openmeld-maintenance-worker-DjdmRASI.js.map → openmeld-maintenance-worker-sNN5314u.js.map} +1 -1
  32. package/dist/{openmeld-tools-update-coordinator-D9Skj8IE.js → openmeld-tools-update-coordinator-jJrVAHgC.js} +516 -104
  33. package/dist/openmeld-tools-update-coordinator-jJrVAHgC.js.map +1 -0
  34. package/dist/openmeld.js +3 -3
  35. package/dist/{prepare-session-executor-B0NtjHEL.js → prepare-session-executor-DtWDB9RM.js} +9 -9
  36. package/dist/{prepare-session-executor-B0NtjHEL.js.map → prepare-session-executor-DtWDB9RM.js.map} +1 -1
  37. package/dist/{runtime-transport-QIZmAo4-.js → runtime-transport-BrzIQru0.js} +3657 -3521
  38. package/dist/runtime-transport-BrzIQru0.js.map +1 -0
  39. package/dist/{service-account-authorization-Dt8kGvq8.js → service-account-authorization-Aft4cBFn.js} +3 -3
  40. package/dist/{service-account-authorization-Dt8kGvq8.js.map → service-account-authorization-Aft4cBFn.js.map} +1 -1
  41. package/dist/{service-control-capabilities-CzUB1ovW.js → service-control-capabilities-12ePIPVW.js} +1 -1
  42. package/dist/{service-control-capabilities-BU5F75zi.js → service-control-capabilities-B8pv0P4V.js} +2 -2
  43. package/dist/{service-control-capabilities-BU5F75zi.js.map → service-control-capabilities-B8pv0P4V.js.map} +1 -1
  44. package/dist/upgrade-Cie6yXZc.js +4 -0
  45. package/dist/{upgrade-NxpTydHp.js → upgrade-DrUXCeru.js} +4 -4
  46. package/dist/{upgrade-NxpTydHp.js.map → upgrade-DrUXCeru.js.map} +1 -1
  47. package/package.json +2 -2
  48. package/dist/agents-CIDsThyG.js.map +0 -1
  49. package/dist/auth-session-B7QMhHwh.js +0 -4
  50. package/dist/command-Bzt9zgnI.js.map +0 -1
  51. package/dist/dist-D-kJdWZE.js.map +0 -1
  52. package/dist/dist-DTG_Vqc7.js +0 -4
  53. package/dist/openmeld-CiL4AiB0.js.map +0 -1
  54. package/dist/openmeld-tools-update-coordinator-D9Skj8IE.js.map +0 -1
  55. package/dist/runtime-transport-QIZmAo4-.js.map +0 -1
  56. package/dist/upgrade-DLECkjMt.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 agentTaskHandleSchema, $n as stageSpaceComposerUploadResponseSchema, An as SPACE_FILE_MAX_SIZE_BYTES, At as organizationInformationProtectionPolicyResponseSchema, Cn as centerAgentInteractionSourceSchema, Ct as runtimeCoordinatorExecutionRecordSchema, Dn as spaceMentionLabelSchema, Dr as START_BOUNDED_ID_SCHEMA, Dt as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Er as openMeldWebUrlSchema, Et as spaceTraceExecutionIdentityProjectionSchema, Ft as inspectExecutionRecoveryResponseSchema, Gn as spaceFileActorSchema, H as openMeldDaemonProviderAccessEvidenceProviderSchema, Hn as restoreSpaceFileRevisionResponseSchema, Hr as updateAgentProfileDefaultProjectBodySchema, Ht as localFolderPickerRequestSchema, In as listSpaceFileRevisionsResponseSchema, It as agentProfileWorkRecoveryActionKindSchema, Jn as spaceFileEntryIdSchema, Kn as spaceFileClientMutationIdSchema, Kr as openMeldRequestContextSchema, L as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Ln as listSpaceFilesResponseSchema, Mn as createSpaceFolderResponseSchema, Mr as localAgentCatalogLaunchStatusSchema, Mt as updateOrganizationInformationProtectionPolicyBodySchema, Nn as discardSpaceComposerUploadResponseSchema, Nt as executeExecutionRecoveryBodySchema, On as spaceMentionLabelSourceSchema, Ot as normalizeSpacePasswordText, Pn as getSpaceFileResponseSchema, Pr as localAgentCatalogWithLifecycleSchema, Pt as executeExecutionRecoveryResponseSchema, Q as agentTaskCompletionObservationSchema, Qn as spaceMessageFileReferencesSchema, Rn as publishSpaceComposerUploadResponseSchema, Rr as authProfileManagedRoleSchema, Sn as conversationCompactionMarkerSchema, St as runtimeCoordinatorExecutionEventSchema, Tr as openMeldNavigationTargetSchema, Un as spaceComposerUploadDescriptorSchema, Ur as updateAgentProfileDefaultProjectResponseSchema, Ut as localFolderPickerResultSchema, V as openMeldDaemonOriginalErrorSchema, Vn as restoreSpaceFileEntryResponseSchema, Wn as spaceComposerUploadIdSchema, Wr as updateProfileResponseSchema, Wt as localFolderPathSchema, X as agentDelegationSnapshotSchema, Xn as spaceFileNameSchema, Y as spaceCallerContextSchema, Yn as spaceFileMimeTypeSchema, Z as agentTaskCompletionConditionSchema, _r as spaceThreadSchema, an as signalTextDataSchema, ar as AGENT_STREAM_SNAPSHOT_MAX_CHARS, bt as postSpaceWakeStopResponseSchema, cn as spaceAttachmentDescriptorSchema, cr as spaceAgentStreamPartFrameSchema, ct as spaceAllowedActionsSchema, dn as spaceAttachmentMimeTypeSchema, dr as spaceAgentStreamTerminalFrameSchema, dt as workingLanguageGuidanceSchema, er as trashSpaceFileEntryResponseSchema, et as agentTaskTerminalOutcomeSchema, fn as spaceAttachmentSizeBytesSchema, ft as workingLanguageTagSchema, gr as spaceThreadEventSchema, hr as spaceThreadContextSchema, ht as agentInteractionPendingSummarySchema, in as signalSystemNoticeDataSchema, it as spaceWakeAgentTaskHandleSchema, jt as organizationProtectedInformationSchema, kn as SPACE_FILE_ERROR_CODES, kt as spacePasswordSchema, ln as spaceAttachmentDimensionSchema, lr as spaceAgentStreamPresenceSchema, lt as spacePublicationModeSchema, mn as spaceMessageAttachmentsSchema, mr as localAgentReasoningPreferencesSchema, n as daemonExecutionCompatibilitySchema, nr as uploadSpaceFileResponseSchema, nt as buildAgentTaskKey, on as signalTextSchema, or as agentStreamToolPartSchema, pn as spaceMessageAttachmentSchema, pt as targetWakeLifecycleIdentitySchema, q as openMeldDaemonTaskResultProjectFailureContextSchema, qn as spaceFileDescriptorSchema, qr as MAX_TEXT_LENGTH$1, rn as signalStatusDataSchema, rr as clientMessageIdSchema$1, rt as controllerAgentTaskHandleSchema, sn as wakeDeviceWaitTargetSchema, sr as spaceAgentStreamDeltaFrameSchema, st as resultArchivePolicySchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tr as updateSpaceFileEntryResponseSchema, tt as areAgentTaskTerminalOutcomesEqual, un as spaceAttachmentFileNameSchema, ur as spaceAgentStreamSnapshotSchema, ut as spaceDispatchPolicySchema, vr as spaceThreadSignalPlacementSchema, vt as agentInteractionResponseSchema, wr as computerSetupModeSchema, xt as runtimeCoordinatorExecutionCreationDiagnosticSchema, yn as messageEnvelopeSchema, yt as postSpaceWakeStopBodySchema, zr as authProfileViewSchema } from "./runtime-transport-QIZmAo4-.js";
4
+ import { $t as spaceFileActorSchema, Ar as localFolderPathSchema, At as spaceAttachmentMimeTypeSchema, Bn as spaceAgentStreamDeltaFrameSchema, Bt as createSpaceFolderResponseSchema, Ct as signalSystemNoticeDataSchema, Dt as spaceAttachmentDescriptorSchema, Et as wakeDeviceWaitTargetSchema, Gt as listSpaceFilesResponseSchema, H as openMeldDaemonProviderAccessEvidenceProviderSchema, Hn as spaceAgentStreamPresenceSchema, Hr as authProfileManagedRoleSchema, Ht as getSpaceFileResponseSchema, Ir as localAgentCatalogLaunchStatusSchema, It as centerAgentInteractionSourceSchema, Jr as updateProfileResponseSchema, Kn as agentInteractionPendingSummarySchema, Kr as updateAgentProfileDefaultProjectBodySchema, Kt as publishSpaceComposerUploadResponseSchema, L as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Lt as SPACE_FILE_ERROR_CODES, Mn as computerSetupModeSchema, Mt as spaceMessageAttachmentSchema, Nn as openMeldNavigationTargetSchema, Nt as spaceMessageAttachmentsSchema, Or as localFolderPickerRequestSchema, Ot as spaceAttachmentDimensionSchema, Pn as openMeldWebUrlSchema, Pt as conversationCompactionMarkerSchema, Qn as clientMessageIdSchema$1, Qt as spaceComposerUploadIdSchema, Rn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Rr as localAgentCatalogWithLifecycleSchema, Rt as SPACE_FILE_MAX_SIZE_BYTES, Sn as workingLanguageTagSchema, Sr as agentProfileWorkRecoveryActionKindSchema, St as signalStatusDataSchema, Tt as signalTextSchema, Un as spaceAgentStreamSnapshotSchema, Ur as authProfileViewSchema, V as openMeldDaemonOriginalErrorSchema, Vn as spaceAgentStreamPartFrameSchema, Vt as discardSpaceComposerUploadResponseSchema, Wn as spaceAgentStreamTerminalFrameSchema, Wt as listSpaceFileRevisionsResponseSchema, Xn as postSpaceWakeStopBodySchema, Xr as openMeldRequestContextSchema, Xt as restoreSpaceFileRevisionResponseSchema, Yn as agentInteractionResponseSchema, Yt as restoreSpaceFileEntryResponseSchema, Zn as postSpaceWakeStopResponseSchema, Zr as MAX_TEXT_LENGTH$1, Zt as spaceComposerUploadDescriptorSchema, _n as resultArchivePolicySchema, ar as spaceTraceExecutionIdentityProjectionSchema, at as agentTaskTerminalOutcomeSchema, bn as spaceDispatchPolicySchema, br as executeExecutionRecoveryResponseSchema, cn as trashSpaceFileEntryResponseSchema, cr as spacePasswordSchema, ct as controllerAgentTaskHandleSchema, dn as spaceThreadContextSchema, dr as spaceMentionLabelSchema, en as spaceFileClientMutationIdSchema, er as runtimeCoordinatorExecutionCreationDiagnosticSchema, et as spaceCallerContextSchema, fn as spaceThreadEventSchema, fr as spaceMentionLabelSourceSchema, hr as updateOrganizationInformationProtectionPolicyBodySchema, in as spaceFileNameSchema, it as agentTaskHandleSchema, jr as START_BOUNDED_ID_SCHEMA, jt as spaceAttachmentSizeBytesSchema, kn as messageEnvelopeSchema, kr as localFolderPickerResultSchema, kt as spaceAttachmentFileNameSchema, ln as updateSpaceFileEntryResponseSchema, lt as spaceWakeAgentTaskHandleSchema, mn as spaceThreadSignalPlacementSchema, mr as organizationProtectedInformationSchema, n as daemonExecutionCompatibilitySchema, nn as spaceFileEntryIdSchema, nr as runtimeCoordinatorExecutionRecordSchema, nt as agentTaskCompletionConditionSchema, on as spaceMessageFileReferencesSchema, or as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, ot as areAgentTaskTerminalOutcomesEqual, pn as spaceThreadSchema, pr as organizationInformationProtectionPolicyResponseSchema, q as openMeldDaemonTaskResultProjectFailureContextSchema, qr as updateAgentProfileDefaultProjectResponseSchema, rn as spaceFileMimeTypeSchema, rt as agentTaskCompletionObservationSchema, sn as stageSpaceComposerUploadResponseSchema, sr as normalizeSpacePasswordText, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceFileDescriptorSchema, tr as runtimeCoordinatorExecutionEventSchema, tt as agentDelegationSnapshotSchema, un as uploadSpaceFileResponseSchema, vn as spaceAllowedActionsSchema, vr as localAgentReasoningPreferencesSchema, wn as targetWakeLifecycleIdentitySchema, wt as signalTextDataSchema, xn as workingLanguageGuidanceSchema, xr as inspectExecutionRecoveryResponseSchema, yn as spacePublicationModeSchema, yr as executeExecutionRecoveryBodySchema, zn as agentStreamToolPartSchema } from "./runtime-transport-BrzIQru0.js";
5
5
  import { n as cliBinaryManifestSchema } from "./cli-binary-manifest-DiUulkp0.js";
6
6
  import { $ as literal, B as openMeldToolsUpdateRequestResultSchema, Ct as uuidProfileIdSchema, D as localComponentUpdatePolicySchema, Dt as trimmedStringFromUnknown, Et as optionalBooleanQuerySchema, F as openMeldToolsMaintenanceMutationResultSchema, G as boolean, H as NEVER, I as openMeldToolsMaintenanceProjectionSchema, J as email, K as coerce, O as localComponentUpdateProjectionSchema, Q as lazySchema, St as profileWorkspaceModeSchema, Tt as nonEmptyTrimmedStringFromUnknown, W as array, X as int, Y as enumFactory, Z as iso, at as record, b as dispatchExecutionSchema, bt as profileSchema, ct as tuple, dt as unknown, et as neverFactory, ft as url, gt as openMeldRuntimeProfileIdSchema, it as preprocess, k as localComponentUpdateStatusSchema, lt as undefinedFactory, m as openMeldDaemonSyncRouteCatalogPayloadSchema, mt as agentProfileIdSchema, nt as number, ot as strictObject, q as discriminatedUnion, rt as object, st as string, t as localAgentInstallationOptionSchema, tt as nullFactory, ut as union, vt as profileKindSchema, wt as finiteIntegerNumber, xt as profileWorkingDirectorySchema, z as openMeldToolsUpdateOperationSchema } from "./control-plane-D9jDcbMZ.js";
7
7
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
@@ -271,186 +271,6 @@ function omitJsonField(value, fieldName) {
271
271
  return Object.fromEntries(Object.entries(value).filter(([key]) => key !== fieldName));
272
272
  }
273
273
  //#endregion
274
- //#region ../../packages/schemas/dist/schemas/http/space-link-previews.js
275
- const previewUrlSchema = z$1.url().max(4096).refine((value) => {
276
- const url = new URL(value);
277
- return ["https:", "http:"].includes(url.protocol) && !url.username && !url.password;
278
- });
279
- const previewImageSchema = z$1.string().max(35e4).regex(/^data:image\/(?:png|jpeg|webp|gif|x-icon|vnd\.microsoft\.icon);base64,[A-Za-z0-9+/=]+$/).nullable();
280
- z$1.object({
281
- spaceId: z$1.string().regex(/^[0-9a-f]{64}$/),
282
- signalId: z$1.string().min(1).max(256)
283
- }).strict();
284
- z$1.object({
285
- signalId: z$1.string(),
286
- revision: z$1.number().int().nonnegative(),
287
- urls: z$1.array(previewUrlSchema).max(12)
288
- }).strict();
289
- const linkPreviewSchema = z$1.object({
290
- url: previewUrlSchema,
291
- title: z$1.string().max(300).nullable(),
292
- description: z$1.string().max(500).nullable(),
293
- siteName: z$1.string().max(100).nullable(),
294
- image: previewImageSchema,
295
- icon: previewImageSchema,
296
- status: z$1.enum(["available", "unavailable"])
297
- }).strict();
298
- const getSpaceLinkPreviewsResponseSchema = z$1.object({
299
- signalId: z$1.string(),
300
- revision: z$1.number().int().nonnegative(),
301
- previews: z$1.array(linkPreviewSchema).max(12)
302
- }).strict();
303
- //#endregion
304
- //#region ../../packages/schemas/dist/schemas/space-mesh/message-reaction.js
305
- const spaceReactionActorSchema = z$1.object({
306
- profileId: z$1.string().min(1),
307
- displayName: z$1.string(),
308
- profileKind: z$1.enum(["human", "agent"])
309
- });
310
- const spaceReactionGroupSchema = z$1.object({
311
- emoji: z$1.string().min(1).max(64),
312
- label: z$1.string(),
313
- count: z$1.number().int().positive(),
314
- reactedByMe: z$1.boolean(),
315
- actors: z$1.array(spaceReactionActorSchema),
316
- actorsHasMore: z$1.boolean()
317
- });
318
- const spaceMessageReactionsSchema = z$1.object({
319
- version: z$1.number().int().nonnegative(),
320
- groups: z$1.array(spaceReactionGroupSchema)
321
- });
322
- z$1.object({
323
- spaceId: z$1.string().trim().min(1),
324
- signalId: z$1.string().trim().min(1),
325
- emoji: z$1.string().min(1).max(64).optional(),
326
- afterProfileId: z$1.string().min(1).max(256).optional()
327
- });
328
- z$1.object({
329
- spaceId: z$1.string().trim().min(1),
330
- signalId: z$1.string().trim().min(1),
331
- emoji: z$1.string().min(1).max(64),
332
- active: z$1.boolean()
333
- });
334
- const getSpaceMessageReactionsResponseSchema = z$1.object({
335
- signalId: z$1.string(),
336
- reactions: spaceMessageReactionsSchema,
337
- actors: z$1.array(spaceReactionActorSchema).optional(),
338
- nextCursor: z$1.string().nullable().optional()
339
- });
340
- //#endregion
341
- //#region ../../packages/schemas/dist/schemas/protocol/hello.js
342
- const helloCapabilitiesSchema = z$1.object({
343
- agentReplyPlacement: z$1.boolean().optional(),
344
- liveSignalHistory: z$1.boolean().optional(),
345
- spaceMessageAddressing: z$1.boolean().optional()
346
- });
347
- z$1.object({
348
- type: z$1.literal("hello"),
349
- profile: profileSchema,
350
- capabilities: helloCapabilitiesSchema.optional()
351
- });
352
- const helloAckSchema = z$1.object({
353
- type: z$1.literal("system.hello.ack"),
354
- profile: profileSchema
355
- });
356
- //#endregion
357
- //#region ../../packages/schemas/dist/schemas/protocol/server-error.js
358
- const serverErrorFrameSchema = z$1.object({
359
- error: nonEmptyTrimmedStringFromUnknown,
360
- requestId: nonEmptyTrimmedStringFromUnknown.optional(),
361
- clientMessageId: clientMessageIdSchema$1.optional()
362
- });
363
- //#endregion
364
- //#region ../../packages/schemas/dist/schemas/protocol/envelope.js
365
- const baseEnvelopeShape = {
366
- v: z$1.literal(1),
367
- id: nonEmptyTrimmedStringFromUnknown,
368
- spaceId: nonEmptyTrimmedStringFromUnknown,
369
- ts: finiteIntegerNumber,
370
- profile: profileSchema
371
- };
372
- const presenceDataSchema = z$1.record(z$1.string(), z$1.unknown());
373
- const presenceEnvelopeSchema = z$1.object({
374
- ...baseEnvelopeShape,
375
- type: z$1.enum(["presence.join", "presence.quit"]),
376
- data: presenceDataSchema
377
- });
378
- const signalTextEnvelopeSchema = z$1.object({
379
- ...baseEnvelopeShape,
380
- type: z$1.literal("signal.text"),
381
- data: signalTextDataSchema,
382
- reactions: spaceMessageReactionsSchema.optional()
383
- });
384
- const signalStatusEnvelopeSchema = z$1.object({
385
- ...baseEnvelopeShape,
386
- type: z$1.literal("signal.status"),
387
- data: signalStatusDataSchema
388
- });
389
- const signalSystemNoticeEnvelopeSchema = z$1.object({
390
- ...baseEnvelopeShape,
391
- type: z$1.literal("signal.system_notice"),
392
- data: signalSystemNoticeDataSchema
393
- });
394
- const signalEnvelopeSchema = z$1.union([
395
- presenceEnvelopeSchema,
396
- signalTextEnvelopeSchema,
397
- signalStatusEnvelopeSchema,
398
- signalSystemNoticeEnvelopeSchema
399
- ]);
400
- const spaceLiveSignalFrameSchema = z$1.strictObject({
401
- type: z$1.literal("space.signal"),
402
- signal: signalEnvelopeSchema,
403
- history: z$1.strictObject({ persisted: z$1.boolean() }).optional(),
404
- threadContext: spaceThreadContextSchema.optional(),
405
- threadPlacement: spaceThreadSignalPlacementSchema.optional()
406
- });
407
- const spaceLiveInvalidationFrameSchema = z$1.strictObject({
408
- type: z$1.enum([
409
- "space.members.changed",
410
- "space.meta.changed",
411
- "space.files.changed",
412
- "space.reactions.changed",
413
- "agent.readiness.invalidated",
414
- "wake.progress.changed"
415
- ]),
416
- spaceId: nonEmptyTrimmedStringFromUnknown,
417
- version: finiteIntegerNumber,
418
- signalIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
419
- profileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
420
- agentProfileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
421
- clientMessageIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
422
- reason: nonEmptyTrimmedStringFromUnknown.optional()
423
- });
424
- const incomingServerMessageSchema = z$1.union([
425
- signalEnvelopeSchema,
426
- spaceLiveSignalFrameSchema,
427
- spaceLiveInvalidationFrameSchema,
428
- spaceAgentStreamDeltaFrameSchema,
429
- spaceAgentStreamPartFrameSchema,
430
- spaceAgentStreamTerminalFrameSchema,
431
- helloAckSchema,
432
- serverErrorFrameSchema
433
- ]);
434
- //#endregion
435
- //#region ../../packages/schemas/dist/schemas/http/space-message-mutation.js
436
- const spaceMessageMutationBodySchema = z$1.discriminatedUnion("action", [
437
- z$1.strictObject({
438
- action: z$1.literal("edit"),
439
- expectedRevision: z$1.number().int().nonnegative(),
440
- text: z$1.string().max(MAX_TEXT_LENGTH$1),
441
- retainedFileIds: z$1.array(z$1.string().min(1)).optional(),
442
- retainedAttachmentIds: z$1.array(z$1.string().min(1)).optional(),
443
- messageEnvelope: messageEnvelopeSchema.optional(),
444
- addedFiles: spaceMessageFileReferencesSchema.optional()
445
- }),
446
- z$1.strictObject({
447
- action: z$1.literal("recall"),
448
- expectedRevision: z$1.number().int().nonnegative()
449
- }),
450
- z$1.strictObject({ action: z$1.literal("restore_draft") })
451
- ]);
452
- const spaceMessageMutationResponseSchema = z$1.strictObject({ message: signalTextEnvelopeSchema });
453
- //#endregion
454
274
  //#region ../../packages/schemas/dist/schemas/daemon/computer-file-access.js
455
275
  const boundedIdentifierSchema$12 = z$1.string().trim().min(1).max(512);
456
276
  const OPENMELD_RUNTIME_CAPABILITIES_HEADER = "x-openmeld-runtime-capabilities";
@@ -1498,6 +1318,186 @@ const peopleComputersResponseSchema = strictObject({
1498
1318
  });
1499
1319
  peopleComputersResponseSchema.extend({ computers: array(peopleComputerSchema.extend({ isThisComputer: boolean() })) });
1500
1320
  //#endregion
1321
+ //#region ../../packages/schemas/dist/schemas/http/space-link-previews.js
1322
+ const previewUrlSchema = z$1.url().max(4096).refine((value) => {
1323
+ const url = new URL(value);
1324
+ return ["https:", "http:"].includes(url.protocol) && !url.username && !url.password;
1325
+ });
1326
+ const previewImageSchema = z$1.string().max(35e4).regex(/^data:image\/(?:png|jpeg|webp|gif|x-icon|vnd\.microsoft\.icon);base64,[A-Za-z0-9+/=]+$/).nullable();
1327
+ z$1.object({
1328
+ spaceId: z$1.string().regex(/^[0-9a-f]{64}$/),
1329
+ signalId: z$1.string().min(1).max(256)
1330
+ }).strict();
1331
+ z$1.object({
1332
+ signalId: z$1.string(),
1333
+ revision: z$1.number().int().nonnegative(),
1334
+ urls: z$1.array(previewUrlSchema).max(12)
1335
+ }).strict();
1336
+ const linkPreviewSchema = z$1.object({
1337
+ url: previewUrlSchema,
1338
+ title: z$1.string().max(300).nullable(),
1339
+ description: z$1.string().max(500).nullable(),
1340
+ siteName: z$1.string().max(100).nullable(),
1341
+ image: previewImageSchema,
1342
+ icon: previewImageSchema,
1343
+ status: z$1.enum(["available", "unavailable"])
1344
+ }).strict();
1345
+ const getSpaceLinkPreviewsResponseSchema = z$1.object({
1346
+ signalId: z$1.string(),
1347
+ revision: z$1.number().int().nonnegative(),
1348
+ previews: z$1.array(linkPreviewSchema).max(12)
1349
+ }).strict();
1350
+ //#endregion
1351
+ //#region ../../packages/schemas/dist/schemas/space-mesh/message-reaction.js
1352
+ const spaceReactionActorSchema = z$1.object({
1353
+ profileId: z$1.string().min(1),
1354
+ displayName: z$1.string(),
1355
+ profileKind: z$1.enum(["human", "agent"])
1356
+ });
1357
+ const spaceReactionGroupSchema = z$1.object({
1358
+ emoji: z$1.string().min(1).max(64),
1359
+ label: z$1.string(),
1360
+ count: z$1.number().int().positive(),
1361
+ reactedByMe: z$1.boolean(),
1362
+ actors: z$1.array(spaceReactionActorSchema),
1363
+ actorsHasMore: z$1.boolean()
1364
+ });
1365
+ const spaceMessageReactionsSchema = z$1.object({
1366
+ version: z$1.number().int().nonnegative(),
1367
+ groups: z$1.array(spaceReactionGroupSchema)
1368
+ });
1369
+ z$1.object({
1370
+ spaceId: z$1.string().trim().min(1),
1371
+ signalId: z$1.string().trim().min(1),
1372
+ emoji: z$1.string().min(1).max(64).optional(),
1373
+ afterProfileId: z$1.string().min(1).max(256).optional()
1374
+ });
1375
+ z$1.object({
1376
+ spaceId: z$1.string().trim().min(1),
1377
+ signalId: z$1.string().trim().min(1),
1378
+ emoji: z$1.string().min(1).max(64),
1379
+ active: z$1.boolean()
1380
+ });
1381
+ const getSpaceMessageReactionsResponseSchema = z$1.object({
1382
+ signalId: z$1.string(),
1383
+ reactions: spaceMessageReactionsSchema,
1384
+ actors: z$1.array(spaceReactionActorSchema).optional(),
1385
+ nextCursor: z$1.string().nullable().optional()
1386
+ });
1387
+ //#endregion
1388
+ //#region ../../packages/schemas/dist/schemas/protocol/hello.js
1389
+ const helloCapabilitiesSchema = z$1.object({
1390
+ agentReplyPlacement: z$1.boolean().optional(),
1391
+ liveSignalHistory: z$1.boolean().optional(),
1392
+ spaceMessageAddressing: z$1.boolean().optional()
1393
+ });
1394
+ z$1.object({
1395
+ type: z$1.literal("hello"),
1396
+ profile: profileSchema,
1397
+ capabilities: helloCapabilitiesSchema.optional()
1398
+ });
1399
+ const helloAckSchema = z$1.object({
1400
+ type: z$1.literal("system.hello.ack"),
1401
+ profile: profileSchema
1402
+ });
1403
+ //#endregion
1404
+ //#region ../../packages/schemas/dist/schemas/protocol/server-error.js
1405
+ const serverErrorFrameSchema = z$1.object({
1406
+ error: nonEmptyTrimmedStringFromUnknown,
1407
+ requestId: nonEmptyTrimmedStringFromUnknown.optional(),
1408
+ clientMessageId: clientMessageIdSchema$1.optional()
1409
+ });
1410
+ //#endregion
1411
+ //#region ../../packages/schemas/dist/schemas/protocol/envelope.js
1412
+ const baseEnvelopeShape = {
1413
+ v: z$1.literal(1),
1414
+ id: nonEmptyTrimmedStringFromUnknown,
1415
+ spaceId: nonEmptyTrimmedStringFromUnknown,
1416
+ ts: finiteIntegerNumber,
1417
+ profile: profileSchema
1418
+ };
1419
+ const presenceDataSchema = z$1.record(z$1.string(), z$1.unknown());
1420
+ const presenceEnvelopeSchema = z$1.object({
1421
+ ...baseEnvelopeShape,
1422
+ type: z$1.enum(["presence.join", "presence.quit"]),
1423
+ data: presenceDataSchema
1424
+ });
1425
+ const signalTextEnvelopeSchema = z$1.object({
1426
+ ...baseEnvelopeShape,
1427
+ type: z$1.literal("signal.text"),
1428
+ data: signalTextDataSchema,
1429
+ reactions: spaceMessageReactionsSchema.optional()
1430
+ });
1431
+ const signalStatusEnvelopeSchema = z$1.object({
1432
+ ...baseEnvelopeShape,
1433
+ type: z$1.literal("signal.status"),
1434
+ data: signalStatusDataSchema
1435
+ });
1436
+ const signalSystemNoticeEnvelopeSchema = z$1.object({
1437
+ ...baseEnvelopeShape,
1438
+ type: z$1.literal("signal.system_notice"),
1439
+ data: signalSystemNoticeDataSchema
1440
+ });
1441
+ const signalEnvelopeSchema = z$1.union([
1442
+ presenceEnvelopeSchema,
1443
+ signalTextEnvelopeSchema,
1444
+ signalStatusEnvelopeSchema,
1445
+ signalSystemNoticeEnvelopeSchema
1446
+ ]);
1447
+ const spaceLiveSignalFrameSchema = z$1.strictObject({
1448
+ type: z$1.literal("space.signal"),
1449
+ signal: signalEnvelopeSchema,
1450
+ history: z$1.strictObject({ persisted: z$1.boolean() }).optional(),
1451
+ threadContext: spaceThreadContextSchema.optional(),
1452
+ threadPlacement: spaceThreadSignalPlacementSchema.optional()
1453
+ });
1454
+ const spaceLiveInvalidationFrameSchema = z$1.strictObject({
1455
+ type: z$1.enum([
1456
+ "space.members.changed",
1457
+ "space.meta.changed",
1458
+ "space.files.changed",
1459
+ "space.reactions.changed",
1460
+ "agent.readiness.invalidated",
1461
+ "wake.progress.changed"
1462
+ ]),
1463
+ spaceId: nonEmptyTrimmedStringFromUnknown,
1464
+ version: finiteIntegerNumber,
1465
+ signalIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
1466
+ profileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
1467
+ agentProfileIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
1468
+ clientMessageIds: z$1.array(nonEmptyTrimmedStringFromUnknown).optional(),
1469
+ reason: nonEmptyTrimmedStringFromUnknown.optional()
1470
+ });
1471
+ const incomingServerMessageSchema = z$1.union([
1472
+ signalEnvelopeSchema,
1473
+ spaceLiveSignalFrameSchema,
1474
+ spaceLiveInvalidationFrameSchema,
1475
+ spaceAgentStreamDeltaFrameSchema,
1476
+ spaceAgentStreamPartFrameSchema,
1477
+ spaceAgentStreamTerminalFrameSchema,
1478
+ helloAckSchema,
1479
+ serverErrorFrameSchema
1480
+ ]);
1481
+ //#endregion
1482
+ //#region ../../packages/schemas/dist/schemas/http/space-message-mutation.js
1483
+ const spaceMessageMutationBodySchema = z$1.discriminatedUnion("action", [
1484
+ z$1.strictObject({
1485
+ action: z$1.literal("edit"),
1486
+ expectedRevision: z$1.number().int().nonnegative(),
1487
+ text: z$1.string().max(MAX_TEXT_LENGTH$1),
1488
+ retainedFileIds: z$1.array(z$1.string().min(1)).optional(),
1489
+ retainedAttachmentIds: z$1.array(z$1.string().min(1)).optional(),
1490
+ messageEnvelope: messageEnvelopeSchema.optional(),
1491
+ addedFiles: spaceMessageFileReferencesSchema.optional()
1492
+ }),
1493
+ z$1.strictObject({
1494
+ action: z$1.literal("recall"),
1495
+ expectedRevision: z$1.number().int().nonnegative()
1496
+ }),
1497
+ z$1.strictObject({ action: z$1.literal("restore_draft") })
1498
+ ]);
1499
+ const spaceMessageMutationResponseSchema = z$1.strictObject({ message: signalTextEnvelopeSchema });
1500
+ //#endregion
1501
1501
  //#region ../../packages/schemas/dist/schemas/daemon/service-connection-evidence.js
1502
1502
  const timestamp = int().nonnegative();
1503
1503
  const identifier = string().regex(/^[A-Za-z0-9_-]{1,128}$/u);
@@ -3044,6 +3044,7 @@ const agentExecutionReadinessSchema = strictObject({
3044
3044
  reasonCodes: array(trimmedNonEmptyStringSchema$15)
3045
3045
  });
3046
3046
  const getAgentExecutionReadinessResponseSchema = strictObject({
3047
+ usageLimits: agentControllerUsageLimitsSchema.optional(),
3047
3048
  agentExecutionReadiness: agentExecutionReadinessSchema,
3048
3049
  agentWakeAvailability: agentWakeAvailabilitySchema,
3049
3050
  agentWakeRouteRegistration: agentWakeRouteRegistrationSchema,
@@ -5341,6 +5342,7 @@ z$1.enum([
5341
5342
  const postNormalMessageBodySchema = z$1.strictObject({
5342
5343
  text: signalTextRequestDataSchema.shape.text,
5343
5344
  deviceWait: signalTextRequestDataSchema.shape.deviceWait.optional(),
5345
+ contextSelection: signalTextRequestDataSchema.shape.contextSelection.optional(),
5344
5346
  attachments: signalTextRequestDataSchema.shape.attachments.optional(),
5345
5347
  files: signalTextRequestDataSchema.shape.files.optional(),
5346
5348
  messageEnvelope: signalTextRequestDataSchema.shape.messageEnvelope.optional(),
@@ -7107,6 +7109,25 @@ const setAgentProfileCreationApprovalPreferenceBodySchema = z$1.strictObject({
7107
7109
  const getAgentProfileCreationApprovalPreferenceResponseSchema = agentProfileCreationApprovalPreferenceSchema;
7108
7110
  const setAgentProfileCreationApprovalPreferenceResponseSchema = agentProfileCreationApprovalPreferenceSchema;
7109
7111
  //#endregion
7112
+ //#region ../../packages/schemas/dist/schemas/http/agent-profile-execution-mode.js
7113
+ const agentProfileExecutionModeSchema = z$1.enum(["parallel", "serial"]);
7114
+ const updateAgentProfileExecutionModeBodySchema = z$1.object({ mode: agentProfileExecutionModeSchema }).strict();
7115
+ const agentProfileExecutionModeResponseSchema = z$1.object({
7116
+ agentProfileId: z$1.string().min(1),
7117
+ mode: agentProfileExecutionModeSchema,
7118
+ migration: z$1.enum([
7119
+ "legacy",
7120
+ "draining",
7121
+ "contexts"
7122
+ ]),
7123
+ revision: z$1.number().int().nonnegative()
7124
+ }).strict();
7125
+ z$1.object({
7126
+ ownerUserId: z$1.string().min(1),
7127
+ targetProfileId: z$1.string().min(1),
7128
+ mode: agentProfileExecutionModeSchema.optional()
7129
+ }).strict();
7130
+ //#endregion
7110
7131
  //#region ../../packages/schemas/dist/schemas/http/agent-profile-work-recovery.js
7111
7132
  const agentProfileWorkRecoveryActionSchema = agentProfileWorkRecoveryActionKindSchema;
7112
7133
  const agentProfileWorkRecoveryRouteParamsSchema = z$1.strictObject({ agentProfileId: agentProfileIdSchema });
@@ -8321,6 +8342,7 @@ const postSpaceThreadSignalBodySchema = z$1.strictObject({
8321
8342
  threadWakeContinuation: z$1.literal(true).optional(),
8322
8343
  text: signalTextSchema.shape.data.shape.text,
8323
8344
  deviceWait: signalTextSchema.shape.data.shape.deviceWait.optional(),
8345
+ contextSelection: signalTextSchema.shape.data.shape.contextSelection.optional(),
8324
8346
  files: signalTextSchema.shape.data.shape.files.optional(),
8325
8347
  messageEnvelope: messageEnvelopeSchema.optional(),
8326
8348
  clientMessageId: clientMessageIdSchema,
@@ -9081,6 +9103,7 @@ const remoteAgentCoreCallbackBodySchema = union([strictObject({
9081
9103
  conversationCompaction: conversationCompactionMarkerSchema.optional(),
9082
9104
  navigationTarget: openMeldNavigationTargetSchema.optional(),
9083
9105
  status: literal("completed").optional(),
9106
+ mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
9084
9107
  text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
9085
9108
  attachments: spaceMessageAttachmentsSchema.optional(),
9086
9109
  files: spaceMessageFileReferencesSchema.optional()
@@ -10594,6 +10617,7 @@ function resolveRuntimeCoordinatorHeadLifecycleRootCause(trace) {
10594
10617
  };
10595
10618
  }
10596
10619
  function resolveRuntimeCoordinatorHeadStatusRootCause(status) {
10620
+ if (status === "queued") return "runtime_coordinator.head_queued";
10597
10621
  if (status === "accepted") return "runtime_coordinator.head_accepted";
10598
10622
  if (status === "execution_linked") return "runtime_coordinator.head_execution_linked";
10599
10623
  if (status === "waiting") return "runtime_coordinator.head_waiting";
@@ -14520,6 +14544,23 @@ const createAgentProfileBindingApi = (client) => {
14520
14544
  }
14521
14545
  };
14522
14546
  };
14547
+ function createAgentProfileExecutionModeApi(client) {
14548
+ return { readOrUpdate(input) {
14549
+ const body = input.mode === void 0 ? void 0 : updateAgentProfileExecutionModeBodySchema.parse({ mode: input.mode });
14550
+ return client.requestJson({
14551
+ url: `/v1/agent-profiles/${encodeURIComponent(input.agentProfileId)}/execution-mode`,
14552
+ method: body ? "PATCH" : "GET",
14553
+ ...body ? {
14554
+ body: JSON.stringify(body),
14555
+ headers: { "content-type": "application/json" }
14556
+ } : {},
14557
+ schema: agentProfileExecutionModeResponseSchema,
14558
+ requestContext: input.requestContext,
14559
+ operation: "agent_profile.execution_mode",
14560
+ invalidMessage: "Invalid Agent Profile execution mode response."
14561
+ });
14562
+ } };
14563
+ }
14523
14564
  function buildAgentProfileWorkRecoveryRoute(agentProfileId) {
14524
14565
  return `/v1/agent-profiles/${encodeURIComponent(agentProfileId)}/work-recovery`;
14525
14566
  }
@@ -15495,8 +15536,9 @@ const createCurrentDeviceApi = (client) => {
15495
15536
  },
15496
15537
  setCurrentAgentProfileWorkspace: async (input) => {
15497
15538
  const body = requireValidCurrentAgentProfileWorkspaceBody(input);
15539
+ const target = input.target ? peopleComputerTargetSchema.parse(input.target) : null;
15498
15540
  return await client.requestJson({
15499
- url: buildCurrentAgentProfileWorkspaceRoute(input.agentProfileId),
15541
+ url: target ? `/v1/people-computers/${encodeURIComponent(target.deviceId)}/lanes/${encodeURIComponent(target.runtimeLane)}/agent-profiles/${encodeURIComponent(input.agentProfileId)}/workspace` : buildCurrentAgentProfileWorkspaceRoute(input.agentProfileId),
15500
15542
  operation: "local_runtime.current.agent_profile_workspace.write",
15501
15543
  method: "PUT",
15502
15544
  headers: { "content-type": "application/json" },
@@ -15851,6 +15893,22 @@ function requireValidInput$5(schema, value, message) {
15851
15893
  if (!parsed.success) throw new Error(`${message} ${parsed.error.issues[0]?.message ?? "Invalid input."}`);
15852
15894
  return parsed.data;
15853
15895
  }
15896
+ /** Same rendered conversation projection in Web and native delivery. */
15897
+ function isInboxItemVisibleConversation(item, conversation) {
15898
+ if (!conversation) return false;
15899
+ const target = item.sourceTarget;
15900
+ if (target.kind === "center_agent") return target.spaceId === conversation.spaceId && conversation.threadRootSignalId === null;
15901
+ if (target.kind === "space") return target.spaceId === conversation.spaceId && (target.threadRootSignalId ?? null) === conversation.threadRootSignalId;
15902
+ if (target.kind === "agent_interaction") return target.threadRootSignalId !== void 0 && target.spaceId === conversation.spaceId && target.threadRootSignalId === conversation.threadRootSignalId;
15903
+ return false;
15904
+ }
15905
+ /** Client delivery policy over Core facts; never an Inbox writer. */
15906
+ function isInboxNotificationEligible(item) {
15907
+ if (item.resolutionStatus === "resolved") return false;
15908
+ if (item.importance === "urgent") return true;
15909
+ if (item.attention === "action_required" && item.resolutionStatus === "open") return true;
15910
+ return item.kind === "space_mention" || item.kind === "agent_reply" || item.kind === "wake_outcome" || item.kind === "space_message" && item.sourceTarget.kind === "space" && item.sourceTarget.directMessage === true;
15911
+ }
15854
15912
  const CURRENT_LOCAL_FOLDER_PICKER_PATH = "/v1/local-runtimes/current/folder-picker";
15855
15913
  function buildLocalFolderPickerPath() {
15856
15914
  return CURRENT_LOCAL_FOLDER_PICKER_PATH;
@@ -15944,7 +16002,7 @@ const createLocalProjectControlApi = (client) => ({
15944
16002
  method: "POST",
15945
16003
  operation: "local-project-control.connect-candidate",
15946
16004
  schema: localProjectControlConnectOutcomeSchema,
15947
- url: buildLocalProjectControlPath("connect-candidate")
16005
+ url: projectControlPath(input, "connect-candidate")
15948
16006
  }),
15949
16007
  connectDeclaredPath: async (input) => await client.requestJson({
15950
16008
  ...requestOptions$5(input),
@@ -15954,7 +16012,7 @@ const createLocalProjectControlApi = (client) => ({
15954
16012
  method: "POST",
15955
16013
  operation: "local-project-control.connect-declared-path",
15956
16014
  schema: localProjectControlConnectOutcomeSchema,
15957
- url: buildLocalProjectControlPath("connect-declared-path")
16015
+ url: projectControlPath(input, "connect-declared-path")
15958
16016
  }),
15959
16017
  setDefaultConnection: async (input) => await client.requestJson({
15960
16018
  ...requestOptions$5(input),
@@ -15964,7 +16022,7 @@ const createLocalProjectControlApi = (client) => ({
15964
16022
  method: "POST",
15965
16023
  operation: "local-project-control.set-default",
15966
16024
  schema: localProjectControlSetDefaultConnectionResponseSchema,
15967
- url: buildLocalProjectControlPath("connections/set-default")
16025
+ url: projectControlPath(input, "connections/set-default")
15968
16026
  }),
15969
16027
  removeConnection: async (input) => await client.requestJson({
15970
16028
  ...requestOptions$5(input),
@@ -15995,9 +16053,14 @@ function requestOptions$5(input) {
15995
16053
  };
15996
16054
  }
15997
16055
  function requestBody(input) {
15998
- const { requestContext: _requestContext, signal: _signal, timeoutMs: _timeoutMs, ...body } = input;
16056
+ const { target: _target, requestContext: _requestContext, signal: _signal, timeoutMs: _timeoutMs, ...body } = input;
15999
16057
  return body;
16000
16058
  }
16059
+ function projectControlPath(input, action) {
16060
+ if (!input.target) return buildLocalProjectControlPath(action);
16061
+ const target = requireValidInput$4(peopleComputerTargetSchema, input.target);
16062
+ return `/v1/people-computers/${encodeURIComponent(target.deviceId)}/lanes/${encodeURIComponent(target.runtimeLane)}/projects/${action}`;
16063
+ }
16001
16064
  function requireValidInput$4(schema, value) {
16002
16065
  const parsed = schema.safeParse(value);
16003
16066
  if (!parsed.success) throw new Error(`Local Project control request is invalid. ${parsed.error.issues[0]?.message ?? "Invalid input."}`);
@@ -18647,6 +18710,7 @@ function buildPostNormalMessageBody(input) {
18647
18710
  return {
18648
18711
  text: input.text,
18649
18712
  ...input.deviceWait ? { deviceWait: input.deviceWait } : {},
18713
+ ...input.contextSelection ? { contextSelection: input.contextSelection } : {},
18650
18714
  ...input.attachments ? { attachments: input.attachments } : {},
18651
18715
  ...input.files ? { files: input.files } : {},
18652
18716
  ...input.messageEnvelope ? { messageEnvelope: input.messageEnvelope } : {},
@@ -19076,6 +19140,6 @@ function shouldWrapNetworkRequestError(error) {
19076
19140
  return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
19077
19141
  }
19078
19142
  //#endregion
19079
- export { buildLocalFolderPickerPath as $, observabilityWakeTraceSelectorSchema as $n, spaceMemberKindSchema as $r, createProfileSpaceHistoryApi as $t, buildCurrentOrganizationDirectoryPath as A, DAEMON_STREAM_KEEPALIVE_PING as An, submitFeedbackIssueResponseSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Bn, agentActivityEventSchema as Br, createFeedbackApi as Bt, buildCenterAgentSessionPath as C, computerFileAccessPolicyInputSchema as Ci, toStructuredApiClientFailure as Cn, organizationSkillBundleSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, updateSpaceMeta as Dn, organizationDirectoryResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, updateSpaceFileEntry as En, stringifyOrganizationSkillBundleCanonicalJson as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, parseServerErrorFrame as Fn, pauseCenterAgentRoutineResponseSchema as Fr, createComputerAuthorizationGrant as Ft, buildFeedbackIssueSubmissionPath as G, pluginActionRequestSchema as Gn, leaveSpaceResponseSchema as Gr, createLocalRuntimeExpectedRoutesApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, toErrorMessage$2 as Hn, agentActivitySessionStatusSchema as Hr, createInboxApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, resolveCustomMentionAliasOverride as In, resumeCenterAgentRoutineResponseSchema as Ir, createComputerFileAccessApi as It, buildInboxItemReadPath as J, projectSpaceDispatchTraceFinalVisibleOutcome as Jn, resolvedSpaceMemberProfileSchema as Jr, createOrganizationDocumentsApi as Jt, buildInboxItemDismissPath as K, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Kn, postSpaceMembersResponseSchema as Kr, createOpenMeldApiClient as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, OPENMELD_HEADER_PROFILE_ID as Ln, updateCenterAgentRoutineResponseSchema as Lr, createConfigApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, MAX_TEXT_LENGTH as Mn, deleteCenterAgentRoutineResponseSchema as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, parseEnvelope as Nn, listCenterAgentRoutineRunsResponseSchema as Nr, createAgentProfileWorkRecoveryApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, uploadSpaceAttachment as On, organizationComputersResponseSchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, parseIncoming as Pn, listCenterAgentRoutinesResponseSchema as Pr, createCenterAgentApi as Pt, buildInboxSummaryPath as Q, spaceDispatchTraceResponseSchema as Qn, spaceMemberDirectorySchema as Qr, createPrepareReadinessApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Rn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Rr, createCurrentDeviceApi as Rt, buildCenterAgentProfilePath as S, computerFileAccessDaemonFrameSchema as Si, setSpaceAccessMode as Sn, listOrganizationSkillsResponseSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, toCompatibleSpaceAddressingRequestWireValue as Ti, updateSpaceFileContent as Tn, organizationSkillSummarySchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, getSpaceUpdatesResponseSchema as Un, agentActivitySnapshotQuerySchema as Ur, createLocalFolderPickerApi as Ut, buildCurrentOrganizationSpacesPath as V, buildOpenMeldRequestContextHeaders as Vn, agentActivityProviderSchema as Vr, createFetchTransport as Vt, buildDirectMessageSpacePath as W, spaceEntryTargetSchema as Wn, agentActivitySnapshotResponseSchema as Wr, createLocalProjectControlApi as Wt, buildInboxPath as X, spaceDispatchTraceAttemptStatusSchema as Xn, spaceMemberDirectoryAllowedRelationsSchema as Xr, createOrganizationUsageApi as Xt, buildInboxMarkAllReadPath as Y, resolveSpaceDispatchTraceRootCause as Yn, spaceMemberAgentWakeAvailabilitySchema as Yr, createOrganizationSkillsApi as Yt, buildInboxPreferencesPath as Z, spaceDispatchTraceDispatchStatusSchema as Zn, spaceMemberDirectoryEntrySchema as Zr, createPluginsApi as Zt, buildCenterAgentDirectMessageSpacePath as _, listProjectsResponseSchema as _i, readCliRelease as _n, organizationSpaceDirectoryWithMemberCountsResponseSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, observedLocalAgentSessionSchema as ai, createServiceConnectionEvidenceApi as an, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as bi, resolveAccountSpaceIndexGatewayHost as bn, spaceMetaSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, agentControllerPermissionModeSchema as ci, downloadSpaceFileContent as cn, betterAuthDeviceAuthorizationErrorResponseSchema as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, serviceConnectionEvidenceJournalSchema as di, listSpaceFileRevisions as dn, betterAuthSessionSnapshotResponseSchema as dr, buildOrganizationSkillsPath as dt, agentActivityInventorySessionOriginSchema as ei, createProfilesApi as en, projectObservabilityWakeCorrelation as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, localProjectControlConnectionSchema as fi, listSpaceFiles as fn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, createProjectResponseSchema as gi, readAccountSession as gn, modelCatalogSchema as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, archiveProjectResponseSchema as hi, readAccountOrganizationContext as hn, gatewayErrorEnvelopeSchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, localAgentSessionProviderSchema as ii, createRuntimeReportingApi as in, summarizeComputerFileAccessPolicy as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, DAEMON_STREAM_KEEPALIVE_PONG as jn, createCenterAgentRoutineResponseSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, uploadSpaceFile as kn, submitFeedbackIssueRequestSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, agentControllerCollaborationModeSchema as li, getModelCatalog as ln, betterAuthDeviceAuthorizationTokenRequestSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, localProjectControlDiscoverProjectsResponseSchema as mi, publicSpaceUrls as mn, createAgentProfileCreationRequestBodySchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivitySessionInventoryQuerySchema as ni, createReasoningStreamApi as nn, ownerComputerDiagnosticsSchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, centerAgentToolSpeakerSchema as oi, createSpaceApi as on, betterAuthDeviceAuthorizationCodeRequestSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, localProjectControlDaemonFrameSchema as pi, normalizeApiBaseUrl as pn, agentProfileCreationConfigurationSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as qn, removeSpaceMembersResponseSchema as qr, createOrganizationApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, agentActivitySessionInventoryResponseSchema as ri, createRoutinesApi as rn, projectOwnerComputerLocalRuntimes as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, openCodePermissionConfigSchema as si, createSpaceFolder as sn, betterAuthDeviceAuthorizationCodeResponseSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, agentActivityInventorySessionStatusSchema as ti, createProjectsApi as tn, submitAgentControllerTaskLifecycleEventItemSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, serviceConnectionEvidenceEventSchema as ui, getSpaceFile as un, betterAuthDeviceAuthorizationTokenResponseSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, projectSchema as vi, readOrUpdateSpaceFilePins as vn, resolveInitialSpaceAccessMode as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, computerFileAccessPolicySchema as wi, trashSpaceFileEntry as wn, organizationSkillReleaseSummarySchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, OPENMELD_RUNTIME_CAPABILITIES_HEADER as xi, resolveProfileSpaceHistoryGatewayHost as xn, getOrganizationSkillResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, updateProjectResponseSchema as yi, readOrUpdateSpaceMessagePins as yn, spaceCreatorSchema as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, OPENMELD_HEADER_REQUEST_ID as zn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as zr, createDirectMessageApi as zt };
19143
+ export { buildLocalFolderPickerPath as $, resolveSpaceDispatchTraceRootCause as $n, spaceMemberAgentWakeAvailabilitySchema as $r, createPrepareReadinessApi as $t, buildCurrentOrganizationDirectoryPath as A, toCompatibleSpaceAddressingRequestWireValue as Ai, updateSpaceMeta as An, stringifyOrganizationSkillBundleCanonicalJson as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, OPENMELD_HEADER_PROFILE_ID as Bn, resumeCenterAgentRoutineResponseSchema as Br, createDirectMessageApi as Bt, buildCenterAgentSessionPath as C, projectSchema as Ci, resolveAccountSpaceIndexGatewayHost as Cn, spaceCreatorSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, computerFileAccessDaemonFrameSchema as Di, trashSpaceFileEntry as Dn, organizationSkillBundleSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ei, toStructuredApiClientFailure as En, listOrganizationSkillsResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, MAX_TEXT_LENGTH as Fn, createCenterAgentRoutineResponseSchema as Fr, createCenterAgentApi as Ft, buildFeedbackIssueSubmissionPath as G, toErrorMessage$2 as Gn, agentActivityProviderSchema as Gr, createLocalProjectControlApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, OPENMELD_HEADER_REQUEST_ID as Hn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Hr, createFetchTransport as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, parseEnvelope as In, deleteCenterAgentRoutineResponseSchema as Ir, createComputerAuthorizationGrant as It, buildInboxItemReadPath as J, pluginActionRequestSchema as Jn, agentActivitySnapshotResponseSchema as Jr, createOrganizationApi as Jt, buildInboxItemDismissPath as K, getSpaceUpdatesResponseSchema as Kn, agentActivitySessionStatusSchema as Kr, createLocalRuntimeExpectedRoutesApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, parseIncoming as Ln, listCenterAgentRoutineRunsResponseSchema as Lr, createComputerFileAccessApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, uploadSpaceFile as Mn, organizationComputersResponseSchema as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, DAEMON_STREAM_KEEPALIVE_PING as Nn, submitFeedbackIssueRequestSchema as Nr, createAgentProfileExecutionModeApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, computerFileAccessPolicyInputSchema as Oi, updateSpaceFileContent as On, organizationSkillReleaseSummarySchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, DAEMON_STREAM_KEEPALIVE_PONG as Pn, submitFeedbackIssueResponseSchema as Pr, createAgentProfileWorkRecoveryApi as Pt, buildInboxSummaryPath as Q, resolveRuntimeCoordinatorHeadStatusRootCause as Qn, resolvedSpaceMemberProfileSchema as Qr, createPluginsApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, parseServerErrorFrame as Rn, listCenterAgentRoutinesResponseSchema as Rr, createConfigApi as Rt, buildCenterAgentProfilePath as S, listProjectsResponseSchema as Si, readOrUpdateSpaceMessagePins as Sn, resolveInitialSpaceAccessMode as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Ti, setSpaceAccessMode as Tn, getOrganizationSkillResponseSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Un, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ur, createInboxApi as Ut, buildCurrentOrganizationSpacesPath as V, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Vn, updateCenterAgentRoutineResponseSchema as Vr, createFeedbackApi as Vt, buildDirectMessageSpacePath as W, buildOpenMeldRequestContextHeaders as Wn, agentActivityEventSchema as Wr, createLocalFolderPickerApi as Wt, buildInboxPath as X, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Xn, postSpaceMembersResponseSchema as Xr, createOrganizationSkillsApi as Xt, buildInboxMarkAllReadPath as Y, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Yn, leaveSpaceResponseSchema as Yr, createOrganizationDocumentsApi as Yt, buildInboxPreferencesPath as Z, projectSpaceDispatchTraceFinalVisibleOutcome as Zn, removeSpaceMembersResponseSchema as Zr, createOrganizationUsageApi as Zt, buildCenterAgentDirectMessageSpacePath as _, localProjectControlConnectionSchema as _i, publicSpaceUrls as _n, agentProfileCreationConfigurationSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, agentActivityInventorySessionStatusSchema as ai, createRuntimeReportingApi as an, submitAgentControllerTaskLifecycleEventItemSchema as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, archiveProjectResponseSchema as bi, readCliRelease as bn, modelCatalogSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, localAgentSessionProviderSchema as ci, createSpaceFolder as cn, summarizeComputerFileAccessPolicy as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, openCodePermissionConfigSchema as di, getSpaceFile as dn, betterAuthDeviceAuthorizationCodeResponseSchema as dr, buildOrganizationSkillsPath as dt, spaceMemberDirectoryAllowedRelationsSchema as ei, createProfileSpaceHistoryApi as en, spaceDispatchTraceAttemptStatusSchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, agentControllerPermissionModeSchema as fi, isInboxItemVisibleConversation as fn, betterAuthDeviceAuthorizationErrorResponseSchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, signalTextEnvelopeSchema as gi, normalizeApiBaseUrl as gn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, serviceConnectionEvidenceJournalSchema as hi, listSpaceFiles as hn, betterAuthSessionSnapshotResponseSchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, agentActivityInventorySessionOriginSchema as ii, createRoutinesApi as in, projectObservabilityWakeCorrelation as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, uploadSpaceAttachment as jn, organizationDirectoryResponseSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, computerFileAccessPolicySchema as ki, updateSpaceFileEntry as kn, organizationSkillSummarySchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, observedLocalAgentSessionSchema as li, downloadSpaceFileContent as ln, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, serviceConnectionEvidenceEventSchema as mi, listSpaceFileRevisions as mn, betterAuthDeviceAuthorizationTokenResponseSchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, spaceMemberDirectorySchema as ni, createProjectsApi as nn, spaceDispatchTraceResponseSchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, agentActivitySessionInventoryQuerySchema as oi, createServiceConnectionEvidenceApi as on, ownerComputerDiagnosticsSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, agentControllerCollaborationModeSchema as pi, isInboxNotificationEligible as pn, betterAuthDeviceAuthorizationTokenRequestSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, spaceEntryTargetSchema as qn, agentActivitySnapshotQuerySchema as qr, createOpenMeldApiClient as qt, buildAccountSpaceActiveWakeSummaryPath as r, spaceMemberKindSchema as ri, createReasoningStreamApi as rn, observabilityWakeTraceSelectorSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, agentActivitySessionInventoryResponseSchema as si, createSpaceApi as sn, projectOwnerComputerLocalRuntimes as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, spaceMemberDirectoryEntrySchema as ti, createProfilesApi as tn, spaceDispatchTraceDispatchStatusSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, centerAgentToolSpeakerSchema as ui, getModelCatalog as un, betterAuthDeviceAuthorizationCodeRequestSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, localProjectControlDaemonFrameSchema as vi, readAccountOrganizationContext as vn, createAgentProfileCreationRequestBodySchema as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, updateProjectResponseSchema as wi, resolveProfileSpaceHistoryGatewayHost as wn, spaceMetaSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, createProjectResponseSchema as xi, readOrUpdateSpaceFilePins as xn, organizationSpaceDirectoryWithMemberCountsResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, localProjectControlDiscoverProjectsResponseSchema as yi, readAccountSession as yn, gatewayErrorEnvelopeSchema as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, resolveCustomMentionAliasOverride as zn, pauseCenterAgentRoutineResponseSchema as zr, createCurrentDeviceApi as zt };
19080
19144
 
19081
- //# sourceMappingURL=dist-D-kJdWZE.js.map
19145
+ //# sourceMappingURL=dist-CtoP6msP.js.map