@axiom-lattice/core 2.1.10 → 2.1.11

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.mjs CHANGED
@@ -1748,10 +1748,8 @@ var AgentManager = class _AgentManager {
1748
1748
  if (return_agent_state) {
1749
1749
  event_bus_default.subscribeOnce(callback_event, (data) => {
1750
1750
  if (data.success) {
1751
- console.log("AgentManager callAgentInQueue success", data);
1752
1751
  resolve(data.state);
1753
1752
  } else {
1754
- console.log("AgentManager callAgentInQueue error", data);
1755
1753
  reject(data.error);
1756
1754
  }
1757
1755
  });
@@ -2945,7 +2943,7 @@ var InMemoryChunkBuffer = class extends ChunkBuffer {
2945
2943
  this.config = {
2946
2944
  ttl: config?.ttl ?? 60 * 60 * 1e3,
2947
2945
  cleanupInterval: config?.cleanupInterval ?? 0,
2948
- maxChunks: config?.maxChunks ?? 1e3
2946
+ maxChunks: config?.maxChunks ?? 1e5
2949
2947
  // Default max chunks per thread
2950
2948
  };
2951
2949
  if (this.config.cleanupInterval > 0) {
@@ -2999,9 +2997,7 @@ var InMemoryChunkBuffer = class extends ChunkBuffer {
2999
2997
  const now = Date.now();
3000
2998
  buffer = {
3001
2999
  threadId,
3002
- chunks$: new ReplaySubject(
3003
- this.config.maxChunks ?? 1e5
3004
- ),
3000
+ chunks$: new ReplaySubject(this.config.maxChunks),
3005
3001
  status: "active" /* ACTIVE */,
3006
3002
  createdAt: now,
3007
3003
  updatedAt: now,
@@ -3011,9 +3007,7 @@ var InMemoryChunkBuffer = class extends ChunkBuffer {
3011
3007
  }
3012
3008
  if (buffer.status !== "active" /* ACTIVE */) {
3013
3009
  buffer.status = "active" /* ACTIVE */;
3014
- buffer.chunks$ = new ReplaySubject(
3015
- this.config.maxChunks ?? 1e5
3016
- );
3010
+ buffer.chunks$ = new ReplaySubject(this.config.maxChunks);
3017
3011
  buffer.updatedAt = Date.now();
3018
3012
  buffer.expiresAt = Date.now() + this.config.ttl;
3019
3013
  }