@desplega.ai/agent-swarm 1.148.0 → 1.149.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.
- package/README.md +2 -1
- package/dist/{acp-adapter-grez7xhd.js → acp-adapter-vhkzfpjg.js} +12 -5
- package/dist/{actions-kweznh5a.js → actions-9d2694yk.js} +10 -9
- package/dist/{app-5fvvjv9m.js → app-fq2ggynt.js} +6 -6
- package/dist/{assistant-40m4w50s.js → assistant-edb6n9nn.js} +13 -11
- package/dist/{boot-reembed-9rxmb26n.js → boot-reembed-msweabbp.js} +8 -8
- package/dist/{boot-reembed-cn357y5n.js → boot-reembed-q5wd3tha.js} +7 -7
- package/dist/{boot-scrub-logs-5tpp0x3y.js → boot-scrub-logs-3g1az933.js} +5 -5
- package/dist/{claude-adapter-9pz5q2pb.js → claude-adapter-v3rnzsdc.js} +9 -9
- package/dist/{claude-managed-adapter-sactwn31.js → claude-managed-adapter-qvsmh6mv.js} +2 -2
- package/dist/{claude-sdk-session-v8w0s7qm.js → claude-sdk-session-qxrpsna1.js} +9 -9
- package/dist/{cli-cdjezzc7.js → cli-01g3x1ca.js} +8 -5
- package/dist/{cli-y6b6fb76.js → cli-08b07b4r.js} +1 -1
- package/dist/{cli-8fc8de14.js → cli-0z2v4nhw.js} +1 -1
- package/dist/{cli-qy6h009w.js → cli-1c94wvcw.js} +7 -6
- package/dist/{cli-kpv03zhj.js → cli-3apbzgyk.js} +27 -15
- package/dist/{cli-dk3me3qs.js → cli-3sysyjve.js} +8 -8
- package/dist/{cli-kzvhgvk3.js → cli-3z634pqe.js} +3 -3
- package/dist/{cli-n9grk3yd.js → cli-4260r1tg.js} +37 -26
- package/dist/{cli-d8brzxjb.js → cli-4wtq5jjv.js} +2 -2
- package/dist/{cli-0amc6myn.js → cli-5m0qmvdp.js} +1 -1
- package/dist/{cli-ct0et58h.js → cli-5my3bjsd.js} +1 -1
- package/dist/{cli-cn6mmc7f.js → cli-6664w7y4.js} +1 -1
- package/dist/{cli-hzhhrt7b.js → cli-6skz3rk8.js} +1 -1
- package/dist/{cli-v3e51x7w.js → cli-73gq0zxn.js} +3 -3
- package/dist/{cli-9216xm24.js → cli-7evafqvy.js} +20 -20
- package/dist/{cli-56y3hch2.js → cli-7fehefdf.js} +133 -22
- package/dist/{cli-hp2est46.js → cli-7xx10h0a.js} +3 -3
- package/dist/{cli-n2cwscdd.js → cli-9br8ypfv.js} +2 -2
- package/dist/{cli-7gn7c2af.js → cli-ayvy5kde.js} +1 -1
- package/dist/{cli-dcem3pr1.js → cli-cd60fv6j.js} +2 -2
- package/dist/{cli-p73drk6p.js → cli-cv7s5zdq.js} +167 -40
- package/dist/{cli-f8j56xv2.js → cli-ddfw1mc4.js} +53 -13
- package/dist/{cli-anedxf1w.js → cli-e06a8a7y.js} +1 -1
- package/dist/{cli-tebsjpk7.js → cli-hzqmgcm2.js} +2 -2
- package/dist/{cli-xqcpg1st.js → cli-j4d4f6hv.js} +1 -1
- package/dist/{cli-rvqz34y5.js → cli-jecc01cb.js} +1 -1
- package/dist/{cli-5khqvvnq.js → cli-jezx9b9c.js} +2 -2
- package/dist/{cli-m1p5cysp.js → cli-k351hv5k.js} +3 -3
- package/dist/{cli-6s2y152y.js → cli-qgd4sqz5.js} +286 -11
- package/dist/{cli-xqcq9y5e.js → cli-r2ap2czm.js} +1 -0
- package/dist/{cli-hz8xhefy.js → cli-sdzq01t9.js} +4 -4
- package/dist/{cli-0er5m69z.js → cli-svbrpf5q.js} +4 -4
- package/dist/{cli-brxyat7h.js → cli-tg8qj8ee.js} +5 -5
- package/dist/{cli-ztn0ga15.js → cli-wby1xnnb.js} +1 -1
- package/dist/{cli-0b6y7kxm.js → cli-xm87hzbw.js} +1 -1
- package/dist/{cli-3n7cbfjn.js → cli-y3pq4v9g.js} +6 -2
- package/dist/{cli-m9sxbkhm.js → cli-zvz62chv.js} +3 -3
- package/dist/cli.js +14 -14
- package/dist/{codex-adapter-ehhj2qwc.js → codex-adapter-jyw7a91z.js} +4 -4
- package/dist/{codex-hook-bw8p5nh4.js → codex-hook-hfrt9shr.js} +2 -2
- package/dist/{codex-session-runner-5hne566k.js → codex-session-runner-bmngj0s5.js} +4 -4
- package/dist/{commands-xnvh951h.js → commands-n755g391.js} +5 -5
- package/dist/{db-ycr5zfr4.js → db-s1cgh5gv.js} +5 -5
- package/dist/{e2b-6hb103d8.js → e2b-p04vmtx0.js} +1 -1
- package/dist/{handlers-1vt77kgq.js → handlers-nsg0bcye.js} +14 -11
- package/dist/{hook-91ntpmff.js → hook-h9cqrm8q.js} +7 -7
- package/dist/{hook-qfwjydvn.js → hook-jf0xe8zh.js} +8 -8
- package/dist/{http-h6g7bv5b.js → http-nc6pydw5.js} +96 -45
- package/dist/{index-d2mytx95.js → index-0wdy6gwc.js} +13 -13
- package/dist/{index-antf9t4p.js → index-769nc012.js} +14 -14
- package/dist/{index-47ghesbn.js → index-ezxkds2n.js} +575 -152
- package/dist/{index-0ez2aack.js → index-x1zcj09z.js} +15 -15
- package/dist/{keepalive-c4sp7yvd.js → keepalive-nesm3xb6.js} +7 -7
- package/dist/{lead-4r7z9e8v.js → lead-bwy6t2za.js} +32 -32
- package/dist/{maintenance-yqjfdjas.js → maintenance-8w393zf0.js} +8 -8
- package/dist/{oauth-refresh-sweep-wtqgnh3c.js → oauth-refresh-sweep-sh8xjy08.js} +6 -6
- package/dist/{onboard-a4krmh46.js → onboard-25ps29h1.js} +4 -3
- package/dist/{opencode-adapter-fef1mrn2.js → opencode-adapter-dce4wskd.js} +2 -2
- package/dist/{otel-impl-725kq0vp.js → otel-impl-b93gxnz5.js} +2 -2
- package/dist/{pi-mono-adapter-2has4gnp.js → pi-mono-adapter-zvshk5cj.js} +2 -2
- package/dist/{pricing-refresh-kqxd7w9h.js → pricing-refresh-5v56x7gb.js} +7 -7
- package/dist/{rbac-roles-t3wygpth.js → rbac-roles-0p0s6pbj.js} +6 -6
- package/dist/{rbac-roles-gws5xej6.js → rbac-roles-x55cnezn.js} +5 -5
- package/dist/{render-v2-x1wxvn51.js → render-v2-hyd45w8b.js} +6 -6
- package/dist/{seed-pricing-t6y8d0vf.js → seed-pricing-49gbgn96.js} +6 -6
- package/dist/{setup-x50py6xg.js → setup-qvq64vzq.js} +2 -2
- package/dist/{worker-zsz0qfxk.js → worker-scj60cxg.js} +32 -32
- package/dist/{x-n2phr5vm.js → x-n3e0v3xa.js} +2 -2
- package/openapi.json +46 -4
- package/package.json +1 -1
- package/src/agentmail/handlers.ts +5 -0
- package/src/automation-preflight-alert.ts +41 -0
- package/src/be/automation-preflight.ts +3 -3
- package/src/be/budget-refusal-notify.ts +1 -0
- package/src/be/db/tasks/read.ts +5 -0
- package/src/be/db.ts +132 -2
- package/src/be/migrations/150_deferred_task_waits.sql +18 -0
- package/src/be/migrations/151_repair_scheduled_task_required_params.sql +39 -0
- package/src/be/migrations/152_routing_decisions.sql +44 -0
- package/src/be/scripts/typecheck.ts +33 -22
- package/src/be/seed/automation-toggle.ts +69 -0
- package/src/be/seed/schedules-seeder.ts +28 -6
- package/src/be/seed/workflows-seeder.ts +18 -6
- package/src/be/seed-scripts/catalog/delegate.ts +5 -1
- package/src/be/seed-skills/bundled-files.generated.json +10 -0
- package/src/be/seed-skills/index.ts +3 -0
- package/src/be/steering.ts +1 -0
- package/src/be/swarm-config-guard.ts +12 -0
- package/src/commands/onboard/steps/post-task.tsx +1 -0
- package/src/github/handlers.ts +9 -0
- package/src/gitlab/handlers.ts +4 -0
- package/src/heartbeat/heartbeat.ts +8 -0
- package/src/http/approval-requests.ts +1 -0
- package/src/http/apps.ts +1 -0
- package/src/http/config.ts +15 -6
- package/src/http/mcp.ts +31 -4
- package/src/http/script-runs.ts +6 -0
- package/src/http/tasks.ts +52 -30
- package/src/integrations/kapso/inbound.ts +1 -0
- package/src/jira/sync.ts +2 -0
- package/src/linear/sync.ts +2 -0
- package/src/prompts/session-templates.ts +29 -15
- package/src/scheduler/deferred-task-waits.ts +123 -0
- package/src/scheduler/schedule-task.ts +42 -0
- package/src/scheduler/scheduler.ts +22 -31
- package/src/script-workflows/workflow-ctx.ts +2 -0
- package/src/scripts-runtime/types/stdlib.d.ts +38 -24
- package/src/scripts-runtime/types/swarm-sdk.d.ts +38 -24
- package/src/server.ts +10 -1
- package/src/slack/actions.ts +1 -0
- package/src/slack/assistant.ts +2 -0
- package/src/slack/handlers.ts +3 -0
- package/src/slack/thread-buffer.ts +2 -0
- package/src/tasks/worker-follow-up.ts +9 -0
- package/src/tests/acp-adapter.test.ts +35 -6
- package/src/tests/acp-session-token.test.ts +67 -0
- package/src/tests/asset-key-api.test.ts +15 -2
- package/src/tests/asset-key-mcp.test.ts +2 -0
- package/src/tests/automation-preflight-alert.test.ts +91 -0
- package/src/tests/claude-worker-parity.test.ts +3 -0
- package/src/tests/config-session-auth.test.ts +143 -0
- package/src/tests/defer-task.test.ts +117 -6
- package/src/tests/deferred-task-wake.test.ts +456 -0
- package/src/tests/heartbeat-reroute-decision.test.ts +1 -0
- package/src/tests/http-api-integration.test.ts +33 -4
- package/src/tests/model-control.test.ts +18 -5
- package/src/tests/opencode-adapter.test.ts +2 -2
- package/src/tests/promote-draft-task-route.test.ts +4 -0
- package/src/tests/prompt-template-session.test.ts +13 -4
- package/src/tests/rbac-wire-e2e.test.ts +2 -2
- package/src/tests/routing-decision-persistence.test.ts +520 -0
- package/src/tests/routing-reason-contract.test.ts +89 -0
- package/src/tests/routing-reason-inventory.test.ts +55 -0
- package/src/tests/schedule-target-type.test.ts +48 -1
- package/src/tests/scheduled-task-required-params-migration.test.ts +182 -0
- package/src/tests/scheduled-tasks.test.ts +9 -5
- package/src/tests/script-connections.test.ts +4 -0
- package/src/tests/script-runs-http.test.ts +31 -0
- package/src/tests/scripts-typecheck.test.ts +11 -0
- package/src/tests/secret-scrubber.test.ts +12 -0
- package/src/tests/seed-registry.test.ts +2 -2
- package/src/tests/seed-schedules.test.ts +99 -3
- package/src/tests/seed-workflows.test.ts +74 -0
- package/src/tests/send-task-output-schema.test.ts +66 -1
- package/src/tests/send-task-requested-by.test.ts +1 -0
- package/src/tests/send-task-slack-routing-guard.test.ts +2 -0
- package/src/tests/store-progress-blocked-waiting-gate.test.ts +151 -0
- package/src/tests/swarm-tool-result-gate.test.ts +24 -0
- package/src/tests/task-tool-manifest.test.ts +47 -0
- package/src/tests/task-tool-preload-mcp.test.ts +125 -0
- package/src/tests/task-tools-ctx.test.ts +2 -0
- package/src/tests/tool-output-agent-id.test.ts +1 -0
- package/src/tests/ui-followup-lead-delegation.test.ts +6 -1
- package/src/tests/workflow-agent-task.test.ts +24 -1
- package/src/tests/workflow-engine-v2.test.ts +58 -2
- package/src/tools/defer-task.ts +73 -21
- package/src/tools/send-task.ts +31 -0
- package/src/tools/skills/skill-publish.ts +1 -0
- package/src/tools/store-progress.ts +43 -0
- package/src/tools/templates.ts +2 -1
- package/src/tools/utils.ts +33 -2
- package/src/types.ts +14 -1
- package/src/utils/acp-session-token.ts +14 -4
- package/src/utils/secret-scrubber.ts +2 -0
- package/src/utils/task-tool-manifest.ts +33 -0
- package/src/workflows/engine.ts +4 -1
- package/src/workflows/executors/agent-task.ts +7 -1
- package/templates/ai-toolbox.manifest.json +6 -1
- package/templates/schedules/daily-blocker-digest/config.json +6 -1
- package/templates/schedules/daily-compounding-reflection/config.json +1 -0
- package/templates/schedules/daily-status-report/config.json +6 -1
- package/templates/schedules/daily-swarm-update-check/config.json +19 -0
- package/templates/schedules/daily-swarm-update-check/content.md +49 -0
- package/templates/schedules/daily-workflow-health-audit/config.json +6 -1
- package/templates/skills/comms/config.json +18 -0
- package/templates/skills/comms/content.md +74 -0
- package/templates/skills/comms/files/references/ste-rules.md +73 -0
- package/templates/skills/comms/files/references/visual-shapes.md +112 -0
- package/templates/skills/swarm-scripts/SKILL.md +3 -2
- package/templates/skills/swarm-scripts/content.md +3 -2
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
sandboxSpawnEnv,
|
|
26
26
|
snapshotCapped,
|
|
27
27
|
touchScratchScriptLastUsed
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-svbrpf5q.js";
|
|
29
29
|
import {
|
|
30
30
|
detachedProcessGroup,
|
|
31
31
|
registerProcessGroup,
|
|
@@ -34,17 +34,18 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
getOAuthApp,
|
|
36
36
|
getOAuthTokens
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-cd60fv6j.js";
|
|
38
38
|
import {
|
|
39
39
|
withSiblingAwareness
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-ayvy5kde.js";
|
|
41
41
|
import {
|
|
42
42
|
getSlackApp
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-3sysyjve.js";
|
|
44
44
|
import {
|
|
45
45
|
FollowUpConfigSchema,
|
|
46
46
|
ModelTierSchema,
|
|
47
47
|
ReasoningEffortSchema,
|
|
48
|
+
RoutingReasonSchema,
|
|
48
49
|
cancelPendingApprovalRequestsForRun,
|
|
49
50
|
cancelTask,
|
|
50
51
|
claimApprovalCancellationNotification,
|
|
@@ -91,13 +92,13 @@ import {
|
|
|
91
92
|
updateWorkflowRun,
|
|
92
93
|
updateWorkflowRunStep,
|
|
93
94
|
workflowContextKey
|
|
94
|
-
} from "./cli-
|
|
95
|
+
} from "./cli-qgd4sqz5.js";
|
|
95
96
|
import {
|
|
96
97
|
deepInterpolate,
|
|
97
98
|
findInterpolationTokens,
|
|
98
99
|
init_template,
|
|
99
100
|
interpolate
|
|
100
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-3apbzgyk.js";
|
|
101
102
|
import {
|
|
102
103
|
getAppUrl,
|
|
103
104
|
getMcpBaseUrl,
|
|
@@ -113,7 +114,7 @@ import {
|
|
|
113
114
|
init_secret_scrubber,
|
|
114
115
|
isSensitiveKey,
|
|
115
116
|
scrubSecrets
|
|
116
|
-
} from "./cli-
|
|
117
|
+
} from "./cli-r2ap2czm.js";
|
|
117
118
|
import {
|
|
118
119
|
init_event_bus,
|
|
119
120
|
workflowEventBus
|
|
@@ -121,6 +122,38 @@ import {
|
|
|
121
122
|
import {
|
|
122
123
|
__require
|
|
123
124
|
} from "./cli-bc05qbss.js";
|
|
125
|
+
// src/automation-preflight-alert.ts
|
|
126
|
+
init_constants();
|
|
127
|
+
init_secret_scrubber();
|
|
128
|
+
async function notifyAutomationPreflightFailure(preflight) {
|
|
129
|
+
const channel = process.env.SLACK_ALERTS_CHANNEL?.trim();
|
|
130
|
+
if (!channel) {
|
|
131
|
+
console.warn("[Automation Preflight] SLACK_ALERTS_CHANNEL not set; skipping alert");
|
|
132
|
+
return;
|
|
133
|
+
}
|
|
134
|
+
try {
|
|
135
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-fq2ggynt.js");
|
|
136
|
+
const app = getSlackApp2();
|
|
137
|
+
if (!app) {
|
|
138
|
+
console.warn("[Automation Preflight] Slack not available, cannot send notification");
|
|
139
|
+
return;
|
|
140
|
+
}
|
|
141
|
+
await app.client.chat.postMessage({
|
|
142
|
+
channel,
|
|
143
|
+
text: scrubSecrets(`⚠️ Automation needs setup
|
|
144
|
+
` + `Automation: ${preflight.kind} "${preflight.name}"
|
|
145
|
+
Missing params: ${preflight.missing.params.join(", ") || "none"}
|
|
146
|
+
Missing integrations: ${preflight.missing.integrations.join(", ") || "none"}
|
|
147
|
+
Fire SKIPPED. It was not retried or queued.
|
|
148
|
+
Fix setup: ${getAppUrl()}${preflight.fixUrl}`),
|
|
149
|
+
unfurl_links: false,
|
|
150
|
+
unfurl_media: false
|
|
151
|
+
});
|
|
152
|
+
} catch (error) {
|
|
153
|
+
console.error("[Automation Preflight] Failed to send Slack notification:", scrubSecrets(error instanceof Error ? error.message : String(error)));
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
124
157
|
// src/be/automation-preflight.ts
|
|
125
158
|
init_db();
|
|
126
159
|
var NEEDS_SETUP_PREFIX = "needs_setup:";
|
|
@@ -359,7 +392,7 @@ async function recordWorkflowPreflightFailure(input) {
|
|
|
359
392
|
AND startedAt >= ? AND startedAt < ?
|
|
360
393
|
ORDER BY startedAt ASC LIMIT 1`, [input.workflowId, bounds.start, bounds.end]);
|
|
361
394
|
if (existing)
|
|
362
|
-
return existing.id;
|
|
395
|
+
return { runId: existing.id, recorded: false };
|
|
363
396
|
const runId = crypto.randomUUID();
|
|
364
397
|
const timestamp = now.toISOString();
|
|
365
398
|
await tx.run(`INSERT INTO workflow_runs
|
|
@@ -376,7 +409,7 @@ async function recordWorkflowPreflightFailure(input) {
|
|
|
376
409
|
timestamp,
|
|
377
410
|
timestamp
|
|
378
411
|
]);
|
|
379
|
-
return runId;
|
|
412
|
+
return { runId, recorded: true };
|
|
380
413
|
});
|
|
381
414
|
}
|
|
382
415
|
|
|
@@ -876,13 +909,16 @@ async function resolveRenderedWorkflowInputs(input) {
|
|
|
876
909
|
async function startWorkflowExecution(workflow, triggerData, registry, options = {}) {
|
|
877
910
|
const preflight = preflightAutomation(workflowPreflightInput(workflow), await getAutomationSetupStates());
|
|
878
911
|
if (preflight.state === "needs_setup") {
|
|
879
|
-
|
|
912
|
+
const { runId: runId2, recorded } = await recordWorkflowPreflightFailure({
|
|
880
913
|
workflowId: workflow.id,
|
|
881
914
|
triggerType: options.triggerType ?? "manual",
|
|
882
915
|
triggerData,
|
|
883
916
|
failureReason: preflight.failureReason,
|
|
884
917
|
createdBy: options.requestedByUserId
|
|
885
918
|
});
|
|
919
|
+
if (recorded)
|
|
920
|
+
await notifyAutomationPreflightFailure(preflight);
|
|
921
|
+
return runId2;
|
|
886
922
|
}
|
|
887
923
|
workflow = renderAutomationTokens(workflow, workflow.params ?? {});
|
|
888
924
|
if (workflow.triggerSchema) {
|
|
@@ -2882,6 +2918,8 @@ init_types();
|
|
|
2882
2918
|
var AgentTaskConfigSchema = exports_external.object({
|
|
2883
2919
|
template: exports_external.string(),
|
|
2884
2920
|
agentId: exports_external.string().optional(),
|
|
2921
|
+
routingReason: RoutingReasonSchema.optional(),
|
|
2922
|
+
routingNote: exports_external.string().max(200).optional(),
|
|
2885
2923
|
tags: exports_external.array(exports_external.string()).optional(),
|
|
2886
2924
|
priority: exports_external.number().int().min(0).max(100).optional(),
|
|
2887
2925
|
offerMode: exports_external.boolean().optional(),
|
|
@@ -2941,6 +2979,8 @@ class AgentTaskExecutor extends BaseExecutor {
|
|
|
2941
2979
|
const { description: taskDescription, options: taskOptions } = await withSiblingAwareness(config.template, {
|
|
2942
2980
|
key: effectiveKey,
|
|
2943
2981
|
agentId: config.agentId ?? null,
|
|
2982
|
+
routingReason: config.routingReason ?? (config.agentId ? "human_pinned" : undefined),
|
|
2983
|
+
routingNote: config.routingNote,
|
|
2944
2984
|
source: "workflow",
|
|
2945
2985
|
tags: config.tags,
|
|
2946
2986
|
priority: config.priority,
|
|
@@ -3335,7 +3375,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
3335
3375
|
}
|
|
3336
3376
|
if (notification.channel === "slack") {
|
|
3337
3377
|
try {
|
|
3338
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
3378
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-fq2ggynt.js");
|
|
3339
3379
|
const slackApp = getSlackApp2();
|
|
3340
3380
|
if (!slackApp) {
|
|
3341
3381
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -3455,7 +3495,7 @@ class NotifyExecutor extends BaseExecutor {
|
|
|
3455
3495
|
}
|
|
3456
3496
|
}
|
|
3457
3497
|
case "slack": {
|
|
3458
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
3498
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-fq2ggynt.js");
|
|
3459
3499
|
const app = getSlackApp2();
|
|
3460
3500
|
if (!app) {
|
|
3461
3501
|
return {
|
|
@@ -4279,4 +4319,4 @@ async function initWorkflows() {
|
|
|
4279
4319
|
logOpenWebhookTriggers();
|
|
4280
4320
|
}
|
|
4281
4321
|
|
|
4282
|
-
export { validateJsonSchema, findJsonSchemaShapeErrors, automationIntegrationFixUrl, isNeedsSetupFailure, preflightAutomation, renderAutomationTokens, getAutomationSetupStates, schedulePreflightInput, listEnabledAutomationPreflightInputs, recordSchedulePreflightFailure, TriggerSchemaError, startWorkflowExecution, setupWorkflowResumeListener, retryFailedRun, cancelWorkflowRun, resumeWaitState, initWaitBusSubscriptions, subscribeWaitToBus, recoverIncompleteRuns, startRetryPoller, stopRetryPoller, validateTemplateVariables, instantiateTemplate, handleWebhookTrigger, logOpenWebhookTriggers, handleEventTrigger, handleScheduleTrigger, verifyHmacSignature, WebhookError, snapshotWorkflow, snapshotAndUpdateWorkflow, startWaitPoller, stopWaitPoller, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, getExecutorRegistry, initWorkflows };
|
|
4322
|
+
export { validateJsonSchema, findJsonSchemaShapeErrors, notifyAutomationPreflightFailure, automationIntegrationFixUrl, isNeedsSetupFailure, preflightAutomation, renderAutomationTokens, getAutomationSetupStates, schedulePreflightInput, listEnabledAutomationPreflightInputs, recordSchedulePreflightFailure, TriggerSchemaError, startWorkflowExecution, setupWorkflowResumeListener, retryFailedRun, cancelWorkflowRun, resumeWaitState, initWaitBusSubscriptions, subscribeWaitToBus, recoverIncompleteRuns, startRetryPoller, stopRetryPoller, validateTemplateVariables, instantiateTemplate, handleWebhookTrigger, logOpenWebhookTriggers, handleEventTrigger, handleScheduleTrigger, verifyHmacSignature, WebhookError, snapshotWorkflow, snapshotAndUpdateWorkflow, startWaitPoller, stopWaitPoller, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, getExecutorRegistry, initWorkflows };
|
|
@@ -7,7 +7,7 @@ var package_default;
|
|
|
7
7
|
var init_package = __esm(() => {
|
|
8
8
|
package_default = {
|
|
9
9
|
name: "@desplega.ai/agent-swarm",
|
|
10
|
-
version: "1.
|
|
10
|
+
version: "1.149.1",
|
|
11
11
|
description: "agent-swarm.dev — an open-source operating system for AI work: a lead agent breaks goals into tasks, routes them to specialized workers such as Claude Code or Codex, runs each worker in an isolated container, and preserves shared memory, tools, schedules, and review gates so delegated work compounds across sessions.",
|
|
12
12
|
keywords: [
|
|
13
13
|
"agent-swarm.dev",
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
restoreScratchScriptLastUsedIfUnchanged,
|
|
8
8
|
runScript,
|
|
9
9
|
touchScratchScriptLastUsed
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-svbrpf5q.js";
|
|
11
11
|
import {
|
|
12
12
|
defaultAssetKey,
|
|
13
13
|
getDbClient,
|
|
14
14
|
getLeadAgent,
|
|
15
15
|
init_db,
|
|
16
16
|
init_key
|
|
17
|
-
} from "./cli-
|
|
17
|
+
} from "./cli-qgd4sqz5.js";
|
|
18
18
|
import {
|
|
19
19
|
init_zod
|
|
20
20
|
} from "./cli-sd0mxa3c.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contentSha256,
|
|
3
3
|
init_profile_sync
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-zvz62chv.js";
|
|
5
5
|
import {
|
|
6
6
|
OpenAI,
|
|
7
7
|
init_openai
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
getDbClient,
|
|
12
12
|
init_db,
|
|
13
13
|
isSqliteVecAvailable
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-qgd4sqz5.js";
|
|
15
15
|
import {
|
|
16
16
|
__esm,
|
|
17
17
|
__export,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runStopHookSessionSummarySubprocess
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-tg8qj8ee.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionErrorTracker,
|
|
6
6
|
buildOtelTraceparentEnv,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
init_secret_scrubber,
|
|
44
44
|
scrubSecrets
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-r2ap2czm.js";
|
|
46
46
|
import {
|
|
47
47
|
require_src
|
|
48
48
|
} from "./cli-knd276ed.js";
|
|
@@ -817,7 +817,7 @@ class ClaudeAdapter {
|
|
|
817
817
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
818
818
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
819
819
|
}
|
|
820
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
820
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-qxrpsna1.js") : undefined;
|
|
821
821
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
822
822
|
...claudeBinaryArgv.slice(1),
|
|
823
823
|
...config.additionalArgs ?? []
|