fix: refine status usage and elevated directives

This commit is contained in:
Peter Steinberger
2026-01-09 03:09:50 +01:00
parent 8a3e100ad1
commit 468889abef
8 changed files with 168 additions and 9 deletions

View File

@@ -37,6 +37,7 @@ import {
normalizeCommandBody,
shouldHandleTextCommands,
} from "../commands-registry.js";
import { normalizeProviderId } from "../../agents/model-selection.js";
import {
normalizeGroupActivation,
parseActivationCommand,
@@ -424,6 +425,7 @@ export async function handleCommands(params: {
try {
const usageSummary = await loadProviderUsageSummary({
timeoutMs: 3500,
providers: [normalizeProviderId(provider)],
});
usageLine = formatUsageSummaryLine(usageSummary, { now: Date.now() });
} catch {