create-ai-chat-context-experimental
Version:
Phase 2: TypeScript rewrite - AI Chat Context & Memory System with conversation extraction and AICF format support (powered by aicf-core v2.1.0).
29 lines • 902 B
TypeScript
/**
* This file is part of create-ai-chat-context-experimental.
* Licensed under the GNU Affero General Public License v3.0 or later (AGPL-3.0-or-later).
* See LICENSE file for details.
*/
/**
* Get the package root directory
*
* Strategy: Find this file's location, then search up for package.json
* This works in both ESM and CJS, both development and production
*
* @returns Absolute path to package root directory
*/
export declare function getPackageRoot(): string;
/**
* Get the templates directory
*
* Templates are at: dist/templates/ relative to package root
*
* @returns Absolute path to templates directory
*/
export declare function getTemplatesDir(): string;
/**
* Verify that the templates directory exists
*
* @returns true if templates directory exists, false otherwise
*/
export declare function templatesExist(): boolean;
//# sourceMappingURL=PackageRoot.d.ts.map