azclaude-copilot 0.3.2 → 0.3.3

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/bin/copilot.js +7 -4
  2. package/package.json +1 -1
package/bin/copilot.js CHANGED
@@ -25,13 +25,16 @@ const args = process.argv.slice(2);
25
25
  // ── Subcommand routing ──────────────────────────────────────────────────────
26
26
  // Catch `npx azclaude-copilot setup` and similar — run the installer instead
27
27
  const SUBCOMMANDS = ['setup', 'init', 'install', 'doctor'];
28
+ const CLI_FLAGS = ['--update', '--full', '--audit'];
28
29
  if (args[0] && SUBCOMMANDS.includes(args[0].toLowerCase())) {
29
- const subDir = path.resolve(args[1] || '.');
30
- console.log(`\n Running AZCLAUDE installer on ${subDir}...\n`);
30
+ const subFlags = args.filter(a => CLI_FLAGS.includes(a));
31
+ const subPositional = args.slice(1).filter(a => !CLI_FLAGS.includes(a));
32
+ const subDir = path.resolve(subPositional[0] || '.');
33
+ console.log(`\n Running AZCLAUDE installer on ${subDir}...${subFlags.length ? ' (' + subFlags.join(' ') + ')' : ''}\n`);
31
34
  const cliPath = path.join(__dirname, 'cli.js');
32
35
  const subArgs = args[0].toLowerCase() === 'doctor'
33
- ? [cliPath, subDir, '--doctor']
34
- : [cliPath, subDir];
36
+ ? [cliPath, subDir, '--doctor', ...subFlags]
37
+ : [cliPath, subDir, ...subFlags];
35
38
  const r = spawnSync('node', subArgs, { cwd: subDir, stdio: 'inherit' });
36
39
  process.exit(r.status || 0);
37
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "azclaude-copilot",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "AI coding environment — 26 commands, 8 skills, 7 agents, memory, reflexes, evolution. Install once, works on any stack.",
5
5
  "bin": {
6
6
  "azclaude": "./bin/cli.js",