gaunt-sloth-assistant
Version:
[](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [ • 730 B
TypeScript
/**
* @module GthDevToolkit
*/
import { BaseToolkit, StructuredToolInterface } from '@langchain/core/tools';
import { GthDevToolsConfig } from '#src/config.js';
export default class GthDevToolkit extends BaseToolkit {
tools: StructuredToolInterface[];
private commands;
constructor(commands?: GthDevToolsConfig);
/**
* Get tools filtered by operation type
*/
getFilteredTools(allowedOperations: 'execute'[]): StructuredToolInterface[];
/**
* Validate test path to prevent security issues
*/
private validateTestPath;
/**
* Build the command for running a single test file
*/
private buildSingleTestCommand;
private executeCommand;
private createTools;
}