@promptbook/gemini
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
10 lines (9 loc) • 326 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'>;
/**
* TODO: Implement destroyable pattern to free resources
*/