You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4d45ad9
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/diagnostics.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -712,7 +712,7 @@ that registration statically and never writes `~/.cursor/hooks.json`.
712
712
713
713
| Code | Severity | Meaning | Recovery |
714
714
| --- | --- | --- | --- |
715
-
|`AB7321`| info / error | Info: an installed `.cursor-plugin/plugin.json` plugin registers plugin-scoped hooks (events and command count listed) and every `${CURSOR_PLUGIN_ROOT}`-relative script exists (`hooks.state = registered`). Error: the declared hooks file is missing (`missing`), is not a `{ version, hooks: { <event>: [{ command }] } }` document, or a referenced script is absent (`stale`). | Reinstall the plugin from a bundle whose emitted hooks document and scripts are intact. |
715
+
|`AB7321`| info / error | Info: an installed `.cursor-plugin/plugin.json` plugin registers plugin-scoped hooks (events and command count listed) and the script each command executes — `${CURSOR_PLUGIN_ROOT}/…` or any relative path, including an interpreter's entry operand — exists under the plugin root (`hooks.state = registered`). Error: the declared hooks file is missing (`missing`), is not a `{ version, hooks: { <event>: [{ command }] } }` document, or an executed script is absent (`stale`). | Reinstall the plugin from a bundle whose emitted hooks document and scripts are intact. |
716
716
|`AB7322`| warning |`~/.cursor/hooks.json` registers a command that points into an installed plugin directory (Cursor would deliver that hook twice), or the file is not a valid hooks document. | Remove the plugin-pointing entries or repair the file; manifest registration alone is sufficient. |
717
717
|`AB7323`| info / warning / error | A staged marketplace repository under `~/.cursor/agent-bundle/marketplaces/<name>` (from `install cursor --mode marketplace`) is imported by Cursor (matching plugin under `~/.cursor/plugins/cache`; info, `registered`), still awaiting the Customize "Add Plugins from Local Repository" step (warning, `unregistered`), or incomplete (error, `corrupt`: manifests missing or failing the pinned schemas, no resolvable Git HEAD, HEAD naming a commit object that does not exist, or a working tree that differs from committed HEAD — verified read-only through `git cat-file -e` / `git --no-optional-locks status` when `git` is available). | Complete the Customize import, use `--mode local`, or remove the staged directory and rerun the installer. |
0 commit comments