Skip to main content
Glama
MIT License
27,120
19,789
  • Linux
  • Apple
plainStyle.ts•1.77 kB
const PLAIN_SEPARATOR = '='.repeat(16); const PLAIN_LONG_SEPARATOR = '='.repeat(64); export const getPlainTemplate = () => { return ` {{#if fileSummaryEnabled}} {{{generationHeader}}} ${PLAIN_LONG_SEPARATOR} File Summary ${PLAIN_LONG_SEPARATOR} Purpose: -------- {{{summaryPurpose}}} File Format: ------------ {{{summaryFileFormat}}} 5. Multiple file entries, each consisting of: a. A separator line (================) b. The file path (File: path/to/file) c. Another separator line d. The full contents of the file e. A blank line Usage Guidelines: ----------------- {{{summaryUsageGuidelines}}} Notes: ------ {{{summaryNotes}}} {{/if}} {{#if headerText}} ${PLAIN_LONG_SEPARATOR} User Provided Header ${PLAIN_LONG_SEPARATOR} {{{headerText}}} {{/if}} {{#if directoryStructureEnabled}} ${PLAIN_LONG_SEPARATOR} Directory Structure ${PLAIN_LONG_SEPARATOR} {{{treeString}}} {{/if}} {{#if filesEnabled}} ${PLAIN_LONG_SEPARATOR} Files ${PLAIN_LONG_SEPARATOR} {{#each processedFiles}} ${PLAIN_SEPARATOR} File: {{{this.path}}} ${PLAIN_SEPARATOR} {{{this.content}}} {{/each}} {{/if}} {{#if gitDiffEnabled}} ${PLAIN_LONG_SEPARATOR} Git Diffs ${PLAIN_LONG_SEPARATOR} ${PLAIN_SEPARATOR} {{{gitDiffWorkTree}}} ${PLAIN_SEPARATOR} ${PLAIN_SEPARATOR} Git Diffs Staged ${PLAIN_SEPARATOR} {{{gitDiffStaged}}} {{/if}} {{#if gitLogEnabled}} ${PLAIN_LONG_SEPARATOR} Git Logs ${PLAIN_LONG_SEPARATOR} {{#each gitLogCommits}} ${PLAIN_SEPARATOR} Date: {{{this.date}}} Message: {{{this.message}}} Files: {{#each this.files}} - {{{this}}} {{/each}} ${PLAIN_SEPARATOR} {{/each}} {{/if}} {{#if instruction}} ${PLAIN_LONG_SEPARATOR} Instruction ${PLAIN_LONG_SEPARATOR} {{{instruction}}} {{/if}} ${PLAIN_LONG_SEPARATOR} End of Codebase ${PLAIN_LONG_SEPARATOR} `; };

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yamadashy/repomix'

If you have feedback or need assistance with the MCP directory API, please join our Discord server