create-byan-agent 2.3.4 → 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.
|
@@ -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": {
|