@desplega.ai/agent-swarm 1.117.0 → 1.119.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 (122) hide show
  1. package/README.md +2 -0
  2. package/dist/{actions-7bnvhcgs.js → actions-cdhadphb.js} +5 -5
  3. package/dist/{app-976fykvr.js → app-w2067dt3.js} +3 -3
  4. package/dist/{artifact-0874w6js.js → artifact-x7e6f41t.js} +1 -1
  5. package/dist/{assistant-5drs03t0.js → assistant-cb02pb41.js} +8 -8
  6. package/dist/{boot-reembed-0zhftca3.js → boot-reembed-b18pndap.js} +4 -4
  7. package/dist/{boot-reembed-wce58xfv.js → boot-reembed-p00s3r7a.js} +3 -3
  8. package/dist/{boot-scrub-logs-vkd2vvxp.js → boot-scrub-logs-b9ym4xx3.js} +2 -2
  9. package/dist/{cli-m4p6c600.js → cli-06d436hx.js} +5 -5
  10. package/dist/{cli-9kk0xa5w.js → cli-06xdf1gz.js} +1 -1
  11. package/dist/{cli-jkp1gndy.js → cli-15m4y05s.js} +5 -5
  12. package/dist/{cli-yarjrgd5.js → cli-9ed8efw3.js} +1 -1
  13. package/dist/{cli-xcp5dmts.js → cli-9kbww4vb.js} +1 -1
  14. package/dist/{cli-f5cx2j92.js → cli-azvm6fss.js} +2 -2
  15. package/dist/{cli-vwhg6sbn.js → cli-bx96sw2z.js} +2 -2
  16. package/dist/{cli-t6n84nqv.js → cli-chs2zh28.js} +5 -4
  17. package/dist/{cli-hmw1vk30.js → cli-dqxwy0td.js} +1 -1
  18. package/dist/{cli-r06ed00c.js → cli-h1gg78hv.js} +234 -63
  19. package/dist/{cli-kfjs4fjw.js → cli-hyn69s0c.js} +1 -1
  20. package/dist/{cli-s5q026mr.js → cli-j12px91x.js} +756 -110
  21. package/dist/{cli-e0xv4nd4.js → cli-jy7w6z37.js} +10 -7
  22. package/dist/{cli-fep22bhf.js → cli-mxennm5t.js} +2 -2
  23. package/dist/{cli-xm2tyqfe.js → cli-ppwm8c6e.js} +11 -0
  24. package/dist/{cli-1987vgjc.js → cli-q7eev82n.js} +3 -3
  25. package/dist/{cli-rymspw51.js → cli-qcm02dkk.js} +1 -1
  26. package/dist/{cli-5ekf4gcj.js → cli-qf35kzka.js} +1 -1
  27. package/dist/{cli-z824vphk.js → cli-qw9seygs.js} +2 -2
  28. package/dist/{cli-w5axeg22.js → cli-txxvn1zb.js} +1 -1
  29. package/dist/{cli-q0yn57de.js → cli-vfq38b3e.js} +1 -1
  30. package/dist/{cli-6058t3w0.js → cli-vt51szy9.js} +1 -1
  31. package/dist/{cli-09j7m5v3.js → cli-x1m2hp0q.js} +51 -12
  32. package/dist/{cli-ndsyqqqk.js → cli-zcra7f1h.js} +2 -2
  33. package/dist/cli.js +10 -10
  34. package/dist/{commands-b3p0fjzd.js → commands-rn6frj4c.js} +2 -2
  35. package/dist/{db-6xw82vz3.js → db-kmemzvqt.js} +16 -2
  36. package/dist/{handlers-kwrk085v.js → handlers-mppa5zb3.js} +8 -8
  37. package/dist/{hook-e4wdztg5.js → hook-ej6457r1.js} +1 -1
  38. package/dist/{http-x7svk8q5.js → http-wv092d70.js} +451 -82
  39. package/dist/{index-aadhkkde.js → index-adgr531h.js} +10 -10
  40. package/dist/{index-zj38e3q2.js → index-bc90csfq.js} +9 -9
  41. package/dist/{index-qb6nfqmy.js → index-n6xq6x5d.js} +8 -8
  42. package/dist/{index-35tw5g2v.js → index-q1x8ttq6.js} +281 -24
  43. package/dist/{keepalive-enehyqc8.js → keepalive-yjx8f7cq.js} +4 -4
  44. package/dist/{lead-nmzd0ykq.js → lead-r01f3pft.js} +18 -18
  45. package/dist/{maintenance-staxb3xt.js → maintenance-tr5vvp93.js} +4 -4
  46. package/dist/{oauth-refresh-sweep-fqczcwxn.js → oauth-refresh-sweep-s2jrst63.js} +3 -3
  47. package/dist/{onboard-shmqj6ep.js → onboard-czarh0tp.js} +2 -2
  48. package/dist/{otel-impl-726bmdyc.js → otel-impl-3e0t0kga.js} +1 -1
  49. package/dist/{pricing-refresh-rzwka8rf.js → pricing-refresh-0dvbj3rq.js} +4 -4
  50. package/dist/{rbac-roles-chkhakmf.js → rbac-roles-1q4v9s52.js} +3 -3
  51. package/dist/{rbac-roles-j2k0h8sx.js → rbac-roles-thnb7h7j.js} +2 -2
  52. package/dist/{seed-pricing-vta6a1q3.js → seed-pricing-76xbxghj.js} +3 -3
  53. package/dist/{setup-yv9ctywz.js → setup-b134pfqr.js} +2 -2
  54. package/dist/{worker-7w6571j0.js → worker-e1ssyv77.js} +18 -18
  55. package/openapi.json +369 -4
  56. package/package.json +1 -1
  57. package/plugin/skills/pages/SKILL.md +7 -0
  58. package/src/artifact-sdk/browser-sdk.ts +12 -0
  59. package/src/assets/key.ts +115 -0
  60. package/src/be/asset-key-audit.ts +210 -0
  61. package/src/be/asset-key-auth.ts +44 -0
  62. package/src/be/db.ts +721 -152
  63. package/src/be/migrations/115_asset_namespace_keys.sql +400 -0
  64. package/src/be/migrations/116_favorite_principal_scope.sql +38 -0
  65. package/src/be/seed-scripts/catalog/complete-task.ts +26 -0
  66. package/src/be/seed-scripts/catalog/delegate.ts +36 -0
  67. package/src/be/seed-scripts/catalog/get-child-outputs.ts +51 -0
  68. package/src/be/seed-scripts/catalog/report-progress.ts +16 -0
  69. package/src/be/seed-scripts/catalog/swarm-overview.ts +21 -0
  70. package/src/be/seed-scripts/catalog/wait-for-task.ts +32 -0
  71. package/src/be/seed-scripts/index.ts +53 -0
  72. package/src/be/seed-skills/index.ts +7 -0
  73. package/src/commands/runner.ts +62 -6
  74. package/src/http/all-routes.ts +1 -0
  75. package/src/http/assets.ts +238 -0
  76. package/src/http/favorite-owner.ts +39 -0
  77. package/src/http/favorites.ts +17 -16
  78. package/src/http/index.ts +2 -0
  79. package/src/http/mcp-bridge.ts +3 -1
  80. package/src/http/mcp.ts +11 -2
  81. package/src/http/pages.ts +54 -13
  82. package/src/http/schedules.ts +44 -5
  83. package/src/http/stats.ts +3 -3
  84. package/src/http/tasks.ts +25 -1
  85. package/src/http/workflows.ts +52 -6
  86. package/src/prompts/base-prompt.ts +28 -5
  87. package/src/prompts/session-templates.ts +56 -0
  88. package/src/scheduler/scheduler.test.ts +1 -0
  89. package/src/scheduler/scheduler.ts +1 -0
  90. package/src/server.ts +26 -1
  91. package/src/tests/artifact-sdk.test.ts +9 -1
  92. package/src/tests/asset-key-api.test.ts +277 -0
  93. package/src/tests/asset-key-invariants.test.ts +233 -0
  94. package/src/tests/asset-key-mcp.test.ts +168 -0
  95. package/src/tests/asset-key-migration.test.ts +336 -0
  96. package/src/tests/asset-key-normalization.test.ts +68 -0
  97. package/src/tests/favorites.test.ts +37 -0
  98. package/src/tests/pool-affinity.test.ts +3 -1
  99. package/src/tests/prompt-template-session.test.ts +5 -4
  100. package/src/tests/script-connections.test.ts +2 -0
  101. package/src/tests/scripts-only-gating.test.ts +307 -0
  102. package/src/tests/seed-scripts.test.ts +2 -2
  103. package/src/tests/system-default-skills.test.ts +6 -0
  104. package/src/tests/ui-swarm-sdk.test.ts +81 -0
  105. package/src/tests/workflow-workspace.test.ts +2 -0
  106. package/src/tools/create-page.ts +32 -1
  107. package/src/tools/get-tasks.ts +11 -1
  108. package/src/tools/schedules/create-schedule.ts +14 -1
  109. package/src/tools/schedules/list-schedules.ts +8 -0
  110. package/src/tools/schedules/patch-schedule.ts +11 -1
  111. package/src/tools/schedules/update-schedule.ts +11 -1
  112. package/src/tools/send-task.ts +30 -0
  113. package/src/tools/task-action.ts +24 -0
  114. package/src/tools/workflows/create-workflow.ts +19 -1
  115. package/src/tools/workflows/list-workflows.ts +5 -3
  116. package/src/tools/workflows/patch-workflow.ts +7 -2
  117. package/src/tools/workflows/update-workflow.ts +6 -0
  118. package/src/types.ts +64 -2
  119. package/src/utils/scripts-only-mode.ts +5 -0
  120. package/src/workflows/executors/agent-task.ts +4 -1
  121. package/templates/skills/asset-namespaces/config.json +14 -0
  122. package/templates/skills/asset-namespaces/content.md +60 -0
package/README.md CHANGED
@@ -127,7 +127,9 @@ Check [our templates](https://templates.agent-swarm.dev) for a quick start.
127
127
  - **Multi-channel inputs** — Slack, GitHub, GitLab, email, WhatsApp, Linear, Jira, and the HTTP API all create tasks. [Integrations](#integrations)
128
128
  - **Workflow engine with Human-in-the-Loop** — DAG-based automation with approval gates, retries, and structured I/O. [Workflows →](https://docs.agent-swarm.dev/docs/concepts/workflows)
129
129
  - **Scheduled & recurring tasks** — cron-based automation for standing work, with schedules that can target agent tasks, workflows, or catalog scripts. [Scheduling →](https://docs.agent-swarm.dev/docs/concepts/scheduling)
130
+ - **Asset namespaces** — group tasks, workflows, schedules, pages, and mapped files under canonical shared or personal keys, with inheritance, subtree filtering, audited moves, and cross-entity discovery. [Asset namespaces →](https://docs.agent-swarm.dev/docs/guides/asset-namespaces)
130
131
  - **Durable script workflows** — launch background script runs, inspect their journals, and track them from the dashboard when a one-shot `script-run` is too small. [Guide →](https://docs.agent-swarm.dev/docs/guides/script-workflow-runs)
132
+ - **Scripts-only MCP mode (code-mode)** — reduce the external MCP surface to eight script tools while retaining the full swarm SDK through `script-run`, cutting tool-schema context for capable coordinator models. [Guide →](https://docs.agent-swarm.dev/docs/guides/scripts-only-mode)
131
133
  - **Scripts as external APIs** — expose a saved script as a public `POST /api/x/script/<id>` endpoint with optional bearer auth, typed input validation, and per-endpoint usage tracking. [Guide →](https://docs.agent-swarm.dev/docs/guides/scripts-external-apis)
132
134
  - **Typed script API connections** — lead-managed OpenAPI, GraphQL, and MCP connections generate `ctx.api.*` / `ctx.mcp.*` clients for scripts, with credential bindings and OAuth-backed auth kept server-side. [Guide →](https://docs.agent-swarm.dev/docs/guides/script-connections)
133
135
  - **E2B-backed eval harness** — run a scenario × harness-config matrix against real swarm stacks, capture transcripts/artifacts, and grade outcomes with deterministic checks plus LLM or agentic judges. [Guide →](https://docs.agent-swarm.dev/docs/guides/evals-harness)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  resolveSlackUserId
3
- } from "./cli-ndsyqqqk.js";
4
- import"./cli-w5axeg22.js";
3
+ } from "./cli-zcra7f1h.js";
4
+ import"./cli-txxvn1zb.js";
5
5
  import {
6
6
  buildCancelledBlocks,
7
7
  getTaskLink
@@ -9,7 +9,7 @@ import {
9
9
  import"./cli-wspgs9bt.js";
10
10
  import {
11
11
  createTaskWithSiblingAwareness
12
- } from "./cli-5ekf4gcj.js";
12
+ } from "./cli-qf35kzka.js";
13
13
  import"./cli-dh55d5fg.js";
14
14
  import {
15
15
  cancelTask,
@@ -19,11 +19,11 @@ import {
19
19
  init_context_key,
20
20
  init_db,
21
21
  slackContextKey
22
- } from "./cli-s5q026mr.js";
22
+ } from "./cli-j12px91x.js";
23
23
  import"./cli-z2zcxes1.js";
24
24
  import"./cli-bw80ck94.js";
25
25
  import"./cli-xz9aq0rf.js";
26
- import"./cli-xcp5dmts.js";
26
+ import"./cli-9kbww4vb.js";
27
27
  import"./cli-4j2mrzag.js";
28
28
  import"./cli-p9swy5t3.js";
29
29
 
@@ -3,17 +3,17 @@ import {
3
3
  initSlackApp,
4
4
  startSlackApp,
5
5
  stopSlackApp
6
- } from "./cli-jkp1gndy.js";
6
+ } from "./cli-15m4y05s.js";
7
7
  import"./cli-rkndnn90.js";
8
8
  import"./cli-b0p7rfnd.js";
9
9
  import"./cli-ma04faw5.js";
10
10
  import"./cli-wspgs9bt.js";
11
11
  import"./cli-dh55d5fg.js";
12
- import"./cli-s5q026mr.js";
12
+ import"./cli-j12px91x.js";
13
13
  import"./cli-z2zcxes1.js";
14
14
  import"./cli-bw80ck94.js";
15
15
  import"./cli-xz9aq0rf.js";
16
- import"./cli-xcp5dmts.js";
16
+ import"./cli-9kbww4vb.js";
17
17
  import"./cli-4j2mrzag.js";
18
18
  import"./cli-e15jhafb.js";
19
19
  import"./cli-7wmybrt5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  BROWSER_SDK_JS
3
- } from "./cli-xm2tyqfe.js";
3
+ } from "./cli-ppwm8c6e.js";
4
4
  import {
5
5
  getApiKey
6
6
  } from "./cli-f14fvzag.js";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  bufferThreadMessage,
3
3
  wasEventSeen
4
- } from "./cli-m4p6c600.js";
4
+ } from "./cli-06d436hx.js";
5
5
  import {
6
6
  hasOtherUserMention
7
- } from "./cli-9kk0xa5w.js";
7
+ } from "./cli-06xdf1gz.js";
8
8
  import {
9
9
  require_dist
10
- } from "./cli-jkp1gndy.js";
10
+ } from "./cli-15m4y05s.js";
11
11
  import"./cli-rkndnn90.js";
12
12
  import"./cli-b0p7rfnd.js";
13
13
  import {
14
14
  resolveSlackUserId,
15
15
  rewriteSlackMentions
16
- } from "./cli-ndsyqqqk.js";
17
- import"./cli-w5axeg22.js";
16
+ } from "./cli-zcra7f1h.js";
17
+ import"./cli-txxvn1zb.js";
18
18
  import"./cli-ma04faw5.js";
19
19
  import"./cli-wspgs9bt.js";
20
20
  import {
21
21
  createTaskWithSiblingAwareness
22
- } from "./cli-5ekf4gcj.js";
22
+ } from "./cli-qf35kzka.js";
23
23
  import"./cli-dh55d5fg.js";
24
24
  import {
25
25
  getAgentWorkingOnThread,
@@ -30,11 +30,11 @@ import {
30
30
  init_resolver,
31
31
  resolveTemplate,
32
32
  slackContextKey
33
- } from "./cli-s5q026mr.js";
33
+ } from "./cli-j12px91x.js";
34
34
  import"./cli-z2zcxes1.js";
35
35
  import"./cli-bw80ck94.js";
36
36
  import"./cli-xz9aq0rf.js";
37
- import"./cli-xcp5dmts.js";
37
+ import"./cli-9kbww4vb.js";
38
38
  import"./cli-4j2mrzag.js";
39
39
  import"./cli-e15jhafb.js";
40
40
  import"./cli-7wmybrt5.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  embedScript,
3
3
  embeddingProvider
4
- } from "./cli-z824vphk.js";
5
- import"./cli-rymspw51.js";
4
+ } from "./cli-qw9seygs.js";
5
+ import"./cli-qcm02dkk.js";
6
6
  import"./cli-q25ejbyn.js";
7
7
  import {
8
8
  getDb,
9
9
  init_db
10
- } from "./cli-s5q026mr.js";
10
+ } from "./cli-j12px91x.js";
11
11
  import"./cli-z2zcxes1.js";
12
12
  import"./cli-bw80ck94.js";
13
13
  import"./cli-xz9aq0rf.js";
14
- import"./cli-xcp5dmts.js";
14
+ import"./cli-9kbww4vb.js";
15
15
  import"./cli-4j2mrzag.js";
16
16
  import"./cli-p9swy5t3.js";
17
17
 
@@ -3,16 +3,16 @@ import {
3
3
  getEmbeddingProvider,
4
4
  getMemoryStore,
5
5
  init_constants
6
- } from "./cli-rymspw51.js";
6
+ } from "./cli-qcm02dkk.js";
7
7
  import"./cli-q25ejbyn.js";
8
8
  import {
9
9
  getDb,
10
10
  init_db
11
- } from "./cli-s5q026mr.js";
11
+ } from "./cli-j12px91x.js";
12
12
  import"./cli-z2zcxes1.js";
13
13
  import"./cli-bw80ck94.js";
14
14
  import"./cli-xz9aq0rf.js";
15
- import"./cli-xcp5dmts.js";
15
+ import"./cli-9kbww4vb.js";
16
16
  import"./cli-4j2mrzag.js";
17
17
  import"./cli-p9swy5t3.js";
18
18
 
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getDb,
3
3
  init_db
4
- } from "./cli-s5q026mr.js";
4
+ } from "./cli-j12px91x.js";
5
5
  import"./cli-z2zcxes1.js";
6
6
  import"./cli-bw80ck94.js";
7
7
  import"./cli-xz9aq0rf.js";
8
- import"./cli-xcp5dmts.js";
8
+ import"./cli-9kbww4vb.js";
9
9
  import {
10
10
  init_secret_scrubber,
11
11
  scrubSecrets
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  createAdditiveBuffer,
3
3
  extractSlackMessageText
4
- } from "./cli-9kk0xa5w.js";
4
+ } from "./cli-06xdf1gz.js";
5
5
  import {
6
6
  getSlackApp,
7
7
  registerTreeMessage
8
- } from "./cli-jkp1gndy.js";
8
+ } from "./cli-15m4y05s.js";
9
9
  import {
10
10
  rewriteSlackMentions
11
- } from "./cli-ndsyqqqk.js";
11
+ } from "./cli-zcra7f1h.js";
12
12
  import {
13
13
  buildBufferFlushBlocks
14
14
  } from "./cli-ma04faw5.js";
15
15
  import {
16
16
  createTaskWithSiblingAwareness
17
- } from "./cli-5ekf4gcj.js";
17
+ } from "./cli-qf35kzka.js";
18
18
  import {
19
19
  getLatestActiveTaskInThread,
20
20
  getLeadAgent,
@@ -24,7 +24,7 @@ import {
24
24
  init_registry,
25
25
  registerTemplate,
26
26
  slackContextKey
27
- } from "./cli-s5q026mr.js";
27
+ } from "./cli-j12px91x.js";
28
28
 
29
29
  // src/slack/event-dedup.ts
30
30
  var DEFAULT_TTL_MS = 300000;
@@ -3,7 +3,7 @@ import {
3
3
  getAgentWorkingOnThread,
4
4
  getAllAgents,
5
5
  init_db
6
- } from "./cli-s5q026mr.js";
6
+ } from "./cli-j12px91x.js";
7
7
 
8
8
  // src/slack/router.ts
9
9
  init_db();
@@ -27,7 +27,7 @@ import {
27
27
  getTaskById,
28
28
  init_db,
29
29
  setSlackMessageTracking
30
- } from "./cli-s5q026mr.js";
30
+ } from "./cli-j12px91x.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-kwrk085v.js");
55077
- const { registerCommandHandler } = await import("./commands-b3p0fjzd.js");
55078
- const { registerActionHandlers } = await import("./actions-7bnvhcgs.js");
55076
+ const { registerMessageHandler } = await import("./handlers-mppa5zb3.js");
55077
+ const { registerCommandHandler } = await import("./commands-rn6frj4c.js");
55078
+ const { registerActionHandlers } = await import("./actions-cdhadphb.js");
55079
55079
  registerMessageHandler(app);
55080
55080
  registerCommandHandler(app);
55081
55081
  registerActionHandlers(app);
55082
- const { createAssistant } = await import("./assistant-5drs03t0.js");
55082
+ const { createAssistant } = await import("./assistant-cb02pb41.js");
55083
55083
  app.assistant(createAssistant());
55084
55084
  return app;
55085
55085
  }
@@ -18,7 +18,7 @@ import {
18
18
  init_templates1 as init_templates,
19
19
  normalizeDateRequired,
20
20
  resolveTemplate
21
- } from "./cli-s5q026mr.js";
21
+ } from "./cli-j12px91x.js";
22
22
 
23
23
  // src/be/db-queries/tracker.ts
24
24
  init_date_utils();
@@ -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.117.0",
10
+ version: "1.119.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>",
@@ -2,7 +2,7 @@ import {
2
2
  getScriptApiTypes,
3
3
  getScriptMcpTypes,
4
4
  require_typescript
5
- } from "./cli-vwhg6sbn.js";
5
+ } from "./cli-bx96sw2z.js";
6
6
  import {
7
7
  deleteSwarmConfigByKey,
8
8
  getAgentById,
@@ -11,7 +11,7 @@ import {
11
11
  getSwarmConfigs,
12
12
  init_db,
13
13
  upsertSwarmConfig
14
- } from "./cli-s5q026mr.js";
14
+ } from "./cli-j12px91x.js";
15
15
  import {
16
16
  init_secret_scrubber,
17
17
  scrubSecrets
@@ -3,7 +3,7 @@ import {
3
3
  } from "./cli-jkhwmmgg.js";
4
4
  import {
5
5
  embedScript
6
- } from "./cli-z824vphk.js";
6
+ } from "./cli-qw9seygs.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-s5q026mr.js";
25
+ } from "./cli-j12px91x.js";
26
26
  import {
27
27
  init_zod
28
28
  } from "./cli-bw80ck94.js";
@@ -4,15 +4,15 @@ import {
4
4
  handleScheduleTrigger,
5
5
  runScript,
6
6
  startWorkflowExecution
7
- } from "./cli-e0xv4nd4.js";
7
+ } from "./cli-jy7w6z37.js";
8
8
  import {
9
9
  getScript,
10
10
  getScriptApiConnectionDescriptors,
11
11
  getScriptMcpConnectionDescriptors
12
- } from "./cli-vwhg6sbn.js";
12
+ } from "./cli-bx96sw2z.js";
13
13
  import {
14
14
  createTaskWithSiblingAwareness
15
- } from "./cli-5ekf4gcj.js";
15
+ } from "./cli-qf35kzka.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-s5q026mr.js";
27
+ } from "./cli-j12px91x.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __require,
@@ -6865,6 +6865,7 @@ function createStandaloneScheduleTask(schedule, extraTags = []) {
6865
6865
  throw new Error(`Schedule "${schedule.name}" has no taskTemplate (targetType=agent-task)`);
6866
6866
  }
6867
6867
  return createTaskWithSiblingAwareness(schedule.taskTemplate, {
6868
+ key: schedule.key,
6868
6869
  creatorAgentId: schedule.createdByAgentId,
6869
6870
  taskType: schedule.taskType,
6870
6871
  tags: [...schedule.tags, "scheduled", `schedule:${schedule.name}`, ...extraTags],
@@ -8,7 +8,7 @@ import {
8
8
  init_date_utils,
9
9
  init_db,
10
10
  normalizeDateRequired
11
- } from "./cli-s5q026mr.js";
11
+ } from "./cli-j12px91x.js";
12
12
 
13
13
  // src/be/db-queries/oauth.ts
14
14
  init_date_utils();