routie dev init since i didn't adhere to any proper guidance up until now

This commit is contained in:
2026-04-29 22:27:29 -06:00
commit e1dabb71e2
15301 changed files with 3562618 additions and 0 deletions
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CursorAgent = void 0;
const AgentsMdAgent_1 = require("./AgentsMdAgent");
/**
* Cursor agent adapter.
* Leverages the standardized AGENTS.md approach supported natively by Cursor.
* See: https://docs.cursor.com/en/cli/using
*/
class CursorAgent extends AgentsMdAgent_1.AgentsMdAgent {
getIdentifier() {
return 'cursor';
}
getName() {
return 'Cursor';
}
async applyRulerConfig(concatenatedRules, projectRoot, _rulerMcpJson, agentConfig, backup = true) {
// Write AGENTS.md via base class
// Cursor natively reads AGENTS.md from the project root
await super.applyRulerConfig(concatenatedRules, projectRoot, null, {
outputPath: agentConfig?.outputPath,
}, backup);
}
getMcpServerKey() {
return 'mcpServers';
}
supportsMcpStdio() {
return true;
}
supportsMcpRemote() {
return true;
}
supportsNativeSkills() {
return true;
}
}
exports.CursorAgent = CursorAgent;