diff options
| author | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-20 22:58:49 +0300 |
|---|---|---|
| committer | Ogulcan Celik <ogulcancelik@gmail.com> | 2026-07-20 23:04:15 +0300 |
| commit | 69d07dba84411db33bf1f5191a69f80e5069c6ea (patch) | |
| tree | e954eefb66346a37cfff8f8d68aaf91d74e18c3e /docs/next/website/src/content | |
| parent | d956a6b56dabac9690260e50a9e03372510877d4 (diff) | |
fix: make plugin state global across sessions
refs #1174
Diffstat (limited to 'docs/next/website/src/content')
| -rw-r--r-- | docs/next/website/src/content/docs/cli-reference.mdx | 2 | ||||
| -rw-r--r-- | docs/next/website/src/content/docs/plugins.mdx | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/docs/next/website/src/content/docs/cli-reference.mdx b/docs/next/website/src/content/docs/cli-reference.mdx index 91d86b59..cceb038d 100644 --- a/docs/next/website/src/content/docs/cli-reference.mdx +++ b/docs/next/website/src/content/docs/cli-reference.mdx @@ -400,6 +400,8 @@ herdr plugin disable <plugin_id> `plugin install` accepts GitHub shorthand only, such as `ogulcancelik/herdr-plugin-examples/worktree-bootstrap`. It uses `git`, shows a trust preview in interactive terminals, runs supported manifest build commands, and stores GitHub installs in a Herdr-managed directory. Use `--yes` for noninteractive installs. Reinstalling a GitHub-managed plugin replaces that managed checkout. Installing over a locally linked plugin is refused. Plugin manifests must declare `min_herdr_version`; install and link fail when the plugin requires a newer Herdr binary. `plugin list` is human-readable by default; pass `--json` for the raw API response. +Plugin installation and enabled state are global to the current user. A plugin installed, linked, enabled, or disabled through one Herdr session is immediately available with the same state in every session. + Local development: ```bash diff --git a/docs/next/website/src/content/docs/plugins.mdx b/docs/next/website/src/content/docs/plugins.mdx index c86dc69a..21ef2c85 100644 --- a/docs/next/website/src/content/docs/plugins.mdx +++ b/docs/next/website/src/content/docs/plugins.mdx @@ -194,6 +194,10 @@ herdr plugin log list --plugin example.layout terminals, runs supported build commands, then stores the checkout under Herdr-managed plugin data and registers it. Use `--yes` for noninteractive installs. Reinstalling a GitHub-managed plugin replaces that managed checkout. +Installed and linked plugins, including their enabled state, are global to the +current user and available in every Herdr session. Plugins installed only in a +named session on Herdr 0.7.3 must be installed or linked again. Existing plugin +config and state remain in place. Installing over a locally linked plugin is refused; unlink or uninstall the local plugin first. `plugin install` and `plugin link` create the plugin's config and state directories, and `plugin config-dir <id>` prints the config |
