@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
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
} from "./cli-d3p82erb.js";
|
|
13
13
|
import {
|
|
14
14
|
checkClaudeCredentials
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-xw7vak96.js";
|
|
16
16
|
import {
|
|
17
17
|
checkCodexCredentials,
|
|
18
18
|
codexUserHome
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-xy1cchaf.js";
|
|
20
20
|
import {
|
|
21
21
|
MAX_RATE_LIMIT_RESET_MS,
|
|
22
22
|
isCodexCreditsExhaustedMessage,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
resolveScriptsOnlyMode,
|
|
36
36
|
validateJsonSchema
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-z3wkng35.js";
|
|
38
38
|
import {
|
|
39
39
|
authJsonToCredentialSelection,
|
|
40
40
|
credentialsToAuthJson,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
startSpan,
|
|
59
59
|
withSpan,
|
|
60
60
|
withSpanContext
|
|
61
|
-
} from "./cli-
|
|
61
|
+
} from "./cli-qn042eh7.js";
|
|
62
62
|
import {
|
|
63
63
|
buildContextPreamble,
|
|
64
64
|
buildResumeContextPreamble,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
init_types,
|
|
84
84
|
resolveTaskModelSelection,
|
|
85
85
|
telemetry
|
|
86
|
-
} from "./cli-
|
|
86
|
+
} from "./cli-zvgj5zg8.js";
|
|
87
87
|
import {
|
|
88
88
|
generateDefaultClaudeMd,
|
|
89
89
|
generateDefaultIdentityMd,
|
|
@@ -151,7 +151,7 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
151
151
|
async function createProviderAdapter(provider) {
|
|
152
152
|
switch (provider) {
|
|
153
153
|
case "claude": {
|
|
154
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
154
|
+
const { ClaudeAdapter } = await import("./claude-adapter-csc1mzka.js");
|
|
155
155
|
return new ClaudeAdapter;
|
|
156
156
|
}
|
|
157
157
|
case "pi": {
|
|
@@ -159,7 +159,7 @@ async function createProviderAdapter(provider) {
|
|
|
159
159
|
return new PiMonoAdapter;
|
|
160
160
|
}
|
|
161
161
|
case "codex": {
|
|
162
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
162
|
+
const { CodexAdapter } = await import("./codex-adapter-fxmpsabw.js");
|
|
163
163
|
return new CodexAdapter;
|
|
164
164
|
}
|
|
165
165
|
case "claude-managed": {
|
|
@@ -175,7 +175,7 @@ async function createProviderAdapter(provider) {
|
|
|
175
175
|
return new OpencodeAdapter;
|
|
176
176
|
}
|
|
177
177
|
case "acp": {
|
|
178
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
178
|
+
const { ACPAdapter } = await import("./acp-adapter-pfeje2v5.js");
|
|
179
179
|
return new ACPAdapter;
|
|
180
180
|
}
|
|
181
181
|
default:
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
setSlackMessageTracking,
|
|
50
50
|
slackContextKey,
|
|
51
51
|
updateSlackMessageRecord
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-zvgj5zg8.js";
|
|
53
53
|
import {
|
|
54
54
|
getAppUrl,
|
|
55
55
|
init_constants
|
|
@@ -54475,7 +54475,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
54475
54475
|
return;
|
|
54476
54476
|
initialized = true;
|
|
54477
54477
|
try {
|
|
54478
|
-
const impl = await import("./otel-impl-
|
|
54478
|
+
const impl = await import("./otel-impl-vdqge2nt.js");
|
|
54479
54479
|
await impl.boot(serviceRole);
|
|
54480
54480
|
realWithSpan = impl.withSpan;
|
|
54481
54481
|
realStartSpan = impl.startSpan;
|
|
@@ -55815,15 +55815,15 @@ async function initSlackApp() {
|
|
|
55815
55815
|
logLevel: import_bolt.LogLevel.DEBUG,
|
|
55816
55816
|
...slackApiUrl ? { clientOptions: { slackApiUrl } } : {}
|
|
55817
55817
|
});
|
|
55818
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
55819
|
-
const { registerCommandHandler } = await import("./commands-
|
|
55820
|
-
const { registerActionHandlers } = await import("./actions-
|
|
55821
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
55818
|
+
const { registerMessageHandler } = await import("./handlers-0hgtc910.js");
|
|
55819
|
+
const { registerCommandHandler } = await import("./commands-0f5rxz51.js");
|
|
55820
|
+
const { registerActionHandlers } = await import("./actions-0sttc7f5.js");
|
|
55821
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-nt8gy1kj.js");
|
|
55822
55822
|
registerMessageHandler(app);
|
|
55823
55823
|
registerCommandHandler(app);
|
|
55824
55824
|
registerActionHandlers(app);
|
|
55825
55825
|
registerWorkObjectHandlers(app);
|
|
55826
|
-
const { createAssistant } = await import("./assistant-
|
|
55826
|
+
const { createAssistant } = await import("./assistant-r45jnsrt.js");
|
|
55827
55827
|
app.assistant(createAssistant());
|
|
55828
55828
|
return app;
|
|
55829
55829
|
}
|
|
@@ -55832,7 +55832,7 @@ async function startSlackApp() {
|
|
|
55832
55832
|
await initSlackApp();
|
|
55833
55833
|
}
|
|
55834
55834
|
if (app) {
|
|
55835
|
-
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-
|
|
55835
|
+
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-7p8r2ymg.js");
|
|
55836
55836
|
if (isSlackRenderV2Enabled2())
|
|
55837
55837
|
await ensureSlackRenderV2Activation();
|
|
55838
55838
|
await app.start();
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
getScriptMcpTypes,
|
|
5
5
|
listAppRecords,
|
|
6
6
|
require_typescript
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-fmy65jdn.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteSwarmConfigByKey,
|
|
10
10
|
getAgentById,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getSwarmConfigs,
|
|
14
14
|
init_db,
|
|
15
15
|
upsertSwarmConfig
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-zvgj5zg8.js";
|
|
17
17
|
import {
|
|
18
18
|
init_secret_scrubber,
|
|
19
19
|
scrubSecrets
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runStopHookSessionSummarySubprocess
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-4ahpr4sw.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchInstalledMcpServers
|
|
6
6
|
} from "./cli-tng3131n.js";
|
|
@@ -819,7 +819,7 @@ class ClaudeAdapter {
|
|
|
819
819
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
820
820
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
821
821
|
}
|
|
822
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
822
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-fcd6f078.js") : undefined;
|
|
823
823
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
824
824
|
...claudeBinaryArgv.slice(1),
|
|
825
825
|
...config.additionalArgs ?? []
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
} from "./cli-3dpj7atn.js";
|
|
19
19
|
import {
|
|
20
20
|
startPricingRefreshLoop
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-b9dd0h3k.js";
|
|
22
22
|
import {
|
|
23
23
|
ensureRbacSeedsSynced,
|
|
24
24
|
getUserGrant
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-r84ctdxn.js";
|
|
26
26
|
import {
|
|
27
27
|
can,
|
|
28
28
|
decideAdmission,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
upsertScriptConnection,
|
|
94
94
|
validateDefinition,
|
|
95
95
|
writeBareImportShim
|
|
96
|
-
} from "./cli-
|
|
96
|
+
} from "./cli-fmy65jdn.js";
|
|
97
97
|
import {
|
|
98
98
|
detachedProcessGroup,
|
|
99
99
|
registerProcessGroup,
|
|
@@ -120,10 +120,10 @@ import {
|
|
|
120
120
|
listAuthorizationsForApp,
|
|
121
121
|
onAuthorizationRefreshed,
|
|
122
122
|
upsertOAuthApp
|
|
123
|
-
} from "./cli-
|
|
123
|
+
} from "./cli-56h18ng2.js";
|
|
124
124
|
import {
|
|
125
125
|
seedPricingFromModelsDev
|
|
126
|
-
} from "./cli-
|
|
126
|
+
} from "./cli-2nnd56zt.js";
|
|
127
127
|
import {
|
|
128
128
|
require_dist
|
|
129
129
|
} from "./cli-51tf7ac3.js";
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
startSlackApp,
|
|
138
138
|
stopSlackApp,
|
|
139
139
|
withSpan
|
|
140
|
-
} from "./cli-
|
|
140
|
+
} from "./cli-qn042eh7.js";
|
|
141
141
|
import {
|
|
142
142
|
CANDIDATE_SET_MULTIPLIER,
|
|
143
143
|
computeScore,
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
isGraphExpansionEnabled,
|
|
150
150
|
rerank,
|
|
151
151
|
rowToCandidate
|
|
152
|
-
} from "./cli-
|
|
152
|
+
} from "./cli-jew3jda5.js";
|
|
153
153
|
import {
|
|
154
154
|
init_task_attachment_links,
|
|
155
155
|
taskAttachmentDisplayUrl,
|
|
@@ -463,7 +463,7 @@ import {
|
|
|
463
463
|
upsertSwarmConfig,
|
|
464
464
|
validateConfigValue,
|
|
465
465
|
workflowContextKey
|
|
466
|
-
} from "./cli-
|
|
466
|
+
} from "./cli-zvgj5zg8.js";
|
|
467
467
|
import {
|
|
468
468
|
generateDefaultClaudeMd,
|
|
469
469
|
generateDefaultIdentityMd,
|
|
@@ -541,7 +541,7 @@ import {
|
|
|
541
541
|
import {
|
|
542
542
|
init_package,
|
|
543
543
|
package_default
|
|
544
|
-
} from "./cli-
|
|
544
|
+
} from "./cli-zvkq5csn.js";
|
|
545
545
|
import {
|
|
546
546
|
init_secret_scrubber,
|
|
547
547
|
isSensitiveKey,
|
|
@@ -23685,7 +23685,7 @@ async function notifySlack(text) {
|
|
|
23685
23685
|
return;
|
|
23686
23686
|
}
|
|
23687
23687
|
try {
|
|
23688
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
23688
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-p8teva95.js");
|
|
23689
23689
|
const app = getSlackApp2();
|
|
23690
23690
|
if (!app) {
|
|
23691
23691
|
console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
|
|
@@ -23756,7 +23756,7 @@ async function deleteJiraWebhook(webhookId) {
|
|
|
23756
23756
|
console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
|
|
23757
23757
|
}
|
|
23758
23758
|
async function overwriteWebhookIds(next) {
|
|
23759
|
-
const { getDbClient: getDbClient2 } = await import("./db-
|
|
23759
|
+
const { getDbClient: getDbClient2 } = await import("./db-r3jxf3wy.js");
|
|
23760
23760
|
await getDbClient2().transaction(async (tx) => {
|
|
23761
23761
|
const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
|
|
23762
23762
|
if (!row) {
|
|
@@ -97476,7 +97476,7 @@ async function reloadGlobalConfigsAndIntegrations() {
|
|
|
97476
97476
|
return runWithoutRequestAuth(() => reloadGlobalConfigsAndIntegrationsInner());
|
|
97477
97477
|
}
|
|
97478
97478
|
async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
97479
|
-
const { getEmbeddingProvider: getEmbeddingProvider2, resetEmbeddingProvider } = await import("./index-
|
|
97479
|
+
const { getEmbeddingProvider: getEmbeddingProvider2, resetEmbeddingProvider } = await import("./index-gpfn1741.js");
|
|
97480
97480
|
const wasEmbeddingsConfigured = getEmbeddingProvider2().isConfigured();
|
|
97481
97481
|
const updated = await loadGlobalConfigsIntoEnv(true);
|
|
97482
97482
|
const { resetFileStorageProvider } = await import("./registry-v5wytg0s.js");
|
|
@@ -97488,10 +97488,10 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
|
|
|
97488
97488
|
integrations.push("embeddings");
|
|
97489
97489
|
}
|
|
97490
97490
|
if (!wasEmbeddingsConfigured && isEmbeddingsConfigured) {
|
|
97491
|
-
import("./boot-reembed-
|
|
97491
|
+
import("./boot-reembed-je26h5y7.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
|
|
97492
97492
|
console.error("[config-reload] memory backfill failed (non-fatal):", err);
|
|
97493
97493
|
});
|
|
97494
|
-
import("./boot-reembed-
|
|
97494
|
+
import("./boot-reembed-1qmybsd4.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
|
|
97495
97495
|
console.error("[config-reload] script backfill failed (non-fatal):", err);
|
|
97496
97496
|
});
|
|
97497
97497
|
}
|
|
@@ -98304,7 +98304,7 @@ function setPreloadedTools(server, names) {
|
|
|
98304
98304
|
async function applyPreToolCall(name, args, requestInfo, inputSchema) {
|
|
98305
98305
|
if (requestInfo.callOrigin !== "mcp")
|
|
98306
98306
|
return { args };
|
|
98307
|
-
const dispatcher = await import("./dispatcher-
|
|
98307
|
+
const dispatcher = await import("./dispatcher-06vph6q4.js");
|
|
98308
98308
|
const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
|
|
98309
98309
|
validateModify: async (data) => {
|
|
98310
98310
|
const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
|
|
@@ -117032,7 +117032,7 @@ async function notifyAutomationPreflightFailure(preflight) {
|
|
|
117032
117032
|
return;
|
|
117033
117033
|
}
|
|
117034
117034
|
try {
|
|
117035
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
117035
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-p8teva95.js");
|
|
117036
117036
|
const app = getSlackApp2();
|
|
117037
117037
|
if (!app) {
|
|
117038
117038
|
console.warn("[Automation Preflight] Slack not available, cannot send notification");
|
|
@@ -120177,7 +120177,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
120177
120177
|
}
|
|
120178
120178
|
if (notification.channel === "slack") {
|
|
120179
120179
|
try {
|
|
120180
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
120180
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-p8teva95.js");
|
|
120181
120181
|
const slackApp = getSlackApp2();
|
|
120182
120182
|
if (!slackApp) {
|
|
120183
120183
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -120297,7 +120297,7 @@ class NotifyExecutor extends BaseExecutor {
|
|
|
120297
120297
|
}
|
|
120298
120298
|
}
|
|
120299
120299
|
case "slack": {
|
|
120300
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
120300
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-p8teva95.js");
|
|
120301
120301
|
const app = getSlackApp2();
|
|
120302
120302
|
if (!app) {
|
|
120303
120303
|
return {
|
|
@@ -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.152.
|
|
10
|
+
version: "1.152.2",
|
|
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",
|
package/dist/cli.js
CHANGED
|
@@ -65,7 +65,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
65
65
|
// package.json
|
|
66
66
|
var package_default = {
|
|
67
67
|
name: "@desplega.ai/agent-swarm",
|
|
68
|
-
version: "1.152.
|
|
68
|
+
version: "1.152.2",
|
|
69
69
|
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.",
|
|
70
70
|
keywords: [
|
|
71
71
|
"agent-swarm.dev",
|
|
@@ -742,7 +742,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
742
742
|
if (dbPath) {
|
|
743
743
|
process.env.DATABASE_PATH = dbPath;
|
|
744
744
|
}
|
|
745
|
-
import("./http-
|
|
745
|
+
import("./http-xbyx8k5j.js").then(() => {
|
|
746
746
|
setStatus("running");
|
|
747
747
|
}).catch((err) => {
|
|
748
748
|
setStatus("error");
|
|
@@ -828,7 +828,7 @@ function WorkerRunner({
|
|
|
828
828
|
}) {
|
|
829
829
|
const { exit } = use_app_default();
|
|
830
830
|
import_react.useEffect(() => {
|
|
831
|
-
import("./worker-
|
|
831
|
+
import("./worker-dwy617t0.js").then(({ runWorker }) => runWorker({
|
|
832
832
|
prompt: prompt || undefined,
|
|
833
833
|
yolo,
|
|
834
834
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -845,7 +845,7 @@ function WorkerRunner({
|
|
|
845
845
|
function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalArgs }) {
|
|
846
846
|
const { exit } = use_app_default();
|
|
847
847
|
import_react.useEffect(() => {
|
|
848
|
-
import("./lead-
|
|
848
|
+
import("./lead-rq4n5r16.js").then(({ runLead }) => runLead({
|
|
849
849
|
prompt: prompt || undefined,
|
|
850
850
|
yolo,
|
|
851
851
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -885,8 +885,8 @@ function LazyComponent({
|
|
|
885
885
|
}
|
|
886
886
|
return import_react.createElement(Component, props);
|
|
887
887
|
}
|
|
888
|
-
var loadOnboard = () => import("./onboard-
|
|
889
|
-
var loadConnect = () => import("./setup-
|
|
888
|
+
var loadOnboard = () => import("./onboard-br5j1kch.js").then(({ Onboard }) => Onboard);
|
|
889
|
+
var loadConnect = () => import("./setup-w6mb03jv.js").then(({ Setup }) => Setup);
|
|
890
890
|
function UnknownCommand({ command }) {
|
|
891
891
|
const { exit } = use_app_default();
|
|
892
892
|
import_react.useEffect(() => {
|
|
@@ -1007,14 +1007,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1007
1007
|
}
|
|
1008
1008
|
process.exit(0);
|
|
1009
1009
|
} else if (args.command === "hook") {
|
|
1010
|
-
const { runHook } = await import("./hook-
|
|
1010
|
+
const { runHook } = await import("./hook-fbfhkat3.js");
|
|
1011
1011
|
await runHook();
|
|
1012
1012
|
} else if (args.command === "codex-hook") {
|
|
1013
1013
|
const { handleCodexHook } = await import("./codex-hook-8jexc34x.js");
|
|
1014
1014
|
await handleCodexHook();
|
|
1015
1015
|
process.exit(0);
|
|
1016
1016
|
} else if (args.command === "session-summary-stdin") {
|
|
1017
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1017
|
+
const { runSessionSummaryFromStdin } = await import("./hook-9kvrv1er.js");
|
|
1018
1018
|
await runSessionSummaryFromStdin();
|
|
1019
1019
|
process.exit(process.exitCode ?? 0);
|
|
1020
1020
|
} else if (args.command === "artifact") {
|
|
@@ -1035,7 +1035,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1035
1035
|
printHelp("scripts");
|
|
1036
1036
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1037
1037
|
}
|
|
1038
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1038
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-f0atj1ab.js");
|
|
1039
1039
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1040
1040
|
console.log("Scripts re-embedded.");
|
|
1041
1041
|
} else if (args.command === "rbac") {
|
|
@@ -1045,14 +1045,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1045
1045
|
printHelp("rbac");
|
|
1046
1046
|
process.exit(args.showHelp ? 0 : 1);
|
|
1047
1047
|
}
|
|
1048
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1048
|
+
const { runRbacCliCommand } = await import("./rbac-roles-t78xt39b.js");
|
|
1049
1049
|
await runRbacCliCommand(rbacArgs);
|
|
1050
1050
|
} else if (args.command === "codex-login") {
|
|
1051
1051
|
const { runCodexLogin } = await import("./codex-login-vx7ghkzj.js");
|
|
1052
1052
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1053
1053
|
await runCodexLogin(codexLoginArgs);
|
|
1054
1054
|
} else if (args.command === "codex-session-runner") {
|
|
1055
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1055
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-rr1e47ea.js");
|
|
1056
1056
|
await runCodexSessionRunner();
|
|
1057
1057
|
} else if (args.command === "claude-managed-setup") {
|
|
1058
1058
|
const { runClaudeManagedSetup } = await import("./claude-managed-setup-48dwg9bv.js");
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createInProcessCodexSession,
|
|
7
7
|
resolveCodexAuthMode,
|
|
8
8
|
resolveCodexRunnerArgv
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-xy1cchaf.js";
|
|
10
10
|
import"./cli-hsxj0yar.js";
|
|
11
11
|
import"./cli-r94z9p1z.js";
|
|
12
12
|
import"./cli-b5b30yzk.js";
|
|
@@ -26,7 +26,7 @@ import"./cli-bsakbbkm.js";
|
|
|
26
26
|
import"./cli-ej6gbxfb.js";
|
|
27
27
|
import"./cli-sd0mxa3c.js";
|
|
28
28
|
import"./cli-w5e1d1vv.js";
|
|
29
|
-
import"./cli-
|
|
29
|
+
import"./cli-zvkq5csn.js";
|
|
30
30
|
import"./cli-r2ap2czm.js";
|
|
31
31
|
import"./cli-knd276ed.js";
|
|
32
32
|
import"./cli-c4eeb5q2.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-xy1cchaf.js";
|
|
4
4
|
import"./cli-hsxj0yar.js";
|
|
5
5
|
import"./cli-r94z9p1z.js";
|
|
6
6
|
import"./cli-b5b30yzk.js";
|
|
@@ -20,7 +20,7 @@ import"./cli-bsakbbkm.js";
|
|
|
20
20
|
import"./cli-ej6gbxfb.js";
|
|
21
21
|
import"./cli-sd0mxa3c.js";
|
|
22
22
|
import"./cli-w5e1d1vv.js";
|
|
23
|
-
import"./cli-
|
|
23
|
+
import"./cli-zvkq5csn.js";
|
|
24
24
|
import {
|
|
25
25
|
init_secret_scrubber,
|
|
26
26
|
scrubSecrets
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-zvgj5zg8.js";
|
|
6
6
|
import"./cli-ht5rs63n.js";
|
|
7
7
|
import"./cli-z61ykvam.js";
|
|
8
8
|
import"./cli-dv6cdjs2.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./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";
|
|
@@ -455,7 +455,7 @@ import {
|
|
|
455
455
|
upsertSkillFiles,
|
|
456
456
|
upsertSwarmConfig,
|
|
457
457
|
withFavoriteFlags
|
|
458
|
-
} from "./cli-
|
|
458
|
+
} from "./cli-zvgj5zg8.js";
|
|
459
459
|
import {
|
|
460
460
|
generateDefaultClaudeMd,
|
|
461
461
|
generateDefaultIdentityMd,
|
|
@@ -468,7 +468,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
468
468
|
import"./cli-ej6gbxfb.js";
|
|
469
469
|
import"./cli-sd0mxa3c.js";
|
|
470
470
|
import"./cli-w5e1d1vv.js";
|
|
471
|
-
import"./cli-
|
|
471
|
+
import"./cli-zvkq5csn.js";
|
|
472
472
|
import"./cli-r2ap2czm.js";
|
|
473
473
|
import"./cli-zf8jjwex.js";
|
|
474
474
|
import"./cli-bc05qbss.js";
|
|
@@ -11,34 +11,34 @@ import {
|
|
|
11
11
|
resolveBridgeCallOrigin,
|
|
12
12
|
runContext,
|
|
13
13
|
unregister
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-z3wkng35.js";
|
|
15
15
|
import"./cli-0z2v4nhw.js";
|
|
16
16
|
import"./cli-4wppfkcm.js";
|
|
17
17
|
import"./cli-e7d20cty.js";
|
|
18
18
|
import"./cli-re8z5p8p.js";
|
|
19
19
|
import"./cli-3dpj7atn.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
import"./cli-b9dd0h3k.js";
|
|
21
|
+
import"./cli-r84ctdxn.js";
|
|
22
22
|
import"./cli-zfzznn7c.js";
|
|
23
|
-
import"./cli-
|
|
23
|
+
import"./cli-fmy65jdn.js";
|
|
24
24
|
import"./cli-epan13p1.js";
|
|
25
25
|
import"./cli-y89t4nca.js";
|
|
26
26
|
import"./cli-f14fvzag.js";
|
|
27
27
|
import"./cli-fad8m16k.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
28
|
+
import"./cli-56h18ng2.js";
|
|
29
|
+
import"./cli-2nnd56zt.js";
|
|
30
30
|
import"./cli-bsakbbkm.js";
|
|
31
|
-
import"./cli-
|
|
31
|
+
import"./cli-gpqcs935.js";
|
|
32
32
|
import"./cli-51tf7ac3.js";
|
|
33
|
-
import"./cli-
|
|
33
|
+
import"./cli-qn042eh7.js";
|
|
34
34
|
import"./cli-q51yprfq.js";
|
|
35
35
|
import"./cli-yatxqynm.js";
|
|
36
|
-
import"./cli-
|
|
36
|
+
import"./cli-jew3jda5.js";
|
|
37
37
|
import"./cli-fm4ytsdk.js";
|
|
38
38
|
import"./cli-aehm1rbq.js";
|
|
39
39
|
import"./cli-2658f6at.js";
|
|
40
40
|
import"./cli-jsp14b6c.js";
|
|
41
|
-
import"./cli-
|
|
41
|
+
import"./cli-zvgj5zg8.js";
|
|
42
42
|
import"./cli-ht5rs63n.js";
|
|
43
43
|
import"./cli-z61ykvam.js";
|
|
44
44
|
import"./cli-dv6cdjs2.js";
|
|
@@ -46,7 +46,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
46
46
|
import"./cli-ej6gbxfb.js";
|
|
47
47
|
import"./cli-sd0mxa3c.js";
|
|
48
48
|
import"./cli-w5e1d1vv.js";
|
|
49
|
-
import"./cli-
|
|
49
|
+
import"./cli-zvkq5csn.js";
|
|
50
50
|
import"./cli-r2ap2czm.js";
|
|
51
51
|
import"./cli-pzxba7gw.js";
|
|
52
52
|
import"./cli-f7kvq46p.js";
|
|
@@ -5,37 +5,37 @@ import {
|
|
|
5
5
|
isUserAllowed,
|
|
6
6
|
registerMessageHandler,
|
|
7
7
|
resetSlackHandlerCachesForTesting
|
|
8
|
-
} from "./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
8
|
+
} from "./cli-ckz5t2hb.js";
|
|
9
|
+
import"./cli-jvy9qgjs.js";
|
|
10
|
+
import"./cli-3bpzj8me.js";
|
|
11
|
+
import"./cli-z3wkng35.js";
|
|
12
12
|
import"./cli-0z2v4nhw.js";
|
|
13
13
|
import"./cli-4wppfkcm.js";
|
|
14
14
|
import"./cli-e7d20cty.js";
|
|
15
15
|
import"./cli-re8z5p8p.js";
|
|
16
16
|
import"./cli-3dpj7atn.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
17
|
+
import"./cli-b9dd0h3k.js";
|
|
18
|
+
import"./cli-r84ctdxn.js";
|
|
19
19
|
import"./cli-zfzznn7c.js";
|
|
20
|
-
import"./cli-
|
|
20
|
+
import"./cli-fmy65jdn.js";
|
|
21
21
|
import"./cli-epan13p1.js";
|
|
22
22
|
import"./cli-y89t4nca.js";
|
|
23
23
|
import"./cli-f14fvzag.js";
|
|
24
24
|
import"./cli-fad8m16k.js";
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
25
|
+
import"./cli-56h18ng2.js";
|
|
26
|
+
import"./cli-2nnd56zt.js";
|
|
27
27
|
import"./cli-bsakbbkm.js";
|
|
28
|
-
import"./cli-
|
|
28
|
+
import"./cli-gpqcs935.js";
|
|
29
29
|
import"./cli-51tf7ac3.js";
|
|
30
|
-
import"./cli-
|
|
30
|
+
import"./cli-qn042eh7.js";
|
|
31
31
|
import"./cli-q51yprfq.js";
|
|
32
32
|
import"./cli-yatxqynm.js";
|
|
33
|
-
import"./cli-
|
|
33
|
+
import"./cli-jew3jda5.js";
|
|
34
34
|
import"./cli-fm4ytsdk.js";
|
|
35
35
|
import"./cli-aehm1rbq.js";
|
|
36
36
|
import"./cli-2658f6at.js";
|
|
37
37
|
import"./cli-jsp14b6c.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-zvgj5zg8.js";
|
|
39
39
|
import"./cli-ht5rs63n.js";
|
|
40
40
|
import"./cli-z61ykvam.js";
|
|
41
41
|
import"./cli-dv6cdjs2.js";
|
|
@@ -43,7 +43,7 @@ import"./cli-c2mk1kgf.js";
|
|
|
43
43
|
import"./cli-ej6gbxfb.js";
|
|
44
44
|
import"./cli-sd0mxa3c.js";
|
|
45
45
|
import"./cli-w5e1d1vv.js";
|
|
46
|
-
import"./cli-
|
|
46
|
+
import"./cli-zvkq5csn.js";
|
|
47
47
|
import"./cli-r2ap2czm.js";
|
|
48
48
|
import"./cli-pzxba7gw.js";
|
|
49
49
|
import"./cli-f7kvq46p.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleHook
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-4ahpr4sw.js";
|
|
4
4
|
import"./cli-wbyk465z.js";
|
|
5
5
|
import"./cli-j4nv2wqy.js";
|
|
6
6
|
import"./cli-hp1n6zq3.js";
|
|
@@ -17,7 +17,7 @@ import"./cli-dv6cdjs2.js";
|
|
|
17
17
|
import"./cli-ej6gbxfb.js";
|
|
18
18
|
import"./cli-sd0mxa3c.js";
|
|
19
19
|
import"./cli-w5e1d1vv.js";
|
|
20
|
-
import"./cli-
|
|
20
|
+
import"./cli-zvkq5csn.js";
|
|
21
21
|
import"./cli-r2ap2czm.js";
|
|
22
22
|
import"./cli-c4eeb5q2.js";
|
|
23
23
|
import"./cli-rgvp6r2x.js";
|