@desplega.ai/agent-swarm 1.123.1 → 1.124.0
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 +2 -1
- package/dist/{actions-3ntn8s3f.js → actions-z3d0fk7z.js} +5 -5
- package/dist/{app-pej7g57x.js → app-q2rc9tdr.js} +3 -3
- package/dist/{assistant-pxa36zjn.js → assistant-3stjq7fz.js} +8 -8
- package/dist/{boot-reembed-wdwde4vr.js → boot-reembed-5867whnb.js} +3 -3
- package/dist/{boot-reembed-ybq960bh.js → boot-reembed-v6r1df32.js} +4 -4
- package/dist/{boot-scrub-logs-ndqxg6e3.js → boot-scrub-logs-8b8jegk3.js} +2 -2
- package/dist/{cli-xv09zc8e.js → cli-0925phzv.js} +1 -1
- package/dist/{cli-256kb8p5.js → cli-2yr6edr7.js} +4 -4
- package/dist/{cli-x2hk4m81.js → cli-3z4q09tn.js} +54 -9
- package/dist/{cli-7yn0n4fp.js → cli-5jn6wnd9.js} +8 -8
- package/dist/{cli-82eq5zf5.js → cli-92bqgbgy.js} +1 -1
- package/dist/{cli-r07fhvsk.js → cli-dq2ssyf0.js} +5 -5
- package/dist/{cli-kqgkfpz7.js → cli-gkvf8d83.js} +1 -1
- package/dist/{cli-7qvpf14x.js → cli-gzjsamwc.js} +1 -1
- package/dist/{cli-333x50bh.js → cli-h89g0qrd.js} +1 -1
- package/dist/{cli-g4bfr1e7.js → cli-jp4mdj9d.js} +2 -2
- package/dist/{cli-2e5t0yjj.js → cli-kk58tg33.js} +7 -7
- package/dist/{cli-mb3gz7qr.js → cli-mcez7z4p.js} +1 -1
- package/dist/{cli-ca32n52j.js → cli-mmk5vagg.js} +2 -2
- package/dist/{cli-1kv5sydm.js → cli-p0ec4vv6.js} +1 -1
- package/dist/{cli-zvbxe7pf.js → cli-p0zgv8pj.js} +1 -1
- package/dist/{cli-mntyk3cr.js → cli-perb20ma.js} +1 -1
- package/dist/{cli-7rk0bbfr.js → cli-qf7acvyr.js} +2 -2
- package/dist/{cli-1cah98w1.js → cli-qwsagsmg.js} +1 -1
- package/dist/{cli-pjvdm39a.js → cli-sqv6c9b8.js} +5 -5
- package/dist/{cli-vw0acwe7.js → cli-vm20sh8d.js} +3 -3
- package/dist/{cli-sj43m5z0.js → cli-wn3m6q54.js} +3 -3
- package/dist/{cli-hgkf9zmd.js → cli-x268say8.js} +125 -58
- package/dist/{cli-0pmkqg1d.js → cli-y43n987v.js} +1 -1
- package/dist/{cli-qrnhnhma.js → cli-ykthjw29.js} +4 -4
- package/dist/{cli-k3yfwe8g.js → cli-zxb72ctk.js} +2 -2
- package/dist/cli.js +9 -9
- package/dist/{commands-5p0erxye.js → commands-sda76yn8.js} +2 -2
- package/dist/{db-yp9e9nvs.js → db-vn9e4rqj.js} +6 -2
- package/dist/{handlers-3hqw1dsr.js → handlers-xfja18ac.js} +8 -8
- package/dist/{hook-5981d59r.js → hook-2medrp47.js} +1 -1
- package/dist/{http-ek9ctgth.js → http-937pyjfc.js} +49 -39
- package/dist/{index-33eb3q08.js → index-2bqd2q9v.js} +11 -11
- package/dist/{index-8j9b86c9.js → index-gw4en7jg.js} +9 -9
- package/dist/{index-chcty242.js → index-knqczmnm.js} +10 -10
- package/dist/{index-1cnvzmh4.js → index-vah60vxp.js} +8 -8
- package/dist/{keepalive-rrvxy1fy.js → keepalive-20rd6hxh.js} +5 -5
- package/dist/{lead-jvw8b413.js → lead-7w2k3a49.js} +20 -20
- package/dist/{maintenance-3zjnr2wa.js → maintenance-p3x918yw.js} +4 -4
- package/dist/{oauth-refresh-sweep-vfhvqmby.js → oauth-refresh-sweep-shm0nzm4.js} +4 -4
- package/dist/{onboard-kvntqz8h.js → onboard-py9dnf54.js} +2 -2
- package/dist/{otel-impl-61tsn4bx.js → otel-impl-7yjkfg68.js} +1 -1
- package/dist/{pricing-refresh-jcp6ntbk.js → pricing-refresh-3snb6370.js} +4 -4
- package/dist/{rbac-roles-xcbab18x.js → rbac-roles-5e72bbpk.js} +3 -3
- package/dist/{rbac-roles-r3j4z9vs.js → rbac-roles-gqxdp8st.js} +4 -4
- package/dist/{seed-pricing-bd669a7j.js → seed-pricing-bg42d7h2.js} +3 -3
- package/dist/{setup-pg03xran.js → setup-nzk3kbbq.js} +2 -2
- package/dist/{worker-q5n4qwvq.js → worker-0p1jdzkm.js} +20 -20
- package/openapi.json +23 -1
- package/package.json +1 -1
- package/src/be/db.ts +81 -4
- package/src/be/scripts/typecheck.ts +8 -4
- package/src/be/seed-scripts/catalog/task-context-gathering.ts +1 -1
- package/src/http/workflows.ts +16 -4
- package/src/prompts/session-templates.ts +6 -3
- package/src/scripts-runtime/swarm-sdk.ts +10 -0
- package/src/scripts-runtime/types/stdlib.d.ts +4 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +4 -0
- package/src/telemetry.ts +10 -7
- package/src/tests/mcp-tools.test.ts +2 -2
- package/src/tests/prompt-template-session.test.ts +7 -0
- package/src/tests/scripts-mcp-e2e.test.ts +51 -2
- package/src/tests/scripts-typecheck.test.ts +17 -0
- package/src/tests/sdk-allowlist.test.ts +34 -1
- package/src/tests/seed-scripts.test.ts +43 -0
- package/src/tests/swarm-tool-result-gate.test.ts +35 -0
- package/src/tests/task-tools-ctx.test.ts +29 -0
- package/src/tests/telemetry-init.test.ts +21 -24
- package/src/tests/workflow-http-v2.test.ts +116 -0
- package/src/tools/get-tasks.ts +40 -1
- package/src/tools/script-run.ts +2 -2
- package/src/tools/script-upsert.ts +2 -2
- package/src/tools/utils.ts +14 -8
- package/src/tools/workflows/list-workflow-runs.ts +95 -24
|
@@ -5,25 +5,25 @@ import {
|
|
|
5
5
|
instantFlush,
|
|
6
6
|
requestSlackThreadSteering,
|
|
7
7
|
wasEventSeen
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-sqv6c9b8.js";
|
|
9
9
|
import {
|
|
10
10
|
extractSlackMessageText,
|
|
11
11
|
extractTaskFromMessage,
|
|
12
12
|
hasOtherUserMention,
|
|
13
13
|
routeMessage
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-92bqgbgy.js";
|
|
15
15
|
import {
|
|
16
16
|
enrichSlackUserEmail,
|
|
17
17
|
resolveSlackUserId,
|
|
18
18
|
rewriteSlackMentions
|
|
19
|
-
} from "./cli-
|
|
20
|
-
import"./cli-
|
|
19
|
+
} from "./cli-jp4mdj9d.js";
|
|
20
|
+
import"./cli-0925phzv.js";
|
|
21
21
|
import {
|
|
22
22
|
createTaskWithSiblingAwareness
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-qwsagsmg.js";
|
|
24
24
|
import {
|
|
25
25
|
registerTreeMessage
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-dq2ssyf0.js";
|
|
27
27
|
import"./cli-rkndnn90.js";
|
|
28
28
|
import"./cli-b0p7rfnd.js";
|
|
29
29
|
import {
|
|
@@ -44,9 +44,9 @@ import {
|
|
|
44
44
|
isEnvFlagEnabled,
|
|
45
45
|
resolveTemplate,
|
|
46
46
|
slackContextKey
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-3z4q09tn.js";
|
|
48
48
|
import"./cli-z2zcxes1.js";
|
|
49
|
-
import"./cli-
|
|
49
|
+
import"./cli-p0zgv8pj.js";
|
|
50
50
|
import"./cli-4j2mrzag.js";
|
|
51
51
|
import"./cli-bw80ck94.js";
|
|
52
52
|
import"./cli-xz9aq0rf.js";
|
|
@@ -145,7 +145,7 @@ import {
|
|
|
145
145
|
withRemoteContext,
|
|
146
146
|
withSpanContext,
|
|
147
147
|
writeSkillsToFilesystem
|
|
148
|
-
} from "./cli-
|
|
148
|
+
} from "./cli-x268say8.js";
|
|
149
149
|
import"./cli-1z7048dy.js";
|
|
150
150
|
import {
|
|
151
151
|
Anthropic
|
|
@@ -168,23 +168,23 @@ import {
|
|
|
168
168
|
ensure,
|
|
169
169
|
initialize,
|
|
170
170
|
require_dist
|
|
171
|
-
} from "./cli-
|
|
171
|
+
} from "./cli-2yr6edr7.js";
|
|
172
172
|
import {
|
|
173
173
|
getModelsCatalog
|
|
174
|
-
} from "./cli-
|
|
174
|
+
} from "./cli-qf7acvyr.js";
|
|
175
175
|
import {
|
|
176
176
|
normalizeModelKey
|
|
177
|
-
} from "./cli-
|
|
177
|
+
} from "./cli-gzjsamwc.js";
|
|
178
178
|
import {
|
|
179
179
|
getUserGrant
|
|
180
|
-
} from "./cli-
|
|
180
|
+
} from "./cli-zxb72ctk.js";
|
|
181
181
|
import {
|
|
182
182
|
can,
|
|
183
183
|
clearAuditSink,
|
|
184
184
|
decideToolAdmission,
|
|
185
185
|
isRbacEnabled,
|
|
186
186
|
setAuditSink
|
|
187
|
-
} from "./cli-
|
|
187
|
+
} from "./cli-y43n987v.js";
|
|
188
188
|
import {
|
|
189
189
|
ensureAgentFsCredentialsForAgent,
|
|
190
190
|
extractArgsJsonSchema,
|
|
@@ -193,16 +193,16 @@ import {
|
|
|
193
193
|
scriptSdkTypesWithGeneratedApis,
|
|
194
194
|
scriptStdlibTypesWithGeneratedApis,
|
|
195
195
|
typecheckScript
|
|
196
|
-
} from "./cli-
|
|
196
|
+
} from "./cli-5jn6wnd9.js";
|
|
197
197
|
import {
|
|
198
198
|
checkHeartbeatChecklist,
|
|
199
199
|
runHeartbeatSweep,
|
|
200
200
|
stopHeartbeat
|
|
201
|
-
} from "./cli-
|
|
201
|
+
} from "./cli-vm20sh8d.js";
|
|
202
202
|
import {
|
|
203
203
|
createResumeFollowUp,
|
|
204
204
|
createWorkerTaskFollowUp
|
|
205
|
-
} from "./cli-
|
|
205
|
+
} from "./cli-gkvf8d83.js";
|
|
206
206
|
import {
|
|
207
207
|
RawLlmConfigSchema,
|
|
208
208
|
TriggerSchemaError,
|
|
@@ -224,7 +224,7 @@ import {
|
|
|
224
224
|
validateDefinition,
|
|
225
225
|
validateJsonSchema,
|
|
226
226
|
verifyHmacSignature
|
|
227
|
-
} from "./cli-
|
|
227
|
+
} from "./cli-kk58tg33.js";
|
|
228
228
|
import {
|
|
229
229
|
getApiKey
|
|
230
230
|
} from "./cli-f14fvzag.js";
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
forceRefreshAuthorizationOrThrow,
|
|
236
236
|
forceRefreshTokenOrThrow,
|
|
237
237
|
oauthAppRowToProviderConfig
|
|
238
|
-
} from "./cli-
|
|
238
|
+
} from "./cli-h89g0qrd.js";
|
|
239
239
|
import {
|
|
240
240
|
ConnectionAuthInputSchema,
|
|
241
241
|
applyMcpOAuthRefresh,
|
|
@@ -286,11 +286,11 @@ import {
|
|
|
286
286
|
upsertMcpOAuthToken,
|
|
287
287
|
upsertScriptByName,
|
|
288
288
|
upsertScriptConnection
|
|
289
|
-
} from "./cli-
|
|
289
|
+
} from "./cli-wn3m6q54.js";
|
|
290
290
|
import"./cli-jkhwmmgg.js";
|
|
291
291
|
import {
|
|
292
292
|
searchScripts
|
|
293
|
-
} from "./cli-
|
|
293
|
+
} from "./cli-mmk5vagg.js";
|
|
294
294
|
import {
|
|
295
295
|
CANDIDATE_SET_MULTIPLIER,
|
|
296
296
|
getEmbeddingProvider,
|
|
@@ -298,7 +298,7 @@ import {
|
|
|
298
298
|
init_constants,
|
|
299
299
|
init_reranker,
|
|
300
300
|
rerank
|
|
301
|
-
} from "./cli-
|
|
301
|
+
} from "./cli-p0ec4vv6.js";
|
|
302
302
|
import"./cli-q25ejbyn.js";
|
|
303
303
|
import {
|
|
304
304
|
acquireOAuthRefreshLock,
|
|
@@ -318,14 +318,14 @@ import {
|
|
|
318
318
|
updateAuthorizationIdentity,
|
|
319
319
|
updateOAuthAppById,
|
|
320
320
|
upsertAuthorization
|
|
321
|
-
} from "./cli-
|
|
321
|
+
} from "./cli-mcez7z4p.js";
|
|
322
322
|
import"./cli-fad8m16k.js";
|
|
323
323
|
import {
|
|
324
324
|
FilesError,
|
|
325
325
|
getFileStorageProvider,
|
|
326
326
|
normalizeFilesError
|
|
327
327
|
} from "./cli-95kferzh.js";
|
|
328
|
-
import"./cli-
|
|
328
|
+
import"./cli-92bqgbgy.js";
|
|
329
329
|
import {
|
|
330
330
|
findUserById,
|
|
331
331
|
fingerprintApiKey,
|
|
@@ -341,15 +341,15 @@ import {
|
|
|
341
341
|
resolveUserByToken,
|
|
342
342
|
revokeToken,
|
|
343
343
|
unlinkIdentity
|
|
344
|
-
} from "./cli-
|
|
344
|
+
} from "./cli-0925phzv.js";
|
|
345
345
|
import {
|
|
346
346
|
createTaskWithSiblingAwareness
|
|
347
|
-
} from "./cli-
|
|
347
|
+
} from "./cli-qwsagsmg.js";
|
|
348
348
|
import {
|
|
349
349
|
getSlackApp,
|
|
350
350
|
startSlackApp,
|
|
351
351
|
stopSlackApp
|
|
352
|
-
} from "./cli-
|
|
352
|
+
} from "./cli-dq2ssyf0.js";
|
|
353
353
|
import"./cli-rkndnn90.js";
|
|
354
354
|
import"./cli-b0p7rfnd.js";
|
|
355
355
|
import"./cli-5ncdb7ff.js";
|
|
@@ -624,6 +624,7 @@ import {
|
|
|
624
624
|
listSkills,
|
|
625
625
|
listTaskTemplates,
|
|
626
626
|
listWorkflowRuns,
|
|
627
|
+
listWorkflowRunsPage,
|
|
627
628
|
listWorkflows,
|
|
628
629
|
markKeyRateLimited,
|
|
629
630
|
markSteeringDelivered,
|
|
@@ -693,12 +694,12 @@ import {
|
|
|
693
694
|
upsertSwarmConfig,
|
|
694
695
|
validateConfigValue,
|
|
695
696
|
withFavoriteFlags
|
|
696
|
-
} from "./cli-
|
|
697
|
+
} from "./cli-3z4q09tn.js";
|
|
697
698
|
import"./cli-z2zcxes1.js";
|
|
698
699
|
import {
|
|
699
700
|
init_package,
|
|
700
701
|
package_default
|
|
701
|
-
} from "./cli-
|
|
702
|
+
} from "./cli-p0zgv8pj.js";
|
|
702
703
|
import {
|
|
703
704
|
init_secret_scrubber,
|
|
704
705
|
registerVolatileSecret,
|
|
@@ -19858,7 +19859,9 @@ var listWorkflowRunsRoute = route({
|
|
|
19858
19859
|
tags: ["Workflows"],
|
|
19859
19860
|
params: exports_external.object({ id: exports_external.string() }),
|
|
19860
19861
|
query: exports_external.object({
|
|
19861
|
-
status: WorkflowRunStatusSchema.optional()
|
|
19862
|
+
status: WorkflowRunStatusSchema.optional(),
|
|
19863
|
+
limit: exports_external.coerce.number().int().min(1).max(100).optional(),
|
|
19864
|
+
offset: exports_external.coerce.number().int().min(0).optional()
|
|
19862
19865
|
}),
|
|
19863
19866
|
responses: {
|
|
19864
19867
|
200: { description: "Workflow run list" }
|
|
@@ -20330,10 +20333,17 @@ async function handleWorkflows(req, res, pathSegments, queryParams, myAgentId) {
|
|
|
20330
20333
|
const parsed = await listWorkflowRunsRoute.parse(req, res, pathSegments, queryParams);
|
|
20331
20334
|
if (!parsed)
|
|
20332
20335
|
return true;
|
|
20333
|
-
|
|
20334
|
-
if (
|
|
20335
|
-
|
|
20336
|
+
const paginationRequested = parsed.query?.limit !== undefined || parsed.query?.offset !== undefined;
|
|
20337
|
+
if (paginationRequested) {
|
|
20338
|
+
const page = listWorkflowRunsPage(parsed.params.id, {
|
|
20339
|
+
status: parsed.query?.status,
|
|
20340
|
+
limit: parsed.query?.limit ?? 20,
|
|
20341
|
+
offset: parsed.query?.offset ?? 0
|
|
20342
|
+
});
|
|
20343
|
+
json(res, page);
|
|
20344
|
+
return true;
|
|
20336
20345
|
}
|
|
20346
|
+
const runs = listWorkflowRuns(parsed.params.id, { status: parsed.query?.status });
|
|
20337
20347
|
json(res, runs);
|
|
20338
20348
|
return true;
|
|
20339
20349
|
}
|
|
@@ -20773,14 +20783,14 @@ async function shutdown() {
|
|
|
20773
20783
|
sessionsProcessed: getServerSessionsProcessed()
|
|
20774
20784
|
});
|
|
20775
20785
|
if (hasCapability("scheduling")) {
|
|
20776
|
-
const { stopScheduler } = await import("./index-
|
|
20786
|
+
const { stopScheduler } = await import("./index-knqczmnm.js");
|
|
20777
20787
|
stopScheduler();
|
|
20778
20788
|
}
|
|
20779
20789
|
stopHeartbeat();
|
|
20780
20790
|
stopScriptRunSupervisor();
|
|
20781
20791
|
await stopSlackApp();
|
|
20782
20792
|
if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
|
|
20783
|
-
const { stopOAuthKeepalive } = await import("./keepalive-
|
|
20793
|
+
const { stopOAuthKeepalive } = await import("./keepalive-20rd6hxh.js");
|
|
20784
20794
|
await stopOAuthKeepalive();
|
|
20785
20795
|
}
|
|
20786
20796
|
stopOAuthPendingGc();
|
|
@@ -20842,15 +20852,15 @@ try {
|
|
|
20842
20852
|
console.warn("[startup] CAPABILITIES upgrade seed failed (non-fatal):", err);
|
|
20843
20853
|
}
|
|
20844
20854
|
try {
|
|
20845
|
-
const { seedPricingFromModelsDev } = await import("./seed-pricing-
|
|
20855
|
+
const { seedPricingFromModelsDev } = await import("./seed-pricing-bg42d7h2.js");
|
|
20846
20856
|
seedPricingFromModelsDev();
|
|
20847
|
-
const { startPricingRefreshLoop } = await import("./pricing-refresh-
|
|
20857
|
+
const { startPricingRefreshLoop } = await import("./pricing-refresh-3snb6370.js");
|
|
20848
20858
|
startPricingRefreshLoop();
|
|
20849
20859
|
} catch (err) {
|
|
20850
20860
|
console.error("[startup] Failed to seed pricing rows:", err);
|
|
20851
20861
|
}
|
|
20852
20862
|
try {
|
|
20853
|
-
const { ensureRbacSeedsSynced } = await import("./rbac-roles-
|
|
20863
|
+
const { ensureRbacSeedsSynced } = await import("./rbac-roles-gqxdp8st.js");
|
|
20854
20864
|
ensureRbacSeedsSynced();
|
|
20855
20865
|
} catch (err) {
|
|
20856
20866
|
console.error("[startup] Failed to sync RBAC seed rows:", err);
|
|
@@ -20858,7 +20868,7 @@ try {
|
|
|
20858
20868
|
throw err;
|
|
20859
20869
|
}
|
|
20860
20870
|
try {
|
|
20861
|
-
const { runAllSeeders } = await import("./index-
|
|
20871
|
+
const { runAllSeeders } = await import("./index-vah60vxp.js");
|
|
20862
20872
|
await runAllSeeders({ scriptEmbeddingMode: "skip" });
|
|
20863
20873
|
} catch (err) {
|
|
20864
20874
|
console.error("[startup] Failed to seed built-in entities:", err);
|
|
@@ -20894,35 +20904,35 @@ httpServer.listen(port, async () => {
|
|
|
20894
20904
|
initWorkflows();
|
|
20895
20905
|
startScriptRunSupervisor(getMcpBaseUrl());
|
|
20896
20906
|
if (hasCapability("scheduling")) {
|
|
20897
|
-
const { startScheduler } = await import("./index-
|
|
20898
|
-
const { getExecutorRegistry: getExecutorRegistry2 } = await import("./index-
|
|
20907
|
+
const { startScheduler } = await import("./index-knqczmnm.js");
|
|
20908
|
+
const { getExecutorRegistry: getExecutorRegistry2 } = await import("./index-gw4en7jg.js");
|
|
20899
20909
|
const intervalMs = Number(process.env.SCHEDULER_INTERVAL_MS) || 1e4;
|
|
20900
20910
|
startScheduler(getExecutorRegistry2(), intervalMs, {
|
|
20901
20911
|
runId: globalState.__runId
|
|
20902
20912
|
});
|
|
20903
20913
|
}
|
|
20904
20914
|
if (!isEnvFlagEnabled("HEARTBEAT_DISABLE", false)) {
|
|
20905
|
-
const { startHeartbeat } = await import("./index-
|
|
20915
|
+
const { startHeartbeat } = await import("./index-2bqd2q9v.js");
|
|
20906
20916
|
const heartbeatMs = Number(process.env.HEARTBEAT_INTERVAL_MS) || 90000;
|
|
20907
20917
|
startHeartbeat(heartbeatMs);
|
|
20908
20918
|
}
|
|
20909
20919
|
if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
|
|
20910
|
-
const { startOAuthKeepalive } = await import("./keepalive-
|
|
20920
|
+
const { startOAuthKeepalive } = await import("./keepalive-20rd6hxh.js");
|
|
20911
20921
|
startOAuthKeepalive();
|
|
20912
20922
|
}
|
|
20913
20923
|
if (process.env.OAUTH_REFRESH_SWEEP_DISABLE !== "true") {
|
|
20914
|
-
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-
|
|
20924
|
+
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-shm0nzm4.js");
|
|
20915
20925
|
startOAuthRefreshSweep();
|
|
20916
20926
|
}
|
|
20917
20927
|
startOAuthPendingGc();
|
|
20918
20928
|
startMemoryGc();
|
|
20919
|
-
import("./boot-reembed-
|
|
20929
|
+
import("./boot-reembed-5867whnb.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
20920
20930
|
console.error("[boot-reembed] startup backfill failed (non-fatal):", err);
|
|
20921
20931
|
});
|
|
20922
|
-
import("./boot-reembed-
|
|
20932
|
+
import("./boot-reembed-v6r1df32.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
20923
20933
|
console.error("[boot-reembed-scripts] startup backfill failed (non-fatal):", err);
|
|
20924
20934
|
});
|
|
20925
|
-
import("./boot-scrub-logs-
|
|
20935
|
+
import("./boot-scrub-logs-8b8jegk3.js").then(({ runBootScrubLogs }) => runBootScrubLogs()).catch((err) => {
|
|
20926
20936
|
console.error("[boot-scrub-logs] startup scrub failed (non-fatal):", err);
|
|
20927
20937
|
});
|
|
20928
20938
|
}).on("error", (err) => {
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
runRebootSweep,
|
|
5
5
|
startHeartbeat,
|
|
6
6
|
stopHeartbeat
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
7
|
+
} from "./cli-vm20sh8d.js";
|
|
8
|
+
import"./cli-gkvf8d83.js";
|
|
9
|
+
import"./cli-kk58tg33.js";
|
|
10
10
|
import"./cli-f14fvzag.js";
|
|
11
11
|
import"./cli-3dpj7atn.js";
|
|
12
|
-
import"./cli-
|
|
13
|
-
import"./cli-
|
|
12
|
+
import"./cli-h89g0qrd.js";
|
|
13
|
+
import"./cli-wn3m6q54.js";
|
|
14
14
|
import"./cli-jkhwmmgg.js";
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
15
|
+
import"./cli-mmk5vagg.js";
|
|
16
|
+
import"./cli-p0ec4vv6.js";
|
|
17
17
|
import"./cli-q25ejbyn.js";
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
18
|
+
import"./cli-mcez7z4p.js";
|
|
19
|
+
import"./cli-qwsagsmg.js";
|
|
20
20
|
import"./cli-wspgs9bt.js";
|
|
21
21
|
import"./cli-dh55d5fg.js";
|
|
22
|
-
import"./cli-
|
|
22
|
+
import"./cli-3z4q09tn.js";
|
|
23
23
|
import"./cli-z2zcxes1.js";
|
|
24
|
-
import"./cli-
|
|
24
|
+
import"./cli-p0zgv8pj.js";
|
|
25
25
|
import"./cli-4j2mrzag.js";
|
|
26
26
|
import"./cli-bw80ck94.js";
|
|
27
27
|
import"./cli-xz9aq0rf.js";
|
|
@@ -20,23 +20,23 @@ import {
|
|
|
20
20
|
stopWaitPoller,
|
|
21
21
|
subscribeWaitToBus,
|
|
22
22
|
validateTemplateVariables
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-kk58tg33.js";
|
|
24
24
|
import"./cli-f14fvzag.js";
|
|
25
25
|
import"./cli-3dpj7atn.js";
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
26
|
+
import"./cli-h89g0qrd.js";
|
|
27
|
+
import"./cli-wn3m6q54.js";
|
|
28
28
|
import"./cli-jkhwmmgg.js";
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
29
|
+
import"./cli-mmk5vagg.js";
|
|
30
|
+
import"./cli-p0ec4vv6.js";
|
|
31
31
|
import"./cli-q25ejbyn.js";
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
32
|
+
import"./cli-mcez7z4p.js";
|
|
33
|
+
import"./cli-qwsagsmg.js";
|
|
34
34
|
import"./cli-dh55d5fg.js";
|
|
35
35
|
import {
|
|
36
36
|
interpolate
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-3z4q09tn.js";
|
|
38
38
|
import"./cli-z2zcxes1.js";
|
|
39
|
-
import"./cli-
|
|
39
|
+
import"./cli-p0zgv8pj.js";
|
|
40
40
|
import"./cli-4j2mrzag.js";
|
|
41
41
|
import"./cli-bw80ck94.js";
|
|
42
42
|
import"./cli-xz9aq0rf.js";
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
runScheduleNow,
|
|
5
5
|
startScheduler,
|
|
6
6
|
stopScheduler
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
} from "./cli-2yr6edr7.js";
|
|
8
|
+
import"./cli-kk58tg33.js";
|
|
9
9
|
import"./cli-f14fvzag.js";
|
|
10
10
|
import"./cli-3dpj7atn.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
import"./cli-h89g0qrd.js";
|
|
12
|
+
import"./cli-wn3m6q54.js";
|
|
13
13
|
import"./cli-jkhwmmgg.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
14
|
+
import"./cli-mmk5vagg.js";
|
|
15
|
+
import"./cli-p0ec4vv6.js";
|
|
16
16
|
import"./cli-q25ejbyn.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
import"./cli-mcez7z4p.js";
|
|
18
|
+
import"./cli-qwsagsmg.js";
|
|
19
19
|
import"./cli-dh55d5fg.js";
|
|
20
|
-
import"./cli-
|
|
20
|
+
import"./cli-3z4q09tn.js";
|
|
21
21
|
import"./cli-z2zcxes1.js";
|
|
22
|
-
import"./cli-
|
|
22
|
+
import"./cli-p0zgv8pj.js";
|
|
23
23
|
import"./cli-4j2mrzag.js";
|
|
24
24
|
import"./cli-bw80ck94.js";
|
|
25
25
|
import"./cli-xz9aq0rf.js";
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
extractArgsJsonSchema,
|
|
4
4
|
extractScriptSignature,
|
|
5
5
|
typecheckScript
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-5jn6wnd9.js";
|
|
7
7
|
import {
|
|
8
8
|
getScript,
|
|
9
9
|
upsertScriptByName,
|
|
10
10
|
validateScriptImports
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-wn3m6q54.js";
|
|
12
12
|
import"./cli-jkhwmmgg.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
import"./cli-mmk5vagg.js";
|
|
14
|
+
import"./cli-p0ec4vv6.js";
|
|
15
15
|
import"./cli-q25ejbyn.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-mcez7z4p.js";
|
|
17
17
|
import {
|
|
18
18
|
computeContentHash,
|
|
19
19
|
createSkill,
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
getSkillByName,
|
|
22
22
|
init_db,
|
|
23
23
|
updateSkill
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-3z4q09tn.js";
|
|
25
25
|
import"./cli-z2zcxes1.js";
|
|
26
|
-
import"./cli-
|
|
26
|
+
import"./cli-p0zgv8pj.js";
|
|
27
27
|
import"./cli-4j2mrzag.js";
|
|
28
28
|
import"./cli-bw80ck94.js";
|
|
29
29
|
import"./cli-xz9aq0rf.js";
|
|
@@ -4669,7 +4669,7 @@ export default async function taskContextGathering(args: any, ctx: any) {
|
|
|
4669
4669
|
memories.sort((a: any, b: any) => b.compositeScore - a.compositeScore);
|
|
4670
4670
|
|
|
4671
4671
|
return {
|
|
4672
|
-
task: slimTask(taskPayload
|
|
4672
|
+
task: slimTask(taskPayload),
|
|
4673
4673
|
requestedBy: taskPayload?.requestedBy,
|
|
4674
4674
|
attachments: taskPayload?.attachments ?? [],
|
|
4675
4675
|
queriesRun: queries.length,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureAuthorizationTokenOrThrow
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-h89g0qrd.js";
|
|
4
4
|
import {
|
|
5
5
|
listKeepAliveAuthorizations
|
|
6
|
-
} from "./cli-
|
|
7
|
-
import"./cli-
|
|
6
|
+
} from "./cli-mcez7z4p.js";
|
|
7
|
+
import"./cli-3z4q09tn.js";
|
|
8
8
|
import"./cli-z2zcxes1.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-p0zgv8pj.js";
|
|
10
10
|
import"./cli-4j2mrzag.js";
|
|
11
11
|
import"./cli-bw80ck94.js";
|
|
12
12
|
import"./cli-xz9aq0rf.js";
|
|
@@ -59,7 +59,7 @@ async function notifySlack(text) {
|
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
try {
|
|
62
|
-
const { getSlackApp } = await import("./app-
|
|
62
|
+
const { getSlackApp } = await import("./app-q2rc9tdr.js");
|
|
63
63
|
const app = getSlackApp();
|
|
64
64
|
if (!app) {
|
|
65
65
|
console.warn("[OAuth Keepalive] Slack not available, cannot send notification");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runAgent
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-ykthjw29.js";
|
|
4
4
|
import"./cli-exfs8aym.js";
|
|
5
5
|
import"./cli-jj1arm18.js";
|
|
6
6
|
import"./cli-07er7wrs.js";
|
|
@@ -14,7 +14,7 @@ import"./cli-d6n0thxw.js";
|
|
|
14
14
|
import"./cli-v1mwc5v2.js";
|
|
15
15
|
import {
|
|
16
16
|
getEnabledCapabilities
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-x268say8.js";
|
|
18
18
|
import"./cli-1z7048dy.js";
|
|
19
19
|
import"./cli-gz9sbyk3.js";
|
|
20
20
|
import"./cli-ftyf58xj.js";
|
|
@@ -25,36 +25,36 @@ import"./cli-tng3131n.js";
|
|
|
25
25
|
import"./cli-zm7njwzd.js";
|
|
26
26
|
import"./cli-cw70hymf.js";
|
|
27
27
|
import"./cli-e61fs2hp.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
28
|
+
import"./cli-2yr6edr7.js";
|
|
29
|
+
import"./cli-qf7acvyr.js";
|
|
30
|
+
import"./cli-gzjsamwc.js";
|
|
31
|
+
import"./cli-zxb72ctk.js";
|
|
32
|
+
import"./cli-y43n987v.js";
|
|
33
|
+
import"./cli-gkvf8d83.js";
|
|
34
|
+
import"./cli-kk58tg33.js";
|
|
35
35
|
import"./cli-f14fvzag.js";
|
|
36
36
|
import"./cli-3dpj7atn.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
37
|
+
import"./cli-h89g0qrd.js";
|
|
38
|
+
import"./cli-wn3m6q54.js";
|
|
39
39
|
import"./cli-jkhwmmgg.js";
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
40
|
+
import"./cli-mmk5vagg.js";
|
|
41
|
+
import"./cli-p0ec4vv6.js";
|
|
42
42
|
import"./cli-q25ejbyn.js";
|
|
43
|
-
import"./cli-
|
|
43
|
+
import"./cli-mcez7z4p.js";
|
|
44
44
|
import"./cli-fad8m16k.js";
|
|
45
45
|
import"./cli-7zd05xb4.js";
|
|
46
|
-
import"./cli-
|
|
47
|
-
import"./cli-
|
|
48
|
-
import"./cli-
|
|
49
|
-
import"./cli-
|
|
46
|
+
import"./cli-92bqgbgy.js";
|
|
47
|
+
import"./cli-0925phzv.js";
|
|
48
|
+
import"./cli-qwsagsmg.js";
|
|
49
|
+
import"./cli-dq2ssyf0.js";
|
|
50
50
|
import"./cli-rkndnn90.js";
|
|
51
51
|
import"./cli-b0p7rfnd.js";
|
|
52
52
|
import"./cli-5ncdb7ff.js";
|
|
53
53
|
import"./cli-wspgs9bt.js";
|
|
54
54
|
import"./cli-dh55d5fg.js";
|
|
55
|
-
import"./cli-
|
|
55
|
+
import"./cli-3z4q09tn.js";
|
|
56
56
|
import"./cli-z2zcxes1.js";
|
|
57
|
-
import"./cli-
|
|
57
|
+
import"./cli-p0zgv8pj.js";
|
|
58
58
|
import"./cli-4j2mrzag.js";
|
|
59
59
|
import"./cli-bw80ck94.js";
|
|
60
60
|
import"./cli-xz9aq0rf.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reembedAllScripts
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-
|
|
3
|
+
} from "./cli-mmk5vagg.js";
|
|
4
|
+
import"./cli-p0ec4vv6.js";
|
|
5
5
|
import"./cli-q25ejbyn.js";
|
|
6
|
-
import"./cli-
|
|
6
|
+
import"./cli-3z4q09tn.js";
|
|
7
7
|
import"./cli-z2zcxes1.js";
|
|
8
|
-
import"./cli-
|
|
8
|
+
import"./cli-p0zgv8pj.js";
|
|
9
9
|
import"./cli-4j2mrzag.js";
|
|
10
10
|
import"./cli-bw80ck94.js";
|
|
11
11
|
import"./cli-xz9aq0rf.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
forceRefreshAuthorizationOrThrow
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-h89g0qrd.js";
|
|
4
4
|
import {
|
|
5
5
|
getAuthorizationById,
|
|
6
6
|
listAuthorizationSweepRows
|
|
7
|
-
} from "./cli-
|
|
8
|
-
import"./cli-
|
|
7
|
+
} from "./cli-mcez7z4p.js";
|
|
8
|
+
import"./cli-3z4q09tn.js";
|
|
9
9
|
import"./cli-z2zcxes1.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-p0zgv8pj.js";
|
|
11
11
|
import {
|
|
12
12
|
init_secret_scrubber,
|
|
13
13
|
scrubSecrets
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createDefaultMcpJson,
|
|
4
4
|
createDefaultSettingsLocal,
|
|
5
5
|
createHooksConfig
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-perb20ma.js";
|
|
7
7
|
import {
|
|
8
8
|
require_jsx_dev_runtime
|
|
9
9
|
} from "./cli-wx82tw1k.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
init_package,
|
|
15
15
|
package_default
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-p0zgv8pj.js";
|
|
17
17
|
import {
|
|
18
18
|
Box_default,
|
|
19
19
|
Select,
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
PRICING_REFRESH_INTERVAL_MS,
|
|
3
3
|
refreshPricingFromModelsDev,
|
|
4
4
|
startPricingRefreshLoop
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
5
|
+
} from "./cli-qf7acvyr.js";
|
|
6
|
+
import"./cli-gzjsamwc.js";
|
|
7
|
+
import"./cli-3z4q09tn.js";
|
|
8
8
|
import"./cli-z2zcxes1.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-p0zgv8pj.js";
|
|
10
10
|
import"./cli-4j2mrzag.js";
|
|
11
11
|
import"./cli-bw80ck94.js";
|
|
12
12
|
import"./cli-xz9aq0rf.js";
|