@base44-preview/cli 0.0.15-pr.95.a2f5c85 → 0.0.15-pr.95.ac0a180
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 +15 -6
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -38139,17 +38139,26 @@ async function executeCreate({ template, name: rawName, description, projectPath
|
|
|
38139
38139
|
} else if (skills) selectedAgents = SUPPORTED_AGENTS.map((agent) => agent.value);
|
|
38140
38140
|
if (selectedAgents.length > 0) {
|
|
38141
38141
|
const agentArgs = selectedAgents.flatMap((agent) => ["-a", agent]);
|
|
38142
|
-
|
|
38142
|
+
M.message("Installing skills for: " + selectedAgents.join(", "));
|
|
38143
|
+
try {
|
|
38143
38144
|
await execa("npx", [
|
|
38144
38145
|
"-y",
|
|
38145
38146
|
"add-skill",
|
|
38146
38147
|
"base44/skills",
|
|
38148
|
+
"-y",
|
|
38149
|
+
"-s",
|
|
38150
|
+
"base44-cli",
|
|
38151
|
+
"-s",
|
|
38152
|
+
"base44-sdk",
|
|
38147
38153
|
...agentArgs
|
|
38148
|
-
], {
|
|
38149
|
-
|
|
38150
|
-
|
|
38151
|
-
|
|
38152
|
-
|
|
38154
|
+
], {
|
|
38155
|
+
cwd: resolvedPath,
|
|
38156
|
+
stdio: "inherit"
|
|
38157
|
+
});
|
|
38158
|
+
M.message(theme.colors.base44Orange("AI agent skills added successfully"));
|
|
38159
|
+
} catch (error) {
|
|
38160
|
+
M.message("Failed to add AI agent skills - you can add them later with: npx add-skill base44/skills");
|
|
38161
|
+
}
|
|
38153
38162
|
}
|
|
38154
38163
|
M.message(`${theme.styles.header("Project")}: ${theme.colors.base44Orange(name$1)}`);
|
|
38155
38164
|
M.message(`${theme.styles.header("Dashboard")}: ${theme.colors.links(getDashboardUrl(projectId))}`);
|
package/package.json
CHANGED