codingagents

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin provides coding-agent credential sharing. Currently supports Claude Code by staging ~/.claude/.credentials.json and a minimal ~/.claude.json, then requesting they be copied into the container.

When configured with "credentials": "workspace" in devcontainer.json customizations, the plugin instead bind-mounts a persistent directory for ~/.claude/ so credentials created inside the container survive rebuilds. The user authenticates inside the container on first use.

func New

func New() *Plugin

New creates a coding-agents plugin that uses the real user home directory.

func (*Plugin) Name

func (p *Plugin) Name() string

Name returns the plugin identifier.

func (*Plugin) PreContainerRun

PreContainerRun checks the credentials mode from devcontainer.json customizations and either copies host credentials into the container ("host" mode, default) or bind-mounts a persistent directory for in-container authentication ("workspace" mode).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL