mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-09 00:49:41 +02:00
chore: rename Claudeman to Codeman
Full product rename across 109 files (~834 occurrences): - Env vars: CLAUDEMAN_* → CODEMAN_* - Data dirs: ~/.claudeman/ → ~/.codeman/, ~/claudeman-cases/ → ~/codeman-cases/ - tmux prefix: claudeman- → codeman- - localStorage: claudeman-* → codeman-* - Package/CLI: claudeman → codeman - GitHub repo: Ark0N/Claudeman → Ark0N/Codeman - systemd service: claudeman-web → codeman-web - Class: ClaudemanApp → CodemanApp Migration infrastructure for seamless transition: - state-store.ts: auto-migrates data directories on startup - tmux-manager.ts: dual-prefix detection (legacy claudeman- sessions) - app.js: localStorage key migration (preserves old keys) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -54,8 +54,8 @@ describe('generateHooksConfig', () => {
|
||||
const config = generateHooksConfig();
|
||||
const notifHooks = config.hooks.Notification as Array<{ hooks: Array<{ command: string }> }>;
|
||||
const cmd = notifHooks[0].hooks[0].command;
|
||||
expect(cmd).toContain('$CLAUDEMAN_API_URL');
|
||||
expect(cmd).toContain('$CLAUDEMAN_SESSION_ID');
|
||||
expect(cmd).toContain('$CODEMAN_API_URL');
|
||||
expect(cmd).toContain('$CODEMAN_SESSION_ID');
|
||||
expect(cmd).not.toContain('localhost');
|
||||
});
|
||||
|
||||
@@ -99,7 +99,7 @@ describe('generateHooksConfig', () => {
|
||||
});
|
||||
|
||||
describe('writeHooksConfig', () => {
|
||||
const testDir = join(tmpdir(), 'claudeman-hooks-test-' + Date.now());
|
||||
const testDir = join(tmpdir(), 'codeman-hooks-test-' + Date.now());
|
||||
|
||||
beforeEach(() => {
|
||||
if (!existsSync(testDir)) {
|
||||
@@ -648,8 +648,8 @@ describe('Hook Config Generation - Extended', () => {
|
||||
const config = generateHooksConfig();
|
||||
const notifHooks = config.hooks.Notification as Array<{ hooks: Array<{ command: string }> }>;
|
||||
const cmd = notifHooks[0].hooks[0].command;
|
||||
expect(cmd).toContain('$CLAUDEMAN_API_URL');
|
||||
expect(cmd).toContain('$CLAUDEMAN_SESSION_ID');
|
||||
expect(cmd).toContain('$CODEMAN_API_URL');
|
||||
expect(cmd).toContain('$CODEMAN_SESSION_ID');
|
||||
});
|
||||
|
||||
it('should generate POST curl commands', () => {
|
||||
|
||||
Reference in New Issue
Block a user