Documentation
¶
Overview ¶
Package eject writes what Agentpack stages into the project itself, where each agent's own front ends (IDE extensions, desktop apps, the agents' CLIs started without Agentpack) read project configuration. The staged tree is copied to <workspace>/.agentpack/eject, its paths are rewritten to the copy, and each agent is pointed at it through its project-scope settings. Every file and key written outside that directory is recorded in a manifest so that Remove takes out exactly what Eject added.
Index ¶
Constants ¶
View Source
const Dir = ".agentpack/eject"
Dir is the project-relative directory that holds the ejected copy.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manifest ¶
type Manifest struct {
Version int `json:"version"`
Mode string `json:"mode"`
Targets []string `json:"targets"`
Files []string `json:"files"`
JSONKeys []jsonKey `json:"json_keys,omitempty"`
JSONEntries []jsonEntry `json:"json_entries,omitempty"`
TOMLKeys []tomlKey `json:"toml_keys,omitempty"`
Blocks []string `json:"blocks,omitempty"`
Created []string `json:"created,omitempty"`
}
Manifest records everything written outside Dir.
Click to show internal directories.
Click to hide internal directories.