From cb978d8fb27d33357eea98172f9fc4d85c868103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Mon, 20 Jul 2026 23:51:36 -0400 Subject: [PATCH] fix(node): use current Codex and Cursor names --- README.md | 4 ++-- src/plugins/registry.ts | 4 ++-- test/codex-plugin.test.mjs | 2 +- test/cursor-plugin.test.mjs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index af34e7b..25bdacc 100644 --- a/README.md +++ b/README.md @@ -68,13 +68,13 @@ The CLI reads the private key and optional API token through hidden terminal pro |-------|-----| | Augment Code CLI | `augment` | | Claude Code | `claudecode` | -| OpenAI Codex | `codex` | +| Codex CLI | `codex` | | Cline | `cline` | | Factory Droid | `droid` | | Kimi Code | `kimi` | | Grok Build | `grok` | | Qwen Code | `qwen` | -| Cursor | `cursor` | +| Cursor CLI | `cursor` | | Gemini CLI | `gemini` | | Kiro CLI | `kirocli` | | Kiro IDE | `kiroide` | diff --git a/src/plugins/registry.ts b/src/plugins/registry.ts index a311986..3b8bc25 100644 --- a/src/plugins/registry.ts +++ b/src/plugins/registry.ts @@ -7,14 +7,14 @@ export interface AgentRegistryEntry { export const SUPPORTED_AGENTS: ReadonlyMap = new Map([ ['augment', { name: 'Augment Code CLI', configDir: '~/.augment', 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' }], ['kirocli', { name: 'Kiro CLI', 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' }], ['copilot', { name: 'GitHub Copilot CLI', configDir: '~/.copilot/hooks', configFile: 'elydora-audit.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' }], ['droid', { name: 'Factory Droid', configDir: '~/.factory', configFile: 'hooks.json' }], ['kimi', { name: 'Kimi Code', configDir: '~/.kimi-code', configFile: 'config.toml' }], diff --git a/test/codex-plugin.test.mjs b/test/codex-plugin.test.mjs index f997de0..a987fc5 100644 --- a/test/codex-plugin.test.mjs +++ b/test/codex-plugin.test.mjs @@ -32,7 +32,7 @@ const AUDIT_STATUS = 'Recording Elydora tool use'; test('Codex is registered with the native user hooks file', async () => { const { SUPPORTED_AGENTS } = await import(registryModuleUrl); assert.deepEqual(SUPPORTED_AGENTS.get('codex'), { - name: 'OpenAI Codex', + name: 'Codex CLI', configDir: '~/.codex', configFile: 'hooks.json', }); diff --git a/test/cursor-plugin.test.mjs b/test/cursor-plugin.test.mjs index cbd9ce7..544b05a 100644 --- a/test/cursor-plugin.test.mjs +++ b/test/cursor-plugin.test.mjs @@ -25,7 +25,7 @@ import { test('Cursor is registered with the native user hook file', async () => { const { SUPPORTED_AGENTS } = await import(registryModuleUrl); assert.deepEqual(SUPPORTED_AGENTS.get('cursor'), { - name: 'Cursor', + name: 'Cursor CLI', configDir: '~/.cursor', configFile: 'hooks.json', });