@desplega.ai/agent-swarm 1.166.0 → 1.168.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/dist/acp-adapter-zhejfecx.js +34 -0
- package/dist/{actions-qz3m692w.js → actions-7jg840nr.js} +25 -25
- package/dist/{amp-adapter-j1xbmsqz.js → amp-adapter-ye6rnetm.js} +4 -4
- package/dist/{anthropic-messages-hst62ws9.js → anthropic-messages-13yn502s.js} +4 -4
- package/dist/{app-43vrdmv8.js → app-ffes2kyf.js} +10 -9
- package/dist/{assistant-ertffmka.js → assistant-fhm5smyz.js} +26 -26
- package/dist/{azure-openai-responses-mh8tvf78.js → azure-openai-responses-9st34pfz.js} +5 -5
- package/dist/{boot-reembed-998jtpdg.js → boot-reembed-20q3nzvg.js} +9 -8
- package/dist/{boot-reembed-s7k7c6v2.js → boot-reembed-jvfadhsk.js} +9 -8
- package/dist/{boot-scrub-sweep-nepsk4t1.js → boot-scrub-sweep-jtfajzve.js} +10 -9
- package/dist/{boot-seeds-vvzs1zhk.js → boot-seeds-9qt0j8j2.js} +12 -11
- package/dist/{claude-adapter-2zvmekrp.js → claude-adapter-a8znhthz.js} +24 -22
- package/dist/{claude-managed-adapter-s49wbk8t.js → claude-managed-adapter-tzwxy803.js} +4 -4
- package/dist/{claude-managed-setup-cvhqq8qn.js → claude-managed-setup-nrhfx5b0.js} +3 -3
- package/dist/{claude-sdk-session-kkbxtw5q.js → claude-sdk-session-7x7chdrs.js} +7608 -7596
- package/dist/{cli-zsh093hk.js → cli-014vns2y.js} +63 -1
- package/dist/{cli-8kgvmkak.js → cli-0jngabtb.js} +1 -1
- package/dist/{cli-qvfk83fy.js → cli-13xwcqvj.js} +2 -2
- package/dist/{cli-0nhdwxd5.js → cli-43jg9xdw.js} +3 -3
- package/dist/{cli-cpfmqz3n.js → cli-47zfzshm.js} +5 -5
- package/dist/{cli-zy7vwsne.js → cli-5qkcdv8c.js} +16 -9
- package/dist/{cli-cwxhbf43.js → cli-5t5my0h8.js} +85 -2
- package/dist/{cli-y59h2pk9.js → cli-69egj654.js} +1 -1
- package/dist/{cli-68r1j4sg.js → cli-6bpvv8h4.js} +3 -3
- package/dist/{cli-yshaazs1.js → cli-74ez9b66.js} +63 -20
- package/dist/{cli-32bca7nr.js → cli-7avy4v8w.js} +1 -1
- package/dist/{cli-f2n17zhp.js → cli-7mhy3ths.js} +21 -18
- package/dist/{cli-q38n4bq0.js → cli-95zs84qw.js} +3 -3
- package/dist/{cli-fn697bnt.js → cli-9q0bh411.js} +21 -8
- package/dist/{cli-rggdq8wq.js → cli-9q24yyvs.js} +3 -3
- package/dist/cli-a35hzdve.js +33 -0
- package/dist/{cli-3qn4r334.js → cli-aj1e0h0d.js} +20 -14
- package/dist/{cli-rsy933yz.js → cli-bcspch6h.js} +30 -19
- package/dist/{cli-x3x0qwky.js → cli-bxqez1p0.js} +51 -23
- package/dist/{cli-ng97fjq7.js → cli-cmxkbzzs.js} +33 -7
- package/dist/{cli-df56tqdw.js → cli-ee0402n1.js} +198 -70
- package/dist/{cli-mwegs4af.js → cli-ew0c3a1j.js} +3 -3
- package/dist/{cli-ysnyhws9.js → cli-ewhwpyrb.js} +54 -51
- package/dist/{cli-j2jbr8af.js → cli-fhj4y16f.js} +1 -1
- package/dist/{cli-8t229cmr.js → cli-fqq06kkb.js} +30 -17
- package/dist/{cli-jvj6a0cv.js → cli-g6gx2dn1.js} +54 -19
- package/dist/{cli-nexwh8zg.js → cli-g7k7zbcz.js} +12 -5
- package/dist/{cli-ecknp7p1.js → cli-j05x7pnb.js} +10 -10
- package/dist/{cli-gt8azyet.js → cli-jb931ba2.js} +1 -1
- package/dist/{cli-nvvfd8bq.js → cli-jbzbr36n.js} +4091 -3793
- package/dist/{cli-3ddybbbx.js → cli-jvmtxqtc.js} +26 -14
- package/dist/{cli-pkke6geq.js → cli-km4x66j0.js} +83 -65
- package/dist/{cli-b0f70z24.js → cli-mn8qkd8v.js} +1 -1
- package/dist/{cli-0qjcsxgz.js → cli-nctfv2yy.js} +99 -9
- package/dist/{cli-4r1sjfc4.js → cli-ng1pmdx6.js} +10 -10
- package/dist/cli-nkqjj42q.js +104 -0
- package/dist/{cli-aqcey741.js → cli-p5jqk8fr.js} +1 -1
- package/dist/{cli-66zh26sp.js → cli-pgehz8e1.js} +57 -17
- package/dist/cli-q1vnz8wv.js +96 -0
- package/dist/{cli-fj86xr3c.js → cli-qd97v6z2.js} +2 -2
- package/dist/{cli-p4ztb80h.js → cli-r7eeddkq.js} +13 -8
- package/dist/{cli-8ssjez7e.js → cli-rhy7z1rp.js} +22 -11
- package/dist/{cli-vzc73wet.js → cli-rr5z1j4p.js} +87 -69
- package/dist/{cli-4mevd1hf.js → cli-s9y81s7j.js} +5 -5
- package/dist/{cli-dw2q9f7g.js → cli-svah6b6w.js} +4 -4
- package/dist/{cli-h3x613ze.js → cli-tc5zec7v.js} +6 -6
- package/dist/{cli-ttbsse3f.js → cli-tmhsxhb8.js} +1 -1
- package/dist/{cli-feh3dkah.js → cli-v1w7pbd8.js} +2 -1
- package/dist/{cli-10zmp1p7.js → cli-vr5avem2.js} +27 -32
- package/dist/{cli-bzr0ftht.js → cli-wnb9b2g3.js} +19 -0
- package/dist/{cli-krqm5f11.js → cli-xezn9nkh.js} +16 -13
- package/dist/{cli-8kt0bmgx.js → cli-xf713zz0.js} +2 -2
- package/dist/{cli-6zcfw0x7.js → cli-y195hv1a.js} +1 -1
- package/dist/{cli-x7kpr72a.js → cli-ytmmyj7f.js} +2 -2
- package/dist/{cli-v2a8x45d.js → cli-z48ggfyq.js} +11 -6
- package/dist/{cli-qbksc292.js → cli-zy39d433.js} +2 -0
- package/dist/cli.js +28 -28
- package/dist/{cloudflare-workers-ai-system-one-tt484t61.js → cloudflare-workers-ai-system-one-sta45jf9.js} +7 -5
- package/dist/{codex-adapter-dw1wxqt8.js → codex-adapter-n63k33d3.js} +18 -18
- package/dist/{codex-login-terbdsqq.js → codex-login-g1cyt5zm.js} +1 -1
- package/dist/{codex-session-runner-3cgb8y1g.js → codex-session-runner-xkxfd81a.js} +18 -18
- package/dist/{commands-mhxam6z2.js → commands-q4mfhn51.js} +9 -8
- package/dist/{cursor-adapter-2qda3st7.js → cursor-adapter-v8mm6bp5.js} +5 -5
- package/dist/{db-sjks418k.js → db-1t0bj3pc.js} +9 -8
- package/dist/{dispatcher-1es759rn.js → dispatcher-k1fhavcf.js} +24 -24
- package/dist/{dsh-adapter-bek4cyw9.js → dsh-adapter-5423p70m.js} +5 -5
- package/dist/{easter-egg-3d-mtpnw06s.js → easter-egg-3d-66zxervv.js} +2 -2
- package/dist/{execute-s4ccjq3n.js → execute-h4jgevyw.js} +61 -11
- package/dist/{google-generative-ai-d6nphg3q.js → google-generative-ai-b8zxrpax.js} +5 -5
- package/dist/{google-vertex-cpshkref.js → google-vertex-nrdd697t.js} +5 -5
- package/dist/{grok-adapter-ar9cw9jg.js → grok-adapter-phrndeb8.js} +18 -8
- package/dist/{handlers-1gkbhktr.js → handlers-59ywqwzh.js} +27 -27
- package/dist/{hook-vxa3tcsy.js → hook-atj0swc2.js} +14 -14
- package/dist/{hook-ds2zxq9v.js → hook-mew1chq9.js} +42 -31
- package/dist/{http-3h21z9md.js → http-ef2fnn9v.js} +953 -98
- package/dist/{index-n99fycq7.js → index-48pb9erw.js} +24 -24
- package/dist/{index-bn6cy8ps.js → index-9fc2h7ww.js} +24 -24
- package/dist/{index-9b65j1m5.js → index-gr69c43q.js} +9 -8
- package/dist/{index-f8xnqrye.js → index-h26wjcfy.js} +43 -24
- package/dist/{index-dkfxpkmm.js → index-w2yhye23.js} +25 -25
- package/dist/{keepalive-3xspa9jw.js → keepalive-qhcqz56v.js} +11 -10
- package/dist/{lead-6qphc124.js → lead-hpk5r3b1.js} +47 -47
- package/dist/{llama-cpp-classify-tgj35k8d.js → llama-cpp-classify-6erb7wwv.js} +3 -1
- package/dist/{maintenance-0teem1bb.js → maintenance-nvkyp2xe.js} +9 -8
- package/dist/{mistral-conversations-8445ddjn.js → mistral-conversations-059y51zt.js} +4 -4
- package/dist/{node-9sg7ajby.js → node-qm9eb6z0.js} +1 -1
- package/dist/{oauth-refresh-sweep-sh9q25xp.js → oauth-refresh-sweep-ngskthwh.js} +10 -9
- package/dist/{onboard-54qmnqxe.js → onboard-yfnkqhxc.js} +2 -2
- package/dist/{openai-codex-responses-9ynm88zy.js → openai-codex-responses-jzxkta9b.js} +8 -7
- package/dist/{openai-completions-nhqwjmaw.js → openai-completions-663yncfq.js} +4 -4
- package/dist/openai-decisions-vj9nkpf8.js +162 -0
- package/dist/{openai-responses-xx1c4kgm.js → openai-responses-m3g43rrt.js} +5 -5
- package/dist/{opencode-adapter-wjfa2wvd.js → opencode-adapter-yjyqynzf.js} +7 -7
- package/dist/{openrouter-images-8yx3487g.js → openrouter-images-kr60n6b9.js} +1 -1
- package/dist/{otel-impl-ycqzp2a1.js → otel-impl-hhm64r6m.js} +1 -1
- package/dist/{pi-messages-vxdt8v7j.js → pi-messages-xszk613n.js} +1 -1
- package/dist/{pi-mono-adapter-e77e9zst.js → pi-mono-adapter-0eg8kw2c.js} +68 -51
- package/dist/{pricing-refresh-atnkngqs.js → pricing-refresh-35f91nx2.js} +11 -10
- package/dist/{rbac-roles-j78wdksm.js → rbac-roles-97w370qj.js} +10 -9
- package/dist/{rbac-roles-9pjphh9q.js → rbac-roles-z6sje3gy.js} +9 -8
- package/dist/{render-v2-pxjs49fx.js → render-v2-n4v66bj3.js} +10 -9
- package/dist/{runtime-v2t1r79e.js → runtime-h9ha1mq6.js} +4 -4
- package/dist/{setup-ymej0xtx.js → setup-m3hhyv5f.js} +2 -2
- package/dist/{typesafe-system-one-datfr82p.js → typesafe-system-one-e988vty7.js} +7 -5
- package/dist/{virtual-modules-wm8mxdxx.js → virtual-modules-ftr9kwe8.js} +11 -11
- package/dist/{work-objects-3nh4ymzb.js → work-objects-mxf2c842.js} +27 -27
- package/dist/{worker-qa9fkz5s.js → worker-9t07z1gq.js} +47 -47
- package/openapi.json +72 -1
- package/package.json +10 -10
- package/src/be/memory/providers/openai-embedding.ts +7 -2
- package/src/be/memory/raters/llm-summarizer.ts +7 -2
- package/src/be/modelsdev-cache.json +61 -0
- package/src/be/script-connections.ts +40 -6
- package/src/be/seed-pricing.ts +84 -53
- package/src/be/swarm-config-guard.ts +14 -0
- package/src/commands/provider-credentials.ts +28 -5
- package/src/commands/runner.ts +7 -12
- package/src/extensions/catalog.generated.json +17 -0
- package/src/heartbeat/heartbeat.ts +91 -19
- package/src/hooks/hook.ts +72 -27
- package/src/http/mcp.ts +5 -0
- package/src/http/onboarding.ts +2 -0
- package/src/http/script-connections.ts +35 -0
- package/src/providers/acp-targets.ts +10 -5
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +32 -0
- package/src/providers/claude-background-keepalive.ts +100 -0
- package/src/providers/claude-sdk-session.ts +6 -0
- package/src/providers/codex-adapter.ts +30 -3
- package/src/providers/codex-oauth/auth-json.ts +21 -4
- package/src/providers/codex-oauth/types.ts +2 -0
- package/src/providers/dsh-adapter.ts +11 -2
- package/src/providers/grok-adapter.ts +18 -2
- package/src/providers/opencode-adapter.ts +21 -5
- package/src/providers/pi-mono-extension.ts +56 -25
- package/src/providers/pricing-sources.md +2 -0
- package/src/scheduler/scheduler.ts +82 -13
- package/src/scripts-runtime/executors/registry.ts +1 -1
- package/src/server.ts +63 -3
- package/src/tests/acp-adapter.test.ts +152 -12
- package/src/tests/ci-unit-test-report.test.ts +73 -0
- package/src/tests/claude-background-keepalive-wiring.test.ts +220 -0
- package/src/tests/claude-background-keepalive.fixture.ts +162 -0
- package/src/tests/claude-background-keepalive.test.ts +139 -0
- package/src/tests/claude-default-route.test.ts +75 -0
- package/src/tests/claude-hook-output.test.ts +233 -0
- package/src/tests/codex-adapter-pool-auth-revalidate.test.ts +4 -2
- package/src/tests/codex-adapter.test.ts +166 -26
- package/src/tests/codex-oauth-auth-timestamps.test.ts +76 -0
- package/src/tests/codex-oauth.test.ts +4 -1
- package/src/tests/connection-embedded-auth.test.ts +51 -0
- package/src/tests/context-window.test.ts +2 -2
- package/src/tests/credential-check.test.ts +51 -1
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/dsh-adapter.test.ts +24 -2
- package/src/tests/enabled-tools.test.ts +269 -0
- package/src/tests/entrypoint-codex-oauth-seed.test.ts +12 -0
- package/src/tests/extensions-catalog.test.ts +1 -0
- package/src/tests/extensions-example-slack-reply-gate.test.ts +756 -0
- package/src/tests/grok-adapter.test.ts +13 -0
- package/src/tests/haiku-5-5-pricing.test.ts +38 -0
- package/src/tests/heartbeat-checklist.test.ts +158 -1
- package/src/tests/onboarding.test.ts +44 -0
- package/src/tests/opencode-adapter.test.ts +66 -3
- package/src/tests/opencode-plugin.test.ts +37 -0
- package/src/tests/openrouter-attribution-call-sites.test.ts +204 -0
- package/src/tests/openrouter-base-url.test.ts +30 -39
- package/src/tests/pi-mono-extension.test.ts +161 -2
- package/src/tests/pricing-refresh.test.ts +70 -1
- package/src/tests/reasoning-effort.test.ts +3 -1
- package/src/tests/schedule-target-type.test.ts +136 -0
- package/src/tests/script-connections-http.test.ts +45 -0
- package/src/tests/script-connections-mcp.test.ts +41 -0
- package/src/tests/script-executor-registry.test.ts +18 -0
- package/src/tests/send-task-self-send.test.ts +107 -0
- package/src/tests/telemetry-trigger.test.ts +12 -1
- package/src/tests/workflow-llm.test.ts +14 -0
- package/src/tests/workflow-system-one-decision-providers.test.ts +33 -0
- package/src/tools/request-human-input.ts +7 -2
- package/src/tools/script-connections/tool.ts +35 -3
- package/src/tools/send-task.ts +9 -1
- package/src/utils/enabled-tools.ts +27 -0
- package/src/utils/internal-ai/complete-structured.ts +11 -3
- package/src/utils/openrouter-base-url.ts +23 -0
- package/src/workflows/executors/raw-llm.ts +1 -0
- package/src/workflows/executors/system-one-decision.ts +2 -0
- package/src/workflows/executors/validate.ts +1 -0
- package/src/workflows/executors/workflow-llm.ts +9 -2
- package/templates/extensions/README.md +1 -0
- package/templates/extensions/slack-reply-gate/README.md +98 -0
- package/templates/extensions/slack-reply-gate/hooks.ts +582 -0
- package/templates/extensions/slack-reply-gate/manifest.json +8 -0
- package/templates/skills/agent-browser/SKILL.md +2 -0
- package/templates/skills/agent-browser/content.md +2 -0
- package/templates/skills/code-quality/content.md +1 -0
- package/templates/skills/heartbeat-runbook/content.md +1 -1
- package/templates/skills/swarm-scripts/SKILL.md +10 -0
- package/templates/skills/swarm-scripts/content.md +10 -0
- package/templates/skills/work-on-task/SKILL.md +4 -0
- package/templates/skills/work-on-task/content.md +4 -0
- package/templates/skills/workflow-iterate/content.md +9 -0
- package/dist/acp-adapter-yzfxn8vj.js +0 -23
- package/dist/cli-3dpj7atn.js +0 -11
- package/dist/cli-gvcgmx69.js +0 -183
- package/dist/{cli-jhm6hzjn.js → cli-mxvnnv5q.js} +7 -7
- package/dist/{codex-hook-d2rkvf39.js → codex-hook-15dgc4cb.js} +1 -1
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
replaceTabs,
|
|
8
8
|
truncateMiddle,
|
|
9
9
|
writeOutputFile
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-rhy7z1rp.js";
|
|
11
11
|
import {
|
|
12
12
|
Container,
|
|
13
13
|
Spacer,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
keyHint,
|
|
18
18
|
normalizePath,
|
|
19
19
|
stripBom
|
|
20
|
-
} from "./cli-
|
|
20
|
+
} from "./cli-5t5my0h8.js";
|
|
21
21
|
import {
|
|
22
22
|
require_cross_spawn
|
|
23
23
|
} from "./cli-5bfdm1ah.js";
|
|
@@ -2647,6 +2647,7 @@ class StreamableHttpTransport extends TransportEvents {
|
|
|
2647
2647
|
sessionIdValue;
|
|
2648
2648
|
protocolVersion;
|
|
2649
2649
|
getStreamStarted = false;
|
|
2650
|
+
lastToken;
|
|
2650
2651
|
constructor(options) {
|
|
2651
2652
|
super();
|
|
2652
2653
|
this.options = Object.freeze({ ...options, headers: options.headers ? { ...options.headers } : undefined });
|
|
@@ -2705,16 +2706,14 @@ class StreamableHttpTransport extends TransportEvents {
|
|
|
2705
2706
|
this.closed = true;
|
|
2706
2707
|
this.controller.abort();
|
|
2707
2708
|
if (this.started && this.sessionIdValue) {
|
|
2708
|
-
const controller = new AbortController;
|
|
2709
|
-
const timeout = setTimeout(() => controller.abort(), 1000);
|
|
2710
2709
|
try {
|
|
2711
|
-
const
|
|
2712
|
-
|
|
2713
|
-
|
|
2710
|
+
const response = await this.fetch(this.url, {
|
|
2711
|
+
method: "DELETE",
|
|
2712
|
+
headers: this.buildHeaders({}, this.lastToken),
|
|
2713
|
+
signal: AbortSignal.timeout(1000)
|
|
2714
2714
|
});
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
}
|
|
2715
|
+
await discard(response);
|
|
2716
|
+
} catch {}
|
|
2718
2717
|
}
|
|
2719
2718
|
this.emitClose();
|
|
2720
2719
|
}
|
|
@@ -2738,6 +2737,11 @@ class StreamableHttpTransport extends TransportEvents {
|
|
|
2738
2737
|
}
|
|
2739
2738
|
}
|
|
2740
2739
|
async headers(extra = {}) {
|
|
2740
|
+
const token = await this.options.authProvider?.token();
|
|
2741
|
+
this.lastToken = token;
|
|
2742
|
+
return { headers: this.buildHeaders(extra, token), ...token ? { token } : {} };
|
|
2743
|
+
}
|
|
2744
|
+
buildHeaders(extra, token) {
|
|
2741
2745
|
const headers = new Headers(this.options.headers);
|
|
2742
2746
|
for (const [name, value] of Object.entries(extra))
|
|
2743
2747
|
headers.set(name, value);
|
|
@@ -2745,10 +2749,9 @@ class StreamableHttpTransport extends TransportEvents {
|
|
|
2745
2749
|
headers.set("Mcp-Session-Id", this.sessionIdValue);
|
|
2746
2750
|
if (this.protocolVersion)
|
|
2747
2751
|
headers.set("MCP-Protocol-Version", this.protocolVersion);
|
|
2748
|
-
const token = await this.options.authProvider?.token();
|
|
2749
2752
|
if (token)
|
|
2750
2753
|
headers.set("Authorization", `Bearer ${token}`);
|
|
2751
|
-
return
|
|
2754
|
+
return headers;
|
|
2752
2755
|
}
|
|
2753
2756
|
captureSession(response) {
|
|
2754
2757
|
const sessionId = response.headers.get("mcp-session-id");
|
|
@@ -3829,4 +3832,4 @@ function readStoredCredential(providerId, authPath = join(getAgentDir(), "auth.j
|
|
|
3829
3832
|
}
|
|
3830
3833
|
}
|
|
3831
3834
|
|
|
3832
|
-
export { createToolNameMatcher, LIST_MCP_RESOURCES_TOOL, LIST_MCP_RESOURCE_TEMPLATES_TOOL, READ_MCP_RESOURCE_TOOL, isMcpToolName, mcpNamespace, getMcpToolExposure, validateMcpServerConfig, McpServerRegistry, getConfigValueEnvVarNames, isCommandConfigValue, isConfigValueConfigured, resolveConfigValueOrThrow, resolveHeadersOrThrow,
|
|
3835
|
+
export { require_proper_lockfile, createToolNameMatcher, LIST_MCP_RESOURCES_TOOL, LIST_MCP_RESOURCE_TEMPLATES_TOOL, READ_MCP_RESOURCE_TOOL, isMcpToolName, mcpNamespace, getMcpToolExposure, validateMcpServerConfig, McpServerRegistry, getConfigValueEnvVarNames, isCommandConfigValue, isConfigValueConfigured, resolveConfigValueOrThrow, resolveHeadersOrThrow, operationSignal, raceWithAbortSignal, FileAuthStorageBackend, ReadOnlyAuthStorage, AuthStorage, readStoredCredential, JSON_RPC_ERROR_CODES, McpError, isObject, LATEST_PROTOCOL_VERSION, McpClient, StdioTransport, McpHttpError, McpAuthRequiredError, McpSessionExpiredError, StreamableHttpTransport, createMcpToolName, createMcpToolDefinition, createMcpToolRenderers, isMcpAppResource, createMcpResourceToolDefinitions };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clampThinkingLevel,
|
|
3
3
|
getSystemMessageText
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-g7k7zbcz.js";
|
|
5
5
|
|
|
6
6
|
// node_modules/@earendil-works/pi-ai/dist/api/constrained-sampling.js
|
|
7
7
|
class UnsupportedStrictJsonSchemaError extends Error {
|
|
@@ -227,7 +227,7 @@ function createGrammarToolInputProperties(tools, supportsOpenAIGrammarTools) {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
// node_modules/@earendil-works/pi-ai/dist/utils/estimate.js
|
|
230
|
-
var CHARS_PER_TOKEN =
|
|
230
|
+
var CHARS_PER_TOKEN = 3.5;
|
|
231
231
|
var ESTIMATED_IMAGE_CHARS = 4800;
|
|
232
232
|
function calculateContextTokens(usage) {
|
|
233
233
|
return usage.totalTokens || usage.input + usage.output + usage.cacheRead + usage.cacheWrite;
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
linkIdentity,
|
|
5
5
|
recordUnmappedIdentity,
|
|
6
6
|
resolveIdentity
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-ee0402n1.js";
|
|
8
8
|
import {
|
|
9
9
|
getKv,
|
|
10
10
|
init_db1 as init_db,
|
|
11
11
|
upsertKv
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-74ez9b66.js";
|
|
13
13
|
|
|
14
14
|
// src/slack/enrich.ts
|
|
15
15
|
init_db();
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
CONTEXT_FORMULA,
|
|
6
6
|
clampContextPercent,
|
|
7
7
|
getContextWindowSize
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-7avy4v8w.js";
|
|
9
9
|
import {
|
|
10
10
|
applyReasoningEffort,
|
|
11
11
|
reasoningCapability
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-tmhsxhb8.js";
|
|
13
13
|
import {
|
|
14
14
|
swarmRuntimeInstanceId
|
|
15
15
|
} from "./cli-re8z5p8p.js";
|
|
@@ -18,13 +18,15 @@ import {
|
|
|
18
18
|
registerProcessGroup,
|
|
19
19
|
terminateProcessGroup
|
|
20
20
|
} from "./cli-zt3w1cn1.js";
|
|
21
|
-
import {
|
|
22
|
-
getOpenRouterBaseUrl
|
|
23
|
-
} from "./cli-3dpj7atn.js";
|
|
24
21
|
import {
|
|
25
22
|
DEFAULT_MODEL_TIER_MAP,
|
|
26
23
|
init_types
|
|
27
24
|
} from "./cli-xvdgasgy.js";
|
|
25
|
+
import {
|
|
26
|
+
getOpenRouterAttributionHeaders,
|
|
27
|
+
getOpenRouterBaseUrl,
|
|
28
|
+
init_openrouter_base_url
|
|
29
|
+
} from "./cli-a35hzdve.js";
|
|
28
30
|
import {
|
|
29
31
|
init_secret_scrubber,
|
|
30
32
|
registerVolatileSecret,
|
|
@@ -62,8 +64,9 @@ function addDshStepUsage(acc, step) {
|
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
// src/providers/dsh-adapter.ts
|
|
67
|
+
init_openrouter_base_url();
|
|
65
68
|
init_secret_scrubber();
|
|
66
|
-
var DSH_PACKAGE = "@deepseek-ai/dsh@0.2.1-alpha.
|
|
69
|
+
var DSH_PACKAGE = "@deepseek-ai/dsh@0.2.1-alpha.2";
|
|
67
70
|
function checkDshCredentials(env) {
|
|
68
71
|
return env.DEEPSEEK_API_KEY?.trim() || env.OPENROUTER_API_KEY?.trim() ? { ready: true, missing: [], satisfiedBy: "env" } : {
|
|
69
72
|
ready: false,
|
|
@@ -323,6 +326,7 @@ class DshAdapter {
|
|
|
323
326
|
const directory = await mkdtemp(join(tmpdir(), "swarm-dsh-"));
|
|
324
327
|
try {
|
|
325
328
|
const patchPath = join(directory, "patch.json");
|
|
329
|
+
const openRouterHeaders = openrouter ? getOpenRouterAttributionHeaders(getOpenRouterBaseUrl(env), env) : {};
|
|
326
330
|
const runtimeInstanceId = swarmRuntimeInstanceId();
|
|
327
331
|
await writeFile(patchPath, JSON.stringify([
|
|
328
332
|
{
|
|
@@ -341,6 +345,7 @@ class DshAdapter {
|
|
|
341
345
|
openrouter: {
|
|
342
346
|
apiKeyEnv: keyEnv,
|
|
343
347
|
baseURL: getOpenRouterBaseUrl(env),
|
|
348
|
+
...Object.keys(openRouterHeaders).length > 0 ? { headers: openRouterHeaders } : {},
|
|
344
349
|
api: "openai-completions",
|
|
345
350
|
models: [
|
|
346
351
|
reasoningEffort ? { id: modelId, reasoningEfforts: openRouterEfforts(model) } : { id: modelId }
|
|
@@ -72,6 +72,8 @@ async function retryProviderRequest(request, options = {}) {
|
|
|
72
72
|
throw createAbortError();
|
|
73
73
|
if (retriesRemaining <= 0 || !isProviderError(error) || !isRetryableProviderError(error))
|
|
74
74
|
throw error;
|
|
75
|
+
if (error.status !== undefined && options.noRetryStatuses?.includes(error.status))
|
|
76
|
+
throw error;
|
|
75
77
|
const retryIndex = maxRetries - retriesRemaining;
|
|
76
78
|
retriesRemaining--;
|
|
77
79
|
await abortableSleep(getRetryDelayMs(error, retryIndex, options.maxRetryDelayMs), options.signal);
|
package/dist/cli.js
CHANGED
|
@@ -13,21 +13,21 @@ import"./cli-0xqde53b.js";
|
|
|
13
13
|
import"./cli-pqetb83f.js";
|
|
14
14
|
import {
|
|
15
15
|
bedrockProviderModule
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-cmxkbzzs.js";
|
|
17
17
|
import"./cli-yn0a417a.js";
|
|
18
18
|
import"./cli-cgj4hc12.js";
|
|
19
19
|
import"./cli-txgcknmy.js";
|
|
20
20
|
import"./cli-6map995v.js";
|
|
21
|
-
import"./cli-
|
|
21
|
+
import"./cli-xf713zz0.js";
|
|
22
22
|
import"./cli-y2apkfe2.js";
|
|
23
23
|
import"./cli-7kyk9jr3.js";
|
|
24
24
|
import {
|
|
25
25
|
setBedrockProviderModule
|
|
26
|
-
} from "./cli-
|
|
27
|
-
import"./cli-
|
|
26
|
+
} from "./cli-mn8qkd8v.js";
|
|
27
|
+
import"./cli-g7k7zbcz.js";
|
|
28
28
|
import"./cli-btbzvq95.js";
|
|
29
29
|
import"./cli-1m2e086m.js";
|
|
30
|
-
import"./cli-
|
|
30
|
+
import"./cli-wnb9b2g3.js";
|
|
31
31
|
import"./cli-bd957dgb.js";
|
|
32
32
|
import {
|
|
33
33
|
init_secret_scrubber,
|
|
@@ -62,7 +62,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
62
62
|
// package.json
|
|
63
63
|
var package_default = {
|
|
64
64
|
name: "@desplega.ai/agent-swarm",
|
|
65
|
-
version: "1.
|
|
65
|
+
version: "1.168.0",
|
|
66
66
|
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.",
|
|
67
67
|
keywords: [
|
|
68
68
|
"agent-swarm.dev",
|
|
@@ -209,8 +209,8 @@ var package_default = {
|
|
|
209
209
|
"start:portless": "portless api.swarm bun --expose-gc src/http.ts",
|
|
210
210
|
inspector: "bunx @modelcontextprotocol/inspector --transport stdio bun src/stdio.ts",
|
|
211
211
|
"inspector:http": "bunx @modelcontextprotocol/inspector --transport http https://api.swarm.localhost:1355/mcp",
|
|
212
|
-
lint: "biome check src apps/evals packages/ui-e2e packages/model-routing",
|
|
213
|
-
"lint:fix": "biome check --write src apps/evals packages/ui-e2e packages/model-routing",
|
|
212
|
+
lint: "biome check src apps/evals packages/ui-e2e packages/model-routing packages/model-catalog",
|
|
213
|
+
"lint:fix": "biome check --write src apps/evals packages/ui-e2e packages/model-routing packages/model-catalog",
|
|
214
214
|
format: "biome format --write src",
|
|
215
215
|
"build:binary": "bun build ./src/cli.tsx ./src/providers/pi-binary-root/src/extensions/codemode/worker.ts --root ./src/providers/pi-binary-root --compile --bytecode --format=esm --compile-exec-argv='--expose-gc' --target=bun-linux-x64 --outfile ./dist/agent-swarm",
|
|
216
216
|
"build:binary:arm64": "bun build ./src/cli.tsx ./src/providers/pi-binary-root/src/extensions/codemode/worker.ts --root ./src/providers/pi-binary-root --compile --bytecode --format=esm --compile-exec-argv='--expose-gc' --target=bun-linux-arm64 --outfile ./dist/agent-swarm",
|
|
@@ -264,21 +264,21 @@ var package_default = {
|
|
|
264
264
|
dependencies: {
|
|
265
265
|
"@agentclientprotocol/sdk": "1.7.0",
|
|
266
266
|
"@ai-sdk/openai": "^3.0.41",
|
|
267
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
268
|
-
"@anthropic-ai/sdk": "^0.132.
|
|
267
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.295",
|
|
268
|
+
"@anthropic-ai/sdk": "^0.132.1",
|
|
269
269
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
270
270
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
271
271
|
"@cursor/sdk": "1.0.37",
|
|
272
272
|
"@desplega.ai/business-use": "^0.4.2",
|
|
273
273
|
"@desplega.ai/localtunnel": "^2.2.0",
|
|
274
|
-
"@earendil-works/pi-agent-core": "^1.0
|
|
275
|
-
"@earendil-works/pi-ai": "^1.0
|
|
276
|
-
"@earendil-works/pi-coding-agent": "^1.0
|
|
274
|
+
"@earendil-works/pi-agent-core": "^1.1.0",
|
|
275
|
+
"@earendil-works/pi-ai": "^1.1.0",
|
|
276
|
+
"@earendil-works/pi-coding-agent": "^1.1.0",
|
|
277
277
|
"@inkjs/ui": "^2.0.0",
|
|
278
278
|
"@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
|
|
279
279
|
"@linear/sdk": "^77.0.0",
|
|
280
|
-
"@modelcontextprotocol/sdk": "1.
|
|
281
|
-
"@openai/codex": "0.
|
|
280
|
+
"@modelcontextprotocol/sdk": "1.31.0",
|
|
281
|
+
"@openai/codex": "0.162.0",
|
|
282
282
|
"@opencode-ai/sdk": "^1.18.35",
|
|
283
283
|
"@openfort/openfort-node": "^0.9.1",
|
|
284
284
|
"@opentelemetry/api": "^1.9.1",
|
|
@@ -813,7 +813,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
813
813
|
if (dbPath) {
|
|
814
814
|
process.env.DATABASE_PATH = dbPath;
|
|
815
815
|
}
|
|
816
|
-
import("./http-
|
|
816
|
+
import("./http-ef2fnn9v.js").then(() => {
|
|
817
817
|
setStatus("running");
|
|
818
818
|
}).catch((err) => {
|
|
819
819
|
setStatus("error");
|
|
@@ -900,7 +900,7 @@ function WorkerRunner({
|
|
|
900
900
|
const { exit } = use_app_default();
|
|
901
901
|
import_react.useEffect(() => {
|
|
902
902
|
installConsoleScrub();
|
|
903
|
-
import("./worker-
|
|
903
|
+
import("./worker-9t07z1gq.js").then(({ runWorker }) => runWorker({
|
|
904
904
|
prompt: prompt || undefined,
|
|
905
905
|
yolo,
|
|
906
906
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -918,7 +918,7 @@ function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalAr
|
|
|
918
918
|
const { exit } = use_app_default();
|
|
919
919
|
import_react.useEffect(() => {
|
|
920
920
|
installConsoleScrub();
|
|
921
|
-
import("./lead-
|
|
921
|
+
import("./lead-hpk5r3b1.js").then(({ runLead }) => runLead({
|
|
922
922
|
prompt: prompt || undefined,
|
|
923
923
|
yolo,
|
|
924
924
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -958,8 +958,8 @@ function LazyComponent({
|
|
|
958
958
|
}
|
|
959
959
|
return import_react.createElement(Component, props);
|
|
960
960
|
}
|
|
961
|
-
var loadOnboard = () => import("./onboard-
|
|
962
|
-
var loadConnect = () => import("./setup-
|
|
961
|
+
var loadOnboard = () => import("./onboard-yfnkqhxc.js").then(({ Onboard }) => Onboard);
|
|
962
|
+
var loadConnect = () => import("./setup-m3hhyv5f.js").then(({ Setup }) => Setup);
|
|
963
963
|
function UnknownCommand({ command }) {
|
|
964
964
|
const { exit } = use_app_default();
|
|
965
965
|
import_react.useEffect(() => {
|
|
@@ -1089,14 +1089,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1089
1089
|
}
|
|
1090
1090
|
process.exit(0);
|
|
1091
1091
|
} else if (args.command === "hook") {
|
|
1092
|
-
const { runHook } = await import("./hook-
|
|
1092
|
+
const { runHook } = await import("./hook-atj0swc2.js");
|
|
1093
1093
|
await runHook();
|
|
1094
1094
|
} else if (args.command === "codex-hook") {
|
|
1095
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1095
|
+
const { handleCodexHook } = await import("./codex-hook-15dgc4cb.js");
|
|
1096
1096
|
await handleCodexHook();
|
|
1097
1097
|
process.exit(process.exitCode ?? 0);
|
|
1098
1098
|
} else if (args.command === "session-summary-stdin") {
|
|
1099
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1099
|
+
const { runSessionSummaryFromStdin } = await import("./hook-mew1chq9.js");
|
|
1100
1100
|
await runSessionSummaryFromStdin();
|
|
1101
1101
|
process.exit(process.exitCode ?? 0);
|
|
1102
1102
|
} else if (args.command === "artifact") {
|
|
@@ -1117,7 +1117,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1117
1117
|
printHelp("scripts");
|
|
1118
1118
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1119
1119
|
}
|
|
1120
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1120
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-nvkyp2xe.js");
|
|
1121
1121
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1122
1122
|
console.log("Scripts re-embedded.");
|
|
1123
1123
|
} else if (args.command === "rbac") {
|
|
@@ -1127,17 +1127,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1127
1127
|
printHelp("rbac");
|
|
1128
1128
|
process.exit(args.showHelp ? 0 : 1);
|
|
1129
1129
|
}
|
|
1130
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1130
|
+
const { runRbacCliCommand } = await import("./rbac-roles-z6sje3gy.js");
|
|
1131
1131
|
await runRbacCliCommand(rbacArgs);
|
|
1132
1132
|
} else if (args.command === "codex-login") {
|
|
1133
|
-
const { runCodexLogin } = await import("./codex-login-
|
|
1133
|
+
const { runCodexLogin } = await import("./codex-login-g1cyt5zm.js");
|
|
1134
1134
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1135
1135
|
await runCodexLogin(codexLoginArgs);
|
|
1136
1136
|
} else if (args.command === "codex-session-runner") {
|
|
1137
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1137
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-xkxfd81a.js");
|
|
1138
1138
|
await runCodexSessionRunner();
|
|
1139
1139
|
} else if (args.command === "claude-managed-setup") {
|
|
1140
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1140
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-nrhfx5b0.js");
|
|
1141
1141
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1142
1142
|
await runClaudeManagedSetup(setupArgs);
|
|
1143
1143
|
} else if (args.command === "e2b") {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
classifySystemOne
|
|
2
|
+
classifySystemOne
|
|
3
|
+
} from "./cli-nkqjj42q.js";
|
|
4
|
+
import {
|
|
3
5
|
isRecord
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
+
} from "./cli-q1vnz8wv.js";
|
|
7
|
+
import"./cli-zy39d433.js";
|
|
6
8
|
import"./cli-6map995v.js";
|
|
7
9
|
import"./cli-7kyk9jr3.js";
|
|
8
|
-
import"./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
+
import"./cli-g7k7zbcz.js";
|
|
11
|
+
import"./cli-wnb9b2g3.js";
|
|
10
12
|
import"./cli-bc05qbss.js";
|
|
11
13
|
|
|
12
14
|
// node_modules/@earendil-works/pi-ai/dist/api/cloudflare-workers-ai-system-one.js
|
|
@@ -7,46 +7,46 @@ import {
|
|
|
7
7
|
createInProcessCodexSession,
|
|
8
8
|
resolveCodexAuthMode,
|
|
9
9
|
resolveCodexRunnerArgv
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-fqq06kkb.js";
|
|
11
11
|
import"./cli-hsxj0yar.js";
|
|
12
12
|
import"./cli-gt4hxb8p.js";
|
|
13
|
+
import"./cli-bqjfjex4.js";
|
|
13
14
|
import"./cli-q2j38vre.js";
|
|
15
|
+
import"./cli-r7eeddkq.js";
|
|
16
|
+
import"./cli-hp1n6zq3.js";
|
|
14
17
|
import"./cli-zm7njwzd.js";
|
|
15
18
|
import"./cli-ptcz1cqy.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-p4ztb80h.js";
|
|
18
|
-
import"./cli-hp1n6zq3.js";
|
|
19
|
-
import"./cli-bqjfjex4.js";
|
|
19
|
+
import"./cli-7avy4v8w.js";
|
|
20
20
|
import"./cli-2pdaysab.js";
|
|
21
|
-
import"./cli-
|
|
21
|
+
import"./cli-tmhsxhb8.js";
|
|
22
22
|
import"./cli-w0bwte75.js";
|
|
23
23
|
import"./cli-re8z5p8p.js";
|
|
24
24
|
import"./cli-f14fvzag.js";
|
|
25
|
+
import"./cli-7mhy3ths.js";
|
|
26
|
+
import"./cli-v1w7pbd8.js";
|
|
25
27
|
import"./cli-zt3w1cn1.js";
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-feh3dkah.js";
|
|
28
|
-
import"./cli-3dpj7atn.js";
|
|
29
|
-
import"./cli-2x0e561b.js";
|
|
30
|
-
import"./cli-pkke6geq.js";
|
|
28
|
+
import"./cli-km4x66j0.js";
|
|
31
29
|
import"./cli-rb9m6rpe.js";
|
|
30
|
+
import"./cli-2x0e561b.js";
|
|
32
31
|
import"./cli-bsakbbkm.js";
|
|
33
32
|
import"./cli-zxg80zs9.js";
|
|
34
33
|
import"./cli-ydt3zkwv.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
34
|
+
import"./cli-mn8qkd8v.js";
|
|
35
|
+
import"./cli-g7k7zbcz.js";
|
|
37
36
|
import"./cli-btbzvq95.js";
|
|
38
37
|
import"./cli-1m2e086m.js";
|
|
39
|
-
import"./cli-
|
|
38
|
+
import"./cli-wnb9b2g3.js";
|
|
40
39
|
import"./cli-xvdgasgy.js";
|
|
41
|
-
import"./cli-ywybs5as.js";
|
|
42
|
-
import"./cli-gd4favx9.js";
|
|
43
40
|
import"./cli-1a2j50m0.js";
|
|
41
|
+
import"./cli-ywybs5as.js";
|
|
44
42
|
import"./cli-f9w1semm.js";
|
|
43
|
+
import"./cli-a35hzdve.js";
|
|
44
|
+
import"./cli-gd4favx9.js";
|
|
45
45
|
import"./cli-ej6gbxfb.js";
|
|
46
|
-
import"./cli-
|
|
46
|
+
import"./cli-014vns2y.js";
|
|
47
47
|
import"./cli-sd0mxa3c.js";
|
|
48
48
|
import"./cli-w5e1d1vv.js";
|
|
49
|
-
import"./cli-
|
|
49
|
+
import"./cli-ng1pmdx6.js";
|
|
50
50
|
import"./cli-wt7ccy4r.js";
|
|
51
51
|
import"./cli-knd276ed.js";
|
|
52
52
|
import"./cli-bc05qbss.js";
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-fqq06kkb.js";
|
|
4
4
|
import"./cli-hsxj0yar.js";
|
|
5
5
|
import"./cli-gt4hxb8p.js";
|
|
6
|
+
import"./cli-bqjfjex4.js";
|
|
6
7
|
import"./cli-q2j38vre.js";
|
|
8
|
+
import"./cli-r7eeddkq.js";
|
|
9
|
+
import"./cli-hp1n6zq3.js";
|
|
7
10
|
import"./cli-zm7njwzd.js";
|
|
8
11
|
import"./cli-ptcz1cqy.js";
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-p4ztb80h.js";
|
|
11
|
-
import"./cli-hp1n6zq3.js";
|
|
12
|
-
import"./cli-bqjfjex4.js";
|
|
12
|
+
import"./cli-7avy4v8w.js";
|
|
13
13
|
import"./cli-2pdaysab.js";
|
|
14
|
-
import"./cli-
|
|
14
|
+
import"./cli-tmhsxhb8.js";
|
|
15
15
|
import"./cli-w0bwte75.js";
|
|
16
16
|
import"./cli-re8z5p8p.js";
|
|
17
17
|
import"./cli-f14fvzag.js";
|
|
18
|
+
import"./cli-7mhy3ths.js";
|
|
19
|
+
import"./cli-v1w7pbd8.js";
|
|
18
20
|
import"./cli-zt3w1cn1.js";
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-feh3dkah.js";
|
|
21
|
-
import"./cli-3dpj7atn.js";
|
|
22
|
-
import"./cli-2x0e561b.js";
|
|
23
|
-
import"./cli-pkke6geq.js";
|
|
21
|
+
import"./cli-km4x66j0.js";
|
|
24
22
|
import"./cli-rb9m6rpe.js";
|
|
23
|
+
import"./cli-2x0e561b.js";
|
|
25
24
|
import"./cli-bsakbbkm.js";
|
|
26
25
|
import"./cli-zxg80zs9.js";
|
|
27
26
|
import"./cli-ydt3zkwv.js";
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
27
|
+
import"./cli-mn8qkd8v.js";
|
|
28
|
+
import"./cli-g7k7zbcz.js";
|
|
30
29
|
import"./cli-btbzvq95.js";
|
|
31
30
|
import"./cli-1m2e086m.js";
|
|
32
|
-
import"./cli-
|
|
31
|
+
import"./cli-wnb9b2g3.js";
|
|
33
32
|
import"./cli-xvdgasgy.js";
|
|
34
|
-
import"./cli-ywybs5as.js";
|
|
35
|
-
import"./cli-gd4favx9.js";
|
|
36
33
|
import"./cli-1a2j50m0.js";
|
|
34
|
+
import"./cli-ywybs5as.js";
|
|
37
35
|
import"./cli-f9w1semm.js";
|
|
36
|
+
import"./cli-a35hzdve.js";
|
|
37
|
+
import"./cli-gd4favx9.js";
|
|
38
38
|
import"./cli-ej6gbxfb.js";
|
|
39
|
-
import"./cli-
|
|
39
|
+
import"./cli-014vns2y.js";
|
|
40
40
|
import"./cli-sd0mxa3c.js";
|
|
41
41
|
import"./cli-w5e1d1vv.js";
|
|
42
|
-
import"./cli-
|
|
42
|
+
import"./cli-ng1pmdx6.js";
|
|
43
43
|
import {
|
|
44
44
|
init_secret_scrubber,
|
|
45
45
|
scrubSecrets
|
|
@@ -2,28 +2,29 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db1 as init_db
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-xvdgasgy.js";
|
|
5
|
+
} from "./cli-74ez9b66.js";
|
|
7
6
|
import"./cli-3qhyh31j.js";
|
|
8
|
-
import"./cli-
|
|
7
|
+
import"./cli-xvdgasgy.js";
|
|
8
|
+
import"./cli-mxvnnv5q.js";
|
|
9
9
|
import"./cli-7mm2r1kp.js";
|
|
10
10
|
import"./cli-g5erf0zt.js";
|
|
11
11
|
import"./cli-dmtrxqhg.js";
|
|
12
|
-
import"./cli-tadfgd0t.js";
|
|
13
|
-
import"./cli-ywybs5as.js";
|
|
14
|
-
import"./cli-gd4favx9.js";
|
|
15
12
|
import"./cli-agamgm0p.js";
|
|
16
13
|
import"./cli-5c2j5yvx.js";
|
|
17
14
|
import"./cli-1a2j50m0.js";
|
|
15
|
+
import"./cli-tadfgd0t.js";
|
|
16
|
+
import"./cli-ywybs5as.js";
|
|
18
17
|
import"./cli-f9w1semm.js";
|
|
18
|
+
import"./cli-a35hzdve.js";
|
|
19
|
+
import"./cli-gd4favx9.js";
|
|
19
20
|
import {
|
|
20
21
|
init_env_flag,
|
|
21
22
|
isEnvFlagEnabled
|
|
22
23
|
} from "./cli-ej6gbxfb.js";
|
|
23
|
-
import"./cli-
|
|
24
|
+
import"./cli-014vns2y.js";
|
|
24
25
|
import"./cli-sd0mxa3c.js";
|
|
25
26
|
import"./cli-w5e1d1vv.js";
|
|
26
|
-
import"./cli-
|
|
27
|
+
import"./cli-ng1pmdx6.js";
|
|
27
28
|
import"./cli-zf8jjwex.js";
|
|
28
29
|
import"./cli-wt7ccy4r.js";
|
|
29
30
|
import"./cli-bc05qbss.js";
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
cursorModelSelection,
|
|
7
7
|
liveTestCursorKey,
|
|
8
8
|
translateCursorMessage
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-6bpvv8h4.js";
|
|
10
10
|
import"./cli-ptcz1cqy.js";
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
import"./cli-7avy4v8w.js";
|
|
12
|
+
import"./cli-tmhsxhb8.js";
|
|
13
13
|
import"./cli-re8z5p8p.js";
|
|
14
14
|
import"./cli-xvdgasgy.js";
|
|
15
15
|
import"./cli-g5erf0zt.js";
|
|
16
|
-
import"./cli-gd4favx9.js";
|
|
17
16
|
import"./cli-5c2j5yvx.js";
|
|
17
|
+
import"./cli-gd4favx9.js";
|
|
18
18
|
import"./cli-ej6gbxfb.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-014vns2y.js";
|
|
20
20
|
import"./cli-sd0mxa3c.js";
|
|
21
21
|
import"./cli-w5e1d1vv.js";
|
|
22
22
|
import"./cli-wt7ccy4r.js";
|
|
@@ -491,30 +491,31 @@ import {
|
|
|
491
491
|
upsertSkillFiles,
|
|
492
492
|
upsertSwarmConfig,
|
|
493
493
|
withFavoriteFlags
|
|
494
|
-
} from "./cli-
|
|
495
|
-
import"./cli-xvdgasgy.js";
|
|
494
|
+
} from "./cli-74ez9b66.js";
|
|
496
495
|
import"./cli-3qhyh31j.js";
|
|
496
|
+
import"./cli-xvdgasgy.js";
|
|
497
497
|
import {
|
|
498
498
|
generateDefaultClaudeMd,
|
|
499
499
|
generateDefaultIdentityMd,
|
|
500
500
|
generateDefaultSoulMd,
|
|
501
501
|
generateDefaultToolsMd
|
|
502
|
-
} from "./cli-
|
|
502
|
+
} from "./cli-mxvnnv5q.js";
|
|
503
503
|
import"./cli-7mm2r1kp.js";
|
|
504
504
|
import"./cli-g5erf0zt.js";
|
|
505
505
|
import"./cli-dmtrxqhg.js";
|
|
506
|
-
import"./cli-tadfgd0t.js";
|
|
507
|
-
import"./cli-ywybs5as.js";
|
|
508
|
-
import"./cli-gd4favx9.js";
|
|
509
506
|
import"./cli-agamgm0p.js";
|
|
510
507
|
import"./cli-5c2j5yvx.js";
|
|
511
508
|
import"./cli-1a2j50m0.js";
|
|
509
|
+
import"./cli-tadfgd0t.js";
|
|
510
|
+
import"./cli-ywybs5as.js";
|
|
512
511
|
import"./cli-f9w1semm.js";
|
|
512
|
+
import"./cli-a35hzdve.js";
|
|
513
|
+
import"./cli-gd4favx9.js";
|
|
513
514
|
import"./cli-ej6gbxfb.js";
|
|
514
|
-
import"./cli-
|
|
515
|
+
import"./cli-014vns2y.js";
|
|
515
516
|
import"./cli-sd0mxa3c.js";
|
|
516
517
|
import"./cli-w5e1d1vv.js";
|
|
517
|
-
import"./cli-
|
|
518
|
+
import"./cli-ng1pmdx6.js";
|
|
518
519
|
import"./cli-zf8jjwex.js";
|
|
519
520
|
import"./cli-wt7ccy4r.js";
|
|
520
521
|
import"./cli-bc05qbss.js";
|