Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/server/src/provider/acp/KiroAcpCommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as EffectAcpErrors from "effect-acp/errors";
import type * as AcpSessionRuntime from "./AcpSessionRuntime.ts";

const KIRO_COMMANDS_AVAILABLE_METHOD = "_kiro.dev/commands/available";
export const KIRO_COMMANDS_EXECUTE_METHOD = "_kiro.dev/commands/execute";
const KIRO_COMMANDS_EXECUTE_METHOD = "_kiro.dev/commands/execute";
const KIRO_COMMANDS_OPTIONS_METHOD = "_kiro.dev/commands/options";
export const KIRO_EFFORT_COMMAND = "effort";

Expand Down
14 changes: 0 additions & 14 deletions packages/client-runtime/src/state/subagentRuntime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,6 @@ export function projectedSubagentsToRuntime(
});
}

export function formatSubagentModelLabel(
model: string | null,
effort: string | null,
): string | null {
if (!model) {
return null;
}
const compact = model
.replace(/^claude-/, "")
.replace(/-\d{8}$/, "")
.replace(/-latest$/, "");
return effort ? `${compact} · ${effort}` : compact;
}

export function formatSubagentTokenCount(totalTokens: number): string {
if (totalTokens < 1000) {
return `${totalTokens}`;
Expand Down
Loading