Files
vessel/frontend/src/lib/tools/index.ts
vikingowl 862f47c46e
Some checks failed
Create Release / release (push) Has been cancelled
feat(tools): enhanced custom tool creation with CodeMirror, Python support, and testing
- Add CodeMirror editor with syntax highlighting for JavaScript and Python
- Add 8 starter templates (4 JS, 4 Python) for common tool patterns
- Add inline documentation panel with language-specific guidance
- Add tool testing UI to run tools with sample inputs before saving
- Add Python tool execution via backend API with 30s timeout
- Add POST /api/v1/tools/execute endpoint for backend tool execution
- Update Dockerfile to include Python 3 for tool execution
- Bump version to 0.4.0
2026-01-02 20:15:40 +01:00

31 lines
588 B
TypeScript

/**
* Tools module exports
*/
export * from './types.js';
export { builtinTools, getBuiltinToolDefinitions } from './builtin.js';
export {
toolRegistry,
executeCustomTool,
parseToolCall,
runToolCall,
runToolCalls,
formatToolResultsForChat,
createToolCallState,
updateToolCallState
} from './executor.js';
export {
PREFERRED_FUNCTION_MODEL,
USE_FUNCTION_MODEL,
getFunctionModel,
defaultToolConfig,
type ToolConfig
} from './config.js';
export {
toolTemplates,
getTemplatesByLanguage,
getTemplatesByCategory,
getTemplateById,
type ToolTemplate
} from './templates.js';