@agentvault/openai-bridge 0.1.23 → 0.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -36,7 +36,15 @@ AV_AGENT_NAME=aster agentvault-openai-bridge uninstall
36
36
 
37
37
  macOS uses a per-user launchd service; Linux uses user systemd. Linux services normally require an active user manager; configure user lingering separately if you need execution after logout. Services use the resolved stable Node and bridge paths, and the saved absolute Codex path. `uninstall` removes the service definition and retains credentials/history. `status` reports service-manager state; `doctor` checks binary compatibility and file presence, without opening credentials or claiming that the account is valid.
38
38
 
39
- **Upgrading the bridge can need a new Codex.** Each bridge release runs with one exact Codex version; this one needs 0.162.1 (the previous one needed 0.154.0). Install that Codex FIRST, check `codex --version`, and, if the saved `config.json` pins a `binary` path, point it at the new executable — then install the new bridge and restart. A host still on the old Codex refuses every turn, text included, with "Unsupported Codex CLI". Codex sessions made by 0.154.0 resume under 0.162.1. If Codex is upgraded on its own, install the supported version again before restarting. If authentication expires, run `uninstall`, run `login` again with the same name, then run `install` again. These commands retain the agent credentials and history. For replacement enrollment, stop the existing service with `uninstall`, obtain a fresh recovery invite from the app, then run:
39
+ **Upgrading the bridge can need a new Codex.** Each bridge release runs with one exact Codex version; this one (0.1.25) needs 0.162.1, as 0.1.23 and 0.1.24 did (0.1.22 and earlier needed 0.154.0). The bridge **always** records the Codex executable it uses as `binary` in `~/.agentvault/openai/<name>/config.json` (on every `run`, `replace` and `install`), so installing a new Codex on your PATH does not change an existing agent, and a running bridge refuses every turn if the executable at `binary` changes under it. Do it in this order:
40
+
41
+ 1. Stop the service: `AV_AGENT_NAME='<name>' agentvault-openai-bridge uninstall` (credentials and history are kept).
42
+ 2. Install Codex 0.162.1 as the **native** executable: `npm install @openai/codex@0.162.1` in a folder you keep, or the standalone install. npm's `codex` launcher is a Node script and will not run, because the bridge gives Codex only `/usr/bin:/bin` as its PATH.
43
+ 3. Set `binary` to the absolute path of the native executable, for example `<that folder>/node_modules/@openai/codex-darwin-arm64/vendor/aarch64-apple-darwin/bin/codex` on Apple silicon (other platforms have their own `@openai/codex-<platform>` folder). Or delete the `binary` key so the next `install` looks `codex` up again on your PATH; the first `codex` there must then be the native 0.162.1 executable.
44
+ 4. Update the bridge: `npm i -g @agentvault/openai-bridge`.
45
+ 5. Start the service: `AV_AGENT_NAME='<name>' agentvault-openai-bridge install`.
46
+
47
+ A host still on the old Codex refuses every turn, text included, with "Unsupported Codex CLI". Codex sessions made by 0.154.0 resume under 0.162.1. If Codex is upgraded on its own, install the supported version again before restarting. If authentication expires, run `uninstall`, run `login` again with the same name, then run `install` again. These commands retain the agent credentials and history. For replacement enrollment, stop the existing service with `uninstall`, obtain a fresh recovery invite from the app, then run:
40
48
 
41
49
  ```sh
42
50
  AV_AGENT_NAME=aster AV_INVITE_TOKEN='<fresh-invite>' agentvault-openai-bridge replace
package/dist/cli.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { type HistoryRecoveryCommandInput } from "@agentvault/agentvault";
2
2
  import { type Layout } from "./driver.js";
3
- export declare const VERSION = "0.1.23";
3
+ export declare const VERSION = "0.1.25";
4
4
  export interface RunConfig {
5
5
  name: string;
6
6
  apiUrl: string;
package/dist/index.js CHANGED
@@ -105,6 +105,7 @@ __export(dist_exports, {
105
105
  sendToRoom: () => sendToRoom,
106
106
  sendToTarget: () => sendToTarget,
107
107
  setOcRuntime: () => setOcRuntime,
108
+ shellWord: () => shellWord,
108
109
  stagingLineFor: () => stagingLineFor,
109
110
  stripCaptionMentions: () => stripCaptionMentions,
110
111
  stripMentions: () => stripMentions,
@@ -278,7 +279,8 @@ function resolveOwn(mention, names) {
278
279
  }
279
280
  return null;
280
281
  }
281
- function owesRoomReply(plaintext, agentName, accountId, senderIsAgent, roomDisplayName, ownDisplayName, selfResolved = true, roomAudience) {
282
+ function owesRoomReply(plaintext, agentName, accountId, senderIsAgent, roomDisplayName, ownDisplayName, selfResolved = true, roomAudience, senderBinding) {
283
+ if (senderBinding !== void 0 && senderBinding !== "bound") senderIsAgent = true;
282
284
  if (isPrivatePairHumanMessage(senderIsAgent, roomAudience)) return true;
283
285
  const mentions = parseMentions(plaintext);
284
286
  if (senderIsAgent === false && namesAgentPlainly(plaintext, agentName, roomDisplayName, ownDisplayName)) {
@@ -288,7 +290,7 @@ function owesRoomReply(plaintext, agentName, accountId, senderIsAgent, roomDispl
288
290
  const ownNames = ownRoomNames(agentName, accountId, roomDisplayName, ownDisplayName);
289
291
  if (mentions.some((m2) => resolveOwn(m2, ownNames) !== null)) return true;
290
292
  if (mentions.some((m2) => resolveOwn(m2, BROADCAST_NAMES) !== null)) {
291
- return senderIsAgent !== true;
293
+ return senderBinding === "bound" && senderIsAgent !== true;
292
294
  }
293
295
  if (!selfResolved) return true;
294
296
  return false;
@@ -13186,11 +13188,11 @@ async function joinWithFirstMatchingKp(welcomeBytes, candidates) {
13186
13188
  return null;
13187
13189
  }
13188
13190
  function ownIdentity() {
13189
- const v2 = true ? "0.23.72" : FALLBACK;
13191
+ const v2 = true ? "0.23.74" : FALLBACK;
13190
13192
  return `${PACKAGE}@${v2}`;
13191
13193
  }
13192
13194
  function buildSha() {
13193
- const raw = true ? "b70dedb" : "";
13195
+ const raw = true ? "91424d1" : "";
13194
13196
  const cleaned = (raw ?? "").trim();
13195
13197
  return !cleaned || cleaned === "unknown" ? null : cleaned;
13196
13198
  }
@@ -14138,6 +14140,12 @@ function decisionReplyFromEnvelope(parsed) {
14138
14140
  if (typeof d2.reason === "string") reply.reason = d2.reason;
14139
14141
  return reply;
14140
14142
  }
14143
+ function replaceInvisible(value, replacement) {
14144
+ return value.replace(DEFAULT_IGNORABLE, (ch) => KEPT_IGNORABLE.has(ch.codePointAt(0)) ? ch : replacement).replace(OBJECT_REPLACEMENT, replacement).replace(CONTROL, (ch) => KEPT_CONTROL.has(ch.codePointAt(0)) ? ch : replacement);
14145
+ }
14146
+ function drawsNothing(value) {
14147
+ return value.replace(INVISIBLE2, "").split(BRAILLE_BLANK).join("").length === 0;
14148
+ }
14141
14149
  function isUuid(v2) {
14142
14150
  return typeof v2 === "string" && UUID_RE3.test(v2);
14143
14151
  }
@@ -14276,8 +14284,8 @@ function drOwnerClaimNotice(label) {
14276
14284
  }
14277
14285
  function sanitizeDeviceLabel(name) {
14278
14286
  if (typeof name !== "string") return null;
14279
- const clean8 = name.replace(/[\u0000-\u001f\u007f-\u009f\u200b-\u200f\u202a-\u202e\u2066-\u2069\ufeff]/g, " ").replace(/\s+/g, " ").trim();
14280
- if (clean8 === "") return null;
14287
+ const clean8 = replaceInvisible(name, " ").replace(/\s+/g, " ").trim();
14288
+ if (clean8 === "" || drawsNothing(clean8)) return null;
14281
14289
  const points = Array.from(clean8);
14282
14290
  return points.length > 64 ? `${points.slice(0, 63).join("")}\u2026` : clean8;
14283
14291
  }
@@ -15684,6 +15692,60 @@ function anySignal(signals) {
15684
15692
  }
15685
15693
  return c2.signal;
15686
15694
  }
15695
+ function textCutEnd(value, budget) {
15696
+ const Segmenter = Intl.Segmenter;
15697
+ if (typeof Segmenter === "function") {
15698
+ const segmenter = new Segmenter(
15699
+ void 0,
15700
+ { granularity: "grapheme" }
15701
+ );
15702
+ let end2 = 0;
15703
+ for (const { segment, index } of segmenter.segment(value.slice(0, budget + 64))) {
15704
+ if (index + segment.length > budget) break;
15705
+ end2 = index + segment.length;
15706
+ }
15707
+ return end2;
15708
+ }
15709
+ let end = budget;
15710
+ const last = value.charCodeAt(end - 1);
15711
+ if (last >= 55296 && last <= 56319) end -= 1;
15712
+ for (; ; ) {
15713
+ const before = end;
15714
+ while (end > 0 && value.charCodeAt(end - 1) === 8205) end -= 1;
15715
+ let regional = 0;
15716
+ for (let i2 = end; i2 >= 2; i2 -= 2) {
15717
+ const c2 = value.codePointAt(i2 - 2);
15718
+ if (c2 < 127462 || c2 > 127487) break;
15719
+ regional++;
15720
+ }
15721
+ if (regional % 2 === 1) end -= 2;
15722
+ if (end === before) return end;
15723
+ }
15724
+ }
15725
+ function capTextPart(value, max) {
15726
+ if (value.length <= max) return value;
15727
+ return `${value.slice(0, textCutEnd(value, max - 1))}\u2026`;
15728
+ }
15729
+ function statusAlertTextLine(alert) {
15730
+ const severity = STATUS_ALERT_SEVERITIES.has(alert.severity) ? String(alert.severity) : "info";
15731
+ const title = capTextPart(String(alert.title), STATUS_ALERT_TEXT_LIMITS.title);
15732
+ const message = capTextPart(String(alert.message), STATUS_ALERT_TEXT_LIMITS.message);
15733
+ return `[${severity.toUpperCase()}] ${title}: ${message}`;
15734
+ }
15735
+ function statusAlertEnvelope(alert, timestamp) {
15736
+ const envelope = {
15737
+ type: "status_alert",
15738
+ title: alert.title,
15739
+ message: alert.message,
15740
+ severity: alert.severity,
15741
+ timestamp
15742
+ };
15743
+ if (alert.detail !== void 0) envelope.detail = alert.detail;
15744
+ if (alert.detailFormat !== void 0) envelope.detail_format = alert.detailFormat;
15745
+ if (alert.category !== void 0) envelope.category = alert.category;
15746
+ envelope.text = statusAlertTextLine(alert);
15747
+ return envelope;
15748
+ }
15687
15749
  function outboundDedupeKey(resolved, content, options) {
15688
15750
  if (!OUTBOUND_DEDUPE_TYPES.has(content.type)) return null;
15689
15751
  const base = [resolved.kind, resolved.id ?? "owner", options?.conversationId ?? "", options?.topicId ?? ""];
@@ -16194,6 +16256,15 @@ function getActiveChannel(accountId = "default") {
16194
16256
  async function _handleInbound(params) {
16195
16257
  const { plaintext, metadata, channel, account, cfg, fileTurn } = params;
16196
16258
  const core = _ocRuntime;
16259
+ if (metadata.roomId && metadata.senderBinding !== "bound") {
16260
+ const ownDisplayName = channel.ownDisplayName ?? "";
16261
+ const agentName = account.agentName ?? "";
16262
+ const selfResolved = !!ownDisplayName || !!agentName && agentName.toLowerCase() !== "default";
16263
+ if (!owesRoomReply(metadata.caption ?? plaintext, agentName, account.accountId ?? "", true, void 0, ownDisplayName, selfResolved, metadata.roomAudience, metadata.senderBinding)) {
16264
+ console.log(`[AgentVault] room message from an unverified sender not addressed to this agent \u2014 not dispatched (#1855) room=${String(metadata.roomId).slice(0, 8)}`);
16265
+ return;
16266
+ }
16267
+ }
16197
16268
  const sessionKey = `agentvault:${account.accountId}:${(metadata.conversationId ?? "default").slice(0, 8)}`;
16198
16269
  const identity = metadata.roomId ? { id: `agentvault:room:${metadata.roomId}`, name: "Room Member", owner: false } : metadata.a2aChannelId ? { id: `a2a:${metadata.a2aChannelId}`, name: "Agent", owner: false } : dmSenderIdentity(metadata);
16199
16270
  const senderId = identity.id;
@@ -21440,7 +21511,27 @@ function reportSkillInvocation(opts) {
21440
21511
  spanBuffer.push(span);
21441
21512
  return span;
21442
21513
  }
21443
- var __create, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf, __hasOwnProp, __require2, __esm2, __commonJS, __export2, __copyProps, __toESM, OWNER_LIST_MAX_AGE_MS, OWNER_LIST_RETRY_MS, OWNER_LIST_TIMEOUT_MS, OWNER_LIST_FAIL_BACKOFF_MS, OWNER_LIST_FAIL_BACKOFF_MAX_MS, OwnerDeviceList, init_owner_devices, SENTINEL, WRAPPERS, INSTRUCTION, init_abstention, AMBIGUOUS_OWNER_ERROR, init_owner_routing, init_envelope_text, REFUSED_TYPES, init_dr_refusal, init_mls_commit_classify, MENTION_RE, BROADCAST_NAMES, PRIVATE_ROOM_TURN_NOTE, GENERIC_AGENT_NAMES, init_room_protocol, ATTACHMENT_NAME_MAX_BYTES, MAX_EXTENSION_BYTES, MAX_INPUT_CHARS, MAX_FALLBACK_ID_CHARS, INVISIBLE, LOOKALIKE, WS, LEADING, TRAILING, TRAILING_WS, WINDOWS_RESERVED, init_safe_attachment_name, MAX_NUMBERED_ATTEMPTS, init_attachment_write, libsodium_sumo_default, init_libsodium_sumo, r, t, a, _, n, s, m, libsodium_wrappers_default, init_libsodium_wrappers, init_keys, init_x3dh, MAX_SKIP, CHAIN_KEY_SEED, MSG_KEY_SEED, HEADER_KEY_SEED, DoubleRatchet, init_ratchet, init_file_crypto, DOMAIN_DID_DOCUMENT, DOMAIN_TRANSFER_INTENT, DOMAIN_TRANSFER_ACCEPT, BASE58_ALPHABET, init_did, BUILTIN_PATTERNS, WS_CHAR, isWs, isLineEnd, isWordChar, ScanEngine, init_scan_engine, init_merkle, VC_CONTEXT_V2, AV_CREDENTIAL_CONTEXT, AV_VOCAB, VC_V2_RESERVED_TERMS, ReservedClaimNameError, CRYPTOSUITE, BASE58_ALPHABET2, init_vc, init_transport, DEFAULT_PORTS, ORIGIN_HOST, init_telemetry, TelemetryReporter, init_telemetry_reporter, CROCKFORD, ARGON2_OPSLIMIT, ARGON2_MEMLIMIT, SALT_BYTES, NONCE_BYTES, KEY_BYTES, BACKUP_VERSION, MAX_BACKUP_SIZE, init_backup, atitle, aobject, aopts, isLE, swap8IfBE, swap32IfBE, hasHexBuiltin, hexes, oidNist, init_utils, BSIGMA, init_blake, U32_MASK64, _32n, fromNumH, fromNumL, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, rotr32H, rotr32L, add3L, add3H, add4L, add4H, add5L, add5H, init_u64, HashMD, SHA256_IV, SHA384_IV, SHA512_IV, init_md, B2B_IV, BBUF, _BLAKE2, _BLAKE2b, blake2b, init_blake2, CROCKFORD2, SALT_BYTES2, NONCE_BYTES2, KEY_BYTES2, TAG_BYTES, ENVELOPE_OVERHEAD, AAD_PREFIX, UUID_RE, UUID_V4_RE, DIGEST_ID_RE, TIMESTAMP_RE, encoder, decoder, HISTORY_MAGIC, HISTORY_ARCHIVE_VERSION, HISTORY_MAX_ENTRIES, HISTORY_MAX_BLOB_BYTES, HISTORY_KDF_OPSLIMIT, HISTORY_KDF_MEMLIMIT, HistoryEntryTooLargeError, init_history_backup, init_approval, encVoid, init_tlsEncoder, uint8Encoder, encodeUint8, decodeUint8, uint16Encoder, encodeUint16, decodeUint16, uint32Encoder, encodeUint32, decodeUint32, uint64Encoder, encodeUint64, decodeUint64, init_number, init_tlsDecoder, init_enumHelpers, defaultProposalTypes, defaultProposalTypeEncoder, encodeDefaultProposalType, decodeDefaultProposalType, init_defaultProposalType, defaultExtensionTypes, defaultExtensionTypeEncoder, encodeDefaultExtensionType, decodeDefaultExtensionType, init_defaultExtensionType, acceptAll, init_incomingMessageAction, MlsError, ValidationError, CodecError, UsageError, DependencyError, CryptoVerificationError, CryptoError, InternalError, init_mlsError, init_byteArray, varLenDataEncoder, decodeVarLenData, init_variableLength, init_constantTimeCompare, extensionTypeEncoder, encodeExtensionType, decodeExtensionType, extensionEncoder, encodeExtension, decodeExtension, init_extension, credentialTypes, credentialTypeEncoder, encodeCredentialType, decodeCredentialType, init_credentialType, credentialBasicEncoder, encodeCredentialBasic, credentialX509Encoder, encodeCredentialX509, credentialCustomEncoder, encodeCredentialCustom, credentialEncoder, encodeCredential, decodeCredentialBasic, decodeCredentialX509, decodeCredential, init_credential, externalSenderEncoder, encodeExternalSender, decodeExternalSender, init_externalSender, init_hash, init_optional, ciphersuites, ciphersuiteEncoder, encodeCiphersuite, decodeCiphersuite, ciphersuiteValues, init_ciphersuite, init_signature, protocolVersions, protocolVersionEncoder, encodeProtocolVersion, decodeProtocolVersion, init_protocolVersion, capabilitiesEncoder, encodeCapabilities, decodeCapabilities, init_capabilities, leafNodeSources, leafNodeSourceEncoder, encodeLeafNodeSource, decodeLeafNodeSource, init_leafNodeSource, lifetimeEncoder, encodeLifetime, decodeLifetime, defaultLifetime, init_lifetime, leafNodeDataEncoder, encodeLeafNodeData, decodeLeafNodeData, leafNodeInfoKeyPackageEncoder, encodeLeafNodeInfoKeyPackage, leafNodeInfoUpdateOmittedEncoder, encodeLeafNodeInfoUpdateOmitted, leafNodeInfoCommitOmittedEncoder, encodeLeafNodeInfoCommitOmitted, leafNodeInfoOmittedEncoder, encodeLeafNodeInfoOmitted, decodeLeafNodeInfoKeyPackage, decodeLeafNodeInfoUpdateOmitted, decodeLeafNodeInfoCommitOmitted, decodeLeafNodeInfoOmitted, leafNodeInfoUpdateEncoder, encodeLeafNodeInfoUpdate, leafNodeInfoCommitEncoder, encodeLeafNodeInfoCommit, leafNodeInfoEncoder, encodeLeafNodeInfo, decodeLeafNodeInfoUpdate, decodeLeafNodeInfoCommit, decodeLeafNodeInfo, leafNodeTBSEncoder, encodeLeafNodeTBS, leafNodeEncoder, encodeLeafNode, decodeLeafNode, decodeLeafNodeKeyPackage, decodeLeafNodeCommit, decodeLeafNodeUpdate, init_leafNode, keyPackageTBSEncoder, encodeKeyPackageTBS, decodeKeyPackageTBS, keyPackageEncoder, encodeKeyPackage, decodeKeyPackage, init_keyPackage, init_kdf, pskTypes, pskTypeEncoder, encodePskType, decodePskType, resumptionPSKUsages, resumptionPSKUsageEncoder, encodeResumptionPSKUsage, decodeResumptionPSKUsage, encodePskInfoExternal, encodePskInfoResumption, decodePskInfoResumption, pskInfoEncoder, encodePskInfo, decodePskInfo, pskIdEncoder, encodePskId, decodePskId, pskLabelEncoder, encodePskLabel, decodePskLabel, init_presharedkey, addEncoder, encodeAdd, decodeAdd, updateEncoder, encodeUpdate, decodeUpdate, removeEncoder, encodeRemove, decodeRemove, pskEncoder, encodePSK, decodePSK, reinitEncoder, encodeReinit, decodeReinit, externalInitEncoder, encodeExternalInit, decodeExternalInit, groupContextExtensionsEncoder, encodeGroupContextExtensions, decodeGroupContextExtensions, proposalAddEncoder, encodeProposalAdd, proposalUpdateEncoder, encodeProposalUpdate, proposalRemoveEncoder, encodeProposalRemove, proposalPSKEncoder, encodeProposalPSK, proposalReinitEncoder, encodeProposalReinit, proposalExternalInitEncoder, encodeProposalExternalInit, proposalGroupContextExtensionsEncoder, encodeProposalGroupContextExtensions, proposalCustomEncoder, encodeProposalCustom, proposalEncoder, encodeProposal, decodeProposalAdd, decodeProposalUpdate, decodeProposalRemove, decodeProposalPSK, decodeProposalReinit, decodeProposalExternalInit, decodeProposalGroupContextExtensions, decodeProposal, init_proposal, proposalOrRefTypes, proposalOrRefTypeEncoder, encodeProposalOrRefType, decodeProposalOrRefType, proposalOrRefProposalEncoder, encodeProposalOrRefProposal, proposalOrRefProposalRefEncoder, encodeProposalOrRefProposalRef, proposalOrRefEncoder, encodeProposalOrRef, decodeProposalOrRef, init_proposalOrRefType, init_hpke, groupContextEncoder, encodeGroupContext, decodeGroupContext, init_groupContext, nodeTypes, nodeTypeEncoder, encodeNodeType, decodeNodeType, init_nodeType, parentNodeEncoder, encodeParentNode, decodeParentNode, init_parentNode, init_treemath, nodeEncoder, encodeNode, decodeNode, ratchetTreeEncoder, encodeRatchetTree, decodeRatchetTree, init_ratchetTree, leafNodeHashInputEncoder, encodeLeafNodeHashInput, decodeLeafNodeHashInput, parentNodeHashInputEncoder, encodeParentNodeHashInput, decodeParentNodeHashInput, treeHashInputEncoder, encodeTreeHashInput, decodeTreeHashInput, init_treeHash, parentHashInputEncoder, encodeParentHashInput, decodeParentHashInput, init_parentHash, hpkeCiphertextEncoder, encodeHpkeCiphertext, decodeHpkeCiphertext, init_hpkeCiphertext, updatePathNodeEncoder, encodeUpdatePathNode, decodeUpdatePathNode, updatePathEncoder, encodeUpdatePath, decodeUpdatePath, init_updatePath, commitEncoder, encodeCommit, decodeCommit, init_commit, contentTypes, contentTypeEncoder, encodeContentType, decodeContentType, init_contentType, wireformats, wireformatEncoder, encodeWireformat, decodeWireformat, init_wireformat, senderTypes, senderTypeEncoder, encodeSenderType, decodeSenderType, senderEncoder, encodeSender, decodeSender, reuseGuardEncoder, encodeReuseGuard, decodeReuseGuard, senderDataEncoder, encodeSenderData, decodeSenderData, senderDataAADEncoder, encodeSenderDataAAD, decodeSenderDataAAD, init_sender, framedContentApplicationDataEncoder, encodeFramedContentApplicationData, framedContentProposalDataEncoder, encodeFramedContentProposalData, framedContentCommitDataEncoder, encodeFramedContentCommitData, framedContentInfoEncoder, encodeFramedContentInfo, decodeFramedContentApplicationData, decodeFramedContentProposalData, decodeFramedContentCommitData, decodeFramedContentInfo, framedContentEncoder, encodeFramedContent, decodeFramedContent, senderInfoEncoder, encodeSenderInfo, framedContentTBSEncoder, encodeFramedContentTBS, encodeFramedContentAuthDataContent, encodeFramedContentAuthDataCommit, framedContentAuthDataEncoder, encodeFramedContentAuthData, decodeFramedContentAuthDataCommit, init_framedContent, authenticatedContentEncoder, encodeAuthenticatedContent, decodeAuthenticatedContent, authenticatedContentTBMEncoder, encodeAuthenticatedContentTBM, init_authenticatedContent, publicMessageInfoEncoder, encodePublicMessageInfo, publicMessageEncoder, encodePublicMessage, decodePublicMessage, init_publicMessage, init_messageProtectionPublic, init_externalProposal, requiredCapabilitiesEncoder, encodeRequiredCapabilities, decodeRequiredCapabilities, init_requiredCapabilities, defaultAuthenticationService, init_authenticationService, defaultPaddingConfig, init_paddingConfig, defaultKeyPackageEqualityConfig, init_keyPackageEqualityConfig, defaultLifetimeConfig, init_lifetimeConfig, defaultKeyRetentionConfig, init_keyRetentionConfig, groupInfoTBSEncoder, encodeGroupInfoTBS, decodeGroupInfoTBS, groupInfoEncoder, encodeGroupInfo, decodeGroupInfo, init_groupInfo, keyScheduleEncoder, encodeKeySchedule, decodeKeySchedule, init_keySchedule, generationSecretEncoder, decodeGenerationSecret, secretTreeNodeEncoder, decodeSecretTreeNode, secretTreeEncoder, decodeSecretTree, init_secretTree, confirmedTranscriptHashInputEncoder, encodeConfirmedTranscriptHashInput, decodeConfirmedTranscriptHashInput, init_transcriptHash, groupSecretsEncoder, encodeGroupSecrets, decodeGroupSecrets, init_groupSecrets, encryptedGroupSecretsEncoder, encodeEncryptedGroupSecrets, decodeEncryptedGroupSecrets, welcomeEncoder, encodeWelcome, decodeWelcome, init_welcome, init_pathSecrets, privateKeyPathEncoder, decodePrivateKeyPath, init_privateKeyPath, proposalWithSenderEncoder, decodeProposalWithSender, unappliedProposalsEncoder, decodeUnappliedProposals, init_unappliedProposals, emptyPskIndex, init_pskIndex, init_addToMap, defaultClientConfig, init_clientConfig, init_array, stringEncoder, encodeString, decodeString, init_string, activeEncoder, suspendedPendingReinitEncoder, removedFromGroupEncoder, groupActiveStateEncoder, decodeGroupActiveState, init_groupActiveState, epochReceiverDataEncoder, decodeEpochReceiverData, init_epochReceiverData, init_agentvaultIdentityRules, groupStateEncoder, encodeGroupState, decodeGroupState, groupStateEncoderWithoutTree, encodeGroupStateWithoutTree, emptyProposals, init_clientState, privateMessageEncoder, encodePrivateMessage, decodePrivateMessage, privateContentAADEncoder, encodePrivateContentAAD, decodePrivateContentAAD, init_privateMessage, init_messageProtection, init_createMessage, init_createCommit, init_processMessages, init_makeHashImpl, HpkeError, InvalidParamError, SerializeError, DeserializeError, EncapError, DecapError, ExportError, SealError, OpenError, MessageLimitReachedError, DeriveKeyPairError, NotSupportedError, init_errors, dntGlobals, dntGlobalThis, init_dnt_shims, NativeAlgorithm, init_algorithm, Mode, KemId, KdfId, AeadId, init_identifiers, INPUT_LENGTH_LIMIT, INFO_LENGTH_LIMIT, MINIMUM_PSK_LENGTH, EMPTY, BYTE_TO_BIGINT_256, init_consts, SUITE_ID_HEADER_KEM, init_kemInterface, HPKE_VERSION, HkdfNative, HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, init_hkdf, isCryptoKeyPair, init_misc, LABEL_EAE_PRK, LABEL_SHARED_SECRET, Dhkem, init_dhkem, KEM_USAGES, LABEL_DKP_PRK, LABEL_SK, init_dhkemPrimitives, Bignum, init_bignum, LABEL_CANDIDATE, ORDER_P_256, ORDER_P_384, ORDER_P_521, PKCS8_ALG_ID_P_256, PKCS8_ALG_ID_P_384, PKCS8_ALG_ID_P_521, EC_P_256_PARAMS, EC_P_384_PARAMS, EC_P_521_PARAMS, Ec, init_ec, init_xCryptoKey, init_xCurve, init_hybridkem, AEAD_USAGES, init_aeadEncryptionContext, _endianTestBuffer, _endianTestBytes, isLE2, init_noble, init_hash2, _HMAC, hmac, init_hmac, init_md2, U32_MASK642, _32n2, init_u642, init_sha2, _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_PI, SHA3_ROTL, _SHA3_IOTA, IOTAS, SHA3_IOTA_H, SHA3_IOTA_L, init_sha3, init_modular, init_curve, init_montgomery, init_mod, AesGcmContext, Aes128Gcm, Aes256Gcm, init_aesGcm, init_exportOnly, init_emitNotSupported, LABEL_SEC, ExporterContextImpl, RecipientExporterContextImpl, SenderExporterContextImpl, init_exporterContext, EncryptionContextImpl, init_encryptionContext, __classPrivateFieldGet, __classPrivateFieldSet, _Mutex_locked, Mutex, init_mutex, __classPrivateFieldGet2, __classPrivateFieldSet2, _RecipientContextImpl_mutex, RecipientContextImpl, init_recipientContext, __classPrivateFieldGet3, __classPrivateFieldSet3, _SenderContextImpl_mutex, SenderContextImpl, init_senderContext, LABEL_BASE_NONCE, LABEL_EXP, LABEL_INFO_HASH, LABEL_KEY, LABEL_PSK_ID_HASH, LABEL_SECRET, SUITE_ID_HEADER_HPKE, CipherSuiteNative, init_cipherSuiteNative, DhkemP256HkdfSha256Native, DhkemP384HkdfSha384Native, DhkemP521HkdfSha512Native, init_dhkemNative, CipherSuite, DhkemP256HkdfSha256, DhkemP384HkdfSha384, DhkemP521HkdfSha512, HkdfSha256, HkdfSha384, HkdfSha512, init_native, ALG_NAME, PKCS8_ALG_ID_X25519, BASE_POINT_X25519, X25519, init_x25519, DhkemX25519HkdfSha256, init_dhkemX25519, PKCS8_ALG_ID_X448, init_x448, init_dhkemX448, init_mod2, init_hpke2, isLE3, wrapCipher, init_utils2, encodeStr, sigma16, sigma32, sigma16_32, sigma32_32, BLOCK_LEN, BLOCK_LEN32, MAX_COUNTER, U32_EMPTY, _XorStreamPRG, createPRG, init_arx, Poly1305, poly1305, init_poly1305, chacha_exports, chacha20orig, chacha20, xchacha20, chacha8, chacha12, ZEROS16, updatePadded, ZEROS32, _poly1305_aead, chacha20poly1305, xchacha20poly1305, rngChacha20, rngChacha8, init_chacha, init_makeAead, init_makeKdfImpl, init_makeDhKem, init_makeHpke, defaultRng, init_rng, crypto2, init_cryptoNode, isLE4, swap32IfBE3, hasHexBuiltin2, hexes2, asciis, Hash, init_utils3, HashMD3, SHA256_IV3, SHA384_IV3, SHA512_IV3, init_md3, U32_MASK643, _32n3, shrSH3, shrSL3, rotrSH3, rotrSL3, rotrBH3, rotrBL3, rotlSH2, rotlSL2, rotlBH2, rotlBL2, add3L3, add3H3, add4L3, add4H3, add5L3, add5H3, init_u643, SHA256_K, SHA256_W, SHA256, K512, SHA512_Kh, SHA512_Kl, SHA512_W_H, SHA512_W_L, SHA512, SHA384, sha2563, sha5122, sha3842, init_sha22, _0n2, _1n2, isPosBig, bitMask, notImplemented, init_utils4, _0n3, _1n3, _2n2, _3n, _4n, _5n, _7n2, _8n, _9n, _16n, isNegativeLE, FIELD_FIELDS, init_modular2, _0n4, _1n4, pointPrecomputes, pointWindowSizes, wNAF, init_curve2, _0n5, _1n5, _2n3, _8n2, PrimeEdwardsPoint, init_edwards, os2ip, _DST_scalar, init_hash_to_curve, _0n6, _1n6, _2n4, init_montgomery2, ed25519_exports, _0n7, _1n7, _2n5, _3n2, _5n2, _8n3, ed25519_CURVE_p, ed25519_CURVE, ED25519_SQRT_M1, Fp, Fn, ed25519Defaults, ed25519, ed25519ctx, ed25519ph, x25519, ELL2_C1, ELL2_C2, ELL2_C3, ELL2_C1_EDWARDS, ed25519_hasher, SQRT_M1, SQRT_AD_MINUS_ONE, INVSQRT_A_MINUS_D, ONE_MINUS_D_SQ, D_MINUS_ONE_SQ, invertSqrt, MAX_255B, bytes255ToNumberLE, _RistrettoPoint, ristretto255, ristretto255_hasher, ED25519_TORSION_SUBGROUP, edwardsToMontgomery, RistrettoPoint, hashToCurve, encodeToCurve, hashToRistretto255, hash_to_ristretto255, init_ed25519, _0n8, _1n8, _2n6, _7n3, _256n2, _0x71n2, SHA3_PI2, SHA3_ROTL2, _SHA3_IOTA2, IOTAS2, SHA3_IOTA_H2, SHA3_IOTA_L2, rotlH, rotlL, Keccak, genShake, shake2562, init_sha32, ed448_exports, ed448_CURVE, E448_CURVE, shake256_114, shake256_64, _1n9, _2n7, _3n3, _4n2, _11n, _22n, _44n, _88n, _223n, Fp2, Fn2, Fp448, Fn448, ED448_DEF, ed448, ed448ph, E448, x448, ELL2_C12, ELL2_J, ed448_hasher, ONE_MINUS_D, ONE_MINUS_TWO_D, SQRT_MINUS_D, INVSQRT_MINUS_D, invertSqrt2, _DecafPoint, decaf448, decaf448_hasher, ED448_TORSION_SUBGROUP, DecafPoint, hashToCurve2, encodeToCurve2, hashToDecaf448, hash_to_decaf448, edwardsToMontgomery2, init_ed448, HMAC, hmac2, init_hmac2, divNearest, DERErr, DER, _0n9, _1n10, _2n8, _3n4, _4n3, init_weierstrass, init_shortw_utils, nist_exports, p256_CURVE, p384_CURVE, p521_CURVE, Fp256, Fp384, Fp521, p256, p256_hasher, p384, p384_hasher, p521, secp256r1, secp384r1, secp521r1, p521_hasher, init_nist, init_makeNobleSignatureImpl, defaultCryptoProvider, init_provider, init_getCiphersuiteImpl, init_resumption, SHA256_K2, SHA256_W2, SHA2_32B, _SHA256, K5122, SHA512_Kh2, SHA512_Kl2, SHA512_W_H2, SHA512_W_L2, SHA2_64B, _SHA512, _SHA384, sha2564, sha5123, sha3843, init_sha23, _HMAC2, hmac3, init_hmac3, init_makeHashImpl2, init_makeNobleSignatureImpl2, BLOCK_SIZE, ZEROS162, ZEROS322, POLY, mul2, swapLE, estimateWindow, GHASH, Polyval, ghash, polyval, init_polyval, BLOCK_SIZE2, BLOCK_SIZE32, EMPTY_BLOCK, POLY2, sbox, rotr32_8, rotl32_8, tableEncoding, xPowers, gcm, _CMAC, cmac, init_aes, init_makeAead2, init_makeKdfImpl2, init_makeDhKem2, init_makeHpke2, init_rng2, nobleCryptoProvider, init_provider2, mlsPublicMessageEncoder, encodeMlsPublicMessage, mlsWelcomeEncoder, encodeMlsWelcome, mlsPrivateMessageEncoder, encodeMlsPrivateMessage, mlsGroupInfoEncoder, encodeMlsGroupInfo, mlsKeyPackageEncoder, encodeMlsKeyPackage, mlsMessageContentEncoder, encodeMlsMessageContent, decodeMlsMessageContent, mlsMessageEncoder, encodeMlsMessage, decodeMlsMessage, init_message, greaseValues, defaultGreaseConfig, init_grease, init_defaultCapabilities, init_src, CANONICAL_UUID, ASCII_UUID_ANY_CASE, CANONICAL_UUID_BYTES, init_mls_sender_binding, DEFAULT_CIPHERSUITE, rejectStandaloneProposals, MLSGroupManager, init_mls_group, DOMAIN, NONCE_BYTES3, init_owner_sync, init_mls_delivery_order, init_mls_presend_epoch, dist_exports2, init_dist2, DIR_MODE, FILE_MODE, init_secure_file, SYNC_LOCK_STALE_MS, pendingKpPath, DECRYPTED_IDS_FILE, init_mls_state, init_mls_kp_pool, PACKAGE, FALLBACK, MAX_LEN, DISALLOWED, init_client_version, RoomSendNotWritten, init_room_send_error, TURN_TOKEN_TTL_MS, TURN_TOKEN_MAX, PARKED_TOMBSTONE_MAX, TurnTokenRegistry, init_turn_token, OWN_STALE_RE, MAX_FILE_SEND_BYTES, MAX_FILE_SEND_PATH_BYTES, ROOM_ID_RE, MIME_BY_EXT, OUTBOX_FOLDER, KEEP_ASIDE, DENY_BASENAME, DENY_COMPONENT, FileSendPolicy, init_file_send_policy, TOOL_INVOKE_SPAN_NAME, UNCLASSIFIED_ERROR, KNOWN_TOOL_ERROR_CODES, KNOWN_CODES, CLASS_NAME_RE, TOOL_NAME_RE, ERROR_TEXT_CODES, _conversation, init_tool_telemetry, TURN_FAILURE_CODES, CODES, TurnFailure, NOTICE_RE, init_turn_failure, ROOM_ID_RE2, REASON, NO_ATTACHMENT_NOTICE, NOTICE_RE2, NOTICE_MAX, FILE_SEND_RULE_CONTENT, FILE_SEND_UNAVAILABLE, RENDERED_LINES, RENDERED_MAX, SYSTEM_PREFIX_RE, CF_RE, FILE_NOUN, FILENAME, SENT_PAST, SENT_BARE, TO_THIS_MESSAGE, CLAIM_MAX, AV_HISTORY_PREFIX, SENDING_NOW, HERES, SEE_ATTACHED, OWN_UPLOAD, ATTACHABLE, PASSIVE, ATTACHED_OPENER, PAST_MARK, init_file_send_failure, CredentialStore, init_credential_store, init_crypto_helpers, STATE_FILE, LEGACY_STATE_FILE, init_state, ACTIVATION_DOMAIN, UUID_RE2, init_transport2, A2ALogGate, init_a2a_log_gate, NOT_A_MEMBER_DETAIL, init_mls_membership_probe, FIRST_DIRTY_DELAY_MS, RETRY_BASE_DELAYS_MS, MAX_RETRY_DELAY_MS, JITTER_FRACTION, HistoryBackupScheduler, init_history_backup_scheduler, FILE_MODE2, init_history_recovery_file, TENANT_ID_PATTERN, DIR_MODE2, FILE_MODE3, HISTORY_RECOVERY_VERIFY_TIMEOUT_MS, VERIFY_TIMEOUT_MESSAGE, HistoryRecoveryVerificationTimeoutError, init_history_recovery_code, ACTIONS, init_decision_reply, KP_BACKOFF_INITIAL_MS, KP_BACKOFF_MAX_MS, KP_RACE_RETRY_MS, KP_RACE_RETRY_LIMIT, consoleLogger, short2, WelcomeKeyPackageBackoff, init_welcome_kp_backoff, UUID_RE3, CANONICAL_UUID_RE, WELCOME_ROUTING_FIELDS, UNKNOWN_DEVICE_LABEL, REMAP_REFUSED_NOTICE, NOTICE_PER_CONVERSATION_MS, NOTICE_GLOBAL_WINDOW_MS, NOTICE_GLOBAL_CAP, SecurityNoticeLimiter, KP_IDENTITY_BACKOFF_INITIAL_MS, KP_IDENTITY_BACKOFF_MAX_MS, KpIdentityBackoff, SECURITY_SUMMARY_MIN_MS, SECURITY_SUMMARY_MAX_MS, SecurityCounters, init_dm_group_pins, health, healthDetail, selfTestRun, SENDER_BINDING_SELF_TEST_FAILED_CODE, SENDER_BINDING_SELF_TEST_TOOL, incidentTaken, init_sender_binding, DELIVERY_PULL_MS, DELIVERY_TICK_MS, FULL_WELCOME_SWEEP_MS, MAX_QUIET_PULL_MS, A2A_QUIET_RECONCILE_MS, A2A_QUIET_JITTER_MS, DeliveryCadence, A2aReconcileCadence, init_delivery_cadence, CONTROL_MESSAGE_TYPES, init_message_kind, LOCAL_API_TOKEN_FILE, LOCAL_API_TOKEN_HEADER, LOCAL_API_BODY_LIMIT, LOCAL_API_HEADERS_TIMEOUT_MS, LOCAL_API_REQUEST_TIMEOUT_MS, LOCAL_API_MAX_CONNECTIONS, LOCAL_API_TOKEN_HINT, TOKEN_RE, LocalApiTokenError, LOOPBACK_REMOTES, LOOPBACK_HOSTNAMES, BodyTooLargeError, REFUSAL_RESPONSE, KNOWN_ROUTES, tokensByPort, init_local_api, http_handlers_exports, init_http_handlers, InvalidJsonError, init_local_api_server, init_atomic_file, ONTURN_ENV, ONTURN_RECORDS_FILE, NONCE_RE, MAX_MEMBERS_PER_GROUP, MAX_GROUPS, MAX_ROOTS, MAX_NONCES, MAX_RECORDS_BYTES, MAX_RECORDS_WRITE_BYTES, BOOT_TOLERANCE_S, PS_LINE, NONCE_IN_ENV, PS_ENV, defaultSignal, OnTurnStopIncomplete, shared, OnTurnRegistry, init_onturn_stop, AV_EFFECTIVE_V1, DEFAULT_OFF_CALLBACK_TIMEOUT_MS, DEFAULT_STOP_HOOK_TIMEOUT_MS, DEFAULT_NOT_ON_BOUND_S, MIN_NOT_ON_BOUND_S, MAX_NOT_ON_BOUND_S, BOUND_RETRY_BASE_MS, BOUND_RETRY_MAX_MS, NOT_ON_BOUND_FIELD, INTENT_SEQ_FIELD, WAS_ON_MARKER_FILE, OffCallbackTimeout, OnTurnStopUnverified, StopHookTimeout, processOnPeriodSeq, PROCESS_BOOT_ID, FullPermissionsCore, init_full_permissions, OFF_SEQUENCE_FAILED_CODE, OFF_SEQUENCE_TOOL_NAME, OFF_SEQUENCE_SPAN, BOUND_STOP_SPAN, FAMILY_RE, NOTICE_RE3, ROOT_EVICTED_SPAN, init_off_sequence_report, history_backup_client_exports, HISTORY_RESTORE_TIMEOUT_MS, HISTORY_RESTORE_RESPONSE_MAX_BYTES, HISTORY_ENVELOPE_MIN_BYTES, HISTORY_AAD_PREFIX, UUID_RE4, GENERATION_RESPONSE_KEYS, utf8Encoder, utf8Decoder, HistoryBackupClient, init_history_backup_client, openclaw_compat_exports, defaultImporter, HEARTBEAT_CANDIDATES, _heartbeatFn, init_openclaw_compat, mcp_proxy_helpers_exports, init_mcp_proxy_helpers, ROOM_AGENT_TYPES, CREDENTIAL_MESSAGE_TYPES, CATCHUP_MESSAGE_TYPES, ROOM_PROTOCOL_TYPES, POLL_INTERVAL_MS, RECONNECT_BASE_MS, UUID_RE5, KpIdentityRefused, RECONNECT_MAX_MS, PENDING_POLL_INTERVAL_MS, PENDING_POLL_SILENCE_MS, HISTORY_RESTORE_TIMEOUT_MS2, ROOM_ROSTER_REFRESH_TIMEOUT_MS, ROOM_ROSTER_OWNER_MAX_AGE_MS, TimedSet, HISTORY_UPLOAD_TIMEOUT_MS, CANONICAL_TIMESTAMP_RE, OUTBOUND_DEDUPE_WINDOW_MS, OUTBOUND_DEDUPE_MAX_SUPPRESS_MS, OUTBOUND_DEDUPE_MAX, OUTBOUND_DEDUPE_TYPES, RETRY_CANDIDATE_TTL_MS, RETRY_CANDIDATE_MAX, _turnConversation, _turnTokenStore, _drTurnStore, PERSON_INVOLVED_WINDOW_MS, ATTESTED_INBOUND_MAX, UNMAPPED_RECONCILE_COOLDOWN_MS, TOPIC_ID_RE, ROOM_FULFIL_COOLDOWN_MS, SecureChannel, init_channel, FAMILY_RE2, OwnerEpochStore, init_owner_epoch, init_types, DEFAULT_API_URL, DEFAULT_HTTP_PORT, init_account_config, init_lifecycle, OPENCLAW_FILE_TOOL, _turnSandbox, MEDIA_ROOTS_CANDIDATES, _mediaRootsFn, _mediaRootsGapLogged, OpenClawTurnRuns, WORKSPACE_CANDIDATES, SANDBOX_STATUS_CANDIDATES, OpenClawFileSendError, init_openclaw_file_send, init_openclaw_sender, _ocRuntime, _channels, _legacyTurnRuns, agentVaultPlugin, init_openclaw_plugin, init_gateway_send, init_llm_response_parser, OPENROUTER_PRICING, init_llm_pricing_openrouter, LEGACY_PRICING, PRICING, init_llm_cost, init_url_origin, traceStore, init_fetch_interceptor, init_tool_audit, init_harness_compat, AUTH_RE, BILLING_RE, RATE_RE, MODEL_GONE_RE, UNREACHABLE_RE, init_openclaw_turn_failure, SHUTDOWN_NOTICE_MS, KEEP_UNANSWERED_MS, OpenClawShutdownNotices, init_openclaw_shutdown_notice, init_openclaw_room_taint, _shutdownNotices, managedRoutesRequested, _turnRuns, init_openclaw_entry, util, objectUtil, ZodParsedType, getParsedType, init_util, ZodIssueCode, ZodError, init_ZodError, errorMap, en_default, init_en, overrideErrorMap, init_errors2, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, init_parseUtil, init_typeAliases, errorUtil, init_errorUtil, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, init_types2, init_external, init_v3, util_exports, Cached, EVALUATING, captureStackTrace, allowsEval, getParsedType2, propertyKeyTypes, primitiveTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, highSurrogate, Class, installing, broke, breaker, CONSTANT_CATCH, init_util2, _a2, _zodDesc, _E, $ZodAsyncError, $ZodEncodeError, globalConfig, init_core, _messageDesc, _issuesDesc, _installedToString, initializer, $ZodError, $ZodRealError, init_errors3, _parse, parse, _parseAsync, parseAsync, _safeParse, safeParse, _safeParseAsync, safeParseAsync, COMPILE_INVALID, COMPILE_FALLBACK, validate, validateAsync, _encode, _decode, _encodeAsync, _decodeAsync, _safeEncode, _safeDecode, _safeEncodeAsync, _safeDecodeAsync, init_parse, cuid, cuid2, ulid, xid, ksuid, nanoid, duration, guid, uuid2, email, _emoji, ipv4, ipv6, cidrv4, cidrv6, base64, base64url, httpProtocol, e164, dateSource, date, anyString, integer, number, boolean, _null, lowercase, uppercase, init_regexes, $ZodCheck, _whenHasLength, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckOverwrite, init_checks, Doc, init_doc, version, init_versions, $ZodType, toStandardResult, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, URL_BAD_FORMAT, URL_UNPARSEABLE, asciiTabOrNewline, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, ipv6Alphabet, $ZodIPv6, $ZodCIDRv4, $ZodCIDRv6, base64Charset, $ZodBase64, base64urlCharset, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodNull, $ZodUnknown, $ZodNever, arraySize, $ZodArray, NO_SYMBOL_KEYS, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodDiscriminatedUnion, $ZodIntersection, $ZodRecord, $ZodEnum, $ZodLiteral, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodCatch, $ZodPipe, $ZodPreprocess, $ZodReadonly, $ZodCustom, init_schemas, $ZodCyclicError, STATE, NO_ISSUES, recursive, NONE, ASSUMED, PROVEN, handoff, open5, memo, init_memoizer, error, init_en2, init_locales, _a3, $ZodRegistry, globalRegistry, init_registries, init_compile, init_api, FOLDABLE_KEYS, UNION_KEYS, createToJSONSchemaMethod, createStandardJSONSchemaMethod, init_to_json_schema, narrowMin, narrowMax, narrowBoth, addDivisor, addPattern, intersectMime, setFormat, minContributor, maxContributor, formatContributor, contributors, formatMap, exactPatterns, exactPattern, stringProcessor, numberProcessor, booleanProcessor, bigintProcessor, symbolProcessor, nullProcessor, undefinedProcessor, voidProcessor, neverProcessor, anyProcessor, unknownProcessor, dateProcessor, enumProcessor, literalProcessor, nanProcessor, templateLiteralProcessor, fileProcessor, successProcessor, customProcessor, functionProcessor, transformProcessor, mapProcessor, setProcessor, arrayProcessor, objectProcessor, unionProcessor, intersectionProcessor, tupleProcessor, pendingRecords, recordProcessor, nullableProcessor, nonoptionalProcessor, UNREPRESENTABLE_DEFAULT, defaultProcessor, prefaultProcessor, catchProcessor, pipeProcessor, readonlyProcessor, promiseProcessor, optionalProcessor, lazyProcessor, allProcessors, init_json_schema_processors, init_json_schema, init_core2, init_parse2, ZodMiniType, ZodMiniObject, init_schemas2, init_checks2, init_iso, init_coerce, init_external2, init_v4_mini, init_zod_compat, init_checks3, _installedErrorProtos, initializer2, ZodRealError, init_errors4, parse2, parseAsync2, safeParse3, safeParseAsync3, encode3, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2, init_parse3, ZodType2, _ZodString, ZodString2, ZodStringFormat, ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodNumber2, ZodNumberFormat, ZodBoolean2, ZodNull2, ZodUnknown2, ZodNever2, ZodArray2, ZodObject2, ZodUnion2, ZodDiscriminatedUnion2, ZodIntersection2, ZodRecord2, ZodEnum2, ZodLiteral2, ZodTransform, ZodOptional2, ZodExactOptional, ZodNullable2, ZodDefault2, ZodPrefault, ZodNonOptional, ZodCatch2, ZodPipe, ZodPreprocess, ZodReadonly2, ZodCustom, init_schemas3, ZodFirstPartyTypeKind2, init_compat, iso_exports2, init_iso2, init_coerce2, init_external3, init_classic, init_v4, LATEST_PROTOCOL_VERSION, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY, JSONRPC_VERSION, AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest, JSONRPCNotificationSchema, isJSONRPCNotification, JSONRPCResultResponseSchema, isJSONRPCResultResponse, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, isInitializeRequest, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError, init_types3, init_interfaces, ignoreOverride, defaultOptions, getDefaultOptions, init_Options, getRefs, init_Refs, init_errorMessages, getRelativePath, init_getRelativePath, init_any, init_array2, init_bigint, init_boolean, init_branded, parseCatchDef, init_catch, integerDateParser, init_date, init_default, init_effects, init_enum, isJsonSchema7AllOfType, init_intersection, init_literal, emojiRegex2, zodPatterns, ALPHA_NUMERIC, init_string2, init_record, init_map, init_nativeEnum, init_never, init_null, primitiveMappings, asAnyOf, init_union, init_nullable, init_number2, init_object, parseOptionalDef, init_optional2, parsePipelineDef, init_pipeline, init_promise, init_set, init_tuple, init_undefined, init_unknown, parseReadonlyDef, init_readonly, selectParser, init_selectParser, get$ref, addMeta, init_parseDef, init_parseTypes, zodToJsonSchema, init_zodToJsonSchema, init_esm, init_zod_json_schema_compat, DEFAULT_REQUEST_TIMEOUT_MSEC, Protocol, init_protocol, require_code, require_scope, require_codegen, require_util, require_names, require_errors, require_boolSchema, require_rules, require_applicability, require_dataType, require_defaults, require_code2, require_keyword, require_subschema, require_fast_deep_equal, require_json_schema_traverse, require_resolve, require_validate, require_validation_error, require_ref_error, require_compile, require_data, require_utils, require_schemes, require_fast_uri, require_uri, require_core, require_id, require_ref, require_core2, require_limitNumber, require_multipleOf, require_ucs2length, require_limitLength, require_pattern, require_limitProperties, require_required, require_limitItems, require_equal, require_uniqueItems, require_const, require_enum, require_validation, require_additionalItems, require_items, require_prefixItems, require_items2020, require_contains, require_dependencies, require_propertyNames, require_additionalProperties, require_properties, require_patternProperties, require_not, require_anyOf, require_oneOf, require_allOf, require_if, require_thenElse, require_applicator, require_format, require_format2, require_metadata, require_draft7, require_types, require_discriminator, require_json_schema_draft_07, require_ajv, require_formats, require_limit, require_dist, import_ajv, import_ajv_formats, AjvJsonSchemaValidator, init_ajv_provider, ExperimentalServerTasks, init_server, init_helpers, Server, init_server2, COMPLETABLE_SYMBOL, McpZodTypeKind, init_completable, init_uriTemplate, TOOL_NAME_REGEX, init_toolNameValidation, ExperimentalMcpServerTasks, init_mcp_server, init_zod, McpServer, EMPTY_OBJECT_JSON_SCHEMA, EMPTY_COMPLETION_RESULT, init_mcp, RequestError, toRequestError, GlobalRequest, Request2, newHeadersFromIncoming, wrapBodyStream, newRequestFromIncoming, getRequestCache, requestCache, incomingKey, urlKey, headersKey, abortControllerKey, getAbortController, requestPrototype, newRequest, responseCache, getResponseCache, cacheKey, GlobalResponse, Response2, buildOutgoingHttpHeaders, X_ALREADY_SENT, outgoingEnded, handleRequestError, handleFetchError, handleResponseError, flushHeaders, responseViaCache, isPromise, responseViaResponseObject, getRequestListener, init_dist22, require_content_type, import_content_type, init_mediaType, DEFAULT_MAX_REQUEST_BODY_SIZE, MAX_BATCH_SIZE, init_requestBody, DEFAULT_SSE_KEEP_ALIVE_MS, MAX_TIMER_DELAY_MS, init_sseKeepAlive, WebStandardStreamableHTTPServerTransport, init_webStandardStreamableHttp, StreamableHTTPServerTransport, init_streamableHttp, AgentVaultMcpServer, init_mcp_server2, warnedNoAuth, init_mcp_handlers, init_skill_manifest, init_skill_invoker, spanBuffer, init_skill_telemetry, PolicyEnforcer, init_policy_enforcer, VERSION, init_index;
21514
+ function utf8Escapes(ch) {
21515
+ const cp = ch.codePointAt(0);
21516
+ const bytes = cp < 128 ? [cp] : cp < 2048 ? [192 | cp >> 6, 128 | cp & 63] : cp < 65536 ? [224 | cp >> 12, 128 | cp >> 6 & 63, 128 | cp & 63] : [240 | cp >> 18, 128 | cp >> 12 & 63, 128 | cp >> 6 & 63, 128 | cp & 63];
21517
+ return bytes.map((b2) => `\\x${b2.toString(16).padStart(2, "0")}`).join("");
21518
+ }
21519
+ function shellWord(value) {
21520
+ if (BARE.test(value)) return value;
21521
+ if (value === "") return "''";
21522
+ if (NEEDS_ESCAPE.test(value)) {
21523
+ let body = "";
21524
+ let afterEscape = false;
21525
+ for (const ch of value) {
21526
+ const literal2 = LITERAL_IN_ANSI_C.test(ch) && !(afterEscape && HEX.test(ch));
21527
+ body += literal2 ? ch : utf8Escapes(ch);
21528
+ afterEscape = !literal2;
21529
+ }
21530
+ return `$'${body}'`;
21531
+ }
21532
+ return value.split(/(['\\])/).filter((part) => part !== "").map((part) => part === "'" || part === "\\" ? `\\${part}` : `'${part}'`).join("");
21533
+ }
21534
+ var __create, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf, __hasOwnProp, __require2, __esm2, __commonJS, __export2, __copyProps, __toESM, OWNER_LIST_MAX_AGE_MS, OWNER_LIST_RETRY_MS, OWNER_LIST_TIMEOUT_MS, OWNER_LIST_FAIL_BACKOFF_MS, OWNER_LIST_FAIL_BACKOFF_MAX_MS, OwnerDeviceList, init_owner_devices, SENTINEL, WRAPPERS, INSTRUCTION, init_abstention, AMBIGUOUS_OWNER_ERROR, init_owner_routing, init_envelope_text, REFUSED_TYPES, init_dr_refusal, init_mls_commit_classify, MENTION_RE, BROADCAST_NAMES, PRIVATE_ROOM_TURN_NOTE, GENERIC_AGENT_NAMES, init_room_protocol, ATTACHMENT_NAME_MAX_BYTES, MAX_EXTENSION_BYTES, MAX_INPUT_CHARS, MAX_FALLBACK_ID_CHARS, INVISIBLE, LOOKALIKE, WS, LEADING, TRAILING, TRAILING_WS, WINDOWS_RESERVED, init_safe_attachment_name, MAX_NUMBERED_ATTEMPTS, init_attachment_write, libsodium_sumo_default, init_libsodium_sumo, r, t, a, _, n, s, m, libsodium_wrappers_default, init_libsodium_wrappers, init_keys, init_x3dh, MAX_SKIP, CHAIN_KEY_SEED, MSG_KEY_SEED, HEADER_KEY_SEED, DoubleRatchet, init_ratchet, init_file_crypto, DOMAIN_DID_DOCUMENT, DOMAIN_TRANSFER_INTENT, DOMAIN_TRANSFER_ACCEPT, BASE58_ALPHABET, init_did, BUILTIN_PATTERNS, WS_CHAR, isWs, isLineEnd, isWordChar, ScanEngine, init_scan_engine, init_merkle, VC_CONTEXT_V2, AV_CREDENTIAL_CONTEXT, AV_VOCAB, VC_V2_RESERVED_TERMS, ReservedClaimNameError, CRYPTOSUITE, BASE58_ALPHABET2, init_vc, init_transport, DEFAULT_PORTS, ORIGIN_HOST, init_telemetry, TelemetryReporter, init_telemetry_reporter, CROCKFORD, ARGON2_OPSLIMIT, ARGON2_MEMLIMIT, SALT_BYTES, NONCE_BYTES, KEY_BYTES, BACKUP_VERSION, MAX_BACKUP_SIZE, init_backup, atitle, aobject, aopts, isLE, swap8IfBE, swap32IfBE, hasHexBuiltin, hexes, oidNist, init_utils, BSIGMA, init_blake, U32_MASK64, _32n, fromNumH, fromNumL, shrSH, shrSL, rotrSH, rotrSL, rotrBH, rotrBL, rotr32H, rotr32L, add3L, add3H, add4L, add4H, add5L, add5H, init_u64, HashMD, SHA256_IV, SHA384_IV, SHA512_IV, init_md, B2B_IV, BBUF, _BLAKE2, _BLAKE2b, blake2b, init_blake2, CROCKFORD2, SALT_BYTES2, NONCE_BYTES2, KEY_BYTES2, TAG_BYTES, ENVELOPE_OVERHEAD, AAD_PREFIX, UUID_RE, UUID_V4_RE, DIGEST_ID_RE, TIMESTAMP_RE, encoder, decoder, HISTORY_MAGIC, HISTORY_ARCHIVE_VERSION, HISTORY_MAX_ENTRIES, HISTORY_MAX_BLOB_BYTES, HISTORY_KDF_OPSLIMIT, HISTORY_KDF_MEMLIMIT, HistoryEntryTooLargeError, init_history_backup, init_approval, encVoid, init_tlsEncoder, uint8Encoder, encodeUint8, decodeUint8, uint16Encoder, encodeUint16, decodeUint16, uint32Encoder, encodeUint32, decodeUint32, uint64Encoder, encodeUint64, decodeUint64, init_number, init_tlsDecoder, init_enumHelpers, defaultProposalTypes, defaultProposalTypeEncoder, encodeDefaultProposalType, decodeDefaultProposalType, init_defaultProposalType, defaultExtensionTypes, defaultExtensionTypeEncoder, encodeDefaultExtensionType, decodeDefaultExtensionType, init_defaultExtensionType, acceptAll, init_incomingMessageAction, MlsError, ValidationError, CodecError, UsageError, DependencyError, CryptoVerificationError, CryptoError, InternalError, init_mlsError, init_byteArray, varLenDataEncoder, decodeVarLenData, init_variableLength, init_constantTimeCompare, extensionTypeEncoder, encodeExtensionType, decodeExtensionType, extensionEncoder, encodeExtension, decodeExtension, init_extension, credentialTypes, credentialTypeEncoder, encodeCredentialType, decodeCredentialType, init_credentialType, credentialBasicEncoder, encodeCredentialBasic, credentialX509Encoder, encodeCredentialX509, credentialCustomEncoder, encodeCredentialCustom, credentialEncoder, encodeCredential, decodeCredentialBasic, decodeCredentialX509, decodeCredential, init_credential, externalSenderEncoder, encodeExternalSender, decodeExternalSender, init_externalSender, init_hash, init_optional, ciphersuites, ciphersuiteEncoder, encodeCiphersuite, decodeCiphersuite, ciphersuiteValues, init_ciphersuite, init_signature, protocolVersions, protocolVersionEncoder, encodeProtocolVersion, decodeProtocolVersion, init_protocolVersion, capabilitiesEncoder, encodeCapabilities, decodeCapabilities, init_capabilities, leafNodeSources, leafNodeSourceEncoder, encodeLeafNodeSource, decodeLeafNodeSource, init_leafNodeSource, lifetimeEncoder, encodeLifetime, decodeLifetime, defaultLifetime, init_lifetime, leafNodeDataEncoder, encodeLeafNodeData, decodeLeafNodeData, leafNodeInfoKeyPackageEncoder, encodeLeafNodeInfoKeyPackage, leafNodeInfoUpdateOmittedEncoder, encodeLeafNodeInfoUpdateOmitted, leafNodeInfoCommitOmittedEncoder, encodeLeafNodeInfoCommitOmitted, leafNodeInfoOmittedEncoder, encodeLeafNodeInfoOmitted, decodeLeafNodeInfoKeyPackage, decodeLeafNodeInfoUpdateOmitted, decodeLeafNodeInfoCommitOmitted, decodeLeafNodeInfoOmitted, leafNodeInfoUpdateEncoder, encodeLeafNodeInfoUpdate, leafNodeInfoCommitEncoder, encodeLeafNodeInfoCommit, leafNodeInfoEncoder, encodeLeafNodeInfo, decodeLeafNodeInfoUpdate, decodeLeafNodeInfoCommit, decodeLeafNodeInfo, leafNodeTBSEncoder, encodeLeafNodeTBS, leafNodeEncoder, encodeLeafNode, decodeLeafNode, decodeLeafNodeKeyPackage, decodeLeafNodeCommit, decodeLeafNodeUpdate, init_leafNode, keyPackageTBSEncoder, encodeKeyPackageTBS, decodeKeyPackageTBS, keyPackageEncoder, encodeKeyPackage, decodeKeyPackage, init_keyPackage, init_kdf, pskTypes, pskTypeEncoder, encodePskType, decodePskType, resumptionPSKUsages, resumptionPSKUsageEncoder, encodeResumptionPSKUsage, decodeResumptionPSKUsage, encodePskInfoExternal, encodePskInfoResumption, decodePskInfoResumption, pskInfoEncoder, encodePskInfo, decodePskInfo, pskIdEncoder, encodePskId, decodePskId, pskLabelEncoder, encodePskLabel, decodePskLabel, init_presharedkey, addEncoder, encodeAdd, decodeAdd, updateEncoder, encodeUpdate, decodeUpdate, removeEncoder, encodeRemove, decodeRemove, pskEncoder, encodePSK, decodePSK, reinitEncoder, encodeReinit, decodeReinit, externalInitEncoder, encodeExternalInit, decodeExternalInit, groupContextExtensionsEncoder, encodeGroupContextExtensions, decodeGroupContextExtensions, proposalAddEncoder, encodeProposalAdd, proposalUpdateEncoder, encodeProposalUpdate, proposalRemoveEncoder, encodeProposalRemove, proposalPSKEncoder, encodeProposalPSK, proposalReinitEncoder, encodeProposalReinit, proposalExternalInitEncoder, encodeProposalExternalInit, proposalGroupContextExtensionsEncoder, encodeProposalGroupContextExtensions, proposalCustomEncoder, encodeProposalCustom, proposalEncoder, encodeProposal, decodeProposalAdd, decodeProposalUpdate, decodeProposalRemove, decodeProposalPSK, decodeProposalReinit, decodeProposalExternalInit, decodeProposalGroupContextExtensions, decodeProposal, init_proposal, proposalOrRefTypes, proposalOrRefTypeEncoder, encodeProposalOrRefType, decodeProposalOrRefType, proposalOrRefProposalEncoder, encodeProposalOrRefProposal, proposalOrRefProposalRefEncoder, encodeProposalOrRefProposalRef, proposalOrRefEncoder, encodeProposalOrRef, decodeProposalOrRef, init_proposalOrRefType, init_hpke, groupContextEncoder, encodeGroupContext, decodeGroupContext, init_groupContext, nodeTypes, nodeTypeEncoder, encodeNodeType, decodeNodeType, init_nodeType, parentNodeEncoder, encodeParentNode, decodeParentNode, init_parentNode, init_treemath, nodeEncoder, encodeNode, decodeNode, ratchetTreeEncoder, encodeRatchetTree, decodeRatchetTree, init_ratchetTree, leafNodeHashInputEncoder, encodeLeafNodeHashInput, decodeLeafNodeHashInput, parentNodeHashInputEncoder, encodeParentNodeHashInput, decodeParentNodeHashInput, treeHashInputEncoder, encodeTreeHashInput, decodeTreeHashInput, init_treeHash, parentHashInputEncoder, encodeParentHashInput, decodeParentHashInput, init_parentHash, hpkeCiphertextEncoder, encodeHpkeCiphertext, decodeHpkeCiphertext, init_hpkeCiphertext, updatePathNodeEncoder, encodeUpdatePathNode, decodeUpdatePathNode, updatePathEncoder, encodeUpdatePath, decodeUpdatePath, init_updatePath, commitEncoder, encodeCommit, decodeCommit, init_commit, contentTypes, contentTypeEncoder, encodeContentType, decodeContentType, init_contentType, wireformats, wireformatEncoder, encodeWireformat, decodeWireformat, init_wireformat, senderTypes, senderTypeEncoder, encodeSenderType, decodeSenderType, senderEncoder, encodeSender, decodeSender, reuseGuardEncoder, encodeReuseGuard, decodeReuseGuard, senderDataEncoder, encodeSenderData, decodeSenderData, senderDataAADEncoder, encodeSenderDataAAD, decodeSenderDataAAD, init_sender, framedContentApplicationDataEncoder, encodeFramedContentApplicationData, framedContentProposalDataEncoder, encodeFramedContentProposalData, framedContentCommitDataEncoder, encodeFramedContentCommitData, framedContentInfoEncoder, encodeFramedContentInfo, decodeFramedContentApplicationData, decodeFramedContentProposalData, decodeFramedContentCommitData, decodeFramedContentInfo, framedContentEncoder, encodeFramedContent, decodeFramedContent, senderInfoEncoder, encodeSenderInfo, framedContentTBSEncoder, encodeFramedContentTBS, encodeFramedContentAuthDataContent, encodeFramedContentAuthDataCommit, framedContentAuthDataEncoder, encodeFramedContentAuthData, decodeFramedContentAuthDataCommit, init_framedContent, authenticatedContentEncoder, encodeAuthenticatedContent, decodeAuthenticatedContent, authenticatedContentTBMEncoder, encodeAuthenticatedContentTBM, init_authenticatedContent, publicMessageInfoEncoder, encodePublicMessageInfo, publicMessageEncoder, encodePublicMessage, decodePublicMessage, init_publicMessage, init_messageProtectionPublic, init_externalProposal, requiredCapabilitiesEncoder, encodeRequiredCapabilities, decodeRequiredCapabilities, init_requiredCapabilities, defaultAuthenticationService, init_authenticationService, defaultPaddingConfig, init_paddingConfig, defaultKeyPackageEqualityConfig, init_keyPackageEqualityConfig, defaultLifetimeConfig, init_lifetimeConfig, defaultKeyRetentionConfig, init_keyRetentionConfig, groupInfoTBSEncoder, encodeGroupInfoTBS, decodeGroupInfoTBS, groupInfoEncoder, encodeGroupInfo, decodeGroupInfo, init_groupInfo, keyScheduleEncoder, encodeKeySchedule, decodeKeySchedule, init_keySchedule, generationSecretEncoder, decodeGenerationSecret, secretTreeNodeEncoder, decodeSecretTreeNode, secretTreeEncoder, decodeSecretTree, init_secretTree, confirmedTranscriptHashInputEncoder, encodeConfirmedTranscriptHashInput, decodeConfirmedTranscriptHashInput, init_transcriptHash, groupSecretsEncoder, encodeGroupSecrets, decodeGroupSecrets, init_groupSecrets, encryptedGroupSecretsEncoder, encodeEncryptedGroupSecrets, decodeEncryptedGroupSecrets, welcomeEncoder, encodeWelcome, decodeWelcome, init_welcome, init_pathSecrets, privateKeyPathEncoder, decodePrivateKeyPath, init_privateKeyPath, proposalWithSenderEncoder, decodeProposalWithSender, unappliedProposalsEncoder, decodeUnappliedProposals, init_unappliedProposals, emptyPskIndex, init_pskIndex, init_addToMap, defaultClientConfig, init_clientConfig, init_array, stringEncoder, encodeString, decodeString, init_string, activeEncoder, suspendedPendingReinitEncoder, removedFromGroupEncoder, groupActiveStateEncoder, decodeGroupActiveState, init_groupActiveState, epochReceiverDataEncoder, decodeEpochReceiverData, init_epochReceiverData, init_agentvaultIdentityRules, groupStateEncoder, encodeGroupState, decodeGroupState, groupStateEncoderWithoutTree, encodeGroupStateWithoutTree, emptyProposals, init_clientState, privateMessageEncoder, encodePrivateMessage, decodePrivateMessage, privateContentAADEncoder, encodePrivateContentAAD, decodePrivateContentAAD, init_privateMessage, init_messageProtection, init_createMessage, init_createCommit, init_processMessages, init_makeHashImpl, HpkeError, InvalidParamError, SerializeError, DeserializeError, EncapError, DecapError, ExportError, SealError, OpenError, MessageLimitReachedError, DeriveKeyPairError, NotSupportedError, init_errors, dntGlobals, dntGlobalThis, init_dnt_shims, NativeAlgorithm, init_algorithm, Mode, KemId, KdfId, AeadId, init_identifiers, INPUT_LENGTH_LIMIT, INFO_LENGTH_LIMIT, MINIMUM_PSK_LENGTH, EMPTY, BYTE_TO_BIGINT_256, init_consts, SUITE_ID_HEADER_KEM, init_kemInterface, HPKE_VERSION, HkdfNative, HkdfSha256Native, HkdfSha384Native, HkdfSha512Native, init_hkdf, isCryptoKeyPair, init_misc, LABEL_EAE_PRK, LABEL_SHARED_SECRET, Dhkem, init_dhkem, KEM_USAGES, LABEL_DKP_PRK, LABEL_SK, init_dhkemPrimitives, Bignum, init_bignum, LABEL_CANDIDATE, ORDER_P_256, ORDER_P_384, ORDER_P_521, PKCS8_ALG_ID_P_256, PKCS8_ALG_ID_P_384, PKCS8_ALG_ID_P_521, EC_P_256_PARAMS, EC_P_384_PARAMS, EC_P_521_PARAMS, Ec, init_ec, init_xCryptoKey, init_xCurve, init_hybridkem, AEAD_USAGES, init_aeadEncryptionContext, _endianTestBuffer, _endianTestBytes, isLE2, init_noble, init_hash2, _HMAC, hmac, init_hmac, init_md2, U32_MASK642, _32n2, init_u642, init_sha2, _0n, _1n, _2n, _7n, _256n, _0x71n, SHA3_PI, SHA3_ROTL, _SHA3_IOTA, IOTAS, SHA3_IOTA_H, SHA3_IOTA_L, init_sha3, init_modular, init_curve, init_montgomery, init_mod, AesGcmContext, Aes128Gcm, Aes256Gcm, init_aesGcm, init_exportOnly, init_emitNotSupported, LABEL_SEC, ExporterContextImpl, RecipientExporterContextImpl, SenderExporterContextImpl, init_exporterContext, EncryptionContextImpl, init_encryptionContext, __classPrivateFieldGet, __classPrivateFieldSet, _Mutex_locked, Mutex, init_mutex, __classPrivateFieldGet2, __classPrivateFieldSet2, _RecipientContextImpl_mutex, RecipientContextImpl, init_recipientContext, __classPrivateFieldGet3, __classPrivateFieldSet3, _SenderContextImpl_mutex, SenderContextImpl, init_senderContext, LABEL_BASE_NONCE, LABEL_EXP, LABEL_INFO_HASH, LABEL_KEY, LABEL_PSK_ID_HASH, LABEL_SECRET, SUITE_ID_HEADER_HPKE, CipherSuiteNative, init_cipherSuiteNative, DhkemP256HkdfSha256Native, DhkemP384HkdfSha384Native, DhkemP521HkdfSha512Native, init_dhkemNative, CipherSuite, DhkemP256HkdfSha256, DhkemP384HkdfSha384, DhkemP521HkdfSha512, HkdfSha256, HkdfSha384, HkdfSha512, init_native, ALG_NAME, PKCS8_ALG_ID_X25519, BASE_POINT_X25519, X25519, init_x25519, DhkemX25519HkdfSha256, init_dhkemX25519, PKCS8_ALG_ID_X448, init_x448, init_dhkemX448, init_mod2, init_hpke2, isLE3, wrapCipher, init_utils2, encodeStr, sigma16, sigma32, sigma16_32, sigma32_32, BLOCK_LEN, BLOCK_LEN32, MAX_COUNTER, U32_EMPTY, _XorStreamPRG, createPRG, init_arx, Poly1305, poly1305, init_poly1305, chacha_exports, chacha20orig, chacha20, xchacha20, chacha8, chacha12, ZEROS16, updatePadded, ZEROS32, _poly1305_aead, chacha20poly1305, xchacha20poly1305, rngChacha20, rngChacha8, init_chacha, init_makeAead, init_makeKdfImpl, init_makeDhKem, init_makeHpke, defaultRng, init_rng, crypto2, init_cryptoNode, isLE4, swap32IfBE3, hasHexBuiltin2, hexes2, asciis, Hash, init_utils3, HashMD3, SHA256_IV3, SHA384_IV3, SHA512_IV3, init_md3, U32_MASK643, _32n3, shrSH3, shrSL3, rotrSH3, rotrSL3, rotrBH3, rotrBL3, rotlSH2, rotlSL2, rotlBH2, rotlBL2, add3L3, add3H3, add4L3, add4H3, add5L3, add5H3, init_u643, SHA256_K, SHA256_W, SHA256, K512, SHA512_Kh, SHA512_Kl, SHA512_W_H, SHA512_W_L, SHA512, SHA384, sha2563, sha5122, sha3842, init_sha22, _0n2, _1n2, isPosBig, bitMask, notImplemented, init_utils4, _0n3, _1n3, _2n2, _3n, _4n, _5n, _7n2, _8n, _9n, _16n, isNegativeLE, FIELD_FIELDS, init_modular2, _0n4, _1n4, pointPrecomputes, pointWindowSizes, wNAF, init_curve2, _0n5, _1n5, _2n3, _8n2, PrimeEdwardsPoint, init_edwards, os2ip, _DST_scalar, init_hash_to_curve, _0n6, _1n6, _2n4, init_montgomery2, ed25519_exports, _0n7, _1n7, _2n5, _3n2, _5n2, _8n3, ed25519_CURVE_p, ed25519_CURVE, ED25519_SQRT_M1, Fp, Fn, ed25519Defaults, ed25519, ed25519ctx, ed25519ph, x25519, ELL2_C1, ELL2_C2, ELL2_C3, ELL2_C1_EDWARDS, ed25519_hasher, SQRT_M1, SQRT_AD_MINUS_ONE, INVSQRT_A_MINUS_D, ONE_MINUS_D_SQ, D_MINUS_ONE_SQ, invertSqrt, MAX_255B, bytes255ToNumberLE, _RistrettoPoint, ristretto255, ristretto255_hasher, ED25519_TORSION_SUBGROUP, edwardsToMontgomery, RistrettoPoint, hashToCurve, encodeToCurve, hashToRistretto255, hash_to_ristretto255, init_ed25519, _0n8, _1n8, _2n6, _7n3, _256n2, _0x71n2, SHA3_PI2, SHA3_ROTL2, _SHA3_IOTA2, IOTAS2, SHA3_IOTA_H2, SHA3_IOTA_L2, rotlH, rotlL, Keccak, genShake, shake2562, init_sha32, ed448_exports, ed448_CURVE, E448_CURVE, shake256_114, shake256_64, _1n9, _2n7, _3n3, _4n2, _11n, _22n, _44n, _88n, _223n, Fp2, Fn2, Fp448, Fn448, ED448_DEF, ed448, ed448ph, E448, x448, ELL2_C12, ELL2_J, ed448_hasher, ONE_MINUS_D, ONE_MINUS_TWO_D, SQRT_MINUS_D, INVSQRT_MINUS_D, invertSqrt2, _DecafPoint, decaf448, decaf448_hasher, ED448_TORSION_SUBGROUP, DecafPoint, hashToCurve2, encodeToCurve2, hashToDecaf448, hash_to_decaf448, edwardsToMontgomery2, init_ed448, HMAC, hmac2, init_hmac2, divNearest, DERErr, DER, _0n9, _1n10, _2n8, _3n4, _4n3, init_weierstrass, init_shortw_utils, nist_exports, p256_CURVE, p384_CURVE, p521_CURVE, Fp256, Fp384, Fp521, p256, p256_hasher, p384, p384_hasher, p521, secp256r1, secp384r1, secp521r1, p521_hasher, init_nist, init_makeNobleSignatureImpl, defaultCryptoProvider, init_provider, init_getCiphersuiteImpl, init_resumption, SHA256_K2, SHA256_W2, SHA2_32B, _SHA256, K5122, SHA512_Kh2, SHA512_Kl2, SHA512_W_H2, SHA512_W_L2, SHA2_64B, _SHA512, _SHA384, sha2564, sha5123, sha3843, init_sha23, _HMAC2, hmac3, init_hmac3, init_makeHashImpl2, init_makeNobleSignatureImpl2, BLOCK_SIZE, ZEROS162, ZEROS322, POLY, mul2, swapLE, estimateWindow, GHASH, Polyval, ghash, polyval, init_polyval, BLOCK_SIZE2, BLOCK_SIZE32, EMPTY_BLOCK, POLY2, sbox, rotr32_8, rotl32_8, tableEncoding, xPowers, gcm, _CMAC, cmac, init_aes, init_makeAead2, init_makeKdfImpl2, init_makeDhKem2, init_makeHpke2, init_rng2, nobleCryptoProvider, init_provider2, mlsPublicMessageEncoder, encodeMlsPublicMessage, mlsWelcomeEncoder, encodeMlsWelcome, mlsPrivateMessageEncoder, encodeMlsPrivateMessage, mlsGroupInfoEncoder, encodeMlsGroupInfo, mlsKeyPackageEncoder, encodeMlsKeyPackage, mlsMessageContentEncoder, encodeMlsMessageContent, decodeMlsMessageContent, mlsMessageEncoder, encodeMlsMessage, decodeMlsMessage, init_message, greaseValues, defaultGreaseConfig, init_grease, init_defaultCapabilities, init_src, CANONICAL_UUID, ASCII_UUID_ANY_CASE, CANONICAL_UUID_BYTES, init_mls_sender_binding, DEFAULT_CIPHERSUITE, rejectStandaloneProposals, MLSGroupManager, init_mls_group, DOMAIN, NONCE_BYTES3, init_owner_sync, init_mls_delivery_order, init_mls_presend_epoch, dist_exports2, init_dist2, DIR_MODE, FILE_MODE, init_secure_file, SYNC_LOCK_STALE_MS, pendingKpPath, DECRYPTED_IDS_FILE, init_mls_state, init_mls_kp_pool, PACKAGE, FALLBACK, MAX_LEN, DISALLOWED, init_client_version, RoomSendNotWritten, init_room_send_error, TURN_TOKEN_TTL_MS, TURN_TOKEN_MAX, PARKED_TOMBSTONE_MAX, TurnTokenRegistry, init_turn_token, OWN_STALE_RE, MAX_FILE_SEND_BYTES, MAX_FILE_SEND_PATH_BYTES, ROOM_ID_RE, MIME_BY_EXT, OUTBOX_FOLDER, KEEP_ASIDE, DENY_BASENAME, DENY_COMPONENT, FileSendPolicy, init_file_send_policy, TOOL_INVOKE_SPAN_NAME, UNCLASSIFIED_ERROR, KNOWN_TOOL_ERROR_CODES, KNOWN_CODES, CLASS_NAME_RE, TOOL_NAME_RE, ERROR_TEXT_CODES, _conversation, init_tool_telemetry, TURN_FAILURE_CODES, CODES, TurnFailure, NOTICE_RE, init_turn_failure, ROOM_ID_RE2, REASON, NO_ATTACHMENT_NOTICE, NOTICE_RE2, NOTICE_MAX, FILE_SEND_RULE_CONTENT, FILE_SEND_UNAVAILABLE, RENDERED_LINES, RENDERED_MAX, SYSTEM_PREFIX_RE, CF_RE, FILE_NOUN, FILENAME, SENT_PAST, SENT_BARE, TO_THIS_MESSAGE, CLAIM_MAX, AV_HISTORY_PREFIX, SENDING_NOW, HERES, SEE_ATTACHED, OWN_UPLOAD, ATTACHABLE, PASSIVE, ATTACHED_OPENER, PAST_MARK, init_file_send_failure, CredentialStore, init_credential_store, init_crypto_helpers, STATE_FILE, LEGACY_STATE_FILE, init_state, ACTIVATION_DOMAIN, UUID_RE2, init_transport2, A2ALogGate, init_a2a_log_gate, NOT_A_MEMBER_DETAIL, init_mls_membership_probe, FIRST_DIRTY_DELAY_MS, RETRY_BASE_DELAYS_MS, MAX_RETRY_DELAY_MS, JITTER_FRACTION, HistoryBackupScheduler, init_history_backup_scheduler, FILE_MODE2, init_history_recovery_file, TENANT_ID_PATTERN, DIR_MODE2, FILE_MODE3, HISTORY_RECOVERY_VERIFY_TIMEOUT_MS, VERIFY_TIMEOUT_MESSAGE, HistoryRecoveryVerificationTimeoutError, init_history_recovery_code, ACTIONS, init_decision_reply, KP_BACKOFF_INITIAL_MS, KP_BACKOFF_MAX_MS, KP_RACE_RETRY_MS, KP_RACE_RETRY_LIMIT, consoleLogger, short2, WelcomeKeyPackageBackoff, init_welcome_kp_backoff, ZWJ, DEFAULT_IGNORABLE, KEPT_IGNORABLE, OBJECT_REPLACEMENT, CONTROL, KEPT_CONTROL, INVISIBLE2, BRAILLE_BLANK, init_invisible_text, UUID_RE3, CANONICAL_UUID_RE, WELCOME_ROUTING_FIELDS, UNKNOWN_DEVICE_LABEL, REMAP_REFUSED_NOTICE, NOTICE_PER_CONVERSATION_MS, NOTICE_GLOBAL_WINDOW_MS, NOTICE_GLOBAL_CAP, SecurityNoticeLimiter, KP_IDENTITY_BACKOFF_INITIAL_MS, KP_IDENTITY_BACKOFF_MAX_MS, KpIdentityBackoff, SECURITY_SUMMARY_MIN_MS, SECURITY_SUMMARY_MAX_MS, SecurityCounters, init_dm_group_pins, health, healthDetail, selfTestRun, SENDER_BINDING_SELF_TEST_FAILED_CODE, SENDER_BINDING_SELF_TEST_TOOL, incidentTaken, init_sender_binding, DELIVERY_PULL_MS, DELIVERY_TICK_MS, FULL_WELCOME_SWEEP_MS, MAX_QUIET_PULL_MS, A2A_QUIET_RECONCILE_MS, A2A_QUIET_JITTER_MS, DeliveryCadence, A2aReconcileCadence, init_delivery_cadence, CONTROL_MESSAGE_TYPES, init_message_kind, LOCAL_API_TOKEN_FILE, LOCAL_API_TOKEN_HEADER, LOCAL_API_BODY_LIMIT, LOCAL_API_HEADERS_TIMEOUT_MS, LOCAL_API_REQUEST_TIMEOUT_MS, LOCAL_API_MAX_CONNECTIONS, LOCAL_API_TOKEN_HINT, TOKEN_RE, LocalApiTokenError, LOOPBACK_REMOTES, LOOPBACK_HOSTNAMES, BodyTooLargeError, REFUSAL_RESPONSE, KNOWN_ROUTES, tokensByPort, init_local_api, http_handlers_exports, init_http_handlers, InvalidJsonError, init_local_api_server, init_atomic_file, ONTURN_ENV, ONTURN_RECORDS_FILE, NONCE_RE, MAX_MEMBERS_PER_GROUP, MAX_GROUPS, MAX_ROOTS, MAX_NONCES, MAX_RECORDS_BYTES, MAX_RECORDS_WRITE_BYTES, BOOT_TOLERANCE_S, PS_LINE, NONCE_IN_ENV, PS_ENV, defaultSignal, OnTurnStopIncomplete, shared, OnTurnRegistry, init_onturn_stop, AV_EFFECTIVE_V1, DEFAULT_OFF_CALLBACK_TIMEOUT_MS, DEFAULT_STOP_HOOK_TIMEOUT_MS, DEFAULT_NOT_ON_BOUND_S, MIN_NOT_ON_BOUND_S, MAX_NOT_ON_BOUND_S, BOUND_RETRY_BASE_MS, BOUND_RETRY_MAX_MS, NOT_ON_BOUND_FIELD, INTENT_SEQ_FIELD, WAS_ON_MARKER_FILE, OffCallbackTimeout, OnTurnStopUnverified, StopHookTimeout, processOnPeriodSeq, PROCESS_BOOT_ID, FullPermissionsCore, init_full_permissions, OFF_SEQUENCE_FAILED_CODE, OFF_SEQUENCE_TOOL_NAME, OFF_SEQUENCE_SPAN, BOUND_STOP_SPAN, FAMILY_RE, NOTICE_RE3, ROOT_EVICTED_SPAN, init_off_sequence_report, history_backup_client_exports, HISTORY_RESTORE_TIMEOUT_MS, HISTORY_RESTORE_RESPONSE_MAX_BYTES, HISTORY_ENVELOPE_MIN_BYTES, HISTORY_AAD_PREFIX, UUID_RE4, GENERATION_RESPONSE_KEYS, utf8Encoder, utf8Decoder, HistoryBackupClient, init_history_backup_client, openclaw_compat_exports, defaultImporter, HEARTBEAT_CANDIDATES, _heartbeatFn, init_openclaw_compat, mcp_proxy_helpers_exports, init_mcp_proxy_helpers, ROOM_AGENT_TYPES, STATUS_ALERT_TEXT_LIMITS, STATUS_ALERT_SEVERITIES, CREDENTIAL_MESSAGE_TYPES, CATCHUP_MESSAGE_TYPES, ROOM_PROTOCOL_TYPES, POLL_INTERVAL_MS, RECONNECT_BASE_MS, UUID_RE5, KpIdentityRefused, RECONNECT_MAX_MS, PENDING_POLL_INTERVAL_MS, PENDING_POLL_SILENCE_MS, HISTORY_RESTORE_TIMEOUT_MS2, ROOM_ROSTER_REFRESH_TIMEOUT_MS, ROOM_ROSTER_OWNER_MAX_AGE_MS, TimedSet, HISTORY_UPLOAD_TIMEOUT_MS, CANONICAL_TIMESTAMP_RE, OUTBOUND_DEDUPE_WINDOW_MS, OUTBOUND_DEDUPE_MAX_SUPPRESS_MS, OUTBOUND_DEDUPE_MAX, OUTBOUND_DEDUPE_TYPES, RETRY_CANDIDATE_TTL_MS, RETRY_CANDIDATE_MAX, _turnConversation, _turnTokenStore, _drTurnStore, PERSON_INVOLVED_WINDOW_MS, ATTESTED_INBOUND_MAX, UNMAPPED_RECONCILE_COOLDOWN_MS, TOPIC_ID_RE, ROOM_FULFIL_COOLDOWN_MS, SecureChannel, init_channel, FAMILY_RE2, OwnerEpochStore, init_owner_epoch, init_types, DEFAULT_API_URL, DEFAULT_HTTP_PORT, init_account_config, init_lifecycle, OPENCLAW_FILE_TOOL, _turnSandbox, MEDIA_ROOTS_CANDIDATES, _mediaRootsFn, _mediaRootsGapLogged, OpenClawTurnRuns, WORKSPACE_CANDIDATES, SANDBOX_STATUS_CANDIDATES, OpenClawFileSendError, init_openclaw_file_send, init_openclaw_sender, _ocRuntime, _channels, _legacyTurnRuns, agentVaultPlugin, init_openclaw_plugin, init_gateway_send, init_llm_response_parser, OPENROUTER_PRICING, init_llm_pricing_openrouter, LEGACY_PRICING, PRICING, init_llm_cost, init_url_origin, traceStore, init_fetch_interceptor, init_tool_audit, init_harness_compat, AUTH_RE, BILLING_RE, RATE_RE, MODEL_GONE_RE, UNREACHABLE_RE, init_openclaw_turn_failure, SHUTDOWN_NOTICE_MS, KEEP_UNANSWERED_MS, OpenClawShutdownNotices, init_openclaw_shutdown_notice, init_openclaw_room_taint, _shutdownNotices, managedRoutesRequested, _turnRuns, init_openclaw_entry, util, objectUtil, ZodParsedType, getParsedType, init_util, ZodIssueCode, ZodError, init_ZodError, errorMap, en_default, init_en, overrideErrorMap, init_errors2, makeIssue, ParseStatus, INVALID, DIRTY, OK, isAborted, isDirty, isValid, isAsync, init_parseUtil, init_typeAliases, errorUtil, init_errorUtil, ParseInputLazyPath, handleResult, ZodType, cuidRegex, cuid2Regex, ulidRegex, uuidRegex, nanoidRegex, jwtRegex, durationRegex, emailRegex, _emojiRegex, emojiRegex, ipv4Regex, ipv4CidrRegex, ipv6Regex, ipv6CidrRegex, base64Regex, base64urlRegex, dateRegexSource, dateRegex, ZodString, ZodNumber, ZodBigInt, ZodBoolean, ZodDate, ZodSymbol, ZodUndefined, ZodNull, ZodAny, ZodUnknown, ZodNever, ZodVoid, ZodArray, ZodObject, ZodUnion, getDiscriminator, ZodDiscriminatedUnion, ZodIntersection, ZodTuple, ZodRecord, ZodMap, ZodSet, ZodFunction, ZodLazy, ZodLiteral, ZodEnum, ZodNativeEnum, ZodPromise, ZodEffects, ZodOptional, ZodNullable, ZodDefault, ZodCatch, ZodNaN, ZodBranded, ZodPipeline, ZodReadonly, late, ZodFirstPartyTypeKind, stringType, numberType, nanType, bigIntType, booleanType, dateType, symbolType, undefinedType, nullType, anyType, unknownType, neverType, voidType, arrayType, objectType, strictObjectType, unionType, discriminatedUnionType, intersectionType, tupleType, recordType, mapType, setType, functionType, lazyType, literalType, enumType, nativeEnumType, promiseType, effectsType, optionalType, nullableType, preprocessType, pipelineType, init_types2, init_external, init_v3, util_exports, Cached, EVALUATING, captureStackTrace, allowsEval, getParsedType2, propertyKeyTypes, primitiveTypes, NUMBER_FORMAT_RANGES, BIGINT_FORMAT_RANGES, highSurrogate, Class, installing, broke, breaker, CONSTANT_CATCH, init_util2, _a2, _zodDesc, _E, $ZodAsyncError, $ZodEncodeError, globalConfig, init_core, _messageDesc, _issuesDesc, _installedToString, initializer, $ZodError, $ZodRealError, init_errors3, _parse, parse, _parseAsync, parseAsync, _safeParse, safeParse, _safeParseAsync, safeParseAsync, COMPILE_INVALID, COMPILE_FALLBACK, validate, validateAsync, _encode, _decode, _encodeAsync, _decodeAsync, _safeEncode, _safeDecode, _safeEncodeAsync, _safeDecodeAsync, init_parse, cuid, cuid2, ulid, xid, ksuid, nanoid, duration, guid, uuid2, email, _emoji, ipv4, ipv6, cidrv4, cidrv6, base64, base64url, httpProtocol, e164, dateSource, date, anyString, integer, number, boolean, _null, lowercase, uppercase, init_regexes, $ZodCheck, _whenHasLength, numericOriginMap, $ZodCheckLessThan, $ZodCheckGreaterThan, $ZodCheckMultipleOf, $ZodCheckNumberFormat, $ZodCheckMaxLength, $ZodCheckMinLength, $ZodCheckLengthEquals, $ZodCheckStringFormat, $ZodCheckRegex, $ZodCheckLowerCase, $ZodCheckUpperCase, $ZodCheckIncludes, $ZodCheckStartsWith, $ZodCheckEndsWith, $ZodCheckOverwrite, init_checks, Doc, init_doc, version, init_versions, $ZodType, toStandardResult, $ZodString, $ZodStringFormat, $ZodGUID, $ZodUUID, $ZodEmail, URL_BAD_FORMAT, URL_UNPARSEABLE, asciiTabOrNewline, $ZodURL, $ZodEmoji, $ZodNanoID, $ZodCUID, $ZodCUID2, $ZodULID, $ZodXID, $ZodKSUID, $ZodISODateTime, $ZodISODate, $ZodISOTime, $ZodISODuration, $ZodIPv4, ipv6Alphabet, $ZodIPv6, $ZodCIDRv4, $ZodCIDRv6, base64Charset, $ZodBase64, base64urlCharset, $ZodBase64URL, $ZodE164, $ZodJWT, $ZodNumber, $ZodNumberFormat, $ZodBoolean, $ZodNull, $ZodUnknown, $ZodNever, arraySize, $ZodArray, NO_SYMBOL_KEYS, $ZodObject, $ZodObjectJIT, $ZodUnion, $ZodDiscriminatedUnion, $ZodIntersection, $ZodRecord, $ZodEnum, $ZodLiteral, $ZodTransform, $ZodOptional, $ZodExactOptional, $ZodNullable, $ZodDefault, $ZodPrefault, $ZodNonOptional, $ZodCatch, $ZodPipe, $ZodPreprocess, $ZodReadonly, $ZodCustom, init_schemas, $ZodCyclicError, STATE, NO_ISSUES, recursive, NONE, ASSUMED, PROVEN, handoff, open5, memo, init_memoizer, error, init_en2, init_locales, _a3, $ZodRegistry, globalRegistry, init_registries, init_compile, init_api, FOLDABLE_KEYS, UNION_KEYS, createToJSONSchemaMethod, createStandardJSONSchemaMethod, init_to_json_schema, narrowMin, narrowMax, narrowBoth, addDivisor, addPattern, intersectMime, setFormat, minContributor, maxContributor, formatContributor, contributors, formatMap, exactPatterns, exactPattern, stringProcessor, numberProcessor, booleanProcessor, bigintProcessor, symbolProcessor, nullProcessor, undefinedProcessor, voidProcessor, neverProcessor, anyProcessor, unknownProcessor, dateProcessor, enumProcessor, literalProcessor, nanProcessor, templateLiteralProcessor, fileProcessor, successProcessor, customProcessor, functionProcessor, transformProcessor, mapProcessor, setProcessor, arrayProcessor, objectProcessor, unionProcessor, intersectionProcessor, tupleProcessor, pendingRecords, recordProcessor, nullableProcessor, nonoptionalProcessor, UNREPRESENTABLE_DEFAULT, defaultProcessor, prefaultProcessor, catchProcessor, pipeProcessor, readonlyProcessor, promiseProcessor, optionalProcessor, lazyProcessor, allProcessors, init_json_schema_processors, init_json_schema, init_core2, init_parse2, ZodMiniType, ZodMiniObject, init_schemas2, init_checks2, init_iso, init_coerce, init_external2, init_v4_mini, init_zod_compat, init_checks3, _installedErrorProtos, initializer2, ZodRealError, init_errors4, parse2, parseAsync2, safeParse3, safeParseAsync3, encode3, decode2, encodeAsync2, decodeAsync2, safeEncode2, safeDecode2, safeEncodeAsync2, safeDecodeAsync2, init_parse3, ZodType2, _ZodString, ZodString2, ZodStringFormat, ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration, ZodEmail, ZodGUID, ZodUUID, ZodURL, ZodEmoji, ZodNanoID, ZodCUID, ZodCUID2, ZodULID, ZodXID, ZodKSUID, ZodIPv4, ZodIPv6, ZodCIDRv4, ZodCIDRv6, ZodBase64, ZodBase64URL, ZodE164, ZodJWT, ZodNumber2, ZodNumberFormat, ZodBoolean2, ZodNull2, ZodUnknown2, ZodNever2, ZodArray2, ZodObject2, ZodUnion2, ZodDiscriminatedUnion2, ZodIntersection2, ZodRecord2, ZodEnum2, ZodLiteral2, ZodTransform, ZodOptional2, ZodExactOptional, ZodNullable2, ZodDefault2, ZodPrefault, ZodNonOptional, ZodCatch2, ZodPipe, ZodPreprocess, ZodReadonly2, ZodCustom, init_schemas3, ZodFirstPartyTypeKind2, init_compat, iso_exports2, init_iso2, init_coerce2, init_external3, init_classic, init_v4, LATEST_PROTOCOL_VERSION, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY, JSONRPC_VERSION, AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest, JSONRPCNotificationSchema, isJSONRPCNotification, JSONRPCResultResponseSchema, isJSONRPCResultResponse, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, isInitializeRequest, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError, init_types3, init_interfaces, ignoreOverride, defaultOptions, getDefaultOptions, init_Options, getRefs, init_Refs, init_errorMessages, getRelativePath, init_getRelativePath, init_any, init_array2, init_bigint, init_boolean, init_branded, parseCatchDef, init_catch, integerDateParser, init_date, init_default, init_effects, init_enum, isJsonSchema7AllOfType, init_intersection, init_literal, emojiRegex2, zodPatterns, ALPHA_NUMERIC, init_string2, init_record, init_map, init_nativeEnum, init_never, init_null, primitiveMappings, asAnyOf, init_union, init_nullable, init_number2, init_object, parseOptionalDef, init_optional2, parsePipelineDef, init_pipeline, init_promise, init_set, init_tuple, init_undefined, init_unknown, parseReadonlyDef, init_readonly, selectParser, init_selectParser, get$ref, addMeta, init_parseDef, init_parseTypes, zodToJsonSchema, init_zodToJsonSchema, init_esm, init_zod_json_schema_compat, DEFAULT_REQUEST_TIMEOUT_MSEC, Protocol, init_protocol, require_code, require_scope, require_codegen, require_util, require_names, require_errors, require_boolSchema, require_rules, require_applicability, require_dataType, require_defaults, require_code2, require_keyword, require_subschema, require_fast_deep_equal, require_json_schema_traverse, require_resolve, require_validate, require_validation_error, require_ref_error, require_compile, require_data, require_utils, require_schemes, require_fast_uri, require_uri, require_core, require_id, require_ref, require_core2, require_limitNumber, require_multipleOf, require_ucs2length, require_limitLength, require_pattern, require_limitProperties, require_required, require_limitItems, require_equal, require_uniqueItems, require_const, require_enum, require_validation, require_additionalItems, require_items, require_prefixItems, require_items2020, require_contains, require_dependencies, require_propertyNames, require_additionalProperties, require_properties, require_patternProperties, require_not, require_anyOf, require_oneOf, require_allOf, require_if, require_thenElse, require_applicator, require_format, require_format2, require_metadata, require_draft7, require_types, require_discriminator, require_json_schema_draft_07, require_ajv, require_formats, require_limit, require_dist, import_ajv, import_ajv_formats, AjvJsonSchemaValidator, init_ajv_provider, ExperimentalServerTasks, init_server, init_helpers, Server, init_server2, COMPLETABLE_SYMBOL, McpZodTypeKind, init_completable, init_uriTemplate, TOOL_NAME_REGEX, init_toolNameValidation, ExperimentalMcpServerTasks, init_mcp_server, init_zod, McpServer, EMPTY_OBJECT_JSON_SCHEMA, EMPTY_COMPLETION_RESULT, init_mcp, RequestError, toRequestError, GlobalRequest, Request2, newHeadersFromIncoming, wrapBodyStream, newRequestFromIncoming, getRequestCache, requestCache, incomingKey, urlKey, headersKey, abortControllerKey, getAbortController, requestPrototype, newRequest, responseCache, getResponseCache, cacheKey, GlobalResponse, Response2, buildOutgoingHttpHeaders, X_ALREADY_SENT, outgoingEnded, handleRequestError, handleFetchError, handleResponseError, flushHeaders, responseViaCache, isPromise, responseViaResponseObject, getRequestListener, init_dist22, require_content_type, import_content_type, init_mediaType, DEFAULT_MAX_REQUEST_BODY_SIZE, MAX_BATCH_SIZE, init_requestBody, DEFAULT_SSE_KEEP_ALIVE_MS, MAX_TIMER_DELAY_MS, init_sseKeepAlive, WebStandardStreamableHTTPServerTransport, init_webStandardStreamableHttp, StreamableHTTPServerTransport, init_streamableHttp, AgentVaultMcpServer, init_mcp_server2, warnedNoAuth, init_mcp_handlers, init_skill_manifest, init_skill_invoker, spanBuffer, init_skill_telemetry, PolicyEnforcer, init_policy_enforcer, BARE, NEEDS_ESCAPE, LITERAL_IN_ANSI_C, HEX, init_shell_word, VERSION, init_index;
21444
21535
  var init_dist = __esm({
21445
21536
  "../plugin/dist/index.js"() {
21446
21537
  "use strict";
@@ -33588,10 +33679,24 @@ var init_dist = __esm({
33588
33679
  };
33589
33680
  }
33590
33681
  });
33682
+ init_invisible_text = __esm2({
33683
+ "../crypto/dist/invisible-text.js"() {
33684
+ "use strict";
33685
+ ZWJ = 8205;
33686
+ DEFAULT_IGNORABLE = new RegExp("\\p{Default_Ignorable_Code_Point}", "gu");
33687
+ KEPT_IGNORABLE = /* @__PURE__ */ new Set([8204, ZWJ, 65039]);
33688
+ OBJECT_REPLACEMENT = new RegExp(String.fromCodePoint(65532), "g");
33689
+ CONTROL = new RegExp("\\p{Cc}", "gu");
33690
+ KEPT_CONTROL = /* @__PURE__ */ new Set([9, 10, 13]);
33691
+ INVISIBLE2 = /[\s\p{Cf}\p{Default_Ignorable_Code_Point}]/gu;
33692
+ BRAILLE_BLANK = String.fromCodePoint(10240);
33693
+ }
33694
+ });
33591
33695
  init_dm_group_pins = __esm2({
33592
33696
  "src/dm-group-pins.ts"() {
33593
33697
  "use strict";
33594
33698
  init_mls_sender_binding();
33699
+ init_invisible_text();
33595
33700
  UUID_RE3 = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
33596
33701
  CANONICAL_UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
33597
33702
  WELCOME_ROUTING_FIELDS = [
@@ -35159,6 +35264,8 @@ var init_dist = __esm({
35159
35264
  "decision_response",
35160
35265
  "artifact_share"
35161
35266
  ]);
35267
+ STATUS_ALERT_TEXT_LIMITS = { title: 120, message: 2e3 };
35268
+ STATUS_ALERT_SEVERITIES = /* @__PURE__ */ new Set(["info", "warning", "error", "critical"]);
35162
35269
  CREDENTIAL_MESSAGE_TYPES = /* @__PURE__ */ new Set([
35163
35270
  "credential_grant",
35164
35271
  "credential_revoke",
@@ -35344,6 +35451,56 @@ var init_dist = __esm({
35344
35451
  /** #1094: never let one slow report hold up the rest. */
35345
35452
  static _KEY_PROOF_FETCH_TIMEOUT_MS = 1e4;
35346
35453
  _keyProofTimer = null;
35454
+ /**
35455
+ * #1889: a group the server refuses a proof for — 404 "MLS group not found",
35456
+ * or 403 "Not a member of this group" outside the join grace — is not asked
35457
+ * again for this long (Hermes's #1543 window). A Welcome into the group, or a
35458
+ * `room_joined` for its room, ends the pause at once.
35459
+ */
35460
+ static _KEY_PROOF_PAUSE_MS = 24 * 60 * 60 * 1e3;
35461
+ /**
35462
+ * #1889 review: a 403 pauses for ONE hour, not a day. A live member whose
35463
+ * roster entry lags still answers 403, and a paused proof reads as `stale`
35464
+ * to the lockout detector, which then cannot repair it on epoch_behind. An
35465
+ * hour bounds that while still cutting a dead room's 144 posts a day to 24.
35466
+ */
35467
+ static _KEY_PROOF_403_PAUSE_MS = 60 * 60 * 1e3;
35468
+ /** When this process started: the join grace also covers a join made just before a restart. */
35469
+ _processStartedAt = Date.now();
35470
+ /**
35471
+ * #1889 review: one room's state is changed by one task at a time. The
35472
+ * reconcile's drop, `joinRoom` and a room Welcome's install all run under
35473
+ * the room's lock, so a re-admit can never be deleted half-way through.
35474
+ */
35475
+ _roomLocks = /* @__PURE__ */ new Map();
35476
+ /**
35477
+ * #1889 review: `POST /mls/rooms/{id}/init` runs while `joinRoom` holds the
35478
+ * room's lock, and a delivery-queue Welcome for that room waits on the lock
35479
+ * (the pull is serial). Without a bound, a hung init stalled every group's
35480
+ * delivery for Node's 300 s default. It is the only network call made under
35481
+ * a room lock. Static and writable so a test can shorten it.
35482
+ */
35483
+ static ROOM_INIT_FETCH_TIMEOUT_MS = 1e4;
35484
+ /**
35485
+ * #1889 / #1542: right after a join the server roster can lag this device,
35486
+ * and that lag answers 403 too. Inside this window a 403 pauses nothing: a
35487
+ * paused proof would read as never_proved.
35488
+ */
35489
+ static _KEY_PROOF_JOIN_GRACE_MS = 30 * 60 * 1e3;
35490
+ /** The backend's detail for a device outside the roster (mls.py report_key_proof). */
35491
+ static KEY_PROOF_NOT_A_MEMBER_DETAIL = "Not a member of this group";
35492
+ /** #1889: group id -> ms until which its key proofs are paused. */
35493
+ _keyProofPausedUntil = /* @__PURE__ */ new Map();
35494
+ /** #1889: group id -> ms this device last joined it from a Welcome. */
35495
+ _mlsGroupJoinedAt = /* @__PURE__ */ new Map();
35496
+ /**
35497
+ * #1889: room id -> how many times `joinRoom` ran for it. A room reconcile
35498
+ * prunes nothing whose count moved while its GET was in flight: the
35499
+ * response predates that (re)join.
35500
+ */
35501
+ _roomJoinGen = /* @__PURE__ */ new Map();
35502
+ /** #1889: the room reconcile in flight, so overlapping asks share one GET. */
35503
+ _roomReconcileInFlight = null;
35347
35504
  _a2aReconcileTimer = null;
35348
35505
  _deliveryPulling = false;
35349
35506
  _drDeliveryPulling = false;
@@ -37606,7 +37763,7 @@ ${text}`,
37606
37763
  * #952 — sends held because MLS is expected for this conversation but the
37607
37764
  * group is not joined yet.
37608
37765
  *
37609
- * ⚠️ IN MEMORY ONLY. These entries hold PLAINTEXT. `_persisted` is written to
37766
+ * ⚠ IN MEMORY ONLY. These entries hold PLAINTEXT. `_persisted` is written to
37610
37767
  * disk, and the product's entire premise is that plaintext does not rest
37611
37768
  * where it does not have to; a crash losing a held greeting is the correct
37612
37769
  * trade. This is why the existing `outboundQueue` could not be reused — that
@@ -38515,7 +38672,7 @@ ${text}`,
38515
38672
  */
38516
38673
  sendActivitySpan(spanData) {
38517
38674
  if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
38518
- const pluginVersion = true ? "0.23.72" : "0.0.0-dev";
38675
+ const pluginVersion = true ? "0.23.74" : "0.0.0-dev";
38519
38676
  const agentName = this.config.agentName ?? "Agent";
38520
38677
  const resource = {
38521
38678
  "service.name": "agentvault-agent",
@@ -38826,10 +38983,19 @@ ${text}`,
38826
38983
  * Encryption is handled by MLS group operations, not per-member DR sessions.
38827
38984
  */
38828
38985
  async joinRoom(roomData) {
38986
+ if (!this._persisted) {
38987
+ throw new Error("Channel not initialized");
38988
+ }
38989
+ this._roomJoinGen.set(roomData.roomId, (this._roomJoinGen.get(roomData.roomId) ?? 0) + 1);
38990
+ return this._withRoomLock(roomData.roomId, () => this._joinRoomLocked(roomData));
38991
+ }
38992
+ async _joinRoomLocked(roomData) {
38829
38993
  if (!this._persisted) {
38830
38994
  throw new Error("Channel not initialized");
38831
38995
  }
38832
38996
  this._roomRosterRefreshed.delete(roomData.roomId);
38997
+ const priorGroup = this._persisted?.rooms?.[roomData.roomId]?.mlsGroupId;
38998
+ if (priorGroup) this._keyProofPausedUntil.delete(priorGroup);
38833
38999
  this._applyRoomAudience(roomData.roomId, roomData.audience);
38834
39000
  await libsodium_wrappers_default.ready;
38835
39001
  const myDeviceId = this._deviceId;
@@ -38885,7 +39051,11 @@ ${text}`,
38885
39051
  },
38886
39052
  body: JSON.stringify({
38887
39053
  member_device_ids: roomData.members.map((m2) => m2.deviceId)
38888
- })
39054
+ }),
39055
+ // #1889 review: bounded, because this runs under the room lock. A
39056
+ // timeout lands in the catch below: no group id is stored, so the
39057
+ // next room_joined (or the owner's Welcome) still completes the room.
39058
+ signal: AbortSignal.timeout(_SecureChannel.ROOM_INIT_FETCH_TIMEOUT_MS)
38889
39059
  });
38890
39060
  if (initRes.ok) {
38891
39061
  const groupData = await initRes.json();
@@ -39029,10 +39199,41 @@ ${text}`,
39029
39199
  * Fail-safe: a failed fetch / non-ok / non-array response prunes NOTHING, so a
39030
39200
  * transient error can never over-prune a live room.
39031
39201
  */
39032
- async _reconcileRoomsWithServer() {
39202
+ /** Run `fn` holding room `roomId`'s lock (FIFO). */
39203
+ async _withRoomLock(roomId, fn) {
39204
+ const prev = this._roomLocks.get(roomId) ?? Promise.resolve();
39205
+ let release;
39206
+ const mine = new Promise((resolve7) => {
39207
+ release = resolve7;
39208
+ });
39209
+ const tail = prev.then(() => mine);
39210
+ this._roomLocks.set(roomId, tail);
39211
+ await prev;
39212
+ try {
39213
+ return await fn();
39214
+ } finally {
39215
+ release();
39216
+ if (this._roomLocks.get(roomId) === tail) this._roomLocks.delete(roomId);
39217
+ }
39218
+ }
39219
+ _reconcileRoomsWithServer() {
39220
+ if (this._roomReconcileInFlight) return this._roomReconcileInFlight;
39221
+ const run = this._reconcileRoomsOnce().finally(() => {
39222
+ this._roomReconcileInFlight = null;
39223
+ });
39224
+ this._roomReconcileInFlight = run;
39225
+ return run;
39226
+ }
39227
+ async _reconcileRoomsOnce() {
39033
39228
  const local = this._persisted?.rooms;
39034
39229
  if (!local || Object.keys(local).length === 0) return;
39035
39230
  if (!this._deviceJwt) return;
39231
+ const before = new Map(
39232
+ Object.keys(local).map((rid) => [
39233
+ rid,
39234
+ { mgr: this._mlsGroups.get(rid), gen: this._roomJoinGen.get(rid) ?? 0 }
39235
+ ])
39236
+ );
39036
39237
  let activeIds;
39037
39238
  try {
39038
39239
  const res = await fetch(`${this.config.apiUrl}/api/v1/rooms`, {
@@ -39041,38 +39242,59 @@ ${text}`,
39041
39242
  if (!res.ok) return;
39042
39243
  const list = await res.json();
39043
39244
  if (!Array.isArray(list)) return;
39044
- activeIds = new Set(
39045
- list.map((r2) => r2?.id).filter((id) => !!id)
39046
- );
39245
+ if (!list.every((r2) => !!r2 && typeof r2 === "object" && typeof r2.id === "string" && r2.id)) {
39246
+ console.warn("[SecureChannel] room reconcile skipped: malformed item in GET /rooms (pruning nothing)");
39247
+ return;
39248
+ }
39249
+ activeIds = new Set(list.map((r2) => r2.id));
39047
39250
  } catch (err) {
39048
39251
  console.warn(
39049
39252
  `[SecureChannel] room reconcile skipped (fetch failed, pruning nothing): ${err instanceof Error ? err.message : String(err)}`
39050
39253
  );
39051
39254
  return;
39052
39255
  }
39053
- const stale = Object.keys(local).filter((rid) => !activeIds.has(rid));
39256
+ for (const rid of activeIds) {
39257
+ const gid = local[rid]?.mlsGroupId;
39258
+ if (gid) this._keyProofPausedUntil.delete(gid);
39259
+ }
39260
+ const stale = Object.keys(local).filter((rid) => {
39261
+ if (activeIds.has(rid)) return false;
39262
+ const snap = before.get(rid);
39263
+ if (!snap) return false;
39264
+ return this._mlsGroups.get(rid) === snap.mgr && (this._roomJoinGen.get(rid) ?? 0) === snap.gen;
39265
+ });
39054
39266
  if (stale.length === 0) return;
39267
+ const pruned = [];
39055
39268
  for (const rid of stale) {
39056
- const room = local[rid];
39057
- if (room?.mlsGroupId) {
39058
- try {
39059
- await deleteMlsState(this.config.dataDir, room.mlsGroupId);
39060
- } catch {
39269
+ await this._withRoomLock(rid, async () => {
39270
+ const snap = before.get(rid);
39271
+ const room = local[rid];
39272
+ if (!snap || !room) return;
39273
+ if (this._mlsGroups.get(rid) !== snap.mgr || (this._roomJoinGen.get(rid) ?? 0) !== snap.gen) return;
39274
+ this._mlsGroups.delete(rid);
39275
+ for (const convId of room.conversationIds ?? []) {
39276
+ this._sessions.delete(convId);
39277
+ if (this._persisted?.sessions) delete this._persisted.sessions[convId];
39061
39278
  }
39062
- }
39063
- this._mlsGroups.delete(rid);
39064
- for (const convId of room?.conversationIds ?? []) {
39065
- this._sessions.delete(convId);
39066
- if (this._persisted?.sessions) delete this._persisted.sessions[convId];
39067
- }
39068
- delete local[rid];
39069
- this._retireRoomFolder(rid);
39279
+ delete local[rid];
39280
+ pruned.push(rid);
39281
+ if (room.mlsGroupId) {
39282
+ this._keyProofPausedUntil.delete(room.mlsGroupId);
39283
+ this._mlsGroupJoinedAt.delete(room.mlsGroupId);
39284
+ try {
39285
+ await deleteMlsState(this.config.dataDir, room.mlsGroupId);
39286
+ } catch {
39287
+ }
39288
+ }
39289
+ this._retireRoomFolder(rid);
39290
+ });
39070
39291
  }
39292
+ if (pruned.length === 0) return;
39071
39293
  await this._persistState();
39072
39294
  console.log(
39073
- `[SecureChannel] Room reconcile: pruned ${stale.length} disbanded/left room(s) from local state (${stale.map((r2) => r2.slice(0, 8)).join(", ")})`
39295
+ `[SecureChannel] Room reconcile: pruned ${pruned.length} disbanded/left room(s) from local state (${pruned.map((r2) => r2.slice(0, 8)).join(", ")})`
39074
39296
  );
39075
- this.emit("rooms_reconciled", { pruned: stale });
39297
+ this.emit("rooms_reconciled", { pruned });
39076
39298
  }
39077
39299
  /**
39078
39300
  * #629 — quarantine MLS state for groups this device is no longer in.
@@ -39537,17 +39759,8 @@ ${text}`,
39537
39759
  }
39538
39760
  async sendStatusAlert(alert, routing) {
39539
39761
  const priority = alert.severity === "error" || alert.severity === "critical" ? "high" : "normal";
39540
- const envelope = {
39541
- title: alert.title,
39542
- message: alert.message,
39543
- severity: alert.severity,
39544
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
39545
- };
39546
- if (alert.detail !== void 0) envelope.detail = alert.detail;
39547
- if (alert.detailFormat !== void 0) envelope.detail_format = alert.detailFormat;
39548
- if (alert.category !== void 0) envelope.category = alert.category;
39549
39762
  await this.send(
39550
- JSON.stringify(envelope),
39763
+ JSON.stringify(statusAlertEnvelope(alert, (/* @__PURE__ */ new Date()).toISOString())),
39551
39764
  {
39552
39765
  conversationId: routing?.conversationId,
39553
39766
  audience: routing?.audience,
@@ -39764,16 +39977,7 @@ ${text}`,
39764
39977
  decisionId = await this.sendDecisionRequest(content.request, ownerRouting);
39765
39978
  } else if (content.type === "status_alert") {
39766
39979
  if (resolved.kind === "room") {
39767
- const envelope = {
39768
- title: content.alert.title,
39769
- message: content.alert.message,
39770
- severity: content.alert.severity,
39771
- timestamp: ts
39772
- };
39773
- if (content.alert.detail !== void 0) envelope.detail = content.alert.detail;
39774
- if (content.alert.detailFormat !== void 0) envelope.detail_format = content.alert.detailFormat;
39775
- if (content.alert.category !== void 0) envelope.category = content.alert.category;
39776
- await this.sendToRoom(resolved.id, JSON.stringify(envelope), {
39980
+ await this.sendToRoom(resolved.id, JSON.stringify(statusAlertEnvelope(content.alert, ts)), {
39777
39981
  messageType: "status_alert",
39778
39982
  priority: content.alert.severity === "error" || content.alert.severity === "critical" ? "high" : "normal",
39779
39983
  metadata: { severity: content.alert.severity }
@@ -43402,6 +43606,8 @@ ${baseText}`;
43402
43606
  // #1800 PR B: the bound sender only (undefined when unbound).
43403
43607
  senderDeviceId: boundSender,
43404
43608
  senderBinding: binding.verdict,
43609
+ // #1855: why it is unbound, as on the onMessage metadata above.
43610
+ ...boundSender === void 0 ? { senderBindingReason: unverifiedReason(binding) } : {},
43405
43611
  ...claimedSender ? { claimedSenderDeviceId: claimedSender } : {},
43406
43612
  senderName: senderLabel,
43407
43613
  plaintext: messageText,
@@ -44862,13 +45068,17 @@ ${baseText}`;
44862
45068
  const jwt = this._deviceJwt;
44863
45069
  if (!deviceId || !jwt) return;
44864
45070
  const best = /* @__PURE__ */ new Map();
44865
- for (const mgr of this._mlsGroups.values()) {
45071
+ const roomGroups = /* @__PURE__ */ new Set();
45072
+ const now = Date.now();
45073
+ for (const [key, mgr] of this._mlsGroups.entries()) {
44866
45074
  try {
44867
45075
  if (!mgr.isInitialized) continue;
44868
45076
  const epoch = Number(mgr.epoch);
44869
45077
  if (epoch <= 0) continue;
44870
45078
  const groupId = _SecureChannel._mlsGroupIdString(mgr.groupId);
44871
45079
  if (!groupId) continue;
45080
+ if (now < (this._keyProofPausedUntil.get(groupId) ?? 0)) continue;
45081
+ if (this._persisted?.rooms?.[key]) roomGroups.add(groupId);
44872
45082
  const prev = best.get(groupId);
44873
45083
  if (prev && epoch <= prev.epoch) continue;
44874
45084
  best.set(groupId, { epoch, authenticator: Buffer.from(mgr.epochAuthenticator).toString("hex") });
@@ -44876,6 +45086,7 @@ ${baseText}`;
44876
45086
  continue;
44877
45087
  }
44878
45088
  }
45089
+ let askRooms = false;
44879
45090
  for (const [groupId, { epoch, authenticator }] of best) {
44880
45091
  try {
44881
45092
  const res = await fetch(`${this.config.apiUrl}/api/v1/mls/groups/${groupId}/key-proof`, {
@@ -44884,11 +45095,34 @@ ${baseText}`;
44884
45095
  body: JSON.stringify({ device_id: deviceId, epoch, authenticator }),
44885
45096
  signal: AbortSignal.timeout(_SecureChannel._KEY_PROOF_FETCH_TIMEOUT_MS)
44886
45097
  });
44887
- if (!res.ok) console.debug(`[key-proof] ${groupId.slice(0, 8)}: HTTP ${res.status}`);
45098
+ if (res.ok) continue;
45099
+ const detail = res.status === 403 ? await this._errorDetail(res) : null;
45100
+ if (res.status === 404 || detail === _SecureChannel.KEY_PROOF_NOT_A_MEMBER_DETAIL) {
45101
+ if (roomGroups.has(groupId)) askRooms = true;
45102
+ const graceFrom = Math.max(this._mlsGroupJoinedAt.get(groupId) ?? 0, this._processStartedAt);
45103
+ if (res.status === 403 && Date.now() - graceFrom < _SecureChannel._KEY_PROOF_JOIN_GRACE_MS) {
45104
+ console.debug(`[key-proof] ${groupId.slice(0, 8)}: HTTP 403 within the join grace (roster lag)`);
45105
+ continue;
45106
+ }
45107
+ const pauseMs = res.status === 404 ? _SecureChannel._KEY_PROOF_PAUSE_MS : _SecureChannel._KEY_PROOF_403_PAUSE_MS;
45108
+ this._keyProofPausedUntil.set(groupId, Date.now() + pauseMs);
45109
+ console.log(
45110
+ `[key-proof] ${groupId.slice(0, 8)}: HTTP ${res.status} (${res.status === 404 ? "group gone" : "not a member"}) \u2014 pausing its proofs for ${pauseMs / 36e5}h (#1889)`
45111
+ );
45112
+ continue;
45113
+ }
45114
+ console.debug(`[key-proof] ${groupId.slice(0, 8)}: HTTP ${res.status}`);
44888
45115
  } catch (err) {
44889
45116
  console.debug(`[key-proof] ${groupId.slice(0, 8)}: report failed (non-critical):`, err);
44890
45117
  }
44891
45118
  }
45119
+ if (askRooms) {
45120
+ try {
45121
+ await this._reconcileRoomsWithServer();
45122
+ } catch (err) {
45123
+ console.warn(`[key-proof] room reconcile after a refusal failed (ignored): ${err instanceof Error ? err.message : String(err)}`);
45124
+ }
45125
+ }
44892
45126
  }
44893
45127
  /**
44894
45128
  * The wire MLS group id as a UUID string, or null. Every founder today —
@@ -44932,7 +45166,7 @@ ${baseText}`;
44932
45166
  /**
44933
45167
  * Top the pool up against the SERVER's count (#826).
44934
45168
  *
44935
- * ⚠️ DO NOT replace this with a periodic call to `_ensureKpPoolPublished()`.
45169
+ * ⚠ DO NOT replace this with a periodic call to `_ensureKpPoolPublished()`.
44936
45170
  * That function early-returns on `_pendingKpBundles.length >= _KP_POOL_TARGET`,
44937
45171
  * and that array holds PRIVATE bundles which never expire locally — so on an
44938
45172
  * agent that has been connected longer than the KeyPackage lifetime it is
@@ -45181,18 +45415,16 @@ ${baseText}`;
45181
45415
  * limiter (per-conversation and global caps). The plaintext carries
45182
45416
  * `type: "status_alert"`, so no agent in the room treats it as a turn
45183
45417
  * (`status_alert` is not in ROOM_AGENT_TYPES). Fire-and-forget; never throws.
45418
+ * #1867: built by `statusAlertEnvelope`, like every other plugin alert, so
45419
+ * it carries the `text` line a room tab older than #1860 shows.
45184
45420
  */
45185
45421
  _sendRoomSecurityNotice(noticeKey, roomId, title, text) {
45186
45422
  try {
45187
45423
  if (!this._securityNoticeLimiter.allow(noticeKey)) return;
45188
- const envelope = JSON.stringify({
45189
- type: "status_alert",
45190
- title,
45191
- message: text(),
45192
- severity: "warning",
45193
- category: "security",
45194
- timestamp: (/* @__PURE__ */ new Date()).toISOString()
45195
- });
45424
+ const envelope = JSON.stringify(statusAlertEnvelope(
45425
+ { title, message: text(), severity: "warning", category: "security" },
45426
+ (/* @__PURE__ */ new Date()).toISOString()
45427
+ ));
45196
45428
  Promise.resolve().then(() => this.sendToRoom(roomId, envelope, { messageType: "status_alert" })).catch((err) => {
45197
45429
  console.warn(`[SecureChannel] #1800 security notice for room ${logId(roomId)} was not sent:`, err);
45198
45430
  });
@@ -45225,7 +45457,7 @@ ${baseText}`;
45225
45457
  agentVersion: this.config.agentVersion ?? "0.0.0",
45226
45458
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
45227
45459
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
45228
- pluginVersion: true ? "0.23.72" : "0.0.0-dev"
45460
+ pluginVersion: true ? "0.23.74" : "0.0.0-dev"
45229
45461
  });
45230
45462
  this._telemetryReporter.startAutoFlush(3e4);
45231
45463
  }
@@ -45424,6 +45656,10 @@ ${baseText}`;
45424
45656
  return;
45425
45657
  }
45426
45658
  const mgr = joined.mgr;
45659
+ if (groupId) {
45660
+ this._keyProofPausedUntil.delete(groupId);
45661
+ this._mlsGroupJoinedAt.set(groupId, Date.now());
45662
+ }
45427
45663
  this._removeKpFromPool(joined.kp);
45428
45664
  void this._ensureKpPoolPublished().catch((err) => {
45429
45665
  console.warn("[SecureChannel] KeyPackage pool replenish after join failed:", err);
@@ -45487,34 +45723,8 @@ ${baseText}`;
45487
45723
  return;
45488
45724
  }
45489
45725
  const welcomeRoomId = data.room_id;
45490
- for (const [roomId, room] of Object.entries(this._persisted?.rooms ?? {})) {
45491
- if (room.mlsGroupId === groupId || roomId === welcomeRoomId) {
45492
- room.mlsGroupId = groupId;
45493
- this._mlsGroups.set(roomId, mgr);
45494
- this._invalidateRoomAudienceForGroup(groupId);
45495
- await saveMlsState(this.config.dataDir, groupId, JSON.stringify(mgr.exportState()));
45496
- await this._persistState();
45497
- await this._applyBufferedMlsCommits(groupId, mgr);
45498
- console.log(`[SecureChannel] Joined MLS group for room ${roomId.slice(0, 8)} via Welcome (epoch=${mgr.epoch})`);
45499
- this._pendingMlsKpBundle = void 0;
45500
- await releaseA2ASyncLock(this.config.dataDir, `room-kp-${groupId}`).catch(() => {
45501
- });
45502
- return;
45503
- }
45504
- }
45505
- if (welcomeRoomId && this._persisted) {
45506
- await this._registerRoomFromWelcome(
45507
- welcomeRoomId,
45508
- groupId,
45509
- mgr,
45510
- data.room_name
45511
- );
45512
- this._pendingMlsKpBundle = void 0;
45513
- await releaseA2ASyncLock(this.config.dataDir, `room-kp-${groupId}`).catch(() => {
45514
- });
45515
- console.log(
45516
- `[SecureChannel] Registered room ${welcomeRoomId.slice(0, 8)} from unmatched Welcome (epoch=${mgr.epoch})`
45517
- );
45726
+ const lockRoom = typeof welcomeRoomId === "string" && welcomeRoomId ? welcomeRoomId : Object.entries(this._persisted?.rooms ?? {}).find(([, r2]) => r2.mlsGroupId === groupId)?.[0];
45727
+ if (lockRoom && await this._withRoomLock(lockRoom, () => this._installRoomWelcome(groupId, mgr, data))) {
45518
45728
  return;
45519
45729
  }
45520
45730
  const a2aChannelId = data.a2a_channel_id;
@@ -45573,6 +45783,45 @@ ${baseText}`;
45573
45783
  throw err;
45574
45784
  }
45575
45785
  }
45786
+ /**
45787
+ * The room half of `_handleMlsWelcome`: install `mgr` for the room this
45788
+ * Welcome names (by group or by room id), or register the room from the
45789
+ * Welcome. True when handled. Caller holds the room's lock (#1889 review).
45790
+ */
45791
+ async _installRoomWelcome(groupId, mgr, data) {
45792
+ const welcomeRoomId = data.room_id;
45793
+ for (const [roomId, room] of Object.entries(this._persisted?.rooms ?? {})) {
45794
+ if (room.mlsGroupId === groupId || roomId === welcomeRoomId) {
45795
+ room.mlsGroupId = groupId;
45796
+ this._mlsGroups.set(roomId, mgr);
45797
+ this._invalidateRoomAudienceForGroup(groupId);
45798
+ await saveMlsState(this.config.dataDir, groupId, JSON.stringify(mgr.exportState()));
45799
+ await this._persistState();
45800
+ await this._applyBufferedMlsCommits(groupId, mgr);
45801
+ console.log(`[SecureChannel] Joined MLS group for room ${roomId.slice(0, 8)} via Welcome (epoch=${mgr.epoch})`);
45802
+ this._pendingMlsKpBundle = void 0;
45803
+ await releaseA2ASyncLock(this.config.dataDir, `room-kp-${groupId}`).catch(() => {
45804
+ });
45805
+ return true;
45806
+ }
45807
+ }
45808
+ if (welcomeRoomId && this._persisted) {
45809
+ await this._registerRoomFromWelcome(
45810
+ welcomeRoomId,
45811
+ groupId,
45812
+ mgr,
45813
+ data.room_name
45814
+ );
45815
+ this._pendingMlsKpBundle = void 0;
45816
+ await releaseA2ASyncLock(this.config.dataDir, `room-kp-${groupId}`).catch(() => {
45817
+ });
45818
+ console.log(
45819
+ `[SecureChannel] Registered room ${welcomeRoomId.slice(0, 8)} from unmatched Welcome (epoch=${mgr.epoch})`
45820
+ );
45821
+ return true;
45822
+ }
45823
+ return false;
45824
+ }
45576
45825
  /**
45577
45826
  * Self-bootstrap a room entry + MLS group mapping from a Welcome whose room is
45578
45827
  * not yet persisted. Happens when we were added to an EXISTING room and the
@@ -47779,6 +48028,7 @@ ${baseText}`;
47779
48028
  init_file_send_failure();
47780
48029
  init_openclaw_file_send();
47781
48030
  init_openclaw_sender();
48031
+ init_room_protocol();
47782
48032
  _ocRuntime = null;
47783
48033
  _channels = /* @__PURE__ */ new Map();
47784
48034
  _legacyTurnRuns = new OpenClawTurnRuns();
@@ -69491,6 +69741,18 @@ data:
69491
69741
  };
69492
69742
  }
69493
69743
  });
69744
+ init_shell_word = __esm2({
69745
+ "src/shell-word.ts"() {
69746
+ "use strict";
69747
+ BARE = /^[A-Za-z0-9_./:@+-]+$/;
69748
+ NEEDS_ESCAPE = new RegExp(
69749
+ `[\\p{Cc}\\p{Cf}\\p{Zl}\\p{Zp}\\p{Default_Ignorable_Code_Point}${String.fromCodePoint(65532)}${String.fromCodePoint(10240)}]`,
69750
+ "u"
69751
+ );
69752
+ LITERAL_IN_ANSI_C = /^[A-Za-z0-9]$/;
69753
+ HEX = /^[0-9A-Fa-f]$/;
69754
+ }
69755
+ });
69494
69756
  init_index = __esm2({
69495
69757
  "src/index.ts"() {
69496
69758
  init_channel();
@@ -69519,7 +69781,8 @@ data:
69519
69781
  init_room_protocol();
69520
69782
  init_tool_telemetry();
69521
69783
  init_turn_failure();
69522
- VERSION = true ? "0.23.72" : "0.0.0-dev";
69784
+ init_shell_word();
69785
+ VERSION = true ? "0.23.74" : "0.0.0-dev";
69523
69786
  }
69524
69787
  });
69525
69788
  init_index();
@@ -70552,7 +70815,7 @@ var init_cli = __esm({
70552
70815
  "use strict";
70553
70816
  init_dist();
70554
70817
  init_driver();
70555
- VERSION2 = "0.1.23";
70818
+ VERSION2 = "0.1.25";
70556
70819
  HELP = `AgentVault OpenAI Bridge ${VERSION2}
70557
70820
  Usage: AV_AGENT_NAME=<name> agentvault-openai-bridge <command>
70558
70821
 
@@ -71700,7 +71963,7 @@ var init_bridge = __esm({
71700
71963
  }
71701
71964
  const roomName = this.channel.getRooms?.().find((room) => room.roomId === roomId)?.members.find((member) => member.deviceId === this.channel.deviceId)?.displayName;
71702
71965
  const sender = roomSenderView(e);
71703
- if (!owesRoomReply(e.caption ?? e.plaintext, this.name, this.channel.deviceId ?? "", sender.senderIsAgent, roomName, this.channel.ownDisplayName, true, e.roomAudience)) {
71966
+ if (!owesRoomReply(e.caption ?? e.plaintext, this.name, this.channel.deviceId ?? "", sender.senderIsAgent, roomName, this.channel.ownDisplayName, true, e.roomAudience, e.senderBinding)) {
71704
71967
  void fileTurn?.drop();
71705
71968
  return;
71706
71969
  }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "@agentvault/openai-bridge", "version": "0.1.23", "type": "module",
2
+ "name": "@agentvault/openai-bridge", "version": "0.1.25", "type": "module",
3
3
  "description": "AgentVault OpenAI Codex bridge for encrypted owner messages and rooms",
4
4
  "main": "dist/index.js", "types": "dist/index.d.ts",
5
5
  "bin": { "agentvault-openai-bridge": "dist/index.js" },