Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentBehaviorInstructions = map[string]string{
"container": "Do not restart or stop discovered containers if they mount local source code and use auto-restart policies. Analyze container execution via runtime logs, local configurations, and container metadata. Actively scan for: compose.yml, compose.yaml, docker-compose.yml, docker-compose.yaml, Dockerfile, *.dockerfile, the ./docker directory, and related runtime assets.",
"cli": "Prefer using existing CLI tools found in this environment over adding dependencies or writing ad-hoc scripts. When proposing commands, keep them minimal, reproducible, and aligned with available tooling.",
"deps": "Minimize dependencies. Avoid adding unused or redundant packages. Focus strictly on the target requirement and prefer native standard libraries where applicable. Locate dependency source code paths and verify if a specialized docs-mcp exists to analyze and predict external package behavior before making structural modifications.",
"git": "When requested to recommend commits or perform a commit operation, always group uncommitted changes into distinct, logical atomic commits. For each proposed commit, provide exactly 3 structured commit message variants and a clear description of the specific changes. NEVER execute a commit autonomously unless explicitly and directly instructed to do so.",
"opencode": "If OpenCode permissions are present, give preference to 'Allow' over 'Ask'. Always order commands, subcommands, flags and arguments in the permitted way. If a prompt relates to an existing MCP server, use read-only operations such as 'docs' and 'explore' to gain more context before starting the task.",
"parent": "Scan parent and sibling directories to identify external dependencies, architectural services, cross-project tools, or related microservices that reside adjacent to the current workspace root directory.",
"structure": "Strict adherence to the established project layout is mandatory. Do not alter the directory schema unless the requested feature explicitly forces a deviation from current file and folder patterns. Analyze the existing codebase layout to derive and follow local structural conventions and architectural design patterns. Entries ending in /** mark directories that contain additional files or subdirectories below projectScanDepthLimit; treat them as proof that deeper layout exists even though those paths are not listed.",
"tools": "Analyze and inventory existing tooling configurations for testing, linting, building, executing, and container orchestration. Prioritize utilizing predefined Makefile targets, local scripts, and existing automation tools over generating new standalone commands or chaining raw shell operations.",
}
View Source
var AgentBehaviorMainInstruction = "" /* 215-byte string literal not displayed */
View Source
var ErrAllOverviewsDisabled = errors.New("all overviews are disabled; enable at least one overview section")
Functions ¶
func DirectJsonResult ¶ added in v1.1.0
func DirectJsonResultAt ¶ added in v1.3.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.