@desplega.ai/agent-swarm 1.119.1 → 1.119.3
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/{actions-d6rvh4xw.js → actions-kd321p1j.js} +7 -7
- package/dist/{app-2t2t6qtm.js → app-p1gqacgd.js} +3 -3
- package/dist/{assistant-kb23g109.js → assistant-6w0zb089.js} +10 -10
- package/dist/{boot-reembed-t2ct62pw.js → boot-reembed-7gy85nnp.js} +3 -3
- package/dist/{boot-reembed-gjatq261.js → boot-reembed-zktmj8zt.js} +4 -4
- package/dist/{boot-scrub-logs-vwvpxk23.js → boot-scrub-logs-d8n8pcgr.js} +2 -2
- package/dist/{cli-wmep6bjt.js → cli-3sew4a9j.js} +1 -1
- package/dist/{cli-gq1ss3yf.js → cli-527y7yzc.js} +3 -3
- package/dist/{cli-bwkxh7pa.js → cli-6expbmb3.js} +1 -1
- package/dist/{cli-2teefgw6.js → cli-7yfmb4ne.js} +1 -1
- package/dist/{cli-p750jfs0.js → cli-8y1kmyn7.js} +2 -2
- package/dist/cli-95kferzh.js +439 -0
- package/dist/{cli-2dsbab02.js → cli-9aqtt1dn.js} +7 -7
- package/dist/{cli-q8bgrc7c.js → cli-9y4z25ke.js} +1 -1
- package/dist/{cli-6j7ftsbs.js → cli-cx30v78p.js} +1 -1
- package/dist/{cli-wh91zby6.js → cli-dh9eb7tt.js} +6 -6
- package/dist/{cli-gpyx6t1w.js → cli-e5hdn9nx.js} +1 -1
- package/dist/{cli-34194d2q.js → cli-eb3s7zwh.js} +37 -35
- package/dist/{cli-wt7b0vr9.js → cli-emgzr4ja.js} +5 -5
- package/dist/{cli-9b5m9d9v.js → cli-g5a31r9y.js} +22 -3
- package/dist/{cli-1q7q8zws.js → cli-get7n46a.js} +1 -1
- package/dist/{cli-3hqj0r0f.js → cli-gzng1fst.js} +2 -2
- package/dist/{cli-e7306swv.js → cli-hcpm1e90.js} +6 -6
- package/dist/{cli-yk38sbmz.js → cli-j2vpt4hd.js} +11 -11
- package/dist/{cli-zyjvbdgq.js → cli-j5da6jb2.js} +12 -12
- package/dist/{cli-xjb2jg7b.js → cli-j6n9at34.js} +2 -2
- package/dist/{cli-gq46dx9q.js → cli-p4yn675m.js} +1 -1
- package/dist/{cli-226nz7j1.js → cli-td2x0s9b.js} +1 -1
- package/dist/{cli-5fb5rv64.js → cli-xgefj1nz.js} +2 -2
- package/dist/{cli-6637ryhr.js → cli-y82m27mq.js} +1 -1
- package/dist/{cli-03hw3tdq.js → cli-yzxg93ma.js} +4 -4
- package/dist/{cli-gat4kjhe.js → cli-z612d1nc.js} +1 -1
- package/dist/cli.js +13 -13
- package/dist/{codex-adapter-de3w0nch.js → codex-adapter-efskwfc4.js} +4 -4
- package/dist/{codex-session-runner-bnw8cysk.js → codex-session-runner-n7ad0jdv.js} +4 -4
- package/dist/{commands-sar3k5f6.js → commands-14gkjns3.js} +2 -2
- package/dist/{db-93qmw47d.js → db-c9wx8pbf.js} +2 -2
- package/dist/{handlers-4q6rrpg6.js → handlers-m9jxp50r.js} +10 -10
- package/dist/{hook-r6j7pb72.js → hook-mm8mj3cp.js} +3 -3
- package/dist/{http-yr4md33c.js → http-hhmh7m51.js} +101 -495
- package/dist/{index-snekxj7z.js → index-9h6qre5v.js} +6 -6
- package/dist/{index-afc5zk9k.js → index-basky7qw.js} +10 -10
- package/dist/{index-4zpkrw7q.js → index-ep25fyer.js} +9 -9
- package/dist/{index-wk5gsfqy.js → index-vmcp507g.js} +8 -8
- package/dist/{keepalive-wp8xyhnb.js → keepalive-70mwsyhb.js} +4 -4
- package/dist/{lead-5x0j5wxz.js → lead-pshn5w58.js} +25 -25
- package/dist/{maintenance-yx9pwy8a.js → maintenance-rbjav7ey.js} +4 -4
- package/dist/{oauth-refresh-sweep-yb4scdc0.js → oauth-refresh-sweep-dfbd7yw0.js} +3 -3
- package/dist/{onboard-f27pqdmq.js → onboard-g8911158.js} +2 -2
- package/dist/{otel-impl-z3cdybex.js → otel-impl-qw4pakj6.js} +1 -1
- package/dist/{pi-mono-adapter-05sck1ds.js → pi-mono-adapter-erghwha0.js} +7 -7
- package/dist/{pricing-refresh-0d0877ex.js → pricing-refresh-7ra0g3az.js} +4 -4
- package/dist/{rbac-roles-fya9jda4.js → rbac-roles-ksnmkjzf.js} +2 -2
- package/dist/{rbac-roles-s1kpmgrb.js → rbac-roles-s0esm5k6.js} +3 -3
- package/dist/registry-wejfsj31.js +13 -0
- package/dist/{seed-pricing-n6weaf7s.js → seed-pricing-jd8zj8k7.js} +3 -3
- package/dist/{setup-64291zb4.js → setup-z2s4vqf3.js} +2 -2
- package/dist/{worker-2v01h42e.js → worker-xse3rpzd.js} +25 -25
- package/openapi.json +53 -1
- package/package.json +1 -1
- package/src/be/seed/agent-fs-provision.ts +41 -1
- package/src/fs/registry.ts +13 -1
- package/src/http/core.ts +8 -0
- package/src/http/fs.ts +41 -1
- package/src/tests/agent-fs-provision-seeder.test.ts +40 -0
- package/src/tests/preload.ts +21 -0
- package/src/tests/prompt-template-resolver.test.ts +6 -0
- package/src/tests/prompt-template-session.test.ts +6 -0
- package/src/tests/template-registry-helpers.ts +29 -0
- package/dist/{azure-openai-responses-gm1ejtmn.js → azure-openai-responses-f57n5qy7.js} +4 -4
- package/dist/{claude-managed-setup-cm05wtek.js → claude-managed-setup-eac00cqn.js} +1 -1
- package/dist/{cli-6b4wwmm8.js → cli-0qy7bk86.js} +3 -3
- package/dist/{google-vertex-8bs2pzgn.js → google-vertex-9hhq68sw.js} +3 -3
- package/dist/{mistral-conversations-7gqnz2wt.js → mistral-conversations-tn4sj5qv.js} +3 -3
- package/dist/{openai-codex-responses-3nkvje79.js → openai-codex-responses-bex0bpn6.js} +2 -2
- package/dist/{openai-completions-0asftkwg.js → openai-completions-gygw5cxt.js} +8 -8
- package/dist/{openai-responses-pmatek45.js → openai-responses-8c0dgmty.js} +7 -7
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getTaskById,
|
|
28
28
|
init_db,
|
|
29
29
|
setSlackMessageTracking
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-y82m27mq.js";
|
|
31
31
|
import {
|
|
32
32
|
require_receiver,
|
|
33
33
|
require_sender,
|
|
@@ -55073,13 +55073,13 @@ async function initSlackApp() {
|
|
|
55073
55073
|
socketMode: true,
|
|
55074
55074
|
logLevel: import_bolt.LogLevel.DEBUG
|
|
55075
55075
|
});
|
|
55076
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
55077
|
-
const { registerCommandHandler } = await import("./commands-
|
|
55078
|
-
const { registerActionHandlers } = await import("./actions-
|
|
55076
|
+
const { registerMessageHandler } = await import("./handlers-m9jxp50r.js");
|
|
55077
|
+
const { registerCommandHandler } = await import("./commands-14gkjns3.js");
|
|
55078
|
+
const { registerActionHandlers } = await import("./actions-kd321p1j.js");
|
|
55079
55079
|
registerMessageHandler(app);
|
|
55080
55080
|
registerCommandHandler(app);
|
|
55081
55081
|
registerActionHandlers(app);
|
|
55082
|
-
const { createAssistant } = await import("./assistant-
|
|
55082
|
+
const { createAssistant } = await import("./assistant-6w0zb089.js");
|
|
55083
55083
|
app.assistant(createAssistant());
|
|
55084
55084
|
return app;
|
|
55085
55085
|
}
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getScriptApiTypes,
|
|
3
3
|
getScriptMcpTypes,
|
|
4
4
|
require_typescript
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-gzng1fst.js";
|
|
6
6
|
import {
|
|
7
7
|
deleteSwarmConfigByKey,
|
|
8
8
|
getAgentById,
|
|
@@ -11,12 +11,13 @@ import {
|
|
|
11
11
|
getSwarmConfigs,
|
|
12
12
|
init_db,
|
|
13
13
|
upsertSwarmConfig
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-y82m27mq.js";
|
|
15
15
|
import {
|
|
16
16
|
init_secret_scrubber,
|
|
17
17
|
scrubSecrets
|
|
18
18
|
} from "./cli-4j2mrzag.js";
|
|
19
19
|
import {
|
|
20
|
+
__require,
|
|
20
21
|
__toESM
|
|
21
22
|
} from "./cli-p9swy5t3.js";
|
|
22
23
|
|
|
@@ -121,8 +122,26 @@ async function ensureAgentFsSharedProvisioning(options) {
|
|
|
121
122
|
process.env[key] = value;
|
|
122
123
|
upsertSwarmConfig({ scope: "global", key, value, isSecret: false, description });
|
|
123
124
|
}
|
|
125
|
+
process.env.AGENT_FS_API_URL = apiUrl;
|
|
126
|
+
const { resetFileStorageProvider } = await import("./registry-wejfsj31.js");
|
|
127
|
+
resetFileStorageProvider();
|
|
124
128
|
return { apiUrl, apiKey, orgId, driveId, authHeaders };
|
|
125
129
|
}
|
|
130
|
+
async function inviteEmailToSharedOrg(email, role) {
|
|
131
|
+
const shared = await ensureAgentFsSharedProvisioning();
|
|
132
|
+
const currentRoles = await getCurrentOrgMemberRoles(shared.apiUrl, shared.authHeaders, shared.orgId);
|
|
133
|
+
const currentRole = currentRoles.get(email.trim().toLowerCase());
|
|
134
|
+
if (currentRole && roleRank(currentRole) >= roleRank(role)) {
|
|
135
|
+
return { orgId: shared.orgId, invited: false };
|
|
136
|
+
}
|
|
137
|
+
await agentFsRequest(shared.apiUrl, `/orgs/${encodeURIComponent(shared.orgId)}/members/invite`, {
|
|
138
|
+
method: "POST",
|
|
139
|
+
headers: shared.authHeaders,
|
|
140
|
+
body: { email: email.trim(), role },
|
|
141
|
+
allowConflict: true
|
|
142
|
+
});
|
|
143
|
+
return { orgId: shared.orgId, invited: true };
|
|
144
|
+
}
|
|
126
145
|
async function ensureAgentFsCredentialsForAgent(agentId) {
|
|
127
146
|
const apiUrl = resolveApiUrl();
|
|
128
147
|
if (!apiUrl)
|
|
@@ -1203,4 +1222,4 @@ function extractScriptSignature(source) {
|
|
|
1203
1222
|
return FALLBACK_SIGNATURE;
|
|
1204
1223
|
}
|
|
1205
1224
|
|
|
1206
|
-
export { agentFsProvisionSeeder, ensureAgentFsCredentialsForAgent, extractArgsJsonSchema, scriptSdkTypesWithGeneratedApis, scriptStdlibTypesWithGeneratedApis, typecheckScript, extractScriptSignature };
|
|
1225
|
+
export { agentFsProvisionSeeder, inviteEmailToSharedOrg, ensureAgentFsCredentialsForAgent, extractArgsJsonSchema, scriptSdkTypesWithGeneratedApis, scriptStdlibTypesWithGeneratedApis, typecheckScript, extractScriptSignature };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./cli-jkhwmmgg.js";
|
|
4
4
|
import {
|
|
5
5
|
embedScript
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-xgefj1nz.js";
|
|
7
7
|
import {
|
|
8
8
|
calculatePKCECodeChallenge,
|
|
9
9
|
generateRandomCodeVerifier,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
init_date_utils,
|
|
23
23
|
init_db,
|
|
24
24
|
normalizeDateRequired
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-y82m27mq.js";
|
|
26
26
|
import {
|
|
27
27
|
init_zod
|
|
28
28
|
} from "./cli-bw80ck94.js";
|
|
@@ -18654,7 +18654,7 @@ function amazonBedrockProvider() {
|
|
|
18654
18654
|
}
|
|
18655
18655
|
|
|
18656
18656
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-completions.lazy.js
|
|
18657
|
-
var openAICompletionsApi = () => lazyApi(() => import("./openai-completions-
|
|
18657
|
+
var openAICompletionsApi = () => lazyApi(() => import("./openai-completions-gygw5cxt.js"));
|
|
18658
18658
|
|
|
18659
18659
|
// node_modules/@earendil-works/pi-ai/dist/auth/helpers.js
|
|
18660
18660
|
function envApiKeyAuth(name, envVars) {
|
|
@@ -18738,7 +18738,7 @@ function anthropicProvider() {
|
|
|
18738
18738
|
}
|
|
18739
18739
|
|
|
18740
18740
|
// node_modules/@earendil-works/pi-ai/dist/api/azure-openai-responses.lazy.js
|
|
18741
|
-
var azureOpenAIResponsesApi = () => lazyApi(() => import("./azure-openai-responses-
|
|
18741
|
+
var azureOpenAIResponsesApi = () => lazyApi(() => import("./azure-openai-responses-f57n5qy7.js"));
|
|
18742
18742
|
|
|
18743
18743
|
// node_modules/@earendil-works/pi-ai/dist/providers/azure-openai-responses.js
|
|
18744
18744
|
function azureOpenAIResponsesProvider() {
|
|
@@ -18764,7 +18764,7 @@ function cerebrasProvider() {
|
|
|
18764
18764
|
}
|
|
18765
18765
|
|
|
18766
18766
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-responses.lazy.js
|
|
18767
|
-
var openAIResponsesApi = () => lazyApi(() => import("./openai-responses-
|
|
18767
|
+
var openAIResponsesApi = () => lazyApi(() => import("./openai-responses-8c0dgmty.js"));
|
|
18768
18768
|
|
|
18769
18769
|
// node_modules/@earendil-works/pi-ai/dist/providers/cloudflare-auth.js
|
|
18770
18770
|
var CLOUDFLARE_API_KEY = "CLOUDFLARE_API_KEY";
|
|
@@ -18938,7 +18938,7 @@ function googleProvider() {
|
|
|
18938
18938
|
}
|
|
18939
18939
|
|
|
18940
18940
|
// node_modules/@earendil-works/pi-ai/dist/api/google-vertex.lazy.js
|
|
18941
|
-
var googleVertexApi = () => lazyApi(() => import("./google-vertex-
|
|
18941
|
+
var googleVertexApi = () => lazyApi(() => import("./google-vertex-9hhq68sw.js"));
|
|
18942
18942
|
|
|
18943
18943
|
// node_modules/@earendil-works/pi-ai/dist/providers/google-vertex.js
|
|
18944
18944
|
var VERTEX_ADC_PATH = "~/.config/gcloud/application_default_credentials.json";
|
|
@@ -19029,7 +19029,7 @@ function minimaxCnProvider() {
|
|
|
19029
19029
|
}
|
|
19030
19030
|
|
|
19031
19031
|
// node_modules/@earendil-works/pi-ai/dist/api/mistral-conversations.lazy.js
|
|
19032
|
-
var mistralConversationsApi = () => lazyApi(() => import("./mistral-conversations-
|
|
19032
|
+
var mistralConversationsApi = () => lazyApi(() => import("./mistral-conversations-tn4sj5qv.js"));
|
|
19033
19033
|
|
|
19034
19034
|
// node_modules/@earendil-works/pi-ai/dist/providers/mistral.js
|
|
19035
19035
|
function mistralProvider() {
|
|
@@ -19092,7 +19092,7 @@ function openaiProvider() {
|
|
|
19092
19092
|
}
|
|
19093
19093
|
|
|
19094
19094
|
// node_modules/@earendil-works/pi-ai/dist/api/openai-codex-responses.lazy.js
|
|
19095
|
-
var openAICodexResponsesApi = () => lazyApi(() => import("./openai-codex-responses-
|
|
19095
|
+
var openAICodexResponsesApi = () => lazyApi(() => import("./openai-codex-responses-bex0bpn6.js"));
|
|
19096
19096
|
|
|
19097
19097
|
// node_modules/@earendil-works/pi-ai/dist/providers/openai-codex.js
|
|
19098
19098
|
function openaiCodexProvider() {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
checkClaudeManagedCredentials
|
|
3
|
+
} from "./cli-sznberje.js";
|
|
1
4
|
import {
|
|
2
5
|
checkDevinCredentials
|
|
3
6
|
} from "./cli-tyfxrrdd.js";
|
|
@@ -6,10 +9,7 @@ import {
|
|
|
6
9
|
} from "./cli-bc89my0z.js";
|
|
7
10
|
import {
|
|
8
11
|
checkCodexCredentials
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import {
|
|
11
|
-
checkClaudeManagedCredentials
|
|
12
|
-
} from "./cli-sznberje.js";
|
|
12
|
+
} from "./cli-dh9eb7tt.js";
|
|
13
13
|
import {
|
|
14
14
|
initOtel,
|
|
15
15
|
injectTraceContext,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
withSpan,
|
|
20
20
|
withSpanContext,
|
|
21
21
|
writeSkillsToFilesystem
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-eb3s7zwh.js";
|
|
23
23
|
import {
|
|
24
24
|
authJsonToCredentialSelection,
|
|
25
25
|
credentialsToAuthJson,
|
|
@@ -41,10 +41,10 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
ensure,
|
|
43
43
|
initialize
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-yzxg93ma.js";
|
|
45
45
|
import {
|
|
46
46
|
validateJsonSchema
|
|
47
|
-
} from "./cli-
|
|
47
|
+
} from "./cli-j5da6jb2.js";
|
|
48
48
|
import {
|
|
49
49
|
getApiKey
|
|
50
50
|
} from "./cli-f14fvzag.js";
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
resolveTaskModelSelection,
|
|
81
81
|
resolveTemplateAsync,
|
|
82
82
|
telemetry
|
|
83
|
-
} from "./cli-
|
|
83
|
+
} from "./cli-y82m27mq.js";
|
|
84
84
|
import {
|
|
85
85
|
init_credentials,
|
|
86
86
|
resolveCredentialPools
|
|
@@ -453,11 +453,11 @@ async function createProviderAdapter(provider) {
|
|
|
453
453
|
return new ClaudeAdapter;
|
|
454
454
|
}
|
|
455
455
|
case "pi": {
|
|
456
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
456
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-erghwha0.js");
|
|
457
457
|
return new PiMonoAdapter;
|
|
458
458
|
}
|
|
459
459
|
case "codex": {
|
|
460
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
460
|
+
const { CodexAdapter } = await import("./codex-adapter-efskwfc4.js");
|
|
461
461
|
return new CodexAdapter;
|
|
462
462
|
}
|
|
463
463
|
case "claude-managed": {
|
|
@@ -1117,7 +1117,7 @@ async function checkProviderCredentials(provider, env, opts) {
|
|
|
1117
1117
|
case "opencode":
|
|
1118
1118
|
return checkOpencodeCredentials(env, opts);
|
|
1119
1119
|
case "pi": {
|
|
1120
|
-
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-
|
|
1120
|
+
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-erghwha0.js");
|
|
1121
1121
|
return checkPiMonoCredentials(env, opts);
|
|
1122
1122
|
}
|
|
1123
1123
|
default:
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getApiKey
|
|
3
3
|
} from "./cli-f14fvzag.js";
|
|
4
|
+
import {
|
|
5
|
+
ensureTokenOrThrow,
|
|
6
|
+
getOAuthApp,
|
|
7
|
+
getOAuthTokens,
|
|
8
|
+
isTokenExpiringSoon,
|
|
9
|
+
oauthAppRowToProviderConfig
|
|
10
|
+
} from "./cli-p4yn675m.js";
|
|
4
11
|
import {
|
|
5
12
|
CredentialBroker,
|
|
6
13
|
DEFAULT_CREDENTIAL_BINDINGS,
|
|
@@ -11,17 +18,10 @@ import {
|
|
|
11
18
|
getScriptVersion,
|
|
12
19
|
listRelationalCredentialBindings,
|
|
13
20
|
validateScriptImports
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import {
|
|
16
|
-
ensureTokenOrThrow,
|
|
17
|
-
getOAuthApp,
|
|
18
|
-
getOAuthTokens,
|
|
19
|
-
isTokenExpiringSoon,
|
|
20
|
-
oauthAppRowToProviderConfig
|
|
21
|
-
} from "./cli-gq46dx9q.js";
|
|
21
|
+
} from "./cli-gzng1fst.js";
|
|
22
22
|
import {
|
|
23
23
|
withSiblingAwareness
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-td2x0s9b.js";
|
|
25
25
|
import {
|
|
26
26
|
getAppUrl
|
|
27
27
|
} from "./cli-dh55d5fg.js";
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
updateWorkflowRun,
|
|
73
73
|
updateWorkflowRunStep,
|
|
74
74
|
workflowContextKey
|
|
75
|
-
} from "./cli-
|
|
75
|
+
} from "./cli-y82m27mq.js";
|
|
76
76
|
import {
|
|
77
77
|
init_zod
|
|
78
78
|
} from "./cli-bw80ck94.js";
|
|
@@ -2617,7 +2617,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
2617
2617
|
}
|
|
2618
2618
|
if (notification.channel === "slack") {
|
|
2619
2619
|
try {
|
|
2620
|
-
const { getSlackApp } = await import("./app-
|
|
2620
|
+
const { getSlackApp } = await import("./app-p1gqacgd.js");
|
|
2621
2621
|
const slackApp = getSlackApp();
|
|
2622
2622
|
if (!slackApp) {
|
|
2623
2623
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -2731,7 +2731,7 @@ class NotifyExecutor extends BaseExecutor {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
}
|
|
2733
2733
|
case "slack": {
|
|
2734
|
-
const { getSlackApp } = await import("./app-
|
|
2734
|
+
const { getSlackApp } = await import("./app-p1gqacgd.js");
|
|
2735
2735
|
const app = getSlackApp();
|
|
2736
2736
|
if (!app) {
|
|
2737
2737
|
return {
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
linkIdentity,
|
|
5
5
|
recordUnmappedIdentity,
|
|
6
6
|
resolveIdentity
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-3sew4a9j.js";
|
|
8
8
|
import {
|
|
9
9
|
getKv,
|
|
10
10
|
init_db,
|
|
11
11
|
upsertKv
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-y82m27mq.js";
|
|
13
13
|
|
|
14
14
|
// src/slack/enrich.ts
|
|
15
15
|
init_db();
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
getEmbeddingProvider,
|
|
5
5
|
init_embedding,
|
|
6
6
|
serializeEmbedding
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-6expbmb3.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb,
|
|
10
10
|
init_db
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-y82m27mq.js";
|
|
12
12
|
import {
|
|
13
13
|
init_secret_scrubber,
|
|
14
14
|
scrubSecrets
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
handleScheduleTrigger,
|
|
5
5
|
runScript,
|
|
6
6
|
startWorkflowExecution
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-j5da6jb2.js";
|
|
8
8
|
import {
|
|
9
9
|
getScript,
|
|
10
10
|
getScriptApiConnectionDescriptors,
|
|
11
11
|
getScriptMcpConnectionDescriptors
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-gzng1fst.js";
|
|
13
13
|
import {
|
|
14
14
|
createTaskWithSiblingAwareness
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-td2x0s9b.js";
|
|
16
16
|
import {
|
|
17
17
|
getDb,
|
|
18
18
|
getDueScheduledTasks,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
scheduleContextKey,
|
|
25
25
|
telemetry,
|
|
26
26
|
updateScheduledTask
|
|
27
|
-
} from "./cli-
|
|
27
|
+
} from "./cli-y82m27mq.js";
|
|
28
28
|
import {
|
|
29
29
|
__commonJS,
|
|
30
30
|
__require,
|
package/dist/cli.js
CHANGED
|
@@ -13,16 +13,16 @@ import"./cli-ap1czx8f.js";
|
|
|
13
13
|
import"./cli-v69vk5h0.js";
|
|
14
14
|
import {
|
|
15
15
|
bedrockProviderModule
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-0qy7bk86.js";
|
|
17
17
|
import"./cli-cwy5hqbq.js";
|
|
18
18
|
import"./cli-jvv0g8bh.js";
|
|
19
19
|
import {
|
|
20
20
|
setBedrockProviderModule
|
|
21
21
|
} from "./cli-xw7p4wkq.js";
|
|
22
22
|
import"./cli-hv2fndhm.js";
|
|
23
|
-
import"./cli-pscrc6tw.js";
|
|
24
23
|
import"./cli-zyxs93y9.js";
|
|
25
24
|
import"./cli-4wgngmwv.js";
|
|
25
|
+
import"./cli-pscrc6tw.js";
|
|
26
26
|
import"./cli-bsyka9ta.js";
|
|
27
27
|
import"./cli-vapyk8sw.js";
|
|
28
28
|
import"./cli-y2apkfe2.js";
|
|
@@ -64,7 +64,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
64
64
|
// package.json
|
|
65
65
|
var package_default = {
|
|
66
66
|
name: "@desplega.ai/agent-swarm",
|
|
67
|
-
version: "1.119.
|
|
67
|
+
version: "1.119.3",
|
|
68
68
|
description: "Multi-agent orchestration for Claude Code, Codex, Gemini CLI, and other AI coding assistants",
|
|
69
69
|
license: "MIT",
|
|
70
70
|
author: "desplega.sh <contact@desplega.sh>",
|
|
@@ -654,7 +654,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
654
654
|
if (dbPath) {
|
|
655
655
|
process.env.DATABASE_PATH = dbPath;
|
|
656
656
|
}
|
|
657
|
-
import("./http-
|
|
657
|
+
import("./http-hhmh7m51.js").then(() => {
|
|
658
658
|
setStatus("running");
|
|
659
659
|
}).catch((err) => {
|
|
660
660
|
setStatus("error");
|
|
@@ -740,7 +740,7 @@ function WorkerRunner({
|
|
|
740
740
|
}) {
|
|
741
741
|
const { exit } = use_app_default();
|
|
742
742
|
import_react.useEffect(() => {
|
|
743
|
-
import("./worker-
|
|
743
|
+
import("./worker-xse3rpzd.js").then(({ runWorker }) => runWorker({
|
|
744
744
|
prompt: prompt || undefined,
|
|
745
745
|
yolo,
|
|
746
746
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -757,7 +757,7 @@ function WorkerRunner({
|
|
|
757
757
|
function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalArgs }) {
|
|
758
758
|
const { exit } = use_app_default();
|
|
759
759
|
import_react.useEffect(() => {
|
|
760
|
-
import("./lead-
|
|
760
|
+
import("./lead-pshn5w58.js").then(({ runLead }) => runLead({
|
|
761
761
|
prompt: prompt || undefined,
|
|
762
762
|
yolo,
|
|
763
763
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -797,8 +797,8 @@ function LazyComponent({
|
|
|
797
797
|
}
|
|
798
798
|
return import_react.createElement(Component, props);
|
|
799
799
|
}
|
|
800
|
-
var loadOnboard = () => import("./onboard-
|
|
801
|
-
var loadConnect = () => import("./setup-
|
|
800
|
+
var loadOnboard = () => import("./onboard-g8911158.js").then(({ Onboard }) => Onboard);
|
|
801
|
+
var loadConnect = () => import("./setup-z2s4vqf3.js").then(({ Setup }) => Setup);
|
|
802
802
|
function UnknownCommand({ command }) {
|
|
803
803
|
const { exit } = use_app_default();
|
|
804
804
|
import_react.useEffect(() => {
|
|
@@ -911,7 +911,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
911
911
|
}
|
|
912
912
|
process.exit(0);
|
|
913
913
|
} else if (args.command === "hook") {
|
|
914
|
-
const { runHook } = await import("./hook-
|
|
914
|
+
const { runHook } = await import("./hook-mm8mj3cp.js");
|
|
915
915
|
await runHook();
|
|
916
916
|
} else if (args.command === "artifact") {
|
|
917
917
|
const artifactArgs = process.argv.slice(process.argv.indexOf("artifact") + 1);
|
|
@@ -931,7 +931,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
931
931
|
printHelp("scripts");
|
|
932
932
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
933
933
|
}
|
|
934
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
934
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-rbjav7ey.js");
|
|
935
935
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
936
936
|
console.log("Scripts re-embedded.");
|
|
937
937
|
} else if (args.command === "rbac") {
|
|
@@ -941,17 +941,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
941
941
|
printHelp("rbac");
|
|
942
942
|
process.exit(args.showHelp ? 0 : 1);
|
|
943
943
|
}
|
|
944
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
944
|
+
const { runRbacCliCommand } = await import("./rbac-roles-ksnmkjzf.js");
|
|
945
945
|
await runRbacCliCommand(rbacArgs);
|
|
946
946
|
} else if (args.command === "codex-login") {
|
|
947
947
|
const { runCodexLogin } = await import("./codex-login-0h18cy3e.js");
|
|
948
948
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
949
949
|
await runCodexLogin(codexLoginArgs);
|
|
950
950
|
} else if (args.command === "codex-session-runner") {
|
|
951
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
951
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-n7ad0jdv.js");
|
|
952
952
|
await runCodexSessionRunner();
|
|
953
953
|
} else if (args.command === "claude-managed-setup") {
|
|
954
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
954
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-eac00cqn.js");
|
|
955
955
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
956
956
|
await runClaudeManagedSetup(setupArgs);
|
|
957
957
|
} else if (args.command === "e2b") {
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
createInProcessCodexSession,
|
|
7
7
|
resolveCodexAuthMode,
|
|
8
8
|
resolveCodexRunnerArgv
|
|
9
|
-
} from "./cli-
|
|
10
|
-
import"./cli-r94z9p1z.js";
|
|
11
|
-
import"./cli-e7306swv.js";
|
|
12
|
-
import"./cli-hx1dcevq.js";
|
|
9
|
+
} from "./cli-dh9eb7tt.js";
|
|
13
10
|
import"./cli-07er7wrs.js";
|
|
11
|
+
import"./cli-r94z9p1z.js";
|
|
14
12
|
import"./cli-d6n0thxw.js";
|
|
13
|
+
import"./cli-hcpm1e90.js";
|
|
15
14
|
import"./cli-yv9dttkh.js";
|
|
15
|
+
import"./cli-hx1dcevq.js";
|
|
16
16
|
import"./cli-ftyf58xj.js";
|
|
17
17
|
import"./cli-tk9vyqzh.js";
|
|
18
18
|
import"./cli-psrqtw2m.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-r94z9p1z.js";
|
|
5
|
-
import"./cli-e7306swv.js";
|
|
6
|
-
import"./cli-hx1dcevq.js";
|
|
3
|
+
} from "./cli-dh9eb7tt.js";
|
|
7
4
|
import"./cli-07er7wrs.js";
|
|
5
|
+
import"./cli-r94z9p1z.js";
|
|
8
6
|
import"./cli-d6n0thxw.js";
|
|
7
|
+
import"./cli-hcpm1e90.js";
|
|
9
8
|
import"./cli-yv9dttkh.js";
|
|
9
|
+
import"./cli-hx1dcevq.js";
|
|
10
10
|
import"./cli-ftyf58xj.js";
|
|
11
11
|
import"./cli-tk9vyqzh.js";
|
|
12
12
|
import"./cli-psrqtw2m.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-y82m27mq.js";
|
|
6
6
|
import"./cli-z2zcxes1.js";
|
|
7
7
|
import"./cli-bw80ck94.js";
|
|
8
8
|
import"./cli-xz9aq0rf.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-cx30v78p.js";
|
|
10
10
|
import"./cli-4j2mrzag.js";
|
|
11
11
|
import"./cli-p9swy5t3.js";
|
|
12
12
|
|
|
@@ -397,11 +397,11 @@ import {
|
|
|
397
397
|
upsertSkillFiles,
|
|
398
398
|
upsertSwarmConfig,
|
|
399
399
|
withFavoriteFlags
|
|
400
|
-
} from "./cli-
|
|
400
|
+
} from "./cli-y82m27mq.js";
|
|
401
401
|
import"./cli-z2zcxes1.js";
|
|
402
402
|
import"./cli-bw80ck94.js";
|
|
403
403
|
import"./cli-xz9aq0rf.js";
|
|
404
|
-
import"./cli-
|
|
404
|
+
import"./cli-cx30v78p.js";
|
|
405
405
|
import"./cli-4j2mrzag.js";
|
|
406
406
|
import"./cli-p9swy5t3.js";
|
|
407
407
|
init_db();
|
|
@@ -3,31 +3,31 @@ import {
|
|
|
3
3
|
getBufferMessageCount,
|
|
4
4
|
instantFlush,
|
|
5
5
|
wasEventSeen
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-9aqtt1dn.js";
|
|
7
7
|
import {
|
|
8
8
|
extractSlackMessageText,
|
|
9
9
|
extractTaskFromMessage,
|
|
10
10
|
hasOtherUserMention,
|
|
11
11
|
routeMessage
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-9y4z25ke.js";
|
|
13
13
|
import {
|
|
14
14
|
registerTreeMessage
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-emgzr4ja.js";
|
|
16
16
|
import"./cli-rkndnn90.js";
|
|
17
17
|
import"./cli-b0p7rfnd.js";
|
|
18
18
|
import {
|
|
19
19
|
enrichSlackUserEmail,
|
|
20
20
|
resolveSlackUserId,
|
|
21
21
|
rewriteSlackMentions
|
|
22
|
-
} from "./cli-
|
|
23
|
-
import"./cli-
|
|
22
|
+
} from "./cli-j6n9at34.js";
|
|
23
|
+
import"./cli-3sew4a9j.js";
|
|
24
|
+
import {
|
|
25
|
+
createTaskWithSiblingAwareness
|
|
26
|
+
} from "./cli-td2x0s9b.js";
|
|
24
27
|
import {
|
|
25
28
|
buildTreeBlocks
|
|
26
29
|
} from "./cli-ma04faw5.js";
|
|
27
30
|
import"./cli-wspgs9bt.js";
|
|
28
|
-
import {
|
|
29
|
-
createTaskWithSiblingAwareness
|
|
30
|
-
} from "./cli-226nz7j1.js";
|
|
31
31
|
import"./cli-dh55d5fg.js";
|
|
32
32
|
import {
|
|
33
33
|
getAgentById,
|
|
@@ -40,11 +40,11 @@ import {
|
|
|
40
40
|
init_resolver,
|
|
41
41
|
resolveTemplate,
|
|
42
42
|
slackContextKey
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-y82m27mq.js";
|
|
44
44
|
import"./cli-z2zcxes1.js";
|
|
45
45
|
import"./cli-bw80ck94.js";
|
|
46
46
|
import"./cli-xz9aq0rf.js";
|
|
47
|
-
import"./cli-
|
|
47
|
+
import"./cli-cx30v78p.js";
|
|
48
48
|
import"./cli-4j2mrzag.js";
|
|
49
49
|
import"./cli-e15jhafb.js";
|
|
50
50
|
import {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
summarizeSession
|
|
3
|
-
} from "./cli-
|
|
4
|
-
import"./cli-hx1dcevq.js";
|
|
3
|
+
} from "./cli-hcpm1e90.js";
|
|
5
4
|
import {
|
|
6
5
|
checkToolLoop,
|
|
7
6
|
clearToolHistory
|
|
8
7
|
} from "./cli-yv9dttkh.js";
|
|
8
|
+
import"./cli-hx1dcevq.js";
|
|
9
9
|
import {
|
|
10
10
|
buildRatingsFromLlm,
|
|
11
11
|
dedupeRetrievalsForRater,
|
|
@@ -30,7 +30,7 @@ import"./cli-xz9aq0rf.js";
|
|
|
30
30
|
import {
|
|
31
31
|
init_package,
|
|
32
32
|
package_default
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-cx30v78p.js";
|
|
34
34
|
import"./cli-4j2mrzag.js";
|
|
35
35
|
import"./cli-xw7p4wkq.js";
|
|
36
36
|
import"./cli-zyxs93y9.js";
|