@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.
- package/README.md +2 -0
- package/dist/{actions-7bnvhcgs.js → actions-cdhadphb.js} +5 -5
- package/dist/{app-976fykvr.js → app-w2067dt3.js} +3 -3
- package/dist/{artifact-0874w6js.js → artifact-x7e6f41t.js} +1 -1
- package/dist/{assistant-5drs03t0.js → assistant-cb02pb41.js} +8 -8
- package/dist/{boot-reembed-0zhftca3.js → boot-reembed-b18pndap.js} +4 -4
- package/dist/{boot-reembed-wce58xfv.js → boot-reembed-p00s3r7a.js} +3 -3
- package/dist/{boot-scrub-logs-vkd2vvxp.js → boot-scrub-logs-b9ym4xx3.js} +2 -2
- package/dist/{cli-m4p6c600.js → cli-06d436hx.js} +5 -5
- package/dist/{cli-9kk0xa5w.js → cli-06xdf1gz.js} +1 -1
- package/dist/{cli-jkp1gndy.js → cli-15m4y05s.js} +5 -5
- package/dist/{cli-yarjrgd5.js → cli-9ed8efw3.js} +1 -1
- package/dist/{cli-xcp5dmts.js → cli-9kbww4vb.js} +1 -1
- package/dist/{cli-f5cx2j92.js → cli-azvm6fss.js} +2 -2
- package/dist/{cli-vwhg6sbn.js → cli-bx96sw2z.js} +2 -2
- package/dist/{cli-t6n84nqv.js → cli-chs2zh28.js} +5 -4
- package/dist/{cli-hmw1vk30.js → cli-dqxwy0td.js} +1 -1
- package/dist/{cli-r06ed00c.js → cli-h1gg78hv.js} +234 -63
- package/dist/{cli-kfjs4fjw.js → cli-hyn69s0c.js} +1 -1
- package/dist/{cli-s5q026mr.js → cli-j12px91x.js} +756 -110
- package/dist/{cli-e0xv4nd4.js → cli-jy7w6z37.js} +10 -7
- package/dist/{cli-fep22bhf.js → cli-mxennm5t.js} +2 -2
- package/dist/{cli-xm2tyqfe.js → cli-ppwm8c6e.js} +11 -0
- package/dist/{cli-1987vgjc.js → cli-q7eev82n.js} +3 -3
- package/dist/{cli-rymspw51.js → cli-qcm02dkk.js} +1 -1
- package/dist/{cli-5ekf4gcj.js → cli-qf35kzka.js} +1 -1
- package/dist/{cli-z824vphk.js → cli-qw9seygs.js} +2 -2
- package/dist/{cli-w5axeg22.js → cli-txxvn1zb.js} +1 -1
- package/dist/{cli-q0yn57de.js → cli-vfq38b3e.js} +1 -1
- package/dist/{cli-6058t3w0.js → cli-vt51szy9.js} +1 -1
- package/dist/{cli-09j7m5v3.js → cli-x1m2hp0q.js} +51 -12
- package/dist/{cli-ndsyqqqk.js → cli-zcra7f1h.js} +2 -2
- package/dist/cli.js +10 -10
- package/dist/{commands-b3p0fjzd.js → commands-rn6frj4c.js} +2 -2
- package/dist/{db-6xw82vz3.js → db-kmemzvqt.js} +16 -2
- package/dist/{handlers-kwrk085v.js → handlers-mppa5zb3.js} +8 -8
- package/dist/{hook-e4wdztg5.js → hook-ej6457r1.js} +1 -1
- package/dist/{http-x7svk8q5.js → http-wv092d70.js} +451 -82
- package/dist/{index-aadhkkde.js → index-adgr531h.js} +10 -10
- package/dist/{index-zj38e3q2.js → index-bc90csfq.js} +9 -9
- package/dist/{index-qb6nfqmy.js → index-n6xq6x5d.js} +8 -8
- package/dist/{index-35tw5g2v.js → index-q1x8ttq6.js} +281 -24
- package/dist/{keepalive-enehyqc8.js → keepalive-yjx8f7cq.js} +4 -4
- package/dist/{lead-nmzd0ykq.js → lead-r01f3pft.js} +18 -18
- package/dist/{maintenance-staxb3xt.js → maintenance-tr5vvp93.js} +4 -4
- package/dist/{oauth-refresh-sweep-fqczcwxn.js → oauth-refresh-sweep-s2jrst63.js} +3 -3
- package/dist/{onboard-shmqj6ep.js → onboard-czarh0tp.js} +2 -2
- package/dist/{otel-impl-726bmdyc.js → otel-impl-3e0t0kga.js} +1 -1
- package/dist/{pricing-refresh-rzwka8rf.js → pricing-refresh-0dvbj3rq.js} +4 -4
- package/dist/{rbac-roles-chkhakmf.js → rbac-roles-1q4v9s52.js} +3 -3
- package/dist/{rbac-roles-j2k0h8sx.js → rbac-roles-thnb7h7j.js} +2 -2
- package/dist/{seed-pricing-vta6a1q3.js → seed-pricing-76xbxghj.js} +3 -3
- package/dist/{setup-yv9ctywz.js → setup-b134pfqr.js} +2 -2
- package/dist/{worker-7w6571j0.js → worker-e1ssyv77.js} +18 -18
- package/openapi.json +369 -4
- package/package.json +1 -1
- package/plugin/skills/pages/SKILL.md +7 -0
- package/src/artifact-sdk/browser-sdk.ts +12 -0
- package/src/assets/key.ts +115 -0
- package/src/be/asset-key-audit.ts +210 -0
- package/src/be/asset-key-auth.ts +44 -0
- package/src/be/db.ts +721 -152
- package/src/be/migrations/115_asset_namespace_keys.sql +400 -0
- package/src/be/migrations/116_favorite_principal_scope.sql +38 -0
- package/src/be/seed-scripts/catalog/complete-task.ts +26 -0
- package/src/be/seed-scripts/catalog/delegate.ts +36 -0
- package/src/be/seed-scripts/catalog/get-child-outputs.ts +51 -0
- package/src/be/seed-scripts/catalog/report-progress.ts +16 -0
- package/src/be/seed-scripts/catalog/swarm-overview.ts +21 -0
- package/src/be/seed-scripts/catalog/wait-for-task.ts +32 -0
- package/src/be/seed-scripts/index.ts +53 -0
- package/src/be/seed-skills/index.ts +7 -0
- package/src/commands/runner.ts +62 -6
- package/src/http/all-routes.ts +1 -0
- package/src/http/assets.ts +238 -0
- package/src/http/favorite-owner.ts +39 -0
- package/src/http/favorites.ts +17 -16
- package/src/http/index.ts +2 -0
- package/src/http/mcp-bridge.ts +3 -1
- package/src/http/mcp.ts +11 -2
- package/src/http/pages.ts +54 -13
- package/src/http/schedules.ts +44 -5
- package/src/http/stats.ts +3 -3
- package/src/http/tasks.ts +25 -1
- package/src/http/workflows.ts +52 -6
- package/src/prompts/base-prompt.ts +28 -5
- package/src/prompts/session-templates.ts +56 -0
- package/src/scheduler/scheduler.test.ts +1 -0
- package/src/scheduler/scheduler.ts +1 -0
- package/src/server.ts +26 -1
- package/src/tests/artifact-sdk.test.ts +9 -1
- package/src/tests/asset-key-api.test.ts +277 -0
- package/src/tests/asset-key-invariants.test.ts +233 -0
- package/src/tests/asset-key-mcp.test.ts +168 -0
- package/src/tests/asset-key-migration.test.ts +336 -0
- package/src/tests/asset-key-normalization.test.ts +68 -0
- package/src/tests/favorites.test.ts +37 -0
- package/src/tests/pool-affinity.test.ts +3 -1
- package/src/tests/prompt-template-session.test.ts +5 -4
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/scripts-only-gating.test.ts +307 -0
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/system-default-skills.test.ts +6 -0
- package/src/tests/ui-swarm-sdk.test.ts +81 -0
- package/src/tests/workflow-workspace.test.ts +2 -0
- package/src/tools/create-page.ts +32 -1
- package/src/tools/get-tasks.ts +11 -1
- package/src/tools/schedules/create-schedule.ts +14 -1
- package/src/tools/schedules/list-schedules.ts +8 -0
- package/src/tools/schedules/patch-schedule.ts +11 -1
- package/src/tools/schedules/update-schedule.ts +11 -1
- package/src/tools/send-task.ts +30 -0
- package/src/tools/task-action.ts +24 -0
- package/src/tools/workflows/create-workflow.ts +19 -1
- package/src/tools/workflows/list-workflows.ts +5 -3
- package/src/tools/workflows/patch-workflow.ts +7 -2
- package/src/tools/workflows/update-workflow.ts +6 -0
- package/src/types.ts +64 -2
- package/src/utils/scripts-only-mode.ts +5 -0
- package/src/workflows/executors/agent-task.ts +4 -1
- package/templates/skills/asset-namespaces/config.json +14 -0
- 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-
|
|
4
|
-
import"./cli-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
16
|
+
import"./cli-9kbww4vb.js";
|
|
17
17
|
import"./cli-4j2mrzag.js";
|
|
18
18
|
import"./cli-e15jhafb.js";
|
|
19
19
|
import"./cli-7wmybrt5.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bufferThreadMessage,
|
|
3
3
|
wasEventSeen
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-06d436hx.js";
|
|
5
5
|
import {
|
|
6
6
|
hasOtherUserMention
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-06xdf1gz.js";
|
|
8
8
|
import {
|
|
9
9
|
require_dist
|
|
10
|
-
} from "./cli-
|
|
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-
|
|
17
|
-
import"./cli-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
5
|
-
import"./cli-
|
|
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-
|
|
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-
|
|
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-
|
|
6
|
+
} from "./cli-qcm02dkk.js";
|
|
7
7
|
import"./cli-q25ejbyn.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb,
|
|
10
10
|
init_db
|
|
11
|
-
} from "./cli-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./cli-06xdf1gz.js";
|
|
5
5
|
import {
|
|
6
6
|
getSlackApp,
|
|
7
7
|
registerTreeMessage
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-15m4y05s.js";
|
|
9
9
|
import {
|
|
10
10
|
rewriteSlackMentions
|
|
11
|
-
} from "./cli-
|
|
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-
|
|
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-
|
|
27
|
+
} from "./cli-j12px91x.js";
|
|
28
28
|
|
|
29
29
|
// src/slack/event-dedup.ts
|
|
30
30
|
var DEFAULT_TTL_MS = 300000;
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getTaskById,
|
|
28
28
|
init_db,
|
|
29
29
|
setSlackMessageTracking
|
|
30
|
-
} from "./cli-
|
|
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-
|
|
55077
|
-
const { registerCommandHandler } = await import("./commands-
|
|
55078
|
-
const { registerActionHandlers } = await import("./actions-
|
|
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-
|
|
55082
|
+
const { createAssistant } = await import("./assistant-cb02pb41.js");
|
|
55083
55083
|
app.assistant(createAssistant());
|
|
55084
55084
|
return app;
|
|
55085
55085
|
}
|
|
@@ -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.
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
7
|
+
} from "./cli-jy7w6z37.js";
|
|
8
8
|
import {
|
|
9
9
|
getScript,
|
|
10
10
|
getScriptApiConnectionDescriptors,
|
|
11
11
|
getScriptMcpConnectionDescriptors
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-bx96sw2z.js";
|
|
13
13
|
import {
|
|
14
14
|
createTaskWithSiblingAwareness
|
|
15
|
-
} from "./cli-
|
|
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-
|
|
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],
|