create-byan-agent 2.3.3 → 2.3.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.
|
@@ -710,6 +710,23 @@ async function install() {
|
|
|
710
710
|
|
|
711
711
|
console.log('');
|
|
712
712
|
|
|
713
|
+
// Phase 1.5: User configuration (needed for Phase 2)
|
|
714
|
+
const config = await inquirer.prompt([
|
|
715
|
+
{
|
|
716
|
+
type: 'input',
|
|
717
|
+
name: 'userName',
|
|
718
|
+
message: 'Your name:',
|
|
719
|
+
default: 'Developer'
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
type: 'list',
|
|
723
|
+
name: 'language',
|
|
724
|
+
message: 'Communication language:',
|
|
725
|
+
choices: ['Francais', 'English'],
|
|
726
|
+
default: installMode === 'custom' && interviewResults ? 'Francais' : 'English'
|
|
727
|
+
}
|
|
728
|
+
]);
|
|
729
|
+
|
|
713
730
|
// Phase 2: Interactive Chat with Yanstaller Agent
|
|
714
731
|
// Ask user if they want to enter Phase 2 conversation
|
|
715
732
|
const { enterPhase2 } = await inquirer.prompt([{
|
|
@@ -813,23 +830,6 @@ async function install() {
|
|
|
813
830
|
}
|
|
814
831
|
]);
|
|
815
832
|
|
|
816
|
-
// Step 4: User configuration
|
|
817
|
-
const config = await inquirer.prompt([
|
|
818
|
-
{
|
|
819
|
-
type: 'input',
|
|
820
|
-
name: 'userName',
|
|
821
|
-
message: 'Your name:',
|
|
822
|
-
default: 'Developer'
|
|
823
|
-
},
|
|
824
|
-
{
|
|
825
|
-
type: 'list',
|
|
826
|
-
name: 'language',
|
|
827
|
-
message: 'Communication language:',
|
|
828
|
-
choices: ['Francais', 'English'],
|
|
829
|
-
default: installMode === 'custom' && interviewResults ? 'Francais' : 'English'
|
|
830
|
-
}
|
|
831
|
-
]);
|
|
832
|
-
|
|
833
833
|
// Step 5: Install v2.0 structure (if available)
|
|
834
834
|
let v2Installed = false;
|
|
835
835
|
|
|
@@ -109,14 +109,16 @@ Continue la conversation pour comprendre le projet et personnaliser les agents.`
|
|
|
109
109
|
maxBuffer: 1024 * 1024
|
|
110
110
|
});
|
|
111
111
|
} else if (selectedPlatform === 'codex') {
|
|
112
|
-
|
|
112
|
+
// Use codex exec for non-interactive mode
|
|
113
|
+
result = execSync(`codex exec "${escaped}" 2>/dev/null`, {
|
|
113
114
|
encoding: 'utf8',
|
|
114
115
|
cwd: projectRoot,
|
|
115
116
|
timeout: 60000,
|
|
116
117
|
maxBuffer: 1024 * 1024
|
|
117
118
|
});
|
|
118
119
|
} else if (selectedPlatform === 'claude') {
|
|
119
|
-
|
|
120
|
+
// Claude takes prompt as argument with -p flag for print mode
|
|
121
|
+
result = execSync(`claude -p "${escaped}" 2>/dev/null`, {
|
|
120
122
|
encoding: 'utf8',
|
|
121
123
|
cwd: projectRoot,
|
|
122
124
|
timeout: 60000,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-byan-agent",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.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": {
|