@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 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 agentFlags = selectedAgents.map((agent) => `-a ${agent}`).join(" ");
38141
+ const agentArgs = selectedAgents.flatMap((agent) => ["-a", agent]);
38142
38142
  await runTask("Adding AI agent skills...", async () => {
38143
- await execa({
38144
- cwd: resolvedPath,
38145
- shell: true
38146
- })`npx -y add-skill base44/skills ${agentFlags}`;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.15-pr.95.552a15a",
3
+ "version": "0.0.15-pr.95.a2f5c85",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
6
  "main": "./dist/cli/index.js",