UNPKG

knowhub

Version:

Synchronize AI coding–agent knowledge files (rules, templates, guidelines) across your project.

23 lines • 851 B
import type { Plugin, PluginConfigSchema, PluginContext, PluginResult } from "../types.js"; /** * Configuration for the local plugin */ export interface LocalPluginConfig { /** Local filesystem path (file or directory) */ path: string; /** Whether to create symlinks instead of copying */ symlink?: boolean; } /** * Plugin for handling local filesystem resources * This maintains backward compatibility with existing `path` resources */ export declare class LocalPlugin implements Plugin { readonly name = "local"; readonly version = "1.0.0"; readonly description = "Fetch files and directories from local filesystem"; readonly schema: PluginConfigSchema; validate(config: unknown): Promise<void>; fetch(config: unknown, context: PluginContext): Promise<PluginResult>; } //# sourceMappingURL=local.d.ts.map