builtin

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Overview

Package builtin is the list of programs this build carries — the one place a program becomes part of codeaf (internal/delegate). The chat's rows, the command line's verbs, the prompt's hand-off paragraph and the manual all read this list, so a program is added by one package and one line here, and a program not on it does not exist anywhere.

IT IS A LIST IN CODE, NOT A FOLDER ON THE MACHINE. Nothing is installed, and no program can differ from the codeaf it ships in. Programs from outside the binary are a later road; the first draft of it, manifests read from disk, is kept on the tag delegate-manifest-v1.

THIS PACKAGE IS WHERE THE WEIGHT IS. It imports every program it carries, so only the doors that must hand a program to something — the command line and the chat's launch, both in cmd/codeaf — import it. internal/session and internal/run are handed the list and never import it, or a test binary of either would carry every program's engine.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All() []delegate.Delegate

All is every program this build carries, sorted by name, which is the order lists draw them.

func Find

func Find(name string) (delegate.Delegate, bool)

Find answers the program with this name.

func Override

func Override(programs []delegate.Delegate) (restore func())

Override puts programs in the list's place and answers the restore. It is for tests of the doors that read the list, which need a program to exist that is not senior-dev's whole engine; nothing in the product calls it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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