@desplega.ai/agent-swarm 2.0.0 → 2.1.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-sj2g0m84.js → acp-adapter-kr4abrsk.js} +10 -10
- package/dist/{actions-fegk44gr.js → actions-eh4g6w2r.js} +27 -27
- package/dist/{amp-adapter-ad8ft89x.js → amp-adapter-7h7wdt8q.js} +5 -5
- package/dist/{app-kfvgbvzy.js → app-7k8s9w5p.js} +9 -9
- package/dist/{assistant-z7zdy9ja.js → assistant-wswt2y7p.js} +28 -28
- package/dist/{boot-reembed-j8xa181e.js → boot-reembed-9apm9qw6.js} +7 -7
- package/dist/{boot-reembed-5c2z0mbe.js → boot-reembed-whzbdthj.js} +7 -7
- package/dist/{boot-scrub-sweep-hnkn3rgt.js → boot-scrub-sweep-ndzmvmgt.js} +8 -8
- package/dist/{boot-seeds-kwjq4d2z.js → boot-seeds-e9sta0yt.js} +13 -11
- package/dist/{claude-adapter-9vmvpvgd.js → claude-adapter-4mqd3r6r.js} +11 -11
- package/dist/{claude-managed-adapter-k9qae05j.js → claude-managed-adapter-9wswb52m.js} +3 -3
- package/dist/{claude-managed-setup-q54zx5q2.js → claude-managed-setup-tpe1effx.js} +4 -4
- package/dist/{claude-sdk-session-9jye6cxr.js → claude-sdk-session-q49ghmh9.js} +10340 -10197
- package/dist/{cli-ke896fcf.js → cli-01xvj1rq.js} +10 -10
- package/dist/{cli-tr4sxp68.js → cli-035vekcw.js} +2 -2
- package/dist/{cli-z5jjpaxw.js → cli-0pd8hzhc.js} +3 -3
- package/dist/{cli-n5vwg842.js → cli-0veb92a3.js} +6 -1
- package/dist/{cli-wayw93nt.js → cli-10jesr25.js} +3 -3
- package/dist/{cli-se8w6wny.js → cli-1y7yywmj.js} +1 -1
- package/dist/{cli-v1yb0rqb.js → cli-20krdhz5.js} +47 -19
- package/dist/{cli-d5f9ed5c.js → cli-29rja109.js} +39 -20
- package/dist/{cli-apx87jne.js → cli-2pwa0q4d.js} +15 -4
- package/dist/{cli-ee9gtz70.js → cli-4mengw46.js} +348 -25
- package/dist/{cli-03gedhng.js → cli-5twdke5x.js} +6 -6
- package/dist/{cli-6razj6t4.js → cli-711vwbxn.js} +2 -2
- package/dist/{cli-s2sp957d.js → cli-78vv7446.js} +1 -1
- package/dist/{cli-3fbmmawm.js → cli-7n6s5man.js} +4 -4
- package/dist/{cli-hnhtk6cj.js → cli-8wwxw8a3.js} +1 -1
- package/dist/{cli-hnmhtzvh.js → cli-9jzdj90z.js} +2 -0
- package/dist/{cli-skxvvpap.js → cli-cvv9k0hh.js} +28 -25
- package/dist/{cli-74ahz61x.js → cli-d9286m9h.js} +2 -2
- package/dist/{cli-4jxm2qtz.js → cli-gxzkg1de.js} +28 -16
- package/dist/{cli-zkpks3r3.js → cli-h1arqn31.js} +1 -1
- package/dist/{cli-r62a35ea.js → cli-hqr88ew6.js} +1 -1
- package/dist/{cli-ra0xzggj.js → cli-j67mh2vg.js} +2 -2
- package/dist/{cli-29jc5q7w.js → cli-ksphgh48.js} +2 -2
- package/dist/{cli-eejsgvm4.js → cli-mgz4nbgg.js} +4 -4
- package/dist/{cli-vatyhshy.js → cli-mz5as5ha.js} +4 -4
- package/dist/{cli-f7kr7svz.js → cli-n8ndw8j7.js} +2 -2
- package/dist/{cli-1e4b6bzh.js → cli-naqzr17j.js} +7 -7
- package/dist/{cli-q0ke1yww.js → cli-nm1p8jfr.js} +6 -6
- package/dist/{cli-m50t4309.js → cli-p3zbc1rw.js} +5 -5
- package/dist/{cli-cgtksawx.js → cli-pe05f8yk.js} +23 -3
- package/dist/{cli-vdach5a9.js → cli-qmzsbkvy.js} +4 -4
- package/dist/{cli-n3hzg89b.js → cli-qnm4e9e4.js} +57 -579
- package/dist/{cli-s4setq91.js → cli-qqy4q48b.js} +3 -3
- package/dist/{cli-k382tshb.js → cli-r35rw5de.js} +8 -7
- package/dist/{cli-k3dp5tpf.js → cli-r610p9bs.js} +2 -2
- package/dist/{cli-e6mpjhed.js → cli-rc6pf5kv.js} +1 -1
- package/dist/{cli-3dj8k4vy.js → cli-rdxm77k3.js} +1 -1
- package/dist/{cli-tqaazemc.js → cli-s69nfyeh.js} +1 -1
- package/dist/{cli-6jyj59nb.js → cli-sawv63e8.js} +2 -2
- package/dist/{cli-q50942rs.js → cli-sg19gbf0.js} +1 -1
- package/dist/{cli-p1x85d2t.js → cli-shk7r5cs.js} +12 -9
- package/dist/{cli-przpmdgr.js → cli-sksetb2q.js} +11 -1
- package/dist/{cli-d2qr7aj4.js → cli-t02z59f2.js} +1 -1
- package/dist/{cli-j0pfptdp.js → cli-v7g551te.js} +39 -43
- package/dist/{cli-bzszjf2p.js → cli-vgqzp4em.js} +519 -126
- package/dist/cli-wfnemr1t.js +86 -0
- package/dist/{cli-ne236afy.js → cli-wms6x9db.js} +8 -8
- package/dist/{cli-5hkm7whv.js → cli-x1r545x8.js} +1 -1
- package/dist/{cli-kt6zqg0e.js → cli-xczsgshn.js} +2 -2
- package/dist/{cli-ef1hg1wv.js → cli-y3167wt1.js} +430 -238
- package/dist/{cli-tsde1hdr.js → cli-yjmqpxt3.js} +12 -11
- package/dist/{cli-9nfx44eh.js → cli-z780ec7c.js} +1 -1
- package/dist/{cli-r2pnvj8g.js → cli-zm9t2vde.js} +2 -2
- package/dist/cli.js +24 -23
- package/dist/{codex-adapter-y81sssk0.js → codex-adapter-4z16v9n0.js} +8 -8
- package/dist/{codex-login-f2rcfpp9.js → codex-login-pkepy2j1.js} +2 -2
- package/dist/{codex-session-runner-8vx4j6a9.js → codex-session-runner-rvms9y2x.js} +8 -8
- package/dist/{commands-kcpvpcrr.js → commands-2a9rtyat.js} +8 -8
- package/dist/{controller-ywrmt6yd.js → controller-3k3madbn.js} +4 -4
- package/dist/{controllers-connect-kwpvj3rf.js → controllers-connect-v9yn8zb9.js} +30 -30
- package/dist/{cursor-adapter-cehv1qns.js → cursor-adapter-98gbhyzn.js} +4 -4
- package/dist/{db-ww5d7jq3.js → db-eywwsnjw.js} +9 -7
- package/dist/{db-k8ankj20.js → db-ncypk9np.js} +9 -9
- package/dist/{devin-adapter-x1022qb1.js → devin-adapter-zeq8b9gz.js} +2 -2
- package/dist/{dispatcher-e8gq5m68.js → dispatcher-w94kc575.js} +26 -26
- package/dist/{docker-ff6y1190.js → docker-b1e4cqab.js} +2 -2
- package/dist/{dsh-adapter-3epjm3af.js → dsh-adapter-47ztej36.js} +4 -4
- package/dist/{e2b-8ygwhg0f.js → e2b-bbt8ey45.js} +3 -3
- package/dist/{e2b-swhnpw3n.js → e2b-dp804sen.js} +3 -3
- package/dist/{event-bus-6axnngdj.js → event-bus-j2jdg3qb.js} +2 -2
- package/dist/{external-channel-h3359cwn.js → external-channel-zrkg8ar9.js} +8 -8
- package/dist/{grok-adapter-0d4x7gkx.js → grok-adapter-s9ncp9vy.js} +11 -11
- package/dist/{handlers-an1gzv21.js → handlers-kqftvjgw.js} +29 -29
- package/dist/{heartbeat-6dakeb61.js → heartbeat-9q96p8v9.js} +31 -31
- package/dist/{hook-6v6cv6d5.js → hook-56qe10dp.js} +7 -7
- package/dist/{hook-sa5xye4y.js → hook-yy6rw42k.js} +8 -8
- package/dist/{http-r7f3eky0.js → http-r2dnb8f8.js} +963 -75
- package/dist/{index-7ep4gzdk.js → index-3gtmkhc6.js} +26 -26
- package/dist/{index-v1v6n7hg.js → index-3k5hkz7r.js} +31 -31
- package/dist/{index-rmpw9a8q.js → index-5e101240.js} +26 -26
- package/dist/{index-s2wxgzr0.js → index-5wyfjc2c.js} +392 -15
- package/dist/{index-zk96aq1k.js → index-vxvhxxbn.js} +7 -7
- package/dist/{keepalive-be9vwy5h.js → keepalive-psj6j54c.js} +9 -9
- package/dist/{lead-0861cwrf.js → lead-hajz4688.js} +43 -43
- package/dist/{maintenance-mzzgc8bn.js → maintenance-ps02sb5m.js} +7 -7
- package/dist/{node-mn1zs7an.js → node-mwb5r697.js} +1 -1
- package/dist/{oauth-refresh-sweep-cpdnfwdj.js → oauth-refresh-sweep-0284h93b.js} +8 -8
- package/dist/{onboard-fh8qs4r3.js → onboard-rbf6bg01.js} +2 -2
- package/dist/{opencode-adapter-nm42wwj8.js → opencode-adapter-13dcatgq.js} +8 -8
- package/dist/{otel-impl-x6c1c9g4.js → otel-impl-zvqcbhp7.js} +2 -2
- package/dist/{pi-mono-adapter-9n2ya240.js → pi-mono-adapter-xxy47q4v.js} +7 -7
- package/dist/{pricing-refresh-qb0rv0ap.js → pricing-refresh-kefx9v3t.js} +9 -9
- package/dist/{rbac-roles-1gzdwbh1.js → rbac-roles-3m36rxm2.js} +8 -8
- package/dist/{rbac-roles-3mraey52.js → rbac-roles-z76xv0hq.js} +9 -9
- package/dist/{render-v2-agpa45zz.js → render-v2-wz73bs25.js} +9 -9
- package/dist/{resume-x0ydy9s9.js → resume-k4wzge8w.js} +14 -14
- package/dist/{setup-as9ga0d6.js → setup-2fp2pypp.js} +2 -2
- package/dist/{work-objects-y5g1y7ev.js → work-objects-6k0ywz3m.js} +29 -29
- package/dist/{worker-860c3e38.js → worker-5v3rxsdh.js} +43 -43
- package/dist/{x-m477fr0h.js → x-4mtdeym1.js} +2 -2
- package/openapi.json +777 -6
- package/package.json +8 -7
- package/src/agentmail/handlers.ts +21 -11
- package/src/apps/definition.ts +16 -0
- package/src/azure-devops/api.ts +52 -2
- package/src/azure-devops/boards-sync.ts +50 -20
- package/src/azure-devops/index.ts +1 -0
- package/src/azure-devops/outbound.ts +95 -0
- package/src/be/boot-seeds.ts +11 -0
- package/src/be/db/model-profiles.ts +315 -0
- package/src/be/db/tasks/read.ts +7 -0
- package/src/be/db.ts +53 -47
- package/src/be/migrations/219_relabel_pi_context_compactions.sql +22 -0
- package/src/be/migrations/220_model_profiles.sql +137 -0
- package/src/be/model-tier-resolution.ts +145 -11
- package/src/be/model-validation.ts +8 -1
- package/src/be/scripts/typecheck.ts +12 -0
- package/src/be/secret-registry.ts +6 -2
- package/src/be/seed-model-profiles.ts +41 -0
- package/src/be/seed-scripts/catalog/heartbeat-jev-gate.ts +368 -0
- package/src/be/seed-scripts/index.ts +9 -0
- package/src/be/swarm-config-guard.ts +1 -0
- package/src/commands/runner.ts +3 -17
- package/src/extensions/catalog.generated.json +17 -0
- package/src/extensions/contract-types.generated.ts +1 -1
- package/src/extensions/loader.ts +10 -5
- package/src/heartbeat/heartbeat.ts +2 -1
- package/src/http/agents.ts +49 -2
- package/src/http/all-routes.ts +1 -0
- package/src/http/apps.ts +30 -3
- package/src/http/config.ts +26 -2
- package/src/http/core.ts +4 -0
- package/src/http/index.ts +11 -1
- package/src/http/model-profiles.ts +303 -0
- package/src/http/pages-public.ts +11 -5
- package/src/http/poll.ts +16 -5
- package/src/http/script-runs.ts +1 -1
- package/src/http/scripts.ts +25 -2
- package/src/http/tasks.ts +18 -0
- package/src/http/webhooks.ts +1 -2
- package/src/pages/feedback-overlay.ts +65 -6
- package/src/providers/acp-targets.ts +1 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/dsh-adapter.ts +1 -1
- package/src/providers/pi-mono-extension.ts +17 -3
- package/src/providers/reasoning-effort.ts +10 -0
- package/src/rbac/legacy-policy.ts +8 -0
- package/src/rbac/permissions.ts +5 -0
- package/src/scheduler/deferred-task-waits.ts +18 -5
- package/src/scheduler/scheduler.ts +7 -1
- package/src/scripts-runtime/executors/quickjs-prelude.ts +75 -6
- package/src/scripts-runtime/executors/quickjs-runner.ts +85 -8
- package/src/scripts-runtime/executors/quickjs-web-shims.ts +1041 -0
- package/src/scripts-runtime/extract-args-schema.ts +9 -8
- package/src/scripts-runtime/quickjs-compat.ts +464 -0
- package/src/scripts-runtime/sdk-allowlist.ts +4 -0
- package/src/scripts-runtime/types/stdlib.d.ts +12 -0
- package/src/scripts-runtime/types/swarm-extension.d.ts +3 -0
- package/src/scripts-runtime/types/swarm-sdk.d.ts +12 -0
- package/src/server.ts +10 -1
- package/src/slack/blocks.ts +4 -2
- package/src/slack/reaction-shortcode.ts +14 -0
- package/src/slack/render-v2.ts +12 -7
- package/src/slack/responses.ts +5 -4
- package/src/slack/thread-buffer.ts +41 -22
- package/src/tasks/worker-follow-up.ts +11 -2
- package/src/tests/agentmail-filters.test.ts +47 -0
- package/src/tests/apps-spike2.test.ts +35 -0
- package/src/tests/azure-devops-outbound.test.ts +420 -0
- package/src/tests/db-task-read-contract.test.ts +2 -0
- package/src/tests/db-task-write-contract.test.ts +1 -0
- package/src/tests/deferred-task-wake.test.ts +78 -1
- package/src/tests/docs-index-footprint.test.js +2 -2
- package/src/tests/dsh-adapter.test.ts +1 -1
- package/src/tests/env-flag.test.ts +1 -0
- package/src/tests/extensions-catalog.test.ts +1 -0
- package/src/tests/extensions-example-comms-adherence-gate.test.ts +413 -0
- package/src/tests/extensions-loader.test.ts +15 -0
- package/src/tests/heartbeat-jev-gate-credentials.test.ts +168 -0
- package/src/tests/heartbeat-jev-gate.test.ts +385 -0
- package/src/tests/model-profile-backcompat.test.ts +327 -0
- package/src/tests/model-profile-providers.test.ts +302 -0
- package/src/tests/model-profile-runtime-secrets.test.ts +223 -0
- package/src/tests/model-profiles-api.test.ts +614 -0
- package/src/tests/pages-feedback-keys.test.ts +121 -0
- package/src/tests/pages-feedback.test.ts +3 -0
- package/src/tests/pi-context-compaction.test.ts +193 -0
- package/src/tests/profile-claim.test.ts +269 -0
- package/src/tests/quickjs-compat.test.ts +213 -0
- package/src/tests/rbac-engine.test.ts +21 -0
- package/src/tests/script-connections.test.ts +4 -0
- package/src/tests/script-executor-conformance.test.ts +252 -1
- package/src/tests/script-executor-quickjs.test.ts +96 -0
- package/src/tests/script-runs-http.test.ts +89 -0
- package/src/tests/scripts-http.test.ts +16 -0
- package/src/tests/secret-scrubber.test.ts +10 -0
- package/src/tests/seed-model-profiles.test.ts +174 -0
- package/src/tests/seed-scripts.test.ts +2 -2
- package/src/tests/skill-invocations.test.ts +4 -2
- package/src/tests/slack-blocks.test.ts +36 -0
- package/src/tests/slack-inline-output.test.ts +14 -0
- package/src/tests/slack-reaction-config.test.ts +20 -0
- package/src/tests/slack-render-v2.test.ts +37 -0
- package/src/tests/slack-thread-buffer.test.ts +98 -1
- package/src/tests/workflow-llm.test.ts +61 -0
- package/src/tools/model-profiles/list-model-profiles.ts +54 -0
- package/src/tools/request-human-input.ts +11 -3
- package/src/tools/script-apis.ts +5 -1
- package/src/tools/script-upsert.ts +4 -1
- package/src/tools/send-task.ts +24 -1
- package/src/tools/system-one-decide.ts +104 -0
- package/src/tools/task-action.ts +22 -1
- package/src/tools/tool-config.ts +6 -0
- package/src/types.ts +36 -1
- package/src/utils/secret-scrubber.ts +19 -12
- package/src/utils/vcs-repo-match.ts +29 -0
- package/src/workflows/executors/raw-llm.ts +8 -3
- package/src/workflows/executors/system-one-decision.ts +21 -11
- package/src/workflows/executors/workflow-llm.ts +22 -0
- package/src/workflows/index.ts +21 -12
- package/templates/extensions/README.md +1 -0
- package/templates/extensions/comms-adherence-gate/README.md +88 -0
- package/templates/extensions/comms-adherence-gate/hooks.ts +489 -0
- package/templates/extensions/comms-adherence-gate/manifest.json +8 -0
- package/dist/cli-5t4f29ez.js +0 -33
|
@@ -13,13 +13,14 @@ import {
|
|
|
13
13
|
} from "./cli-wmgrkscj.js";
|
|
14
14
|
import {
|
|
15
15
|
getChannelBlockReason
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-r610p9bs.js";
|
|
17
17
|
import {
|
|
18
18
|
SLACK_REACTION_CONFIG_KEYS,
|
|
19
19
|
SLACK_REACTION_DEFAULTS,
|
|
20
20
|
abandonSlackOutcomeDelivery,
|
|
21
21
|
bindSlackMessageTimestamp,
|
|
22
22
|
checkDependencies,
|
|
23
|
+
completedStatusIcon,
|
|
23
24
|
createLogEntry,
|
|
24
25
|
deleteSlackMessageRecord,
|
|
25
26
|
emitBuiltInIntegrationConnectedOnce,
|
|
@@ -62,15 +63,15 @@ import {
|
|
|
62
63
|
setSlackMessageTracking,
|
|
63
64
|
slackContextKey,
|
|
64
65
|
updateSlackMessageRecord
|
|
65
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-y3167wt1.js";
|
|
66
67
|
import {
|
|
67
68
|
init_types,
|
|
68
69
|
isTerminalTaskStatus
|
|
69
|
-
} from "./cli-
|
|
70
|
+
} from "./cli-pe05f8yk.js";
|
|
70
71
|
import {
|
|
71
72
|
init_task_attachment_links,
|
|
72
73
|
taskAttachmentDisplayUrl
|
|
73
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-78vv7446.js";
|
|
74
75
|
import {
|
|
75
76
|
getSlackConfiguration,
|
|
76
77
|
init_config
|
|
@@ -101,7 +102,7 @@ import {
|
|
|
101
102
|
init_secret_scrubber,
|
|
102
103
|
scrubObject,
|
|
103
104
|
scrubSecrets
|
|
104
|
-
} from "./cli-
|
|
105
|
+
} from "./cli-shk7r5cs.js";
|
|
105
106
|
import {
|
|
106
107
|
__commonJS,
|
|
107
108
|
__require,
|
|
@@ -6597,7 +6598,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
6597
6598
|
return;
|
|
6598
6599
|
initialized = true;
|
|
6599
6600
|
try {
|
|
6600
|
-
const impl = await import("./otel-impl-
|
|
6601
|
+
const impl = await import("./otel-impl-zvqcbhp7.js");
|
|
6601
6602
|
await impl.boot(serviceRole, {
|
|
6602
6603
|
exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
|
|
6603
6604
|
});
|
|
@@ -7007,6 +7008,7 @@ init_db();
|
|
|
7007
7008
|
// src/slack/blocks.ts
|
|
7008
7009
|
init_constants();
|
|
7009
7010
|
init_task_attachment_links();
|
|
7011
|
+
init_reaction_shortcode();
|
|
7010
7012
|
var MAX_SECTION_LENGTH = 2900;
|
|
7011
7013
|
var MAX_BLOCKS_PER_COMPLETION_MESSAGE = 45;
|
|
7012
7014
|
function getTaskLink(taskId) {
|
|
@@ -7144,7 +7146,7 @@ function formatDuration(start, end) {
|
|
|
7144
7146
|
}
|
|
7145
7147
|
function buildCompletedBlocks(opts) {
|
|
7146
7148
|
const taskLink = getTaskLink(opts.taskId);
|
|
7147
|
-
let line =
|
|
7149
|
+
let line = `${completedStatusIcon()} *${opts.agentName}* (${taskLink})`;
|
|
7148
7150
|
if (opts.duration)
|
|
7149
7151
|
line += ` · ${opts.duration}`;
|
|
7150
7152
|
const blocks = [sectionBlock(line)];
|
|
@@ -7241,7 +7243,7 @@ function isTreeOutputTruncated(text) {
|
|
|
7241
7243
|
return truncateOutput(text).truncated;
|
|
7242
7244
|
}
|
|
7243
7245
|
function renderNodeLine(node) {
|
|
7244
|
-
const icon = STATUS_ICON[node.status] ?? "•";
|
|
7246
|
+
const icon = node.status === "completed" ? completedStatusIcon() : STATUS_ICON[node.status] ?? "•";
|
|
7245
7247
|
const taskLink = getTaskLink(node.taskId);
|
|
7246
7248
|
let line = `${icon} *${node.agentName}* (${taskLink})`;
|
|
7247
7249
|
if (node.duration)
|
|
@@ -7345,6 +7347,7 @@ function buildTreeBlocks(roots) {
|
|
|
7345
7347
|
|
|
7346
7348
|
// src/slack/responses.ts
|
|
7347
7349
|
init_db();
|
|
7350
|
+
init_reaction_shortcode();
|
|
7348
7351
|
|
|
7349
7352
|
// src/slack/task-attachments.ts
|
|
7350
7353
|
init_db();
|
|
@@ -7408,7 +7411,7 @@ function shouldPostInlineCompletionOutput(task) {
|
|
|
7408
7411
|
return !!output && isTreeOutputTruncated(markdownToSlack(output));
|
|
7409
7412
|
}
|
|
7410
7413
|
function formatInlineCompletionOutputChunks(opts) {
|
|
7411
|
-
const header =
|
|
7414
|
+
const header = `${completedStatusIcon()} *${opts.agentName}* completed with output (${getTaskLink(opts.taskId)}):
|
|
7412
7415
|
|
|
7413
7416
|
`;
|
|
7414
7417
|
const slackOutput = markdownToSlack(opts.output.trim());
|
|
@@ -7490,7 +7493,7 @@ async function sendTaskResponse(task) {
|
|
|
7490
7493
|
await sendWithPersona(client, {
|
|
7491
7494
|
channel: task.slackChannelId,
|
|
7492
7495
|
thread_ts: task.slackThreadTs,
|
|
7493
|
-
text: task.slackReplySent || i > 0 ?
|
|
7496
|
+
text: task.slackReplySent || i > 0 ? `${completedStatusIcon()} ${agentName} completed${i > 0 ? ` (continued ${i + 1}/${blockBatches.length})` : ""}` : body,
|
|
7494
7497
|
username: getAgentDisplayName(agent),
|
|
7495
7498
|
icon_emoji: getAgentEmoji(agent),
|
|
7496
7499
|
blocks: blockBatches[i]
|
|
@@ -7606,7 +7609,7 @@ async function updateToFinal(task, messageTs) {
|
|
|
7606
7609
|
};
|
|
7607
7610
|
completionBlockBatches = buildCompletedBlockBatches(completionOpts);
|
|
7608
7611
|
blocks = completionBlockBatches[0] ?? buildCompletedBlocks(completionOpts);
|
|
7609
|
-
text = task.slackReplySent ?
|
|
7612
|
+
text = task.slackReplySent ? `${completedStatusIcon()} ${agentName} completed` : body;
|
|
7610
7613
|
} else if (task.status === "cancelled") {
|
|
7611
7614
|
blocks = buildCancelledBlocks({ agentName, taskId: task.id });
|
|
7612
7615
|
text = "Task cancelled";
|
|
@@ -7630,7 +7633,7 @@ async function updateToFinal(task, messageTs) {
|
|
|
7630
7633
|
await sendWithPersona(app.client, {
|
|
7631
7634
|
channel: task.slackChannelId,
|
|
7632
7635
|
thread_ts: task.slackThreadTs ?? messageTs,
|
|
7633
|
-
text:
|
|
7636
|
+
text: `${completedStatusIcon()} ${agentName} completed (continued ${i + 1}/${completionBlockBatches.length})`,
|
|
7634
7637
|
username: getAgentDisplayName(agent),
|
|
7635
7638
|
icon_emoji: getAgentEmoji(agent),
|
|
7636
7639
|
blocks: completionBlockBatches[i]
|
|
@@ -8342,17 +8345,17 @@ async function initSlackApp() {
|
|
|
8342
8345
|
});
|
|
8343
8346
|
initialized2 = true;
|
|
8344
8347
|
app.use(slackInboundOutcomeMiddleware());
|
|
8345
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
8346
|
-
const { registerCommandHandler } = await import("./commands-
|
|
8347
|
-
const { registerActionHandlers } = await import("./actions-
|
|
8348
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
8348
|
+
const { registerMessageHandler } = await import("./handlers-kqftvjgw.js");
|
|
8349
|
+
const { registerCommandHandler } = await import("./commands-2a9rtyat.js");
|
|
8350
|
+
const { registerActionHandlers } = await import("./actions-eh4g6w2r.js");
|
|
8351
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-6k0ywz3m.js");
|
|
8349
8352
|
registerMessageHandler(app);
|
|
8350
8353
|
registerCommandHandler(app);
|
|
8351
8354
|
registerActionHandlers(app);
|
|
8352
8355
|
registerWorkObjectHandlers(app);
|
|
8353
|
-
const { createAssistant } = await import("./assistant-
|
|
8356
|
+
const { createAssistant } = await import("./assistant-wswt2y7p.js");
|
|
8354
8357
|
app.assistant(createAssistant());
|
|
8355
|
-
const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-
|
|
8358
|
+
const { isBlockExternalEnabled, scanExternalChannelsOnBoot } = await import("./external-channel-zrkg8ar9.js");
|
|
8356
8359
|
if (isBlockExternalEnabled()) {
|
|
8357
8360
|
scanExternalChannelsOnBoot(app.client).catch((error) => {
|
|
8358
8361
|
console.error("[Slack] External channel boot scan failed:", error);
|
|
@@ -8365,7 +8368,7 @@ async function startSlackApp() {
|
|
|
8365
8368
|
await initSlackApp();
|
|
8366
8369
|
}
|
|
8367
8370
|
if (app) {
|
|
8368
|
-
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-
|
|
8371
|
+
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-wz73bs25.js");
|
|
8369
8372
|
if (isSlackRenderV2Enabled2())
|
|
8370
8373
|
await ensureSlackRenderV2Activation();
|
|
8371
8374
|
await app.start();
|
|
@@ -9042,7 +9045,7 @@ async function taskStateGlyph(task, now, threadTasks = []) {
|
|
|
9042
9045
|
case "paused":
|
|
9043
9046
|
return "⏸️";
|
|
9044
9047
|
case "completed":
|
|
9045
|
-
return
|
|
9048
|
+
return completedStatusIcon();
|
|
9046
9049
|
case "failed":
|
|
9047
9050
|
return "❌";
|
|
9048
9051
|
case "cancelled":
|
|
@@ -9151,7 +9154,7 @@ function threadHeaderText(tasks, now, duration) {
|
|
|
9151
9154
|
if (tasks.some((task) => isAwaitingWake(task, tasks)))
|
|
9152
9155
|
return `\uD83E\uDDF5 ⏳ waiting — ${duration}`;
|
|
9153
9156
|
const hasFailure = tasks.some((task) => task.status === "failed");
|
|
9154
|
-
return hasFailure ? `\uD83E\uDDF5 ❌ done with failures — ${duration}` : `\uD83E\uDDF5
|
|
9157
|
+
return hasFailure ? `\uD83E\uDDF5 ❌ done with failures — ${duration}` : `\uD83E\uDDF5 ${completedStatusIcon()} done — ${duration}`;
|
|
9155
9158
|
}
|
|
9156
9159
|
async function renderThreadTree(tasks, _outcomeLinks = new Map, now = new Date, _triggerLinks = new Map) {
|
|
9157
9160
|
if (tasks.length === 0)
|
|
@@ -9470,12 +9473,12 @@ async function outcomeContent(task, slackReplySent) {
|
|
|
9470
9473
|
const isDeferred = isDeferredTask(task);
|
|
9471
9474
|
if (slackReplySent && task.status === "completed" && !isDeferred) {
|
|
9472
9475
|
const agentName = task.agentId ? (await getAgentById(task.agentId))?.name ?? "Agent" : "Agent";
|
|
9473
|
-
return
|
|
9476
|
+
return `${completedStatusIcon()} ${agentName} completed`;
|
|
9474
9477
|
}
|
|
9475
9478
|
if (isDeferred) {
|
|
9476
9479
|
return withStatusLead("⏳", outcomeText(slackTaskOutput(task), "Deferred."));
|
|
9477
9480
|
}
|
|
9478
|
-
return withStatusLead(
|
|
9481
|
+
return withStatusLead(completedStatusIcon(), outcomeText(slackTaskOutput(task), "Task completed."));
|
|
9479
9482
|
}
|
|
9480
9483
|
async function agentDisplayNameFor(task) {
|
|
9481
9484
|
return task.agentId ? (await getAgentById(task.agentId))?.name ?? "Agent" : "Agent";
|
|
@@ -9486,12 +9489,12 @@ async function childOutcomeContent(task, slackReplySent) {
|
|
|
9486
9489
|
return withStatusLead(`↳ ❌ ${agentName} — failed:`, outcomeText(task.failureReason, "Task failed."));
|
|
9487
9490
|
}
|
|
9488
9491
|
if (slackReplySent && !isDeferredTask(task)) {
|
|
9489
|
-
return `↳
|
|
9492
|
+
return `↳ ${completedStatusIcon()} ${agentName} completed`;
|
|
9490
9493
|
}
|
|
9491
9494
|
if (isDeferredTask(task)) {
|
|
9492
9495
|
return withStatusLead(`↳ ⏳ ${agentName} — deferred:`, outcomeText(slackTaskOutput(task), "Deferred."));
|
|
9493
9496
|
}
|
|
9494
|
-
return withStatusLead(`↳
|
|
9497
|
+
return withStatusLead(`↳ ${completedStatusIcon()} ${agentName} — result:`, outcomeText(slackTaskOutput(task), "Task completed."));
|
|
9495
9498
|
}
|
|
9496
9499
|
async function isSlackContinuation(task) {
|
|
9497
9500
|
return task.source === "schedule" && task.taskType === "deferred" && !!task.slackChannelId && !!task.slackThreadTs && !!task.agentId && !!(await getAgentById(task.agentId))?.isLead;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PermissionVerbSchema,
|
|
3
3
|
init_rbac
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-sksetb2q.js";
|
|
5
5
|
import {
|
|
6
6
|
getDb,
|
|
7
7
|
getDbClient,
|
|
8
8
|
init_db1 as init_db
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-y3167wt1.js";
|
|
10
10
|
import {
|
|
11
11
|
init_env_flag,
|
|
12
12
|
isEnvFlagEnabled
|
|
@@ -202,9 +202,9 @@ function ReadableStreamFrom(iterable) {
|
|
|
202
202
|
}
|
|
203
203
|
});
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function readableStreamIterator(stream) {
|
|
206
206
|
if (stream[Symbol.asyncIterator])
|
|
207
|
-
return stream;
|
|
207
|
+
return stream[Symbol.asyncIterator]();
|
|
208
208
|
const reader = stream.getReader();
|
|
209
209
|
return {
|
|
210
210
|
async next() {
|
|
@@ -223,12 +223,25 @@ function ReadableStreamToAsyncIterable(stream) {
|
|
|
223
223
|
reader.releaseLock();
|
|
224
224
|
await cancelPromise;
|
|
225
225
|
return { done: true, value: undefined };
|
|
226
|
-
},
|
|
227
|
-
[Symbol.asyncIterator]() {
|
|
228
|
-
return this;
|
|
229
226
|
}
|
|
230
227
|
};
|
|
231
228
|
}
|
|
229
|
+
var droppedReaders = typeof FinalizationRegistry === "undefined" ? undefined : /* @__PURE__ */ new FinalizationRegistry(async (iter) => {
|
|
230
|
+
try {
|
|
231
|
+
await iter.return?.();
|
|
232
|
+
} catch {}
|
|
233
|
+
});
|
|
234
|
+
async function* ReadableStreamToAsyncIterable(stream) {
|
|
235
|
+
const iter = readableStreamIterator(stream);
|
|
236
|
+
const reader = {};
|
|
237
|
+
droppedReaders?.register(reader, iter, reader);
|
|
238
|
+
try {
|
|
239
|
+
for await (const chunk of { [Symbol.asyncIterator]: () => iter })
|
|
240
|
+
yield chunk;
|
|
241
|
+
} finally {
|
|
242
|
+
droppedReaders?.unregister(reader);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
232
245
|
async function CancelReadableStream(stream) {
|
|
233
246
|
if (stream === null || typeof stream !== "object")
|
|
234
247
|
return;
|
|
@@ -1299,7 +1312,7 @@ var sleep = (ms, signal) => new Promise((resolve) => {
|
|
|
1299
1312
|
});
|
|
1300
1313
|
|
|
1301
1314
|
// node_modules/@anthropic-ai/sdk/version.mjs
|
|
1302
|
-
var VERSION = "0.
|
|
1315
|
+
var VERSION = "0.135.0";
|
|
1303
1316
|
|
|
1304
1317
|
// node_modules/@anthropic-ai/sdk/internal/detect-platform.mjs
|
|
1305
1318
|
var isRunningInBrowser = () => {
|
|
@@ -4579,22 +4592,21 @@ var MessageStream = /* @__PURE__ */ (() => {
|
|
|
4579
4592
|
})();
|
|
4580
4593
|
|
|
4581
4594
|
// node_modules/@anthropic-ai/sdk/internal/decoders/jsonl.mjs
|
|
4582
|
-
var _JSONLDecoder_consumed;
|
|
4583
4595
|
var JSONLDecoder = /* @__PURE__ */ (() => {
|
|
4584
|
-
|
|
4585
4596
|
class JSONLDecoder2 {
|
|
4586
|
-
constructor(iterator, controller) {
|
|
4597
|
+
constructor(iterator, controller, response) {
|
|
4587
4598
|
this.iterator = iterator;
|
|
4588
|
-
|
|
4599
|
+
this.response = response;
|
|
4589
4600
|
this.controller = controller;
|
|
4590
4601
|
}
|
|
4591
4602
|
async* decoder() {
|
|
4592
|
-
|
|
4603
|
+
const iterator = this.iterator;
|
|
4604
|
+
if (!iterator) {
|
|
4593
4605
|
throw new AnthropicError("Cannot iterate over a consumed stream.");
|
|
4594
4606
|
}
|
|
4595
|
-
|
|
4607
|
+
this.iterator = undefined;
|
|
4596
4608
|
const lineDecoder = new LineDecoder;
|
|
4597
|
-
for await (const chunk of
|
|
4609
|
+
for await (const chunk of iterator) {
|
|
4598
4610
|
for (const line of lineDecoder.decode(chunk)) {
|
|
4599
4611
|
yield JSON.parse(line);
|
|
4600
4612
|
}
|
|
@@ -4603,7 +4615,7 @@ var JSONLDecoder = /* @__PURE__ */ (() => {
|
|
|
4603
4615
|
yield JSON.parse(line);
|
|
4604
4616
|
}
|
|
4605
4617
|
}
|
|
4606
|
-
[
|
|
4618
|
+
[Symbol.asyncIterator]() {
|
|
4607
4619
|
return this.decoder();
|
|
4608
4620
|
}
|
|
4609
4621
|
static fromResponse(response, controller) {
|
|
@@ -4614,7 +4626,7 @@ var JSONLDecoder = /* @__PURE__ */ (() => {
|
|
|
4614
4626
|
}
|
|
4615
4627
|
throw new AnthropicError(`Attempted to iterate over a response with no body`);
|
|
4616
4628
|
}
|
|
4617
|
-
return new JSONLDecoder2(ReadableStreamToAsyncIterable(response.body), controller);
|
|
4629
|
+
return new JSONLDecoder2(ReadableStreamToAsyncIterable(response.body), controller, response);
|
|
4618
4630
|
}
|
|
4619
4631
|
}
|
|
4620
4632
|
return JSONLDecoder2;
|
|
@@ -6560,7 +6572,7 @@ var EnvironmentWorker = /* @__PURE__ */ (() => {
|
|
|
6560
6572
|
const ctrl = new AbortController;
|
|
6561
6573
|
const detachExternal = linkAbort(externalSignal, ctrl);
|
|
6562
6574
|
const lease = new Lease(ctrl);
|
|
6563
|
-
const agentToolset = await import("./node-
|
|
6575
|
+
const agentToolset = await import("./node-mwb5r697.js");
|
|
6564
6576
|
let leaseTtlMs;
|
|
6565
6577
|
let runner;
|
|
6566
6578
|
const heartbeatPromise = heartbeatLoop(sessionClient, work, lease, log, this.requestOptions, (ttlMs) => {
|
|
@@ -14,11 +14,11 @@ async function createRuntimeProvider(kind, target = {}) {
|
|
|
14
14
|
return new StaticRuntimeProvider;
|
|
15
15
|
}
|
|
16
16
|
case "docker": {
|
|
17
|
-
const { DockerRuntimeProvider } = await import("./docker-
|
|
17
|
+
const { DockerRuntimeProvider } = await import("./docker-b1e4cqab.js");
|
|
18
18
|
return new DockerRuntimeProvider;
|
|
19
19
|
}
|
|
20
20
|
case "e2b": {
|
|
21
|
-
const { E2BRuntimeProvider } = await import("./e2b-
|
|
21
|
+
const { E2BRuntimeProvider } = await import("./e2b-bbt8ey45.js");
|
|
22
22
|
return new E2BRuntimeProvider(target);
|
|
23
23
|
}
|
|
24
24
|
case "k8s":
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./cli-hp1n6zq3.js";
|
|
16
16
|
import {
|
|
17
17
|
Anthropic
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-gxzkg1de.js";
|
|
19
19
|
import {
|
|
20
20
|
init_runtime_model_catalog,
|
|
21
21
|
runtimeCatalogModel
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
init_secret_scrubber,
|
|
25
25
|
scrubSecrets
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-shk7r5cs.js";
|
|
27
27
|
import {
|
|
28
28
|
init_src
|
|
29
29
|
} from "./cli-e3g5mbkz.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createRuntimeProvider,
|
|
3
3
|
init_runtime_providers
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-j67mh2vg.js";
|
|
5
5
|
import {
|
|
6
6
|
createAgent,
|
|
7
7
|
decryptSecret,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
upsertSwarmConfig,
|
|
23
23
|
validateControllerTokenTtlDays,
|
|
24
24
|
validateRuntimeTokenTtlHours
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-y3167wt1.js";
|
|
26
26
|
import {
|
|
27
27
|
RuntimeControllerCreateSchema,
|
|
28
28
|
RuntimeControllerUpdateSchema,
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
RuntimePoolCreateSchema,
|
|
31
31
|
RuntimePoolUpdateSchema,
|
|
32
32
|
init_types
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-pe05f8yk.js";
|
|
34
34
|
import {
|
|
35
35
|
init_secret_scrubber,
|
|
36
36
|
registerVolatileSecret,
|
|
37
37
|
scrubSecrets,
|
|
38
38
|
unregisterVolatileSecret
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-shk7r5cs.js";
|
|
40
40
|
import {
|
|
41
41
|
__esm
|
|
42
42
|
} from "./cli-bc05qbss.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
renderGoalReminder,
|
|
10
10
|
summarizeTranscript,
|
|
11
11
|
syncIdentityFilesToServer
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-2pwa0q4d.js";
|
|
13
13
|
import {
|
|
14
14
|
fetchInstalledMcpServers
|
|
15
15
|
} from "./cli-tng3131n.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./cli-w1q7h2r2.js";
|
|
27
27
|
import {
|
|
28
28
|
applyReasoningEffort
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-0veb92a3.js";
|
|
30
30
|
import {
|
|
31
31
|
swarmRuntimeInstanceId
|
|
32
32
|
} from "./cli-re8z5p8p.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
openAICompatibleKeyLabels,
|
|
36
36
|
splitCredentialPool,
|
|
37
37
|
validateOpencodeCredentials
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-x1r545x8.js";
|
|
39
39
|
import {
|
|
40
40
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
41
41
|
getOpenRouterAttributionHeaders,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
init_secret_scrubber,
|
|
51
51
|
registerVolatileSecret,
|
|
52
52
|
scrubSecrets
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-shk7r5cs.js";
|
|
54
54
|
import {
|
|
55
55
|
baseUrlOverride,
|
|
56
56
|
ignoredBaseUrlVar,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RuntimeProviderKindSchema,
|
|
3
3
|
init_types
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-pe05f8yk.js";
|
|
5
5
|
import {
|
|
6
6
|
init_zod
|
|
7
7
|
} from "./cli-sd0mxa3c.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
init_secret_scrubber,
|
|
13
13
|
scrubSecrets
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-shk7r5cs.js";
|
|
15
15
|
|
|
16
16
|
// src/runtime-providers/controller.ts
|
|
17
17
|
init_secret_scrubber();
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
resolveValidationPort,
|
|
9
9
|
systemOneRetryViolations,
|
|
10
10
|
systemOneUnresolvedError
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-20krdhz5.js";
|
|
12
12
|
import {
|
|
13
13
|
WorkflowReplayStateError,
|
|
14
14
|
cancelPendingApprovalRequestsForRun,
|
|
@@ -51,11 +51,11 @@ import {
|
|
|
51
51
|
telemetry,
|
|
52
52
|
updateWorkflowRun,
|
|
53
53
|
updateWorkflowRunStep
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-y3167wt1.js";
|
|
55
55
|
import {
|
|
56
56
|
RetryPolicySchema,
|
|
57
57
|
init_types
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-pe05f8yk.js";
|
|
59
59
|
import {
|
|
60
60
|
getSlackConfiguration,
|
|
61
61
|
init_config,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
import {
|
|
75
75
|
init_event_bus,
|
|
76
76
|
workflowEventBus
|
|
77
|
-
} from "./cli-
|
|
77
|
+
} from "./cli-z780ec7c.js";
|
|
78
78
|
import {
|
|
79
79
|
getAppUrl,
|
|
80
80
|
init_constants
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
init_secret_scrubber,
|
|
88
88
|
isSensitiveKey,
|
|
89
89
|
scrubSecrets
|
|
90
|
-
} from "./cli-
|
|
90
|
+
} from "./cli-shk7r5cs.js";
|
|
91
91
|
import {
|
|
92
92
|
__require
|
|
93
93
|
} from "./cli-bc05qbss.js";
|
|
@@ -317,7 +317,7 @@ async function notifyAutomationPreflightFailure(preflight) {
|
|
|
317
317
|
return;
|
|
318
318
|
}
|
|
319
319
|
try {
|
|
320
|
-
const { getSlackApp } = await import("./app-
|
|
320
|
+
const { getSlackApp } = await import("./app-7k8s9w5p.js");
|
|
321
321
|
const app = getSlackApp();
|
|
322
322
|
if (!app) {
|
|
323
323
|
console.warn("[Automation Preflight] Slack not available, cannot send notification");
|
|
@@ -1458,7 +1458,7 @@ async function runClaimedStep(def, runId, ctx, node, registry, existingStep, ste
|
|
|
1458
1458
|
if ("async" in result && result.async) {
|
|
1459
1459
|
const waiting = await checkpointStepWaiting(runId, stepId, ctx);
|
|
1460
1460
|
if (waiting && result.waitFor === "workflow.child.finished") {
|
|
1461
|
-
const { resumeFromChildRun } = await import("./resume-
|
|
1461
|
+
const { resumeFromChildRun } = await import("./resume-k4wzge8w.js");
|
|
1462
1462
|
await resumeFromChildRun(stepId, registry);
|
|
1463
1463
|
}
|
|
1464
1464
|
return { outcome: waiting ? "waiting" : "completed", successors: [] };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runStopHookSessionSummarySubprocess
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-p3zbc1rw.js";
|
|
4
4
|
import {
|
|
5
5
|
fetchInstalledMcpServers
|
|
6
6
|
} from "./cli-tng3131n.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./cli-2pdaysab.js";
|
|
33
33
|
import {
|
|
34
34
|
applyReasoningEffort
|
|
35
|
-
} from "./cli-
|
|
35
|
+
} from "./cli-0veb92a3.js";
|
|
36
36
|
import {
|
|
37
37
|
require_src
|
|
38
38
|
} from "./cli-knd276ed.js";
|
|
@@ -47,12 +47,12 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
init_file_lock,
|
|
49
49
|
withFileLock
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-78vv7446.js";
|
|
51
51
|
import {
|
|
52
52
|
CLAUDE_CREDENTIALS_HINT,
|
|
53
53
|
init_credentials,
|
|
54
54
|
validateClaudeCredentials
|
|
55
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-x1r545x8.js";
|
|
56
56
|
import {
|
|
57
57
|
deriveDefaultRoute,
|
|
58
58
|
init_src,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
init_secret_scrubber,
|
|
72
72
|
scrubSecrets
|
|
73
|
-
} from "./cli-
|
|
73
|
+
} from "./cli-shk7r5cs.js";
|
|
74
74
|
import {
|
|
75
75
|
__require,
|
|
76
76
|
__toESM
|
|
@@ -1194,7 +1194,7 @@ class ClaudeAdapter {
|
|
|
1194
1194
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
1195
1195
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
1196
1196
|
}
|
|
1197
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
1197
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-q49ghmh9.js") : undefined;
|
|
1198
1198
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
1199
1199
|
...claudeBinaryArgv.slice(1),
|
|
1200
1200
|
...config.additionalArgs ?? []
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
materializeClaudeMd,
|
|
3
3
|
stopClaudeMd
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-sawv63e8.js";
|
|
5
5
|
import {
|
|
6
6
|
guardGhPrBody
|
|
7
7
|
} from "./cli-v6vv7dy8.js";
|
|
8
8
|
import {
|
|
9
9
|
summarizeSession
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-035vekcw.js";
|
|
11
11
|
import {
|
|
12
12
|
checkToolLoop,
|
|
13
13
|
clearToolHistory
|
|
@@ -26,11 +26,11 @@ import {
|
|
|
26
26
|
init_profile_sync,
|
|
27
27
|
readIdentityBaselines,
|
|
28
28
|
warnProfileFileTooLarge
|
|
29
|
-
} from "./cli-
|
|
29
|
+
} from "./cli-78vv7446.js";
|
|
30
30
|
import {
|
|
31
31
|
init_package,
|
|
32
32
|
package_default
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-r35rw5de.js";
|
|
34
34
|
import {
|
|
35
35
|
MAX_PROFILE_FILE_LENGTH,
|
|
36
36
|
getMcpBaseUrl,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
import {
|
|
44
44
|
init_secret_scrubber,
|
|
45
45
|
scrubSecrets
|
|
46
|
-
} from "./cli-
|
|
46
|
+
} from "./cli-shk7r5cs.js";
|
|
47
47
|
|
|
48
48
|
// src/hooks/hook.ts
|
|
49
49
|
init_package();
|