@desplega.ai/agent-swarm 2.8.0 → 2.8.1
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-t949vbbp.js → acp-adapter-pdy3qsvg.js} +1 -1
- package/dist/{actions-7e9czc7s.js → actions-pwjpn0j6.js} +18 -18
- package/dist/{amp-adapter-gv6cbb7d.js → amp-adapter-cq9jgj6x.js} +1 -1
- package/dist/{app-b9fbkp9v.js → app-cnfffgwg.js} +3 -3
- package/dist/{assistant-wjb7v4c7.js → assistant-kpn317y1.js} +19 -19
- package/dist/{boot-args-schema-2t37e0fe.js → boot-args-schema-pbbnhmc3.js} +1 -1
- package/dist/{boot-reembed-gka3zas7.js → boot-reembed-9m0ysxma.js} +1 -1
- package/dist/{boot-reembed-a35nkyr1.js → boot-reembed-majbn53m.js} +1 -1
- package/dist/{boot-scrub-sweep-65sdnp6c.js → boot-scrub-sweep-app8g8ym.js} +2 -2
- package/dist/{boot-seeds-x42tzytw.js → boot-seeds-pbtmvcjm.js} +4 -4
- package/dist/{claude-adapter-v221b2fd.js → claude-adapter-wn1g3qp5.js} +2 -2
- package/dist/{claude-managed-adapter-29eq09wd.js → claude-managed-adapter-jh6c523j.js} +2 -2
- package/dist/{claude-managed-setup-9m6450zk.js → claude-managed-setup-pd47nzch.js} +4 -4
- package/dist/{claude-sdk-session-0q0ptaba.js → claude-sdk-session-3a2a6589.js} +2 -2
- package/dist/{cli-j790gp2w.js → cli-0ntbxyaa.js} +5 -5
- package/dist/{cli-c55z5chy.js → cli-1xh9a7hn.js} +2 -2
- package/dist/{cli-p1bq50aa.js → cli-4r05hnqa.js} +10 -10
- package/dist/{cli-qa4wdgsy.js → cli-6mma83xa.js} +1 -1
- package/dist/{cli-tph5wt3y.js → cli-6wj7p986.js} +1 -1
- package/dist/{cli-t73cas91.js → cli-7349va39.js} +8100 -7620
- package/dist/{cli-h38x262p.js → cli-7w69ne2f.js} +7 -7
- package/dist/{cli-qwca7s44.js → cli-89cqnasv.js} +2 -2
- package/dist/{cli-rfywm85n.js → cli-93k32c37.js} +31 -31
- package/dist/{cli-2wnq8jkz.js → cli-9vhebtjz.js} +1 -1
- package/dist/{cli-m23zjcy2.js → cli-9wngrawf.js} +1 -1
- package/dist/{cli-f3vq58d2.js → cli-a3b239vq.js} +1 -1
- package/dist/{cli-abejgen1.js → cli-b085njxz.js} +9 -9
- package/dist/{cli-m28atx8q.js → cli-b5rs97a6.js} +4 -4
- package/dist/{cli-qsnnd04k.js → cli-b8e9nb04.js} +1 -1
- package/dist/{cli-p2gfst4m.js → cli-bb431xey.js} +18 -18
- package/dist/{cli-deefvewm.js → cli-cyhbbd1z.js} +1 -1
- package/dist/{cli-y97qxcfx.js → cli-d3p5vwbk.js} +2 -2
- package/dist/{cli-a7wvp2km.js → cli-dy32zecz.js} +1 -1
- package/dist/{cli-yq3zak69.js → cli-gax7fk3t.js} +1 -1
- package/dist/{cli-ee0b971j.js → cli-jcpr5smb.js} +2 -2
- package/dist/{cli-6t09sdhy.js → cli-jywyhqws.js} +3 -3
- package/dist/{cli-6wxjceza.js → cli-k0615eh8.js} +6 -6
- package/dist/{cli-4txa0ter.js → cli-k26bkr9t.js} +2 -2
- package/dist/{cli-8kzasymh.js → cli-k93bq1wq.js} +2 -2
- package/dist/{cli-gpwhbgx0.js → cli-m9s2qff2.js} +57 -25
- package/dist/{cli-wcg8x116.js → cli-pcad4cb1.js} +1 -1
- package/dist/{cli-gxkx0zzp.js → cli-re4raaj0.js} +1 -1
- package/dist/{cli-rzsy6nc6.js → cli-sn7rtnj4.js} +1 -1
- package/dist/{cli-8fknbnhw.js → cli-syybb0p1.js} +7 -7
- package/dist/{cli-rmmpt0wm.js → cli-tacge1w0.js} +6 -6
- package/dist/{cli-pasjcnmj.js → cli-vbh10fqa.js} +2 -2
- package/dist/{cli-ffhtssbp.js → cli-vj75tyaw.js} +1 -1
- package/dist/{cli-qfedvmcr.js → cli-vqptjbr7.js} +8 -8
- package/dist/{cli-n9ftpys4.js → cli-x6t50dmw.js} +7 -7
- package/dist/{cli-sdtt3men.js → cli-yn2bbre9.js} +1 -1
- package/dist/{cli-334z18y3.js → cli-yncmerje.js} +2 -2
- package/dist/{cli-s7t6p9my.js → cli-zcsw143p.js} +1 -1
- package/dist/cli.js +13 -13
- package/dist/{codex-adapter-30j9bpzd.js → codex-adapter-nha71q3n.js} +1 -1
- package/dist/{codex-session-runner-8vp57v8w.js → codex-session-runner-ak9x1k1h.js} +1 -1
- package/dist/{commands-bngnz9g7.js → commands-f587qpq8.js} +3 -3
- package/dist/{controllers-connect-e2b4gyxc.js → controllers-connect-k5sg9m9h.js} +18 -18
- package/dist/{db-c6np41ca.js → db-amm8w15a.js} +1 -1
- package/dist/{db-bgm7vkc0.js → db-nzf8zb5z.js} +3 -3
- package/dist/{dispatcher-jnybck15.js → dispatcher-89zrts8f.js} +17 -17
- package/dist/{embedding-space-crsm2zp0.js → embedding-space-ezwenjmj.js} +6 -6
- package/dist/{embeddings-e7z3f27f.js → embeddings-np74ht6g.js} +1 -1
- package/dist/{external-channel-m77wf5z3.js → external-channel-z46yx9d7.js} +2 -2
- package/dist/{fx-adapter-b6w0kf56.js → fx-adapter-3q12snn6.js} +2 -2
- package/dist/{grok-adapter-4sqtebdk.js → grok-adapter-ahb1w033.js} +2 -2
- package/dist/handlers-vbww69re.js +32 -0
- package/dist/{heartbeat-xgb036sx.js → heartbeat-dt9qw9c8.js} +19 -19
- package/dist/{hook-xsk1jbha.js → hook-8k6fbz9b.js} +1 -1
- package/dist/{hook-5h02c9ga.js → hook-jgcgygex.js} +1 -1
- package/dist/{http-txe7qhvn.js → http-haw4r8ne.js} +40 -40
- package/dist/{index-0eny15vj.js → index-2skqtd76.js} +2 -2
- package/dist/index-4xwaf5th.js +32 -0
- package/dist/{index-ysvbhg5m.js → index-5gk12my8.js} +1 -1
- package/dist/{index-w7em4ktq.js → index-d6wkh8ar.js} +2 -2
- package/dist/index-f0hcrs8e.js +33 -0
- package/dist/{index-rvccek1w.js → index-gjwaqaq8.js} +5 -5
- package/dist/{index-e5pfbsys.js → index-hjhfk3ra.js} +3 -3
- package/dist/{index-1qw6f2dc.js → index-khe3gp0k.js} +4 -4
- package/dist/index-s4ewdma4.js +37 -0
- package/dist/{index-vk63emp7.js → index-tez78qj3.js} +11 -11
- package/dist/{keepalive-4zsrce78.js → keepalive-xn6s7rmg.js} +3 -3
- package/dist/{lead-yqt47dkr.js → lead-6ygbfhbh.js} +28 -28
- package/dist/{maintenance-86jvartk.js → maintenance-vdts800b.js} +1 -1
- package/dist/{node-je82wjet.js → node-4c5jqxr3.js} +1 -1
- package/dist/{oauth-refresh-sweep-j52kg9pr.js → oauth-refresh-sweep-094c8wfk.js} +2 -2
- package/dist/{onboard-c2aj5p8q.js → onboard-v99eh56m.js} +2 -2
- package/dist/{otel-impl-yyy203z8.js → otel-impl-q7yr9yp0.js} +1 -1
- package/dist/{pricing-refresh-1rgzqyzz.js → pricing-refresh-7dh2yase.js} +2 -2
- package/dist/{rbac-roles-q89qe8er.js → rbac-roles-mdmc96p4.js} +3 -3
- package/dist/{rbac-roles-e70xfeyj.js → rbac-roles-npbmdh77.js} +2 -2
- package/dist/{render-v2-k6tt107q.js → render-v2-twhhwmms.js} +3 -3
- package/dist/{resume-cnnrjfxa.js → resume-5gsrjd5e.js} +6 -6
- package/dist/{session-access-xkxkjw3n.js → session-access-m191x30x.js} +4 -4
- package/dist/{session-source-backfill-1d5pdwww.js → session-source-backfill-nt923ask.js} +1 -1
- package/dist/{setup-se8q7gkc.js → setup-wv467afy.js} +1 -1
- package/dist/{work-objects-1kxnbzy5.js → work-objects-8zkrpy13.js} +20 -20
- package/dist/{worker-follow-up-zqm8apt4.js → worker-follow-up-cecqszem.js} +17 -17
- package/dist/{worker-j6xxtq7p.js → worker-mz5z7kj0.js} +28 -28
- package/openapi.json +1 -1
- package/package.json +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/scripts-runtime/eval-harness.ts +14 -1
- package/src/scripts-runtime/executors/types.ts +3 -0
- package/src/tests/mcp-tools.test.ts +1 -1
- package/src/tests/script-native-unawaited-drain.test.ts +167 -0
- package/src/tools/script-run.ts +1 -1
- package/templates/skills/swarm-scripts/SKILL.md +1 -1
- package/templates/skills/swarm-scripts/content.md +1 -1
- package/dist/handlers-kdjcyzdj.js +0 -32
- package/dist/index-835xdgnm.js +0 -33
- package/dist/index-d469300x.js +0 -37
- package/dist/index-rzqwp11g.js +0 -32
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import"./cli-ns59dc6r.js";
|
|
2
|
+
import {
|
|
3
|
+
parseHeartbeatIntervalMs2,
|
|
4
|
+
startHeartbeat2,
|
|
5
|
+
stopHeartbeat2
|
|
6
|
+
} from "./cli-b085njxz.js";
|
|
7
|
+
import"./cli-k0615eh8.js";
|
|
8
|
+
import"./cli-m4dqmnbp.js";
|
|
9
|
+
import"./cli-93k32c37.js";
|
|
10
|
+
import"./cli-k26bkr9t.js";
|
|
11
|
+
import"./cli-a3b239vq.js";
|
|
12
|
+
import"./cli-0ntbxyaa.js";
|
|
13
|
+
import"./cli-yn2bbre9.js";
|
|
14
|
+
import"./cli-7cp6aa1q.js";
|
|
15
|
+
import"./cli-b5rs97a6.js";
|
|
16
|
+
import"./cli-x6t50dmw.js";
|
|
17
|
+
import"./cli-vbh10fqa.js";
|
|
18
|
+
import"./cli-vqptjbr7.js";
|
|
19
|
+
import"./cli-4r05hnqa.js";
|
|
20
|
+
import"./cli-dy32zecz.js";
|
|
21
|
+
import"./cli-b8e9nb04.js";
|
|
22
|
+
import"./cli-zcsw143p.js";
|
|
23
|
+
import"./cli-k93bq1wq.js";
|
|
24
|
+
import"./cli-1xh9a7hn.js";
|
|
25
|
+
import"./cli-re4raaj0.js";
|
|
26
|
+
import"./cli-7w69ne2f.js";
|
|
27
|
+
import"./cli-eddnyg3t.js";
|
|
28
|
+
export {
|
|
29
|
+
parseHeartbeatIntervalMs2 as parseHeartbeatIntervalMs,
|
|
30
|
+
startHeartbeat2 as startHeartbeat,
|
|
31
|
+
stopHeartbeat2 as stopHeartbeat
|
|
32
|
+
};
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
convertEmojiPlaceholders2,
|
|
22
22
|
cardChildToFallbackText2,
|
|
23
23
|
init_dist4
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-x6t50dmw.js";
|
|
25
25
|
import {
|
|
26
26
|
extractCard,
|
|
27
27
|
extractFiles,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
downloadAttachment,
|
|
33
33
|
replaceBareMentions,
|
|
34
34
|
init_dist
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-6wj7p986.js";
|
|
36
36
|
import {
|
|
37
37
|
require_fast_deep_equal
|
|
38
38
|
} from "./cli-bhp11egn.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
calculateNextRun2,
|
|
3
|
+
startScheduler2,
|
|
4
|
+
stopScheduler2,
|
|
5
|
+
runScheduleNow2,
|
|
6
|
+
init_scheduler2
|
|
7
|
+
} from "./cli-93k32c37.js";
|
|
8
|
+
import"./cli-k26bkr9t.js";
|
|
9
|
+
import"./cli-a3b239vq.js";
|
|
10
|
+
import"./cli-0ntbxyaa.js";
|
|
11
|
+
import"./cli-yn2bbre9.js";
|
|
12
|
+
import"./cli-7cp6aa1q.js";
|
|
13
|
+
import"./cli-b5rs97a6.js";
|
|
14
|
+
import"./cli-x6t50dmw.js";
|
|
15
|
+
import"./cli-vbh10fqa.js";
|
|
16
|
+
import"./cli-vqptjbr7.js";
|
|
17
|
+
import"./cli-4r05hnqa.js";
|
|
18
|
+
import"./cli-dy32zecz.js";
|
|
19
|
+
import"./cli-b8e9nb04.js";
|
|
20
|
+
import"./cli-zcsw143p.js";
|
|
21
|
+
import"./cli-k93bq1wq.js";
|
|
22
|
+
import"./cli-1xh9a7hn.js";
|
|
23
|
+
import"./cli-re4raaj0.js";
|
|
24
|
+
import"./cli-7w69ne2f.js";
|
|
25
|
+
import"./cli-eddnyg3t.js";
|
|
26
|
+
init_scheduler2();
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
calculateNextRun2 as calculateNextRun,
|
|
30
|
+
runScheduleNow2 as runScheduleNow,
|
|
31
|
+
startScheduler2 as startScheduler,
|
|
32
|
+
stopScheduler2 as stopScheduler
|
|
33
|
+
};
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
walkAst2,
|
|
9
9
|
BaseFormatConverter2,
|
|
10
10
|
Message3,
|
|
11
|
-
|
|
11
|
+
NotImplementedError3,
|
|
12
12
|
ConsoleLogger2,
|
|
13
13
|
StreamingMarkdownRenderer2,
|
|
14
14
|
getEmoji2,
|
|
15
15
|
defaultEmojiResolver2,
|
|
16
16
|
convertEmojiPlaceholders2,
|
|
17
17
|
init_dist4
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-x6t50dmw.js";
|
|
19
19
|
import {
|
|
20
20
|
extractCard,
|
|
21
21
|
extractFiles,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
NetworkError,
|
|
29
29
|
cardToFallbackText,
|
|
30
30
|
init_dist
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-6wj7p986.js";
|
|
32
32
|
import {
|
|
33
33
|
__esm
|
|
34
34
|
} from "./cli-242037k3.js";
|
|
@@ -1708,7 +1708,7 @@ var CALLBACK_DATA_PREFIX = "chat:", TELEGRAM_CALLBACK_DATA_LIMIT_BYTES = 64, MAR
|
|
|
1708
1708
|
if (result === true) {
|
|
1709
1709
|
const existing = this.findCachedMessage(compositeId);
|
|
1710
1710
|
if (!existing) {
|
|
1711
|
-
throw new
|
|
1711
|
+
throw new NotImplementedError3("Telegram returned a non-message edit result and no cached message was found", "editMessage");
|
|
1712
1712
|
}
|
|
1713
1713
|
const updated = new Message3({
|
|
1714
1714
|
...existing,
|
|
@@ -1781,7 +1781,7 @@ var CALLBACK_DATA_PREFIX = "chat:", TELEGRAM_CALLBACK_DATA_LIMIT_BYTES = 64, MAR
|
|
|
1781
1781
|
}
|
|
1782
1782
|
assertReactionsSupported(thread, method) {
|
|
1783
1783
|
if (thread.businessConnectionId) {
|
|
1784
|
-
throw new
|
|
1784
|
+
throw new NotImplementedError3("Telegram Bot API does not support reactions on behalf of a business account", method);
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
1787
|
async startTyping(threadId) {
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
walkAst2,
|
|
22
22
|
BaseFormatConverter2,
|
|
23
23
|
Message3,
|
|
24
|
-
|
|
24
|
+
NotImplementedError3,
|
|
25
25
|
ConsoleLogger2,
|
|
26
26
|
StreamingMarkdownRenderer2,
|
|
27
27
|
Chat2,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isJSX2,
|
|
34
34
|
toModalElement2,
|
|
35
35
|
init_dist4
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-x6t50dmw.js";
|
|
37
37
|
init_dist4();
|
|
38
38
|
|
|
39
39
|
export {
|
|
@@ -41,7 +41,7 @@ export {
|
|
|
41
41
|
Chat2 as Chat,
|
|
42
42
|
ConsoleLogger2 as ConsoleLogger,
|
|
43
43
|
Message3 as Message,
|
|
44
|
-
|
|
44
|
+
NotImplementedError3 as NotImplementedError,
|
|
45
45
|
StreamingMarkdownRenderer2 as StreamingMarkdownRenderer,
|
|
46
46
|
cardChildToFallbackText2 as cardChildToFallbackText,
|
|
47
47
|
chartElementToFallbackText2 as chartElementToFallbackText,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
parseMarkdown2,
|
|
15
15
|
BaseFormatConverter2,
|
|
16
16
|
Message3,
|
|
17
|
-
|
|
17
|
+
NotImplementedError3,
|
|
18
18
|
ConsoleLogger2,
|
|
19
19
|
defaultEmojiResolver2,
|
|
20
20
|
convertEmojiPlaceholders2,
|
|
21
21
|
cardChildToFallbackText2,
|
|
22
22
|
init_dist4
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-x6t50dmw.js";
|
|
24
24
|
import {
|
|
25
25
|
require_index_min
|
|
26
26
|
} from "./cli-t9wbrgm4.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
escapeTableCell,
|
|
40
40
|
downloadAttachment,
|
|
41
41
|
init_dist
|
|
42
|
-
} from "./cli-
|
|
42
|
+
} from "./cli-6wj7p986.js";
|
|
43
43
|
import {
|
|
44
44
|
require_jsonwebtoken,
|
|
45
45
|
require_lib,
|
|
@@ -44499,7 +44499,7 @@ var import_teams, import_teams2, import_teams4, import_teams5, import_teams6, im
|
|
|
44499
44499
|
error
|
|
44500
44500
|
});
|
|
44501
44501
|
if (error instanceof Error && error.message?.includes("403")) {
|
|
44502
|
-
throw new
|
|
44502
|
+
throw new NotImplementedError3("Teams fetchMessages requires one of these Azure AD app permissions: ChatMessage.Read.Chat, Chat.Read.All, or Chat.Read.WhereInstalled", "fetchMessages");
|
|
44503
44503
|
}
|
|
44504
44504
|
throw error;
|
|
44505
44505
|
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getExecutorRegistry2,
|
|
3
|
+
initWorkflows2,
|
|
4
|
+
init_workflows
|
|
5
|
+
} from "./cli-93k32c37.js";
|
|
6
|
+
import"./cli-k26bkr9t.js";
|
|
7
|
+
import"./cli-a3b239vq.js";
|
|
8
|
+
import"./cli-0ntbxyaa.js";
|
|
9
|
+
import"./cli-yn2bbre9.js";
|
|
10
|
+
import"./cli-7cp6aa1q.js";
|
|
11
|
+
import"./cli-b5rs97a6.js";
|
|
12
|
+
import"./cli-x6t50dmw.js";
|
|
13
|
+
import {
|
|
14
|
+
retryFailedRun2,
|
|
15
|
+
cancelWorkflowRun2
|
|
16
|
+
} from "./cli-vbh10fqa.js";
|
|
17
|
+
import {
|
|
18
|
+
startWorkflowExecution2
|
|
19
|
+
} from "./cli-vqptjbr7.js";
|
|
20
|
+
import"./cli-4r05hnqa.js";
|
|
21
|
+
import"./cli-dy32zecz.js";
|
|
22
|
+
import"./cli-b8e9nb04.js";
|
|
23
|
+
import"./cli-zcsw143p.js";
|
|
24
|
+
import"./cli-k93bq1wq.js";
|
|
25
|
+
import"./cli-1xh9a7hn.js";
|
|
26
|
+
import"./cli-re4raaj0.js";
|
|
27
|
+
import"./cli-7w69ne2f.js";
|
|
28
|
+
import"./cli-eddnyg3t.js";
|
|
29
|
+
init_workflows();
|
|
30
|
+
|
|
31
|
+
export {
|
|
32
|
+
cancelWorkflowRun2 as cancelWorkflowRun,
|
|
33
|
+
getExecutorRegistry2 as getExecutorRegistry,
|
|
34
|
+
initWorkflows2 as initWorkflows,
|
|
35
|
+
retryFailedRun2 as retryFailedRun,
|
|
36
|
+
startWorkflowExecution2 as startWorkflowExecution
|
|
37
|
+
};
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
deleteSkill2,
|
|
18
18
|
getSkillByName2,
|
|
19
19
|
init_db4
|
|
20
|
-
} from "./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
} from "./cli-7w69ne2f.js";
|
|
21
|
+
import"./cli-1xh9a7hn.js";
|
|
22
22
|
import {
|
|
23
23
|
agentFsProvisionSeeder
|
|
24
|
-
} from "./cli-
|
|
25
|
-
import"./cli-
|
|
24
|
+
} from "./cli-89cqnasv.js";
|
|
25
|
+
import"./cli-b8e9nb04.js";
|
|
26
26
|
import"./cli-eddnyg3t.js";
|
|
27
|
-
import"./cli-
|
|
27
|
+
import"./cli-4r05hnqa.js";
|
|
28
28
|
import {
|
|
29
29
|
buildSkillContent
|
|
30
30
|
} from "./cli-691vz9mk.js";
|
|
@@ -49,11 +49,11 @@ import {
|
|
|
49
49
|
init_typecheck,
|
|
50
50
|
parseSkillContent,
|
|
51
51
|
init_skill_parser
|
|
52
|
-
} from "./cli-
|
|
53
|
-
import"./cli-
|
|
54
|
-
import"./cli-
|
|
55
|
-
import"./cli-
|
|
56
|
-
import"./cli-
|
|
52
|
+
} from "./cli-0ntbxyaa.js";
|
|
53
|
+
import"./cli-yn2bbre9.js";
|
|
54
|
+
import"./cli-vqptjbr7.js";
|
|
55
|
+
import"./cli-zcsw143p.js";
|
|
56
|
+
import"./cli-re4raaj0.js";
|
|
57
57
|
import {
|
|
58
58
|
__toESM
|
|
59
59
|
} from "./cli-242037k3.js";
|
|
@@ -20740,7 +20740,7 @@ export default async function (args: z.infer<typeof argsSchema>, ctx: ScriptCont
|
|
|
20740
20740
|
- \`agentId\` is propagated through the \`X-Agent-ID\` header, so SDK calls run as you. \`taskId\` is not ambient: pass it in \`args\` when the script calls \`task_storeProgress\`.
|
|
20741
20741
|
- A script invoked from a workflow node may run under a workflow identity. The node may also supply arguments the script needs: when you run that script directly, pass the same arguments the node maps. A script without a strict \`argsSchema\` then fails deeper in, often as a not-found or resource error instead of a validation error.
|
|
20742
20742
|
- Return compact structured data. Raw logs, full HTML, big JSON arrays, and file contents stay inside the script.
|
|
20743
|
-
- Limits: about 30 s wall clock (up to 5 minutes where the tool exposes it), 1 MB stdout. Never sleep or loop past about 25 s. Chain \`wait-for-task\` calls instead. The cap also applies to a script called through \`ctx.step.swarmScript\`; the step's \`timeoutMs\` does not extend it. A long LLM call, such as a 2,000-word draft, goes in a \`ctx.step.rawLlm\` step inside \`launch-script-run\`, never in a called script. A \`targetType: "script"\` schedule gets 60 s; a manual \`script-run\` gets 30 s, so a candidate that finishes well under 30 s by hand has margin on the schedule. A nested \`ctx.swarm.script_run\` gets its own 30 s but runs inside its caller's remaining time: run slow children as sibling calls from the outer script, not deeper in the chain.
|
|
20743
|
+
- Limits: about 30 s wall clock (up to 5 minutes where the tool exposes it), 1 MB stdout. Never sleep or loop past about 25 s. Chain \`wait-for-task\` calls instead. The cap also applies to a script called through \`ctx.step.swarmScript\`; the step's \`timeoutMs\` does not extend it. A long LLM call, such as a 2,000-word draft, goes in a \`ctx.step.rawLlm\` step inside \`launch-script-run\`, never in a called script. A \`targetType: "script"\` schedule gets 60 s; a manual \`script-run\` gets 30 s, so a candidate that finishes well under 30 s by hand has margin on the schedule. A nested \`ctx.swarm.script_run\` gets its own 30 s but runs inside its caller's remaining time: run slow children as sibling calls from the outer script, not deeper in the chain. The run ends when your default export resolves. A call you did not await gets about 2 s more and is then stopped (\`quickjs\` aborts it at once), so await every write that must land. That makes a \`Promise.race\` deadline bound the run; a nested \`script_run\` that lost the race keeps running on the server under its own 30 s.
|
|
20744
20744
|
|
|
20745
20745
|
### What \`ctx\` holds
|
|
20746
20746
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listKeepAliveAuthorizations,
|
|
3
3
|
init_oauth
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-7w69ne2f.js";
|
|
5
5
|
import {
|
|
6
6
|
ensureAuthorizationTokenOrThrow,
|
|
7
7
|
init_ensure_token
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-yn2bbre9.js";
|
|
9
9
|
import {
|
|
10
10
|
scrubSecrets,
|
|
11
11
|
init_secret_scrubber
|
|
@@ -59,7 +59,7 @@ async function notifySlack(text) {
|
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
try {
|
|
62
|
-
const { getSlackApp } = await import("./app-
|
|
62
|
+
const { getSlackApp } = await import("./app-cnfffgwg.js");
|
|
63
63
|
const app = getSlackApp();
|
|
64
64
|
if (!app) {
|
|
65
65
|
console.warn("[OAuth Keepalive] Slack not available, cannot send notification");
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import"./cli-
|
|
2
|
-
import"./cli-
|
|
3
|
-
import"./cli-
|
|
4
|
-
import"./cli-
|
|
1
|
+
import"./cli-7w69ne2f.js";
|
|
2
|
+
import"./cli-1xh9a7hn.js";
|
|
3
|
+
import"./cli-k26bkr9t.js";
|
|
4
|
+
import"./cli-a3b239vq.js";
|
|
5
5
|
import"./cli-eddnyg3t.js";
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
6
|
+
import"./cli-b8e9nb04.js";
|
|
7
|
+
import"./cli-4r05hnqa.js";
|
|
8
|
+
import"./cli-vbh10fqa.js";
|
|
9
9
|
import {
|
|
10
10
|
getEnabledCapabilities,
|
|
11
11
|
init_server
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-93k32c37.js";
|
|
13
13
|
import"./cli-7cp6aa1q.js";
|
|
14
|
-
import"./cli-
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
14
|
+
import"./cli-x6t50dmw.js";
|
|
15
|
+
import"./cli-k93bq1wq.js";
|
|
16
|
+
import"./cli-b5rs97a6.js";
|
|
17
|
+
import"./cli-jcpr5smb.js";
|
|
18
18
|
import"./cli-2gxeg5gr.js";
|
|
19
19
|
import {
|
|
20
20
|
runAgent
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-bb431xey.js";
|
|
22
22
|
import"./cli-jrzkw01m.js";
|
|
23
23
|
import"./cli-77cd6gy8.js";
|
|
24
24
|
import"./cli-kc7v1nfv.js";
|
|
25
25
|
import"./cli-d6521kb5.js";
|
|
26
26
|
import"./cli-xzm9vcfg.js";
|
|
27
|
-
import"./cli-
|
|
27
|
+
import"./cli-9wngrawf.js";
|
|
28
28
|
import"./cli-qmqk2yc2.js";
|
|
29
29
|
import"./cli-8aes17e4.js";
|
|
30
30
|
import"./cli-g70vxtjh.js";
|
|
31
31
|
import"./cli-d82btycs.js";
|
|
32
32
|
import"./cli-0726awxw.js";
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
33
|
+
import"./cli-6mma83xa.js";
|
|
34
|
+
import"./cli-d3p5vwbk.js";
|
|
35
35
|
import"./cli-4bd1rck6.js";
|
|
36
36
|
import"./cli-98rwmcyc.js";
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
37
|
+
import"./cli-7349va39.js";
|
|
38
|
+
import"./cli-vj75tyaw.js";
|
|
39
39
|
import"./cli-m5akxq8q.js";
|
|
40
40
|
import"./cli-kr5tjjtz.js";
|
|
41
|
-
import"./cli-
|
|
41
|
+
import"./cli-9vhebtjz.js";
|
|
42
42
|
import"./cli-7b8sbmag.js";
|
|
43
43
|
import"./cli-mrt48bx7.js";
|
|
44
44
|
import"./cli-wk18cm92.js";
|
|
45
|
-
import"./cli-
|
|
45
|
+
import"./cli-sn7rtnj4.js";
|
|
46
46
|
import"./cli-tqegb8eq.js";
|
|
47
47
|
import"./cli-7p1kvkck.js";
|
|
48
|
-
import"./cli-
|
|
49
|
-
import"./cli-
|
|
50
|
-
import"./cli-
|
|
51
|
-
import"./cli-
|
|
52
|
-
import"./cli-
|
|
53
|
-
import"./cli-
|
|
54
|
-
import"./cli-
|
|
55
|
-
import"./cli-
|
|
48
|
+
import"./cli-gax7fk3t.js";
|
|
49
|
+
import"./cli-pcad4cb1.js";
|
|
50
|
+
import"./cli-0ntbxyaa.js";
|
|
51
|
+
import"./cli-yn2bbre9.js";
|
|
52
|
+
import"./cli-vqptjbr7.js";
|
|
53
|
+
import"./cli-dy32zecz.js";
|
|
54
|
+
import"./cli-zcsw143p.js";
|
|
55
|
+
import"./cli-re4raaj0.js";
|
|
56
56
|
|
|
57
57
|
// src/commands/lead.ts
|
|
58
58
|
init_server();
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
DEFAULT_MEMORY_SYNC_INTERVAL_MS,
|
|
19
19
|
checkMemorySyncInterval,
|
|
20
20
|
promiseWithResolvers
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-m9s2qff2.js";
|
|
22
22
|
|
|
23
23
|
// node_modules/@anthropic-ai/sdk/tools/agent-toolset/node.mjs
|
|
24
24
|
import * as fs4 from "node:fs/promises";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getAuthorizationById,
|
|
3
3
|
listAuthorizationSweepRows,
|
|
4
4
|
init_oauth
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-7w69ne2f.js";
|
|
6
6
|
import {
|
|
7
7
|
forceRefreshAuthorizationOrThrow,
|
|
8
8
|
init_ensure_token
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-yn2bbre9.js";
|
|
10
10
|
import {
|
|
11
11
|
isEnvFlagEnabled,
|
|
12
12
|
init_env_flag
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
createDefaultSettingsLocal,
|
|
17
17
|
createDefaultMcpJson,
|
|
18
18
|
createHooksConfig
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-cyhbbd1z.js";
|
|
20
20
|
import {
|
|
21
21
|
getSlackConfiguration,
|
|
22
22
|
isSlackConfigured,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
init_package,
|
|
27
27
|
package_default
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-yncmerje.js";
|
|
29
29
|
import {
|
|
30
30
|
getApiKey,
|
|
31
31
|
init_api_key
|
|
@@ -14,9 +14,9 @@ import {
|
|
|
14
14
|
setUserRoles2,
|
|
15
15
|
ensureRbacSeedsSynced2,
|
|
16
16
|
init_rbac_roles
|
|
17
|
-
} from "./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
17
|
+
} from "./cli-1xh9a7hn.js";
|
|
18
|
+
import"./cli-re4raaj0.js";
|
|
19
|
+
import"./cli-7w69ne2f.js";
|
|
20
20
|
init_rbac_roles();
|
|
21
21
|
|
|
22
22
|
export {
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
init_rbac,
|
|
7
7
|
init_telemetry_identity,
|
|
8
8
|
init_db4
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-7w69ne2f.js";
|
|
10
10
|
import {
|
|
11
11
|
init_users
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-re4raaj0.js";
|
|
13
13
|
import {
|
|
14
14
|
isEnvFlagEnabled,
|
|
15
15
|
init_env_flag
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
stopSlackRenderV2Events2,
|
|
8
8
|
processSlackRenderV22,
|
|
9
9
|
init_render_v2
|
|
10
|
-
} from "./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
10
|
+
} from "./cli-4r05hnqa.js";
|
|
11
|
+
import"./cli-b8e9nb04.js";
|
|
12
|
+
import"./cli-7w69ne2f.js";
|
|
13
13
|
import"./cli-eddnyg3t.js";
|
|
14
14
|
init_render_v2();
|
|
15
15
|
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
initWaitBusSubscriptions2,
|
|
12
12
|
subscribeWaitToBus2,
|
|
13
13
|
init_resume
|
|
14
|
-
} from "./cli-
|
|
15
|
-
import"./cli-
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
14
|
+
} from "./cli-vbh10fqa.js";
|
|
15
|
+
import"./cli-vqptjbr7.js";
|
|
16
|
+
import"./cli-4r05hnqa.js";
|
|
17
|
+
import"./cli-b8e9nb04.js";
|
|
18
|
+
import"./cli-re4raaj0.js";
|
|
19
|
+
import"./cli-7w69ne2f.js";
|
|
20
20
|
import"./cli-eddnyg3t.js";
|
|
21
21
|
init_resume();
|
|
22
22
|
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
bodySessionDenial2,
|
|
15
15
|
userAgentIdentityDenial2,
|
|
16
16
|
init_session_access
|
|
17
|
-
} from "./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
17
|
+
} from "./cli-b5rs97a6.js";
|
|
18
|
+
import"./cli-1xh9a7hn.js";
|
|
19
|
+
import"./cli-re4raaj0.js";
|
|
20
|
+
import"./cli-7w69ne2f.js";
|
|
21
21
|
init_session_access();
|
|
22
22
|
|
|
23
23
|
export {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getAgentById2,
|
|
3
3
|
getTaskById2,
|
|
4
4
|
init_db4
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-7w69ne2f.js";
|
|
6
6
|
import {
|
|
7
7
|
shouldBlockChannel2,
|
|
8
8
|
init_external_channel
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-b8e9nb04.js";
|
|
10
10
|
import"./cli-eddnyg3t.js";
|
|
11
11
|
import {
|
|
12
12
|
isAdmittedSlackDelivery,
|
|
@@ -15,31 +15,31 @@ import {
|
|
|
15
15
|
init_task_output,
|
|
16
16
|
getTaskUrl,
|
|
17
17
|
init_blocks
|
|
18
|
-
} from "./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
18
|
+
} from "./cli-4r05hnqa.js";
|
|
19
|
+
import"./cli-vbh10fqa.js";
|
|
20
|
+
import"./cli-93k32c37.js";
|
|
21
|
+
import"./cli-1xh9a7hn.js";
|
|
22
|
+
import"./cli-k26bkr9t.js";
|
|
23
|
+
import"./cli-a3b239vq.js";
|
|
24
24
|
import"./cli-7cp6aa1q.js";
|
|
25
|
-
import"./cli-
|
|
26
|
-
import"./cli-
|
|
27
|
-
import"./cli-
|
|
25
|
+
import"./cli-x6t50dmw.js";
|
|
26
|
+
import"./cli-k93bq1wq.js";
|
|
27
|
+
import"./cli-b5rs97a6.js";
|
|
28
28
|
import {
|
|
29
29
|
isUserAllowed2,
|
|
30
30
|
init_handlers
|
|
31
|
-
} from "./cli-
|
|
31
|
+
} from "./cli-syybb0p1.js";
|
|
32
32
|
import {
|
|
33
33
|
wasEventSeen,
|
|
34
34
|
init_event_dedup
|
|
35
|
-
} from "./cli-
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
38
|
-
import"./cli-
|
|
39
|
-
import"./cli-
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
42
|
-
import"./cli-
|
|
35
|
+
} from "./cli-tacge1w0.js";
|
|
36
|
+
import"./cli-jywyhqws.js";
|
|
37
|
+
import"./cli-0ntbxyaa.js";
|
|
38
|
+
import"./cli-yn2bbre9.js";
|
|
39
|
+
import"./cli-vqptjbr7.js";
|
|
40
|
+
import"./cli-dy32zecz.js";
|
|
41
|
+
import"./cli-zcsw143p.js";
|
|
42
|
+
import"./cli-re4raaj0.js";
|
|
43
43
|
import {
|
|
44
44
|
isEnvFlagEnabled,
|
|
45
45
|
init_env_flag
|