Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
plugin.BasePlugin
// contains filtered or unexported fields
}
Plugin provides coding-agent credential sharing for Claude Code and pi. Both agents behave identically under the shared `credentials` customization ("host" default, or "workspace") and can run side-by-side in the same container. Per-agent handling lives in claude.go and pi.go.
func New ¶
func New() *Plugin
New creates a coding-agents plugin that uses the real user home directory.
func (*Plugin) PreContainerRun ¶
func (p *Plugin) PreContainerRun(_ context.Context, req *plugin.PreContainerRunRequest) (*plugin.PreContainerRunResponse, error)
PreContainerRun dispatches credential handling for Claude Code and pi. Claude is primary; a pi failure is logged at Warn and skipped so it can never block Claude credential injection.
Click to show internal directories.
Click to hide internal directories.