@desplega.ai/agent-swarm 1.77.2 → 1.77.3
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/openapi.json +1 -1
- package/package.json +1 -1
- package/src/be/db.ts +14 -4
package/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Agent Swarm API",
|
|
5
|
-
"version": "1.77.
|
|
5
|
+
"version": "1.77.3",
|
|
6
6
|
"description": "Multi-agent orchestration API for Claude Code, Codex, and Gemini CLI. Enables task distribution, agent communication, and service discovery.\n\nMCP tools are documented separately in [MCP.md](./MCP.md)."
|
|
7
7
|
},
|
|
8
8
|
"servers": [
|
package/package.json
CHANGED
package/src/be/db.ts
CHANGED
|
@@ -1411,9 +1411,14 @@ export function getAllTasks(filters?: TaskFilters): AgentTask[] {
|
|
|
1411
1411
|
params.push(filters.createdAfter);
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
// Exclude heartbeat tasks by default
|
|
1414
|
+
// Exclude system/heartbeat tasks by default. The flag is still called
|
|
1415
|
+
// `includeHeartbeat` for backward compat with existing API callers, but we
|
|
1416
|
+
// also gate boot-triage + heartbeat-checklist behind it since those are
|
|
1417
|
+
// equally noisy in the dashboard task list.
|
|
1415
1418
|
if (!filters?.includeHeartbeat) {
|
|
1416
|
-
conditions.push(
|
|
1419
|
+
conditions.push(
|
|
1420
|
+
"(IFNULL(taskType, '') NOT IN ('heartbeat', 'heartbeat-checklist', 'boot-triage') AND tags NOT LIKE '%\"heartbeat\"%')",
|
|
1421
|
+
);
|
|
1417
1422
|
}
|
|
1418
1423
|
|
|
1419
1424
|
const whereClause = conditions.length > 0 ? `WHERE ${conditions.join(" AND ")}` : "";
|
|
@@ -1509,9 +1514,14 @@ export function getTasksCount(filters?: Omit<TaskFilters, "limit" | "readyOnly">
|
|
|
1509
1514
|
params.push(filters.createdAfter);
|
|
1510
1515
|
}
|
|
1511
1516
|
|
|
1512
|
-
// Exclude heartbeat tasks by default
|
|
1517
|
+
// Exclude system/heartbeat tasks by default. The flag is still called
|
|
1518
|
+
// `includeHeartbeat` for backward compat with existing API callers, but we
|
|
1519
|
+
// also gate boot-triage + heartbeat-checklist behind it since those are
|
|
1520
|
+
// equally noisy in the dashboard task list.
|
|
1513
1521
|
if (!filters?.includeHeartbeat) {
|
|
1514
|
-
conditions.push(
|
|
1522
|
+
conditions.push(
|
|
1523
|
+
"(IFNULL(taskType, '') NOT IN ('heartbeat', 'heartbeat-checklist', 'boot-triage') AND tags NOT LIKE '%\"heartbeat\"%')",
|
|
1524
|
+
);
|
|
1515
1525
|
}
|
|
1516
1526
|
|
|
1517
1527
|
const whereClause = conditions.length > 0 ? `WHERE ${conditions.join(" AND ")}` : "";
|