@fission-ai/openspec
Version:
AI-native system for spec-driven development
27 lines (26 loc) • 632 B
JavaScript
/**
* Auggie (Augment CLI) Command Adapter
*
* Formats commands for Auggie following its frontmatter specification.
*/
import path from 'path';
/**
* Auggie adapter for command generation.
* File path: .augment/commands/opsx-<id>.md
* Frontmatter: description, argument-hint
*/
export const auggieAdapter = {
toolId: 'auggie',
getFilePath(commandId) {
return path.join('.augment', 'commands', `opsx-${commandId}.md`);
},
formatFile(content) {
return `---
description: ${content.description}
argument-hint: command arguments
---
${content.body}
`;
},
};
//# sourceMappingURL=auggie.js.map