@desplega.ai/agent-swarm 1.152.0 → 1.152.2
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/README.md +3 -0
- package/dist/{acp-adapter-d05sg0q4.js → acp-adapter-pfeje2v5.js} +1 -1
- package/dist/{actions-4sc0v342.js → actions-0sttc7f5.js} +12 -12
- package/dist/{app-2d0v6kt6.js → app-p8teva95.js} +3 -3
- package/dist/{assistant-zs6wdnrf.js → assistant-r45jnsrt.js} +15 -15
- package/dist/{boot-reembed-vhh33520.js → boot-reembed-1qmybsd4.js} +4 -4
- package/dist/{boot-reembed-3dwdnnsr.js → boot-reembed-je26h5y7.js} +3 -3
- package/dist/{boot-scrub-logs-e1fnabcg.js → boot-scrub-logs-gte3h1mm.js} +2 -2
- package/dist/{claude-adapter-h58xqzzd.js → claude-adapter-csc1mzka.js} +3 -3
- package/dist/{claude-sdk-session-pbaczbgt.js → claude-sdk-session-fcd6f078.js} +3 -3
- package/dist/{cli-zdcdh02m.js → cli-2nnd56zt.js} +1 -1
- package/dist/{cli-awb59f08.js → cli-3bpzj8me.js} +2 -2
- package/dist/{cli-f1f9n77e.js → cli-4ahpr4sw.js} +1 -1
- package/dist/{cli-cs9z1hw3.js → cli-56h18ng2.js} +1 -1
- package/dist/{cli-5bqt4gwa.js → cli-b9dd0h3k.js} +2 -2
- package/dist/{cli-5p007m2q.js → cli-ckz5t2hb.js} +7 -7
- package/dist/{cli-p2hx1pxm.js → cli-fmy65jdn.js} +3 -3
- package/dist/{cli-fhdssm2v.js → cli-gphgnvpf.js} +2 -2
- package/dist/{cli-nd5s3m4y.js → cli-gpqcs935.js} +2 -2
- package/dist/{cli-wp7cejrg.js → cli-jbmc0r7r.js} +1 -1
- package/dist/{cli-evgy5w3y.js → cli-jew3jda5.js} +1 -1
- package/dist/{cli-4fqn2vpg.js → cli-jvy9qgjs.js} +12 -10
- package/dist/{cli-t1mykkng.js → cli-qd65dvr6.js} +8 -8
- package/dist/{cli-cwvey7n1.js → cli-qn042eh7.js} +8 -8
- package/dist/{cli-t6axtdcg.js → cli-r84ctdxn.js} +1 -1
- package/dist/{cli-6k2athpf.js → cli-wpv5rgg2.js} +2 -2
- package/dist/{cli-8fy9dmpv.js → cli-xw7vak96.js} +2 -2
- package/dist/{cli-87hdfyde.js → cli-xy1cchaf.js} +1 -1
- package/dist/{cli-72vksk1n.js → cli-z3wkng35.js} +18 -18
- package/dist/{cli-gacq5hg8.js → cli-zvgj5zg8.js} +1 -1
- package/dist/{cli-jh9txj4n.js → cli-zvkq5csn.js} +1 -1
- package/dist/cli.js +11 -11
- package/dist/{codex-adapter-v3cz462q.js → codex-adapter-fxmpsabw.js} +2 -2
- package/dist/{codex-session-runner-de1a5g5z.js → codex-session-runner-rr1e47ea.js} +2 -2
- package/dist/{commands-wfqqpn95.js → commands-0f5rxz51.js} +2 -2
- package/dist/{db-9zzv5y05.js → db-r3jxf3wy.js} +2 -2
- package/dist/{dispatcher-hfm1jbgx.js → dispatcher-06vph6q4.js} +11 -11
- package/dist/{handlers-wrrhsack.js → handlers-0hgtc910.js} +14 -14
- package/dist/{hook-9skye8zd.js → hook-9kvrv1er.js} +1 -1
- package/dist/{hook-fgjv62k5.js → hook-fbfhkat3.js} +2 -2
- package/dist/{http-7grttjfq.js → http-xbyx8k5j.js} +90 -29
- package/dist/{index-pfhzrh1d.js → index-gpfn1741.js} +3 -3
- package/dist/{index-29gxx9ar.js → index-jsw3aynb.js} +11 -11
- package/dist/{index-30pz2h9w.js → index-rnyahfn5.js} +11 -11
- package/dist/{index-4ek1df87.js → index-sgk50mbg.js} +12 -12
- package/dist/{index-myfwqqyq.js → index-tfsdxyv6.js} +7 -7
- package/dist/{keepalive-j75m2m7k.js → keepalive-s3xpr7sw.js} +4 -4
- package/dist/{lead-a1hpjt0a.js → lead-rq4n5r16.js} +15 -15
- package/dist/{maintenance-tngjzqdq.js → maintenance-f0atj1ab.js} +4 -4
- package/dist/{oauth-refresh-sweep-em1fn044.js → oauth-refresh-sweep-q0t3bxre.js} +3 -3
- package/dist/{onboard-fv7ezvwx.js → onboard-br5j1kch.js} +2 -2
- package/dist/{otel-impl-6vbb568y.js → otel-impl-vdqge2nt.js} +1 -1
- package/dist/{pricing-refresh-nmm949an.js → pricing-refresh-hb3691fd.js} +4 -4
- package/dist/{rbac-roles-0fz5qryx.js → rbac-roles-jh280k9g.js} +3 -3
- package/dist/{rbac-roles-xtp05syf.js → rbac-roles-t78xt39b.js} +2 -2
- package/dist/{render-v2-fpb8whme.js → render-v2-7p8r2ymg.js} +3 -3
- package/dist/{seed-pricing-zwa8bs3t.js → seed-pricing-hf889enh.js} +3 -3
- package/dist/{setup-3ybwbdpd.js → setup-w6mb03jv.js} +2 -2
- package/dist/{work-objects-rmayxcx7.js → work-objects-nt8gy1kj.js} +14 -14
- package/dist/{worker-rng4jhnh.js → worker-dwy617t0.js} +15 -15
- package/openapi.json +2 -2
- package/package.json +1 -1
- package/src/agentmail/inbound-archive.ts +71 -0
- package/src/agentmail/types.ts +2 -0
- package/src/http/webhooks.ts +13 -5
- package/src/slack/assistant.ts +10 -1
- package/src/slack/handlers.ts +10 -1
- package/src/slack/thread-buffer.ts +14 -3
- package/src/tests/agentmail-inbound-archive.test.ts +418 -0
- package/src/tests/slack-assistant.test.ts +134 -0
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
scriptStdlibTypesWithGeneratedApis,
|
|
32
32
|
typecheckScript,
|
|
33
33
|
typecheckWithAmbient
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-wpv5rgg2.js";
|
|
35
35
|
import {
|
|
36
36
|
checkHeartbeatChecklist,
|
|
37
37
|
runHeartbeatSweep,
|
|
38
38
|
stopHeartbeat
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-gphgnvpf.js";
|
|
40
40
|
import {
|
|
41
41
|
AGENT_MAX_TASKS_CONFIG_KEY,
|
|
42
42
|
ALL_CAPABILITIES,
|
|
@@ -285,7 +285,7 @@ import {
|
|
|
285
285
|
verifyWebhookSignature,
|
|
286
286
|
warnIfCorsAllowsAnyOrigin,
|
|
287
287
|
wireHttpSpanLifecycle
|
|
288
|
-
} from "./cli-
|
|
288
|
+
} from "./cli-z3wkng35.js";
|
|
289
289
|
import"./cli-0z2v4nhw.js";
|
|
290
290
|
import {
|
|
291
291
|
REFERENCES_SOURCE_MAX_LENGTH,
|
|
@@ -302,10 +302,10 @@ import {
|
|
|
302
302
|
import"./cli-3dpj7atn.js";
|
|
303
303
|
import {
|
|
304
304
|
getModelsCatalog
|
|
305
|
-
} from "./cli-
|
|
305
|
+
} from "./cli-b9dd0h3k.js";
|
|
306
306
|
import {
|
|
307
307
|
getUserGrant
|
|
308
|
-
} from "./cli-
|
|
308
|
+
} from "./cli-r84ctdxn.js";
|
|
309
309
|
import {
|
|
310
310
|
can,
|
|
311
311
|
clearAuditSink,
|
|
@@ -395,7 +395,7 @@ import {
|
|
|
395
395
|
upsertScriptByName,
|
|
396
396
|
upsertScriptConnection,
|
|
397
397
|
validateDefinition
|
|
398
|
-
} from "./cli-
|
|
398
|
+
} from "./cli-fmy65jdn.js";
|
|
399
399
|
import"./cli-epan13p1.js";
|
|
400
400
|
import {
|
|
401
401
|
detachedProcessGroup,
|
|
@@ -431,14 +431,14 @@ import {
|
|
|
431
431
|
updateAuthorizationIdentity,
|
|
432
432
|
updateOAuthAppById,
|
|
433
433
|
upsertAuthorization
|
|
434
|
-
} from "./cli-
|
|
434
|
+
} from "./cli-56h18ng2.js";
|
|
435
435
|
import {
|
|
436
436
|
normalizeModelKey
|
|
437
|
-
} from "./cli-
|
|
437
|
+
} from "./cli-2nnd56zt.js";
|
|
438
438
|
import"./cli-bsakbbkm.js";
|
|
439
439
|
import {
|
|
440
440
|
searchScripts
|
|
441
|
-
} from "./cli-
|
|
441
|
+
} from "./cli-gpqcs935.js";
|
|
442
442
|
import"./cli-51tf7ac3.js";
|
|
443
443
|
import {
|
|
444
444
|
ensure,
|
|
@@ -455,7 +455,7 @@ import {
|
|
|
455
455
|
withRemoteContext,
|
|
456
456
|
withSpan,
|
|
457
457
|
withSpanContext
|
|
458
|
-
} from "./cli-
|
|
458
|
+
} from "./cli-qn042eh7.js";
|
|
459
459
|
import"./cli-q51yprfq.js";
|
|
460
460
|
import"./cli-yatxqynm.js";
|
|
461
461
|
import {
|
|
@@ -465,7 +465,7 @@ import {
|
|
|
465
465
|
init_constants as init_constants2,
|
|
466
466
|
init_reranker,
|
|
467
467
|
rerank
|
|
468
|
-
} from "./cli-
|
|
468
|
+
} from "./cli-jew3jda5.js";
|
|
469
469
|
import"./cli-fm4ytsdk.js";
|
|
470
470
|
import"./cli-aehm1rbq.js";
|
|
471
471
|
import"./cli-2658f6at.js";
|
|
@@ -605,6 +605,7 @@ import {
|
|
|
605
605
|
backfillSupersedeTaskResumeTaskId,
|
|
606
606
|
cancelTask,
|
|
607
607
|
checkoutPromptTemplate,
|
|
608
|
+
claimKv,
|
|
608
609
|
claimMentions,
|
|
609
610
|
claimOfferedTask,
|
|
610
611
|
claimTask,
|
|
@@ -842,6 +843,7 @@ import {
|
|
|
842
843
|
splitLegacyModelAlias,
|
|
843
844
|
startTask,
|
|
844
845
|
supersedeTask,
|
|
846
|
+
sweepExpiredKv,
|
|
845
847
|
telemetry,
|
|
846
848
|
uninstallMcpServer,
|
|
847
849
|
uninstallSkill,
|
|
@@ -882,7 +884,7 @@ import {
|
|
|
882
884
|
upsertSwarmConfig,
|
|
883
885
|
validateConfigValue,
|
|
884
886
|
withFavoriteFlags
|
|
885
|
-
} from "./cli-
|
|
887
|
+
} from "./cli-zvgj5zg8.js";
|
|
886
888
|
import {
|
|
887
889
|
IDENTITY_FIELD_BUDGETS,
|
|
888
890
|
IdentityFieldBudgetError,
|
|
@@ -928,7 +930,7 @@ import {
|
|
|
928
930
|
import {
|
|
929
931
|
init_package,
|
|
930
932
|
package_default
|
|
931
|
-
} from "./cli-
|
|
933
|
+
} from "./cli-zvkq5csn.js";
|
|
932
934
|
import {
|
|
933
935
|
init_secret_scrubber,
|
|
934
936
|
registerVolatileSecret,
|
|
@@ -25584,6 +25586,57 @@ async function handleUsers(req, res, pathSegments, queryParams) {
|
|
|
25584
25586
|
// src/http/webhooks.ts
|
|
25585
25587
|
init_zod();
|
|
25586
25588
|
|
|
25589
|
+
// src/agentmail/inbound-archive.ts
|
|
25590
|
+
init_db();
|
|
25591
|
+
init_secret_scrubber();
|
|
25592
|
+
import { createHash as createHash3 } from "node:crypto";
|
|
25593
|
+
var INBOUND_ARCHIVE_NAMESPACE = "agentmail-inbound";
|
|
25594
|
+
var INBOUND_ARCHIVE_TTL_MS = 30 * 24 * 60 * 60 * 1000;
|
|
25595
|
+
var text = (value, limit) => typeof value === "string" ? scrubSecrets(value).slice(0, limit) : "";
|
|
25596
|
+
var inboundArchiveKey = (inboxId, messageId) => createHash3("sha256").update(JSON.stringify([inboxId, messageId])).digest("hex");
|
|
25597
|
+
async function archiveInboundMessage(payload) {
|
|
25598
|
+
if (![
|
|
25599
|
+
"message.received",
|
|
25600
|
+
"message.received.unauthenticated",
|
|
25601
|
+
"message.received.blocked",
|
|
25602
|
+
"message.received.spam"
|
|
25603
|
+
].includes(payload.event_type))
|
|
25604
|
+
return;
|
|
25605
|
+
const message = payload.message;
|
|
25606
|
+
if (!message?.inbox_id || !message.message_id || !message.thread_id) {
|
|
25607
|
+
throw new Error("Inbound webhook missing inbox, message or thread ID");
|
|
25608
|
+
}
|
|
25609
|
+
const now = Date.now();
|
|
25610
|
+
await sweepExpiredKv(INBOUND_ARCHIVE_NAMESPACE, now);
|
|
25611
|
+
const minimized = {
|
|
25612
|
+
event_type: payload.event_type,
|
|
25613
|
+
message: {
|
|
25614
|
+
inbox_id: message.inbox_id,
|
|
25615
|
+
message_id: message.message_id,
|
|
25616
|
+
thread_id: message.thread_id,
|
|
25617
|
+
from_: text(Array.isArray(message.from_) ? message.from_.join(", ") : message.from_, 1500),
|
|
25618
|
+
reply_to: Array.isArray(message.reply_to) ? message.reply_to.slice(0, 20).map((value) => text(value, 1500)) : undefined,
|
|
25619
|
+
subject: text(message.subject, 300),
|
|
25620
|
+
text: text(message.text, 16000),
|
|
25621
|
+
html: text(message.html, 16000),
|
|
25622
|
+
timestamp: text(message.timestamp || message.created_at, 100),
|
|
25623
|
+
labels: Array.isArray(message.labels) ? message.labels.filter((label) => label === "unauthenticated") : [],
|
|
25624
|
+
attachments: Array.isArray(message.attachments) ? message.attachments.map((attachment) => ({
|
|
25625
|
+
filename: text(attachment.filename, 1500),
|
|
25626
|
+
content_type: text(attachment.content_type, 200),
|
|
25627
|
+
size: typeof attachment.size === "number" ? attachment.size : null
|
|
25628
|
+
})) : undefined
|
|
25629
|
+
}
|
|
25630
|
+
};
|
|
25631
|
+
await claimKv({
|
|
25632
|
+
namespace: INBOUND_ARCHIVE_NAMESPACE,
|
|
25633
|
+
key: inboundArchiveKey(message.inbox_id, message.message_id),
|
|
25634
|
+
value: { version: 1, capturedAt: new Date(now).toISOString(), payload: minimized },
|
|
25635
|
+
expiresAt: now + INBOUND_ARCHIVE_TTL_MS,
|
|
25636
|
+
valueType: "json"
|
|
25637
|
+
});
|
|
25638
|
+
}
|
|
25639
|
+
|
|
25587
25640
|
// src/integrations/kapso/inbound.ts
|
|
25588
25641
|
init_resolver();
|
|
25589
25642
|
init_event_bus();
|
|
@@ -25733,7 +25786,7 @@ var agentmailWebhook = route({
|
|
|
25733
25786
|
responses: {
|
|
25734
25787
|
200: { description: "Event received", schema: exports_external.object({ received: exports_external.literal(true) }) },
|
|
25735
25788
|
401: { description: "Invalid signature" },
|
|
25736
|
-
503: { description: "AgentMail integration not configured" }
|
|
25789
|
+
503: { description: "AgentMail integration not configured or inbound archive unavailable" }
|
|
25737
25790
|
}
|
|
25738
25791
|
});
|
|
25739
25792
|
var kapsoWebhook = route({
|
|
@@ -26056,8 +26109,16 @@ async function handleWebhooks(req, res, pathSegments) {
|
|
|
26056
26109
|
res.end(JSON.stringify({ error: "Invalid signature" }));
|
|
26057
26110
|
return true;
|
|
26058
26111
|
}
|
|
26059
|
-
agentmailWebhook.respond(res, 200, { received: true });
|
|
26060
26112
|
const payload = verified;
|
|
26113
|
+
try {
|
|
26114
|
+
await archiveInboundMessage(payload);
|
|
26115
|
+
} catch (err) {
|
|
26116
|
+
console.error("[AgentMail] Inbound archive failed; requesting webhook retry", err);
|
|
26117
|
+
res.writeHead(503, { "Content-Type": "application/json" });
|
|
26118
|
+
res.end(JSON.stringify({ error: "Inbound archive unavailable" }));
|
|
26119
|
+
return true;
|
|
26120
|
+
}
|
|
26121
|
+
agentmailWebhook.respond(res, 200, { received: true });
|
|
26061
26122
|
if (payload.message && !isInboxAllowed(payload.message.inbox_id, process.env.AGENTMAIL_INBOX_DOMAIN_FILTER)) {
|
|
26062
26123
|
const domain = payload.message.inbox_id.split("@")[1] ?? "unknown";
|
|
26063
26124
|
console.log(`[AgentMail] Ignoring event for inbox domain "${domain}" (not in AGENTMAIL_INBOX_DOMAIN_FILTER)`);
|
|
@@ -27405,7 +27466,7 @@ async function shutdown() {
|
|
|
27405
27466
|
sessionsProcessed: getServerSessionsProcessed()
|
|
27406
27467
|
});
|
|
27407
27468
|
if (hasCapability("scheduling")) {
|
|
27408
|
-
const { stopScheduler } = await import("./index-
|
|
27469
|
+
const { stopScheduler } = await import("./index-rnyahfn5.js");
|
|
27409
27470
|
stopScheduler();
|
|
27410
27471
|
}
|
|
27411
27472
|
stopHeartbeat();
|
|
@@ -27413,7 +27474,7 @@ async function shutdown() {
|
|
|
27413
27474
|
await stopScriptRunSupervisor();
|
|
27414
27475
|
await stopSlackApp();
|
|
27415
27476
|
if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
|
|
27416
|
-
const { stopOAuthKeepalive } = await import("./keepalive-
|
|
27477
|
+
const { stopOAuthKeepalive } = await import("./keepalive-s3xpr7sw.js");
|
|
27417
27478
|
await stopOAuthKeepalive();
|
|
27418
27479
|
}
|
|
27419
27480
|
stopOAuthPendingGc();
|
|
@@ -27481,15 +27542,15 @@ try {
|
|
|
27481
27542
|
console.warn("[startup] CAPABILITIES upgrade seed failed (non-fatal):", err);
|
|
27482
27543
|
}
|
|
27483
27544
|
try {
|
|
27484
|
-
const { seedPricingFromModelsDev } = await import("./seed-pricing-
|
|
27545
|
+
const { seedPricingFromModelsDev } = await import("./seed-pricing-hf889enh.js");
|
|
27485
27546
|
seedPricingFromModelsDev();
|
|
27486
|
-
const { startPricingRefreshLoop } = await import("./pricing-refresh-
|
|
27547
|
+
const { startPricingRefreshLoop } = await import("./pricing-refresh-hb3691fd.js");
|
|
27487
27548
|
startPricingRefreshLoop();
|
|
27488
27549
|
} catch (err) {
|
|
27489
27550
|
console.error("[startup] Failed to seed pricing rows:", err);
|
|
27490
27551
|
}
|
|
27491
27552
|
try {
|
|
27492
|
-
const { ensureRbacSeedsSynced } = await import("./rbac-roles-
|
|
27553
|
+
const { ensureRbacSeedsSynced } = await import("./rbac-roles-jh280k9g.js");
|
|
27493
27554
|
ensureRbacSeedsSynced();
|
|
27494
27555
|
} catch (err) {
|
|
27495
27556
|
console.error("[startup] Failed to sync RBAC seed rows:", err);
|
|
@@ -27497,7 +27558,7 @@ try {
|
|
|
27497
27558
|
throw err;
|
|
27498
27559
|
}
|
|
27499
27560
|
try {
|
|
27500
|
-
const { runAllSeeders } = await import("./index-
|
|
27561
|
+
const { runAllSeeders } = await import("./index-tfsdxyv6.js");
|
|
27501
27562
|
await runAllSeeders({ scriptEmbeddingMode: "skip" });
|
|
27502
27563
|
} catch (err) {
|
|
27503
27564
|
console.error("[startup] Failed to seed built-in entities:", err);
|
|
@@ -27551,36 +27612,36 @@ httpServer.listen(port, async () => {
|
|
|
27551
27612
|
await initWorkflows();
|
|
27552
27613
|
await startScriptRunSupervisor(getMcpBaseUrl());
|
|
27553
27614
|
if (hasCapability("scheduling")) {
|
|
27554
|
-
const { startScheduler } = await import("./index-
|
|
27555
|
-
const { getExecutorRegistry: getExecutorRegistry2 } = await import("./index-
|
|
27615
|
+
const { startScheduler } = await import("./index-rnyahfn5.js");
|
|
27616
|
+
const { getExecutorRegistry: getExecutorRegistry2 } = await import("./index-jsw3aynb.js");
|
|
27556
27617
|
const intervalMs = Number(process.env.SCHEDULER_INTERVAL_MS) || 1e4;
|
|
27557
27618
|
startScheduler(getExecutorRegistry2(), intervalMs, {
|
|
27558
27619
|
runId: globalState.__runId
|
|
27559
27620
|
});
|
|
27560
27621
|
}
|
|
27561
27622
|
if (!isEnvFlagEnabled("HEARTBEAT_DISABLE", false)) {
|
|
27562
|
-
const { startHeartbeat } = await import("./index-
|
|
27623
|
+
const { startHeartbeat } = await import("./index-sgk50mbg.js");
|
|
27563
27624
|
const heartbeatMs = Number(process.env.HEARTBEAT_INTERVAL_MS) || 90000;
|
|
27564
27625
|
startHeartbeat(heartbeatMs);
|
|
27565
27626
|
}
|
|
27566
27627
|
if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
|
|
27567
|
-
const { startOAuthKeepalive } = await import("./keepalive-
|
|
27628
|
+
const { startOAuthKeepalive } = await import("./keepalive-s3xpr7sw.js");
|
|
27568
27629
|
startOAuthKeepalive();
|
|
27569
27630
|
}
|
|
27570
27631
|
if (process.env.OAUTH_REFRESH_SWEEP_DISABLE !== "true") {
|
|
27571
|
-
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-
|
|
27632
|
+
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-q0t3bxre.js");
|
|
27572
27633
|
startOAuthRefreshSweep();
|
|
27573
27634
|
}
|
|
27574
27635
|
startOAuthPendingGc();
|
|
27575
27636
|
await startMemoryGc();
|
|
27576
27637
|
await startDbRetention();
|
|
27577
|
-
import("./boot-reembed-
|
|
27638
|
+
import("./boot-reembed-je26h5y7.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
27578
27639
|
console.error("[boot-reembed] startup backfill failed (non-fatal):", err);
|
|
27579
27640
|
});
|
|
27580
|
-
import("./boot-reembed-
|
|
27641
|
+
import("./boot-reembed-1qmybsd4.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
27581
27642
|
console.error("[boot-reembed-scripts] startup backfill failed (non-fatal):", err);
|
|
27582
27643
|
});
|
|
27583
|
-
import("./boot-scrub-logs-
|
|
27644
|
+
import("./boot-scrub-logs-gte3h1mm.js").then(({ runBootScrubLogs }) => runBootScrubLogs()).catch((err) => {
|
|
27584
27645
|
console.error("[boot-scrub-logs] startup scrub failed (non-fatal):", err);
|
|
27585
27646
|
});
|
|
27586
27647
|
}).on("error", (err) => {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getEmbeddingProvider,
|
|
3
3
|
getMemoryStore,
|
|
4
4
|
resetEmbeddingProvider
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-jew3jda5.js";
|
|
6
6
|
import"./cli-fm4ytsdk.js";
|
|
7
7
|
import"./cli-aehm1rbq.js";
|
|
8
8
|
import"./cli-2658f6at.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-zvgj5zg8.js";
|
|
10
10
|
import"./cli-ht5rs63n.js";
|
|
11
11
|
import"./cli-z61ykvam.js";
|
|
12
12
|
import"./cli-dv6cdjs2.js";
|
|
@@ -14,7 +14,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
14
14
|
import"./cli-ej6gbxfb.js";
|
|
15
15
|
import"./cli-sd0mxa3c.js";
|
|
16
16
|
import"./cli-w5e1d1vv.js";
|
|
17
|
-
import"./cli-
|
|
17
|
+
import"./cli-zvkq5csn.js";
|
|
18
18
|
import"./cli-r2ap2czm.js";
|
|
19
19
|
import"./cli-zf8jjwex.js";
|
|
20
20
|
import"./cli-bc05qbss.js";
|
|
@@ -20,37 +20,37 @@ import {
|
|
|
20
20
|
stopWaitPoller,
|
|
21
21
|
subscribeWaitToBus,
|
|
22
22
|
validateTemplateVariables
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-z3wkng35.js";
|
|
24
24
|
import"./cli-0z2v4nhw.js";
|
|
25
25
|
import"./cli-4wppfkcm.js";
|
|
26
26
|
import"./cli-e7d20cty.js";
|
|
27
27
|
import"./cli-re8z5p8p.js";
|
|
28
28
|
import"./cli-3dpj7atn.js";
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
29
|
+
import"./cli-b9dd0h3k.js";
|
|
30
|
+
import"./cli-r84ctdxn.js";
|
|
31
31
|
import"./cli-zfzznn7c.js";
|
|
32
32
|
import {
|
|
33
33
|
findEntryNodes,
|
|
34
34
|
getSuccessors
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-fmy65jdn.js";
|
|
36
36
|
import"./cli-epan13p1.js";
|
|
37
37
|
import"./cli-y89t4nca.js";
|
|
38
38
|
import"./cli-f14fvzag.js";
|
|
39
39
|
import"./cli-fad8m16k.js";
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
40
|
+
import"./cli-56h18ng2.js";
|
|
41
|
+
import"./cli-2nnd56zt.js";
|
|
42
42
|
import"./cli-bsakbbkm.js";
|
|
43
|
-
import"./cli-
|
|
43
|
+
import"./cli-gpqcs935.js";
|
|
44
44
|
import"./cli-51tf7ac3.js";
|
|
45
|
-
import"./cli-
|
|
45
|
+
import"./cli-qn042eh7.js";
|
|
46
46
|
import"./cli-q51yprfq.js";
|
|
47
47
|
import"./cli-yatxqynm.js";
|
|
48
|
-
import"./cli-
|
|
48
|
+
import"./cli-jew3jda5.js";
|
|
49
49
|
import"./cli-fm4ytsdk.js";
|
|
50
50
|
import"./cli-aehm1rbq.js";
|
|
51
51
|
import"./cli-2658f6at.js";
|
|
52
52
|
import"./cli-jsp14b6c.js";
|
|
53
|
-
import"./cli-
|
|
53
|
+
import"./cli-zvgj5zg8.js";
|
|
54
54
|
import"./cli-ht5rs63n.js";
|
|
55
55
|
import {
|
|
56
56
|
interpolate
|
|
@@ -60,7 +60,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
60
60
|
import"./cli-ej6gbxfb.js";
|
|
61
61
|
import"./cli-sd0mxa3c.js";
|
|
62
62
|
import"./cli-w5e1d1vv.js";
|
|
63
|
-
import"./cli-
|
|
63
|
+
import"./cli-zvkq5csn.js";
|
|
64
64
|
import"./cli-r2ap2czm.js";
|
|
65
65
|
import"./cli-pzxba7gw.js";
|
|
66
66
|
import {
|
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
runScheduleNow,
|
|
5
5
|
startScheduler,
|
|
6
6
|
stopScheduler
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-z3wkng35.js";
|
|
8
8
|
import"./cli-0z2v4nhw.js";
|
|
9
9
|
import"./cli-4wppfkcm.js";
|
|
10
10
|
import"./cli-e7d20cty.js";
|
|
11
11
|
import"./cli-re8z5p8p.js";
|
|
12
12
|
import"./cli-3dpj7atn.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
import"./cli-b9dd0h3k.js";
|
|
14
|
+
import"./cli-r84ctdxn.js";
|
|
15
15
|
import"./cli-zfzznn7c.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-fmy65jdn.js";
|
|
17
17
|
import"./cli-epan13p1.js";
|
|
18
18
|
import"./cli-y89t4nca.js";
|
|
19
19
|
import"./cli-f14fvzag.js";
|
|
20
20
|
import"./cli-fad8m16k.js";
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
21
|
+
import"./cli-56h18ng2.js";
|
|
22
|
+
import"./cli-2nnd56zt.js";
|
|
23
23
|
import"./cli-bsakbbkm.js";
|
|
24
|
-
import"./cli-
|
|
24
|
+
import"./cli-gpqcs935.js";
|
|
25
25
|
import"./cli-51tf7ac3.js";
|
|
26
|
-
import"./cli-
|
|
26
|
+
import"./cli-qn042eh7.js";
|
|
27
27
|
import"./cli-q51yprfq.js";
|
|
28
28
|
import"./cli-yatxqynm.js";
|
|
29
|
-
import"./cli-
|
|
29
|
+
import"./cli-jew3jda5.js";
|
|
30
30
|
import"./cli-fm4ytsdk.js";
|
|
31
31
|
import"./cli-aehm1rbq.js";
|
|
32
32
|
import"./cli-2658f6at.js";
|
|
33
33
|
import"./cli-jsp14b6c.js";
|
|
34
|
-
import"./cli-
|
|
34
|
+
import"./cli-zvgj5zg8.js";
|
|
35
35
|
import"./cli-ht5rs63n.js";
|
|
36
36
|
import"./cli-z61ykvam.js";
|
|
37
37
|
import"./cli-dv6cdjs2.js";
|
|
@@ -39,7 +39,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
39
39
|
import"./cli-ej6gbxfb.js";
|
|
40
40
|
import"./cli-sd0mxa3c.js";
|
|
41
41
|
import"./cli-w5e1d1vv.js";
|
|
42
|
-
import"./cli-
|
|
42
|
+
import"./cli-zvkq5csn.js";
|
|
43
43
|
import"./cli-r2ap2czm.js";
|
|
44
44
|
import"./cli-pzxba7gw.js";
|
|
45
45
|
import"./cli-f7kvq46p.js";
|
|
@@ -4,35 +4,35 @@ import {
|
|
|
4
4
|
runRebootSweep,
|
|
5
5
|
startHeartbeat,
|
|
6
6
|
stopHeartbeat
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
} from "./cli-gphgnvpf.js";
|
|
8
|
+
import"./cli-z3wkng35.js";
|
|
9
9
|
import"./cli-0z2v4nhw.js";
|
|
10
10
|
import"./cli-4wppfkcm.js";
|
|
11
11
|
import"./cli-e7d20cty.js";
|
|
12
12
|
import"./cli-re8z5p8p.js";
|
|
13
13
|
import"./cli-3dpj7atn.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-b9dd0h3k.js";
|
|
15
|
+
import"./cli-r84ctdxn.js";
|
|
16
16
|
import"./cli-zfzznn7c.js";
|
|
17
|
-
import"./cli-
|
|
17
|
+
import"./cli-fmy65jdn.js";
|
|
18
18
|
import"./cli-epan13p1.js";
|
|
19
19
|
import"./cli-y89t4nca.js";
|
|
20
20
|
import"./cli-f14fvzag.js";
|
|
21
21
|
import"./cli-fad8m16k.js";
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
22
|
+
import"./cli-56h18ng2.js";
|
|
23
|
+
import"./cli-2nnd56zt.js";
|
|
24
24
|
import"./cli-bsakbbkm.js";
|
|
25
|
-
import"./cli-
|
|
25
|
+
import"./cli-gpqcs935.js";
|
|
26
26
|
import"./cli-51tf7ac3.js";
|
|
27
|
-
import"./cli-
|
|
27
|
+
import"./cli-qn042eh7.js";
|
|
28
28
|
import"./cli-q51yprfq.js";
|
|
29
29
|
import"./cli-yatxqynm.js";
|
|
30
|
-
import"./cli-
|
|
30
|
+
import"./cli-jew3jda5.js";
|
|
31
31
|
import"./cli-fm4ytsdk.js";
|
|
32
32
|
import"./cli-aehm1rbq.js";
|
|
33
33
|
import"./cli-2658f6at.js";
|
|
34
34
|
import"./cli-jsp14b6c.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-zvgj5zg8.js";
|
|
36
36
|
import"./cli-ht5rs63n.js";
|
|
37
37
|
import"./cli-z61ykvam.js";
|
|
38
38
|
import"./cli-dv6cdjs2.js";
|
|
@@ -40,7 +40,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
40
40
|
import"./cli-ej6gbxfb.js";
|
|
41
41
|
import"./cli-sd0mxa3c.js";
|
|
42
42
|
import"./cli-w5e1d1vv.js";
|
|
43
|
-
import"./cli-
|
|
43
|
+
import"./cli-zvkq5csn.js";
|
|
44
44
|
import"./cli-r2ap2czm.js";
|
|
45
45
|
import"./cli-pzxba7gw.js";
|
|
46
46
|
import"./cli-f7kvq46p.js";
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
extractArgsJsonSchema,
|
|
7
7
|
extractScriptSignature,
|
|
8
8
|
typecheckScript
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-wpv5rgg2.js";
|
|
10
10
|
import {
|
|
11
11
|
getScript,
|
|
12
12
|
require_dist,
|
|
13
13
|
upsertScriptByName,
|
|
14
14
|
validateDefinition,
|
|
15
15
|
validateScriptImports
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-fmy65jdn.js";
|
|
17
17
|
import"./cli-epan13p1.js";
|
|
18
18
|
import"./cli-y89t4nca.js";
|
|
19
19
|
import"./cli-f14fvzag.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
20
|
+
import"./cli-56h18ng2.js";
|
|
21
|
+
import"./cli-gpqcs935.js";
|
|
22
|
+
import"./cli-jew3jda5.js";
|
|
23
23
|
import"./cli-fm4ytsdk.js";
|
|
24
24
|
import"./cli-aehm1rbq.js";
|
|
25
25
|
import"./cli-2658f6at.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
updateSkill,
|
|
40
40
|
updateWorkflow,
|
|
41
41
|
upsertSkillFiles
|
|
42
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-zvgj5zg8.js";
|
|
43
43
|
import"./cli-ht5rs63n.js";
|
|
44
44
|
import"./cli-z61ykvam.js";
|
|
45
45
|
import"./cli-dv6cdjs2.js";
|
|
@@ -47,7 +47,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
47
47
|
import"./cli-ej6gbxfb.js";
|
|
48
48
|
import"./cli-sd0mxa3c.js";
|
|
49
49
|
import"./cli-w5e1d1vv.js";
|
|
50
|
-
import"./cli-
|
|
50
|
+
import"./cli-zvkq5csn.js";
|
|
51
51
|
import"./cli-r2ap2czm.js";
|
|
52
52
|
import"./cli-zf8jjwex.js";
|
|
53
53
|
import {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureAuthorizationTokenOrThrow,
|
|
3
3
|
listKeepAliveAuthorizations
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
4
|
+
} from "./cli-56h18ng2.js";
|
|
5
|
+
import"./cli-zvgj5zg8.js";
|
|
6
6
|
import"./cli-ht5rs63n.js";
|
|
7
7
|
import"./cli-z61ykvam.js";
|
|
8
8
|
import"./cli-dv6cdjs2.js";
|
|
@@ -10,7 +10,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
10
10
|
import"./cli-ej6gbxfb.js";
|
|
11
11
|
import"./cli-sd0mxa3c.js";
|
|
12
12
|
import"./cli-w5e1d1vv.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-zvkq5csn.js";
|
|
14
14
|
import {
|
|
15
15
|
init_secret_scrubber,
|
|
16
16
|
scrubSecrets
|
|
@@ -66,7 +66,7 @@ async function notifySlack(text) {
|
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
68
|
try {
|
|
69
|
-
const { getSlackApp } = await import("./app-
|
|
69
|
+
const { getSlackApp } = await import("./app-p8teva95.js");
|
|
70
70
|
const app = getSlackApp();
|
|
71
71
|
if (!app) {
|
|
72
72
|
console.warn("[OAuth Keepalive] Slack not available, cannot send notification");
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-qd65dvr6.js";
|
|
4
4
|
import"./cli-pgj4a5fb.js";
|
|
5
5
|
import"./cli-kj76p1ez.js";
|
|
6
6
|
import"./cli-9b13ggd1.js";
|
|
7
7
|
import"./cli-d3p82erb.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
8
|
+
import"./cli-xw7vak96.js";
|
|
9
|
+
import"./cli-4ahpr4sw.js";
|
|
10
10
|
import"./cli-wbyk465z.js";
|
|
11
11
|
import"./cli-tng3131n.js";
|
|
12
12
|
import"./cli-5bfdm1ah.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-xy1cchaf.js";
|
|
14
14
|
import"./cli-hsxj0yar.js";
|
|
15
15
|
import"./cli-r94z9p1z.js";
|
|
16
16
|
import"./cli-b5b30yzk.js";
|
|
@@ -25,34 +25,34 @@ import"./cli-eree7rnv.js";
|
|
|
25
25
|
import"./cli-4yc5d8fk.js";
|
|
26
26
|
import {
|
|
27
27
|
getEnabledCapabilities
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-z3wkng35.js";
|
|
29
29
|
import"./cli-0z2v4nhw.js";
|
|
30
30
|
import"./cli-4wppfkcm.js";
|
|
31
31
|
import"./cli-e7d20cty.js";
|
|
32
32
|
import"./cli-re8z5p8p.js";
|
|
33
33
|
import"./cli-3dpj7atn.js";
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
34
|
+
import"./cli-b9dd0h3k.js";
|
|
35
|
+
import"./cli-r84ctdxn.js";
|
|
36
36
|
import"./cli-zfzznn7c.js";
|
|
37
|
-
import"./cli-
|
|
37
|
+
import"./cli-fmy65jdn.js";
|
|
38
38
|
import"./cli-epan13p1.js";
|
|
39
39
|
import"./cli-y89t4nca.js";
|
|
40
40
|
import"./cli-f14fvzag.js";
|
|
41
41
|
import"./cli-fad8m16k.js";
|
|
42
|
-
import"./cli-
|
|
43
|
-
import"./cli-
|
|
42
|
+
import"./cli-56h18ng2.js";
|
|
43
|
+
import"./cli-2nnd56zt.js";
|
|
44
44
|
import"./cli-bsakbbkm.js";
|
|
45
|
-
import"./cli-
|
|
45
|
+
import"./cli-gpqcs935.js";
|
|
46
46
|
import"./cli-51tf7ac3.js";
|
|
47
|
-
import"./cli-
|
|
47
|
+
import"./cli-qn042eh7.js";
|
|
48
48
|
import"./cli-q51yprfq.js";
|
|
49
49
|
import"./cli-yatxqynm.js";
|
|
50
|
-
import"./cli-
|
|
50
|
+
import"./cli-jew3jda5.js";
|
|
51
51
|
import"./cli-fm4ytsdk.js";
|
|
52
52
|
import"./cli-aehm1rbq.js";
|
|
53
53
|
import"./cli-2658f6at.js";
|
|
54
54
|
import"./cli-jsp14b6c.js";
|
|
55
|
-
import"./cli-
|
|
55
|
+
import"./cli-zvgj5zg8.js";
|
|
56
56
|
import"./cli-ht5rs63n.js";
|
|
57
57
|
import"./cli-z61ykvam.js";
|
|
58
58
|
import"./cli-dv6cdjs2.js";
|
|
@@ -60,7 +60,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
60
60
|
import"./cli-ej6gbxfb.js";
|
|
61
61
|
import"./cli-sd0mxa3c.js";
|
|
62
62
|
import"./cli-w5e1d1vv.js";
|
|
63
|
-
import"./cli-
|
|
63
|
+
import"./cli-zvkq5csn.js";
|
|
64
64
|
import"./cli-r2ap2czm.js";
|
|
65
65
|
import"./cli-pzxba7gw.js";
|
|
66
66
|
import"./cli-f7kvq46p.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reembedAllScripts
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-gpqcs935.js";
|
|
4
|
+
import"./cli-jew3jda5.js";
|
|
5
5
|
import"./cli-fm4ytsdk.js";
|
|
6
6
|
import"./cli-aehm1rbq.js";
|
|
7
7
|
import"./cli-2658f6at.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-zvgj5zg8.js";
|
|
9
9
|
import"./cli-ht5rs63n.js";
|
|
10
10
|
import"./cli-z61ykvam.js";
|
|
11
11
|
import"./cli-dv6cdjs2.js";
|
|
@@ -13,7 +13,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
13
13
|
import"./cli-ej6gbxfb.js";
|
|
14
14
|
import"./cli-sd0mxa3c.js";
|
|
15
15
|
import"./cli-w5e1d1vv.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-zvkq5csn.js";
|
|
17
17
|
import"./cli-r2ap2czm.js";
|
|
18
18
|
import"./cli-zf8jjwex.js";
|
|
19
19
|
import"./cli-bc05qbss.js";
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
forceRefreshAuthorizationOrThrow,
|
|
3
3
|
getAuthorizationById,
|
|
4
4
|
listAuthorizationSweepRows
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
5
|
+
} from "./cli-56h18ng2.js";
|
|
6
|
+
import"./cli-zvgj5zg8.js";
|
|
7
7
|
import"./cli-ht5rs63n.js";
|
|
8
8
|
import"./cli-z61ykvam.js";
|
|
9
9
|
import"./cli-dv6cdjs2.js";
|
|
@@ -11,7 +11,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
11
11
|
import"./cli-ej6gbxfb.js";
|
|
12
12
|
import"./cli-sd0mxa3c.js";
|
|
13
13
|
import"./cli-w5e1d1vv.js";
|
|
14
|
-
import"./cli-
|
|
14
|
+
import"./cli-zvkq5csn.js";
|
|
15
15
|
import {
|
|
16
16
|
init_secret_scrubber,
|
|
17
17
|
scrubSecrets
|