create-byan-agent 2.14.0 → 2.14.1

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.
@@ -20,7 +20,12 @@ const { setupCodexNative } = require('../lib/codex-native-setup');
20
20
  const { setupStagingConsent } = require('../lib/staging-consent');
21
21
  const { getLatestVersion, compareVersions } = require('../lib/utils/version-compare');
22
22
 
23
- const BYAN_VERSION = require('../package.json').version;
23
+ // Version source-of-truth is the root package.json (the one npm publishes).
24
+ // install/package.json used to be read here, but it carries an unrelated
25
+ // internal version that drifted (2.11.0 while the npm package shipped 2.14.0)
26
+ // and silently mis-flagged users as obsolete. Resolve via path so it works
27
+ // both in the published tarball and in the dev repo.
28
+ const BYAN_VERSION = require(path.resolve(__dirname, '..', '..', 'package.json')).version;
24
29
 
25
30
  // Versions strictly below this floor have known install bugs (e.g. v2.9.8 ships
26
31
  // the broken node_modules filter that copies an empty MCP server dir). They
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-byan-agent",
3
- "version": "2.11.0",
3
+ "version": "2.14.1",
4
4
  "description": "BYAN v2.2.2 - Intelligent AI agent installer with multi-platform native support (GitHub Copilot CLI, Claude Code, Codex/OpenCode)",
5
5
  "bin": {
6
6
  "create-byan-agent": "bin/create-byan-agent-v2.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-byan-agent",
3
- "version": "2.14.0",
3
+ "version": "2.14.1",
4
4
  "description": "BYAN v2.8 - Intelligent AI agent creator with ELO trust system + scientific fact-check + Hermes universal dispatcher + native Claude Code integration (hooks, skills, MCP server). Multi-platform (Copilot CLI, Claude Code, Codex). Merise Agile + TDD + 64 Mantras. ~54% LLM cost savings.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -17,7 +17,8 @@
17
17
  "test:watch": "jest --watch",
18
18
  "test:e2e": "jest __tests__/e2e-install-update.test.js",
19
19
  "setup-turbo-whisper": "node install/setup-turbo-whisper.js",
20
- "byan": "echo \"BYAN agent installed. Use: copilot and type /agent\""
20
+ "byan": "echo \"BYAN agent installed. Use: copilot and type /agent\"",
21
+ "version": "node scripts/sync-install-version.js && git add install/package.json"
21
22
  },
22
23
  "keywords": [
23
24
  "byan",