create-byan-agent 2.4.2 → 2.4.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.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ---
9
9
 
10
+ ## [2.4.3] - 2026-02-11
11
+
12
+ ### 🐛 Fixed - Codex Trusted Directory + Auth Loop
13
+
14
+ **Codex Fix:** Added `--skip-git-repo-check` to `codex exec` command to allow Phase 2 chat when not inside a trusted git repository.
15
+
16
+ **Auth Flow Improvement:** Replaced simple version check with real authentication verification:
17
+ - **Copilot**: `gh auth status` (actual login check)
18
+ - **Claude**: `claude -p "reply OK" --max-turns 1` (real API call)
19
+ - **Codex**: version check (no auth status command available)
20
+
21
+ If not authenticated, user gets 3 choices: Retry (loop), Auto mode (skip AI chat), or Cancel. No more silent bypass.
22
+
23
+ ---
24
+
10
25
  ## [2.4.2] - 2026-02-11
11
26
 
12
27
  ### 🐛 Fixed - Claude Phase 2 System Prompt Separation
@@ -194,7 +194,8 @@ Continue la conversation pour comprendre le projet et personnaliser les agents.`
194
194
  result = runCliCommand('copilot', ['-p', fullPrompt, '-s'], projectRoot);
195
195
  } else if (selectedPlatform === 'codex') {
196
196
  // Codex takes prompt as argument to exec command
197
- result = runCliCommand('codex', ['exec', fullPrompt], projectRoot);
197
+ // --skip-git-repo-check needed when not in a trusted git repo
198
+ result = runCliCommand('codex', ['exec', '--skip-git-repo-check', fullPrompt], projectRoot);
198
199
  } else if (selectedPlatform === 'claude') {
199
200
  // Claude: separate system prompt from user query
200
201
  // -p treats arg as user query; system context goes via --append-system-prompt-file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-byan-agent",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
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": {