shell

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassifyEffect added in v0.6.2

func ClassifyEffect(args map[string]any) tool.Effect

func Command added in v0.9.4

func Command(ctx context.Context, command, workingDir string) *exec.Cmd

Command builds an *exec.Cmd that runs a script with the same interpreter the shell tool uses on this platform.

func IsDangerousCommand added in v0.6.2

func IsDangerousCommand(command string) bool

func IsReadOnlyCommand added in v0.6.2

func IsReadOnlyCommand(command string) bool

func Tools

func Tools(workDir string, elicit *tool.Elicitation) []tool.Tool

Types

This section is empty.

Jump to

Keyboard shortcuts

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