Description
The "Handoff To Kilo Code" feature silently fails and falls back to Claude Code CLI in the terminal. Kilo Code never receives the handoff prompt.
Root Cause (Found in Source Code)
In extension.js (v2.16.2), the Kilo Code agent handler registers with an incorrect extensionId:
Current (Bug):
extensionId: 'kilocode.Kilo-Code' // Capital K and C
Expected (Fix):
extensionId: 'kilocode.kilo-code' // All lowercase
VS Code extension IDs are case-sensitive. The real Kilo Code extension ID (as defined in its package.json) is kilocode.kilo-code (all lowercase).
Because of this mismatch, vscode.extensions.getExtension('kilocode.Kilo-Code') returns undefined, and Traycer falls back to the Claude Code CLI agent.
Evidence
Found at byte offset ~4795098 in the compiled extension.js:
Yz = class extends uT {
constructor(_0x271697) {
super(_0x271697, {
'extensionId': 'kilocode.Kilo-Code',
'displayName': 'Kilo Code',
'extensionName': 'Kilo Code',
'sidebarCommand': 'kilo-code.SidebarProvider.focus'
});
}
}
For comparison, the Roo Code handler has the correct casing:
extensionId: 'RooVeterinaryInc.roo-cline' // Matches actual extension
Steps to Reproduce
- Install Traycer (v2.16.2) and Kilo Code (v7.1.9) in VS Code
-
- Add "Kilo Code" in Traycer Settings > Additional Agents
-
- Create a task/plan in Traycer
-
- Click "Handoff To" > Select "Kilo Code"
-
- Expected: Prompt appears in Kilo Code sidebar panel
-
- Actual: Claude Code CLI launches in terminal instead; Kilo Code receives nothing
Environment
- VS Code: Latest
-
- Traycer: v2.16.2 (win32-x64)
-
-
- Kilo Code: v7.1.9 (win32-x64)
-
Suggested Fix
Change the extensionId from kilocode.Kilo-Code to kilocode.kilo-code in the source code where the Kilo Code agent handler is defined.
Description
The "Handoff To Kilo Code" feature silently fails and falls back to Claude Code CLI in the terminal. Kilo Code never receives the handoff prompt.
Root Cause (Found in Source Code)
In
extension.js(v2.16.2), the Kilo Code agent handler registers with an incorrect extensionId:Current (Bug):
Expected (Fix):
VS Code extension IDs are case-sensitive. The real Kilo Code extension ID (as defined in its package.json) is
kilocode.kilo-code(all lowercase).Because of this mismatch,
vscode.extensions.getExtension('kilocode.Kilo-Code')returnsundefined, and Traycer falls back to the Claude Code CLI agent.Evidence
Found at byte offset ~4795098 in the compiled
extension.js:For comparison, the Roo Code handler has the correct casing:
Steps to Reproduce
Environment
Suggested Fix
Change the extensionId from
kilocode.Kilo-Codetokilocode.kilo-codein the source code where the Kilo Code agent handler is defined.