Skip to content

BashProviderTools

BashProviderTools = object

Defined in: bash/provider.ts:119

createBashToolProvider’s tools — bash plus describeBashEnv. Named for its actual scope (this sandbox’s own config), not a generic “describeEnvironment” — a project may have other tools with their own network access this doesn’t cover, so the name shouldn’t imply completeness. A plain object-literal type alias (not interface ... extends BashTools): an interface anywhere in the shape (even via extends/&) loses the implicit index signature ToolProvider<Tools extends ToolSet> needs, verified directly — only a type X = { ... } object literal keeps it. BashTools["bash"] (an indexed-access reference) avoids retyping the bash tool’s own signature by hand.

bash: BashTools["bash"]

Defined in: bash/provider.ts:120


describeBashEnv: DescribeBashEnvTool

Defined in: bash/provider.ts:121