@otto-code/client 0.8.15 → 0.8.17

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,6 +1,7 @@
1
1
  import type { SessionOutboundMessage } from "@otto-code/protocol/messages";
2
2
  interface RuntimeMetricsLogger {
3
3
  info(obj: object, msg?: string): void;
4
+ debug(obj: object, msg?: string): void;
4
5
  }
5
6
  interface RuntimeMetricsContext {
6
7
  connectionPath: "direct" | "relay";
@@ -119,7 +119,10 @@ export class DaemonClientRuntimeMetrics {
119
119
  if (!hasActivity && !options?.final) {
120
120
  return;
121
121
  }
122
- this.logger.info({
122
+ // Debug, not info: the rolling totals are read on demand by the app's
123
+ // Performance Diagnostics Capture (getTrafficTotals), so the periodic line
124
+ // only floods the console for anyone not actively hunting a wire problem.
125
+ this.logger.debug({
123
126
  windowMs: Math.min(this.windowMs, Math.max(0, now - this.startedAt)),
124
127
  rollingWindowMs: this.windowMs,
125
128
  bucketCount: this.buckets.length,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otto-code/client",
3
- "version": "0.8.15",
3
+ "version": "0.8.17",
4
4
  "description": "Otto client SDK package",
5
5
  "license": "AGPL-3.0-or-later",
6
6
  "files": [
@@ -40,8 +40,8 @@
40
40
  "test": "vitest run"
41
41
  },
42
42
  "dependencies": {
43
- "@otto-code/protocol": "0.8.15",
44
- "@otto-code/relay": "0.8.15",
43
+ "@otto-code/protocol": "0.8.17",
44
+ "@otto-code/relay": "0.8.17",
45
45
  "zod": "^4.4.3"
46
46
  },
47
47
  "devDependencies": {