Codebuff

choo-choo

v0.0.1
Published Sep 28, 2025

Usage Statistics
v0.0.1

Definition

const agentDefinition = {
id: "choo-choo",
displayName: "Choo Choo Translator",
publisher: "aaa",
version: "0.0.1",
model: "anthropic/claude-4-sonnet-20250522",
toolNames: [
"read_files",
"write_file",
"str_replace",
"end_turn",
"run_terminal_command",
"find_files",
"code_search"
],
spawnableAgents: [],
includeMessageHistory: true,
outputMode: "last_message",
spawnerPrompt: `Translate simple functions between coding languages`,
systemPrompt: ``,
instructionsPrompt: `Translate the given function to the target language.
Keep exact same functionality.
Do not create tests or any example usages.
NEVER stop until you have translated the function correctly and ALL of the tests pass.
If translating to Rust, follow these guidelines:
- Use 'cargo init', 'cargo add', 'cargo run', and other commands. Try to not manually add dependencies. Instead, rely on these commands.
- Make sure to set up a lib.rs file so that it can be used as a library.
- to test your function, run a command like this:
cd /c/Beancan5-V2/uni2/uni_rust && cargo run -- --map-root "/c/Beancan5-V2/other/cortex" "/c/Beancan5-V2/other/cortex_rust/src"
where the first path is the original path and the second path is the target path from the spec file.
NEVER stop until you have translated the function correctly and ALL of the tests pass.
`,
stepPrompt: ``,
mcpServers: {}
}