extensioncmd

package
v1.5.62 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: MIT Imports: 17 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package extensioncmd is the shared text command surface for the CLI, REPL and TUI. It is not registered as a model tool. Connecting is an operator action.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detail

func RenderList

func RenderList(m *extensions.Manager, kind string) string

func Run

func Run(kind string, args []string, in io.Reader, out, errOut io.Writer) int

Run handles standalone administration. --yes is explicit operator consent, not a model-controlled permission. No commands here call business tools.

func WithSetupDisplay added in v1.5.16

func WithSetupDisplay(ctx context.Context, show func(string)) context.Context

WithSetupDisplay installs an operator-only, transient display. TUI adapters must never append its URL/QR contents to agent history or the session log.

Types

type Response

type Response struct {
	Text   string
	Prompt string
}

func Execute

func Execute(ctx context.Context, m *extensions.Manager, kind string, args []string) (Response, error)

Jump to

Keyboard shortcuts

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