Documentation
¶
Overview ¶
Package config owns Plasmid's versioned configuration, defaults, discovery, path normalization, validation, repair, and config warnings.
Index ¶
Constants ¶
View Source
const CurrentVersion = 1
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Compaction ¶
type Config ¶
type Config struct {
Version int
WorkingDir string
SessionDir string
AppName string
UserID string
LSP LSP
MCP MCP
Skills Skills
Foreign Foreign
Syntax Syntax
Context Context
Tools Tools
Compaction Compaction
}
Config is the complete validated configuration consumed by Plasmid subsystems. Runtime paths and identity are included here but are not JSON config keys.
type MCPTransport ¶
type MCPTransport string
const ( MCPStdio MCPTransport = "stdio" MCPHTTP MCPTransport = "http" )
type Options ¶
type Options struct {
ConfigPath string
WorkingDir string
SessionDir string
UserID string
AppName *string
LSPMode *LSPMode
Foreign *Foreign
ToolConfirmation *bool
}
Options contains the configuration overrides accumulated by the root Harness's public functional options.
type PromptCommandMode ¶
type PromptCommandMode string
const ( PromptCommandsOff PromptCommandMode = "off" PromptCommandsTrusted PromptCommandMode = "trusted" PromptCommandsOn PromptCommandMode = "on" )
type Result ¶
Result includes the resolved source path and all non-fatal repair warnings. SourcePath is empty when discovery found no file.
Click to show internal directories.
Click to hide internal directories.