feat(channels): auto-enable official discord plugin

- add runtime injection for official Discord Channels on eligible native Claude sessions

- add CLI and dashboard configuration plus secure token handling

- add tests for launch planning, token sync, and config routing

Refs #783
This commit is contained in:
Tam Nhu Tran committed 2026-03-25 16:31:55 -04:00
1 parent 7596e463c5
commit 4bce1559dd
23 files changed
+1513 -27

No files matched your search

+10 -1
View File
@@ -1,6 +1,15 @@
import * as path from 'path';
import { getCcsHome } from './config-manager';
/**
* Resolve the canonical default Claude config directory.
* Ignores CLAUDE_CONFIG_DIR so CCS can keep a stable source of truth
* for shared plugin/channel state while still honoring test/dev home overrides.
*/
export function getDefaultClaudeConfigDir(): string {
return path.join(getCcsHome(), '.claude');
}
/**
* Resolve Claude config directory with test/dev overrides.
* Precedence:
@@ -13,7 +22,7 @@ export function getClaudeConfigDir(): string {
return path.resolve(process.env.CLAUDE_CONFIG_DIR);
}
return path.join(getCcsHome(), '.claude');
return getDefaultClaudeConfigDir();
}
/** Resolve Claude settings.json path. */