refactor: remove unreachable internal code paths

Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
This commit is contained in:
chengyongruandchengyongru authored and chengyongru committed 2026-11-09 13:38:39 +08:00
1 parent 4212ad726d
commit 9257383bec
21 files changed
+86 -285

No files matched your search

-5
View File
@@ -363,11 +363,6 @@ export class NanobotClient {
this.applyRunEffects(this.runs.transition({ kind: "restore-pending", chatId, generation, turnId }));
}
/** Last ``goal_status`` ``started_at`` (unix sec) for *chatId*, if the turn is running. */
getRunStartedAt(chatId: string): number | null {
return this.runs.view(chatId).startedAt;
}
/** Canonical lifecycle turn currently owning the run, retained after completion. */
getRunTurnId(chatId: string): string | null {
return this.runs.view(chatId).latestTurnId;