create-byan-agent 2.4.4 → 2.4.5

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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## [2.4.5] - 2026-02-12
11
+
12
+ ### 🐛 Fixed - Copilot CLI Auth Command
13
+
14
+ **Problem:** Auth check used `gh auth status` instead of `copilot --version`. GitHub CLI (gh) is separate from Copilot CLI.
15
+
16
+ **Fix:**
17
+ - Auth check: `gh` → `copilot --version`
18
+ - Login instruction: `gh auth login` → `copilot auth`
19
+
20
+ ---
21
+
10
22
  ## [2.4.4] - 2026-02-11
11
23
 
12
24
  ### 🐛 Fixed - Config Prompt Scope Bug
@@ -716,11 +716,11 @@ async function install() {
716
716
  if (isWindows) spawnOpts.shell = true;
717
717
 
718
718
  if (selectedPlatform === 'copilot') {
719
- // gh auth status returns non-zero if not logged in
720
- authCheckCmd = 'gh';
721
- authCheckArgs = ['auth', 'status'];
719
+ // copilot --version to check if CLI is available
720
+ authCheckCmd = 'copilot';
721
+ authCheckArgs = ['--version'];
722
722
  loginInstructions = [
723
- `${chalk.cyan('gh auth login')}`
723
+ `${chalk.cyan('copilot auth')}`
724
724
  ];
725
725
  } else if (selectedPlatform === 'codex') {
726
726
  // codex --version as basic check (no auth status command available)
@@ -761,7 +761,7 @@ async function install() {
761
761
 
762
762
  let loginInstructions;
763
763
  if (selectedPlatform === 'copilot') {
764
- loginInstructions = [`${chalk.cyan('gh auth login')}`];
764
+ loginInstructions = [`${chalk.cyan('copilot auth')}`];
765
765
  } else if (selectedPlatform === 'codex') {
766
766
  loginInstructions = [`${chalk.cyan('codex login')}`];
767
767
  } else if (selectedPlatform === 'claude') {
@@ -225,7 +225,7 @@ Continue la conversation pour comprendre le projet et personnaliser les agents.`
225
225
  console.log(chalk.gray(' 2. ou: export ANTHROPIC_API_KEY=sk-ant-...'));
226
226
  console.log(chalk.gray(' 3. ou dans Claude Code: /login'));
227
227
  } else if (selectedPlatform === 'copilot') {
228
- console.log(chalk.gray(' → gh auth login'));
228
+ console.log(chalk.gray(' → copilot auth'));
229
229
  } else if (selectedPlatform === 'codex') {
230
230
  console.log(chalk.gray(' → codex login'));
231
231
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-byan-agent",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "BYAN v2.3.2 - Intelligent AI agent ecosystem with Hermes universal dispatcher + Multi-platform support (Copilot CLI, Claude, Codex) + Automatic LLM cost optimization (87.5% savings) + Node 12+ compatible",
5
5
  "main": "src/index.js",
6
6
  "bin": {