cc-orchestrator 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -24,6 +24,7 @@ const args = process.argv.slice(2);
24
24
  const showHelp = args.includes('--help') || args.includes('-h');
25
25
  const upgradeMode = args.includes('--upgrade') || args.includes('-u');
26
26
  const forceMode = args.includes('--force') || args.includes('-f');
27
+ const keysMode = args.includes('--keys') || args.includes('-k');
27
28
 
28
29
  // Get custom directory from args (first non-flag arg)
29
30
  const customDir = args.find(arg => !arg.startsWith('-'));
@@ -47,6 +48,7 @@ function printHelp() {
47
48
  Options:
48
49
  --upgrade, -u Update existing installation
49
50
  --force, -f Force reinstall all components
51
+ --keys, -k Reconfigure API keys only
50
52
  --help, -h Show this help message
51
53
 
52
54
  Examples:
@@ -54,6 +56,7 @@ Examples:
54
56
  npx cc-orchestrator@latest ./my-cco # Install to custom directory
55
57
  npx cc-orchestrator@latest --upgrade # Update existing installation
56
58
  npx cc-orchestrator@latest --force # Force reinstall
59
+ npx cc-orchestrator@latest --keys # Reconfigure API keys
57
60
 
58
61
  After installation:
59
62
  1. Restart Claude Code
@@ -139,7 +142,9 @@ async function install(installDir) {
139
142
  console.log('\n[3/3] Running setup wizard...\n');
140
143
  console.log('─'.repeat(50));
141
144
 
142
- const setupArgs = forceMode ? ['run', 'setup', '--', '--force'] : ['run', 'setup'];
145
+ const setupArgs = ['run', 'setup', '--'];
146
+ if (forceMode) setupArgs.push('--force');
147
+ if (keysMode) setupArgs.push('--keys');
143
148
  await spawnAsync('npm', setupArgs, { cwd: installDir });
144
149
 
145
150
  // Done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-orchestrator",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "CLI to install CC Orchestrator - Multi-model orchestration for Claude Code",
5
5
  "bin": {
6
6
  "cc-orchestrator": "./index.js"