fix(node): use current Codex and Cursor names
This commit is contained in:
1 parent
9591a6e655
commit
cb978d8fb2
4 files changed
+6
-6
No files matched your search
@@ -68,13 +68,13 @@ The CLI reads the private key and optional API token through hidden terminal pro
|
|||||||
|-------|-----|
|
|-------|-----|
|
||||||
| Augment Code CLI | `augment` |
|
| Augment Code CLI | `augment` |
|
||||||
| Claude Code | `claudecode` |
|
| Claude Code | `claudecode` |
|
||||||
| OpenAI Codex | `codex` |
|
| Codex CLI | `codex` |
|
||||||
| Cline | `cline` |
|
| Cline | `cline` |
|
||||||
| Factory Droid | `droid` |
|
| Factory Droid | `droid` |
|
||||||
| Kimi Code | `kimi` |
|
| Kimi Code | `kimi` |
|
||||||
| Grok Build | `grok` |
|
| Grok Build | `grok` |
|
||||||
| Qwen Code | `qwen` |
|
| Qwen Code | `qwen` |
|
||||||
| Cursor | `cursor` |
|
| Cursor CLI | `cursor` |
|
||||||
| Gemini CLI | `gemini` |
|
| Gemini CLI | `gemini` |
|
||||||
| Kiro CLI | `kirocli` |
|
| Kiro CLI | `kirocli` |
|
||||||
| Kiro IDE | `kiroide` |
|
| Kiro IDE | `kiroide` |
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ export interface AgentRegistryEntry {
|
|||||||
export const SUPPORTED_AGENTS: ReadonlyMap<string, AgentRegistryEntry> = new Map([
|
export const SUPPORTED_AGENTS: ReadonlyMap<string, AgentRegistryEntry> = new Map([
|
||||||
['augment', { name: 'Augment Code CLI', configDir: '~/.augment', configFile: 'settings.json' }],
|
['augment', { name: 'Augment Code CLI', configDir: '~/.augment', configFile: 'settings.json' }],
|
||||||
['claudecode', { name: 'Claude Code', configDir: '~/.claude', configFile: 'settings.json' }],
|
['claudecode', { name: 'Claude Code', configDir: '~/.claude', configFile: 'settings.json' }],
|
||||||
['cursor', { name: 'Cursor', configDir: '~/.cursor', configFile: 'hooks.json' }],
|
['cursor', { name: 'Cursor CLI', configDir: '~/.cursor', configFile: 'hooks.json' }],
|
||||||
['gemini', { name: 'Gemini CLI', configDir: '~/.gemini', configFile: 'settings.json' }],
|
['gemini', { name: 'Gemini CLI', configDir: '~/.gemini', configFile: 'settings.json' }],
|
||||||
['kirocli', { name: 'Kiro CLI', configDir: '~/.kiro/hooks', configFile: 'elydora-audit.json' }],
|
['kirocli', { name: 'Kiro CLI', configDir: '~/.kiro/hooks', configFile: 'elydora-audit.json' }],
|
||||||
['kiroide', { name: 'Kiro IDE', configDir: '.kiro/hooks', configFile: 'elydora-audit.json' }],
|
['kiroide', { name: 'Kiro IDE', configDir: '.kiro/hooks', configFile: 'elydora-audit.json' }],
|
||||||
['opencode', { name: 'OpenCode', configDir: '.config/opencode/plugins', configFile: 'elydora-audit.js' }],
|
['opencode', { name: 'OpenCode', configDir: '.config/opencode/plugins', configFile: 'elydora-audit.js' }],
|
||||||
['copilot', { name: 'GitHub Copilot CLI', configDir: '~/.copilot/hooks', configFile: 'elydora-audit.json' }],
|
['copilot', { name: 'GitHub Copilot CLI', configDir: '~/.copilot/hooks', configFile: 'elydora-audit.json' }],
|
||||||
['letta', { name: 'Letta Code', configDir: '~/.letta', configFile: 'settings.json' }],
|
['letta', { name: 'Letta Code', configDir: '~/.letta', configFile: 'settings.json' }],
|
||||||
['codex', { name: 'OpenAI Codex', configDir: '~/.codex', configFile: 'hooks.json' }],
|
['codex', { name: 'Codex CLI', configDir: '~/.codex', configFile: 'hooks.json' }],
|
||||||
['cline', { name: 'Cline', configDir: '~/.cline/hooks', configFile: 'PreToolUse.mjs' }],
|
['cline', { name: 'Cline', configDir: '~/.cline/hooks', configFile: 'PreToolUse.mjs' }],
|
||||||
['droid', { name: 'Factory Droid', configDir: '~/.factory', configFile: 'hooks.json' }],
|
['droid', { name: 'Factory Droid', configDir: '~/.factory', configFile: 'hooks.json' }],
|
||||||
['kimi', { name: 'Kimi Code', configDir: '~/.kimi-code', configFile: 'config.toml' }],
|
['kimi', { name: 'Kimi Code', configDir: '~/.kimi-code', configFile: 'config.toml' }],
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const AUDIT_STATUS = 'Recording Elydora tool use';
|
|||||||
test('Codex is registered with the native user hooks file', async () => {
|
test('Codex is registered with the native user hooks file', async () => {
|
||||||
const { SUPPORTED_AGENTS } = await import(registryModuleUrl);
|
const { SUPPORTED_AGENTS } = await import(registryModuleUrl);
|
||||||
assert.deepEqual(SUPPORTED_AGENTS.get('codex'), {
|
assert.deepEqual(SUPPORTED_AGENTS.get('codex'), {
|
||||||
name: 'OpenAI Codex',
|
name: 'Codex CLI',
|
||||||
configDir: '~/.codex',
|
configDir: '~/.codex',
|
||||||
configFile: 'hooks.json',
|
configFile: 'hooks.json',
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ import {
|
|||||||
test('Cursor is registered with the native user hook file', async () => {
|
test('Cursor is registered with the native user hook file', async () => {
|
||||||
const { SUPPORTED_AGENTS } = await import(registryModuleUrl);
|
const { SUPPORTED_AGENTS } = await import(registryModuleUrl);
|
||||||
assert.deepEqual(SUPPORTED_AGENTS.get('cursor'), {
|
assert.deepEqual(SUPPORTED_AGENTS.get('cursor'), {
|
||||||
name: 'Cursor',
|
name: 'Cursor CLI',
|
||||||
configDir: '~/.cursor',
|
configDir: '~/.cursor',
|
||||||
configFile: 'hooks.json',
|
configFile: 'hooks.json',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user