@fission-ai/openspec
Version:
AI-native system for spec-driven development
26 lines (25 loc) • 598 B
JavaScript
/**
* Antigravity Command Adapter
*
* Formats commands for Antigravity following its frontmatter specification.
*/
import path from 'path';
/**
* Antigravity adapter for command generation.
* File path: .agent/workflows/opsx-<id>.md
* Frontmatter: description
*/
export const antigravityAdapter = {
toolId: 'antigravity',
getFilePath(commandId) {
return path.join('.agent', 'workflows', `opsx-${commandId}.md`);
},
formatFile(content) {
return `---
description: ${content.description}
---
${content.body}
`;
},
};
//# sourceMappingURL=antigravity.js.map