@agentvault/agentvault 0.23.23 → 0.23.24
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/channel.d.ts.map +1 -1
- package/dist/cli.js +11 -8
- package/dist/cli.js.map +2 -2
- package/dist/index.js +11 -8
- package/dist/index.js.map +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -63099,7 +63099,7 @@ var init_mls_kp_pool = __esm({
|
|
|
63099
63099
|
|
|
63100
63100
|
// src/client-version.ts
|
|
63101
63101
|
function ownIdentity() {
|
|
63102
|
-
const v2 = true ? "0.23.
|
|
63102
|
+
const v2 = true ? "0.23.24" : FALLBACK;
|
|
63103
63103
|
return `${PACKAGE}@${v2}`;
|
|
63104
63104
|
}
|
|
63105
63105
|
function buildClientVersion(override) {
|
|
@@ -65092,7 +65092,7 @@ var init_channel = __esm({
|
|
|
65092
65092
|
*/
|
|
65093
65093
|
sendActivitySpan(spanData) {
|
|
65094
65094
|
if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
|
|
65095
|
-
const pluginVersion = true ? "0.23.
|
|
65095
|
+
const pluginVersion = true ? "0.23.24" : "0.0.0-dev";
|
|
65096
65096
|
const agentName = this.config.agentName ?? "Agent";
|
|
65097
65097
|
const resource = {
|
|
65098
65098
|
"service.name": "agentvault-agent",
|
|
@@ -65557,7 +65557,7 @@ var init_channel = __esm({
|
|
|
65557
65557
|
this._persisted.groupId = primary.group_id;
|
|
65558
65558
|
this._persisted.primaryConversationId = primary.id;
|
|
65559
65559
|
const liveGroupIds = new Set(mine.map((r2) => r2.group_id));
|
|
65560
|
-
if (!liveGroupIds.has(staleGid)) {
|
|
65560
|
+
if (staleGid && staleMlsGroupId && !liveGroupIds.has(staleGid)) {
|
|
65561
65561
|
try {
|
|
65562
65562
|
await deleteMlsState(this.config.dataDir, staleMlsGroupId);
|
|
65563
65563
|
} catch {
|
|
@@ -65571,9 +65571,9 @@ var init_channel = __esm({
|
|
|
65571
65571
|
}
|
|
65572
65572
|
await this._persistState();
|
|
65573
65573
|
console.log(
|
|
65574
|
-
`[SecureChannel] Re-resolved conversation groups after 'unknown group' ${staleMlsGroupId.slice(0, 8)}: primary group ${String(before).slice(0, 8)} \u2192 ${this._persisted.groupId.slice(0, 8)} (${mine.length} active conversation(s))`
|
|
65574
|
+
`[SecureChannel] Re-resolved conversation groups ${staleMlsGroupId ? `after 'unknown group' ${staleMlsGroupId.slice(0, 8)}` : "on connect (#1034)"}: primary group ${String(before).slice(0, 8)} \u2192 ${this._persisted.groupId.slice(0, 8)} (${mine.length} active conversation(s))`
|
|
65575
65575
|
);
|
|
65576
|
-
return this._persisted.groupId !== before && before === staleGid;
|
|
65576
|
+
return staleGid !== void 0 && this._persisted.groupId !== before && before === staleGid;
|
|
65577
65577
|
}
|
|
65578
65578
|
/**
|
|
65579
65579
|
* Resend the message that a now-reconciled `unknown group` refusal killed (#732).
|
|
@@ -66975,6 +66975,9 @@ var init_channel = __esm({
|
|
|
66975
66975
|
await this._pullDrDeliveryQueue();
|
|
66976
66976
|
await this._flushOutboundQueue();
|
|
66977
66977
|
this._setState("ready");
|
|
66978
|
+
void this._reconcileConversationGroups().catch((err) => {
|
|
66979
|
+
console.warn("[SecureChannel] Conversation-group reconcile failed:", err);
|
|
66980
|
+
});
|
|
66978
66981
|
void this._reconcileRoomsWithServer().catch(
|
|
66979
66982
|
(err) => console.warn(`[SecureChannel] room reconcile failed (ignored): ${err instanceof Error ? err.message : String(err)}`)
|
|
66980
66983
|
).then(() => this._quarantineOrphanedMlsGroups()).catch(
|
|
@@ -67002,7 +67005,7 @@ var init_channel = __esm({
|
|
|
67002
67005
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
67003
67006
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
67004
67007
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
67005
|
-
pluginVersion: true ? "0.23.
|
|
67008
|
+
pluginVersion: true ? "0.23.24" : "0.0.0-dev"
|
|
67006
67009
|
});
|
|
67007
67010
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
67008
67011
|
}
|
|
@@ -67326,7 +67329,7 @@ var init_channel = __esm({
|
|
|
67326
67329
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
67327
67330
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
67328
67331
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
67329
|
-
pluginVersion: true ? "0.23.
|
|
67332
|
+
pluginVersion: true ? "0.23.24" : "0.0.0-dev"
|
|
67330
67333
|
});
|
|
67331
67334
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
67332
67335
|
}
|
|
@@ -97777,7 +97780,7 @@ var init_index = __esm({
|
|
|
97777
97780
|
init_skill_invoker();
|
|
97778
97781
|
await init_skill_telemetry();
|
|
97779
97782
|
await init_policy_enforcer();
|
|
97780
|
-
VERSION = true ? "0.23.
|
|
97783
|
+
VERSION = true ? "0.23.24" : "0.0.0-dev";
|
|
97781
97784
|
}
|
|
97782
97785
|
});
|
|
97783
97786
|
await init_index();
|