UNPKG

packfs-core

Version:

Semantic filesystem operations for LLM agent frameworks with natural language understanding. See LLM_AGENT_GUIDE.md for copy-paste examples.

36 lines 1.02 kB
/** * CrewAI tool implementation for PackFS */ import type { CrewAIToolConfig } from './types.js'; export declare class PackFSCrewAITool { private readonly config; constructor(config?: CrewAIToolConfig); /** * Get tool definition for CrewAI */ getToolDefinition(): { name: string | undefined; description: string | undefined; func: (operation: string, path: string, _content?: string) => Promise<string>; args_schema: { operation: { type: string; description: string; }; path: { type: string; description: string; }; content: { type: string; description: string; optional: boolean; }; }; }; /** * Execute filesystem operation */ execute(operation: string, path: string, _content?: string): Promise<string>; } //# sourceMappingURL=tool.d.ts.map