Skip to content

bug(windows): stock Kanban 0.1.46 fails to launch Claude and Codex runtimes with 'The command line is too long' #83

Description

@dallen2021

What happened?

On a fresh stock install of Kanban on Windows, the built-in Cline runtime works, but the external Claude and Codex Kanban Agent runtimes do not.

When I select Claude or Codex in the Kanban Agent sidebar, the embedded session does not stream properly. Instead, Kanban repeatedly shows:

The command line is too long

and then ends with:

[kanban] session exited with code 1

This reproduces in the stock install. The built-in Cline runtime works in the same setup, so this seems specific to the external agent runtime path on Windows rather than a general Kanban UI issue.

Steps to reproduce

  1. Install the latest stock versions globally:
    npm i -g cline kanban
  2. Start Kanban normally.
  3. Open a project/workspace.
  4. In the Kanban Agent runtime selector, choose Claude or Codex.
  5. Open the Kanban Agent sidebar and start/use the session.
  6. Observe repeated The command line is too long messages followed by [kanban] session exited with code 1.

Expected behavior

The Claude and Codex runtimes should launch normally and stream their session output in the Kanban Agent sidebar, similar to the built-in Cline runtime.

Kanban version

0.1.46

Environment

Windows 11 (10.0.26200.8037), Cline 2.11.0, Claude Code 2.1.85, Codex CLI 0.117.0, Node v22.22.0, npm 11.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsWindows related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions