@desplega.ai/agent-swarm 1.145.0 → 1.147.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 -1
- package/dist/{acp-adapter-580t41c0.js → acp-adapter-9n319wqc.js} +61 -6
- package/dist/{actions-m662tjng.js → actions-2vxqvpr9.js} +9 -8
- package/dist/{app-zb3rndm8.js → app-w066xfy0.js} +6 -5
- package/dist/assistant-kt31dj2h.js +236 -0
- package/dist/{boot-reembed-072x00vn.js → boot-reembed-az5rassp.js} +7 -6
- package/dist/{boot-reembed-65zz2smt.js → boot-reembed-j3mm3rfz.js} +8 -7
- package/dist/{boot-scrub-logs-yz0ams04.js → boot-scrub-logs-b6h54817.js} +4 -4
- package/dist/{claude-adapter-paj270y2.js → claude-adapter-w1z04ann.js} +8 -6
- package/dist/{claude-managed-setup-w619jncn.js → claude-managed-setup-f5pmsyrp.js} +24 -3
- package/dist/{claude-sdk-session-swt80j9z.js → claude-sdk-session-f0cc1kec.js} +8 -6
- package/dist/{cli-dt553ktb.js → cli-0b6y7kxm.js} +1 -1
- package/dist/{cli-bxdhw615.js → cli-12fz972k.js} +4 -4
- package/dist/{cli-s2f20r5w.js → cli-1th1728g.js} +2 -2
- package/dist/{cli-rs6ec3b9.js → cli-3tgwnf43.js} +3 -3
- package/dist/{cli-gxnzc6wh.js → cli-4nr988h6.js} +1 -1
- package/dist/{cli-axs8e6d4.js → cli-53s590z8.js} +1 -1
- package/dist/{cli-ygbjp3z8.js → cli-54wwve05.js} +5 -4
- package/dist/{cli-v0asr5yv.js → cli-719k9j2c.js} +2 -2
- package/dist/{cli-anktweqr.js → cli-89xfd7f9.js} +21 -47
- package/dist/{cli-q34a0e10.js → cli-8v0g1yc8.js} +1 -1
- package/dist/cli-9d8ntetj.js +42 -0
- package/dist/{cli-z9fprcrf.js → cli-atcve9y8.js} +881 -738
- package/dist/{cli-jmb7g47h.js → cli-b5bq9crk.js} +14 -31
- package/dist/cli-d8brzxjb.js +190 -0
- package/dist/{cli-gzky0gkr.js → cli-de14znh8.js} +2 -2
- package/dist/{cli-xytwff7f.js → cli-dttph1bw.js} +2 -2
- package/dist/cli-ep19k3mb.js +19 -0
- package/dist/{cli-m1xa8be7.js → cli-f146mn5s.js} +7 -50
- package/dist/{cli-1fj0chdk.js → cli-f7dsy61y.js} +5 -3
- package/dist/{cli-f567d5c1.js → cli-ftht3zzj.js} +2782 -2589
- package/dist/{cli-a0g1gbt5.js → cli-hbv0kq6w.js} +2 -2
- package/dist/{cli-fhsz3twr.js → cli-jsp14b6c.js} +171 -1
- package/dist/{cli-7fnkj1hj.js → cli-kpv03zhj.js} +21 -17
- package/dist/{cli-m4j6trn4.js → cli-m8yrsg97.js} +2 -2
- package/dist/cli-m9sxbkhm.js +779 -0
- package/dist/cli-mmemxxdc.js +823 -0
- package/dist/{cli-tqtvj5pt.js → cli-n8508nre.js} +1 -1
- package/dist/{cli-z96t0thj.js → cli-p1d5b073.js} +37 -2
- package/dist/{cli-gh8y8f36.js → cli-rw51bq3j.js} +13 -10
- package/dist/{cli-59ej1c07.js → cli-smby5m17.js} +7 -6
- package/dist/{cli-65vqzz3v.js → cli-tzvk9haz.js} +94 -372
- package/dist/{cli-dc9k2ba9.js → cli-w9kb3bk1.js} +1 -1
- package/dist/{cli-kpev657q.js → cli-y6b6fb76.js} +25 -3
- package/dist/{cli-123q2get.js → cli-yz3djrm0.js} +9 -9
- package/dist/{cli-wvp6bvy4.js → cli-zhjmqxzh.js} +1 -1
- package/dist/cli.js +13 -13
- package/dist/{codex-adapter-k98vaw2r.js → codex-adapter-zw4dwsx7.js} +2 -2
- package/dist/{codex-hook-9pf19cks.js → codex-hook-bw8p5nh4.js} +2 -2
- package/dist/{codex-session-runner-tngtphx7.js → codex-session-runner-k981s65v.js} +2 -2
- package/dist/{commands-y8nbr3fv.js → commands-sykrxx7e.js} +4 -4
- package/dist/{db-30p4h2t1.js → db-sfbsc8wt.js} +6 -4
- package/dist/handlers-0aspcejm.js +603 -0
- package/dist/{hook-dcw4jfbj.js → hook-4nvqj2sb.js} +7 -5
- package/dist/{hook-21jexvfx.js → hook-hxccs7m5.js} +24 -49
- package/dist/{http-r4kq5g8d.js → http-y06z517d.js} +230 -94
- package/dist/{index-q3qja6ta.js → index-hssww7kj.js} +15 -14
- package/dist/{index-gay66b9w.js → index-k8znfx0z.js} +13 -12
- package/dist/{index-53zyht4z.js → index-tce1rss4.js} +371 -110
- package/dist/{index-nqvf26za.js → index-x5j894zf.js} +14 -13
- package/dist/{keepalive-xs8fa55y.js → keepalive-w733ax66.js} +6 -6
- package/dist/{lead-d9m2t4s0.js → lead-75bjqa9d.js} +29 -27
- package/dist/{maintenance-3zh82g6z.js → maintenance-w4f1zjck.js} +8 -7
- package/dist/{oauth-refresh-sweep-03snsye5.js → oauth-refresh-sweep-wdetky26.js} +5 -5
- package/dist/{onboard-0cg1925x.js → onboard-bb5net8s.js} +2 -2
- package/dist/{otel-impl-0ab95z27.js → otel-impl-0w7c14ap.js} +1 -1
- package/dist/{pi-mono-adapter-dtkz4e7j.js → pi-mono-adapter-2has4gnp.js} +12 -2
- package/dist/{pricing-refresh-e5jhzz4j.js → pricing-refresh-9nzsrgcq.js} +6 -6
- package/dist/{rbac-roles-p1mf40z3.js → rbac-roles-r3hqjp09.js} +5 -5
- package/dist/{rbac-roles-2w3cmrkc.js → rbac-roles-z1jrffbt.js} +4 -4
- package/dist/{registry-9kdck5ye.js → registry-v5wytg0s.js} +1 -2
- package/dist/{render-v2-xhawry3k.js → render-v2-vbr89fnb.js} +6 -5
- package/dist/{seed-pricing-t223sw91.js → seed-pricing-g62hy1pk.js} +7 -5
- package/dist/{setup-zcs0rce7.js → setup-gnfqnptp.js} +2 -2
- package/dist/{worker-qnp2ka62.js → worker-kznxp4qm.js} +29 -27
- package/openapi.json +263 -12
- package/package.json +1 -1
- package/plugin/commands/start-worker.md +4 -9
- package/plugin/pi-skills/start-worker/SKILL.md +4 -9
- package/src/be/db/agents.ts +556 -0
- package/src/be/db/context-versions.ts +117 -0
- package/src/be/db/runtime.ts +406 -0
- package/src/be/db/tasks/read.ts +1167 -0
- package/src/be/db/tasks/write.ts +953 -0
- package/src/be/db.ts +584 -3429
- package/src/be/migrations/147_scheduled_tasks_parent_task.sql +7 -0
- package/src/be/migrations/148_pages_svg.sql +123 -0
- package/src/be/migrations/149_session_tokens.sql +24 -0
- package/src/be/scripts/typecheck.ts +1 -0
- package/src/be/seed-pricing.ts +13 -8
- package/src/be/seed-scripts/catalog/ops-catalog-audit.inline.ts +1 -1
- package/src/be/seed-scripts/catalog/ops-catalog-audit.ts +1 -1
- package/src/be/seed-scripts/catalog/star-history-refresh.ts +101 -0
- package/src/be/seed-scripts/catalog/star-history-renderer.ts +119 -0
- package/src/be/seed-scripts/index.ts +17 -0
- package/src/be/seed-skills/index.ts +14 -0
- package/src/be/swarm-config-guard.ts +5 -2
- package/src/be/task-attachment-store.ts +70 -0
- package/src/be/users.ts +77 -0
- package/src/commands/attachments-section.ts +37 -0
- package/src/commands/claude-managed-setup.ts +45 -3
- package/src/commands/claude-md-session.ts +408 -0
- package/src/commands/context-preamble.ts +15 -3
- package/src/commands/profile-sync.ts +205 -5
- package/src/commands/provider-credentials.ts +60 -27
- package/src/commands/runner.ts +63 -58
- package/src/commands/templates.ts +25 -2
- package/src/hooks/hook.ts +26 -67
- package/src/http/agents.ts +40 -1
- package/src/http/auth.ts +13 -1
- package/src/http/fs.ts +21 -51
- package/src/http/index.ts +2 -0
- package/src/http/mcp.ts +32 -0
- package/src/http/pages-public.ts +20 -4
- package/src/http/pages.ts +11 -3
- package/src/http/poll.ts +4 -0
- package/src/http/repos.ts +3 -3
- package/src/http/sessions.ts +82 -0
- package/src/http/tasks.ts +10 -2
- package/src/http/utils.ts +79 -1
- package/src/prompts/session-templates.ts +12 -8
- package/src/providers/acp-adapter.ts +62 -8
- package/src/providers/pi-mono-adapter.ts +23 -6
- package/src/providers/pricing-sources.md +11 -0
- package/src/scheduler/scheduler.test.ts +49 -2
- package/src/scheduler/scheduler.ts +4 -0
- package/src/scripts-runtime/sdk-allowlist.ts +1 -0
- package/src/scripts-runtime/types/stdlib.d.ts +8 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +8 -0
- package/src/server.ts +2 -0
- package/src/slack/assistant.ts +87 -46
- package/src/slack/handlers.test.ts +1 -3
- package/src/slack/handlers.ts +102 -87
- package/src/slack/inbound-files.ts +466 -0
- package/src/slack/templates.ts +14 -0
- package/src/tasks/task-terminal-effects.ts +158 -0
- package/src/tests/acp-adapter.test.ts +369 -117
- package/src/tests/budget-claim-gate.test.ts +1 -0
- package/src/tests/build-pi-skills.test.ts +5 -7
- package/src/tests/claude-managed-setup.test.ts +52 -4
- package/src/tests/claude-md-session.test.ts +603 -0
- package/src/tests/codex-skill-resolver.test.ts +19 -0
- package/src/tests/context-versioning.test.ts +107 -0
- package/src/tests/cors-allowlist.test.ts +309 -0
- package/src/tests/credential-check.test.ts +157 -14
- package/src/tests/db-agents.test.ts +91 -0
- package/src/tests/db-context-versions.test.ts +37 -0
- package/src/tests/db-extraction-contract.test.ts +45 -0
- package/src/tests/db-runtime.test.ts +70 -0
- package/src/tests/db-task-read-contract.test.ts +624 -0
- package/src/tests/db-task-write-contract.test.ts +653 -0
- package/src/tests/db-tasks-read.test.ts +183 -0
- package/src/tests/db-tasks-write.test.ts +230 -0
- package/src/tests/defer-task.test.ts +389 -0
- package/src/tests/docs-index-footprint.test.js +2 -2
- package/src/tests/e2e-visuals-stage.test.ts +151 -0
- package/src/tests/file-lock.test.ts +144 -0
- package/src/tests/fixtures/file-lock-holder.ts +13 -0
- package/src/tests/fixtures/hold-file-lock.ts +25 -0
- package/src/tests/heartbeat-expiry.test.ts +188 -0
- package/src/tests/http-api-integration.test.ts +78 -1
- package/src/tests/pages-public-html.test.ts +43 -0
- package/src/tests/pages-svg-migration.test.ts +42 -0
- package/src/tests/preload.ts +4 -1
- package/src/tests/profile-sync-warning.test.ts +16 -0
- package/src/tests/profile-sync.test.ts +126 -0
- package/src/tests/prompt-template-session.test.ts +20 -4
- package/src/tests/provider-registration.test.ts +93 -0
- package/src/tests/rbac-e2e-helpers.test.ts +53 -0
- package/src/tests/rbac-e2e-helpers.ts +19 -2
- package/src/tests/reload-config.test.ts +26 -0
- package/src/tests/routing-affinity-inventory.test.ts +1 -1
- package/src/tests/runner-attachments-section.test.ts +22 -2
- package/src/tests/runner-context-preamble.test.ts +30 -0
- package/src/tests/runner-deployment-resume.test.ts +107 -0
- package/src/tests/runner-repo-autostash.test.ts +12 -0
- package/src/tests/script-connections.test.ts +4 -0
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/session-tokens.test.ts +279 -0
- package/src/tests/slack-file-tools-attachments.test.ts +408 -0
- package/src/tests/slack-inbound-files.test.ts +847 -0
- package/src/tests/star-history-refresh.test.ts +102 -0
- package/src/tests/swarm-config-reserved-keys.test.ts +21 -0
- package/src/tests/swarm-repos.test.ts +20 -0
- package/src/tests/tool-annotations.test.ts +4 -3
- package/src/tests/ui-logs-parser.test.ts +176 -0
- package/src/tools/create-page.ts +4 -2
- package/src/tools/defer-task.ts +239 -0
- package/src/tools/repos/update-repo.ts +2 -2
- package/src/tools/schedules/create-schedule.ts +1 -0
- package/src/tools/schedules/list-schedules.ts +1 -0
- package/src/tools/schedules/patch-schedule.ts +1 -0
- package/src/tools/schedules/update-schedule.ts +1 -0
- package/src/tools/slack-download-file.ts +60 -29
- package/src/tools/slack-read.ts +73 -32
- package/src/tools/store-progress.ts +16 -146
- package/src/tools/tool-config.ts +1 -0
- package/src/tools/utils.ts +21 -0
- package/src/types.ts +37 -4
- package/src/utils/acp-session-token.ts +56 -0
- package/src/utils/file-lock.ts +111 -0
- package/src/utils/heartbeat-expiry.ts +78 -0
- package/src/utils/request-auth-context.ts +2 -0
- package/src/utils/task-attachment-links.ts +22 -0
- package/templates/skills/code-quality/content.md +8 -5
- package/templates/skills/download-task-attachment/content.md +2 -1
- package/{plugin/pi-skills → templates/skills}/review-offered-task/SKILL.md +5 -5
- package/templates/skills/review-offered-task/config.json +14 -0
- package/{plugin/commands/review-offered-task.md → templates/skills/review-offered-task/content.md} +3 -8
- package/templates/skills/scheduling/content.md +4 -0
- package/templates/skills/slack-interaction/content.md +2 -2
- package/templates/skills/work-on-task/SKILL.md +16 -0
- package/templates/skills/work-on-task/config.json +14 -0
- package/templates/skills/work-on-task/content.md +11 -0
- package/dist/assistant-0qt42nzg.js +0 -212
- package/dist/cli-fs1kkqgr.js +0 -317
- package/dist/cli-jnf5zghe.js +0 -269
- package/dist/cli-n1q8q14d.js +0 -177
- package/dist/handlers-yfp1qn81.js +0 -592
- package/plugin/commands/work-on-task.md +0 -39
- package/plugin/pi-skills/work-on-task/SKILL.md +0 -39
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
isSteeringEnabled,
|
|
7
7
|
registerTemplate,
|
|
8
8
|
resolveTemplateAsync
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-kpv03zhj.js";
|
|
10
10
|
import {
|
|
11
11
|
__esm
|
|
12
12
|
} from "./cli-bc05qbss.js";
|
|
@@ -660,7 +660,7 @@ Review these messages and decide if any require action:
|
|
|
660
660
|
|
|
661
661
|
**RESUMED TASK** - This task was interrupted during a deployment and is being resumed.
|
|
662
662
|
|
|
663
|
-
Task: "{{task_description}}"
|
|
663
|
+
Task: "{{task_description}}"{{attachments_section}}
|
|
664
664
|
|
|
665
665
|
Previous Progress:
|
|
666
666
|
{{progress}}
|
|
@@ -670,6 +670,7 @@ Continue from where you left off. Review the progress above and complete the rem
|
|
|
670
670
|
{ name: "work_on_task_cmd", description: "Formatted /work-on-task command" },
|
|
671
671
|
{ name: "task_id", description: "Task ID" },
|
|
672
672
|
{ name: "task_description", description: "Original task description" },
|
|
673
|
+
{ name: "attachments_section", description: "Task attachment fetch recipes" },
|
|
673
674
|
{ name: "progress", description: "Previous progress text" },
|
|
674
675
|
{
|
|
675
676
|
name: "completion_instructions",
|
|
@@ -685,13 +686,14 @@ Continue from where you left off. Review the progress above and complete the rem
|
|
|
685
686
|
|
|
686
687
|
**RESUMED TASK** - This task was interrupted during a deployment and is being resumed.
|
|
687
688
|
|
|
688
|
-
Task: "{{task_description}}"
|
|
689
|
+
Task: "{{task_description}}"{{attachments_section}}
|
|
689
690
|
|
|
690
691
|
No progress was saved before the interruption. Start the task fresh but be aware files may have been partially modified.{{completion_instructions}}`,
|
|
691
692
|
variables: [
|
|
692
693
|
{ name: "work_on_task_cmd", description: "Formatted /work-on-task command" },
|
|
693
694
|
{ name: "task_id", description: "Task ID" },
|
|
694
695
|
{ name: "task_description", description: "Original task description" },
|
|
696
|
+
{ name: "attachments_section", description: "Task attachment fetch recipes" },
|
|
695
697
|
{
|
|
696
698
|
name: "completion_instructions",
|
|
697
699
|
description: "Completion instructions (empty for providers without MCP)"
|
|
@@ -699,6 +701,26 @@ No progress was saved before the interruption. Start the task fresh but be aware
|
|
|
699
701
|
],
|
|
700
702
|
category: "task_lifecycle"
|
|
701
703
|
});
|
|
704
|
+
registerTemplate({
|
|
705
|
+
eventType: "task.output.schema",
|
|
706
|
+
header: "",
|
|
707
|
+
defaultBody: `
|
|
708
|
+
|
|
709
|
+
**Required Output Format**: When completing this task, you MUST call store-progress with output that is valid JSON conforming to this schema:
|
|
710
|
+
\`\`\`json
|
|
711
|
+
{{schema}}
|
|
712
|
+
\`\`\`
|
|
713
|
+
Call store-progress with status "completed" and your JSON output. If your output doesn't match the schema, the tool call will fail and you should fix and retry.`,
|
|
714
|
+
variables: [{ name: "schema", description: "Required output JSON schema" }],
|
|
715
|
+
category: "task_lifecycle"
|
|
716
|
+
});
|
|
717
|
+
registerTemplate({
|
|
718
|
+
eventType: "task.output.generic",
|
|
719
|
+
header: "",
|
|
720
|
+
defaultBody: '\n\nWhen done, use `store-progress` with status: "completed" and include your output.',
|
|
721
|
+
variables: [],
|
|
722
|
+
category: "task_lifecycle"
|
|
723
|
+
});
|
|
702
724
|
});
|
|
703
725
|
|
|
704
726
|
export { generateDefaultClaudeMd, generateDefaultSoulMd, generateDefaultIdentityMd, generateDefaultToolsMd, matchesDefaultIdentityMd, matchesDefaultClaudeMd, init_defaults, getBasePrompt, init_base_prompt, IDENTITY_FIELD_BUDGETS, checkIdentityFieldBudget, IdentityFieldBudgetError, init_identity_field_budget, init_templates };
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
sandboxSpawnEnv,
|
|
26
26
|
snapshotCapped,
|
|
27
27
|
touchScratchScriptLastUsed
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-3tgwnf43.js";
|
|
29
29
|
import {
|
|
30
30
|
detachedProcessGroup,
|
|
31
31
|
registerProcessGroup,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
getOAuthApp,
|
|
36
36
|
getOAuthTokens
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-zhjmqxzh.js";
|
|
38
38
|
import {
|
|
39
39
|
withSiblingAwareness
|
|
40
|
-
} from "./cli-
|
|
40
|
+
} from "./cli-53s590z8.js";
|
|
41
41
|
import {
|
|
42
42
|
getSlackApp
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-b5bq9crk.js";
|
|
44
44
|
import {
|
|
45
45
|
FollowUpConfigSchema,
|
|
46
46
|
ModelTierSchema,
|
|
@@ -91,13 +91,13 @@ import {
|
|
|
91
91
|
updateWorkflowRun,
|
|
92
92
|
updateWorkflowRunStep,
|
|
93
93
|
workflowContextKey
|
|
94
|
-
} from "./cli-
|
|
94
|
+
} from "./cli-ftht3zzj.js";
|
|
95
95
|
import {
|
|
96
96
|
deepInterpolate,
|
|
97
97
|
findInterpolationTokens,
|
|
98
98
|
init_template,
|
|
99
99
|
interpolate
|
|
100
|
-
} from "./cli-
|
|
100
|
+
} from "./cli-kpv03zhj.js";
|
|
101
101
|
import {
|
|
102
102
|
getAppUrl,
|
|
103
103
|
getMcpBaseUrl,
|
|
@@ -3335,7 +3335,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
3335
3335
|
}
|
|
3336
3336
|
if (notification.channel === "slack") {
|
|
3337
3337
|
try {
|
|
3338
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
3338
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-w066xfy0.js");
|
|
3339
3339
|
const slackApp = getSlackApp2();
|
|
3340
3340
|
if (!slackApp) {
|
|
3341
3341
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|
|
@@ -3455,7 +3455,7 @@ class NotifyExecutor extends BaseExecutor {
|
|
|
3455
3455
|
}
|
|
3456
3456
|
}
|
|
3457
3457
|
case "slack": {
|
|
3458
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
3458
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-w066xfy0.js");
|
|
3459
3459
|
const app = getSlackApp2();
|
|
3460
3460
|
if (!app) {
|
|
3461
3461
|
return {
|
|
@@ -4279,4 +4279,4 @@ async function initWorkflows() {
|
|
|
4279
4279
|
logOpenWebhookTriggers();
|
|
4280
4280
|
}
|
|
4281
4281
|
|
|
4282
|
-
export { automationIntegrationFixUrl, isNeedsSetupFailure, preflightAutomation, renderAutomationTokens, getAutomationSetupStates, schedulePreflightInput, listEnabledAutomationPreflightInputs, recordSchedulePreflightFailure,
|
|
4282
|
+
export { validateJsonSchema, findJsonSchemaShapeErrors, automationIntegrationFixUrl, isNeedsSetupFailure, preflightAutomation, renderAutomationTokens, getAutomationSetupStates, schedulePreflightInput, listEnabledAutomationPreflightInputs, recordSchedulePreflightFailure, TriggerSchemaError, startWorkflowExecution, setupWorkflowResumeListener, retryFailedRun, cancelWorkflowRun, resumeWaitState, initWaitBusSubscriptions, subscribeWaitToBus, recoverIncompleteRuns, startRetryPoller, stopRetryPoller, validateTemplateVariables, instantiateTemplate, handleWebhookTrigger, logOpenWebhookTriggers, handleEventTrigger, handleScheduleTrigger, verifyHmacSignature, WebhookError, snapshotWorkflow, snapshotAndUpdateWorkflow, startWaitPoller, stopWaitPoller, RawLlmConfigSchema, RawLlmOutputSchema, executeRawLlm, getExecutorRegistry, initWorkflows };
|
package/dist/cli.js
CHANGED
|
@@ -65,7 +65,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
65
65
|
// package.json
|
|
66
66
|
var package_default = {
|
|
67
67
|
name: "@desplega.ai/agent-swarm",
|
|
68
|
-
version: "1.
|
|
68
|
+
version: "1.147.0",
|
|
69
69
|
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.",
|
|
70
70
|
keywords: [
|
|
71
71
|
"agent-swarm.dev",
|
|
@@ -739,7 +739,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
739
739
|
if (dbPath) {
|
|
740
740
|
process.env.DATABASE_PATH = dbPath;
|
|
741
741
|
}
|
|
742
|
-
import("./http-
|
|
742
|
+
import("./http-y06z517d.js").then(() => {
|
|
743
743
|
setStatus("running");
|
|
744
744
|
}).catch((err) => {
|
|
745
745
|
setStatus("error");
|
|
@@ -825,7 +825,7 @@ function WorkerRunner({
|
|
|
825
825
|
}) {
|
|
826
826
|
const { exit } = use_app_default();
|
|
827
827
|
import_react.useEffect(() => {
|
|
828
|
-
import("./worker-
|
|
828
|
+
import("./worker-kznxp4qm.js").then(({ runWorker }) => runWorker({
|
|
829
829
|
prompt: prompt || undefined,
|
|
830
830
|
yolo,
|
|
831
831
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -842,7 +842,7 @@ function WorkerRunner({
|
|
|
842
842
|
function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalArgs }) {
|
|
843
843
|
const { exit } = use_app_default();
|
|
844
844
|
import_react.useEffect(() => {
|
|
845
|
-
import("./lead-
|
|
845
|
+
import("./lead-75bjqa9d.js").then(({ runLead }) => runLead({
|
|
846
846
|
prompt: prompt || undefined,
|
|
847
847
|
yolo,
|
|
848
848
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -882,8 +882,8 @@ function LazyComponent({
|
|
|
882
882
|
}
|
|
883
883
|
return import_react.createElement(Component, props);
|
|
884
884
|
}
|
|
885
|
-
var loadOnboard = () => import("./onboard-
|
|
886
|
-
var loadConnect = () => import("./setup-
|
|
885
|
+
var loadOnboard = () => import("./onboard-bb5net8s.js").then(({ Onboard }) => Onboard);
|
|
886
|
+
var loadConnect = () => import("./setup-gnfqnptp.js").then(({ Setup }) => Setup);
|
|
887
887
|
function UnknownCommand({ command }) {
|
|
888
888
|
const { exit } = use_app_default();
|
|
889
889
|
import_react.useEffect(() => {
|
|
@@ -1004,14 +1004,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1004
1004
|
}
|
|
1005
1005
|
process.exit(0);
|
|
1006
1006
|
} else if (args.command === "hook") {
|
|
1007
|
-
const { runHook } = await import("./hook-
|
|
1007
|
+
const { runHook } = await import("./hook-4nvqj2sb.js");
|
|
1008
1008
|
await runHook();
|
|
1009
1009
|
} else if (args.command === "codex-hook") {
|
|
1010
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1010
|
+
const { handleCodexHook } = await import("./codex-hook-bw8p5nh4.js");
|
|
1011
1011
|
await handleCodexHook();
|
|
1012
1012
|
process.exit(0);
|
|
1013
1013
|
} else if (args.command === "session-summary-stdin") {
|
|
1014
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1014
|
+
const { runSessionSummaryFromStdin } = await import("./hook-hxccs7m5.js");
|
|
1015
1015
|
await runSessionSummaryFromStdin();
|
|
1016
1016
|
process.exit(process.exitCode ?? 0);
|
|
1017
1017
|
} else if (args.command === "artifact") {
|
|
@@ -1032,7 +1032,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1032
1032
|
printHelp("scripts");
|
|
1033
1033
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1034
1034
|
}
|
|
1035
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1035
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-w4f1zjck.js");
|
|
1036
1036
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1037
1037
|
console.log("Scripts re-embedded.");
|
|
1038
1038
|
} else if (args.command === "rbac") {
|
|
@@ -1042,17 +1042,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1042
1042
|
printHelp("rbac");
|
|
1043
1043
|
process.exit(args.showHelp ? 0 : 1);
|
|
1044
1044
|
}
|
|
1045
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1045
|
+
const { runRbacCliCommand } = await import("./rbac-roles-z1jrffbt.js");
|
|
1046
1046
|
await runRbacCliCommand(rbacArgs);
|
|
1047
1047
|
} else if (args.command === "codex-login") {
|
|
1048
1048
|
const { runCodexLogin } = await import("./codex-login-vx7ghkzj.js");
|
|
1049
1049
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1050
1050
|
await runCodexLogin(codexLoginArgs);
|
|
1051
1051
|
} else if (args.command === "codex-session-runner") {
|
|
1052
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1052
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-k981s65v.js");
|
|
1053
1053
|
await runCodexSessionRunner();
|
|
1054
1054
|
} else if (args.command === "claude-managed-setup") {
|
|
1055
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1055
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-f5pmsyrp.js");
|
|
1056
1056
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1057
1057
|
await runClaudeManagedSetup(setupArgs);
|
|
1058
1058
|
} else if (args.command === "e2b") {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createInProcessCodexSession,
|
|
7
7
|
resolveCodexAuthMode,
|
|
8
8
|
resolveCodexRunnerArgv
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-4nr988h6.js";
|
|
10
10
|
import"./cli-hsxj0yar.js";
|
|
11
11
|
import"./cli-r94z9p1z.js";
|
|
12
12
|
import"./cli-2djtr51b.js";
|
|
@@ -27,7 +27,7 @@ import"./cli-bsakbbkm.js";
|
|
|
27
27
|
import"./cli-ej6gbxfb.js";
|
|
28
28
|
import"./cli-sd0mxa3c.js";
|
|
29
29
|
import"./cli-w5e1d1vv.js";
|
|
30
|
-
import"./cli-
|
|
30
|
+
import"./cli-w9kb3bk1.js";
|
|
31
31
|
import"./cli-xqcq9y5e.js";
|
|
32
32
|
import"./cli-knd276ed.js";
|
|
33
33
|
import"./cli-c4eeb5q2.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
renderSteeringDelivery
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-0b6y7kxm.js";
|
|
5
5
|
import {
|
|
6
6
|
getApiKey
|
|
7
7
|
} from "./cli-f14fvzag.js";
|
|
8
8
|
import {
|
|
9
9
|
init_steering_enabled,
|
|
10
10
|
isSteeringEnabled
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-kpv03zhj.js";
|
|
12
12
|
import {
|
|
13
13
|
getMcpBaseUrl,
|
|
14
14
|
init_constants
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-4nr988h6.js";
|
|
4
4
|
import"./cli-hsxj0yar.js";
|
|
5
5
|
import"./cli-r94z9p1z.js";
|
|
6
6
|
import"./cli-2djtr51b.js";
|
|
@@ -21,7 +21,7 @@ import"./cli-bsakbbkm.js";
|
|
|
21
21
|
import"./cli-ej6gbxfb.js";
|
|
22
22
|
import"./cli-sd0mxa3c.js";
|
|
23
23
|
import"./cli-w5e1d1vv.js";
|
|
24
|
-
import"./cli-
|
|
24
|
+
import"./cli-w9kb3bk1.js";
|
|
25
25
|
import {
|
|
26
26
|
init_secret_scrubber,
|
|
27
27
|
scrubSecrets
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
5
|
+
} from "./cli-ftht3zzj.js";
|
|
6
|
+
import"./cli-y6b6fb76.js";
|
|
7
|
+
import"./cli-kpv03zhj.js";
|
|
8
8
|
import"./cli-e29gmdmw.js";
|
|
9
9
|
import"./cli-c2mk1kgf.js";
|
|
10
10
|
import {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./cli-ej6gbxfb.js";
|
|
14
14
|
import"./cli-sd0mxa3c.js";
|
|
15
15
|
import"./cli-w5e1d1vv.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-w9kb3bk1.js";
|
|
17
17
|
import"./cli-xqcq9y5e.js";
|
|
18
18
|
import"./cli-zf8jjwex.js";
|
|
19
19
|
import"./cli-bc05qbss.js";
|
|
@@ -376,6 +376,7 @@ import {
|
|
|
376
376
|
recordKeyUsage,
|
|
377
377
|
recordSlackMessage,
|
|
378
378
|
recordTaskPullRequestAttachments,
|
|
379
|
+
refreshDraftTaskLease,
|
|
379
380
|
rejectTask,
|
|
380
381
|
releaseApprovalCancellationNotificationClaim,
|
|
381
382
|
releaseMentionProcessing,
|
|
@@ -454,20 +455,20 @@ import {
|
|
|
454
455
|
upsertSkillFiles,
|
|
455
456
|
upsertSwarmConfig,
|
|
456
457
|
withFavoriteFlags
|
|
457
|
-
} from "./cli-
|
|
458
|
+
} from "./cli-ftht3zzj.js";
|
|
458
459
|
import {
|
|
459
460
|
generateDefaultClaudeMd,
|
|
460
461
|
generateDefaultIdentityMd,
|
|
461
462
|
generateDefaultSoulMd,
|
|
462
463
|
generateDefaultToolsMd
|
|
463
|
-
} from "./cli-
|
|
464
|
-
import"./cli-
|
|
464
|
+
} from "./cli-y6b6fb76.js";
|
|
465
|
+
import"./cli-kpv03zhj.js";
|
|
465
466
|
import"./cli-e29gmdmw.js";
|
|
466
467
|
import"./cli-c2mk1kgf.js";
|
|
467
468
|
import"./cli-ej6gbxfb.js";
|
|
468
469
|
import"./cli-sd0mxa3c.js";
|
|
469
470
|
import"./cli-w5e1d1vv.js";
|
|
470
|
-
import"./cli-
|
|
471
|
+
import"./cli-w9kb3bk1.js";
|
|
471
472
|
import"./cli-xqcq9y5e.js";
|
|
472
473
|
import"./cli-zf8jjwex.js";
|
|
473
474
|
import"./cli-bc05qbss.js";
|
|
@@ -854,6 +855,7 @@ export {
|
|
|
854
855
|
recordKeyUsage,
|
|
855
856
|
recordSlackMessage,
|
|
856
857
|
recordTaskPullRequestAttachments,
|
|
858
|
+
refreshDraftTaskLease,
|
|
857
859
|
rejectTask,
|
|
858
860
|
releaseApprovalCancellationNotificationClaim,
|
|
859
861
|
releaseMentionProcessing,
|