UNPKG

gaunt-sloth-assistant

Version:

[![Tests and Lint](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/Galvanized-Pukeko/gaunt-sloth-assistant/actions/workflows/unit-tests.yml) [![Integration Tests](https://github.co

32 lines (31 loc) 1.28 kB
import { StructuredToolInterface } from '@langchain/core/tools'; import { GthConfig } from '#src/config.js'; import { GthCommand } from '#src/core/types.js'; /** * Available built-in tools may be configured in JSON config, see `builtInTools` of {@link GthConfig}. * * Does not include `filesystem`, because filesystem has its own config in {@link GthConfig}. */ export declare const AVAILABLE_BUILT_IN_TOOLS: { /** * Reference tool. Simply prints provided argument to the screen. */ readonly gth_status_update: "#src/tools/gthStatusUpdateTool.js"; /** * Tool allowing to log work against a specific Jira issue. * Needs JIRA_CLOUD_ID, JIRA_USERNAME and JIRA_API_PAT_TOKEN environment variables */ readonly gth_jira_log_work: "#src/tools/gthJiraLogWorkTool.js"; /** * Sequential thinking. LLM can use this as a scratchpad for thinking. */ readonly gth_sequential_thinking: "#src/tools/gthSequentialThinkingTool.js"; /** * Web fetch tool. */ readonly gth_web_fetch: "#src/tools/gthWebFetchTool.js"; }; /** * Get default tools based on filesystem and built-in tools configuration */ export declare function getDefaultTools(config: GthConfig, command?: GthCommand): Promise<StructuredToolInterface[]>;