Auto-reply: fix status command lint
This commit is contained in:
@@ -567,7 +567,6 @@ export async function handleCommands(params: {
|
|||||||
const reply = await buildStatusReply({
|
const reply = await buildStatusReply({
|
||||||
cfg,
|
cfg,
|
||||||
command,
|
command,
|
||||||
provider: command.provider,
|
|
||||||
sessionEntry,
|
sessionEntry,
|
||||||
sessionKey,
|
sessionKey,
|
||||||
sessionScope,
|
sessionScope,
|
||||||
|
|||||||
@@ -65,7 +65,6 @@ describe("buildStatusMessage", () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
} as ClawdbotConfig,
|
} as ClawdbotConfig,
|
||||||
agent: {
|
agent: {
|
||||||
model: "anthropic/pi:opus",
|
model: "anthropic/pi:opus",
|
||||||
@@ -249,7 +248,6 @@ describe("buildStatusMessage", () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
} as ClawdbotConfig,
|
} as ClawdbotConfig,
|
||||||
agent: { model: "anthropic/claude-opus-4-5" },
|
agent: { model: "anthropic/claude-opus-4-5" },
|
||||||
sessionEntry: { sessionId: "c1", updatedAt: 0, inputTokens: 10 },
|
sessionEntry: { sessionId: "c1", updatedAt: 0, inputTokens: 10 },
|
||||||
|
|||||||
@@ -20,12 +20,14 @@ import {
|
|||||||
type SessionEntry,
|
type SessionEntry,
|
||||||
type SessionScope,
|
type SessionScope,
|
||||||
} from "../config/sessions.js";
|
} from "../config/sessions.js";
|
||||||
|
import { resolveCommitHash } from "../infra/git-commit.js";
|
||||||
import {
|
import {
|
||||||
estimateUsageCost,
|
estimateUsageCost,
|
||||||
formatTokenCount as formatTokenCountShared,
|
formatTokenCount as formatTokenCountShared,
|
||||||
formatUsd,
|
formatUsd,
|
||||||
resolveModelCostConfig,
|
resolveModelCostConfig,
|
||||||
} from "../utils/usage-format.js";
|
} from "../utils/usage-format.js";
|
||||||
|
import { VERSION } from "../version.js";
|
||||||
import { listChatCommands } from "./commands-registry.js";
|
import { listChatCommands } from "./commands-registry.js";
|
||||||
import type {
|
import type {
|
||||||
ElevatedLevel,
|
ElevatedLevel,
|
||||||
|
|||||||
Reference in New Issue
Block a user