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.

See also

Examples

gptr_plugins(installed = TRUE)
#> # 0 rows