claudeconfig

package
v1.466.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TrustedProjectDirs = []string{
	"/home/agentapi/workdir",
	"/home/agentapi/workdir/repo",
}

TrustedProjectDirs are the directories Claude Code can use as working directories in agentapi session containers.

Functions

func EnsureClaudeJSONDefaults

func EnsureClaudeJSONDefaults(config map[string]interface{}) map[string]interface{}

EnsureClaudeJSONDefaults mutates config so Claude Code first-run, bypass permission, and workspace trust prompts are pre-accepted for session pods.

func EnsureSettingsJSONDefaults

func EnsureSettingsJSONDefaults(settings map[string]interface{}) map[string]interface{}

EnsureSettingsJSONDefaults mutates settings so Claude Code uses the official permissions settings for non-interactive agent containers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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