@base44-preview/cli 0.0.25-pr.152.43bb784 → 0.0.25-pr.153.a9ed6f8

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 CHANGED
@@ -38473,7 +38473,7 @@ async function executeCreate({ template, name: rawName, description, projectPath
38473
38473
  id: projectId,
38474
38474
  projectRoot: resolvedPath
38475
38475
  });
38476
- const { project, entities } = await readProjectConfig(resolvedPath);
38476
+ const { project, entities, agents } = await readProjectConfig(resolvedPath);
38477
38477
  let finalAppUrl;
38478
38478
  if (entities.length > 0) {
38479
38479
  let shouldPushEntities;
@@ -38488,6 +38488,19 @@ async function executeCreate({ template, name: rawName, description, projectPath
38488
38488
  errorMessage: "Failed to push data models"
38489
38489
  });
38490
38490
  }
38491
+ if (agents.length > 0) {
38492
+ let shouldPushAgents;
38493
+ if (isInteractive) {
38494
+ const result = await ye({ message: "Configure AI agent? (This sets up the AI assistant included in the template)" });
38495
+ shouldPushAgents = !pD(result) && result;
38496
+ } else shouldPushAgents = !!deploy;
38497
+ if (shouldPushAgents) await runTask(`Configuring ${agents.length} AI agent${agents.length > 1 ? "s" : ""}...`, async () => {
38498
+ await pushAgents(agents);
38499
+ }, {
38500
+ successMessage: theme.colors.base44Orange("AI agent configured successfully"),
38501
+ errorMessage: "Failed to configure AI agent"
38502
+ });
38503
+ }
38491
38504
  if (project.site) {
38492
38505
  const { installCommand, buildCommand, outputDirectory } = project.site;
38493
38506
  let shouldDeploy;
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "task_manager",
3
+ "description": "An AI agent that helps you manage and change your tasks",
4
+ "instructions": "You are a helpful task management assistant. You can help users create, update, mark as completed, and delete tasks using the entity tool. When a user asks to change a task, help them modify it by updating the appropriate fields. Always be conversational and helpful.",
5
+ "tool_configs": [
6
+ {
7
+ "entity_name": "task",
8
+ "allowed_operations": ["read", "create", "update", "delete"]
9
+ }
10
+ ]
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base44-preview/cli",
3
- "version": "0.0.25-pr.152.43bb784",
3
+ "version": "0.0.25-pr.153.a9ed6f8",
4
4
  "description": "Base44 CLI - Unified interface for managing Base44 applications",
5
5
  "type": "module",
6
6
  "bin": {