Skip to main content

Module runtime_traits

Module runtime_traits 

Structs§

ShellProfile
What the system prompt tells the model about the runtime’s shell: the interpreter’s name and the language it speaks.

Enums§

ShellDialect
Shell language understood by a runtime’s command builder.

Constants§

POSIX_DELETION_GUIDANCE
Deletion advice for POSIX shells, and the fallback for runtimes with no shell at all (which render the Safety section but spawn nothing).
SHELL_COMMAND_TOOLS
Tools whose arguments carry a model-authored shell command.

Traits§

RuntimeAdapter
Runtime adapter that abstracts platform differences for the agent.

Functions§

needs_shell_dialect_guidance
Report whether any tool in tool_names accepts a model-authored shell command, and therefore whether the shell dialect guidance is worth rendering.