Help us shape the future of Go! Take the 2026 Go Developer Survey

agentsetup

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package agentsetup installs the running Questlock executable and embedded workflow skills. It never starts services or changes an assistant's settings.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Home       string
	Executable string
	CodexHome  string // Empty uses Home/.codex, matching CODEX_HOME's default.
	Agents     []string
	Replace    bool
}

type Result

type Result struct {
	Binary string  `json:"binary"`
	Skills []Skill `json:"skills"`
}

func Install

func Install(options Options) (Result, error)

Install copies the supplied real executable and self-contained skills. Home and Executable are injected explicitly so tests cannot change a real profile. Existing differing skill content requires Replace. Identical installs are idempotent. No destination path may traverse a symlink.

type Skill

type Skill struct {
	Agent string `json:"agent"`
	Path  string `json:"path"`
}

Jump to

Keyboard shortcuts

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