microsoft / microsoft/vscode

Plugins hooks on devcontainers can't call upon plugin location

Open
#326,166 2 comments 2 reactions 1 assignee Claimed by @connor4312 View on GitHub
Dominant language
TypeScript
Stars
193k
Forks
42.4k
PR merge metrics
PR metrics pending

Description

- VS Code Version: 1.129.0
- OS Version: Windows/WSL/Devcontainer
- Feature (e.g. agent/edit/ask mode): plugin hooks
- Selected model (e.g. GPT 4.1, Claude 3.7 Sonnet): any
- Logs:

/bin/sh: 1: c:\Users\USER\.vscode\agent-plugins\github.com\obra\superpowers/hooks/run-hook.cmd: not found

Steps to Reproduce:

Plugins defined on plugins, with the correct syntax from https://code.visualstudio.com/docs/agent-customization/agent-plugins#_hook-configuration-format are not found inside a devcontainer.

Tried to install from inside the container the plugin, but then it doesnt pick up.

In this plugin example, it runs a command that injects skills into the context, the skills are from the plugin itself. Hooks that runs commands inside are ok, but those that need external files, in this case, from the plugin files are lost because of where it run vs where the files are.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.