@base44-preview/cli 0.0.25-pr.149.d56648c → 0.0.25-pr.152.43bb784
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 +5 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16889,6 +16889,11 @@ async function writeAgents(agentsDir, remoteAgents) {
|
|
|
16889
16889
|
//#endregion
|
|
16890
16890
|
//#region src/core/resources/agent/api.ts
|
|
16891
16891
|
async function pushAgents(agents) {
|
|
16892
|
+
if (agents.length === 0) return {
|
|
16893
|
+
created: [],
|
|
16894
|
+
updated: [],
|
|
16895
|
+
deleted: []
|
|
16896
|
+
};
|
|
16892
16897
|
const response = await getAppClient().put("agent-configs", {
|
|
16893
16898
|
json: agents,
|
|
16894
16899
|
throwHttpErrors: false
|