autoconfig

package
v0.13.26 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package autoconfig deterministically generates an `.agnt.kdl` for a detected project, so simple projects (a package.json web app, a dotnet site, a Go or Python repo) are configured with zero LLM involvement. Only projects this package cannot confidently configure fall back to the LLM-driven setup flow.

The generated config wires the obvious things: the dev server as an autostart script with a reverse proxy in front of it, and lint/test as on-demand scripts that surface in the overlay queue. The file is plain KDL the developer can edit; piece D's live reconcile applies edits without a restart.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(p *project.Project) (string, bool)

Generate builds `.agnt.kdl` text for p and reports whether it was confident enough to do so. It returns ok=false for an unknown project type or one with no useful commands — those fall back to the LLM setup flow.

Types

This section is empty.

Jump to

Keyboard shortcuts

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