[BUG] v2.1.129 fails to activate — bundled with GitHub Actions runner path

Resolved 💬 4 comments Opened May 6, 2026 by wzf2004-HUST Closed May 6, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Description

Claude Code for VS Code v2.1.129 fails to activate on VS Code 1.118.1 (Windows 11).

Error Log

Activating extension 'Anthropic.claude-code' failed: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'.

Error: command 'claude-vscode.editor.openLast' not found

Root Cause

The extension is referencing a GitHub Actions runner path (/home/runner/work/claude-cli-internal/...) that does not exist on the user's machine. This causes activation to fail immediately, and all subsequent commands (e.g. claude-vscode.editor.openLast) are not registered.

Expected Behavior

Extension should activate successfully and all commands should be available.

Environment

  • OS: Windows 11 Home China 10.0.26200
  • VS Code: 1.118.1
  • Extension: Claude Code for VS Code v2.1.129

Steps to Reproduce

  1. Install Claude Code for VS Code v2.1.129 on VS Code 1.118.1
  2. Try to use any Claude command
  3. Extension fails to activate

What Should Happen?

Claude code拓展应该可以在vscode上用,不产生报错

Error Messages/Logs

## Description

Claude Code for VS Code v2.1.129 fails to activate on VS Code 1.118.1 (Windows 11).

## Error Log


Activating extension 'Anthropic.claude-code' failed: The argument 'filename' must be a file URL object, file URL string, or absolute path string. Received 'file:///home/runner/work/claude-cli-internal/claude-cli-internal/build-agent-sdk/sdk.mjs'.

Error: command 'claude-vscode.editor.openLast' not found


## Root Cause

The extension is referencing a GitHub Actions runner path (`/home/runner/work/claude-cli-internal/...`) that does not exist on the user's machine. This causes activation to fail immediately, and all subsequent commands (e.g. `claude-vscode.editor.openLast`) are not registered.

## Expected Behavior

Extension should activate successfully and all commands should be available.

## Environment

- OS: Windows 11 Home China 10.0.26200
- VS Code: 1.118.1
- Extension: Claude Code for VS Code v2.1.129

## Steps to Reproduce

1. Install Claude Code for VS Code v2.1.129 on VS Code 1.118.1
2. Try to use any Claude command
3. Extension fails to activate

Steps to Reproduce

  1. Install Claude Code for VS Code v2.1.129 on VS Code 1.118.1 (Windows 11)
  2. Try to use any Claude Code command
  3. Open Developer Tools Console to see the activation error

Claude Model

Other

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

v2.1.129-claude

Platform

Anthropic API

Operating System

Other

Terminal/Shell

Windows Terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗