@promptbook/remote-client
Version:
Promptbook: Turn your company's scattered knowledge into AI ready books
10 lines (9 loc) • 346 B
TypeScript
/// <reference types="node" />
import type fs from 'fs/promises';
/**
* Container for all the tools needed to manipulate with filesystem
*/
export type FilesystemTools = Pick<typeof fs, 'access' | 'constants' | 'readFile' | 'writeFile' | 'stat' | 'readdir' | 'mkdir' | 'watch'>;
/**
* TODO: Implement destroyable pattern to free resources
*/