mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
Renaming the package to @wxg-prc-cpg/browser-skill-dsh-plugin left two identifiers behind on the old directory name, and both are resolved by name rather than by path. cordis.patch.yml is the specifier the loader imports, so dsh failed with ERR_MODULE_NOT_FOUND on startup and took the whole plugin tree down with it — installing the published package made dsh unusable. The client bundle registers itself under the same kind of key, which the web shell looks up by package name, so the screenshot toolview and the observation overlay were unreachable too. The bundle id now reads package.json instead of repeating the name, so it cannot drift again. Quoting is required in the YAML because a leading '@' is reserved in plain scalars. Co-authored-by: Cursor <cursoragent@cursor.com>
6 lines
236 B
YAML
6 lines
236 B
YAML
- insert:
|
|
- id: browserskill
|
|
# Must be the published package name — the loader imports this specifier.
|
|
# Quoted because YAML reserves a leading '@' in plain scalars.
|
|
name: "@wxg-prc-cpg/browser-skill-dsh-plugin"
|