@desplega.ai/agent-swarm 1.122.1 → 1.123.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.
Files changed (86) hide show
  1. package/README.md +2 -0
  2. package/dist/{actions-rd8p2zqb.js → actions-e4c9f0xy.js} +5 -5
  3. package/dist/{app-v839gywt.js → app-vmvmj2v3.js} +3 -3
  4. package/dist/{assistant-qjp128zg.js → assistant-yn7a792a.js} +13 -10
  5. package/dist/{boot-reembed-3fjfyz1h.js → boot-reembed-chxty50a.js} +4 -4
  6. package/dist/{boot-reembed-e4b9xsa1.js → boot-reembed-xg1r86h2.js} +3 -3
  7. package/dist/{boot-scrub-logs-x3vrw472.js → boot-scrub-logs-exwddvp5.js} +2 -2
  8. package/dist/{cli-h4kjb2qy.js → cli-1592nfd6.js} +1 -1
  9. package/dist/{cli-g279mtbs.js → cli-3tv9z4wx.js} +6 -3
  10. package/dist/{cli-spsg6mqp.js → cli-4509mwm5.js} +15 -5
  11. package/dist/{cli-mwp9asnz.js → cli-822d4bjk.js} +17 -13
  12. package/dist/{cli-31163xvp.js → cli-8cq4z4x7.js} +117 -9
  13. package/dist/{cli-ydcfdmcz.js → cli-8ef5ky75.js} +1 -1
  14. package/dist/{cli-v2e8jdb6.js → cli-9eka6jwv.js} +2 -2
  15. package/dist/{cli-h7209ted.js → cli-9hj1adgp.js} +1 -1
  16. package/dist/{cli-ndv6ftj4.js → cli-byv3720g.js} +2 -2
  17. package/dist/{cli-3m3ysn1f.js → cli-c9m59f83.js} +1 -1
  18. package/dist/{cli-2rcegy4e.js → cli-fjf04hpa.js} +5 -5
  19. package/dist/{cli-xdv1vntm.js → cli-h2say6xk.js} +3 -3
  20. package/dist/{cli-nqxvcvnv.js → cli-hbbxmhec.js} +4 -4
  21. package/dist/{cli-ctzr9apr.js → cli-kmm1rwmp.js} +1 -1
  22. package/dist/{cli-xpveay6y.js → cli-mepk1j0t.js} +1 -1
  23. package/dist/{cli-pw04m0wb.js → cli-mkpf4ndf.js} +711 -135
  24. package/dist/{cli-jjcd495f.js → cli-mngsj9fx.js} +8 -3
  25. package/dist/{cli-2y473tja.js → cli-n8mf7x4b.js} +2 -2
  26. package/dist/{cli-4pcxkk69.js → cli-ngbsk4yx.js} +6 -1
  27. package/dist/{cli-fdbt8m8y.js → cli-np0yhmmk.js} +37 -21
  28. package/dist/{cli-ea6b2m9a.js → cli-p11rf59d.js} +7 -4
  29. package/dist/{cli-9pv05nba.js → cli-vz9drmce.js} +2 -2
  30. package/dist/{cli-th8jh1rm.js → cli-we91ywvy.js} +5 -5
  31. package/dist/{cli-zrc5k1rd.js → cli-zdp11t8m.js} +22 -17
  32. package/dist/{cli-jc23g2g2.js → cli-zkj6f2sk.js} +2 -2
  33. package/dist/cli.js +11 -11
  34. package/dist/{commands-jfmtpvvy.js → commands-sjk3zfyr.js} +7 -4
  35. package/dist/{db-vn5met8v.js → db-2je5agjb.js} +2 -2
  36. package/dist/{handlers-0s7dn9ma.js → handlers-yzv369hf.js} +13 -10
  37. package/dist/{hook-b2293dx1.js → hook-rfsj2r8x.js} +1 -1
  38. package/dist/{http-4hmtrrpx.js → http-v9rr144m.js} +101 -628
  39. package/dist/{index-zy9smn2h.js → index-3xtk777g.js} +9 -9
  40. package/dist/{index-gxj7sbzx.js → index-c3tan44f.js} +10 -10
  41. package/dist/{index-4bcr1r09.js → index-nr2199m6.js} +11 -11
  42. package/dist/{index-cmee5q4s.js → index-smjdc3h9.js} +7 -7
  43. package/dist/{keepalive-2htbn1j9.js → keepalive-5ds53bjd.js} +5 -5
  44. package/dist/{lead-p9s142mj.js → lead-5xhez25b.js} +20 -20
  45. package/dist/{maintenance-x8jgt9fd.js → maintenance-b43d24q6.js} +4 -4
  46. package/dist/{oauth-refresh-sweep-9m7qmm1m.js → oauth-refresh-sweep-qe286vn2.js} +4 -4
  47. package/dist/{onboard-jsy93b12.js → onboard-c4r3ds3z.js} +2 -2
  48. package/dist/{otel-impl-z2w4phcp.js → otel-impl-nv3rjw61.js} +1 -1
  49. package/dist/{pricing-refresh-cjjd6ayt.js → pricing-refresh-5ct2wp4k.js} +4 -4
  50. package/dist/{rbac-roles-v3xrhv48.js → rbac-roles-b82cxpxn.js} +4 -4
  51. package/dist/{rbac-roles-166rf7ba.js → rbac-roles-m502w0qv.js} +3 -3
  52. package/dist/{seed-pricing-f4xrjref.js → seed-pricing-jhjphbf0.js} +3 -3
  53. package/dist/{setup-58jmv2vm.js → setup-zbaspydq.js} +2 -2
  54. package/dist/{worker-95x5vnx4.js → worker-snvhpax5.js} +20 -20
  55. package/openapi.json +1 -1
  56. package/package.json +3 -3
  57. package/src/be/budget-admission.ts +2 -1
  58. package/src/be/db.ts +2 -1
  59. package/src/be/memory/constants.ts +29 -25
  60. package/src/be/memory/providers/sqlite-store.ts +3 -3
  61. package/src/be/memory/reranker.ts +4 -5
  62. package/src/be/rbac-audit.ts +2 -1
  63. package/src/be/swarm-config-guard.ts +117 -1
  64. package/src/commands/runner.ts +34 -0
  65. package/src/gitlab/auth.ts +3 -1
  66. package/src/heartbeat/heartbeat.ts +44 -19
  67. package/src/http/core.ts +66 -1
  68. package/src/http/index.ts +6 -2
  69. package/src/http/mcp-oauth.ts +2 -1
  70. package/src/oauth/mcp-wrapper.ts +2 -1
  71. package/src/otel.ts +23 -10
  72. package/src/rbac/admission.ts +2 -1
  73. package/src/slack/assistant.ts +3 -2
  74. package/src/slack/commands.ts +2 -1
  75. package/src/slack/handlers.ts +6 -3
  76. package/src/slack/router.ts +5 -2
  77. package/src/tasks/worker-follow-up.ts +9 -2
  78. package/src/telemetry.ts +2 -1
  79. package/src/tests/env-flag.test.ts +93 -0
  80. package/src/tests/heartbeat-reroute-decision.test.ts +10 -10
  81. package/src/tests/heartbeat-supersede-resume.test.ts +2 -2
  82. package/src/tests/reload-config.test.ts +81 -6
  83. package/src/utils/env-flag.ts +55 -0
  84. package/src/utils/scripts-only-mode.ts +12 -2
  85. package/src/utils/steering-enabled.ts +3 -2
  86. package/src/workflows/engine.ts +14 -6
@@ -28,7 +28,7 @@ import {
28
28
  getTaskById,
29
29
  init_db,
30
30
  setSlackMessageTracking
31
- } from "./cli-31163xvp.js";
31
+ } from "./cli-8cq4z4x7.js";
32
32
  import {
33
33
  require_receiver,
34
34
  require_sender,
@@ -55078,13 +55078,13 @@ async function initSlackApp() {
55078
55078
  socketMode: true,
55079
55079
  logLevel: import_bolt.LogLevel.DEBUG
55080
55080
  });
55081
- const { registerMessageHandler } = await import("./handlers-0s7dn9ma.js");
55082
- const { registerCommandHandler } = await import("./commands-jfmtpvvy.js");
55083
- const { registerActionHandlers } = await import("./actions-rd8p2zqb.js");
55081
+ const { registerMessageHandler } = await import("./handlers-yzv369hf.js");
55082
+ const { registerCommandHandler } = await import("./commands-sjk3zfyr.js");
55083
+ const { registerActionHandlers } = await import("./actions-e4c9f0xy.js");
55084
55084
  registerMessageHandler(app);
55085
55085
  registerCommandHandler(app);
55086
55086
  registerActionHandlers(app);
55087
- const { createAssistant } = await import("./assistant-qjp128zg.js");
55087
+ const { createAssistant } = await import("./assistant-yn7a792a.js");
55088
55088
  app.assistant(createAssistant());
55089
55089
  return app;
55090
55090
  }
@@ -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.122.1",
10
+ version: "1.123.0",
11
11
  description: "Multi-agent orchestration for Claude Code, Codex, Gemini CLI, and other AI coding assistants",
12
12
  license: "MIT",
13
13
  author: "desplega.sh <contact@desplega.sh>",
@@ -158,8 +158,8 @@ var init_package = __esm(() => {
158
158
  "@inkjs/ui": "^2.0.0",
159
159
  "@linear/sdk": "^77.0.0",
160
160
  "@modelcontextprotocol/sdk": "^1.25.1",
161
- "@openai/codex-sdk": "^0.145.0",
162
- "@opencode-ai/sdk": "^1.18.5",
161
+ "@openai/codex-sdk": "^0.146.0",
162
+ "@opencode-ai/sdk": "^1.18.9",
163
163
  "@openfort/openfort-node": "^0.9.1",
164
164
  "@opentelemetry/api": "^1.9.1",
165
165
  "@opentelemetry/exporter-metrics-otlp-http": "^0.218.0",
@@ -4,15 +4,15 @@ import {
4
4
  handleScheduleTrigger,
5
5
  runScript,
6
6
  startWorkflowExecution
7
- } from "./cli-mwp9asnz.js";
7
+ } from "./cli-822d4bjk.js";
8
8
  import {
9
9
  getScript,
10
10
  getScriptApiConnectionDescriptors,
11
11
  getScriptMcpConnectionDescriptors
12
- } from "./cli-ea6b2m9a.js";
12
+ } from "./cli-p11rf59d.js";
13
13
  import {
14
14
  createTaskWithSiblingAwareness
15
- } from "./cli-ctzr9apr.js";
15
+ } from "./cli-kmm1rwmp.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-31163xvp.js";
27
+ } from "./cli-8cq4z4x7.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __require,
@@ -3,7 +3,7 @@ import {
3
3
  getAgentById,
4
4
  getInProgressTasksByContextKey,
5
5
  init_db
6
- } from "./cli-31163xvp.js";
6
+ } from "./cli-8cq4z4x7.js";
7
7
 
8
8
  // src/tasks/sibling-awareness.ts
9
9
  init_db();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getDb,
3
3
  init_db
4
- } from "./cli-31163xvp.js";
4
+ } from "./cli-8cq4z4x7.js";
5
5
 
6
6
  // src/be/seed-pricing.ts
7
7
  init_db();