@fission-ai/openspec
Version:
AI-native system for spec-driven development
23 lines • 605 B
JavaScript
/**
* Kilo Code Command Adapter
*
* Formats commands for Kilo Code following its workflow specification.
* Kilo Code workflows don't use frontmatter.
*/
import path from 'path';
/**
* Kilo Code adapter for command generation.
* File path: .kilocode/workflows/opsx-<id>.md
* Format: Plain markdown without frontmatter
*/
export const kilocodeAdapter = {
toolId: 'kilocode',
getFilePath(commandId) {
return path.join('.kilocode', 'workflows', `opsx-${commandId}.md`);
},
formatFile(content) {
return `${content.body}
`;
},
};
//# sourceMappingURL=kilocode.js.map