openmeld 0.3.136 → 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-BNNtDZYW.js → add-me-membership-CZUHkjnP.js} +2 -2
  2. package/dist/{add-me-membership-BNNtDZYW.js.map → add-me-membership-CZUHkjnP.js.map} +1 -1
  3. package/dist/{api-client-foundation-CabWpjFe.js → api-client-foundation-BPmXnsr9.js} +4 -7
  4. package/dist/api-client-foundation-BPmXnsr9.js.map +1 -0
  5. package/dist/{auth-session-Bj8n8YwV.js → auth-session-B06nfwnD.js} +3 -6
  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-BGqFPMwd.js → command-CU_3raCS.js} +309 -157
  10. package/dist/{command-BGqFPMwd.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-0qM_CVk2.js → dist-NJH-sDDB.js} +150 -35
  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-BiQfJGnw.js → runtime-transport-DYzU1lHC.js} +30 -11
  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-CabWpjFe.js.map +0 -1
  28. package/dist/auth-session-Bj8n8YwV.js.map +0 -1
  29. package/dist/base-url-BtqW4aLS.js.map +0 -1
  30. package/dist/dist-0qM_CVk2.js.map +0 -1
  31. package/dist/runtime-transport-BiQfJGnw.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { an as runtimeTransportModeSchema, fn as agentControllerRefSchema, in as runtimeStreamingModeSchema, on as agentControllerConversationRefSchema, rn as runtimeDispatchPolicySchema, tn as runtimeAgentControllerConversationIdMappingSpecSchema } from "./base-url-BtqW4aLS.js";
3
+ import { an as runtimeStreamingModeSchema, in as runtimeDispatchPolicySchema, nn as runtimeAgentControllerConversationIdMappingSpecSchema, on as runtimeTransportModeSchema, pn as agentControllerRefSchema, sn as agentControllerConversationRefSchema } from "./base-url-CY_j4bLH.js";
4
4
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
5
5
  import * as z$1 from "zod/v4";
6
6
  //#region ../../packages/schemas/dist/agent-recovery-action.js
@@ -3572,12 +3572,20 @@ const spaceAgentStreamTerminalFrameSchema = z$1.strictObject({
3572
3572
  //#endregion
3573
3573
  //#region ../../packages/schemas/dist/schemas/protocol/message-envelope.js
3574
3574
  const MULTI_SPACE_PATTERN$1 = /\s+/g;
3575
- const CANONICAL_MENTION_LITERAL_PATTERN = /^@(?<name>.+)\((?<type>wake|reference)\)$/u;
3576
- const RELATION_TEXT_PATTERN = /\((wake|reference|cc)\)/gu;
3575
+ const CANONICAL_MENTION_LITERAL_PATTERN = /^@(?<name>.+)\((?<type>wake|reference|mention)\)$/u;
3576
+ const RELATION_TEXT_PATTERN = /\((wake|reference|mention|cc)\)/gu;
3577
3577
  const WORD_CHARACTER_PATTERN = /\w/u;
3578
- const SPACE_MESSAGE_ADDRESSING_RELATION_VALUES = ["wake", "reference"];
3578
+ const SPACE_MESSAGE_ADDRESSING_RELATION_VALUES = [
3579
+ "wake",
3580
+ "reference",
3581
+ "mention"
3582
+ ];
3579
3583
  const MESSAGE_MENTION_TYPE_VALUES = SPACE_MESSAGE_ADDRESSING_RELATION_VALUES;
3580
- const MESSAGE_ENVELOPE_TARGET_FIELD_VALUES = ["activationTargets", "referenceTargets"];
3584
+ const MESSAGE_ENVELOPE_TARGET_FIELD_VALUES = [
3585
+ "activationTargets",
3586
+ "referenceTargets",
3587
+ "mentionTargets"
3588
+ ];
3581
3589
  const SPACE_MESSAGE_ADDRESSING_TARGET_KIND_VALUES = ["human_profile", "agent_profile"];
3582
3590
  const spaceMessageAddressingRelationSchema = z$1.enum(SPACE_MESSAGE_ADDRESSING_RELATION_VALUES);
3583
3591
  const messageMentionTypeSchema = spaceMessageAddressingRelationSchema;
@@ -3585,11 +3593,13 @@ z$1.enum(MESSAGE_ENVELOPE_TARGET_FIELD_VALUES);
3585
3593
  const spaceMessageAddressingTargetKindSchema = z$1.enum(SPACE_MESSAGE_ADDRESSING_TARGET_KIND_VALUES);
3586
3594
  const MESSAGE_ENVELOPE_TARGET_FIELD_BY_MENTION_TYPE = {
3587
3595
  wake: "activationTargets",
3588
- reference: "referenceTargets"
3596
+ reference: "referenceTargets",
3597
+ mention: "mentionTargets"
3589
3598
  };
3590
3599
  const SPACE_MESSAGE_ADDRESSING_TARGET_KIND_SUPPORT_BY_RELATION = {
3591
3600
  wake: ["agent_profile"],
3592
- reference: ["human_profile", "agent_profile"]
3601
+ reference: ["agent_profile"],
3602
+ mention: ["human_profile"]
3593
3603
  };
3594
3604
  const normalizeCanonicalMentionName = (value) => {
3595
3605
  const normalized = trimmedStringFromUnknown(value).replace(MULTI_SPACE_PATTERN$1, " ").trim();
@@ -3623,10 +3633,11 @@ const buildTargetListSchema = (fieldName) => z$1.array(openMeldRuntimeProfileIdS
3623
3633
  });
3624
3634
  const activationTargetsSchema = buildTargetListSchema("activationTargets");
3625
3635
  const referenceTargetsSchema = buildTargetListSchema("referenceTargets");
3636
+ const mentionTargetsSchema = buildTargetListSchema("mentionTargets");
3626
3637
  const replyToSignalIdSchema = z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1));
3627
3638
  const validateDistinctTargetLists = (input, context) => {
3628
3639
  const seenByTarget = /* @__PURE__ */ new Map();
3629
- for (const fieldName of MESSAGE_ENVELOPE_TARGET_FIELD_VALUES) for (const targetProfileId of input[fieldName]) {
3640
+ for (const fieldName of MESSAGE_ENVELOPE_TARGET_FIELD_VALUES) for (const targetProfileId of input[fieldName] ?? []) {
3630
3641
  const existingField = seenByTarget.get(targetProfileId);
3631
3642
  if (!existingField) {
3632
3643
  seenByTarget.set(targetProfileId, fieldName);
@@ -3642,6 +3653,7 @@ const validateDistinctTargetLists = (input, context) => {
3642
3653
  const currentMessageEnvelopeSchema = z$1.strictObject({
3643
3654
  activationTargets: activationTargetsSchema,
3644
3655
  referenceTargets: referenceTargetsSchema,
3656
+ mentionTargets: mentionTargetsSchema.optional(),
3645
3657
  navigationAction: navigationActionSchema.optional(),
3646
3658
  replyToSignalId: replyToSignalIdSchema.optional(),
3647
3659
  text: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(MAX_TEXT_LENGTH))
@@ -3649,12 +3661,14 @@ const currentMessageEnvelopeSchema = z$1.strictObject({
3649
3661
  const currentMessageEnvelopeInputSchema = z$1.strictObject({
3650
3662
  activationTargets: activationTargetsSchema.optional(),
3651
3663
  referenceTargets: referenceTargetsSchema.optional(),
3664
+ mentionTargets: mentionTargetsSchema.optional(),
3652
3665
  navigationAction: navigationActionSchema.optional(),
3653
3666
  replyToSignalId: replyToSignalIdSchema.optional(),
3654
3667
  text: z$1.preprocess(trimmedStringFromUnknown, z$1.string().min(1).max(MAX_TEXT_LENGTH))
3655
3668
  }).superRefine((value, context) => validateDistinctTargetLists({
3656
3669
  activationTargets: value.activationTargets ?? [],
3657
- referenceTargets: value.referenceTargets ?? []
3670
+ referenceTargets: value.referenceTargets ?? [],
3671
+ mentionTargets: value.mentionTargets ?? []
3658
3672
  }, context));
3659
3673
  /**
3660
3674
  * Time-bounded compatibility boundary for deployed clients and persisted
@@ -3662,7 +3676,7 @@ const currentMessageEnvelopeInputSchema = z$1.strictObject({
3662
3676
  * folded into Reference before the value enters the current domain model.
3663
3677
  *
3664
3678
  * Removal condition: the minimum supported Web, CLI, Local Service, Gateway,
3665
- * Core, and Remote Agent versions all author and consume the two-relation
3679
+ * Core, and Remote Agent versions all author and consume the current
3666
3680
  * envelope, and production history has been durably migrated or retained
3667
3681
  * behind a dedicated historical decoder.
3668
3682
  */
@@ -3687,6 +3701,7 @@ const normalizeMessageEnvelope = (value) => {
3687
3701
  const normalized = {
3688
3702
  activationTargets: parsed.data.activationTargets ?? [],
3689
3703
  referenceTargets: parsed.data.referenceTargets ?? [],
3704
+ mentionTargets: parsed.data.mentionTargets ?? [],
3690
3705
  ...parsed.data.navigationAction ? { navigationAction: parsed.data.navigationAction } : {},
3691
3706
  text: parsed.data.text,
3692
3707
  ...parsed.data.replyToSignalId ? { replyToSignalId: parsed.data.replyToSignalId } : {}
@@ -3791,6 +3806,10 @@ const getSpaceMessageAddressingRelationSupportForTargetKind = (value) => {
3791
3806
  reference: isSpaceMessageAddressingRelationSupportedForTargetKind({
3792
3807
  relation: "reference",
3793
3808
  targetKind: targetKind.data
3809
+ }),
3810
+ mention: isSpaceMessageAddressingRelationSupportedForTargetKind({
3811
+ relation: "mention",
3812
+ targetKind: targetKind.data
3794
3813
  })
3795
3814
  };
3796
3815
  };
@@ -7422,4 +7441,4 @@ strictObject({
7422
7441
  //#endregion
7423
7442
  export { localFolderPickerResultSchema as $, openMeldToolsMaintenanceProjectionSchema as $n, MAX_PROFILE_WORKING_DIRECTORY_LENGTH as $r, trashSpaceFileEntryResponseSchema as $t, runtimeTransportRegisterSessionResponseSchema as A, AGENT_STREAM_SNAPSHOT_MAX_CHARS as An, clientMessageIdSchema as Ar, spaceAttachmentMimeTypeSchema as At, openMeldDaemonProviderAccessEvidenceProviderSchema as B, agentInteractionResolutionSchema as Bn, spacePasswordSchema as Br, discardSpaceComposerUploadResponseSchema as Bt, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as C, MESSAGE_MENTION_TYPE_VALUES as Cn, tuple as Cr, signalStatusDataSchema as Ct, runtimeTransportOpenMeldToolsControlFramePayloadSchema as D, messageEnvelopeSchema as Dn, url as Dr, spaceAttachmentDescriptorSchema as Dt, runtimeTransportLookupRouteOwnerServiceEvidenceSchema as E, getSpaceMessageAddressingRelationSupportForTargetKind as En, unknown as Er, signalTextSchema as Et, runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema as F, spaceAgentStreamSnapshotSchema as Fn, runtimeCoordinatorExecutionTokenEnvelopeSchema as Fr, spaceStatusSchema as Ft, openMeldDaemonTaskResultProjectFailureContextSchema as G, formatLocalSetupActionLabel as Gn, organizationInformationProtectionPolicyResponseSchema as Gr, publishSpaceComposerUploadResponseSchema as Gt, openMeldDaemonTaskResultEnvelopeWriteSchema as H, formatLocalComponentsSummaryDescription as Hn, resolveSpaceMentionLabels as Hr, isSpaceFileTextEditable as Ht, runtimeTransportSubmitTaskResultRequestSchema as I, spaceAgentStreamTerminalFrameSchema as In, runtimeTransportDeliveryExecutionIdentitySchema as Ir, centerAgentInteractionSourceSchema as It, OPENMELD_LOCAL_FOLDER_PICKER_CAPABILITY_HEADER as J, localComponentUpdatePolicySchema as Jn, executeExecutionRecoveryBodySchema as Jr, restoreSpaceFileRevisionResponseSchema as Jt, openMeldSpaceEgressActionSchema as K, installedLocalComponentsSnapshotSchema as Kn, organizationProtectedInformationSchema as Kr, resolveSpaceFileMimeType as Kt, OPENMELD_ORIGINAL_ERROR_MAX_LENGTH as L, AGENT_INTERACTION_DEFAULT_TIMEOUT_MS as Ln, spaceTraceExecutionIdentityProjectionSchema as Lr, SPACE_FILE_ERROR_CODES as Lt, runtimeTransportResumeControllerConversationFramePayloadSchema as M, spaceAgentStreamDeltaFrameSchema as Mn, runtimeCoordinatorExecutionCreationDiagnosticSchema as Mr, spaceMessageAttachmentSchema as Mt, runtimeTransportResumeControllerConversationResultFramePayloadSchema as N, spaceAgentStreamPartFrameSchema as Nn, runtimeCoordinatorExecutionEventSchema as Nr, spaceMessageAttachmentsSchema as Nt, runtimeTransportOpenMeldToolsControlResultFramePayloadSchema as O, normalizeMessageEnvelope as On, postSpaceWakeStopBodySchema as Or, spaceAttachmentDimensionSchema as Ot, runtimeTransportRouteCatalogChangedFramePayloadSchema as P, spaceAgentStreamPresenceSchema as Pn, runtimeCoordinatorExecutionRecordSchema as Pr, conversationCompactionMarkerSchema as Pt, localFolderPickerRequestSchema as Q, openMeldToolsMaintenanceMutationResultSchema as Qn, openMeldRequestContextSchema as Qr, stageSpaceComposerUploadResponseSchema as Qt, isOriginalErrorSafeForMessageDetails as R, agentInteractionPendingSummarySchema as Rn, SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE as Rr, SPACE_FILE_MAX_SIZE_BYTES as Rt, runtimeTransportLocalAgentControlManageInstallationFramePayloadSchema as S, resolveCommandAgentWorkActivity as Si, targetWakeLifecycleIdentitySchema as Sn, string as Sr, sanitizeSignalTextPreview as St, runtimeTransportLocalAgentControlSetProfileWorkspaceFramePayloadSchema as T, formatCanonicalMentionLiteral as Tn, union as Tr, signalTextDataSchema as Tt, openMeldDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as U, formatLocalComponentsSummaryLabel as Un, spaceMentionLabelSchema as Ur, listSpaceFileRevisionsResponseSchema as Ut, openMeldDaemonProviderAccessEvidenceSchema as V, agentInteractionResponseSchema as Vn, resolveSingleSpaceMentionLabels as Vr, getSpaceFileResponseSchema as Vt, openMeldDaemonTaskResultPayloadSchema as W, formatLocalSetupActionDescription as Wn, spaceMentionLabelSourceSchema as Wr, listSpaceFilesResponseSchema as Wt, localFolderPickerHelperProtocolResultSchema as X, localComponentUpdateStatusSchema as Xn, inspectExecutionRecoveryResponseSchema as Xr, spaceFileNameSchema as Xt, localFolderPickerDaemonFrameSchema as Y, localComponentUpdateProjectionSchema as Yn, executeExecutionRecoveryResponseSchema as Yr, spaceFileMimeTypeSchema as Yt, localFolderPickerHelperResultSchema as Z, localServiceComponentUpdateProjectionSchema as Zn, openMeldProfileIdSchema as Zr, spaceMessageFileReferencesSchema as Zt, runtimeTransportHeartbeatRequestSchema as _, sanitizeDispatchErrorSummary as _i, spaceAllowedActionsSchema as _n, number as _r, DISPATCH_ACTIVITY_RETRYING_PURPOSE as _t, runtimeTransportCapabilitiesSchema as a, profileWorkingDirectorySchema as ai, openMeldDaemonSyncRouteCatalogPayloadSchema as an, NEVER as ar, agentTaskTerminalOutcomeSchema as at, runtimeTransportLocalAgentControlForkSessionFramePayloadSchema as b, openMeldNavigationTargetSchema as bi, workingLanguageGuidanceSchema as bn, record as br, SPACE_MENTION_REJECT_NOTICE_PURPOSE as bt, runtimeTransportDispatchInteractionRequestSchema as c, finiteIntegerNumber as ci, conversationExecutionStateSchema as cn, coerce as cr, controllerAgentTaskHandleSchema as ct, runtimeTransportDispatchPreviewEndRequestSchema as d, trimmedStringFromUnknown as di, spaceThreadEventSchema as dn, enumFactory as dr, AGENT_REPLYING_PURPOSE as dt, agentProfileIdSchema as ei, updateSpaceFileEntryResponseSchema as en, openMeldToolsUpdateAttemptSchema as er, localFolderPathSchema as et, runtimeTransportDispatchPreviewRequestSchema as f, MAX_TEXT_LENGTH as fi, spaceThreadSchema as fn, int as fr, AGENT_REPLY_PREVIEW_END_PURPOSE as ft, runtimeTransportForkAgentSessionResultSchema as g, resolvePublicAgentFailureRecovery as gi, resultArchivePolicySchema as gn, nullFactory as gr, DISPATCH_ACTIVITY_FAILED_PURPOSE as gt, runtimeTransportErrorCodeSchema as h, resolvePublicAgentAvailabilityCopy as hi, spaceContractSchema as hn, neverFactory as hr, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as ht, localWakeRouteReportSchema as i, profileSchema as ii, openMeldDaemonControlPlaneResponseSchema as in, openMeldToolsUpdateRequestSourceSchema as ir, agentTaskHandleSchema as it, runtimeTransportRejectedProfileRegistrationSchema as j, agentStreamToolPartSchema as jn, parseOptionalClientMessageId as jr, spaceAttachmentSizeBytesSchema as jt, runtimeTransportRegisterSessionRequestSchema as k, resolveMessageEnvelopeTargetField as kn, postSpaceWakeStopResponseSchema as kr, spaceAttachmentFileNameSchema as kt, runtimeTransportDispatchInteractionResponseFramePayloadSchema as l, nonEmptyTrimmedStringFromUnknown as li, dispatchExecutionSchema as ln, discriminatedUnion as lr, spaceWakeAgentTaskHandleSchema as lt, runtimeTransportDispatchToolActivityRequestSchema as m, resolveMappedPublicAgentFailureReason as mi, spaceContractFieldsSchema as mn, literal as mr, CONVERSATION_CONTINUITY_WARNING_PURPOSE as mt, daemonExecutionCompatibilitySchema as n, openMeldRuntimeProfileIdSchema as ni, localAgentInstallationOptionSchema as nn, openMeldToolsUpdateOperationSchema as nr, agentTaskCompletionConditionSchema as nt, runtimeTransportDeliverDispatchRequestSchema as o, profileWorkspaceModeSchema as oi, skippedDaemonProfileSchema as on, array as or, areAgentTaskTerminalOutcomesEqual as ot, runtimeTransportDispatchRuntimeEvidenceRequestSchema as p, agentProfileWorkRecoveryActionKindSchema as pi, spaceThreadSignalPlacementSchema as pn, iso as pr, AGENT_REPLY_PREVIEW_PURPOSE as pt, LOCAL_FOLDER_PICKER_RUNTIME_CAPABILITY as q, localCliComponentUpdateProjectionSchema as qn, updateOrganizationInformationProtectionPolicyBodySchema as qr, restoreSpaceFileEntryResponseSchema as qt, daemonStreamFrameSchema as r, profileKindSchema as ri, openMeldDaemonControlPlaneRequestSchema as rn, openMeldToolsUpdateRequestResultSchema as rr, agentTaskCompletionObservationSchema as rt, runtimeTransportDispatchInteractionDeliveredRequestSchema as s, uuidProfileIdSchema as si, providerDispatchRuntimeContextSchema as sn, boolean as sr, buildAgentTaskKey as st, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as t, normalizeOptionalWorkingDirectory as ti, uploadSpaceFileResponseSchema as tn, openMeldToolsUpdateOperationPhaseSchema as tr, agentDelegationSnapshotSchema as tt, runtimeTransportDispatchLifecycleRequestSchema as u, optionalBooleanQuerySchema as ui, spaceThreadContextSchema as un, email as ur, AGENT_REPLYING_END_PURPOSE as ut, runtimeTransportHeartbeatResponseSchema as v, shouldPreferMappedPublicAgentFailureReason as vi, spacePublicationModeSchema as vn, object as vr, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as vt, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as w, collectCanonicalMentionTextFragments as wn, undefinedFactory as wr, signalSystemNoticeDataSchema as wt, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as x, openMeldWebUrlSchema as xi, workingLanguageTagSchema as xn, strictObject as xr, centerAgentTaskReferenceSchema as xt, runtimeTransportLocalAgentControlCancelFramePayloadSchema as y, computerSetupModeSchema as yi, spaceDispatchPolicySchema as yn, preprocess as yr, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as yt, openMeldDaemonOriginalErrorSchema as z, agentInteractionRequestSchema as zn, normalizeSpacePasswordText as zr, createSpaceFolderResponseSchema as zt };
7424
7443
 
7425
- //# sourceMappingURL=runtime-transport-BiQfJGnw.js.map
7444
+ //# sourceMappingURL=runtime-transport-DYzU1lHC.js.map