@desplega.ai/agent-swarm 1.114.0 → 1.115.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/dist/{actions-bm8vdxys.js → actions-17ya5wde.js} +6 -6
- package/dist/{app-bhwdxmvp.js → app-4f718yk0.js} +4 -4
- package/dist/{assistant-15mp2apr.js → assistant-ah7csnjz.js} +9 -9
- package/dist/{boot-reembed-awr2179r.js → boot-reembed-4jpxhb25.js} +4 -4
- package/dist/{boot-reembed-b9sbk87z.js → boot-reembed-qata34xa.js} +3 -3
- package/dist/{boot-scrub-logs-c1zsaw9m.js → boot-scrub-logs-tv48nn3z.js} +2 -2
- package/dist/{claude-adapter-2k45y7p7.js → claude-adapter-3csn5bks.js} +2 -2
- package/dist/{cli-zmmp2r79.js → cli-12vb0xg6.js} +13 -2
- package/dist/{cli-jzwtn8rm.js → cli-15y7qhzp.js} +188 -18
- package/dist/{cli-w3nq88yc.js → cli-3samkyap.js} +2 -2
- package/dist/{cli-7rgh0w0k.js → cli-52fg7s7x.js} +10 -3
- package/dist/{cli-5afkmcfj.js → cli-65ekje01.js} +6 -6
- package/dist/{cli-113wmegp.js → cli-6aq8xhvm.js} +1 -1
- package/dist/{cli-byjcad11.js → cli-7xje5amz.js} +1 -1
- package/dist/{cli-0kgcv878.js → cli-86fdnerz.js} +63 -2
- package/dist/{cli-f5pzfvwb.js → cli-b23axgz4.js} +1 -1
- package/dist/{cli-a0t7vapf.js → cli-bc89my0z.js} +1 -1
- package/dist/{cli-q4e2x252.js → cli-beea4a3y.js} +73 -24
- package/dist/{cli-w4wk3kx6.js → cli-cchksf5q.js} +2 -2
- package/dist/{cli-f9n2jg31.js → cli-cmw9rzy5.js} +2 -2
- package/dist/{cli-hvg05qwm.js → cli-cnwssmsr.js} +1 -1
- package/dist/{cli-2t4e4ayk.js → cli-dcca6j8m.js} +46 -5
- package/dist/{cli-tkmm5nf9.js → cli-e61fs2hp.js} +59 -2
- package/dist/{cli-e2xbxmhd.js → cli-hrhye2rm.js} +90 -32
- package/dist/{cli-312v3c41.js → cli-k3y4z3h5.js} +1 -1
- package/dist/{cli-6xd0bvf8.js → cli-ma04faw5.js} +1 -1
- package/dist/{cli-ggy8c7tk.js → cli-mnbgv3w7.js} +1 -1
- package/dist/{cli-hq39e630.js → cli-pet3aev6.js} +95 -10
- package/dist/{cli-a6tzw6vq.js → cli-q1rx7g0d.js} +6 -6
- package/dist/{cli-pnfyyp6h.js → cli-r9f6ngrf.js} +6 -3
- package/dist/{cli-q1z5d5ss.js → cli-shvaxw27.js} +4 -4
- package/dist/{cli-49j095n9.js → cli-t0vqevnm.js} +1 -1
- package/dist/{cli-k6h2zkw3.js → cli-tece6zgm.js} +1 -1
- package/dist/{cli-5ktc9fd4.js → cli-tffvrh6j.js} +1 -1
- package/dist/cli-wh91zby6.js +187222 -0
- package/dist/{cli-r3mtrrzp.js → cli-zsrdty74.js} +12 -12
- package/dist/cli.js +10 -10
- package/dist/{codex-adapter-4z8m9mb5.js → codex-adapter-de3w0nch.js} +2 -2
- package/dist/{codex-session-runner-rbct46dg.js → codex-session-runner-bnw8cysk.js} +2 -2
- package/dist/{commands-zk4d6esf.js → commands-hch4e2k1.js} +2 -2
- package/dist/{db-stn16jp2.js → db-p3h2j06x.js} +12 -2
- package/dist/{handlers-gshprvpf.js → handlers-9er4zx9q.js} +9 -9
- package/dist/{hook-amzx9tap.js → hook-4axs756z.js} +1 -1
- package/dist/{http-6g0hfzax.js → http-809fvtz2.js} +182 -65
- package/dist/{index-ty42rxw9.js → index-47em3d2n.js} +10 -10
- package/dist/{index-jbm7qcqk.js → index-9fqaktjr.js} +8 -8
- package/dist/{index-f03rnnrs.js → index-9ht8gr56.js} +9 -9
- package/dist/{index-df8fmphk.js → index-rm85cfdx.js} +331 -30
- package/dist/{keepalive-pm6g2wpw.js → keepalive-3cps6e3e.js} +4 -4
- package/dist/{lead-h79fzpzw.js → lead-fkk95wgq.js} +24 -24
- package/dist/{maintenance-433zndy1.js → maintenance-fweqh0yj.js} +4 -4
- package/dist/{oauth-refresh-sweep-mjsbmsk2.js → oauth-refresh-sweep-sycqtbph.js} +3 -3
- package/dist/{onboard-vdr9hc3f.js → onboard-cy0rkgvx.js} +2 -2
- package/dist/{opencode-adapter-mqsxr170.js → opencode-adapter-p6bxnbm4.js} +2 -2
- package/dist/{otel-impl-yswd0fty.js → otel-impl-wbns8hf7.js} +1 -1
- package/dist/{pi-mono-adapter-vbrvg1p8.js → pi-mono-adapter-05sck1ds.js} +1 -1
- package/dist/{pricing-refresh-2kk2ap9b.js → pricing-refresh-0hvazmkf.js} +4 -4
- package/dist/{rbac-roles-xdc5208b.js → rbac-roles-kfesjy9y.js} +4 -4
- package/dist/{rbac-roles-2wgh9b5t.js → rbac-roles-mwcwhbxc.js} +11 -4
- package/dist/{seed-pricing-m9h69d2t.js → seed-pricing-h2kdq4cq.js} +3 -3
- package/dist/{setup-eynkvafa.js → setup-8506q97w.js} +2 -2
- package/dist/{worker-136q8dc2.js → worker-4r5c6zyb.js} +24 -24
- package/openapi.json +8 -4
- package/package.json +1 -1
- package/src/be/db.ts +253 -20
- package/src/be/migrations/113_task_routing_affinity.sql +9 -0
- package/src/be/migrations/114_backfill_gpt_5_6_pricing.sql +15 -0
- package/src/be/modelsdev-cache.json +135 -0
- package/src/be/rbac-audit.ts +19 -8
- package/src/be/rbac-roles.ts +8 -1
- package/src/be/script-connections.ts +4 -4
- package/src/be/scripts/typecheck.ts +11 -0
- package/src/be/seed-scripts/catalog/catalog-report.inline.ts +325 -24
- package/src/be/seed-scripts/catalog/catalog-report.ts +325 -24
- package/src/heartbeat/heartbeat.ts +143 -21
- package/src/http/favorites.ts +1 -5
- package/src/http/mcp-servers.ts +38 -0
- package/src/http/poll.ts +7 -2
- package/src/http/scripts.ts +6 -0
- package/src/http/skills.ts +11 -0
- package/src/http/tasks.ts +21 -9
- package/src/providers/codex-models.ts +100 -30
- package/src/providers/modelsdev-reasoning.json +51 -0
- package/src/providers/reasoning-effort.ts +11 -5
- package/src/rbac/admission.ts +26 -2
- package/src/rbac/index.ts +2 -2
- package/src/rbac/legacy-policy.ts +9 -0
- package/src/rbac/permissions.ts +36 -0
- package/src/scripts-runtime/api-client.ts +82 -6
- package/src/scripts-runtime/types/swarm-sdk.d.ts +11 -0
- package/src/server-user.ts +114 -59
- package/src/slack/responses.ts +91 -1
- package/src/slack/watcher.ts +9 -6
- package/src/tasks/worker-follow-up.ts +100 -3
- package/src/tests/codex-adapter.test.ts +46 -23
- package/src/tests/heartbeat.test.ts +48 -3
- package/src/tests/model-control.test.ts +8 -2
- package/src/tests/pool-affinity.test.ts +401 -0
- package/src/tests/rbac-admission-e2e.test.ts +152 -7
- package/src/tests/rbac-admission.test.ts +60 -1
- package/src/tests/rbac-engine.test.ts +9 -0
- package/src/tests/rbac-mcp-admission-e2e.test.ts +362 -0
- package/src/tests/rbac-roles.test.ts +2 -0
- package/src/tests/reasoning-effort.test.ts +15 -2
- package/src/tests/script-apis-mcp.test.ts +37 -13
- package/src/tests/script-connections.test.ts +27 -1
- package/src/tests/scripts-runtime.test.ts +187 -0
- package/src/tests/seed-scripts.test.ts +36 -0
- package/src/tests/slack-inline-output.test.ts +65 -0
- package/src/tests/user-token-rest-auth.test.ts +110 -0
- package/src/tools/script-apis.ts +62 -3
- package/src/tools/send-task.ts +15 -1
- package/src/tools/task-action.ts +34 -2
- package/src/tools/templates.ts +48 -0
- package/src/tools/utils.ts +2 -0
- package/src/types.ts +27 -5
- package/dist/cli-46b6kc7f.js +0 -1698
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./cli-tyfxrrdd.js";
|
|
4
4
|
import {
|
|
5
5
|
checkOpencodeCredentials
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-bc89my0z.js";
|
|
7
7
|
import {
|
|
8
8
|
checkCodexCredentials
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-wh91zby6.js";
|
|
10
10
|
import {
|
|
11
11
|
checkClaudeManagedCredentials
|
|
12
12
|
} from "./cli-sznberje.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
withSpan,
|
|
19
19
|
withSpanContext,
|
|
20
20
|
writeSkillsToFilesystem
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-hrhye2rm.js";
|
|
22
22
|
import {
|
|
23
23
|
authJsonToCredentialSelection,
|
|
24
24
|
credentialsToAuthJson,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./cli-tk9vyqzh.js";
|
|
27
27
|
import {
|
|
28
28
|
checkClaudeCredentials
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-mnbgv3w7.js";
|
|
30
30
|
import {
|
|
31
31
|
MAX_RATE_LIMIT_RESET_MS,
|
|
32
32
|
isCodexCreditsExhaustedMessage,
|
|
@@ -40,10 +40,10 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
ensure,
|
|
42
42
|
initialize
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-shvaxw27.js";
|
|
44
44
|
import {
|
|
45
45
|
validateJsonSchema
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-q1rx7g0d.js";
|
|
47
47
|
import {
|
|
48
48
|
getApiKey
|
|
49
49
|
} from "./cli-f14fvzag.js";
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
resolveTaskModelSelection,
|
|
80
80
|
resolveTemplateAsync,
|
|
81
81
|
telemetry
|
|
82
|
-
} from "./cli-
|
|
82
|
+
} from "./cli-15y7qhzp.js";
|
|
83
83
|
import {
|
|
84
84
|
init_credentials,
|
|
85
85
|
resolveCredentialPools
|
|
@@ -441,15 +441,15 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
441
441
|
async function createProviderAdapter(provider) {
|
|
442
442
|
switch (provider) {
|
|
443
443
|
case "claude": {
|
|
444
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
444
|
+
const { ClaudeAdapter } = await import("./claude-adapter-3csn5bks.js");
|
|
445
445
|
return new ClaudeAdapter;
|
|
446
446
|
}
|
|
447
447
|
case "pi": {
|
|
448
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
448
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-05sck1ds.js");
|
|
449
449
|
return new PiMonoAdapter;
|
|
450
450
|
}
|
|
451
451
|
case "codex": {
|
|
452
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
452
|
+
const { CodexAdapter } = await import("./codex-adapter-de3w0nch.js");
|
|
453
453
|
return new CodexAdapter;
|
|
454
454
|
}
|
|
455
455
|
case "claude-managed": {
|
|
@@ -461,7 +461,7 @@ async function createProviderAdapter(provider) {
|
|
|
461
461
|
return new DevinAdapter;
|
|
462
462
|
}
|
|
463
463
|
case "opencode": {
|
|
464
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
464
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-p6bxnbm4.js");
|
|
465
465
|
return new OpencodeAdapter;
|
|
466
466
|
}
|
|
467
467
|
default:
|
|
@@ -1109,7 +1109,7 @@ async function checkProviderCredentials(provider, env, opts) {
|
|
|
1109
1109
|
case "opencode":
|
|
1110
1110
|
return checkOpencodeCredentials(env, opts);
|
|
1111
1111
|
case "pi": {
|
|
1112
|
-
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-
|
|
1112
|
+
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-05sck1ds.js");
|
|
1113
1113
|
return checkPiMonoCredentials(env, opts);
|
|
1114
1114
|
}
|
|
1115
1115
|
default:
|
package/dist/cli.js
CHANGED
|
@@ -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.
|
|
67
|
+
version: "1.115.0",
|
|
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-809fvtz2.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-4r5c6zyb.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-fkk95wgq.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-cy0rkgvx.js").then(({ Onboard }) => Onboard);
|
|
801
|
+
var loadConnect = () => import("./setup-8506q97w.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-4axs756z.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-fweqh0yj.js");
|
|
935
935
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
936
936
|
console.log("Scripts re-embedded.");
|
|
937
937
|
} else if (args.command === "rbac") {
|
|
@@ -941,14 +941,14 @@ ${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-mwcwhbxc.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-bnw8cysk.js");
|
|
952
952
|
await runCodexSessionRunner();
|
|
953
953
|
} else if (args.command === "claude-managed-setup") {
|
|
954
954
|
const { runClaudeManagedSetup } = await import("./claude-managed-setup-cm05wtek.js");
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createInProcessCodexSession,
|
|
7
7
|
resolveCodexAuthMode,
|
|
8
8
|
resolveCodexRunnerArgv
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-wh91zby6.js";
|
|
10
10
|
import"./cli-r94z9p1z.js";
|
|
11
11
|
import"./cli-e7306swv.js";
|
|
12
12
|
import"./cli-hx1dcevq.js";
|
|
@@ -18,7 +18,7 @@ import"./cli-tk9vyqzh.js";
|
|
|
18
18
|
import"./cli-psrqtw2m.js";
|
|
19
19
|
import"./cli-zm7njwzd.js";
|
|
20
20
|
import"./cli-tghre7g6.js";
|
|
21
|
-
import"./cli-
|
|
21
|
+
import"./cli-e61fs2hp.js";
|
|
22
22
|
import"./cli-f14fvzag.js";
|
|
23
23
|
import"./cli-bw80ck94.js";
|
|
24
24
|
import"./cli-xz9aq0rf.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-wh91zby6.js";
|
|
4
4
|
import"./cli-r94z9p1z.js";
|
|
5
5
|
import"./cli-e7306swv.js";
|
|
6
6
|
import"./cli-hx1dcevq.js";
|
|
@@ -12,7 +12,7 @@ import"./cli-tk9vyqzh.js";
|
|
|
12
12
|
import"./cli-psrqtw2m.js";
|
|
13
13
|
import"./cli-zm7njwzd.js";
|
|
14
14
|
import"./cli-tghre7g6.js";
|
|
15
|
-
import"./cli-
|
|
15
|
+
import"./cli-e61fs2hp.js";
|
|
16
16
|
import"./cli-f14fvzag.js";
|
|
17
17
|
import"./cli-bw80ck94.js";
|
|
18
18
|
import"./cli-xz9aq0rf.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-15y7qhzp.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-b23axgz4.js";
|
|
10
10
|
import"./cli-4j2mrzag.js";
|
|
11
11
|
import"./cli-p9swy5t3.js";
|
|
12
12
|
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
assignUnassignedTaskPending,
|
|
8
8
|
autoEncryptLegacyPlaintextSecrets,
|
|
9
9
|
backfillSupersedeTaskResumeTaskId,
|
|
10
|
+
buildRoutingAffinityFromAgent,
|
|
10
11
|
cancelTask,
|
|
11
12
|
cascadeFailDependents,
|
|
12
13
|
checkDependencies,
|
|
@@ -227,6 +228,7 @@ import {
|
|
|
227
228
|
getSkillFile,
|
|
228
229
|
getSkillFiles,
|
|
229
230
|
getStalePinnedResumes,
|
|
231
|
+
getStaleUnassignedAffinityTasks,
|
|
230
232
|
getStalledInProgressTasks,
|
|
231
233
|
getStepByIdempotencyKey,
|
|
232
234
|
getStepCountForNode,
|
|
@@ -251,6 +253,7 @@ import {
|
|
|
251
253
|
getTasksCount,
|
|
252
254
|
getUnassignedPoolTasks,
|
|
253
255
|
getUnassignedTaskIds,
|
|
256
|
+
getUnassignedTaskIdsForAgent,
|
|
254
257
|
getUnassignedTasksCount,
|
|
255
258
|
getUnreadInboxMessages,
|
|
256
259
|
getUnreadMessages,
|
|
@@ -281,6 +284,8 @@ import {
|
|
|
281
284
|
installMcpServer,
|
|
282
285
|
installSkill,
|
|
283
286
|
installSystemDefaultSkillsForAgent,
|
|
287
|
+
isAgentEligibleForTask,
|
|
288
|
+
isPoolAffinityEnforcementEnabled,
|
|
284
289
|
isSqliteVecAvailable,
|
|
285
290
|
listAgentsWithCredStatusByProvider,
|
|
286
291
|
listAllMetrics,
|
|
@@ -385,11 +390,11 @@ import {
|
|
|
385
390
|
upsertSkillFiles,
|
|
386
391
|
upsertSwarmConfig,
|
|
387
392
|
withFavoriteFlags
|
|
388
|
-
} from "./cli-
|
|
393
|
+
} from "./cli-15y7qhzp.js";
|
|
389
394
|
import"./cli-z2zcxes1.js";
|
|
390
395
|
import"./cli-bw80ck94.js";
|
|
391
396
|
import"./cli-xz9aq0rf.js";
|
|
392
|
-
import"./cli-
|
|
397
|
+
import"./cli-b23axgz4.js";
|
|
393
398
|
import"./cli-4j2mrzag.js";
|
|
394
399
|
import"./cli-p9swy5t3.js";
|
|
395
400
|
init_db();
|
|
@@ -499,6 +504,8 @@ export {
|
|
|
499
504
|
listAllMetrics,
|
|
500
505
|
listAgentsWithCredStatusByProvider,
|
|
501
506
|
isSqliteVecAvailable,
|
|
507
|
+
isPoolAffinityEnforcementEnabled,
|
|
508
|
+
isAgentEligibleForTask,
|
|
502
509
|
installSystemDefaultSkillsForAgent,
|
|
503
510
|
installSkill,
|
|
504
511
|
installMcpServer,
|
|
@@ -528,6 +535,7 @@ export {
|
|
|
528
535
|
getUnreadMessages,
|
|
529
536
|
getUnreadInboxMessages,
|
|
530
537
|
getUnassignedTasksCount,
|
|
538
|
+
getUnassignedTaskIdsForAgent,
|
|
531
539
|
getUnassignedTaskIds,
|
|
532
540
|
getUnassignedPoolTasks,
|
|
533
541
|
getTasksCount,
|
|
@@ -552,6 +560,7 @@ export {
|
|
|
552
560
|
getStepCountForNode,
|
|
553
561
|
getStepByIdempotencyKey,
|
|
554
562
|
getStalledInProgressTasks,
|
|
563
|
+
getStaleUnassignedAffinityTasks,
|
|
555
564
|
getStalePinnedResumes,
|
|
556
565
|
getSkillFiles,
|
|
557
566
|
getSkillFile,
|
|
@@ -772,6 +781,7 @@ export {
|
|
|
772
781
|
checkDependencies,
|
|
773
782
|
cascadeFailDependents,
|
|
774
783
|
cancelTask,
|
|
784
|
+
buildRoutingAffinityFromAgent,
|
|
775
785
|
backfillSupersedeTaskResumeTaskId,
|
|
776
786
|
autoEncryptLegacyPlaintextSecrets,
|
|
777
787
|
assignUnassignedTaskPending,
|
|
@@ -3,32 +3,32 @@ import {
|
|
|
3
3
|
getBufferMessageCount,
|
|
4
4
|
instantFlush,
|
|
5
5
|
wasEventSeen
|
|
6
|
-
} from "./cli-
|
|
6
|
+
} from "./cli-65ekje01.js";
|
|
7
7
|
import {
|
|
8
8
|
extractSlackMessageText,
|
|
9
9
|
extractTaskFromMessage,
|
|
10
10
|
hasOtherUserMention,
|
|
11
11
|
routeMessage
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-tffvrh6j.js";
|
|
13
13
|
import {
|
|
14
14
|
registerTreeMessage
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-pet3aev6.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-cchksf5q.js";
|
|
23
|
+
import"./cli-6aq8xhvm.js";
|
|
24
24
|
import {
|
|
25
25
|
buildTreeBlocks
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-ma04faw5.js";
|
|
27
27
|
import"./cli-wspgs9bt.js";
|
|
28
28
|
import {
|
|
29
29
|
createTaskWithSiblingAwareness,
|
|
30
30
|
slackContextKey
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-k3y4z3h5.js";
|
|
32
32
|
import"./cli-dh55d5fg.js";
|
|
33
33
|
import {
|
|
34
34
|
getAgentById,
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
init_db,
|
|
40
40
|
init_resolver,
|
|
41
41
|
resolveTemplate
|
|
42
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-15y7qhzp.js";
|
|
43
43
|
import"./cli-z2zcxes1.js";
|
|
44
44
|
import"./cli-bw80ck94.js";
|
|
45
45
|
import"./cli-xz9aq0rf.js";
|
|
46
|
-
import"./cli-
|
|
46
|
+
import"./cli-b23axgz4.js";
|
|
47
47
|
import"./cli-4j2mrzag.js";
|
|
48
48
|
import"./cli-e15jhafb.js";
|
|
49
49
|
import {
|