@agentvault/grok-bridge 0.4.37 → 0.4.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +385 -92
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3021,6 +3021,23 @@ function verifyMerkleProof(leafHash, proof, merkleRoot) {
|
|
|
3021
3021
|
}
|
|
3022
3022
|
return true;
|
|
3023
3023
|
}
|
|
3024
|
+
function withCheckedClaims(credential) {
|
|
3025
|
+
const walk = (value, path2) => {
|
|
3026
|
+
if (Array.isArray(value)) {
|
|
3027
|
+
for (const child of value)
|
|
3028
|
+
walk(child, path2);
|
|
3029
|
+
} else if (value && typeof value === "object") {
|
|
3030
|
+
for (const [key, child] of Object.entries(value)) {
|
|
3031
|
+
if (VC_V2_RESERVED_TERMS.has(key) && !(path2.length === 0 && key === "id")) {
|
|
3032
|
+
throw new ReservedClaimNameError(`credential claim "${[...path2, key].join(".")}" is named like a VC 2.0 term`);
|
|
3033
|
+
}
|
|
3034
|
+
walk(child, [...path2, key]);
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
};
|
|
3038
|
+
walk(credential.credentialSubject, []);
|
|
3039
|
+
return credential;
|
|
3040
|
+
}
|
|
3024
3041
|
async function sha256(data) {
|
|
3025
3042
|
await libsodium_wrappers_default.ready;
|
|
3026
3043
|
return libsodium_wrappers_default.crypto_hash_sha256(data);
|
|
@@ -3131,10 +3148,11 @@ async function verifyDataIntegrity(document, publicKey) {
|
|
|
3131
3148
|
}
|
|
3132
3149
|
function buildAgentTrustCredential(params) {
|
|
3133
3150
|
const now = (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
3134
|
-
return {
|
|
3151
|
+
return withCheckedClaims({
|
|
3135
3152
|
"@context": [
|
|
3136
3153
|
VC_CONTEXT_V2,
|
|
3137
3154
|
{
|
|
3155
|
+
"@vocab": AV_VOCAB,
|
|
3138
3156
|
AgentTrustCredential: "https://agentvault.chat/vocab#AgentTrustCredential",
|
|
3139
3157
|
trustTier: "https://agentvault.chat/vocab#trustTier",
|
|
3140
3158
|
compositeScore: "https://agentvault.chat/vocab#compositeScore",
|
|
@@ -3167,14 +3185,15 @@ function buildAgentTrustCredential(params) {
|
|
|
3167
3185
|
} : {},
|
|
3168
3186
|
...params.verificationEndpoint ? { verificationEndpoint: params.verificationEndpoint } : {}
|
|
3169
3187
|
}
|
|
3170
|
-
};
|
|
3188
|
+
});
|
|
3171
3189
|
}
|
|
3172
3190
|
function buildSkillAttestation(params) {
|
|
3173
3191
|
const now = (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
3174
|
-
return {
|
|
3192
|
+
return withCheckedClaims({
|
|
3175
3193
|
"@context": [
|
|
3176
3194
|
VC_CONTEXT_V2,
|
|
3177
3195
|
{
|
|
3196
|
+
"@vocab": AV_VOCAB,
|
|
3178
3197
|
SkillAttestation: "https://agentvault.chat/vocab#SkillAttestation",
|
|
3179
3198
|
skillName: "https://agentvault.chat/vocab#skillName",
|
|
3180
3199
|
skillNamespace: "https://agentvault.chat/vocab#skillNamespace",
|
|
@@ -3198,14 +3217,15 @@ function buildSkillAttestation(params) {
|
|
|
3198
3217
|
...params.successRate !== void 0 ? { successRate: params.successRate } : {},
|
|
3199
3218
|
...params.assessedAt ? { assessedAt: params.assessedAt } : {}
|
|
3200
3219
|
}
|
|
3201
|
-
};
|
|
3220
|
+
});
|
|
3202
3221
|
}
|
|
3203
3222
|
function buildPerformanceRecord(params) {
|
|
3204
3223
|
const now = (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
3205
|
-
return {
|
|
3224
|
+
return withCheckedClaims({
|
|
3206
3225
|
"@context": [
|
|
3207
3226
|
VC_CONTEXT_V2,
|
|
3208
3227
|
{
|
|
3228
|
+
"@vocab": AV_VOCAB,
|
|
3209
3229
|
PerformanceRecord: "https://agentvault.chat/vocab#PerformanceRecord",
|
|
3210
3230
|
periodStart: "https://agentvault.chat/vocab#periodStart",
|
|
3211
3231
|
periodEnd: "https://agentvault.chat/vocab#periodEnd",
|
|
@@ -3231,7 +3251,7 @@ function buildPerformanceRecord(params) {
|
|
|
3231
3251
|
policyViolations: params.policyViolations,
|
|
3232
3252
|
compositeScore: params.compositeScore
|
|
3233
3253
|
}
|
|
3234
|
-
};
|
|
3254
|
+
});
|
|
3235
3255
|
}
|
|
3236
3256
|
function buildAgentTrustReportCredential(params) {
|
|
3237
3257
|
const now = (/* @__PURE__ */ new Date()).toISOString().replace(/\.\d{3}Z$/, "Z");
|
|
@@ -3258,10 +3278,11 @@ function buildAgentTrustReportCredential(params) {
|
|
|
3258
3278
|
subject.telemetrySummary = params.telemetrySummary;
|
|
3259
3279
|
if (params.verificationEndpoint)
|
|
3260
3280
|
subject.verificationEndpoint = params.verificationEndpoint;
|
|
3261
|
-
return {
|
|
3281
|
+
return withCheckedClaims({
|
|
3262
3282
|
"@context": [
|
|
3263
3283
|
VC_CONTEXT_V2,
|
|
3264
3284
|
{
|
|
3285
|
+
"@vocab": AV_VOCAB,
|
|
3265
3286
|
AgentTrustReport: "https://agentvault.chat/vocab#AgentTrustReport",
|
|
3266
3287
|
reportPeriod: "https://agentvault.chat/vocab#reportPeriod",
|
|
3267
3288
|
trustTier: "https://agentvault.chat/vocab#trustTier",
|
|
@@ -3281,7 +3302,7 @@ function buildAgentTrustReportCredential(params) {
|
|
|
3281
3302
|
validFrom: params.validFrom ?? now,
|
|
3282
3303
|
...params.validUntil ? { validUntil: params.validUntil } : {},
|
|
3283
3304
|
credentialSubject: subject
|
|
3284
|
-
};
|
|
3305
|
+
});
|
|
3285
3306
|
}
|
|
3286
3307
|
function buildVerifiablePresentation(holderDid, credentials, presentationId) {
|
|
3287
3308
|
return {
|
|
@@ -3508,16 +3529,31 @@ function buildErrorSpan(opts) {
|
|
|
3508
3529
|
status: { code: 2, message: opts.errorMessage }
|
|
3509
3530
|
};
|
|
3510
3531
|
}
|
|
3532
|
+
function urlOrigin(raw) {
|
|
3533
|
+
if (typeof raw !== "string" && !(raw instanceof URL))
|
|
3534
|
+
return "";
|
|
3535
|
+
let u2;
|
|
3536
|
+
try {
|
|
3537
|
+
u2 = raw instanceof URL ? raw : new URL(raw);
|
|
3538
|
+
} catch {
|
|
3539
|
+
return "";
|
|
3540
|
+
}
|
|
3541
|
+
if (!(u2.protocol in DEFAULT_PORTS) || !u2.hostname || u2.hostname.length > 253 || !ORIGIN_HOST.test(u2.hostname))
|
|
3542
|
+
return "";
|
|
3543
|
+
const port = u2.port && u2.port !== DEFAULT_PORTS[u2.protocol] ? `:${u2.port}` : "";
|
|
3544
|
+
return `${u2.protocol}//${u2.hostname}${port}`;
|
|
3545
|
+
}
|
|
3511
3546
|
function buildHttpSpan(opts) {
|
|
3512
3547
|
const now = Date.now();
|
|
3548
|
+
const site = urlOrigin(opts.url);
|
|
3513
3549
|
const attributes = {
|
|
3514
3550
|
"ai.agent.http.method": opts.method,
|
|
3515
|
-
"ai.agent.http.url":
|
|
3551
|
+
"ai.agent.http.url": site,
|
|
3516
3552
|
"ai.agent.http.status_code": opts.statusCode,
|
|
3517
3553
|
"ai.agent.http.latency_ms": opts.latencyMs,
|
|
3518
3554
|
// OTel HTTP standard
|
|
3519
3555
|
"http.request.method": opts.method,
|
|
3520
|
-
"url.full":
|
|
3556
|
+
"url.full": site,
|
|
3521
3557
|
"http.response.status_code": opts.statusCode
|
|
3522
3558
|
};
|
|
3523
3559
|
applySkillName(attributes, opts.skillName);
|
|
@@ -3560,7 +3596,8 @@ function buildActionSpan(opts) {
|
|
|
3560
3596
|
function buildNavSpan(opts) {
|
|
3561
3597
|
const now = Date.now();
|
|
3562
3598
|
const attributes = {
|
|
3563
|
-
"ai.agent.nav.to_url": opts.toUrl,
|
|
3599
|
+
"ai.agent.nav.to_url": urlOrigin(opts.toUrl),
|
|
3600
|
+
// #1734: the site only
|
|
3564
3601
|
"ai.agent.nav.latency_ms": opts.latencyMs
|
|
3565
3602
|
};
|
|
3566
3603
|
applySkillName(attributes, opts.skillName);
|
|
@@ -4059,6 +4096,11 @@ function spanToOtlp(span) {
|
|
|
4059
4096
|
}
|
|
4060
4097
|
return otlp;
|
|
4061
4098
|
}
|
|
4099
|
+
function retryAfterMs(response) {
|
|
4100
|
+
const raw = response.headers?.get?.("Retry-After");
|
|
4101
|
+
const seconds = raw !== null && raw !== void 0 && /^\d{1,6}$/.test(raw.trim()) ? Number(raw.trim()) : 60;
|
|
4102
|
+
return Math.min(Math.max(seconds, 1), 3600) * 1e3;
|
|
4103
|
+
}
|
|
4062
4104
|
function isRetryableStatus(status) {
|
|
4063
4105
|
return status >= 500 || status === 408 || status === 429;
|
|
4064
4106
|
}
|
|
@@ -11756,11 +11798,11 @@ async function joinWithFirstMatchingKp(welcomeBytes, candidates) {
|
|
|
11756
11798
|
return null;
|
|
11757
11799
|
}
|
|
11758
11800
|
function ownIdentity() {
|
|
11759
|
-
const v2 = true ? "0.23.
|
|
11801
|
+
const v2 = true ? "0.23.70" : FALLBACK;
|
|
11760
11802
|
return `${PACKAGE}@${v2}`;
|
|
11761
11803
|
}
|
|
11762
11804
|
function buildSha() {
|
|
11763
|
-
const raw = true ? "
|
|
11805
|
+
const raw = true ? "c464d1b" : "";
|
|
11764
11806
|
const cleaned = (raw ?? "").trim();
|
|
11765
11807
|
return !cleaned || cleaned === "unknown" ? null : cleaned;
|
|
11766
11808
|
}
|
|
@@ -12334,6 +12376,9 @@ function parseDeliverySync(raw) {
|
|
|
12334
12376
|
function wantsWelcomeRead(targets, groupId) {
|
|
12335
12377
|
return targets === null || targets.has(groupId.toLowerCase());
|
|
12336
12378
|
}
|
|
12379
|
+
function messageKindFor(messageType) {
|
|
12380
|
+
return CONTROL_MESSAGE_TYPES.has(messageType) ? "control" : void 0;
|
|
12381
|
+
}
|
|
12337
12382
|
async function readBoundedRestoreJson(response, signal, checkpoint) {
|
|
12338
12383
|
const contentLength = response.headers?.get("content-length");
|
|
12339
12384
|
if (contentLength && /^\d+$/.test(contentLength)) {
|
|
@@ -12674,6 +12719,18 @@ async function _handleSendRequest(parsed, channel) {
|
|
|
12674
12719
|
if (!text || typeof text !== "string") {
|
|
12675
12720
|
return { status: 400, body: { ok: false, error: "Missing 'text' field" } };
|
|
12676
12721
|
}
|
|
12722
|
+
const metadataType = parsed.metadata?.message_type;
|
|
12723
|
+
for (const requested of [parsed.message_type, metadataType]) {
|
|
12724
|
+
if (typeof requested === "string" && CONTROL_MESSAGE_TYPES.has(requested)) {
|
|
12725
|
+
return {
|
|
12726
|
+
status: 400,
|
|
12727
|
+
body: {
|
|
12728
|
+
ok: false,
|
|
12729
|
+
error: `message_type '${requested}' is reserved for protocol frames and cannot be sent from /send`
|
|
12730
|
+
}
|
|
12731
|
+
};
|
|
12732
|
+
}
|
|
12733
|
+
}
|
|
12677
12734
|
const routing = ownerRoutingFrom(parsed);
|
|
12678
12735
|
if (typeof routing === "string") {
|
|
12679
12736
|
return { status: 400, body: { ok: false, error: routing } };
|
|
@@ -17885,7 +17942,7 @@ function armSseKeepAlive(intervalMs, onTick) {
|
|
|
17885
17942
|
timer.unref?.();
|
|
17886
17943
|
return timer;
|
|
17887
17944
|
}
|
|
17888
|
-
var __create, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf, __hasOwnProp, __esm2, __commonJS, __export2, __copyProps, __toESM, SENTINEL, WRAPPERS, INSTRUCTION, init_abstention, AMBIGUOUS_OWNER_ERROR, init_owner_routing, init_envelope_text, init_mls_commit_classify, MENTION_RE, BROADCAST_NAMES, PRIVATE_ROOM_TURN_NOTE, GENERIC_AGENT_NAMES, init_room_protocol, __filename, __dirname, url, path, Module, Module, root, window_, crypto_, randomValuesStandard, crypto2, randomValueNodeJS, _Module, libsodium_sumo_default, init_libsodium_sumo, a, r, t, c, 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, ScanEngine, init_scan_engine, init_merkle, VC_CONTEXT_V2, AV_CREDENTIAL_CONTEXT, CRYPTOSUITE, BASE58_ALPHABET2, init_vc, init_transport, 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, 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, crypto3, 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, DEFAULT_CIPHERSUITE, MLSGroupManager, init_mls_group, DOMAIN, NONCE_BYTES3, init_owner_sync, init_mls_delivery_order, init_mls_presend_epoch, dist_exports, 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, 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, short, WelcomeKeyPackageBackoff, init_welcome_kp_backoff, 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, history_backup_client_exports, HISTORY_RESTORE_TIMEOUT_MS, HISTORY_RESTORE_RESPONSE_MAX_BYTES, HISTORY_ENVELOPE_MIN_BYTES, HISTORY_AAD_PREFIX, UUID_RE3, GENERATION_RESPONSE_KEYS, utf8Encoder, utf8Decoder, HistoryBackupClient, init_history_backup_client, openclaw_compat_exports, defaultImporter, HEARTBEAT_CANDIDATES, _heartbeatFn, init_openclaw_compat, 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, http_handlers_exports, init_http_handlers, mcp_proxy_helpers_exports, init_mcp_proxy_helpers, workspace_handlers_exports, MAX_FILE_SIZE, init_workspace_handlers, ROOM_AGENT_TYPES, CREDENTIAL_MESSAGE_TYPES, CATCHUP_MESSAGE_TYPES, POLL_INTERVAL_MS, RECONNECT_BASE_MS, UUID_RE4, RECONNECT_MAX_MS, PENDING_POLL_INTERVAL_MS, PENDING_POLL_SILENCE_MS, HISTORY_RESTORE_TIMEOUT_MS2, ROOM_ROSTER_REFRESH_TIMEOUT_MS, 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, PERSON_INVOLVED_WINDOW_MS, ATTESTED_INBOUND_MAX, UNMAPPED_RECONCILE_COOLDOWN_MS, TOPIC_ID_RE, ROOM_FULFIL_COOLDOWN_MS, SecureChannel, init_channel, init_types, DEFAULT_API_URL, DEFAULT_HTTP_PORT, init_account_config, init_lifecycle, _ocRuntime, _channels, agentVaultPlugin, init_openclaw_plugin, init_gateway_send, init_llm_response_parser, OPENROUTER_PRICING, init_llm_pricing_openrouter, LEGACY_PRICING, PRICING, init_llm_cost, traceStore, init_fetch_interceptor, init_tool_audit, init_harness_compat, TURN_FAILURE_CODES, CODES, TurnFailure, NOTICE_RE, init_turn_failure, 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, _shutdownNotices, managedRoutesRequested, 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, uuid, 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, open4, 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, init_mcp_handlers, init_skill_manifest, init_skill_invoker, spanBuffer, init_skill_telemetry, PolicyEnforcer, init_policy_enforcer, VERSION, init_index;
|
|
17945
|
+
var __create, __defProp2, __getOwnPropDesc, __getOwnPropNames2, __getProtoOf, __hasOwnProp, __esm2, __commonJS, __export2, __copyProps, __toESM, SENTINEL, WRAPPERS, INSTRUCTION, init_abstention, AMBIGUOUS_OWNER_ERROR, init_owner_routing, init_envelope_text, init_mls_commit_classify, MENTION_RE, BROADCAST_NAMES, PRIVATE_ROOM_TURN_NOTE, GENERIC_AGENT_NAMES, init_room_protocol, __filename, __dirname, url, path, Module, Module, root, window_, crypto_, randomValuesStandard, crypto2, randomValueNodeJS, _Module, libsodium_sumo_default, init_libsodium_sumo, a, r, t, c, 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, 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, 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, crypto3, 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, DEFAULT_CIPHERSUITE, MLSGroupManager, init_mls_group, DOMAIN, NONCE_BYTES3, init_owner_sync, init_mls_delivery_order, init_mls_presend_epoch, dist_exports, 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, 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, short, WelcomeKeyPackageBackoff, init_welcome_kp_backoff, 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, history_backup_client_exports, HISTORY_RESTORE_TIMEOUT_MS, HISTORY_RESTORE_RESPONSE_MAX_BYTES, HISTORY_ENVELOPE_MIN_BYTES, HISTORY_AAD_PREFIX, UUID_RE3, GENERATION_RESPONSE_KEYS, utf8Encoder, utf8Decoder, HistoryBackupClient, init_history_backup_client, openclaw_compat_exports, defaultImporter, HEARTBEAT_CANDIDATES, _heartbeatFn, init_openclaw_compat, 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, http_handlers_exports, init_http_handlers, mcp_proxy_helpers_exports, init_mcp_proxy_helpers, workspace_handlers_exports, MAX_FILE_SIZE, init_workspace_handlers, ROOM_AGENT_TYPES, CREDENTIAL_MESSAGE_TYPES, CATCHUP_MESSAGE_TYPES, POLL_INTERVAL_MS, RECONNECT_BASE_MS, UUID_RE4, RECONNECT_MAX_MS, PENDING_POLL_INTERVAL_MS, PENDING_POLL_SILENCE_MS, HISTORY_RESTORE_TIMEOUT_MS2, ROOM_ROSTER_REFRESH_TIMEOUT_MS, 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, PERSON_INVOLVED_WINDOW_MS, ATTESTED_INBOUND_MAX, UNMAPPED_RECONCILE_COOLDOWN_MS, TOPIC_ID_RE, ROOM_FULFIL_COOLDOWN_MS, SecureChannel, init_channel, init_types, DEFAULT_API_URL, DEFAULT_HTTP_PORT, init_account_config, init_lifecycle, _ocRuntime, _channels, 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, TURN_FAILURE_CODES, CODES, TurnFailure, NOTICE_RE, init_turn_failure, 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, _shutdownNotices, managedRoutesRequested, 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, uuid, 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, open4, 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, init_mcp_handlers, init_skill_manifest, init_skill_invoker, spanBuffer, init_skill_telemetry, PolicyEnforcer, init_policy_enforcer, VERSION, init_index;
|
|
17889
17946
|
var init_dist = __esm({
|
|
17890
17947
|
async "../plugin/dist/index.js"() {
|
|
17891
17948
|
"use strict";
|
|
@@ -60698,6 +60755,76 @@ var init_dist = __esm({
|
|
|
60698
60755
|
await init_did();
|
|
60699
60756
|
VC_CONTEXT_V2 = "https://www.w3.org/ns/credentials/v2";
|
|
60700
60757
|
AV_CREDENTIAL_CONTEXT = "https://agentvault.chat/ns/credentials/v1";
|
|
60758
|
+
AV_VOCAB = "https://agentvault.chat/vocab#";
|
|
60759
|
+
VC_V2_RESERVED_TERMS = /* @__PURE__ */ new Set([
|
|
60760
|
+
"...",
|
|
60761
|
+
"BitstringStatusList",
|
|
60762
|
+
"BitstringStatusListCredential",
|
|
60763
|
+
"BitstringStatusListEntry",
|
|
60764
|
+
"DataIntegrityProof",
|
|
60765
|
+
"EnvelopedVerifiableCredential",
|
|
60766
|
+
"EnvelopedVerifiablePresentation",
|
|
60767
|
+
"JsonSchema",
|
|
60768
|
+
"JsonSchemaCredential",
|
|
60769
|
+
"VerifiableCredential",
|
|
60770
|
+
"VerifiablePresentation",
|
|
60771
|
+
"_sd",
|
|
60772
|
+
"_sd_alg",
|
|
60773
|
+
"aud",
|
|
60774
|
+
"challenge",
|
|
60775
|
+
"cnf",
|
|
60776
|
+
"confidenceMethod",
|
|
60777
|
+
"created",
|
|
60778
|
+
"credentialSchema",
|
|
60779
|
+
"credentialStatus",
|
|
60780
|
+
"credentialSubject",
|
|
60781
|
+
"cryptosuite",
|
|
60782
|
+
"description",
|
|
60783
|
+
"digestMultibase",
|
|
60784
|
+
"digestSRI",
|
|
60785
|
+
"domain",
|
|
60786
|
+
"encodedList",
|
|
60787
|
+
"evidence",
|
|
60788
|
+
"exp",
|
|
60789
|
+
"expires",
|
|
60790
|
+
"holder",
|
|
60791
|
+
"iat",
|
|
60792
|
+
"id",
|
|
60793
|
+
"iss",
|
|
60794
|
+
"issuer",
|
|
60795
|
+
"jku",
|
|
60796
|
+
"jsonSchema",
|
|
60797
|
+
"jwk",
|
|
60798
|
+
"kid",
|
|
60799
|
+
"mediaType",
|
|
60800
|
+
"name",
|
|
60801
|
+
"nbf",
|
|
60802
|
+
"nonce",
|
|
60803
|
+
"previousProof",
|
|
60804
|
+
"proof",
|
|
60805
|
+
"proofPurpose",
|
|
60806
|
+
"proofValue",
|
|
60807
|
+
"refreshService",
|
|
60808
|
+
"relatedResource",
|
|
60809
|
+
"renderMethod",
|
|
60810
|
+
"statusListCredential",
|
|
60811
|
+
"statusListIndex",
|
|
60812
|
+
"statusMessage",
|
|
60813
|
+
"statusPurpose",
|
|
60814
|
+
"statusReference",
|
|
60815
|
+
"statusSize",
|
|
60816
|
+
"sub",
|
|
60817
|
+
"termsOfUse",
|
|
60818
|
+
"ttl",
|
|
60819
|
+
"type",
|
|
60820
|
+
"validFrom",
|
|
60821
|
+
"validUntil",
|
|
60822
|
+
"verifiableCredential",
|
|
60823
|
+
"verificationMethod",
|
|
60824
|
+
"x5u"
|
|
60825
|
+
]);
|
|
60826
|
+
ReservedClaimNameError = class extends Error {
|
|
60827
|
+
};
|
|
60701
60828
|
CRYPTOSUITE = "eddsa-jcs-2022";
|
|
60702
60829
|
BASE58_ALPHABET2 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
60703
60830
|
}
|
|
@@ -60711,6 +60838,8 @@ var init_dist = __esm({
|
|
|
60711
60838
|
init_telemetry = __esm2({
|
|
60712
60839
|
"../crypto/dist/telemetry.js"() {
|
|
60713
60840
|
"use strict";
|
|
60841
|
+
DEFAULT_PORTS = { "http:": "80", "https:": "443", "ws:": "80", "wss:": "443" };
|
|
60842
|
+
ORIGIN_HOST = /^(?:[a-z0-9._-]+|\[[0-9a-f:.]+\])$/;
|
|
60714
60843
|
}
|
|
60715
60844
|
});
|
|
60716
60845
|
init_telemetry_reporter = __esm2({
|
|
@@ -60727,6 +60856,8 @@ var init_dist = __esm({
|
|
|
60727
60856
|
_pluginVersion;
|
|
60728
60857
|
_maxRetries;
|
|
60729
60858
|
_maxBufferedSpans;
|
|
60859
|
+
/** Date.now() before which nothing is sent: set by a 429's Retry-After (#1752). */
|
|
60860
|
+
_backoffUntil = 0;
|
|
60730
60861
|
_buffer = [];
|
|
60731
60862
|
/** Failed send attempts per buffered span. */
|
|
60732
60863
|
_attempts = /* @__PURE__ */ new WeakMap();
|
|
@@ -60749,39 +60880,39 @@ var init_dist = __esm({
|
|
|
60749
60880
|
// -- Report methods ---------------------------------------------------------
|
|
60750
60881
|
/** Record an LLM inference call. */
|
|
60751
60882
|
reportLlmCall(opts) {
|
|
60752
|
-
this.
|
|
60883
|
+
this._push(buildLlmSpan(opts));
|
|
60753
60884
|
}
|
|
60754
60885
|
/** Record a tool/function invocation. */
|
|
60755
60886
|
reportToolCall(opts) {
|
|
60756
|
-
this.
|
|
60887
|
+
this._push(buildToolSpan(opts));
|
|
60757
60888
|
}
|
|
60758
60889
|
/** Record an error event. */
|
|
60759
60890
|
reportError(opts) {
|
|
60760
|
-
this.
|
|
60891
|
+
this._push(buildErrorSpan(opts));
|
|
60761
60892
|
}
|
|
60762
60893
|
/** Record an HTTP request call. */
|
|
60763
60894
|
reportHttpCall(opts) {
|
|
60764
|
-
this.
|
|
60895
|
+
this._push(buildHttpSpan(opts));
|
|
60765
60896
|
}
|
|
60766
60897
|
/** Record an action execution. */
|
|
60767
60898
|
reportActionCall(opts) {
|
|
60768
|
-
this.
|
|
60899
|
+
this._push(buildActionSpan(opts));
|
|
60769
60900
|
}
|
|
60770
60901
|
/** Record a navigation event. */
|
|
60771
60902
|
reportNavCall(opts) {
|
|
60772
|
-
this.
|
|
60903
|
+
this._push(buildNavSpan(opts));
|
|
60773
60904
|
}
|
|
60774
60905
|
/** Record an evaluation event. */
|
|
60775
60906
|
reportEvaluation(opts) {
|
|
60776
|
-
this.
|
|
60907
|
+
this._push(buildEvalSpan(opts));
|
|
60777
60908
|
}
|
|
60778
60909
|
/** Record a task lifecycle event. */
|
|
60779
60910
|
reportTaskCall(opts) {
|
|
60780
|
-
this.
|
|
60911
|
+
this._push(buildTaskSpan(opts));
|
|
60781
60912
|
}
|
|
60782
60913
|
/** Record an arbitrary pre-built span. */
|
|
60783
60914
|
reportCustomSpan(span) {
|
|
60784
|
-
this.
|
|
60915
|
+
this._push(span);
|
|
60785
60916
|
}
|
|
60786
60917
|
// -- Flush ------------------------------------------------------------------
|
|
60787
60918
|
/**
|
|
@@ -60790,6 +60921,8 @@ var init_dist = __esm({
|
|
|
60790
60921
|
* - On success (HTTP 2xx): clears the buffer.
|
|
60791
60922
|
* - On a retryable failure (network, 5xx, 408, 429): keeps spans for retry,
|
|
60792
60923
|
* bounded by `maxRetries` per span and `maxBufferedSpans` overall.
|
|
60924
|
+
* - On 413 (body over the server's size limit): splits the batch in half
|
|
60925
|
+
* and sends each half; a single span still too large is dropped.
|
|
60793
60926
|
* - On any other 4xx: drops the batch (it can never be accepted).
|
|
60794
60927
|
* - Never throws — telemetry is best-effort.
|
|
60795
60928
|
*/
|
|
@@ -60799,6 +60932,19 @@ var init_dist = __esm({
|
|
|
60799
60932
|
}
|
|
60800
60933
|
const spans = this._buffer;
|
|
60801
60934
|
this._buffer = [];
|
|
60935
|
+
const failed = { spans: [], uncounted: /* @__PURE__ */ new Set() };
|
|
60936
|
+
await this._send(spans, failed);
|
|
60937
|
+
this._requeue(failed);
|
|
60938
|
+
}
|
|
60939
|
+
/** POST one batch; on 413 split it and send the halves (#1746). Spans that
|
|
60940
|
+
* must be retried are collected in `failed`, in order. Never throws. */
|
|
60941
|
+
async _send(spans, failed) {
|
|
60942
|
+
if (Date.now() < this._backoffUntil) {
|
|
60943
|
+
failed.spans.push(...spans);
|
|
60944
|
+
for (const span of spans)
|
|
60945
|
+
failed.uncounted.add(span);
|
|
60946
|
+
return;
|
|
60947
|
+
}
|
|
60802
60948
|
try {
|
|
60803
60949
|
const response = await this._fetch(`${this._apiBase}/api/v1/telemetry/ingest`, {
|
|
60804
60950
|
method: "POST",
|
|
@@ -60819,16 +60965,46 @@ var init_dist = __esm({
|
|
|
60819
60965
|
spans: spans.map(spanToOtlp)
|
|
60820
60966
|
})
|
|
60821
60967
|
});
|
|
60968
|
+
if (response.status === 413) {
|
|
60969
|
+
if (spans.length > 1) {
|
|
60970
|
+
const mid = Math.ceil(spans.length / 2);
|
|
60971
|
+
await this._send(spans.slice(0, mid), failed);
|
|
60972
|
+
await this._send(spans.slice(mid), failed);
|
|
60973
|
+
}
|
|
60974
|
+
return;
|
|
60975
|
+
}
|
|
60976
|
+
if (response.status === 429) {
|
|
60977
|
+
this._backoffUntil = Date.now() + retryAfterMs(response);
|
|
60978
|
+
failed.spans.push(...spans);
|
|
60979
|
+
for (const span of spans)
|
|
60980
|
+
failed.uncounted.add(span);
|
|
60981
|
+
return;
|
|
60982
|
+
}
|
|
60822
60983
|
if (!response.ok && isRetryableStatus(response.status)) {
|
|
60823
|
-
|
|
60984
|
+
failed.spans.push(...spans);
|
|
60824
60985
|
}
|
|
60825
60986
|
} catch {
|
|
60826
|
-
|
|
60987
|
+
failed.spans.push(...spans);
|
|
60988
|
+
}
|
|
60989
|
+
}
|
|
60990
|
+
/** Add a span, keeping at most `maxBufferedSpans` (the oldest go first).
|
|
60991
|
+
* Enforced here, not only after a flush, so the cap holds on every path:
|
|
60992
|
+
* between flushes, during a long 429 backoff, or with auto-flush stopped
|
|
60993
|
+
* (#1753 review). */
|
|
60994
|
+
_push(span) {
|
|
60995
|
+
this._buffer.push(span);
|
|
60996
|
+
if (this._buffer.length > this._maxBufferedSpans) {
|
|
60997
|
+
this._buffer.splice(0, this._buffer.length - this._maxBufferedSpans);
|
|
60827
60998
|
}
|
|
60828
60999
|
}
|
|
60829
|
-
/** Put
|
|
60830
|
-
|
|
60831
|
-
|
|
61000
|
+
/** Put this flush's failed spans back in front of newer spans, in their
|
|
61001
|
+
* original order, within both caps. A 429'd span uses no retry. */
|
|
61002
|
+
_requeue(failed) {
|
|
61003
|
+
if (failed.spans.length === 0)
|
|
61004
|
+
return;
|
|
61005
|
+
const retained = failed.spans.filter((span) => {
|
|
61006
|
+
if (failed.uncounted.has(span))
|
|
61007
|
+
return true;
|
|
60832
61008
|
const attempts = (this._attempts.get(span) ?? 0) + 1;
|
|
60833
61009
|
this._attempts.set(span, attempts);
|
|
60834
61010
|
return attempts < this._maxRetries;
|
|
@@ -70144,6 +70320,7 @@ var init_dist = __esm({
|
|
|
70144
70320
|
spanToW3CHeaders: () => spanToW3CHeaders,
|
|
70145
70321
|
transportToEncryptedMessage: () => transportToEncryptedMessage,
|
|
70146
70322
|
transportV2ToEncryptedMessage: () => transportV2ToEncryptedMessage,
|
|
70323
|
+
urlOrigin: () => urlOrigin,
|
|
70147
70324
|
validateHistoryArchive: () => validateHistoryArchive,
|
|
70148
70325
|
verifyApprovalArtifact: () => verifyApprovalArtifact,
|
|
70149
70326
|
verifyDataIntegrity: () => verifyDataIntegrity,
|
|
@@ -70641,6 +70818,17 @@ var init_dist = __esm({
|
|
|
70641
70818
|
};
|
|
70642
70819
|
}
|
|
70643
70820
|
});
|
|
70821
|
+
init_message_kind = __esm2({
|
|
70822
|
+
"src/message-kind.ts"() {
|
|
70823
|
+
"use strict";
|
|
70824
|
+
CONTROL_MESSAGE_TYPES = /* @__PURE__ */ new Set([
|
|
70825
|
+
"history_catchup_request",
|
|
70826
|
+
"history_catchup_response",
|
|
70827
|
+
"heartbeat",
|
|
70828
|
+
"credential_ack"
|
|
70829
|
+
]);
|
|
70830
|
+
}
|
|
70831
|
+
});
|
|
70644
70832
|
history_backup_client_exports = {};
|
|
70645
70833
|
__export2(history_backup_client_exports, {
|
|
70646
70834
|
HISTORY_RESTORE_RESPONSE_MAX_BYTES: () => HISTORY_RESTORE_RESPONSE_MAX_BYTES,
|
|
@@ -70981,6 +71169,7 @@ var init_dist = __esm({
|
|
|
70981
71169
|
init_http_handlers = __esm2({
|
|
70982
71170
|
"src/http-handlers.ts"() {
|
|
70983
71171
|
"use strict";
|
|
71172
|
+
init_message_kind();
|
|
70984
71173
|
init_owner_routing();
|
|
70985
71174
|
init_tool_telemetry();
|
|
70986
71175
|
}
|
|
@@ -71034,6 +71223,7 @@ var init_dist = __esm({
|
|
|
71034
71223
|
init_decision_reply();
|
|
71035
71224
|
init_welcome_kp_backoff();
|
|
71036
71225
|
init_delivery_cadence();
|
|
71226
|
+
init_message_kind();
|
|
71037
71227
|
ROOM_AGENT_TYPES = /* @__PURE__ */ new Set([
|
|
71038
71228
|
"message",
|
|
71039
71229
|
"text",
|
|
@@ -71392,6 +71582,18 @@ ${text}`,
|
|
|
71392
71582
|
_lastResyncRequest = /* @__PURE__ */ new Map();
|
|
71393
71583
|
/** Dedup: last room/group welcome self-heal request timestamp per group (30s window). */
|
|
71394
71584
|
_welcomeSelfHealInflight = /* @__PURE__ */ new Map();
|
|
71585
|
+
/**
|
|
71586
|
+
* #1721: groups whose `request-welcome` the server REFUSED (403/404) in this
|
|
71587
|
+
* process. A persisted room/conv/A2A entry is never pruned on leave, delete
|
|
71588
|
+
* or channel close, so a connect-time sync at epoch 0 would otherwise ask
|
|
71589
|
+
* for it on every reconnect, forever, and the standing renewal every sweep.
|
|
71590
|
+
* 403/404 is "you are not a member of this" — terminal until restart. Other
|
|
71591
|
+
* 4xx (a 429 at the edge) are transient and retry like a 5xx.
|
|
71592
|
+
*/
|
|
71593
|
+
_welcomeRefusedGroups = /* @__PURE__ */ new Set();
|
|
71594
|
+
/** #1721: when each stateless group last had its Welcome request renewed. */
|
|
71595
|
+
_statelessRenewalAt = /* @__PURE__ */ new Map();
|
|
71596
|
+
static _STATELESS_RENEWAL_MS = 10 * 60 * 1e3;
|
|
71395
71597
|
/** History-only backup work is intentionally independent of ratchet persistence. */
|
|
71396
71598
|
_historyBackupScheduler;
|
|
71397
71599
|
_historyBackupClient = null;
|
|
@@ -73170,6 +73372,8 @@ ${text}`,
|
|
|
73170
73372
|
topic_id: frameTopicId,
|
|
73171
73373
|
client_message_id: clientMessageId,
|
|
73172
73374
|
message_type: messageType,
|
|
73375
|
+
message_kind: messageKindFor(messageType),
|
|
73376
|
+
// #1641
|
|
73173
73377
|
priority,
|
|
73174
73378
|
parent_span_id: parentSpanId,
|
|
73175
73379
|
metadata: scanStatus ? { ...envelopeMetadata ?? {}, scan_status: scanStatus } : envelopeMetadata
|
|
@@ -73228,6 +73432,8 @@ ${text}`,
|
|
|
73228
73432
|
topic_id: topicId,
|
|
73229
73433
|
client_message_id: clientMessageId,
|
|
73230
73434
|
message_type: messageType,
|
|
73435
|
+
message_kind: messageKindFor(messageType),
|
|
73436
|
+
// #1641
|
|
73231
73437
|
priority,
|
|
73232
73438
|
parent_span_id: parentSpanId,
|
|
73233
73439
|
metadata: scanStatus ? { ...envelopeMetadata ?? {}, scan_status: scanStatus } : envelopeMetadata
|
|
@@ -73345,6 +73551,8 @@ ${text}`,
|
|
|
73345
73551
|
topic_id: topicId,
|
|
73346
73552
|
client_message_id: clientMessageId,
|
|
73347
73553
|
message_type: messageType,
|
|
73554
|
+
message_kind: messageKindFor(messageType),
|
|
73555
|
+
// #1641
|
|
73348
73556
|
priority,
|
|
73349
73557
|
parent_span_id: parentSpanId,
|
|
73350
73558
|
metadata: envelopeMetadata
|
|
@@ -73438,7 +73646,7 @@ ${text}`,
|
|
|
73438
73646
|
*/
|
|
73439
73647
|
sendActivitySpan(spanData) {
|
|
73440
73648
|
if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
|
|
73441
|
-
const pluginVersion = true ? "0.23.
|
|
73649
|
+
const pluginVersion = true ? "0.23.70" : "0.0.0-dev";
|
|
73442
73650
|
const agentName = this.config.agentName ?? "Agent";
|
|
73443
73651
|
const resource = {
|
|
73444
73652
|
"service.name": "agentvault-agent",
|
|
@@ -73680,6 +73888,8 @@ ${text}`,
|
|
|
73680
73888
|
epoch: Number(mlsGroup.epoch),
|
|
73681
73889
|
payload: Buffer.from(ciphertext).toString("hex"),
|
|
73682
73890
|
message_type: messageType,
|
|
73891
|
+
message_kind: messageKindFor(messageType),
|
|
73892
|
+
// #1641
|
|
73683
73893
|
priority: opts?.priority ?? "normal",
|
|
73684
73894
|
metadata: opts?.metadata
|
|
73685
73895
|
}
|
|
@@ -75726,7 +75936,7 @@ ${text}`,
|
|
|
75726
75936
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
75727
75937
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
75728
75938
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
75729
|
-
pluginVersion: true ? "0.23.
|
|
75939
|
+
pluginVersion: true ? "0.23.70" : "0.0.0-dev"
|
|
75730
75940
|
});
|
|
75731
75941
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
75732
75942
|
}
|
|
@@ -75740,45 +75950,7 @@ ${text}`,
|
|
|
75740
75950
|
this._startKeyProofTimer();
|
|
75741
75951
|
this._beginDeliveryPulls();
|
|
75742
75952
|
this._startA2aReconcileTimer();
|
|
75743
|
-
|
|
75744
|
-
if (entry.mlsGroupId) {
|
|
75745
|
-
const mlsGroup = this._mlsGroups.get(`conv:${convId}`);
|
|
75746
|
-
ws.send(JSON.stringify({
|
|
75747
|
-
event: "mls_sync",
|
|
75748
|
-
data: {
|
|
75749
|
-
group_id: entry.mlsGroupId,
|
|
75750
|
-
last_epoch: mlsGroup ? Number(mlsGroup.epoch) : 0
|
|
75751
|
-
}
|
|
75752
|
-
}));
|
|
75753
|
-
}
|
|
75754
|
-
}
|
|
75755
|
-
for (const [roomId, room] of Object.entries(this._persisted?.rooms ?? {})) {
|
|
75756
|
-
const mlsGroupId = room.mlsGroupId;
|
|
75757
|
-
if (mlsGroupId) {
|
|
75758
|
-
const mlsGroup = this._mlsGroups.get(roomId);
|
|
75759
|
-
const syncData = {
|
|
75760
|
-
group_id: mlsGroupId,
|
|
75761
|
-
last_epoch: mlsGroup ? Number(mlsGroup.epoch) : 0
|
|
75762
|
-
};
|
|
75763
|
-
const lastTs = room.lastMlsMessageTs;
|
|
75764
|
-
if (lastTs) {
|
|
75765
|
-
syncData.since_ts = lastTs;
|
|
75766
|
-
}
|
|
75767
|
-
ws.send(JSON.stringify({ event: "mls_sync", data: syncData }));
|
|
75768
|
-
}
|
|
75769
|
-
}
|
|
75770
|
-
for (const [channelId, entry] of Object.entries(this._persisted?.a2aChannels ?? {})) {
|
|
75771
|
-
if (entry.mlsGroupId) {
|
|
75772
|
-
const mlsGroup = this._mlsGroups.get(`a2a:${channelId}`);
|
|
75773
|
-
ws.send(JSON.stringify({
|
|
75774
|
-
event: "mls_sync",
|
|
75775
|
-
data: {
|
|
75776
|
-
group_id: entry.mlsGroupId,
|
|
75777
|
-
last_epoch: mlsGroup ? Number(mlsGroup.epoch) : 0
|
|
75778
|
-
}
|
|
75779
|
-
}));
|
|
75780
|
-
}
|
|
75781
|
-
}
|
|
75953
|
+
this._sendMlsSyncs(ws);
|
|
75782
75954
|
this.emit("ready");
|
|
75783
75955
|
} catch (openErr) {
|
|
75784
75956
|
console.error("[SecureChannel] Error in WS open handler:", openErr);
|
|
@@ -76058,7 +76230,7 @@ ${text}`,
|
|
|
76058
76230
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
76059
76231
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
76060
76232
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
76061
|
-
pluginVersion: true ? "0.23.
|
|
76233
|
+
pluginVersion: true ? "0.23.70" : "0.0.0-dev"
|
|
76062
76234
|
});
|
|
76063
76235
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
76064
76236
|
}
|
|
@@ -76568,7 +76740,9 @@ ${text}`,
|
|
|
76568
76740
|
group_id: mlsGroupId,
|
|
76569
76741
|
epoch: Number(mgr.epoch),
|
|
76570
76742
|
payload: Buffer.from(cipher).toString("hex"),
|
|
76571
|
-
message_type: "history_catchup_response"
|
|
76743
|
+
message_type: "history_catchup_response",
|
|
76744
|
+
message_kind: "control"
|
|
76745
|
+
// #1641
|
|
76572
76746
|
}
|
|
76573
76747
|
}));
|
|
76574
76748
|
}
|
|
@@ -77515,12 +77689,8 @@ ${baseText}`;
|
|
|
77515
77689
|
});
|
|
77516
77690
|
this._recordPublishedKp(kp);
|
|
77517
77691
|
await savePendingKpBundle(this.config.dataDir, groupId, kp, MLSGroupManager.serializeKeyPackage);
|
|
77518
|
-
await
|
|
77519
|
-
|
|
77520
|
-
headers: { Authorization: `Bearer ${this._deviceJwt}`, "Content-Type": "application/json" },
|
|
77521
|
-
body: JSON.stringify({ device_id: this._deviceId })
|
|
77522
|
-
});
|
|
77523
|
-
console.log(`[SecureChannel] Welcome requested for room ${resolvedRoomId.slice(0, 8)} group ${groupId?.slice(0, 8)}`);
|
|
77692
|
+
const { ok } = await this._postRequestWelcome(groupId, `room ${resolvedRoomId.slice(0, 8)}`);
|
|
77693
|
+
if (ok) console.log(`[SecureChannel] Welcome requested for room ${resolvedRoomId.slice(0, 8)} group ${groupId?.slice(0, 8)}`);
|
|
77524
77694
|
} catch (reqErr) {
|
|
77525
77695
|
console.warn(`[SecureChannel] Welcome request failed for room ${resolvedRoomId.slice(0, 8)}:`, reqErr);
|
|
77526
77696
|
await releaseA2ASyncLock(this.config.dataDir, roomLockId).catch(() => {
|
|
@@ -77899,7 +78069,69 @@ ${baseText}`;
|
|
|
77899
78069
|
console.error(`[SecureChannel] MLS commit resync FAILED for ${label}:`, recoverErr);
|
|
77900
78070
|
}
|
|
77901
78071
|
}
|
|
78072
|
+
/**
|
|
78073
|
+
* #1721: the connect-time `mls_sync` for every persisted group. `last_epoch`
|
|
78074
|
+
* is the local manager's epoch, or 0 when this device holds no state for a
|
|
78075
|
+
* group it is persisted as belonging to — and 0 is exactly the moment the
|
|
78076
|
+
* client KNOWS it is stranded. `charlie` sent that 0 on every reconnect for
|
|
78077
|
+
* eight days while the server replayed frames it could not read, and never
|
|
78078
|
+
* once asked for the Welcome it needed. Now it asks, right here, for every
|
|
78079
|
+
* family the sync covers (the three loops this replaces were hand-copies of
|
|
78080
|
+
* one another, and only the room loop carried `since_ts`).
|
|
78081
|
+
*
|
|
78082
|
+
* The server also answers a 0 against a moved group with `rejoin` since
|
|
78083
|
+
* #1721, which fires the same self-heal from `_handleMlsSyncResponse`; the
|
|
78084
|
+
* two are deduped by `_requestWelcomeSelfHeal`'s inflight window, and this
|
|
78085
|
+
* one still fires against a server not yet on that release.
|
|
78086
|
+
*/
|
|
78087
|
+
_sendMlsSyncs(ws) {
|
|
78088
|
+
const families = [
|
|
78089
|
+
{ entries: this._persisted?.mlsConversations, managerKey: (id) => `conv:${id}` },
|
|
78090
|
+
{ entries: this._persisted?.rooms, managerKey: (id) => id, sinceTs: (room) => room.lastMlsMessageTs },
|
|
78091
|
+
{ entries: this._persisted?.a2aChannels, managerKey: (id) => `a2a:${id}` }
|
|
78092
|
+
];
|
|
78093
|
+
for (const f2 of families) {
|
|
78094
|
+
for (const [id, entry] of Object.entries(f2.entries ?? {})) {
|
|
78095
|
+
const mlsGroupId = entry?.mlsGroupId;
|
|
78096
|
+
if (!mlsGroupId) continue;
|
|
78097
|
+
const mlsGroup = this._mlsGroups.get(f2.managerKey(id));
|
|
78098
|
+
const lastEpoch = mlsGroup?.isInitialized ? Number(mlsGroup.epoch) : 0;
|
|
78099
|
+
const syncData = { group_id: mlsGroupId, last_epoch: lastEpoch };
|
|
78100
|
+
const lastTs = f2.sinceTs?.(entry);
|
|
78101
|
+
if (lastTs) syncData.since_ts = lastTs;
|
|
78102
|
+
ws.send(JSON.stringify({ event: "mls_sync", data: syncData }));
|
|
78103
|
+
if (lastEpoch === 0 && !this._welcomeRefusedGroups.has(mlsGroupId)) {
|
|
78104
|
+
console.warn(`[SecureChannel] MLS sync at epoch 0 for group ${mlsGroupId.slice(0, 8)} \u2014 no local state for a group this device belongs to; requesting a Welcome (#1721)`);
|
|
78105
|
+
void this._requestWelcomeSelfHeal(mlsGroupId);
|
|
78106
|
+
}
|
|
78107
|
+
}
|
|
78108
|
+
}
|
|
78109
|
+
}
|
|
78110
|
+
/**
|
|
78111
|
+
* #1721: POST `request-welcome` and READ the answer. Three sites awaited this
|
|
78112
|
+
* fetch and never looked at the Response, so a 403 "Device not a member" was
|
|
78113
|
+
* indistinguishable from a 202 — the log said "Welcome requested" either way.
|
|
78114
|
+
* A 4xx marks the group refused for this process (see `_welcomeRefusedGroups`).
|
|
78115
|
+
*/
|
|
78116
|
+
async _postRequestWelcome(groupId, label) {
|
|
78117
|
+
const res = await fetch(`${this.config.apiUrl}/api/v1/mls/groups/${groupId}/request-welcome`, {
|
|
78118
|
+
method: "POST",
|
|
78119
|
+
headers: { Authorization: `Bearer ${this._deviceJwt}`, "Content-Type": "application/json" },
|
|
78120
|
+
body: JSON.stringify({ device_id: this._deviceId })
|
|
78121
|
+
});
|
|
78122
|
+
if (!res.ok) {
|
|
78123
|
+
let body = "";
|
|
78124
|
+
try {
|
|
78125
|
+
body = (await res.text()).slice(0, 200);
|
|
78126
|
+
} catch {
|
|
78127
|
+
}
|
|
78128
|
+
if (res.status === 403 || res.status === 404) this._welcomeRefusedGroups.add(groupId);
|
|
78129
|
+
console.warn(`[SecureChannel] request-welcome for ${label} ${groupId.slice(0, 8)} refused: HTTP ${res.status} ${body}`);
|
|
78130
|
+
}
|
|
78131
|
+
return { ok: res.ok, status: res.status };
|
|
78132
|
+
}
|
|
77902
78133
|
async _requestWelcomeSelfHeal(groupId) {
|
|
78134
|
+
if (this._welcomeRefusedGroups.has(groupId)) return;
|
|
77903
78135
|
const now = Date.now();
|
|
77904
78136
|
const last = this._welcomeSelfHealInflight.get(groupId) ?? 0;
|
|
77905
78137
|
if (now - last < 3e4) return;
|
|
@@ -77917,17 +78149,59 @@ ${baseText}`;
|
|
|
77917
78149
|
});
|
|
77918
78150
|
this._recordPublishedKp(kp);
|
|
77919
78151
|
await savePendingKpBundle(this.config.dataDir, groupId, kp, MLSGroupManager.serializeKeyPackage);
|
|
77920
|
-
await
|
|
77921
|
-
|
|
77922
|
-
|
|
77923
|
-
|
|
77924
|
-
}
|
|
78152
|
+
const { ok } = await this._postRequestWelcome(groupId, "self-heal");
|
|
78153
|
+
if (!ok) {
|
|
78154
|
+
this._welcomeSelfHealInflight.delete(groupId);
|
|
78155
|
+
return;
|
|
78156
|
+
}
|
|
77925
78157
|
console.log(`[SecureChannel] Welcome self-heal requested for group ${groupId.slice(0, 8)} (no local MLS state)`);
|
|
77926
78158
|
} catch (err) {
|
|
77927
78159
|
this._welcomeSelfHealInflight.delete(groupId);
|
|
77928
78160
|
console.warn(`[SecureChannel] Welcome self-heal failed for ${groupId.slice(0, 8)}:`, err);
|
|
77929
78161
|
}
|
|
77930
78162
|
}
|
|
78163
|
+
/**
|
|
78164
|
+
* #1721: keep this device's own Welcome request ALIVE for every persisted
|
|
78165
|
+
* group it holds no state for. Requests expire; a device that asked once and
|
|
78166
|
+
* was never served drops out of every server view keyed on a pending row,
|
|
78167
|
+
* and the pending-welcomes sweep below visits only groups WITH state. Run on
|
|
78168
|
+
* the full-sweep cadence (every `FULL_WELCOME_SWEEP_MS`), once per group per
|
|
78169
|
+
* renewal window, never for a group the server has refused. When a pending
|
|
78170
|
+
* KeyPackage bundle for the group is already on disk the committer can use
|
|
78171
|
+
* it, so only the request is re-posted; otherwise the full self-heal runs.
|
|
78172
|
+
*/
|
|
78173
|
+
async _renewStatelessWelcomeRequests() {
|
|
78174
|
+
if (!this._deviceId || !this._deviceJwt) return;
|
|
78175
|
+
const now = Date.now();
|
|
78176
|
+
const families = [
|
|
78177
|
+
{ entries: this._persisted?.rooms, managerKey: (id) => id },
|
|
78178
|
+
{ entries: this._persisted?.mlsConversations, managerKey: (id) => `conv:${id}` },
|
|
78179
|
+
{ entries: this._persisted?.a2aChannels, managerKey: (id) => `a2a:${id}` },
|
|
78180
|
+
{ entries: this._persisted?.mlsGroups, managerKey: (id) => `1to1-group:${id}` }
|
|
78181
|
+
];
|
|
78182
|
+
for (const f2 of families) {
|
|
78183
|
+
for (const [id, entry] of Object.entries(f2.entries ?? {})) {
|
|
78184
|
+
const mlsGroupId = entry?.mlsGroupId;
|
|
78185
|
+
if (!mlsGroupId) continue;
|
|
78186
|
+
if (this._mlsGroups.get(f2.managerKey(id))?.isInitialized) continue;
|
|
78187
|
+
if (this._welcomeRefusedGroups.has(mlsGroupId)) continue;
|
|
78188
|
+
const last = this._statelessRenewalAt.get(mlsGroupId) ?? 0;
|
|
78189
|
+
if (now - last < _SecureChannel._STATELESS_RENEWAL_MS) continue;
|
|
78190
|
+
this._statelessRenewalAt.set(mlsGroupId, now);
|
|
78191
|
+
try {
|
|
78192
|
+
if (await hasPendingWelcome(this.config.dataDir, mlsGroupId)) {
|
|
78193
|
+
const { ok } = await this._postRequestWelcome(mlsGroupId, "renewal");
|
|
78194
|
+
if (ok) console.log(`[SecureChannel] Welcome request renewed for group ${mlsGroupId.slice(0, 8)} (no local MLS state; pending KeyPackage reused)`);
|
|
78195
|
+
} else {
|
|
78196
|
+
this._welcomeSelfHealInflight.delete(mlsGroupId);
|
|
78197
|
+
await this._requestWelcomeSelfHeal(mlsGroupId);
|
|
78198
|
+
}
|
|
78199
|
+
} catch (err) {
|
|
78200
|
+
console.warn(`[SecureChannel] Welcome request renewal failed for ${mlsGroupId.slice(0, 8)}:`, err);
|
|
78201
|
+
}
|
|
78202
|
+
}
|
|
78203
|
+
}
|
|
78204
|
+
}
|
|
77931
78205
|
async _triggerMlsEpochRecovery(groupKey, mlsGroupId) {
|
|
77932
78206
|
console.warn(`[SecureChannel] MLS epoch recovery for ${groupKey} (${mlsGroupId.slice(0, 8)})`);
|
|
77933
78207
|
this._mlsGroups.delete(groupKey);
|
|
@@ -77946,12 +78220,8 @@ ${baseText}`;
|
|
|
77946
78220
|
});
|
|
77947
78221
|
this._recordPublishedKp(kp);
|
|
77948
78222
|
await savePendingKpBundle(this.config.dataDir, mlsGroupId, kp, MLSGroupManager.serializeKeyPackage);
|
|
77949
|
-
await
|
|
77950
|
-
|
|
77951
|
-
headers: { Authorization: `Bearer ${this._deviceJwt}`, "Content-Type": "application/json" },
|
|
77952
|
-
body: JSON.stringify({ device_id: this._deviceId })
|
|
77953
|
-
});
|
|
77954
|
-
console.log(`[SecureChannel] Epoch recovery: Welcome requested for group ${mlsGroupId.slice(0, 8)}`);
|
|
78223
|
+
const { ok } = await this._postRequestWelcome(mlsGroupId, "epoch recovery");
|
|
78224
|
+
if (ok) console.log(`[SecureChannel] Epoch recovery: Welcome requested for group ${mlsGroupId.slice(0, 8)}`);
|
|
77955
78225
|
} catch (err) {
|
|
77956
78226
|
console.error(`[SecureChannel] Epoch recovery failed for ${mlsGroupId.slice(0, 8)}:`, err);
|
|
77957
78227
|
}
|
|
@@ -78485,6 +78755,10 @@ ${baseText}`;
|
|
|
78485
78755
|
const groupId = typeof payload?.group_id === "string" ? payload.group_id : void 0;
|
|
78486
78756
|
const detail = typeof payload?.detail === "string" ? payload.detail : "";
|
|
78487
78757
|
if (!groupId || !detail.endsWith("commit rejected")) return;
|
|
78758
|
+
if (payload?.error === "COMMIT_MALFORMED" && payload.expected_epoch === void 0 && payload.current_epoch === void 0) {
|
|
78759
|
+
console.warn(`[SecureChannel] un-numbered COMMIT_MALFORMED for ${groupId.slice(0, 8)} \u2014 not one of our commits; ignored`);
|
|
78760
|
+
return;
|
|
78761
|
+
}
|
|
78488
78762
|
const inFlight = this._commitInFlight.get(groupId);
|
|
78489
78763
|
if (!inFlight) return;
|
|
78490
78764
|
const num = (v2) => typeof v2 === "number" && Number.isFinite(v2) ? v2 : void 0;
|
|
@@ -79449,6 +79723,9 @@ ${baseText}`;
|
|
|
79449
79723
|
}
|
|
79450
79724
|
}
|
|
79451
79725
|
const welcomeTargets = this._deliveryCadence.welcomeTargets(Date.now(), sync);
|
|
79726
|
+
if (welcomeTargets === null) {
|
|
79727
|
+
await this._renewStatelessWelcomeRequests();
|
|
79728
|
+
}
|
|
79452
79729
|
for (const [roomId, mlsGroup] of this._mlsGroups) {
|
|
79453
79730
|
if (!mlsGroup?.isInitialized) continue;
|
|
79454
79731
|
if (roomId.includes(":")) continue;
|
|
@@ -81931,11 +82208,17 @@ ${actionsText}`);
|
|
|
81931
82208
|
};
|
|
81932
82209
|
}
|
|
81933
82210
|
});
|
|
82211
|
+
init_url_origin = __esm2({
|
|
82212
|
+
"src/url-origin.ts"() {
|
|
82213
|
+
"use strict";
|
|
82214
|
+
}
|
|
82215
|
+
});
|
|
81934
82216
|
init_fetch_interceptor = __esm2({
|
|
81935
82217
|
"src/fetch-interceptor.ts"() {
|
|
81936
82218
|
"use strict";
|
|
81937
82219
|
init_llm_response_parser();
|
|
81938
82220
|
init_llm_cost();
|
|
82221
|
+
init_url_origin();
|
|
81939
82222
|
traceStore = new AsyncLocalStorage3();
|
|
81940
82223
|
}
|
|
81941
82224
|
});
|
|
@@ -82151,6 +82434,7 @@ ${actionsText}`);
|
|
|
82151
82434
|
init_room_protocol();
|
|
82152
82435
|
init_account_config();
|
|
82153
82436
|
init_fetch_interceptor();
|
|
82437
|
+
init_url_origin();
|
|
82154
82438
|
init_http_handlers();
|
|
82155
82439
|
init_openclaw_compat();
|
|
82156
82440
|
init_lifecycle();
|
|
@@ -100328,6 +100612,15 @@ ${content.join("\n")}
|
|
|
100328
100612
|
this._promptHandlersInitialized = false;
|
|
100329
100613
|
this.server = new Server(serverInfo, options);
|
|
100330
100614
|
this._maxToolInputElements = resolveMaxToolInputElements(options?.maxToolInputElements);
|
|
100615
|
+
if (options?.capabilities?.tools) {
|
|
100616
|
+
this.setToolRequestHandlers();
|
|
100617
|
+
}
|
|
100618
|
+
if (options?.capabilities?.resources) {
|
|
100619
|
+
this.setResourceRequestHandlers();
|
|
100620
|
+
}
|
|
100621
|
+
if (options?.capabilities?.prompts) {
|
|
100622
|
+
this.setPromptRequestHandlers();
|
|
100623
|
+
}
|
|
100331
100624
|
}
|
|
100332
100625
|
/**
|
|
100333
100626
|
* Access experimental features.
|
|
@@ -102887,7 +103180,7 @@ data:
|
|
|
102887
103180
|
init_room_protocol();
|
|
102888
103181
|
init_tool_telemetry();
|
|
102889
103182
|
init_turn_failure();
|
|
102890
|
-
VERSION = true ? "0.23.
|
|
103183
|
+
VERSION = true ? "0.23.70" : "0.0.0-dev";
|
|
102891
103184
|
}
|
|
102892
103185
|
});
|
|
102893
103186
|
await init_index();
|
|
@@ -105417,7 +105710,7 @@ async function main() {
|
|
|
105417
105710
|
const info = parseInfoFlags(process.argv.slice(2));
|
|
105418
105711
|
if (info.showVersion || info.showHelp) {
|
|
105419
105712
|
const version2 = buildClientVersion2(
|
|
105420
|
-
true ? "0.4.
|
|
105713
|
+
true ? "0.4.39" : void 0
|
|
105421
105714
|
);
|
|
105422
105715
|
if (info.showVersion) printLine(version2);
|
|
105423
105716
|
if (info.showHelp) {
|
|
@@ -105456,7 +105749,7 @@ async function main() {
|
|
|
105456
105749
|
process.exit(0);
|
|
105457
105750
|
}
|
|
105458
105751
|
const cfg = loadConfig(process.env, process.argv.slice(2));
|
|
105459
|
-
logLine(`[grok-bridge] version: ${true ? "0.4.
|
|
105752
|
+
logLine(`[grok-bridge] version: ${true ? "0.4.39" : "dev"}`);
|
|
105460
105753
|
mkdirSync7(cfg.workspaceDir, { recursive: true });
|
|
105461
105754
|
mkdirSync7(cfg.fenceHome, { recursive: true });
|
|
105462
105755
|
seedFenceCredential({
|
|
@@ -105471,7 +105764,7 @@ async function main() {
|
|
|
105471
105764
|
agentName: cfg.agentName,
|
|
105472
105765
|
platform: "node",
|
|
105473
105766
|
clientVersion: buildClientVersion2(
|
|
105474
|
-
true ? "0.4.
|
|
105767
|
+
true ? "0.4.39" : void 0
|
|
105475
105768
|
)
|
|
105476
105769
|
});
|
|
105477
105770
|
channelRef = channel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentvault/grok-bridge",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "AgentVault Grok Bridge — daemon bridging a Grok agent into E2E-encrypted AgentVault direct messages and rooms.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"prepublishOnly": "npm run build"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"ws": "^8.
|
|
28
|
+
"ws": "^8.22.1",
|
|
29
29
|
"zod": "^4.6.7"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"esbuild": "^0.28.2",
|
|
34
34
|
"typescript": "^5.4.0",
|
|
35
35
|
"vitest": "^2.0.0",
|
|
36
|
-
"@types/node": "^20.
|
|
36
|
+
"@types/node": "^20.19.43"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|