Skip to content

[Bug] Kilo Code handoff fails - wrong extensionId casing (kilocode.Kilo-Code vs kilocode.kilo-code) #36

@ahmet-gungor

Description

@ahmet-gungor

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

  1. Install Traycer (v2.16.2) and Kilo Code (v7.1.9) in VS Code
    1. Add "Kilo Code" in Traycer Settings > Additional Agents
    1. Create a task/plan in Traycer
    1. Click "Handoff To" > Select "Kilo Code"
    1. Expected: Prompt appears in Kilo Code sidebar panel
    1. 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)
        • OS: Windows Server

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions