mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 14:59:35 +00:00
18 lines
399 B
TypeScript
18 lines
399 B
TypeScript
export type Module = {
|
|
readDir: (args: { dir: string; tree?: boolean }) => {
|
|
entries: Array<string>
|
|
tree?: string
|
|
}
|
|
readFiles: (args: { files: Array<string> }) => {
|
|
files: Array<{ path: string; content: string }>
|
|
}
|
|
}
|
|
|
|
export type ReadDir = Module["readDir"]
|
|
export type ReadFiles = Module["readFiles"]
|
|
|
|
export type {
|
|
FsIntegration,
|
|
ModulePermissions,
|
|
ModuleState,
|
|
} from "./integration" |