diff --git a/src/auto-reply/reply/commands.ts b/src/auto-reply/reply/commands.ts index 7876242ee..9887322df 100644 --- a/src/auto-reply/reply/commands.ts +++ b/src/auto-reply/reply/commands.ts @@ -567,7 +567,6 @@ export async function handleCommands(params: { const reply = await buildStatusReply({ cfg, command, - provider: command.provider, sessionEntry, sessionKey, sessionScope, diff --git a/src/auto-reply/status.test.ts b/src/auto-reply/status.test.ts index cf3db66d0..f6cd7dd48 100644 --- a/src/auto-reply/status.test.ts +++ b/src/auto-reply/status.test.ts @@ -65,7 +65,6 @@ describe("buildStatusMessage", () => { }, }, }, - }, } as ClawdbotConfig, agent: { model: "anthropic/pi:opus", @@ -249,7 +248,6 @@ describe("buildStatusMessage", () => { }, }, }, - }, } as ClawdbotConfig, agent: { model: "anthropic/claude-opus-4-5" }, sessionEntry: { sessionId: "c1", updatedAt: 0, inputTokens: 10 }, diff --git a/src/auto-reply/status.ts b/src/auto-reply/status.ts index c8401a663..3251e0de9 100644 --- a/src/auto-reply/status.ts +++ b/src/auto-reply/status.ts @@ -20,12 +20,14 @@ import { type SessionEntry, type SessionScope, } from "../config/sessions.js"; +import { resolveCommitHash } from "../infra/git-commit.js"; import { estimateUsageCost, formatTokenCount as formatTokenCountShared, formatUsd, resolveModelCostConfig, } from "../utils/usage-format.js"; +import { VERSION } from "../version.js"; import { listChatCommands } from "./commands-registry.js"; import type { ElevatedLevel,