@desplega.ai/agent-swarm 2.5.1 → 2.5.2
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-7g6bpwbk.js → acp-adapter-csh0zz3b.js} +1 -1
- package/dist/{actions-w8xd014k.js → actions-6xx079d1.js} +17 -17
- package/dist/{amp-adapter-z4qvhacj.js → amp-adapter-8n6f0hz8.js} +2 -2
- package/dist/{app-nndcvftq.js → app-ft6r6v23.js} +3 -3
- package/dist/{assistant-hjmqyscx.js → assistant-vt2cyfzd.js} +18 -18
- package/dist/{boot-reembed-r8rhf9h8.js → boot-reembed-r3e808ky.js} +1 -1
- package/dist/{boot-reembed-vwcj2y5d.js → boot-reembed-tgrfy27t.js} +1 -1
- package/dist/{boot-scrub-sweep-fr9q36ne.js → boot-scrub-sweep-masdwxkm.js} +2 -2
- package/dist/{boot-seeds-9jqwnegq.js → boot-seeds-0n82qc7q.js} +4 -4
- package/dist/{claude-adapter-2f8b85df.js → claude-adapter-s7j47k06.js} +2 -2
- package/dist/{claude-managed-setup-c3hp36ph.js → claude-managed-setup-3hzrgrnk.js} +1 -1
- package/dist/{claude-sdk-session-05kat8rv.js → claude-sdk-session-0zrdzyx2.js} +6905 -6855
- package/dist/{cli-mz2ygeyq.js → cli-0vgy5wfw.js} +2 -2
- package/dist/{cli-eym3jg7w.js → cli-14v1sxxy.js} +6 -6
- package/dist/{cli-e9btqw4y.js → cli-15xd0j7w.js} +18 -13
- package/dist/{cli-v2g93k4v.js → cli-3e9vs93g.js} +4 -4
- package/dist/{cli-1dp1zj04.js → cli-4qkg9968.js} +3 -3
- package/dist/{cli-ba8ne1es.js → cli-4rvr7zfx.js} +10 -0
- package/dist/{cli-rngde2jv.js → cli-6y43v79h.js} +1 -1
- package/dist/{cli-z63a269p.js → cli-7ccf7akh.js} +1 -1
- package/dist/{cli-z2dv25mf.js → cli-86zpfje5.js} +116 -5
- package/dist/{cli-fes51ya2.js → cli-aaqnqpyw.js} +2 -2
- package/dist/{cli-qfm6my86.js → cli-b1tv22wr.js} +1 -1
- package/dist/{cli-xc65x52q.js → cli-b63d08rs.js} +1 -1
- package/dist/{cli-gwcf52gz.js → cli-b6tnjdvx.js} +11 -7
- package/dist/{cli-9mm5ade4.js → cli-bpbcpd8b.js} +1 -1
- package/dist/{cli-qfjm4gvt.js → cli-cf63dnxj.js} +2 -2
- package/dist/{cli-q9pzwxvk.js → cli-csh8fnbg.js} +82 -16
- package/dist/{cli-0jy85zz4.js → cli-cyfgxnvb.js} +7 -7
- package/dist/{cli-y3zyaee5.js → cli-d172svcw.js} +5 -5
- package/dist/{cli-mq7kg1b1.js → cli-e91vshb1.js} +41 -6
- package/dist/{cli-cah5detr.js → cli-edtm741g.js} +5 -5
- package/dist/{cli-ajqhxtnz.js → cli-f3pfn4x3.js} +1 -1
- package/dist/{cli-hadv0725.js → cli-f55b6ky0.js} +1 -1
- package/dist/{cli-r9fy0ddc.js → cli-fgn7yg5r.js} +1 -1
- package/dist/{cli-kcsd1ez8.js → cli-h5d22pfs.js} +249 -68
- package/dist/{cli-2wba1ac9.js → cli-ha22h0eg.js} +20 -20
- package/dist/{cli-pyy4c9ch.js → cli-j3dwd4kz.js} +173 -134
- package/dist/{cli-j1eghqfm.js → cli-jmcjbjkt.js} +1 -1
- package/dist/{cli-22rmcjkg.js → cli-kcnwn85g.js} +4 -3
- package/dist/{cli-rh5smt8t.js → cli-mntxtkhn.js} +12 -2
- package/dist/{cli-2jg61wab.js → cli-n2918sed.js} +9 -9
- package/dist/{cli-3ee5z0q0.js → cli-qrjv7t18.js} +1 -1
- package/dist/{cli-sn1vbtg2.js → cli-vaxw3bg0.js} +3 -3
- package/dist/{cli-cwyafhw1.js → cli-wadzapwb.js} +1 -1
- package/dist/{cli-jpxsrxcb.js → cli-xw9q173h.js} +1 -1
- package/dist/{cli-znvq0k3t.js → cli-xzge46sj.js} +2 -2
- package/dist/{cli-nj12tn2c.js → cli-y3dzwyy3.js} +3 -3
- package/dist/{cli-xd4eqtr2.js → cli-ydg6ep51.js} +1 -1
- package/dist/cli.js +16 -15
- package/dist/{codex-adapter-p4ptwar5.js → codex-adapter-brh2tcxr.js} +1 -1
- package/dist/{codex-session-runner-964c7dnk.js → codex-session-runner-0dnj21qs.js} +1 -1
- package/dist/{commands-mbvhbrcy.js → commands-1cnvseqx.js} +2 -2
- package/dist/{controller-gnq1k1mf.js → controller-kc7s9xhn.js} +2 -2
- package/dist/{controllers-connect-6dkm71tg.js → controllers-connect-jzx7t4bn.js} +18 -18
- package/dist/{cursor-adapter-yq5xgfcg.js → cursor-adapter-qpwp5sfg.js} +1 -1
- package/dist/{db-af9y8nkf.js → db-4vq88jkc.js} +3 -3
- package/dist/{db-88wcymxt.js → db-v5ytg5pw.js} +1 -1
- package/dist/{dispatcher-606ydx5v.js → dispatcher-trtcrqae.js} +16 -16
- package/dist/{dsh-adapter-tvhc4k2d.js → dsh-adapter-f20xwn1z.js} +1 -1
- package/dist/{external-channel-y8q5z8z2.js → external-channel-n9bymc2n.js} +2 -2
- package/dist/{grok-adapter-39aha52t.js → grok-adapter-4kpmmnr6.js} +2 -2
- package/dist/{handlers-rk9dqech.js → handlers-ptsraqa8.js} +19 -19
- package/dist/{heartbeat-jfe9zfjr.js → heartbeat-60qtxtjf.js} +19 -19
- package/dist/{hook-ffevzed1.js → hook-ngtvh729.js} +1 -1
- package/dist/{hook-b1mez1m8.js → hook-rbktcstg.js} +1 -1
- package/dist/{http-d5b44f1r.js → http-z8xy72gp.js} +334 -86
- package/dist/{index-nq8hhv28.js → index-06qkmcx6.js} +10 -9
- package/dist/{index-d2qeem97.js → index-1cscynkb.js} +16 -16
- package/dist/{index-5en23s5z.js → index-a9nsavhx.js} +1 -1
- package/dist/{index-4q3vj1yr.js → index-r70q0xjx.js} +16 -16
- package/dist/{index-mj46rk9k.js → index-s193j5fh.js} +19 -19
- package/dist/{keepalive-wsby1btq.js → keepalive-a9srcphj.js} +3 -3
- package/dist/{lead-paa141j6.js → lead-3devneqy.js} +26 -26
- package/dist/{maintenance-vnshcyv9.js → maintenance-0er16h2y.js} +1 -1
- package/dist/{oauth-refresh-sweep-d6sqn5np.js → oauth-refresh-sweep-b65jcyw2.js} +2 -2
- package/dist/{onboard-nr4xhpzy.js → onboard-wqywz5py.js} +2 -2
- package/dist/{otel-impl-ytn9wyv9.js → otel-impl-vk32s884.js} +1 -1
- package/dist/{pricing-refresh-pva04zee.js → pricing-refresh-t27anv4z.js} +3 -3
- package/dist/rbac-roles-452665y0.js +26 -0
- package/dist/{rbac-roles-7rc1q3g4.js → rbac-roles-bmcgsxjn.js} +12 -2
- package/dist/{render-v2-pyfsg9zk.js → render-v2-0ttsk2j4.js} +3 -3
- package/dist/{resume-phj8xhqr.js → resume-a26kvr41.js} +5 -5
- package/dist/{session-access-jzx2z9h5.js → session-access-dgh9nkwk.js} +4 -4
- package/dist/{setup-rfg0f0sg.js → setup-9vc9qahm.js} +1 -1
- package/dist/{work-objects-44z2yjg8.js → work-objects-vn8nkxwn.js} +19 -19
- package/dist/{worker-zsfqzxhm.js → worker-1x1h8vnm.js} +26 -26
- package/openapi.json +463 -3
- package/package.json +4 -3
- package/src/be/db/session-tree.ts +89 -2
- package/src/be/db/session-visibility.ts +31 -0
- package/src/be/db/tasks/read.ts +18 -5
- package/src/be/db.ts +2 -0
- package/src/be/migrations/233_script_run_session_tokens.sql +8 -0
- package/src/be/migrations/235_chat_relay_defer.sql +86 -0
- package/src/be/migrations/237_session_inbox_cleanup.sql +75 -0
- package/src/be/rbac-roles.ts +138 -0
- package/src/be/scripts/run-credential.ts +64 -0
- package/src/be/scripts/run-saved.ts +3 -2
- package/src/be/users.ts +28 -4
- package/src/http/all-routes.ts +1 -0
- package/src/http/approval-requests.ts +46 -6
- package/src/http/index.ts +2 -0
- package/src/http/schedules.ts +26 -0
- package/src/http/scripts.ts +2 -2
- package/src/http/sessions.ts +93 -2
- package/src/http/user-roles.ts +173 -0
- package/src/http/users.ts +9 -0
- package/src/http/x.ts +2 -2
- package/src/integrations/chat-sdk/commands.ts +14 -1
- package/src/integrations/chat-sdk/inbound.ts +40 -5
- package/src/integrations/chat-sdk/outbound.ts +35 -10
- package/src/integrations/chat-sdk/reactions.ts +107 -0
- package/src/integrations/chat-sdk/relay.ts +75 -7
- package/src/integrations/chat-sdk/thread-buffer.ts +2 -0
- package/src/integrations/reaction-events.ts +20 -0
- package/src/providers/amp-adapter.ts +1 -1
- package/src/rbac/legacy-policy.ts +3 -0
- package/src/rbac/permissions.ts +8 -0
- package/src/scheduler/schedule-task.ts +44 -3
- package/src/scheduler/scheduler.ts +4 -4
- package/src/scripts-runtime/loader.ts +8 -1
- package/src/slack/ack.ts +2 -1
- package/src/slack/reaction-shortcode.ts +4 -7
- package/src/tasks/worker-follow-up.ts +30 -0
- package/src/tests/approval-requests-notifications.test.ts +189 -0
- package/src/tests/chat-sdk-commands.test.ts +12 -0
- package/src/tests/chat-sdk-inbound.test.ts +163 -9
- package/src/tests/chat-sdk-outbound-files.test.ts +9 -2
- package/src/tests/chat-sdk-relay.test.ts +361 -10
- package/src/tests/chat-sdk-tools.test.ts +104 -0
- package/src/tests/docs-index-footprint.test.js +3 -3
- package/src/tests/http-users.test.ts +38 -0
- package/src/tests/migration-237-session-inbox-cleanup.test.ts +136 -0
- package/src/tests/rbac-engine.test.ts +2 -0
- package/src/tests/rbac-roles.test.ts +10 -0
- package/src/tests/schedule-http-triage-tools.test.ts +44 -0
- package/src/tests/script-api-credential.test.ts +173 -0
- package/src/tests/script-connections.test.ts +4 -0
- package/src/tests/script-run-config-scope.test.ts +120 -0
- package/src/tests/script-run-token.test.ts +75 -0
- package/src/tests/scripts-http.test.ts +19 -0
- package/src/tests/sessions-tree.test.ts +242 -0
- package/src/tests/user-roles-http.test.ts +204 -0
- package/src/tests/workflow-hitl-dynamic-questions.test.ts +1 -1
- package/src/tools/chat-reply.ts +2 -0
- package/src/tools/schedules/patch-schedule.ts +18 -0
- package/src/tools/schedules/update-schedule.ts +18 -0
- package/src/types.ts +16 -0
- package/src/workflows/approval-notifications.ts +214 -0
- package/src/workflows/executors/human-in-the-loop.ts +11 -172
- package/src/workflows/executors/swarm-script.ts +2 -2
- package/templates/schedules/weekly-harness-upgrade-check/content.md +1 -1
- package/templates/skills/code-quality/content.md +1 -1
- package/dist/rbac-roles-ff1ffmec.js +0 -12
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
getStaleApprovalRequests2,
|
|
67
67
|
upsertKv2,
|
|
68
68
|
init_db3
|
|
69
|
-
} from "./cli-
|
|
69
|
+
} from "./cli-csh8fnbg.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-h5d22pfs.js";
|
|
95
95
|
import {
|
|
96
96
|
listRuntimePools2,
|
|
97
97
|
init_db
|
|
98
|
-
} from "./cli-
|
|
98
|
+
} from "./cli-4qkg9968.js";
|
|
99
99
|
import {
|
|
100
100
|
createApprovalFollowUpTask
|
|
101
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-j3dwd4kz.js";
|
|
102
102
|
import {
|
|
103
103
|
remediateStalledRuntime
|
|
104
|
-
} from "./cli-
|
|
104
|
+
} from "./cli-cyfgxnvb.js";
|
|
105
105
|
import {
|
|
106
106
|
runSavedScriptAsAgent
|
|
107
|
-
} from "./cli-
|
|
107
|
+
} from "./cli-e91vshb1.js";
|
|
108
108
|
import {
|
|
109
109
|
mintToken,
|
|
110
110
|
init_users
|
|
111
|
-
} from "./cli-
|
|
111
|
+
} from "./cli-b6tnjdvx.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-mntxtkhn.js";
|
|
117
117
|
import {
|
|
118
118
|
registerTemplate,
|
|
119
119
|
init_registry,
|
|
@@ -128,7 +128,7 @@ import {
|
|
|
128
128
|
import {
|
|
129
129
|
init_package,
|
|
130
130
|
package_default
|
|
131
|
-
} from "./cli-
|
|
131
|
+
} from "./cli-kcnwn85g.js";
|
|
132
132
|
import {
|
|
133
133
|
isEnvFlagEnabled,
|
|
134
134
|
init_env_flag
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
getKv2,
|
|
3
3
|
upsertKv2,
|
|
4
4
|
init_db3
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-csh8fnbg.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveIdentity,
|
|
8
8
|
recordUnmappedIdentity
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-h5d22pfs.js";
|
|
10
10
|
import {
|
|
11
11
|
findUserByExternalId,
|
|
12
12
|
findOrCreateUserByEmail,
|
|
13
13
|
linkIdentity,
|
|
14
14
|
init_users
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-b6tnjdvx.js";
|
|
16
16
|
|
|
17
17
|
// src/slack/enrich.ts
|
|
18
18
|
init_db3();
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_MODEL_TIER_MAP,
|
|
54
54
|
init_types
|
|
55
|
-
} from "./cli-
|
|
55
|
+
} from "./cli-mntxtkhn.js";
|
|
56
56
|
import {
|
|
57
57
|
runtimeCatalogModel,
|
|
58
58
|
init_runtime_model_catalog
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
import {
|
|
61
61
|
init_package,
|
|
62
62
|
package_default
|
|
63
|
-
} from "./cli-
|
|
63
|
+
} from "./cli-kcnwn85g.js";
|
|
64
64
|
import {
|
|
65
65
|
isEnvFlagEnabled,
|
|
66
66
|
isSessionSummarySkipped,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getPendingWaitsByEvent2,
|
|
23
23
|
resolveWaitState2,
|
|
24
24
|
init_db3
|
|
25
|
-
} from "./cli-
|
|
25
|
+
} from "./cli-csh8fnbg.js";
|
|
26
26
|
import {
|
|
27
27
|
BaseExecutor,
|
|
28
28
|
postApprovalCancellationUpdates,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
stepFailureMode,
|
|
49
49
|
getNextTargets,
|
|
50
50
|
getSuccessors
|
|
51
|
-
} from "./cli-
|
|
51
|
+
} from "./cli-j3dwd4kz.js";
|
|
52
52
|
import {
|
|
53
53
|
workflowEventBus2,
|
|
54
54
|
init_event_bus
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
RetryPolicySchema,
|
|
58
58
|
SUPERSEDED_WORKFLOW_TASK_REASON,
|
|
59
59
|
init_types
|
|
60
|
-
} from "./cli-
|
|
60
|
+
} from "./cli-mntxtkhn.js";
|
|
61
61
|
import {
|
|
62
62
|
init_zod
|
|
63
63
|
} from "./cli-4chz1hye.js";
|
package/dist/cli.js
CHANGED
|
@@ -53,7 +53,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
53
53
|
// package.json
|
|
54
54
|
var package_default = {
|
|
55
55
|
name: "@desplega.ai/agent-swarm",
|
|
56
|
-
version: "2.5.
|
|
56
|
+
version: "2.5.2",
|
|
57
57
|
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.",
|
|
58
58
|
keywords: [
|
|
59
59
|
"agent-swarm.dev",
|
|
@@ -166,6 +166,7 @@ var package_default = {
|
|
|
166
166
|
"tsc:check": "bun check",
|
|
167
167
|
"tsc:check:tsc": "bun tsc --noEmit",
|
|
168
168
|
"check:db-boundary": "bash scripts/check-db-boundary.sh",
|
|
169
|
+
"check:codex-default-model": "bash scripts/check-codex-default-model.sh",
|
|
169
170
|
"check:test-spawn-sync": "bash scripts/check-test-spawn-sync.sh",
|
|
170
171
|
"check:dep-graph": "depcruise src packages/model-routing --config .dependency-cruiser.cjs",
|
|
171
172
|
"check:api-key-boundary": "bash scripts/check-api-key-boundary.sh",
|
|
@@ -253,7 +254,7 @@ var package_default = {
|
|
|
253
254
|
dependencies: {
|
|
254
255
|
"@agentclientprotocol/sdk": "2.0.1",
|
|
255
256
|
"@ai-sdk/openai": "^3.0.41",
|
|
256
|
-
"@anthropic-ai/claude-agent-sdk": "0.3.
|
|
257
|
+
"@anthropic-ai/claude-agent-sdk": "0.3.309",
|
|
257
258
|
"@anthropic-ai/sdk": "^1.1.0",
|
|
258
259
|
"@asteasolutions/zod-to-openapi": "^8.0.0",
|
|
259
260
|
"@aws-sdk/client-bedrock": "3.1048.0",
|
|
@@ -271,7 +272,7 @@ var package_default = {
|
|
|
271
272
|
"@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
|
|
272
273
|
"@linear/sdk": "^77.0.0",
|
|
273
274
|
"@modelcontextprotocol/sdk": "1.32.1",
|
|
274
|
-
"@openai/codex": "0.
|
|
275
|
+
"@openai/codex": "0.164.0",
|
|
275
276
|
"@openfort/openfort-node": "^0.9.1",
|
|
276
277
|
"@opentelemetry/api": "^1.9.1",
|
|
277
278
|
"@opentelemetry/api-logs": "^0.218.0",
|
|
@@ -835,7 +836,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
835
836
|
if (dbPath) {
|
|
836
837
|
process.env.DATABASE_PATH = dbPath;
|
|
837
838
|
}
|
|
838
|
-
import("./http-
|
|
839
|
+
import("./http-z8xy72gp.js").then(() => {
|
|
839
840
|
setStatus("running");
|
|
840
841
|
}).catch((err) => {
|
|
841
842
|
setStatus("error");
|
|
@@ -922,7 +923,7 @@ function WorkerRunner({
|
|
|
922
923
|
const { exit } = use_app_default();
|
|
923
924
|
import_react.useEffect(() => {
|
|
924
925
|
installConsoleScrub();
|
|
925
|
-
import("./worker-
|
|
926
|
+
import("./worker-1x1h8vnm.js").then(({ runWorker }) => runWorker({
|
|
926
927
|
prompt: prompt || undefined,
|
|
927
928
|
yolo,
|
|
928
929
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -940,7 +941,7 @@ function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalAr
|
|
|
940
941
|
const { exit } = use_app_default();
|
|
941
942
|
import_react.useEffect(() => {
|
|
942
943
|
installConsoleScrub();
|
|
943
|
-
import("./lead-
|
|
944
|
+
import("./lead-3devneqy.js").then(({ runLead }) => runLead({
|
|
944
945
|
prompt: prompt || undefined,
|
|
945
946
|
yolo,
|
|
946
947
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -980,8 +981,8 @@ function LazyComponent({
|
|
|
980
981
|
}
|
|
981
982
|
return import_react.createElement(Component, props);
|
|
982
983
|
}
|
|
983
|
-
var loadOnboard = () => import("./onboard-
|
|
984
|
-
var loadConnect = () => import("./setup-
|
|
984
|
+
var loadOnboard = () => import("./onboard-wqywz5py.js").then(({ Onboard }) => Onboard);
|
|
985
|
+
var loadConnect = () => import("./setup-9vc9qahm.js").then(({ Setup }) => Setup);
|
|
985
986
|
function UnknownCommand({ command }) {
|
|
986
987
|
const { exit } = use_app_default();
|
|
987
988
|
import_react.useEffect(() => {
|
|
@@ -1111,14 +1112,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1111
1112
|
}
|
|
1112
1113
|
process.exit(0);
|
|
1113
1114
|
} else if (args.command === "hook") {
|
|
1114
|
-
const { runHook } = await import("./hook-
|
|
1115
|
+
const { runHook } = await import("./hook-ngtvh729.js");
|
|
1115
1116
|
await runHook();
|
|
1116
1117
|
} else if (args.command === "codex-hook") {
|
|
1117
1118
|
const { handleCodexHook } = await import("./codex-hook-e2he7aca.js");
|
|
1118
1119
|
await handleCodexHook();
|
|
1119
1120
|
process.exit(process.exitCode ?? 0);
|
|
1120
1121
|
} else if (args.command === "session-summary-stdin") {
|
|
1121
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1122
|
+
const { runSessionSummaryFromStdin } = await import("./hook-rbktcstg.js");
|
|
1122
1123
|
await runSessionSummaryFromStdin();
|
|
1123
1124
|
process.exit(process.exitCode ?? 0);
|
|
1124
1125
|
} else if (args.command === "x") {
|
|
@@ -1131,7 +1132,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1131
1132
|
printHelp("scripts");
|
|
1132
1133
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1133
1134
|
}
|
|
1134
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1135
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-0er16h2y.js");
|
|
1135
1136
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1136
1137
|
console.log("Scripts re-embedded.");
|
|
1137
1138
|
} else if (args.command === "rbac") {
|
|
@@ -1141,17 +1142,17 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1141
1142
|
printHelp("rbac");
|
|
1142
1143
|
process.exit(args.showHelp ? 0 : 1);
|
|
1143
1144
|
}
|
|
1144
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1145
|
+
const { runRbacCliCommand } = await import("./rbac-roles-bmcgsxjn.js");
|
|
1145
1146
|
await runRbacCliCommand(rbacArgs);
|
|
1146
1147
|
} else if (args.command === "codex-login") {
|
|
1147
1148
|
const { runCodexLogin } = await import("./codex-login-rn7c5gxt.js");
|
|
1148
1149
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1149
1150
|
await runCodexLogin(codexLoginArgs);
|
|
1150
1151
|
} else if (args.command === "codex-session-runner") {
|
|
1151
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1152
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-0dnj21qs.js");
|
|
1152
1153
|
await runCodexSessionRunner();
|
|
1153
1154
|
} else if (args.command === "claude-managed-setup") {
|
|
1154
|
-
const { runClaudeManagedSetup } = await import("./claude-managed-setup-
|
|
1155
|
+
const { runClaudeManagedSetup } = await import("./claude-managed-setup-3hzrgrnk.js");
|
|
1155
1156
|
const setupArgs = process.argv.slice(process.argv.indexOf("claude-managed-setup") + 1);
|
|
1156
1157
|
await runClaudeManagedSetup(setupArgs);
|
|
1157
1158
|
} else if (args.command === "worker-token") {
|
|
@@ -1163,7 +1164,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1163
1164
|
const e2bArgs = process.argv.slice(process.argv.indexOf("e2b") + 1);
|
|
1164
1165
|
await runE2BCommand(e2bArgs);
|
|
1165
1166
|
} else if (args.command === "controller") {
|
|
1166
|
-
const { runController } = await import("./controller-
|
|
1167
|
+
const { runController } = await import("./controller-kc7s9xhn.js");
|
|
1167
1168
|
await runController(process.argv.slice(process.argv.indexOf("controller") + 1));
|
|
1168
1169
|
} else {
|
|
1169
1170
|
render_default(/* @__PURE__ */ jsx_dev_runtime.jsxDEV(App, {
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
getAllAgents2,
|
|
3
3
|
getAllTasks2,
|
|
4
4
|
init_db3
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-csh8fnbg.js";
|
|
6
6
|
import {
|
|
7
7
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2,
|
|
8
8
|
shouldBlockChannel2
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-b63d08rs.js";
|
|
10
10
|
import {
|
|
11
11
|
isEnvFlagEnabled,
|
|
12
12
|
init_env_flag
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
BuiltinController,
|
|
3
3
|
CONTROLLER_PROTOCOL_VERSION,
|
|
4
4
|
ControllerServerMessageSchema
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-ydg6ep51.js";
|
|
6
6
|
import {
|
|
7
7
|
createRuntimeProvider,
|
|
8
8
|
init_runtime_providers
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
RuntimeProviderKindSchema,
|
|
12
12
|
init_types
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-mntxtkhn.js";
|
|
14
14
|
import {
|
|
15
15
|
scrubSecrets,
|
|
16
16
|
registerVolatileSecret,
|
|
@@ -6,20 +6,20 @@ import {
|
|
|
6
6
|
isRuntimePoolsEnabled,
|
|
7
7
|
init_runtime_pools_flag,
|
|
8
8
|
init_db3
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-csh8fnbg.js";
|
|
10
10
|
import {
|
|
11
11
|
CONTROLLER_PROTOCOL_VERSION,
|
|
12
12
|
CONTROLLER_PING_INTERVAL_MS,
|
|
13
13
|
ControllerClientMessageSchema
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-ydg6ep51.js";
|
|
15
15
|
import"./cli-e8xyjvfc.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveHttpRequestAuth
|
|
18
|
-
} from "./cli-
|
|
18
|
+
} from "./cli-h5d22pfs.js";
|
|
19
19
|
import {
|
|
20
20
|
getRuntimeController2,
|
|
21
21
|
init_db
|
|
22
|
-
} from "./cli-
|
|
22
|
+
} from "./cli-4qkg9968.js";
|
|
23
23
|
import {
|
|
24
24
|
remoteControllerSession,
|
|
25
25
|
installRemoteController,
|
|
@@ -28,30 +28,30 @@ import {
|
|
|
28
28
|
ensureRuntimeOwnerId,
|
|
29
29
|
reconcileRemoteProvisions,
|
|
30
30
|
reconcileControllerOrphans
|
|
31
|
-
} from "./cli-
|
|
32
|
-
import"./cli-
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
31
|
+
} from "./cli-cyfgxnvb.js";
|
|
32
|
+
import"./cli-j3dwd4kz.js";
|
|
33
|
+
import"./cli-e91vshb1.js";
|
|
34
|
+
import"./cli-6y43v79h.js";
|
|
35
35
|
import"./cli-3ggwdtb0.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
36
|
+
import"./cli-15xd0j7w.js";
|
|
37
|
+
import"./cli-b63d08rs.js";
|
|
38
38
|
import"./cli-qqzmjxkf.js";
|
|
39
39
|
import"./cli-2nf3b08t.js";
|
|
40
40
|
import"./cli-kvzgak7c.js";
|
|
41
41
|
import"./cli-445c1vp7.js";
|
|
42
42
|
import"./cli-kxpfx2xr.js";
|
|
43
43
|
import"./cli-dabehxhp.js";
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
47
|
-
import"./cli-
|
|
44
|
+
import"./cli-y3dzwyy3.js";
|
|
45
|
+
import"./cli-xw9q173h.js";
|
|
46
|
+
import"./cli-bpbcpd8b.js";
|
|
47
|
+
import"./cli-0vgy5wfw.js";
|
|
48
48
|
import"./cli-qz93y3x5.js";
|
|
49
|
-
import"./cli-
|
|
50
|
-
import"./cli-
|
|
49
|
+
import"./cli-86zpfje5.js";
|
|
50
|
+
import"./cli-3e9vs93g.js";
|
|
51
51
|
import"./cli-g9ypd5en.js";
|
|
52
52
|
import {
|
|
53
53
|
route
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-d172svcw.js";
|
|
55
55
|
import"./cli-3h26v7yj.js";
|
|
56
56
|
import"./cli-pasyvjmm.js";
|
|
57
57
|
import"./cli-13p25grh.js";
|
|
@@ -59,7 +59,7 @@ import"./cli-0adyhvq2.js";
|
|
|
59
59
|
import {
|
|
60
60
|
registerSessionTokenConnection,
|
|
61
61
|
init_session_token_connections
|
|
62
|
-
} from "./cli-
|
|
62
|
+
} from "./cli-b6tnjdvx.js";
|
|
63
63
|
import"./cli-rycdaj0a.js";
|
|
64
64
|
import {
|
|
65
65
|
getApiKey,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
createPoolAgent2,
|
|
20
20
|
loadRuntimeControllerSecrets2,
|
|
21
21
|
init_db
|
|
22
|
-
} from "./cli-
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
22
|
+
} from "./cli-4qkg9968.js";
|
|
23
|
+
import"./cli-b6tnjdvx.js";
|
|
24
|
+
import"./cli-csh8fnbg.js";
|
|
25
25
|
init_db();
|
|
26
26
|
|
|
27
27
|
export {
|
|
@@ -11,36 +11,36 @@ import {
|
|
|
11
11
|
listRegistered2,
|
|
12
12
|
dispatchPre2,
|
|
13
13
|
dispatchPost2
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-h5d22pfs.js";
|
|
15
15
|
import"./cli-pasyvjmm.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-xw9q173h.js";
|
|
17
17
|
import"./cli-qz93y3x5.js";
|
|
18
18
|
import"./cli-3h26v7yj.js";
|
|
19
19
|
import"./cli-e8xyjvfc.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
import"./cli-0vgy5wfw.js";
|
|
21
|
+
import"./cli-e91vshb1.js";
|
|
22
22
|
import"./cli-3ggwdtb0.js";
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
25
|
-
import"./cli-
|
|
23
|
+
import"./cli-6y43v79h.js";
|
|
24
|
+
import"./cli-3e9vs93g.js";
|
|
25
|
+
import"./cli-bpbcpd8b.js";
|
|
26
26
|
import"./cli-g9ypd5en.js";
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
27
|
+
import"./cli-y3dzwyy3.js";
|
|
28
|
+
import"./cli-j3dwd4kz.js";
|
|
29
29
|
import"./cli-qqzmjxkf.js";
|
|
30
30
|
import"./cli-kxpfx2xr.js";
|
|
31
|
-
import"./cli-
|
|
31
|
+
import"./cli-d172svcw.js";
|
|
32
32
|
import"./cli-13p25grh.js";
|
|
33
33
|
import"./cli-0adyhvq2.js";
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
34
|
+
import"./cli-15xd0j7w.js";
|
|
35
|
+
import"./cli-b63d08rs.js";
|
|
36
|
+
import"./cli-4qkg9968.js";
|
|
37
|
+
import"./cli-b6tnjdvx.js";
|
|
38
38
|
import"./cli-rycdaj0a.js";
|
|
39
39
|
import"./cli-445c1vp7.js";
|
|
40
40
|
import"./cli-kvzgak7c.js";
|
|
41
41
|
import"./cli-2nf3b08t.js";
|
|
42
|
-
import"./cli-
|
|
43
|
-
import"./cli-
|
|
42
|
+
import"./cli-86zpfje5.js";
|
|
43
|
+
import"./cli-csh8fnbg.js";
|
|
44
44
|
import"./cli-dabehxhp.js";
|
|
45
45
|
export {
|
|
46
46
|
ExtensionAbortedError2 as ExtensionAbortedError,
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
shouldBlockChannel2,
|
|
9
9
|
leaveExternalChannel2,
|
|
10
10
|
scanExternalChannelsOnBoot2
|
|
11
|
-
} from "./cli-
|
|
12
|
-
import"./cli-
|
|
11
|
+
} from "./cli-b63d08rs.js";
|
|
12
|
+
import"./cli-csh8fnbg.js";
|
|
13
13
|
export {
|
|
14
14
|
EXTERNAL_CHANNEL_BLOCKED_REPLY2 as EXTERNAL_CHANNEL_BLOCKED_REPLY,
|
|
15
15
|
externalChannelToolError2 as externalChannelToolError,
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isUserAllowed2,
|
|
3
3
|
registerMessageHandler2
|
|
4
|
-
} from "./cli-
|
|
5
|
-
import"./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
4
|
+
} from "./cli-14v1sxxy.js";
|
|
5
|
+
import"./cli-edtm741g.js";
|
|
6
|
+
import"./cli-vaxw3bg0.js";
|
|
7
|
+
import"./cli-h5d22pfs.js";
|
|
8
8
|
import"./cli-pasyvjmm.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-xw9q173h.js";
|
|
10
10
|
import"./cli-qz93y3x5.js";
|
|
11
11
|
import"./cli-3h26v7yj.js";
|
|
12
12
|
import"./cli-e8xyjvfc.js";
|
|
13
|
-
import"./cli-
|
|
14
|
-
import"./cli-
|
|
13
|
+
import"./cli-0vgy5wfw.js";
|
|
14
|
+
import"./cli-e91vshb1.js";
|
|
15
15
|
import"./cli-3ggwdtb0.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
16
|
+
import"./cli-6y43v79h.js";
|
|
17
|
+
import"./cli-3e9vs93g.js";
|
|
18
|
+
import"./cli-bpbcpd8b.js";
|
|
19
19
|
import"./cli-g9ypd5en.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
20
|
+
import"./cli-y3dzwyy3.js";
|
|
21
|
+
import"./cli-j3dwd4kz.js";
|
|
22
22
|
import"./cli-qqzmjxkf.js";
|
|
23
23
|
import"./cli-kxpfx2xr.js";
|
|
24
|
-
import"./cli-
|
|
24
|
+
import"./cli-d172svcw.js";
|
|
25
25
|
import"./cli-13p25grh.js";
|
|
26
26
|
import"./cli-0adyhvq2.js";
|
|
27
|
-
import"./cli-
|
|
28
|
-
import"./cli-
|
|
29
|
-
import"./cli-
|
|
30
|
-
import"./cli-
|
|
27
|
+
import"./cli-15xd0j7w.js";
|
|
28
|
+
import"./cli-b63d08rs.js";
|
|
29
|
+
import"./cli-4qkg9968.js";
|
|
30
|
+
import"./cli-b6tnjdvx.js";
|
|
31
31
|
import"./cli-rycdaj0a.js";
|
|
32
32
|
import"./cli-445c1vp7.js";
|
|
33
33
|
import"./cli-kvzgak7c.js";
|
|
34
34
|
import"./cli-2nf3b08t.js";
|
|
35
|
-
import"./cli-
|
|
36
|
-
import"./cli-
|
|
35
|
+
import"./cli-86zpfje5.js";
|
|
36
|
+
import"./cli-csh8fnbg.js";
|
|
37
37
|
import"./cli-dabehxhp.js";
|
|
38
38
|
export {
|
|
39
39
|
isUserAllowed2 as isUserAllowed,
|