@base44-preview/cli 0.0.19-pr.118.8725b28 → 0.0.19-pr.121.59dce66
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/index.js +15 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -38187,20 +38187,22 @@ async function executeCreate({ template, name: rawName, description, projectPath
|
|
|
38187
38187
|
const result = await ye({ message: "Add AI agent skills?" });
|
|
38188
38188
|
shouldAddSkills = !pD(result) && result;
|
|
38189
38189
|
} else shouldAddSkills = !!skills;
|
|
38190
|
-
if (shouldAddSkills)
|
|
38191
|
-
await
|
|
38192
|
-
"
|
|
38193
|
-
|
|
38194
|
-
|
|
38195
|
-
|
|
38196
|
-
|
|
38197
|
-
|
|
38198
|
-
|
|
38190
|
+
if (shouldAddSkills) try {
|
|
38191
|
+
await runTask("Installing AI agent skills...", async () => {
|
|
38192
|
+
await execa("npx", [
|
|
38193
|
+
"-y",
|
|
38194
|
+
"add-skill",
|
|
38195
|
+
"base44/skills",
|
|
38196
|
+
"-y"
|
|
38197
|
+
], {
|
|
38198
|
+
cwd: resolvedPath,
|
|
38199
|
+
shell: true
|
|
38200
|
+
});
|
|
38201
|
+
}, {
|
|
38202
|
+
successMessage: theme.colors.base44Orange("AI agent skills added successfully"),
|
|
38203
|
+
errorMessage: "Failed to add AI agent skills - you can add them later with: npx add-skill base44/skills"
|
|
38199
38204
|
});
|
|
38200
|
-
}
|
|
38201
|
-
successMessage: theme.colors.base44Orange("AI agent skills added successfully"),
|
|
38202
|
-
errorMessage: "Failed to add AI agent skills - you can add them later with: npx add-skill base44/skills"
|
|
38203
|
-
});
|
|
38205
|
+
} catch {}
|
|
38204
38206
|
M.message(`${theme.styles.header("Project")}: ${theme.colors.base44Orange(name$1)}`);
|
|
38205
38207
|
M.message(`${theme.styles.header("Dashboard")}: ${theme.colors.links(getDashboardUrl(projectId))}`);
|
|
38206
38208
|
if (finalAppUrl) M.message(`${theme.styles.header("Site")}: ${theme.colors.links(finalAppUrl)}`);
|