@desplega.ai/agent-swarm 2.2.0 → 2.3.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 (107) hide show
  1. package/dist/{acp-adapter-k0vwfyvn.js → acp-adapter-v85a2bqy.js} +1 -1
  2. package/dist/{actions-w4pnb8vz.js → actions-zgcxfspj.js} +15 -15
  3. package/dist/{amp-adapter-0cmxb2t5.js → amp-adapter-jw9xfz42.js} +2 -2
  4. package/dist/{app-zneem7g9.js → app-4e1s4675.js} +3 -3
  5. package/dist/{assistant-wbzd2rnr.js → assistant-v238n9dk.js} +16 -16
  6. package/dist/{boot-reembed-4kx69j3g.js → boot-reembed-p666cw5n.js} +1 -1
  7. package/dist/{boot-reembed-db0wwgy1.js → boot-reembed-w6pm64j4.js} +1 -1
  8. package/dist/{boot-scrub-sweep-tfv4d3mm.js → boot-scrub-sweep-jcyjagn3.js} +2 -2
  9. package/dist/{boot-seeds-w2hmkxn5.js → boot-seeds-gbedmamp.js} +4 -4
  10. package/dist/{claude-adapter-5qrc2paq.js → claude-adapter-q7wspzt8.js} +2 -2
  11. package/dist/{claude-managed-setup-7ra32em4.js → claude-managed-setup-wza784fb.js} +1 -1
  12. package/dist/{claude-sdk-session-cd02gc76.js → claude-sdk-session-yf400ptr.js} +2 -2
  13. package/dist/{cli-p46xdr1m.js → cli-0rh20bp3.js} +1 -1
  14. package/dist/{cli-e5y285rg.js → cli-1v8w782f.js} +1 -1
  15. package/dist/{cli-8c1m9mhy.js → cli-30m5q8mc.js} +5 -5
  16. package/dist/{cli-xnp2vkx7.js → cli-4hmaheb6.js} +6 -6
  17. package/dist/{cli-xhgtay7w.js → cli-4s1kqrqg.js} +1 -1
  18. package/dist/{cli-2jm992rm.js → cli-5d1m1qca.js} +2 -2
  19. package/dist/{cli-mvsfbbgq.js → cli-65q70v2v.js} +3 -3
  20. package/dist/{cli-th8krqbf.js → cli-6p7ddg72.js} +2 -2
  21. package/dist/{cli-6q7pyd3k.js → cli-6vcyw6v7.js} +1 -1
  22. package/dist/{cli-bddxamg7.js → cli-8qsx817b.js} +23 -22
  23. package/dist/{cli-ztcxv5nv.js → cli-9e9kjqsj.js} +1 -1
  24. package/dist/{cli-jrk8mj0t.js → cli-a17tzmn0.js} +1 -1
  25. package/dist/{cli-raejy0mp.js → cli-d43xqzbe.js} +1 -1
  26. package/dist/{cli-tba8fxf9.js → cli-dxwh4j32.js} +11 -11
  27. package/dist/{cli-c9vrwcpb.js → cli-ea7chd26.js} +19 -19
  28. package/dist/{cli-vmbakbq0.js → cli-fhvqt2fp.js} +1 -1
  29. package/dist/{cli-z3dk189k.js → cli-fp4xbw07.js} +6 -6
  30. package/dist/{cli-xx13gqf3.js → cli-g6p7c2my.js} +1 -1
  31. package/dist/{cli-c0dpzwnx.js → cli-hn3pftj2.js} +2 -2
  32. package/dist/{cli-h23mr2s6.js → cli-hz64bcnj.js} +2 -2
  33. package/dist/{cli-dw0njd9q.js → cli-jhmjwqcg.js} +5 -5
  34. package/dist/{cli-0k9rcwfy.js → cli-ka01m5rb.js} +28 -12
  35. package/dist/{cli-jhhb2v9n.js → cli-kqypty34.js} +2 -2
  36. package/dist/{cli-hwc4a9xm.js → cli-q1812jbw.js} +4 -4
  37. package/dist/{cli-8w65vwee.js → cli-qrwp40st.js} +1 -1
  38. package/dist/{cli-4c7k75rq.js → cli-re4wkbzx.js} +54 -41
  39. package/dist/{cli-z1hh99j0.js → cli-tr24eeny.js} +2 -2
  40. package/dist/{cli-q6gw45wj.js → cli-wtg6edvd.js} +1 -1
  41. package/dist/{cli-mnry16kh.js → cli-xgn4rwyv.js} +4 -4
  42. package/dist/{cli-5ks6x36q.js → cli-y3dvz6ge.js} +3 -3
  43. package/dist/{cli-ksrphveb.js → cli-yv0vgscc.js} +1 -0
  44. package/dist/{cli-ak4c12mh.js → cli-yv3n83x8.js} +1 -1
  45. package/dist/{cli-9ac0mkg5.js → cli-zes4tsbb.js} +1 -1
  46. package/dist/cli.js +14 -14
  47. package/dist/{codex-adapter-m0fx3v3s.js → codex-adapter-nhjj2veb.js} +1 -1
  48. package/dist/{codex-session-runner-j9m2gfyy.js → codex-session-runner-6hggrjbx.js} +1 -1
  49. package/dist/{commands-ktnqwrv4.js → commands-mrw1ph2w.js} +2 -2
  50. package/dist/{controller-nex2he8v.js → controller-pt1zam5w.js} +2 -2
  51. package/dist/{controllers-connect-6yhwqv9v.js → controllers-connect-ymw5541d.js} +16 -16
  52. package/dist/{cursor-adapter-02s5ekva.js → cursor-adapter-cf4zh5x0.js} +1 -1
  53. package/dist/{db-19tw9r5s.js → db-hhpy6m4x.js} +2 -2
  54. package/dist/{db-jvr86v7f.js → db-hy80219q.js} +1 -1
  55. package/dist/{dispatcher-d3mnsg2y.js → dispatcher-6pdjtkr1.js} +14 -14
  56. package/dist/{dsh-adapter-63rvej88.js → dsh-adapter-fbx06re2.js} +1 -1
  57. package/dist/{external-channel-44cwer32.js → external-channel-j6vb6ya1.js} +2 -2
  58. package/dist/{grok-adapter-ysp907f6.js → grok-adapter-1193sprp.js} +2 -2
  59. package/dist/{handlers-t5pbabwf.js → handlers-tb3xgjnm.js} +17 -17
  60. package/dist/{heartbeat-2etacsqq.js → heartbeat-h1w1ktce.js} +17 -17
  61. package/dist/{hook-3kvmax6d.js → hook-ejja4bpe.js} +1 -1
  62. package/dist/{hook-mzxxs5n2.js → hook-skrbja18.js} +1 -1
  63. package/dist/{http-fn978m0g.js → http-mzh41mfj.js} +108 -52
  64. package/dist/{index-039x2sag.js → index-6rmnn89d.js} +40 -12
  65. package/dist/{index-w2wr89xd.js → index-epr2gnbw.js} +1 -1
  66. package/dist/{index-qyjbb7br.js → index-nyfcdpky.js} +17 -17
  67. package/dist/{index-e4tsa1h7.js → index-vjn3wbzf.js} +14 -14
  68. package/dist/{index-1r8hw4vd.js → index-xmmkyx82.js} +14 -14
  69. package/dist/{keepalive-d4nzs76x.js → keepalive-4djvbm2j.js} +3 -3
  70. package/dist/{lead-8h5n9k5f.js → lead-61kqp604.js} +23 -23
  71. package/dist/{maintenance-ea6jfw42.js → maintenance-f3xhnjsm.js} +1 -1
  72. package/dist/{oauth-refresh-sweep-3f25djq3.js → oauth-refresh-sweep-fpd6x6rw.js} +2 -2
  73. package/dist/{onboard-pvk7hdb2.js → onboard-196tjgyn.js} +2 -2
  74. package/dist/{otel-impl-qb7nhgdp.js → otel-impl-g8fh4c21.js} +1 -1
  75. package/dist/{pricing-refresh-6ehwkcmp.js → pricing-refresh-sdcf5yaz.js} +3 -3
  76. package/dist/{rbac-roles-9648nh00.js → rbac-roles-2x4g1wb5.js} +2 -2
  77. package/dist/{rbac-roles-km0f9cmm.js → rbac-roles-bsp5657v.js} +1 -1
  78. package/dist/{render-v2-xkze1wef.js → render-v2-0pyb39bb.js} +3 -3
  79. package/dist/{resume-tq0bbvt5.js → resume-a86tkj6r.js} +5 -5
  80. package/dist/{setup-rnrazxvd.js → setup-ypbzcapd.js} +1 -1
  81. package/dist/{work-objects-e75q2rqs.js → work-objects-yjp8de12.js} +17 -17
  82. package/dist/{worker-4ww4hjef.js → worker-4ptnn1ge.js} +23 -23
  83. package/openapi.json +168 -6
  84. package/package.json +2 -2
  85. package/src/be/asset-key-audit.ts +4 -13
  86. package/src/be/db.ts +57 -33
  87. package/src/be/migrations/227_inbox_item_state_last_read_at.sql +1 -0
  88. package/src/be/seed-scripts/catalog/heartbeat-jev-gate.ts +22 -4
  89. package/src/heartbeat/heartbeat.ts +25 -7
  90. package/src/http/assets.ts +26 -4
  91. package/src/http/inbox-state.ts +58 -8
  92. package/src/kv-reserved-namespaces.ts +1 -0
  93. package/src/providers/amp-adapter.ts +1 -1
  94. package/src/tests/asset-key-api.test.ts +128 -0
  95. package/src/tests/asset-key-invariants.test.ts +179 -3
  96. package/src/tests/asset-key-migration.test.ts +35 -0
  97. package/src/tests/docs-index-footprint.test.js +2 -2
  98. package/src/tests/heartbeat-checklist.test.ts +88 -0
  99. package/src/tests/heartbeat-jev-gate.test.ts +394 -10
  100. package/src/tests/inbox-state.test.ts +167 -0
  101. package/src/tests/kv-tool.test.ts +15 -0
  102. package/src/tests/script-connections.test.ts +2 -0
  103. package/src/types.ts +2 -0
  104. package/templates/skills/code-quality/content.md +2 -2
  105. package/templates/skills/pages/content.md +4 -0
  106. package/templates/skills/swarm-scripts/SKILL.md +6 -0
  107. package/templates/skills/swarm-scripts/content.md +6 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ACPAdapter2
3
- } from "./cli-jrk8mj0t.js";
3
+ } from "./cli-a17tzmn0.js";
4
4
  import"./cli-rc3r0bnh.js";
5
5
  import"./cli-9td5ss65.js";
6
6
  import"./cli-a49vpbf3.js";
@@ -6,16 +6,16 @@ import {
6
6
  getTaskById2,
7
7
  cancelTask2,
8
8
  init_db3
9
- } from "./cli-4c7k75rq.js";
10
- import"./cli-vmbakbq0.js";
11
- import"./cli-8w65vwee.js";
12
- import"./cli-jhhb2v9n.js";
9
+ } from "./cli-re4wkbzx.js";
10
+ import"./cli-fhvqt2fp.js";
11
+ import"./cli-qrwp40st.js";
12
+ import"./cli-kqypty34.js";
13
13
  import {
14
14
  createTaskWithSiblingAwareness
15
- } from "./cli-bddxamg7.js";
16
- import"./cli-dw0njd9q.js";
17
- import"./cli-mvsfbbgq.js";
18
- import"./cli-xx13gqf3.js";
15
+ } from "./cli-8qsx817b.js";
16
+ import"./cli-jhmjwqcg.js";
17
+ import"./cli-65q70v2v.js";
18
+ import"./cli-g6p7c2my.js";
19
19
  import"./cli-3ggwdtb0.js";
20
20
  import {
21
21
  noteSlackInboundSideEffect,
@@ -26,28 +26,28 @@ import {
26
26
  getAgentEmoji,
27
27
  isSlackRenderV2Enabled2,
28
28
  ensureSlackThreadTree2
29
- } from "./cli-tba8fxf9.js";
29
+ } from "./cli-dxwh4j32.js";
30
30
  import {
31
31
  EXTERNAL_CHANNEL_BLOCKED_REPLY2,
32
32
  shouldBlockChannel2
33
- } from "./cli-ztcxv5nv.js";
34
- import"./cli-hwc4a9xm.js";
33
+ } from "./cli-9e9kjqsj.js";
34
+ import"./cli-q1812jbw.js";
35
35
  import"./cli-8cvvytad.js";
36
36
  import"./cli-kvzgak7c.js";
37
37
  import"./cli-445c1vp7.js";
38
38
  import"./cli-vjfpshn3.js";
39
39
  import"./cli-ptkpaqfy.js";
40
40
  import"./cli-qz93y3x5.js";
41
- import"./cli-6q7pyd3k.js";
42
- import"./cli-mnry16kh.js";
41
+ import"./cli-6vcyw6v7.js";
42
+ import"./cli-xgn4rwyv.js";
43
43
  import"./cli-7a91w22y.js";
44
44
  import"./cli-qje9k2nh.js";
45
- import"./cli-h23mr2s6.js";
45
+ import"./cli-hz64bcnj.js";
46
46
  import"./cli-3h26v7yj.js";
47
47
  import"./cli-rdr166ht.js";
48
48
  import {
49
49
  resolveSlackUserId
50
- } from "./cli-5ks6x36q.js";
50
+ } from "./cli-y3dvz6ge.js";
51
51
  import"./cli-13p25grh.js";
52
52
  import"./cli-0adyhvq2.js";
53
53
 
@@ -2,11 +2,11 @@ import {
2
2
  checkAmpCredentials2,
3
3
  liveTestAmpCredentials2,
4
4
  AmpAdapter2
5
- } from "./cli-th8krqbf.js";
5
+ } from "./cli-6p7ddg72.js";
6
6
  import"./cli-jc1g9ndz.js";
7
7
  import"./cli-jhp7w1fy.js";
8
8
  import"./cli-p22zdvnt.js";
9
- import"./cli-vmbakbq0.js";
9
+ import"./cli-fhvqt2fp.js";
10
10
  import"./cli-7a91w22y.js";
11
11
  import"./cli-3ggwdtb0.js";
12
12
  export {
@@ -3,9 +3,9 @@ import {
3
3
  initSlackApp2,
4
4
  startSlackApp2,
5
5
  stopSlackApp2
6
- } from "./cli-tba8fxf9.js";
7
- import"./cli-ztcxv5nv.js";
8
- import"./cli-4c7k75rq.js";
6
+ } from "./cli-dxwh4j32.js";
7
+ import"./cli-9e9kjqsj.js";
8
+ import"./cli-re4wkbzx.js";
9
9
  export {
10
10
  getSlackApp2 as getSlackApp,
11
11
  initSlackApp2 as initSlackApp,
@@ -6,7 +6,7 @@ import {
6
6
  getMostRecentTaskInThread2,
7
7
  reactionName,
8
8
  init_db3
9
- } from "./cli-4c7k75rq.js";
9
+ } from "./cli-re4wkbzx.js";
10
10
  import {
11
11
  require_dist4,
12
12
  noteSlackInboundSideEffect,
@@ -17,45 +17,45 @@ import {
17
17
  markSlackSessionProcessing,
18
18
  isSlackRenderV2Enabled2,
19
19
  ensureSlackThreadTree2
20
- } from "./cli-tba8fxf9.js";
20
+ } from "./cli-dxwh4j32.js";
21
21
  import {
22
22
  shouldBlockChannel2
23
- } from "./cli-ztcxv5nv.js";
23
+ } from "./cli-9e9kjqsj.js";
24
24
  import {
25
25
  buildEffectiveText,
26
26
  fetchSlackFiles,
27
27
  createSlackTaskWithFiles,
28
28
  notifySlackFileFailures,
29
29
  hasOtherUserMention
30
- } from "./cli-bddxamg7.js";
30
+ } from "./cli-8qsx817b.js";
31
31
  import {
32
32
  resolveSlackUserId,
33
33
  rewriteSlackMentions
34
- } from "./cli-5ks6x36q.js";
34
+ } from "./cli-y3dvz6ge.js";
35
35
  import {
36
36
  wasEventSeen,
37
37
  bufferThreadMessage,
38
38
  getBufferMessageCount
39
- } from "./cli-8c1m9mhy.js";
39
+ } from "./cli-30m5q8mc.js";
40
40
  import"./cli-qje9k2nh.js";
41
- import"./cli-vmbakbq0.js";
42
- import"./cli-8w65vwee.js";
43
- import"./cli-jhhb2v9n.js";
44
- import"./cli-dw0njd9q.js";
45
- import"./cli-mvsfbbgq.js";
46
- import"./cli-xx13gqf3.js";
41
+ import"./cli-fhvqt2fp.js";
42
+ import"./cli-qrwp40st.js";
43
+ import"./cli-kqypty34.js";
44
+ import"./cli-jhmjwqcg.js";
45
+ import"./cli-65q70v2v.js";
46
+ import"./cli-g6p7c2my.js";
47
47
  import"./cli-3ggwdtb0.js";
48
- import"./cli-hwc4a9xm.js";
48
+ import"./cli-q1812jbw.js";
49
49
  import"./cli-8cvvytad.js";
50
50
  import"./cli-kvzgak7c.js";
51
51
  import"./cli-445c1vp7.js";
52
52
  import"./cli-vjfpshn3.js";
53
53
  import"./cli-ptkpaqfy.js";
54
54
  import"./cli-qz93y3x5.js";
55
- import"./cli-6q7pyd3k.js";
56
- import"./cli-mnry16kh.js";
55
+ import"./cli-6vcyw6v7.js";
56
+ import"./cli-xgn4rwyv.js";
57
57
  import"./cli-7a91w22y.js";
58
- import"./cli-h23mr2s6.js";
58
+ import"./cli-hz64bcnj.js";
59
59
  import"./cli-3h26v7yj.js";
60
60
  import"./cli-rdr166ht.js";
61
61
  import"./cli-13p25grh.js";
@@ -6,7 +6,7 @@ import {
6
6
  getMemoryStore2,
7
7
  init_memory,
8
8
  init_db3
9
- } from "./cli-4c7k75rq.js";
9
+ } from "./cli-re4wkbzx.js";
10
10
 
11
11
  // src/be/memory/boot-reembed.ts
12
12
  init_db3();
@@ -4,7 +4,7 @@ import {
4
4
  embedScript,
5
5
  init_embeddings,
6
6
  init_db3
7
- } from "./cli-4c7k75rq.js";
7
+ } from "./cli-re4wkbzx.js";
8
8
 
9
9
  // src/be/scripts/boot-reembed.ts
10
10
  init_db3();
@@ -7,7 +7,7 @@ import {
7
7
  getMemoryStore2,
8
8
  init_memory,
9
9
  init_db3
10
- } from "./cli-4c7k75rq.js";
10
+ } from "./cli-re4wkbzx.js";
11
11
  import {
12
12
  contentSha256,
13
13
  init_profile_sync
@@ -79,7 +79,7 @@ async function runBootScrubSweep(opts = {}) {
79
79
  console.log(`[${tag}] complete`);
80
80
  const memoryChanged = stats.find((s) => s.table === "agent_memory")?.changed ?? 0;
81
81
  if (memoryChanged > 0 && opts.reembed !== false) {
82
- const { runBootReembed } = await import("./boot-reembed-4kx69j3g.js");
82
+ const { runBootReembed } = await import("./boot-reembed-p666cw5n.js");
83
83
  await runBootReembed();
84
84
  }
85
85
  return stats;
@@ -2,10 +2,10 @@ import {
2
2
  ensurePricingSeeded2,
3
3
  ensureRbacSeeded2,
4
4
  ensureModelProfilesSeeded2
5
- } from "./cli-mnry16kh.js";
6
- import"./cli-8w65vwee.js";
7
- import"./cli-6q7pyd3k.js";
8
- import"./cli-4c7k75rq.js";
5
+ } from "./cli-xgn4rwyv.js";
6
+ import"./cli-qrwp40st.js";
7
+ import"./cli-6vcyw6v7.js";
8
+ import"./cli-re4wkbzx.js";
9
9
  export {
10
10
  ensureModelProfilesSeeded2 as ensureModelProfilesSeeded,
11
11
  ensurePricingSeeded2 as ensurePricingSeeded,
@@ -4,8 +4,8 @@ import {
4
4
  buildClaudeSessionEnvironment2,
5
5
  runClaudeSessionSummary2,
6
6
  ClaudeAdapter2
7
- } from "./cli-c0dpzwnx.js";
8
- import"./cli-e5y285rg.js";
7
+ } from "./cli-hn3pftj2.js";
8
+ import"./cli-1v8w782f.js";
9
9
  import"./cli-k28p6xh7.js";
10
10
  import"./cli-c5sbmw1v.js";
11
11
  import"./cli-vbhgkw9h.js";
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  DEFAULT_MODEL_TIER_MAP,
14
14
  init_types
15
- } from "./cli-ksrphveb.js";
15
+ } from "./cli-yv0vgscc.js";
16
16
  import {
17
17
  getApiKey,
18
18
  init_api_key
@@ -22,7 +22,7 @@ import"./cli-vjfpshn3.js";
22
22
  import"./cli-etvn5ej2.js";
23
23
  import"./cli-c5sbmw1v.js";
24
24
  import"./cli-0726awxw.js";
25
- import"./cli-e5y285rg.js";
25
+ import"./cli-1v8w782f.js";
26
26
  import"./cli-7a91w22y.js";
27
27
  import {
28
28
  ClaudeBackgroundKeepalive,
@@ -30,7 +30,7 @@ import {
30
30
  cleanupTaskFile2,
31
31
  buildClaudeSessionEnvironment2,
32
32
  runClaudeSessionSummary2
33
- } from "./cli-c0dpzwnx.js";
33
+ } from "./cli-hn3pftj2.js";
34
34
  import"./cli-jc1g9ndz.js";
35
35
  import"./cli-4bd1rck6.js";
36
36
  import"./cli-vbhgkw9h.js";
@@ -2,7 +2,7 @@ import {
2
2
  isGrokOpenRouterModel,
3
3
  grokTargetProfile,
4
4
  ACPAdapter2
5
- } from "./cli-jrk8mj0t.js";
5
+ } from "./cli-a17tzmn0.js";
6
6
  import {
7
7
  getOpenRouterBaseUrl,
8
8
  getOpenRouterAttributionHeaders,
@@ -30,7 +30,7 @@ import {
30
30
  import {
31
31
  init_package,
32
32
  package_default
33
- } from "./cli-2jm992rm.js";
33
+ } from "./cli-5d1m1qca.js";
34
34
  import {
35
35
  MAX_PROFILE_FILE_LENGTH,
36
36
  getMcpBaseUrl,
@@ -10,7 +10,7 @@ import {
10
10
  init_steering,
11
11
  createLogEntry2,
12
12
  init_db3
13
- } from "./cli-4c7k75rq.js";
13
+ } from "./cli-re4wkbzx.js";
14
14
  import {
15
15
  ackSlackMessage,
16
16
  buildBufferFlushBlocks,
@@ -20,7 +20,7 @@ import {
20
20
  ensureSlackThreadTree2,
21
21
  registerTreeMessage,
22
22
  getSlackApp2
23
- } from "./cli-tba8fxf9.js";
23
+ } from "./cli-dxwh4j32.js";
24
24
  import {
25
25
  createAdditiveBuffer,
26
26
  TaskCreationBlockedError,
@@ -30,15 +30,15 @@ import {
30
30
  createSlackTaskWithFiles,
31
31
  notifySlackFileFailures,
32
32
  extractSlackMessageText
33
- } from "./cli-bddxamg7.js";
33
+ } from "./cli-8qsx817b.js";
34
34
  import {
35
35
  resolveSlackUserId,
36
36
  rewriteSlackMentions
37
- } from "./cli-5ks6x36q.js";
37
+ } from "./cli-y3dvz6ge.js";
38
38
  import {
39
39
  findUserByExternalId,
40
40
  init_users
41
- } from "./cli-h23mr2s6.js";
41
+ } from "./cli-hz64bcnj.js";
42
42
  import {
43
43
  isSteeringEnabled2,
44
44
  init_steering_enabled
@@ -10,7 +10,7 @@ import {
10
10
  getMostRecentTaskInThread2,
11
11
  reactionName,
12
12
  init_db3
13
- } from "./cli-4c7k75rq.js";
13
+ } from "./cli-re4wkbzx.js";
14
14
  import {
15
15
  TaskCreationBlockedError,
16
16
  buildEffectiveText,
@@ -23,7 +23,7 @@ import {
23
23
  extractTaskFromMessage,
24
24
  extractSlackMessageText,
25
25
  dispatchPre2
26
- } from "./cli-bddxamg7.js";
26
+ } from "./cli-8qsx817b.js";
27
27
  import {
28
28
  noteSlackInboundSideEffect,
29
29
  ignoreSlackInbound,
@@ -34,14 +34,14 @@ import {
34
34
  isSlackRenderV2Enabled2,
35
35
  ensureSlackThreadTree2,
36
36
  registerTreeMessage
37
- } from "./cli-tba8fxf9.js";
37
+ } from "./cli-dxwh4j32.js";
38
38
  import {
39
39
  isBlockExternalEnabled2,
40
40
  invalidateChannelExternality2,
41
41
  getChannelBlockReason2,
42
42
  shouldBlockChannel2,
43
43
  leaveExternalChannel2
44
- } from "./cli-ztcxv5nv.js";
44
+ } from "./cli-9e9kjqsj.js";
45
45
  import {
46
46
  workflowEventBus2,
47
47
  init_event_bus
@@ -50,7 +50,7 @@ import {
50
50
  enrichSlackUserEmail,
51
51
  resolveSlackUserId,
52
52
  rewriteSlackMentions
53
- } from "./cli-5ks6x36q.js";
53
+ } from "./cli-y3dvz6ge.js";
54
54
  import {
55
55
  wasEventSeen,
56
56
  requestSlackThreadSteering,
@@ -58,7 +58,7 @@ import {
58
58
  bufferThreadMessage,
59
59
  getBufferMessageCount,
60
60
  instantFlush
61
- } from "./cli-8c1m9mhy.js";
61
+ } from "./cli-30m5q8mc.js";
62
62
  import {
63
63
  resolveTemplate,
64
64
  init_resolver
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  DEFAULT_MODEL_TIER_MAP,
16
16
  init_types
17
- } from "./cli-ksrphveb.js";
17
+ } from "./cli-yv0vgscc.js";
18
18
  import {
19
19
  resolveTemplateFromCode,
20
20
  resolveTemplateAsync,
@@ -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: "2.2.0",
10
+ version: "2.3.0",
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",
@@ -216,7 +216,7 @@ var init_package = __esm(() => {
216
216
  "@chat-adapter/teams": "4.41.1",
217
217
  "@chat-adapter/telegram": "4.41.1",
218
218
  "@cursor/sdk": "1.0.38",
219
- "@desplega.ai/agent-fs-just-bash": "0.17.0",
219
+ "@desplega.ai/agent-fs-just-bash": "0.18.4",
220
220
  "@desplega.ai/business-use": "^0.4.2",
221
221
  "@earendil-works/pi-agent-core": "^1.3.0",
222
222
  "@earendil-works/pi-ai": "^1.3.0",
@@ -38,14 +38,14 @@ import {
38
38
  getResolvedConfig2,
39
39
  getMcpServerById2,
40
40
  init_db3
41
- } from "./cli-4c7k75rq.js";
41
+ } from "./cli-re4wkbzx.js";
42
42
  import {
43
43
  generateRandomCodeVerifier,
44
44
  generateRandomState,
45
45
  calculatePKCECodeChallenge,
46
46
  oauthAppRowToProviderConfig,
47
47
  ensureAuthorizationTokenOrThrow
48
- } from "./cli-xx13gqf3.js";
48
+ } from "./cli-g6p7c2my.js";
49
49
  import {
50
50
  detachedProcessGroup,
51
51
  registerProcessGroup,
@@ -57,7 +57,7 @@ import {
57
57
  import {
58
58
  defaultAssetKey,
59
59
  init_key
60
- } from "./cli-ksrphveb.js";
60
+ } from "./cli-yv0vgscc.js";
61
61
  import {
62
62
  init_zod
63
63
  } from "./cli-4chz1hye.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ampBillsCacheWrites,
3
3
  resolveAmpModel
4
- } from "./cli-vmbakbq0.js";
4
+ } from "./cli-fhvqt2fp.js";
5
5
  import {
6
6
  CONTEXT_FORMULA,
7
7
  computeContextUsedUnified,
@@ -36,7 +36,7 @@ import { mkdir, mkdtemp, rm, writeFile } from "node:fs/promises";
36
36
  import { tmpdir } from "node:os";
37
37
  import { join } from "node:path";
38
38
  init_secret_scrubber();
39
- var AMP_PACKAGE = "@ampcode/cli@0.0.1792238457-g6ec988";
39
+ var AMP_PACKAGE = "@ampcode/cli@0.0.1792296040-g5ce754";
40
40
  var AMP_MCP_SERVER_NAME = "agent-swarm";
41
41
  var AMP_PLUGIN_MODE_KEY = "agent-swarm";
42
42
  var AMP_LIVE_TEST_TIMEOUT_MS = 5000;
@@ -2,7 +2,7 @@ import {
2
2
  getDb2,
3
3
  getDbClient2,
4
4
  init_db3
5
- } from "./cli-4c7k75rq.js";
5
+ } from "./cli-re4wkbzx.js";
6
6
  import {
7
7
  PermissionVerbSchema,
8
8
  init_rbac
@@ -330,19 +330,19 @@ import {
330
330
  recordInlineScriptRun2,
331
331
  exports_db,
332
332
  init_db3
333
- } from "./cli-4c7k75rq.js";
333
+ } from "./cli-re4wkbzx.js";
334
334
  import {
335
335
  getUserGrant2,
336
336
  init_rbac_roles
337
- } from "./cli-6q7pyd3k.js";
337
+ } from "./cli-6vcyw6v7.js";
338
338
  import {
339
339
  ensurePricingSeeded2,
340
340
  ensureRbacSeeded2,
341
341
  ensureModelProfilesSeeded2
342
- } from "./cli-mnry16kh.js";
342
+ } from "./cli-xgn4rwyv.js";
343
343
  import {
344
344
  loadModelsDevCache
345
- } from "./cli-8w65vwee.js";
345
+ } from "./cli-qrwp40st.js";
346
346
  import {
347
347
  buildCatalogEntries,
348
348
  listModelCatalog,
@@ -352,12 +352,12 @@ import {
352
352
  loadModelsCatalog,
353
353
  requestModelCatalogRefresh2,
354
354
  startPricingRefreshLoop2
355
- } from "./cli-jhhb2v9n.js";
355
+ } from "./cli-kqypty34.js";
356
356
  import {
357
357
  ampPinProviderError,
358
358
  ampPinCatalogError,
359
359
  ampModelError
360
- } from "./cli-vmbakbq0.js";
360
+ } from "./cli-fhvqt2fp.js";
361
361
  import {
362
362
  notifyAutomationPreflightFailure,
363
363
  isNeedsSetupFailure,
@@ -408,7 +408,7 @@ import {
408
408
  buildNodeInterpolationCtx,
409
409
  interpolateNodeConfig,
410
410
  scriptBodyInterpolationError
411
- } from "./cli-dw0njd9q.js";
411
+ } from "./cli-jhmjwqcg.js";
412
412
  import {
413
413
  require_dist2,
414
414
  publicEndpointSsrfOptions,
@@ -465,14 +465,14 @@ import {
465
465
  deleteApp,
466
466
  typecheckScript,
467
467
  parseSkillContent
468
- } from "./cli-mvsfbbgq.js";
468
+ } from "./cli-65q70v2v.js";
469
469
  import {
470
470
  buildAuthorizationUrl,
471
471
  onAuthorizationRefreshed,
472
472
  ensureAuthorizationTokenOrThrow,
473
473
  ensureToken,
474
474
  ensureTokenOrThrow
475
- } from "./cli-xx13gqf3.js";
475
+ } from "./cli-g6p7c2my.js";
476
476
  import {
477
477
  detachedProcessGroup,
478
478
  registerProcessGroup,
@@ -501,14 +501,14 @@ import {
501
501
  getSlackApp2,
502
502
  startSlackApp2,
503
503
  stopSlackApp2
504
- } from "./cli-tba8fxf9.js";
504
+ } from "./cli-dxwh4j32.js";
505
505
  import {
506
506
  slackCode,
507
507
  slackMissingScopeMessage,
508
508
  withAutoJoin,
509
509
  externalChannelToolError2,
510
510
  getChannelBlockReason2
511
- } from "./cli-ztcxv5nv.js";
511
+ } from "./cli-9e9kjqsj.js";
512
512
  import {
513
513
  BaseExecutor,
514
514
  postApprovalCancellationUpdates,
@@ -525,7 +525,7 @@ import {
525
525
  definitionNodeIds,
526
526
  validateDefinition,
527
527
  applyDefinitionPatch
528
- } from "./cli-hwc4a9xm.js";
528
+ } from "./cli-q1812jbw.js";
529
529
  import {
530
530
  workflowEventBus2,
531
531
  init_event_bus
@@ -555,7 +555,7 @@ import {
555
555
  init_users,
556
556
  getRuntimePool2,
557
557
  init_db
558
- } from "./cli-h23mr2s6.js";
558
+ } from "./cli-hz64bcnj.js";
559
559
  import {
560
560
  getMemoryRaterNames,
561
561
  REFERENCES_SOURCE_MAX_LENGTH,
@@ -649,7 +649,7 @@ import {
649
649
  KvNamespaceSchema,
650
650
  KvKeySchema,
651
651
  init_types
652
- } from "./cli-ksrphveb.js";
652
+ } from "./cli-yv0vgscc.js";
653
653
  import {
654
654
  generateDefaultClaudeMd2,
655
655
  generateDefaultSoulMd2,
@@ -721,7 +721,7 @@ import {
721
721
  import {
722
722
  init_package,
723
723
  package_default
724
- } from "./cli-2jm992rm.js";
724
+ } from "./cli-5d1m1qca.js";
725
725
  import {
726
726
  realtimeBus,
727
727
  init_bus
@@ -21125,7 +21125,7 @@ class NotifyExecutor extends BaseExecutor {
21125
21125
  }
21126
21126
  }
21127
21127
  case "slack": {
21128
- const { getSlackApp } = await import("./app-zneem7g9.js");
21128
+ const { getSlackApp } = await import("./app-4e1s4675.js");
21129
21129
  const app = getSlackApp();
21130
21130
  if (!app) {
21131
21131
  return {
@@ -24480,7 +24480,7 @@ function setPreloadedTools(server, names) {
24480
24480
  async function applyPreToolCall(name, args, requestInfo, inputSchema) {
24481
24481
  if (requestInfo.callOrigin !== "mcp")
24482
24482
  return { args };
24483
- const dispatcher = await import("./dispatcher-d3mnsg2y.js");
24483
+ const dispatcher = await import("./dispatcher-6pdjtkr1.js");
24484
24484
  const result = await dispatcher.dispatchPre("pre.tool.call", { tool: name, args, requestInfo }, inputSchema ? {
24485
24485
  validateModify: async (data) => {
24486
24486
  const schema = normalizeObjectSchema(inputSchema) ?? inputSchema;
@@ -34256,7 +34256,7 @@ async function notifySlack(text) {
34256
34256
  return;
34257
34257
  }
34258
34258
  try {
34259
- const { getSlackApp } = await import("./app-zneem7g9.js");
34259
+ const { getSlackApp } = await import("./app-4e1s4675.js");
34260
34260
  const app = getSlackApp();
34261
34261
  if (!app) {
34262
34262
  console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
@@ -34327,7 +34327,7 @@ async function deleteJiraWebhook(webhookId) {
34327
34327
  console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
34328
34328
  }
34329
34329
  async function overwriteWebhookIds(next) {
34330
- const { getDbClient } = await import("./db-jvr86v7f.js");
34330
+ const { getDbClient } = await import("./db-hy80219q.js");
34331
34331
  await getDbClient().transaction(async (tx) => {
34332
34332
  const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
34333
34333
  if (!row) {
@@ -107677,7 +107677,7 @@ async function reloadGlobalConfigsAndIntegrations() {
107677
107677
  return runWithoutRequestAuth(() => reloadGlobalConfigsAndIntegrationsInner());
107678
107678
  }
107679
107679
  async function reloadGlobalConfigsAndIntegrationsInner() {
107680
- const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-w2wr89xd.js");
107680
+ const { getEmbeddingProvider, resetEmbeddingProvider } = await import("./index-epr2gnbw.js");
107681
107681
  const wasEmbeddingsConfigured = getEmbeddingProvider().isConfigured();
107682
107682
  const updated = await loadGlobalConfigsIntoEnv(true);
107683
107683
  await syncTelemetryEnabled("settings").catch((err) => {
@@ -107693,10 +107693,10 @@ async function reloadGlobalConfigsAndIntegrationsInner() {
107693
107693
  integrations.push("embeddings");
107694
107694
  }
107695
107695
  if (!wasEmbeddingsConfigured && isEmbeddingsConfigured) {
107696
- import("./boot-reembed-4kx69j3g.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
107696
+ import("./boot-reembed-p666cw5n.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
107697
107697
  console.error("[config-reload] memory backfill failed (non-fatal):", err);
107698
107698
  });
107699
- import("./boot-reembed-db0wwgy1.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
107699
+ import("./boot-reembed-w6pm64j4.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
107700
107700
  console.error("[config-reload] script backfill failed (non-fatal):", err);
107701
107701
  });
107702
107702
  }
@@ -116853,6 +116853,7 @@ init_db3();
116853
116853
  var RESERVED_FAMILIES = new Map([
116854
116854
  ["apps", "namespace is reserved for swarm apps; use the app row endpoints"],
116855
116855
  ["comb", "namespace is reserved for Comb; use POST /api/comb/review-batches"],
116856
+ ["heartbeat-checklist", "namespace is reserved for heartbeat checklist receipts"],
116856
116857
  ["worker", "namespace is reserved for worker nudges"],
116857
116858
  ["slack-external-alert", "namespace is reserved for Slack external channel alerts"]
116858
116859
  ]);
@@ -4,7 +4,7 @@ import {
4
4
  claimKv2,
5
5
  deleteKv2,
6
6
  init_db3
7
- } from "./cli-4c7k75rq.js";
7
+ } from "./cli-re4wkbzx.js";
8
8
  import {
9
9
  isEnvFlagEnabled,
10
10
  init_env_flag
@@ -43,7 +43,7 @@ import {
43
43
  import {
44
44
  init_package,
45
45
  package_default
46
- } from "./cli-2jm992rm.js";
46
+ } from "./cli-5d1m1qca.js";
47
47
  import {
48
48
  scrubSecrets,
49
49
  init_secret_scrubber
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RuntimeProviderKindSchema,
3
3
  init_types
4
- } from "./cli-ksrphveb.js";
4
+ } from "./cli-yv0vgscc.js";
5
5
  import {
6
6
  init_zod
7
7
  } from "./cli-4chz1hye.js";