Skip to contents

Lists the plugins gptr can see: plugins enabled through peter(plugins = ) or the plugins setting (a settings plugin not enabled yet shows as lazy), attached packages that ship inst/gptr/, the project's .gptr/plugins/ directories and installed Claude Code plugins. With installed = TRUE it also scans every installed package for inst/gptr/. Nothing is loaded or run. A plugin enabled both for the process and for a live session is listed once.

Usage

gptr_plugins(installed = FALSE)

Arguments

installed

TRUE to scan every installed package as well.

Value

A gptr_plugins data frame with columns name, version, api, kind (package, directory, claude-plugin), enabled, state (lazy, active, disabled, failed), provides, tokens and path.

Details

Enable a plugin with peter(plugins = "name") or the plugins configuration setting. Packages put resources in inst/gptr/; directory plugins use a root plugin.json. R factories activate lazily only when the manifest declares extension.provides and does not request eager activation. Claude bundles contribute declarative resources; their hooks and executable plugin behavior are not imported. A marketplace root must be replaced by the path to an individual plugin. A plugin with no supported declarative resources or R extension code fails activation; details, including skipped components, are available from gptr_registry(diagnostics = TRUE). An R factory may intentionally register no resources. Listing an unactivated plugin does not verify its compatibility, credentials or external programs. Invalid entries in the plugins setting are skipped with a listing footer and a registry diagnostic, even before activation.

See also

Examples

gptr_plugins(installed = TRUE)
#> # 0 rows