@base44-preview/cli 0.0.31-pr.228.2156787 → 0.0.31-pr.228.3e6244f

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
@@ -168946,11 +168946,14 @@ async function pullAgentsAction() {
168946
168946
  successMessage: "Agents fetched successfully",
168947
168947
  errorMessage: "Failed to fetch agents"
168948
168948
  });
168949
- const { written, deleted } = await runTask("Syncing agent files", async () => {
168949
+ if (remoteAgents.items.length === 0) {
168950
+ return { outroMessage: "No agents found on Base44" };
168951
+ }
168952
+ const { written, deleted } = await runTask("Writing agent files", async () => {
168950
168953
  return await writeAgents(agentsDir, remoteAgents.items);
168951
168954
  }, {
168952
- successMessage: "Agent files synced successfully",
168953
- errorMessage: "Failed to sync agent files"
168955
+ successMessage: "Agent files written successfully",
168956
+ errorMessage: "Failed to write agent files"
168954
168957
  });
168955
168958
  if (written.length > 0) {
168956
168959
  M2.success(`Written: ${written.join(", ")}`);
@@ -174668,4 +174671,4 @@ export {
174668
174671
  CLIExitError
174669
174672
  };
174670
174673
 
174671
- //# debugId=CB57B581E375BEA664756E2164756E21
174674
+ //# debugId=D51712CD0A4E94DA64756E2164756E21