@botbotgo/agent-harness 0.0.410 → 0.0.412

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.
@@ -1,2 +1,2 @@
1
- export declare const AGENT_HARNESS_VERSION = "0.0.410";
1
+ export declare const AGENT_HARNESS_VERSION = "0.0.412";
2
2
  export declare const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
@@ -1,2 +1,2 @@
1
- export const AGENT_HARNESS_VERSION = "0.0.410";
1
+ export const AGENT_HARNESS_VERSION = "0.0.412";
2
2
  export const AGENT_HARNESS_RELEASE_DATE = "2026-05-02";
@@ -1407,7 +1407,9 @@ export class AgentHarnessRuntime {
1407
1407
  return;
1408
1408
  }
1409
1409
  this.closed = true;
1410
- await this.closeStageWithTimeout("healthMonitor.stop", () => this.healthMonitor?.stop() ?? Promise.resolve());
1410
+ await this.closeStageWithTimeout("healthMonitor.stop", async () => {
1411
+ await this.healthMonitor?.stop();
1412
+ });
1411
1413
  await this.closeStageWithTimeout("eventBus.drain", () => this.eventBus.drain());
1412
1414
  this.unregisterSessionMemorySync();
1413
1415
  this.unregisterRuntimeMemorySync();
@@ -1415,11 +1417,21 @@ export class AgentHarnessRuntime {
1415
1417
  this.unregisterRuntimeMemoryFormationSync();
1416
1418
  this.unregisterProceduralMemoryFormationSync();
1417
1419
  await this.drainBackgroundTasksForClose();
1418
- await this.closeStageWithTimeout("sessionMemorySync.close", () => this.sessionMemorySync?.close() ?? Promise.resolve());
1419
- await this.closeStageWithTimeout("runtimeMemorySync.close", () => this.runtimeMemorySync?.close() ?? Promise.resolve());
1420
- await this.closeStageWithTimeout("mem0IngestionSync.close", () => this.mem0IngestionSync?.close() ?? Promise.resolve());
1421
- await this.closeStageWithTimeout("runtimeMemoryFormationSync.close", () => this.runtimeMemoryFormationSync?.close() ?? Promise.resolve());
1422
- await this.closeStageWithTimeout("proceduralMemoryFormationSync.close", () => this.proceduralMemoryFormationSync?.close() ?? Promise.resolve());
1420
+ await this.closeStageWithTimeout("sessionMemorySync.close", async () => {
1421
+ await this.sessionMemorySync?.close();
1422
+ });
1423
+ await this.closeStageWithTimeout("runtimeMemorySync.close", async () => {
1424
+ await this.runtimeMemorySync?.close();
1425
+ });
1426
+ await this.closeStageWithTimeout("mem0IngestionSync.close", async () => {
1427
+ await this.mem0IngestionSync?.close();
1428
+ });
1429
+ await this.closeStageWithTimeout("runtimeMemoryFormationSync.close", async () => {
1430
+ await this.runtimeMemoryFormationSync?.close();
1431
+ });
1432
+ await this.closeStageWithTimeout("proceduralMemoryFormationSync.close", async () => {
1433
+ await this.proceduralMemoryFormationSync?.close();
1434
+ });
1423
1435
  await this.closeStageWithTimeout("closeMcpClientsForWorkspace", () => closeMcpClientsForWorkspace(this.workspace));
1424
1436
  this.initialized = false;
1425
1437
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botbotgo/agent-harness",
3
- "version": "0.0.410",
3
+ "version": "0.0.412",
4
4
  "description": "Workspace runtime for multi-agent applications",
5
5
  "license": "MIT",
6
6
  "type": "module",