Skip to content

[Bug]: Summarization feature broken on Windows #3

@thomas-intramotev

Description

@thomas-intramotev

Description

The 'summarization' feature has no effect on Windows--presumably because resolveExecutable in SummaryService.ts relies on the which utility, which doesn't exist on Windows (the CMD equivalent is where).

/** Resolve an executable name to an absolute path via `which`. */
private resolveExecutable(name: string): Promise<string | undefined> {
  return new Promise((resolve) => {
    execFile('which', [name], { timeout: CLI_CHECK_TIMEOUT_MS, env: CHILD_ENV }, (err, stdout) => {
      if (err || !stdout.trim()) return resolve(undefined);
      const binPath = stdout.trim();
      const child = spawn(binPath, ['--version'], { timeout: CLI_CHECK_TIMEOUT_MS, env: CHILD_ENV });
      child.on('error', () => resolve(undefined));
      child.on('close', (code) => resolve(code === 0 ? binPath : undefined));
    });
  });
}

Steps to Reproduce

  1. Open VS Code for Windows with a Workspace
  2. Open Claudine panel
  3. Toggle "summarize"

Expected Behavior

Card titles should toggle between original and AI-summarized versions with the "summarize" feature.

Actual Behavior

Cards display only their original titles.

VS Code Version

1.112.0

Claudine Version

1.1.5

Claude Code Extension Version

2.1.79

Operating System

Windows

Relevant Log Output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions