fix: migrate metadata references from BashOutput to TaskOutput (#908)
Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
@@ -99,7 +99,7 @@ const FALLBACK_TOOL_NAMES = [
|
||||
"Skill",
|
||||
"EnterPlanMode",
|
||||
"ExitPlanMode",
|
||||
"BashOutput",
|
||||
"TaskOutput",
|
||||
"KillBash",
|
||||
];
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ const toolsets: ToolsetOption[] = [
|
||||
description: "Toolset optimized for Claude models",
|
||||
tools: [
|
||||
"Bash",
|
||||
"BashOutput",
|
||||
"TaskOutput",
|
||||
"Edit",
|
||||
"Glob",
|
||||
"Grep",
|
||||
|
||||
@@ -68,7 +68,9 @@ export function getDisplayToolName(rawName: string): string {
|
||||
if (rawName === "Replace" || rawName === "replace") return "Update";
|
||||
if (rawName === "WriteFile" || rawName === "write_file") return "Write";
|
||||
if (rawName === "KillBash") return "Kill Bash";
|
||||
if (rawName === "BashOutput") return "Shell Output";
|
||||
if (rawName === "BashOutput" || rawName === "TaskOutput") {
|
||||
return "Shell Output";
|
||||
}
|
||||
if (rawName === "MultiEdit") return "Update";
|
||||
|
||||
// No mapping found, return as-is
|
||||
|
||||
Reference in New Issue
Block a user