export const fileTreePrompt = {
    id: 'sys:file_tree',
    groupLabel: 'System',
    prompt: {
        name: 'File Tree',
        description: 'Display a tree view of the files in a directory.',
        arguments: [
            { name: 'directoryPath', description: 'The path to the directory to display. Default: null', required: false },
            { name: 'maxDepth', description: 'The maximum depth of the tree to display.  Default: 10', required: false },
        ]
    },
    resolvePrompt: async ({ directoryPath, maxDepth }) => ({
        description: 'Generate a tree view of the files and directories in the specified directory.',
        messages: [
            {
                role: 'user',
                content: [
                    {
                        type: 'text',
                        text: `Use the "sys:list_directory" tool to list the files in the directory "${directoryPath ?? null}" up to a maximum depth of ${maxDepth ?? 10}.
            Then, generate a tree view of the files and directories.
            Format the tree using indentation and lines to represent the hierarchy.`
                    }
                ]
            }
        ]
    })
};
