@base44-preview/cli 0.0.15-pr.95.552a15a → 0.0.15-pr.95.a2f5c85
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/dist/cli/index.js +7 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -38138,12 +38138,14 @@ async function executeCreate({ template, name: rawName, description, projectPath
|
|
|
38138
38138
|
if (!pD(result)) selectedAgents = result;
|
|
38139
38139
|
} else if (skills) selectedAgents = SUPPORTED_AGENTS.map((agent) => agent.value);
|
|
38140
38140
|
if (selectedAgents.length > 0) {
|
|
38141
|
-
const
|
|
38141
|
+
const agentArgs = selectedAgents.flatMap((agent) => ["-a", agent]);
|
|
38142
38142
|
await runTask("Adding AI agent skills...", async () => {
|
|
38143
|
-
await execa(
|
|
38144
|
-
|
|
38145
|
-
|
|
38146
|
-
|
|
38143
|
+
await execa("npx", [
|
|
38144
|
+
"-y",
|
|
38145
|
+
"add-skill",
|
|
38146
|
+
"base44/skills",
|
|
38147
|
+
...agentArgs
|
|
38148
|
+
], { cwd: resolvedPath });
|
|
38147
38149
|
}, {
|
|
38148
38150
|
successMessage: theme.colors.base44Orange("AI agent skills added successfully"),
|
|
38149
38151
|
errorMessage: "Failed to add AI agent skills"
|
package/package.json
CHANGED