create-byan-agent 2.59.2 → 2.59.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.
@@ -22,7 +22,7 @@ const {
22
22
  envConfig: { updateSettingsLocal: sharedUpdateSettingsLocal, updateDotenv: sharedUpdateDotenv },
23
23
  tokenPrompt: { promptForLeantime },
24
24
  validate: { validateLeantimeReachability },
25
- } = require('byan-platform-config');
25
+ } = require('../packages/platform-config');
26
26
 
27
27
  // Shared writers return { path } — unwrap to a plain string path for the
28
28
  // console report, matching byan-web-integration's surface.
@@ -13,7 +13,7 @@ const {
13
13
  validate: { validateByanWebReachability },
14
14
  credentials: { writeCredentials: sharedWriteCredentials },
15
15
  urlUtils: { stripApiSuffix },
16
- } = require('byan-platform-config');
16
+ } = require('../packages/platform-config');
17
17
  const { purgeGoogleKeys } = require('./home-credentials');
18
18
 
19
19
  // Shared primitives return { path: string } — unwrap to plain string for
@@ -23,7 +23,7 @@ const chalk = require('chalk');
23
23
 
24
24
  const TEMPLATE_ROOT = path.resolve(__dirname, '..', 'templates');
25
25
  const { whitelistMcpServer } = require('./settings-local');
26
- const { mcpConfig } = require('byan-platform-config');
26
+ const { mcpConfig } = require('../packages/platform-config');
27
27
 
28
28
  async function copyClaudeHooks(projectRoot) {
29
29
  const src = path.join(TEMPLATE_ROOT, '.claude', 'hooks');
@@ -22,7 +22,7 @@ const path = require('path');
22
22
  const fs = require('fs-extra');
23
23
  const chalk = require('chalk');
24
24
  const inquirer = require('inquirer');
25
- const { writeCredentials } = require('byan-platform-config');
25
+ const { writeCredentials } = require('../packages/platform-config');
26
26
 
27
27
  const SA_FILENAME = 'google-sa.json';
28
28
 
@@ -38,7 +38,7 @@ const inquirer = require('inquirer');
38
38
 
39
39
  const {
40
40
  mcpConfig: { addMcpEntry },
41
- } = require('byan-platform-config');
41
+ } = require('../../packages/platform-config');
42
42
  const { whitelistMcpServer } = require('../settings-local');
43
43
 
44
44
  const EXTENSIONS = [];
@@ -15,7 +15,7 @@ const logger = require('../utils/logger');
15
15
  // merge the canonical .mcp.json writer uses (READ-MERGE-WRITE, relative paths,
16
16
  // no secret, byan-channel inert). installDirectMCP delegates to it instead of
17
17
  // hand-building a divergent entry with an absolute path that overwrote siblings.
18
- const { mcpConfig } = require('byan-platform-config');
18
+ const { mcpConfig } = require('../../packages/platform-config');
19
19
 
20
20
  const PLATFORM_NAME = 'Claude Code';
21
21
  // Relative path discipline: the byan server entry args[0] is repo-relative
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-byan-agent",
3
- "version": "2.59.2",
3
+ "version": "2.59.3",
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 (Claude Code, Codex). Merise Agile + TDD + 71 Mantras. ~54% LLM cost savings.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -79,7 +79,6 @@
79
79
  "@anthropic-ai/claude-code": "^2.1.114",
80
80
  "@modelcontextprotocol/sdk": "^1.29.0",
81
81
  "better-sqlite3": "^12.9.0",
82
- "byan-platform-config": "file:./install/packages/platform-config",
83
82
  "chalk": "^4.1.2",
84
83
  "commander": "^11.1.0",
85
84
  "fs-extra": "^11.2.0",
@@ -16,7 +16,7 @@ const {
16
16
  mcpConfig: { readMcpConfig, ensureMcpConfig, TOKEN_PLACEHOLDER },
17
17
  envConfig: { readEnvToken, updateDotenv },
18
18
  urlUtils: { stripApiSuffix },
19
- } = require('byan-platform-config');
19
+ } = require('../../install/packages/platform-config');
20
20
 
21
21
  /**
22
22
  * @param {string} projectRoot — absolute path to the project root
@@ -26,7 +26,6 @@
26
26
  "author": "Yan",
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "byan-platform-config": "file:../install/packages/platform-config",
30
29
  "chalk": "^4.1.2",
31
30
  "commander": "^11.1.0",
32
31
  "diff": "^5.1.0",