@integrity-labs/agt-cli 0.14.0 → 0.14.1
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.
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveChannels,
|
|
19
19
|
resolveDmTarget,
|
|
20
20
|
wrapScheduledTaskPrompt
|
|
21
|
-
} from "../chunk-
|
|
21
|
+
} from "../chunk-HGPRV76J.js";
|
|
22
22
|
import {
|
|
23
23
|
findTaskByTemplate,
|
|
24
24
|
getProjectDir,
|
|
@@ -3209,7 +3209,9 @@ async function executeAndProcessClaudeTask(codeName, agentId, task, prompt) {
|
|
|
3209
3209
|
async function processClaudeTaskResult(codeName, agentId, templateId, output, delivery) {
|
|
3210
3210
|
try {
|
|
3211
3211
|
if (isSuppressOutput(output)) {
|
|
3212
|
-
|
|
3212
|
+
const trimmed = (output ?? "").trim();
|
|
3213
|
+
const outputSummary = trimmed.length === 0 ? "<empty>" : trimmed.length > 80 ? `${trimmed.slice(0, 77)}...` : trimmed;
|
|
3214
|
+
log(`[claude-scheduler] Suppressing delivery for '${codeName}' (template=${templateId}, task=${delivery?.taskId ?? "n/a"}) \u2014 output was: ${outputSummary}`);
|
|
3213
3215
|
if (delivery?.mode === "announce" && delivery.to) {
|
|
3214
3216
|
await reportDeliveryStatus(agentId, delivery.taskId, {
|
|
3215
3217
|
status: "skipped",
|