Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShellBash ¶
func NewShellBash(cfg ShellBashConfig, deps ShellBashDeps) (agentkit.ToolPack, error)
NewShellBash registers tool/shell-bash: Execute bash commands rooted in the workspace (tool name: bash).
Best practices:
- Keep commands non-interactive; avoid pagers and prompts.
- For unattended runs pair with policy/shell-allowlist in strict mode.
Types ¶
type ShellBashConfig ¶
type ShellBashDeps ¶
type ShellInput ¶
type ShellInput struct {
Command string `json:"command" jsonschema:"Shell command to execute"`
}
type ShellOutput ¶
Click to show internal directories.
Click to hide internal directories.