From 3cc1a02afd6ca7453f2bb246dd29e6cf1ea84ebe Mon Sep 17 00:00:00 2001 From: QQ Date: Wed, 11 Nov 2026 23:15:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/reporter.ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/reporter.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/reporter.ts b/src/reporter.ts index d02143c..f32706c 100644 --- a/src/reporter.ts +++ b/src/reporter.ts @@ -31,7 +31,7 @@ export interface ReportRecord { error?: string } -/** Counters + recent history exposed by `GET /cloud-memory/status`. */ +/** Counters + recent history exposed by `GET /dsh-brain/status`. */ export interface ReporterSnapshot { attempted: number recorded: number @@ -331,7 +331,7 @@ export class Reporter { } this.summaryFailed += 1 this.lastSummaryError = describeError(result.error) - this.options.log(`cloud-memory: turn summary failed: ${this.lastSummaryError}`) + this.options.log(`dsh-brain: turn summary failed: ${this.lastSummaryError}`) } private push(record: ReportRecord): void { @@ -381,7 +381,7 @@ export class Reporter { this.queue.push(payload) if (this.queue.length > 200) this.queue.shift() } - this.options.log(`cloud-memory: turn report failed: ${this.lastError}`) + this.options.log(`dsh-brain: turn report failed: ${this.lastError}`) } /** Retry queued reports; safe to call at any time. */ @@ -404,7 +404,7 @@ export class Reporter { // an unbounded queue of metadata forever. this.queue.shift() this.retries.delete(payload.turn_id) - this.options.log(`cloud-memory: dropping turn report after ${attempt} attempts: ${this.lastError}`) + this.options.log(`dsh-brain: dropping turn report after ${attempt} attempts: ${this.lastError}`) continue } this.retries.set(payload.turn_id, attempt)