@desplega.ai/agent-swarm 2.4.2 → 2.4.3
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-dv7hmx4r.js → acp-adapter-1885dpr7.js} +4 -4
- package/dist/{actions-51nc1gny.js → actions-pn76n32q.js} +18 -18
- package/dist/{amp-adapter-abp5tdx8.js → amp-adapter-af84rx1d.js} +3 -3
- package/dist/{app-9h14qvr6.js → app-6sv8mhzm.js} +3 -3
- package/dist/{assistant-wv1gz3mt.js → assistant-sc2tf825.js} +20 -20
- package/dist/{boot-reembed-7fcka4z5.js → boot-reembed-gvxjs2py.js} +1 -1
- package/dist/{boot-reembed-6yn53ms9.js → boot-reembed-y3m0ydzj.js} +1 -1
- package/dist/{boot-scrub-sweep-pm1580ax.js → boot-scrub-sweep-1j9mk05f.js} +3 -3
- package/dist/{boot-seeds-g5hfc1x8.js → boot-seeds-37sp626b.js} +4 -4
- package/dist/{claude-adapter-gf3kxhf0.js → claude-adapter-rp0jtnwr.js} +4 -4
- package/dist/{claude-managed-setup-h00hsgtz.js → claude-managed-setup-rdt248k7.js} +1 -1
- package/dist/{claude-sdk-session-s2k1qd8y.js → claude-sdk-session-53rcw5we.js} +9822 -9749
- package/dist/{cli-z4wd2ftv.js → cli-038fga5k.js} +2 -2
- package/dist/{cli-y2x52gs2.js → cli-0dxxwfkt.js} +8 -8
- package/dist/{cli-y8n5k515.js → cli-1012xb7j.js} +28 -28
- package/dist/{cli-sv5gb0yb.js → cli-1eszr343.js} +1 -1
- package/dist/{cli-7225gwj7.js → cli-1m17dc9d.js} +1 -1
- package/dist/{cli-r99kc9yq.js → cli-1ma335fz.js} +3 -3
- package/dist/{cli-faypxz7q.js → cli-1n9gdg56.js} +4 -4
- package/dist/{cli-shvfedvm.js → cli-1xsraagq.js} +2 -2
- package/dist/{cli-xbzvet96.js → cli-36ckw0wx.js} +5 -4
- package/dist/{cli-mhywgrrz.js → cli-4sydckyj.js} +1 -1
- package/dist/{cli-bcj753sq.js → cli-4yef8ghv.js} +3 -3
- package/dist/{cli-g0hgtz4p.js → cli-58vwn100.js} +3 -3
- package/dist/{cli-pw7v69vp.js → cli-625tb7aq.js} +1 -1
- package/dist/{cli-ftyypbg5.js → cli-6aen3ezb.js} +1 -1
- package/dist/{cli-efaqv1c7.js → cli-6eyncg0y.js} +6 -6
- package/dist/{cli-h38rjv87.js → cli-73ezfhha.js} +5 -5
- package/dist/{cli-x5mq1fyq.js → cli-74c1wpm0.js} +3 -3
- package/dist/{cli-b1dfr1m4.js → cli-7a6p4e65.js} +1 -1
- package/dist/{cli-fpmsqq59.js → cli-836ehxmt.js} +1 -1
- package/dist/{cli-1pa3rz69.js → cli-8vverzf7.js} +1 -1
- package/dist/{cli-hyfw2j1e.js → cli-8y99kfey.js} +11 -11
- package/dist/{cli-ahtpy9kf.js → cli-aa3tb29r.js} +10 -5
- package/dist/{cli-fyzjmseb.js → cli-aypbg9r2.js} +1 -1
- package/dist/{cli-0qvtffe9.js → cli-bxrqvpg5.js} +6 -6
- package/dist/{cli-0hyhdkdk.js → cli-cebvbc9t.js} +4 -1
- package/dist/{cli-10hhg0km.js → cli-dm8p2dpf.js} +7 -7
- package/dist/{cli-8sxqsbbq.js → cli-e4d78xsv.js} +1 -1
- package/dist/{cli-7a91w22y.js → cli-e8xyjvfc.js} +1 -1
- package/dist/{cli-8zwe9mpk.js → cli-f0p0f6ja.js} +10 -10
- package/dist/{cli-w9g4sz81.js → cli-gf2850q7.js} +1 -1
- package/dist/{cli-n85dqg6d.js → cli-gx0j2khs.js} +4 -4
- package/dist/{cli-239yjk27.js → cli-h0mgxann.js} +5 -5
- package/dist/{cli-5rk36sjf.js → cli-kgnkyabk.js} +35 -34
- package/dist/{cli-hqhzg1qq.js → cli-mzkwkbdy.js} +1 -1
- package/dist/{cli-saw9a6f6.js → cli-npfe9t1s.js} +2 -2
- package/dist/{cli-t30yj95q.js → cli-p0qerd2r.js} +1 -1
- package/dist/{cli-s6vr7r2d.js → cli-pygdsgh8.js} +1 -1
- package/dist/{cli-2wag8973.js → cli-qeaq3j6t.js} +1 -1
- package/dist/{cli-7awf1fp8.js → cli-qp2m4btv.js} +3 -3
- package/dist/{cli-02qm7src.js → cli-s9rr4gr2.js} +5 -5
- package/dist/{cli-nmqdc2t3.js → cli-sds5zzs8.js} +1 -1
- package/dist/{cli-nn47d7e8.js → cli-tkf4x6ha.js} +15 -15
- package/dist/{cli-pkht5hap.js → cli-v87dr6e3.js} +2 -2
- package/dist/{cli-d3qqdy4c.js → cli-vcgscaan.js} +12 -12
- package/dist/{cli-zfg9enh9.js → cli-vfha21c9.js} +6 -1
- package/dist/{cli-h93c9vb3.js → cli-vq9gqarq.js} +1 -1
- package/dist/{cli-a4gvwttf.js → cli-wk28hzqn.js} +2 -2
- package/dist/{cli-rdyw3mct.js → cli-zvbb4n0e.js} +6 -5
- package/dist/cli.js +16 -16
- package/dist/{codex-adapter-ttygw382.js → codex-adapter-2zrmab9b.js} +2 -2
- package/dist/{codex-hook-x7nejyrr.js → codex-hook-e2he7aca.js} +2 -2
- package/dist/{codex-session-runner-60b58vv3.js → codex-session-runner-kbkz62vc.js} +2 -2
- package/dist/{commands-edmdwa4x.js → commands-hd574th6.js} +3 -3
- package/dist/{controller-m263fg43.js → controller-pz5mcfg4.js} +3 -3
- package/dist/{controllers-connect-5fym8sw1.js → controllers-connect-5rgq2hfk.js} +19 -19
- package/dist/{cursor-adapter-cz6nm6mj.js → cursor-adapter-mgaprq0j.js} +2 -2
- package/dist/{db-nn0hcmx5.js → db-6nf1207q.js} +2 -2
- package/dist/{db-2y0mgstc.js → db-h06dxp05.js} +3 -3
- package/dist/{dispatcher-0a9wwjcx.js → dispatcher-zthpy4m1.js} +17 -17
- package/dist/{dsh-adapter-3n3net33.js → dsh-adapter-64dhw0j7.js} +2 -2
- package/dist/{e2b-thdcxtjd.js → e2b-16d6ch39.js} +1 -1
- package/dist/{e2b-7am6tmq6.js → e2b-zn0b4w5w.js} +1 -1
- package/dist/{external-channel-zhvt95n3.js → external-channel-x01t7ke6.js} +2 -2
- package/dist/{grok-adapter-qnr1hp2y.js → grok-adapter-h21jv594.js} +5 -5
- package/dist/handlers-2qjw434w.js +39 -0
- package/dist/{heartbeat-gz97r7ac.js → heartbeat-zzfksckz.js} +20 -20
- package/dist/{hook-x8rthca4.js → hook-3xfqhh2s.js} +2 -2
- package/dist/{hook-1mmdgjqs.js → hook-z4zhzj1f.js} +10 -5
- package/dist/{http-r8f85xr9.js → http-q813tmya.js} +46 -46
- package/dist/{index-y7rbcrc1.js → index-220tk9bw.js} +9 -9
- package/dist/index-d0g18bax.js +41 -0
- package/dist/{index-vzvfqzfj.js → index-m0a4ydqj.js} +17 -17
- package/dist/{index-aex0eba9.js → index-wbbs14c5.js} +17 -17
- package/dist/{index-smxyk04s.js → index-x8xbyn1t.js} +1 -1
- package/dist/{keepalive-64c0f34c.js → keepalive-y5t1my7m.js} +3 -3
- package/dist/{lead-b1da0f97.js → lead-2xwtq66b.js} +30 -30
- package/dist/{maintenance-mnxpar12.js → maintenance-ybfsaedv.js} +1 -1
- package/dist/{oauth-refresh-sweep-36hs2v4h.js → oauth-refresh-sweep-909jmn12.js} +2 -2
- package/dist/{onboard-xes8de61.js → onboard-xn6fkkys.js} +3 -3
- package/dist/{opencode-adapter-3s7ax02e.js → opencode-adapter-x4tqzhkh.js} +3 -3
- package/dist/{otel-impl-fzc57kcq.js → otel-impl-e6mn0z13.js} +1 -1
- package/dist/{pi-mono-adapter-ytp7gz8b.js → pi-mono-adapter-mcfkn9vf.js} +3 -3
- package/dist/{pricing-refresh-1nek2w7b.js → pricing-refresh-ygd362ep.js} +3 -3
- package/dist/{rbac-roles-ttyfaep2.js → rbac-roles-c9axvfnz.js} +3 -3
- package/dist/{rbac-roles-sqefb5hw.js → rbac-roles-mb470p4e.js} +2 -2
- package/dist/{render-v2-vb527jwn.js → render-v2-g0306nh1.js} +3 -3
- package/dist/{resume-jcdzg1bn.js → resume-v315hnq6.js} +5 -5
- package/dist/{session-access-zsp4wsp0.js → session-access-2zg285a1.js} +4 -4
- package/dist/{setup-1nb2zqd3.js → setup-a4mtf02k.js} +1 -1
- package/dist/{work-objects-61w08fwr.js → work-objects-9fr0fgtn.js} +21 -21
- package/dist/{worker-c1e68hpa.js → worker-qae22jeb.js} +30 -30
- package/openapi.json +1 -1
- package/package.json +2 -2
- package/src/be/db.ts +7 -4
- package/src/be/migrations/231_slack_tasks_last_updated_index.sql +5 -0
- package/src/github/handlers.ts +6 -5
- package/src/hooks/hook.ts +2 -1
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/codex-adapter.ts +4 -4
- package/src/providers/opencode-adapter.ts +2 -2
- package/src/providers/pi-mono-extension.ts +2 -1
- package/src/tests/claude-stop-hook.test.ts +47 -0
- package/src/tests/codex-adapter.test.ts +42 -0
- package/src/tests/env-flag.test.ts +15 -1
- package/src/tests/github-handlers-cancel-config.test.ts +29 -8
- package/src/tests/github-handlers-inline-comments.test.ts +9 -2
- package/src/tests/script-connections.test.ts +2 -0
- package/src/tests/skill-script-refs.test.ts +63 -0
- package/src/tests/slack-render-v2-query-plans.test.ts +147 -0
- package/src/utils/env-flag.ts +9 -0
- package/templates/skills/apps/SKILL.md +1 -0
- package/templates/skills/apps/content.md +1 -0
- package/templates/skills/code-quality/content.md +9 -14
- package/dist/handlers-dkcarkd0.js +0 -39
- package/dist/index-5jecgp3n.js +0 -41
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isMultiRuntimeEnabled
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-e8xyjvfc.js";
|
|
4
4
|
import {
|
|
5
5
|
workflowEventBus2,
|
|
6
6
|
init_event_bus
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
getStaleApprovalRequests2,
|
|
67
67
|
upsertKv2,
|
|
68
68
|
init_db3
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-vcgscaan.js";
|
|
70
70
|
import {
|
|
71
71
|
poolTaskRunsOnHarness,
|
|
72
72
|
isRuntimePoolWakeable,
|
|
@@ -91,29 +91,29 @@ import {
|
|
|
91
91
|
createRerouteDecisionTask,
|
|
92
92
|
createPoolStarvationDecisionTask,
|
|
93
93
|
canClaim
|
|
94
|
-
} from "./cli-
|
|
94
|
+
} from "./cli-kgnkyabk.js";
|
|
95
95
|
import {
|
|
96
96
|
listRuntimePools2,
|
|
97
97
|
init_db
|
|
98
|
-
} from "./cli-
|
|
98
|
+
} from "./cli-gx0j2khs.js";
|
|
99
99
|
import {
|
|
100
100
|
createApprovalFollowUpTask
|
|
101
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-s9rr4gr2.js";
|
|
102
102
|
import {
|
|
103
103
|
remediateStalledRuntime
|
|
104
|
-
} from "./cli-
|
|
104
|
+
} from "./cli-f0p0f6ja.js";
|
|
105
105
|
import {
|
|
106
106
|
runSavedScriptAsAgent
|
|
107
|
-
} from "./cli-
|
|
107
|
+
} from "./cli-73ezfhha.js";
|
|
108
108
|
import {
|
|
109
109
|
mintToken,
|
|
110
110
|
init_users
|
|
111
|
-
} from "./cli-
|
|
111
|
+
} from "./cli-sds5zzs8.js";
|
|
112
112
|
import {
|
|
113
113
|
TERMINAL_TASK_STATUSES,
|
|
114
114
|
SUPERSEDED_WORKFLOW_TASK_REASON,
|
|
115
115
|
init_types
|
|
116
|
-
} from "./cli-
|
|
116
|
+
} from "./cli-836ehxmt.js";
|
|
117
117
|
import {
|
|
118
118
|
registerTemplate,
|
|
119
119
|
init_registry,
|
|
@@ -128,11 +128,11 @@ import {
|
|
|
128
128
|
import {
|
|
129
129
|
init_package,
|
|
130
130
|
package_default
|
|
131
|
-
} from "./cli-
|
|
131
|
+
} from "./cli-1xsraagq.js";
|
|
132
132
|
import {
|
|
133
133
|
isEnvFlagEnabled,
|
|
134
134
|
init_env_flag
|
|
135
|
-
} from "./cli-
|
|
135
|
+
} from "./cli-cebvbc9t.js";
|
|
136
136
|
import {
|
|
137
137
|
scrubSecrets,
|
|
138
138
|
init_secret_scrubber
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
materializeClaudeMd,
|
|
10
10
|
stopClaudeMd
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-1m17dc9d.js";
|
|
12
12
|
import {
|
|
13
13
|
summarizeSession
|
|
14
14
|
} from "./cli-pnp2j5zg.js";
|
|
@@ -27,16 +27,20 @@ import {
|
|
|
27
27
|
warnProfileFileTooLarge,
|
|
28
28
|
buildIndependentIdentityPayloads,
|
|
29
29
|
init_profile_sync
|
|
30
|
-
} from "./cli-
|
|
30
|
+
} from "./cli-74c1wpm0.js";
|
|
31
31
|
import {
|
|
32
32
|
init_package,
|
|
33
33
|
package_default
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-1xsraagq.js";
|
|
35
35
|
import {
|
|
36
36
|
MAX_PROFILE_FILE_LENGTH,
|
|
37
37
|
getMcpBaseUrl,
|
|
38
38
|
init_constants2
|
|
39
|
-
} from "./cli-
|
|
39
|
+
} from "./cli-gf2850q7.js";
|
|
40
|
+
import {
|
|
41
|
+
isSessionSummarySkipped,
|
|
42
|
+
init_env_flag
|
|
43
|
+
} from "./cli-cebvbc9t.js";
|
|
40
44
|
import {
|
|
41
45
|
getApiKey,
|
|
42
46
|
init_api_key
|
|
@@ -51,6 +55,7 @@ init_package();
|
|
|
51
55
|
init_profile_sync();
|
|
52
56
|
init_api_key();
|
|
53
57
|
init_constants2();
|
|
58
|
+
init_env_flag();
|
|
54
59
|
init_secret_scrubber();
|
|
55
60
|
var SERVER_NAME = package_default.config?.name ?? "agent-swarm";
|
|
56
61
|
var SOUL_MD_PATH = "/workspace/SOUL.md";
|
|
@@ -154,7 +159,7 @@ async function resolveStopHookTaskContext(env = process.env) {
|
|
|
154
159
|
}
|
|
155
160
|
async function runStopHookSessionSummary(opts, deps = {}) {
|
|
156
161
|
const env = opts.env ?? process.env;
|
|
157
|
-
if (env
|
|
162
|
+
if (isSessionSummarySkipped(env)) {
|
|
158
163
|
console.debug("session_summary skipped (claude): SKIP_SESSION_SUMMARY is set");
|
|
159
164
|
return;
|
|
160
165
|
}
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
init_steering,
|
|
11
11
|
createLogEntry2,
|
|
12
12
|
init_db3
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-vcgscaan.js";
|
|
14
14
|
import {
|
|
15
15
|
ackSlackMessage,
|
|
16
16
|
buildBufferFlushBlocks,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
ensureSlackThreadTree2,
|
|
21
21
|
registerTreeMessage,
|
|
22
22
|
getSlackApp2
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-tkf4x6ha.js";
|
|
24
24
|
import {
|
|
25
25
|
createAdditiveBuffer,
|
|
26
26
|
TaskCreationBlockedError,
|
|
@@ -30,19 +30,19 @@ import {
|
|
|
30
30
|
createSlackTaskWithFiles,
|
|
31
31
|
notifySlackFileFailures,
|
|
32
32
|
extractSlackMessageText
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-kgnkyabk.js";
|
|
34
34
|
import {
|
|
35
35
|
resolveSlackUserId,
|
|
36
36
|
rewriteSlackMentions
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-4yef8ghv.js";
|
|
38
38
|
import {
|
|
39
39
|
findUserByExternalId,
|
|
40
40
|
init_users
|
|
41
|
-
} from "./cli-
|
|
41
|
+
} from "./cli-sds5zzs8.js";
|
|
42
42
|
import {
|
|
43
43
|
isSteeringEnabled2,
|
|
44
44
|
init_steering_enabled
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-4sydckyj.js";
|
|
46
46
|
import {
|
|
47
47
|
scrubSecrets,
|
|
48
48
|
init_secret_scrubber
|
|
@@ -18,10 +18,13 @@ function parseEnvFlag(raw, defaultValue) {
|
|
|
18
18
|
function isEnvFlagEnabled(key, defaultValue, env = process.env) {
|
|
19
19
|
return parseEnvFlag(env[key], defaultValue);
|
|
20
20
|
}
|
|
21
|
+
function isSessionSummarySkipped(env = process.env) {
|
|
22
|
+
return isEnvFlagEnabled("SKIP_SESSION_SUMMARY", false, env);
|
|
23
|
+
}
|
|
21
24
|
var TRUTHY, FALSY;
|
|
22
25
|
var init_env_flag = __esm(() => {
|
|
23
26
|
TRUTHY = new Set(["true", "1"]);
|
|
24
27
|
FALSY = new Set(["false", "0"]);
|
|
25
28
|
});
|
|
26
29
|
|
|
27
|
-
export { parseEnvFlag, isEnvFlagEnabled, init_env_flag };
|
|
30
|
+
export { parseEnvFlag, isEnvFlagEnabled, isSessionSummarySkipped, init_env_flag };
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getMostRecentTaskInThread2,
|
|
11
11
|
reactionName,
|
|
12
12
|
init_db3
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-vcgscaan.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCreationBlockedError,
|
|
16
16
|
buildEffectiveText,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
extractTaskFromMessage,
|
|
24
24
|
extractSlackMessageText,
|
|
25
25
|
dispatchPre2
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-kgnkyabk.js";
|
|
27
27
|
import {
|
|
28
28
|
noteSlackInboundSideEffect,
|
|
29
29
|
ignoreSlackInbound,
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
isSlackRenderV2Enabled2,
|
|
35
35
|
ensureSlackThreadTree2,
|
|
36
36
|
registerTreeMessage
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-tkf4x6ha.js";
|
|
38
38
|
import {
|
|
39
39
|
isBlockExternalEnabled2,
|
|
40
40
|
invalidateChannelExternality2,
|
|
41
41
|
getChannelBlockReason2,
|
|
42
42
|
shouldBlockChannel2,
|
|
43
43
|
leaveExternalChannel2
|
|
44
|
-
} from "./cli-
|
|
44
|
+
} from "./cli-v87dr6e3.js";
|
|
45
45
|
import {
|
|
46
46
|
workflowEventBus2,
|
|
47
47
|
init_event_bus
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
enrichSlackUserEmail,
|
|
51
51
|
resolveSlackUserId,
|
|
52
52
|
rewriteSlackMentions
|
|
53
|
-
} from "./cli-
|
|
53
|
+
} from "./cli-4yef8ghv.js";
|
|
54
54
|
import {
|
|
55
55
|
wasEventSeen,
|
|
56
56
|
requestSlackThreadSteering,
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
bufferThreadMessage,
|
|
59
59
|
getBufferMessageCount,
|
|
60
60
|
instantFlush
|
|
61
|
-
} from "./cli-
|
|
61
|
+
} from "./cli-bxrqvpg5.js";
|
|
62
62
|
import {
|
|
63
63
|
resolveTemplate,
|
|
64
64
|
init_resolver
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
import {
|
|
76
76
|
isEnvFlagEnabled,
|
|
77
77
|
init_env_flag
|
|
78
|
-
} from "./cli-
|
|
78
|
+
} from "./cli-cebvbc9t.js";
|
|
79
79
|
import {
|
|
80
80
|
scrubSecrets,
|
|
81
81
|
init_secret_scrubber
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CONTROLLER_COMMAND_TIMEOUT_MS,
|
|
5
5
|
RuntimeHandleSchema,
|
|
6
6
|
ControllerStatusResultSchema
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-mzkwkbdy.js";
|
|
8
8
|
import {
|
|
9
9
|
getDbClient2,
|
|
10
10
|
isRuntimePoolsEnabled,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
upsertSwarmConfig2,
|
|
22
22
|
getResolvedConfig2,
|
|
23
23
|
init_db3
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-vcgscaan.js";
|
|
25
25
|
import {
|
|
26
26
|
runtimeStaleThresholdMinutes,
|
|
27
27
|
getRuntimeInstanceById,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
listRuntimeInstancesForPool,
|
|
32
32
|
createWorkerTaskFollowUp,
|
|
33
33
|
canClaim
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-kgnkyabk.js";
|
|
35
35
|
import {
|
|
36
36
|
getRuntimeController2,
|
|
37
37
|
getRuntimeControllerTarget2,
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
getPoolForAgent2,
|
|
43
43
|
resolvePoolDelivery2,
|
|
44
44
|
init_db
|
|
45
|
-
} from "./cli-
|
|
45
|
+
} from "./cli-gx0j2khs.js";
|
|
46
46
|
import {
|
|
47
47
|
workflowEventBus2,
|
|
48
48
|
init_event_bus
|
|
49
49
|
} from "./cli-wt645v7q.js";
|
|
50
50
|
import {
|
|
51
51
|
isMultiRuntimeEnabled
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-e8xyjvfc.js";
|
|
53
53
|
import {
|
|
54
54
|
import_websocket
|
|
55
55
|
} from "./cli-b2mz5mjc.js";
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
canProvisionKind,
|
|
58
58
|
createRuntimeProvider,
|
|
59
59
|
init_runtime_providers
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-625tb7aq.js";
|
|
61
61
|
import {
|
|
62
62
|
mintRuntimeToken,
|
|
63
63
|
init_users
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-sds5zzs8.js";
|
|
65
65
|
import {
|
|
66
66
|
TERMINAL_TASK_STATUSES,
|
|
67
67
|
isTerminalTaskStatus,
|
|
68
68
|
init_types
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-836ehxmt.js";
|
|
70
70
|
import {
|
|
71
71
|
init_zod
|
|
72
72
|
} from "./cli-4chz1hye.js";
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
import {
|
|
83
83
|
resolveWorkerApiUrl,
|
|
84
84
|
init_worker_api_url
|
|
85
|
-
} from "./cli-
|
|
85
|
+
} from "./cli-7a6p4e65.js";
|
|
86
86
|
import {
|
|
87
87
|
buildImageTemplate,
|
|
88
88
|
init_dispatch
|
|
@@ -522,7 +522,7 @@ async function recoverSessions(runtimeId, reason) {
|
|
|
522
522
|
}
|
|
523
523
|
if (!sessions.length)
|
|
524
524
|
return;
|
|
525
|
-
const { remediateTaskForDeadRuntime } = await import("./heartbeat-
|
|
525
|
+
const { remediateTaskForDeadRuntime } = await import("./heartbeat-zzfksckz.js");
|
|
526
526
|
for (const session of sessions) {
|
|
527
527
|
try {
|
|
528
528
|
const task = await getTaskById2(session.taskId);
|
|
@@ -15,17 +15,17 @@ import {
|
|
|
15
15
|
init_secret_registry,
|
|
16
16
|
upsertSwarmConfig2,
|
|
17
17
|
init_db3
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-vcgscaan.js";
|
|
19
19
|
import {
|
|
20
20
|
createRuntimeProvider,
|
|
21
21
|
init_runtime_providers
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-625tb7aq.js";
|
|
23
23
|
import {
|
|
24
24
|
closeSessionTokenConnections,
|
|
25
25
|
init_session_token_connections,
|
|
26
26
|
insertSessionToken,
|
|
27
27
|
init_users
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-sds5zzs8.js";
|
|
29
29
|
import {
|
|
30
30
|
RuntimeControllerCreateSchema,
|
|
31
31
|
RuntimeControllerUpdateSchema,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
RuntimePoolUpdateSchema,
|
|
34
34
|
RuntimePoolCreateAgentSchema,
|
|
35
35
|
init_types
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-836ehxmt.js";
|
|
37
37
|
import {
|
|
38
38
|
scrubSecrets,
|
|
39
39
|
registerVolatileSecret,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runStopHookSessionSummarySubprocess
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-aa3tb29r.js";
|
|
4
4
|
import {
|
|
5
5
|
CONTEXT_FORMULA,
|
|
6
6
|
getContextWindowSize,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./cli-gx4rm0qx.js";
|
|
16
16
|
import {
|
|
17
17
|
swarmRuntimeInstanceId
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-e8xyjvfc.js";
|
|
19
19
|
import {
|
|
20
20
|
detachedProcessGroup,
|
|
21
21
|
registerProcessGroup,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
withFileLock,
|
|
49
49
|
init_file_lock
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-74c1wpm0.js";
|
|
51
51
|
import {
|
|
52
52
|
CLAUDE_CREDENTIALS_HINT,
|
|
53
53
|
validateClaudeCredentials,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
import {
|
|
67
67
|
isEnvFlagEnabled,
|
|
68
68
|
init_env_flag
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-cebvbc9t.js";
|
|
70
70
|
import {
|
|
71
71
|
scrubSecrets,
|
|
72
72
|
init_secret_scrubber
|
|
@@ -1236,7 +1236,7 @@ class ClaudeAdapter2 {
|
|
|
1236
1236
|
if (transport === "sdk" && isClaudeBridgeEffective(sourceEnv)) {
|
|
1237
1237
|
throw new Error("CLAUDE_TRANSPORT=sdk cannot run with an effective Claude Bridge configuration. Select CLI transport or disable the bridge.");
|
|
1238
1238
|
}
|
|
1239
|
-
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-
|
|
1239
|
+
const claudeSdk = transport === "sdk" ? await import("./claude-sdk-session-53rcw5we.js") : undefined;
|
|
1240
1240
|
claudeSdk?.validateClaudeSdkAdditionalArgs([
|
|
1241
1241
|
...claudeBinaryArgv.slice(1),
|
|
1242
1242
|
...config.additionalArgs ?? []
|