@desplega.ai/agent-swarm 1.153.0 → 1.154.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/README.md +1 -1
- package/dist/{acp-adapter-ahmjxhek.js → acp-adapter-eb2aj8xy.js} +1 -1
- package/dist/{actions-jzrfpkmn.js → actions-kpnwp1kz.js} +18 -18
- package/dist/{app-03na2vwb.js → app-zk1apkf6.js} +6 -6
- package/dist/{assistant-hfkxvhgt.js → assistant-kwq4y50q.js} +19 -19
- package/dist/{boot-reembed-c98xrad3.js → boot-reembed-22hd3jjn.js} +7 -7
- package/dist/{boot-reembed-zt3qm9xn.js → boot-reembed-qe168424.js} +8 -8
- package/dist/{boot-scrub-logs-jcqd8ksj.js → boot-scrub-logs-pkdpsrjd.js} +5 -5
- package/dist/{claude-adapter-mgryg8g3.js → claude-adapter-3fx90nww.js} +10 -10
- package/dist/{claude-sdk-session-jjf4zss1.js → claude-sdk-session-z7fahf1k.js} +10 -10
- package/dist/{cli-1hwnb4hc.js → cli-09y3tjxz.js} +1 -1
- package/dist/{cli-b2g6mzjc.js → cli-0e31nm4n.js} +1 -1
- package/dist/{cli-5mbmvxnn.js → cli-1jpjafw4.js} +5 -5
- package/dist/{cli-bw0dfwkr.js → cli-243tzws8.js} +1 -1
- package/dist/{cli-rj7de4b2.js → cli-24k806sc.js} +1 -1
- package/dist/{cli-7g9s78jf.js → cli-3bkz2p7j.js} +7 -6
- package/dist/{cli-zcsyfw2z.js → cli-4k7jazkq.js} +4 -0
- package/dist/{cli-s5s1f2yn.js → cli-5vs0nh43.js} +25 -20
- package/dist/{cli-qrqhc31j.js → cli-6r3cgpk2.js} +94 -52
- package/dist/{cli-pgj4a5fb.js → cli-71cj99hx.js} +4 -3
- package/dist/{cli-d6hk10xx.js → cli-8sea27q4.js} +2 -2
- package/dist/{cli-a9scg8sv.js → cli-913yakhv.js} +22 -7
- package/dist/{cli-pf9q3696.js → cli-927erqqt.js} +5 -2
- package/dist/{cli-zy5w9gpt.js → cli-95jnpnqg.js} +1 -1
- package/dist/{cli-cdq08v3r.js → cli-abp3g4ax.js} +15 -2
- package/dist/{cli-nq0kgyxe.js → cli-acy6bfhr.js} +10 -7
- package/dist/{cli-n0q9b7j4.js → cli-c1v10xb2.js} +157 -52
- package/dist/{cli-tdh4hjr2.js → cli-e0pg4zeh.js} +1 -1
- package/dist/{cli-83wkg402.js → cli-e31ehqwy.js} +1 -1
- package/dist/{cli-m04pt18h.js → cli-e3229na9.js} +3 -3
- package/dist/{cli-ysc1kbet.js → cli-e3cyf59d.js} +2 -2
- package/dist/{cli-mzgyhxbe.js → cli-fdzg6jhf.js} +2 -2
- package/dist/{cli-0d9nbqxf.js → cli-g2h29qar.js} +2 -2
- package/dist/{cli-djvxhnc4.js → cli-ge67p080.js} +124 -26
- package/dist/{cli-7pnz2v6s.js → cli-hws0vn86.js} +2 -2
- package/dist/{cli-3bcmp015.js → cli-kp3qs53m.js} +2 -2
- package/dist/{cli-ybpp1srm.js → cli-myaxtgh8.js} +2 -1
- package/dist/{cli-r8tdds6s.js → cli-n62atwh9.js} +1 -1
- package/dist/{cli-6ks9xf1n.js → cli-pf1v8xhb.js} +4 -4
- package/dist/{cli-5taqtpze.js → cli-q85qhckh.js} +6 -6
- package/dist/{cli-eazstkad.js → cli-r1d3dzt6.js} +2 -2
- package/dist/{cli-ja7mrygn.js → cli-rxkqvngf.js} +2 -2
- package/dist/{cli-vw03hg5t.js → cli-stwsmd6k.js} +2 -2
- package/dist/{cli-z61ykvam.js → cli-wg04s9kr.js} +4 -3
- package/dist/cli.js +13 -12
- package/dist/{codex-adapter-8548daap.js → codex-adapter-ttdm995v.js} +5 -5
- package/dist/{codex-hook-8jexc34x.js → codex-hook-8gx7bcz0.js} +3 -3
- package/dist/{codex-session-runner-2dad8p4x.js → codex-session-runner-3v8nh4c8.js} +5 -5
- package/dist/{commands-355dbpa8.js → commands-1cxwbhhq.js} +5 -5
- package/dist/{db-4jjvwz1s.js → db-y9zwsr79.js} +23 -5
- package/dist/{dispatcher-ca590nkz.js → dispatcher-9m9zss36.js} +17 -17
- package/dist/{dsh-adapter-rgvj6ykp.js → dsh-adapter-gsb2qqf9.js} +2 -2
- package/dist/{google-generative-ai-xtw7tggr.js → google-generative-ai-gwwrnzqn.js} +1 -1
- package/dist/{google-vertex-zdqpms6n.js → google-vertex-5wfawpwz.js} +1 -1
- package/dist/{handlers-2y6dqpvf.js → handlers-36fm1bwn.js} +20 -20
- package/dist/{hook-0s8knepr.js → hook-pntw4r8h.js} +8 -8
- package/dist/{hook-k0gec254.js → hook-vwq8y26p.js} +9 -9
- package/dist/{http-jp2nb4zw.js → http-20jesakk.js} +89 -56
- package/dist/{index-42s7eezq.js → index-6artrehg.js} +17 -17
- package/dist/{index-3mq6ce93.js → index-9n5z2492.js} +17 -17
- package/dist/{index-0wzg3sp3.js → index-j5wrf1yw.js} +11 -11
- package/dist/{index-s37dbevy.js → index-m2xqpz5r.js} +18 -18
- package/dist/{index-b56xkbc7.js → index-m9ks8a7t.js} +7 -7
- package/dist/{keepalive-9pfw7t02.js → keepalive-pwxvxd2c.js} +7 -7
- package/dist/{lead-7vcmcdq4.js → lead-m789wqa3.js} +26 -26
- package/dist/{maintenance-x277jbpd.js → maintenance-bvg6w7e2.js} +8 -8
- package/dist/{oauth-refresh-sweep-5fwa7th2.js → oauth-refresh-sweep-6v4bd737.js} +6 -6
- package/dist/{onboard-17sv0f51.js → onboard-snckpcj1.js} +14 -2
- package/dist/{otel-impl-srjy4be4.js → otel-impl-e0ytens5.js} +1 -1
- package/dist/{pi-mono-adapter-946a0sdd.js → pi-mono-adapter-c4ggemhz.js} +6 -6
- package/dist/{pricing-refresh-vetcm563.js → pricing-refresh-52g2ywrw.js} +7 -7
- package/dist/{rbac-roles-cmxaddmy.js → rbac-roles-5455kfdn.js} +5 -5
- package/dist/{rbac-roles-cfzgr6r1.js → rbac-roles-hbf0xa52.js} +6 -6
- package/dist/{render-v2-f9hzff72.js → render-v2-npm8xdzh.js} +12 -8
- package/dist/{seed-pricing-jggk6rsy.js → seed-pricing-650wbr1n.js} +6 -6
- package/dist/{setup-8mfceb9t.js → setup-k1mew5rf.js} +2 -2
- package/dist/{virtual-modules-ax661xp0.js → virtual-modules-2q5b2pk4.js} +2 -2
- package/dist/{work-objects-vdsdcczj.js → work-objects-2ea3kvwg.js} +20 -20
- package/dist/{worker-cd0nhyv1.js → worker-ec6hvc4m.js} +26 -26
- package/openapi.json +74 -3
- package/package.json +2 -1
- package/plugin/opencode-plugins/lib/memory-raters.ts +7 -0
- package/src/be/db/agents.ts +75 -2
- package/src/be/db/tasks/read.ts +2 -0
- package/src/be/db/tasks/write.ts +7 -1
- package/src/be/db.ts +140 -18
- package/src/be/memory/raters/llm.ts +2 -6
- package/src/be/memory/raters/noop.ts +2 -3
- package/src/be/memory/raters/registry.ts +4 -10
- package/src/be/migrations/157_defer_provenance_and_marker.sql +27 -0
- package/src/be/seed/agent-fs-provision.ts +23 -0
- package/src/commands/onboard/compose-generator.ts +10 -0
- package/src/commands/onboard/env-generator.ts +8 -0
- package/src/commands/runner.ts +18 -2
- package/src/extensions/identity.ts +15 -7
- package/src/hooks/codex-hook.ts +7 -1
- package/src/http/agents.ts +10 -2
- package/src/http/poll.ts +7 -0
- package/src/http/schedules.ts +10 -0
- package/src/http/script-runs.ts +35 -26
- package/src/http/status.ts +2 -1
- package/src/http/tasks.ts +6 -1
- package/src/prompts/memories.ts +5 -7
- package/src/prompts/session-templates.ts +3 -2
- package/src/prompts/steering-delivery.ts +2 -0
- package/src/providers/codex-adapter.ts +3 -6
- package/src/providers/pi-mono-extension.ts +2 -5
- package/src/slack/ack.ts +43 -8
- package/src/slack/handlers.ts +7 -1
- package/src/slack/render-v2.ts +186 -17
- package/src/slack/responses.ts +1 -3
- package/src/slack/task-output.ts +66 -8
- package/src/slack/thread-buffer.ts +27 -3
- package/src/tests/agent-fs-provision-seeder.test.ts +56 -2
- package/src/tests/codex-steering-hook.test.ts +2 -2
- package/src/tests/db-task-read-contract.test.ts +9 -0
- package/src/tests/db-task-write-contract.test.ts +9 -0
- package/src/tests/defer-task.test.ts +115 -16
- package/src/tests/extension-agent-visibility.test.ts +474 -0
- package/src/tests/extensions-lifecycle.test.ts +3 -1
- package/src/tests/fetch-resolved-env.test.ts +43 -0
- package/src/tests/memory-rate-tool.test.ts +7 -10
- package/src/tests/memory-rater-defaults.test.ts +23 -0
- package/src/tests/memory-rater-e2e.test.ts +2 -3
- package/src/tests/script-connections.test.ts +3 -0
- package/src/tests/slack-render-v2.test.ts +446 -16
- package/src/tests/slack-steering.test.ts +69 -1
- package/src/tests/slack-task-output.test.ts +33 -12
- package/src/tests/steering-core.test.ts +35 -0
- package/src/tests/steering-delivery.test.ts +39 -0
- package/src/tests/steering-transport.test.ts +2 -2
- package/src/tests/workflow-live-recovery.test.ts +126 -0
- package/src/tools/defer-task.ts +64 -26
- package/src/tools/join-swarm.ts +1 -1
- package/src/tools/schedules/create-schedule.ts +11 -1
- package/src/tools/schedules/patch-schedule.ts +5 -0
- package/src/tools/schedules/update-schedule.ts +5 -0
- package/src/tools/send-task.ts +6 -0
- package/src/tools/utils.ts +1 -1
- package/src/types.ts +13 -0
- package/src/utils/memory-raters.ts +3 -0
- package/src/workflows/engine.ts +28 -0
- package/src/workflows/recovery.ts +7 -4
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
linkIdentity,
|
|
5
5
|
recordUnmappedIdentity,
|
|
6
6
|
resolveIdentity
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-6r3cgpk2.js";
|
|
8
8
|
import {
|
|
9
9
|
getKv,
|
|
10
10
|
init_db,
|
|
11
11
|
upsertKv
|
|
12
|
-
} from "./cli-
|
|
12
|
+
} from "./cli-ge67p080.js";
|
|
13
13
|
|
|
14
14
|
// src/slack/enrich.ts
|
|
15
15
|
init_db();
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
stream,
|
|
50
50
|
streamSimple,
|
|
51
51
|
validateToolArguments
|
|
52
|
-
} from "./cli-
|
|
52
|
+
} from "./cli-8sea27q4.js";
|
|
53
53
|
import {
|
|
54
54
|
cleanupSessionResources,
|
|
55
55
|
uuidv7
|
|
@@ -63160,7 +63160,7 @@ function getCreateJiti() {
|
|
|
63160
63160
|
}
|
|
63161
63161
|
var virtualModulesPromise;
|
|
63162
63162
|
function getVirtualModules() {
|
|
63163
|
-
virtualModulesPromise ??= import("./virtual-modules-
|
|
63163
|
+
virtualModulesPromise ??= import("./virtual-modules-2q5b2pk4.js").then((module) => module.VIRTUAL_MODULES);
|
|
63164
63164
|
return virtualModulesPromise;
|
|
63165
63165
|
}
|
|
63166
63166
|
var _aliases = null;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildModelsDevSeedRows,
|
|
3
3
|
loadModelsDevCache
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-e0pg4zeh.js";
|
|
5
5
|
import {
|
|
6
6
|
createLogEntry,
|
|
7
7
|
getActivePricingRow,
|
|
8
8
|
getDbClient,
|
|
9
9
|
init_db,
|
|
10
10
|
insertPricingRow
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-ge67p080.js";
|
|
12
12
|
import {
|
|
13
13
|
init_secret_scrubber,
|
|
14
14
|
scrubSecrets
|
|
@@ -453,7 +453,7 @@ You MUST use the \`slack-interaction\` skill before you post to Slack.
|
|
|
453
453
|
defaultBody: `
|
|
454
454
|
## Live task steering
|
|
455
455
|
|
|
456
|
-
You may receive steering messages while this task is running. Each one arrives wrapped in a \`[steering <id>]\` marker that carries its steering message ID. Incorporate the message into your current work, then call \`accept-steer\` with that ID. Act on a message before you acknowledge it.
|
|
456
|
+
You may receive steering messages while this task is running. Each one arrives wrapped in a \`[steering <id>]\` marker that carries its steering message ID, followed by the sender name and kind. Incorporate the message into your current work, then call \`accept-steer\` with that ID. Act on a message before you acknowledge it.
|
|
457
457
|
`,
|
|
458
458
|
variables: [],
|
|
459
459
|
category: "system"
|
|
@@ -461,12 +461,13 @@ You may receive steering messages while this task is running. Each one arrives w
|
|
|
461
461
|
registerTemplate({
|
|
462
462
|
eventType: "system.agent.steering.delivery",
|
|
463
463
|
header: "",
|
|
464
|
-
defaultBody: `[steering {{steeringMessageId}}] {{body}}
|
|
464
|
+
defaultBody: `[steering {{steeringMessageId}}] From {{sender}}: {{body}}
|
|
465
465
|
|
|
466
466
|
(Once you have acted on this, call \`accept-steer\` with steeringMessageId "{{steeringMessageId}}".)`,
|
|
467
467
|
variables: [
|
|
468
468
|
{ name: "steeringMessageId", description: "ID of the steering message being delivered" },
|
|
469
|
-
{ name: "body", description: "The steering message text as the sender wrote it" }
|
|
469
|
+
{ name: "body", description: "The steering message text as the sender wrote it" },
|
|
470
|
+
{ name: "sender", description: "Sender name and kind (user, agent, or system)" }
|
|
470
471
|
],
|
|
471
472
|
category: "system"
|
|
472
473
|
});
|
package/dist/cli.js
CHANGED
|
@@ -57,7 +57,7 @@ var import_react = __toESM(require_react(), 1);
|
|
|
57
57
|
// package.json
|
|
58
58
|
var package_default = {
|
|
59
59
|
name: "@desplega.ai/agent-swarm",
|
|
60
|
-
version: "1.
|
|
60
|
+
version: "1.154.0",
|
|
61
61
|
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.",
|
|
62
62
|
keywords: [
|
|
63
63
|
"agent-swarm.dev",
|
|
@@ -98,6 +98,7 @@ var package_default = {
|
|
|
98
98
|
"plugin/commands/",
|
|
99
99
|
"plugin/agents/",
|
|
100
100
|
"plugin/pi-skills/",
|
|
101
|
+
"plugin/opencode-plugins/lib/memory-raters.ts",
|
|
101
102
|
"templates/",
|
|
102
103
|
"vendored-openapi/",
|
|
103
104
|
"openapi.json"
|
|
@@ -734,7 +735,7 @@ function McpServer({ port, apiKey, dbPath }) {
|
|
|
734
735
|
if (dbPath) {
|
|
735
736
|
process.env.DATABASE_PATH = dbPath;
|
|
736
737
|
}
|
|
737
|
-
import("./http-
|
|
738
|
+
import("./http-20jesakk.js").then(() => {
|
|
738
739
|
setStatus("running");
|
|
739
740
|
}).catch((err) => {
|
|
740
741
|
setStatus("error");
|
|
@@ -820,7 +821,7 @@ function WorkerRunner({
|
|
|
820
821
|
}) {
|
|
821
822
|
const { exit } = use_app_default();
|
|
822
823
|
import_react.useEffect(() => {
|
|
823
|
-
import("./worker-
|
|
824
|
+
import("./worker-ec6hvc4m.js").then(({ runWorker }) => runWorker({
|
|
824
825
|
prompt: prompt || undefined,
|
|
825
826
|
yolo,
|
|
826
827
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -837,7 +838,7 @@ function WorkerRunner({
|
|
|
837
838
|
function LeadRunner({ prompt, yolo, systemPrompt, systemPromptFile, additionalArgs }) {
|
|
838
839
|
const { exit } = use_app_default();
|
|
839
840
|
import_react.useEffect(() => {
|
|
840
|
-
import("./lead-
|
|
841
|
+
import("./lead-m789wqa3.js").then(({ runLead }) => runLead({
|
|
841
842
|
prompt: prompt || undefined,
|
|
842
843
|
yolo,
|
|
843
844
|
systemPrompt: systemPrompt || undefined,
|
|
@@ -877,8 +878,8 @@ function LazyComponent({
|
|
|
877
878
|
}
|
|
878
879
|
return import_react.createElement(Component, props);
|
|
879
880
|
}
|
|
880
|
-
var loadOnboard = () => import("./onboard-
|
|
881
|
-
var loadConnect = () => import("./setup-
|
|
881
|
+
var loadOnboard = () => import("./onboard-snckpcj1.js").then(({ Onboard }) => Onboard);
|
|
882
|
+
var loadConnect = () => import("./setup-k1mew5rf.js").then(({ Setup }) => Setup);
|
|
882
883
|
function UnknownCommand({ command }) {
|
|
883
884
|
const { exit } = use_app_default();
|
|
884
885
|
import_react.useEffect(() => {
|
|
@@ -999,14 +1000,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
999
1000
|
}
|
|
1000
1001
|
process.exit(0);
|
|
1001
1002
|
} else if (args.command === "hook") {
|
|
1002
|
-
const { runHook } = await import("./hook-
|
|
1003
|
+
const { runHook } = await import("./hook-vwq8y26p.js");
|
|
1003
1004
|
await runHook();
|
|
1004
1005
|
} else if (args.command === "codex-hook") {
|
|
1005
|
-
const { handleCodexHook } = await import("./codex-hook-
|
|
1006
|
+
const { handleCodexHook } = await import("./codex-hook-8gx7bcz0.js");
|
|
1006
1007
|
await handleCodexHook();
|
|
1007
1008
|
process.exit(0);
|
|
1008
1009
|
} else if (args.command === "session-summary-stdin") {
|
|
1009
|
-
const { runSessionSummaryFromStdin } = await import("./hook-
|
|
1010
|
+
const { runSessionSummaryFromStdin } = await import("./hook-pntw4r8h.js");
|
|
1010
1011
|
await runSessionSummaryFromStdin();
|
|
1011
1012
|
process.exit(process.exitCode ?? 0);
|
|
1012
1013
|
} else if (args.command === "artifact") {
|
|
@@ -1027,7 +1028,7 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1027
1028
|
printHelp("scripts");
|
|
1028
1029
|
process.exit(scriptsArgs[0] === "reembed" || args.showHelp ? 0 : 1);
|
|
1029
1030
|
}
|
|
1030
|
-
const { runScriptsMaintenanceCommand } = await import("./maintenance-
|
|
1031
|
+
const { runScriptsMaintenanceCommand } = await import("./maintenance-bvg6w7e2.js");
|
|
1031
1032
|
await runScriptsMaintenanceCommand(scriptsArgs);
|
|
1032
1033
|
console.log("Scripts re-embedded.");
|
|
1033
1034
|
} else if (args.command === "rbac") {
|
|
@@ -1037,14 +1038,14 @@ ${binName} docs \u2014 v${package_default.version}
|
|
|
1037
1038
|
printHelp("rbac");
|
|
1038
1039
|
process.exit(args.showHelp ? 0 : 1);
|
|
1039
1040
|
}
|
|
1040
|
-
const { runRbacCliCommand } = await import("./rbac-roles-
|
|
1041
|
+
const { runRbacCliCommand } = await import("./rbac-roles-5455kfdn.js");
|
|
1041
1042
|
await runRbacCliCommand(rbacArgs);
|
|
1042
1043
|
} else if (args.command === "codex-login") {
|
|
1043
1044
|
const { runCodexLogin } = await import("./codex-login-vx7ghkzj.js");
|
|
1044
1045
|
const codexLoginArgs = process.argv.slice(process.argv.indexOf("codex-login") + 1);
|
|
1045
1046
|
await runCodexLogin(codexLoginArgs);
|
|
1046
1047
|
} else if (args.command === "codex-session-runner") {
|
|
1047
|
-
const { runCodexSessionRunner } = await import("./codex-session-runner-
|
|
1048
|
+
const { runCodexSessionRunner } = await import("./codex-session-runner-3v8nh4c8.js");
|
|
1048
1049
|
await runCodexSessionRunner();
|
|
1049
1050
|
} else if (args.command === "claude-managed-setup") {
|
|
1050
1051
|
const { runClaudeManagedSetup } = await import("./claude-managed-setup-f5pmsyrp.js");
|
|
@@ -6,28 +6,28 @@ import {
|
|
|
6
6
|
createInProcessCodexSession,
|
|
7
7
|
resolveCodexAuthMode,
|
|
8
8
|
resolveCodexRunnerArgv
|
|
9
|
-
} from "./cli-
|
|
9
|
+
} from "./cli-q85qhckh.js";
|
|
10
10
|
import"./cli-hsxj0yar.js";
|
|
11
11
|
import"./cli-r94z9p1z.js";
|
|
12
12
|
import"./cli-2djtr51b.js";
|
|
13
13
|
import"./cli-b5b30yzk.js";
|
|
14
14
|
import"./cli-zm7njwzd.js";
|
|
15
15
|
import"./cli-e781c6f9.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-fdzg6jhf.js";
|
|
17
17
|
import"./cli-hp1n6zq3.js";
|
|
18
18
|
import"./cli-avkd6mqv.js";
|
|
19
|
-
import"./cli-
|
|
19
|
+
import"./cli-3bkz2p7j.js";
|
|
20
20
|
import"./cli-e7d20cty.js";
|
|
21
21
|
import"./cli-re8z5p8p.js";
|
|
22
22
|
import"./cli-3dpj7atn.js";
|
|
23
|
-
import"./cli-
|
|
23
|
+
import"./cli-8sea27q4.js";
|
|
24
24
|
import"./cli-y89t4nca.js";
|
|
25
25
|
import"./cli-f14fvzag.js";
|
|
26
26
|
import"./cli-bsakbbkm.js";
|
|
27
27
|
import"./cli-ej6gbxfb.js";
|
|
28
28
|
import"./cli-sd0mxa3c.js";
|
|
29
29
|
import"./cli-w5e1d1vv.js";
|
|
30
|
-
import"./cli-
|
|
30
|
+
import"./cli-myaxtgh8.js";
|
|
31
31
|
import"./cli-r2ap2czm.js";
|
|
32
32
|
import"./cli-5b6b62tz.js";
|
|
33
33
|
import"./cli-btbzvq95.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import {
|
|
3
3
|
renderSteeringDelivery
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-71cj99hx.js";
|
|
5
5
|
import {
|
|
6
6
|
getApiKey
|
|
7
7
|
} from "./cli-f14fvzag.js";
|
|
8
8
|
import {
|
|
9
9
|
init_steering_enabled,
|
|
10
10
|
isSteeringEnabled
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-wg04s9kr.js";
|
|
12
12
|
import {
|
|
13
13
|
getMcpBaseUrl,
|
|
14
14
|
init_constants
|
|
@@ -60,7 +60,7 @@ async function collectDeliverableSteering(config, fetchImpl = fetch) {
|
|
|
60
60
|
} catch {
|
|
61
61
|
continue;
|
|
62
62
|
}
|
|
63
|
-
delivered.push(await renderSteeringDelivery(message.id, message.body));
|
|
63
|
+
delivered.push(await renderSteeringDelivery(message.id, message.body, message.senderLabel ?? message.createdByKind));
|
|
64
64
|
}
|
|
65
65
|
return delivered;
|
|
66
66
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createInProcessCodexSession
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-q85qhckh.js";
|
|
4
4
|
import"./cli-hsxj0yar.js";
|
|
5
5
|
import"./cli-r94z9p1z.js";
|
|
6
6
|
import"./cli-2djtr51b.js";
|
|
7
7
|
import"./cli-b5b30yzk.js";
|
|
8
8
|
import"./cli-zm7njwzd.js";
|
|
9
9
|
import"./cli-e781c6f9.js";
|
|
10
|
-
import"./cli-
|
|
10
|
+
import"./cli-fdzg6jhf.js";
|
|
11
11
|
import"./cli-hp1n6zq3.js";
|
|
12
12
|
import"./cli-avkd6mqv.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-3bkz2p7j.js";
|
|
14
14
|
import"./cli-e7d20cty.js";
|
|
15
15
|
import"./cli-re8z5p8p.js";
|
|
16
16
|
import"./cli-3dpj7atn.js";
|
|
17
|
-
import"./cli-
|
|
17
|
+
import"./cli-8sea27q4.js";
|
|
18
18
|
import"./cli-y89t4nca.js";
|
|
19
19
|
import"./cli-f14fvzag.js";
|
|
20
20
|
import"./cli-bsakbbkm.js";
|
|
21
21
|
import"./cli-ej6gbxfb.js";
|
|
22
22
|
import"./cli-sd0mxa3c.js";
|
|
23
23
|
import"./cli-w5e1d1vv.js";
|
|
24
|
-
import"./cli-
|
|
24
|
+
import"./cli-myaxtgh8.js";
|
|
25
25
|
import {
|
|
26
26
|
init_secret_scrubber,
|
|
27
27
|
scrubSecrets
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
getAllAgents,
|
|
3
3
|
getAllTasks,
|
|
4
4
|
init_db
|
|
5
|
-
} from "./cli-
|
|
6
|
-
import"./cli-
|
|
7
|
-
import"./cli-
|
|
8
|
-
import"./cli-
|
|
5
|
+
} from "./cli-ge67p080.js";
|
|
6
|
+
import"./cli-4k7jazkq.js";
|
|
7
|
+
import"./cli-0e31nm4n.js";
|
|
8
|
+
import"./cli-wg04s9kr.js";
|
|
9
9
|
import"./cli-v4en75c5.js";
|
|
10
10
|
import"./cli-dv6cdjs2.js";
|
|
11
11
|
import"./cli-n7h1kqpf.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./cli-ej6gbxfb.js";
|
|
16
16
|
import"./cli-sd0mxa3c.js";
|
|
17
17
|
import"./cli-w5e1d1vv.js";
|
|
18
|
-
import"./cli-
|
|
18
|
+
import"./cli-myaxtgh8.js";
|
|
19
19
|
import"./cli-r2ap2czm.js";
|
|
20
20
|
import"./cli-zf8jjwex.js";
|
|
21
21
|
import"./cli-bc05qbss.js";
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
+
EXTENSION_AGENT_ROLE,
|
|
3
|
+
ExtensionAgentAssignmentError,
|
|
2
4
|
KvTypeCollisionError,
|
|
3
5
|
MAX_EMPTY_POLLS,
|
|
6
|
+
NOT_EXTENSION_AGENT_SQL,
|
|
7
|
+
ReservedAgentRoleError,
|
|
4
8
|
SKILL_FILE_LIMITS,
|
|
5
9
|
UNATTRIBUTED_USER_ID,
|
|
6
10
|
__resetSqliteVecExtensionPathCacheForTests,
|
|
@@ -100,6 +104,7 @@ import {
|
|
|
100
104
|
emitMcpServerConnectedTelemetry,
|
|
101
105
|
ensureSlackDelegationActivation,
|
|
102
106
|
ensureSlackRenderV2Activation,
|
|
107
|
+
extensionAgentAssignmentError,
|
|
103
108
|
failPendingResumeIfUnclaimed,
|
|
104
109
|
failTask,
|
|
105
110
|
findCompletedTaskInThread,
|
|
@@ -227,6 +232,7 @@ import {
|
|
|
227
232
|
getRecentlyCancelledTasksForAgent,
|
|
228
233
|
getRecentlyFinishedWorkerTasks,
|
|
229
234
|
getRemainingCapacity,
|
|
235
|
+
getResolvableDeferralOutcomes,
|
|
230
236
|
getResolvedConfig,
|
|
231
237
|
getRetryableSteps,
|
|
232
238
|
getRootTaskChain,
|
|
@@ -320,6 +326,7 @@ import {
|
|
|
320
326
|
installSkill,
|
|
321
327
|
installSystemDefaultSkillsForAgent,
|
|
322
328
|
isAgentEligibleForTask,
|
|
329
|
+
isExtensionAgent,
|
|
323
330
|
isPendingSlackMessage,
|
|
324
331
|
isPoolAffinityEnforcementEnabled,
|
|
325
332
|
isSqliteVecAvailable,
|
|
@@ -351,6 +358,7 @@ import {
|
|
|
351
358
|
markInboxMessageRead,
|
|
352
359
|
markInboxMessageResponded,
|
|
353
360
|
markKeyRateLimited,
|
|
361
|
+
markSlackDeferralResolved,
|
|
354
362
|
markSlackRelayAttempted,
|
|
355
363
|
markSlackRelayDelivered,
|
|
356
364
|
markSlackTreeRendered,
|
|
@@ -387,6 +395,7 @@ import {
|
|
|
387
395
|
releaseTask,
|
|
388
396
|
replaceTaskAttachment,
|
|
389
397
|
reserveSlackMessage,
|
|
398
|
+
reservedRoleViolation,
|
|
390
399
|
resetEmptyPollCount,
|
|
391
400
|
resetOrphanedInProgressTasksForAgent,
|
|
392
401
|
resetPromptTemplateToDefault,
|
|
@@ -455,30 +464,34 @@ import {
|
|
|
455
464
|
upsertSkillFiles,
|
|
456
465
|
upsertSwarmConfig,
|
|
457
466
|
withFavoriteFlags
|
|
458
|
-
} from "./cli-
|
|
459
|
-
import"./cli-
|
|
467
|
+
} from "./cli-ge67p080.js";
|
|
468
|
+
import"./cli-4k7jazkq.js";
|
|
460
469
|
import {
|
|
461
470
|
generateDefaultClaudeMd,
|
|
462
471
|
generateDefaultIdentityMd,
|
|
463
472
|
generateDefaultSoulMd,
|
|
464
473
|
generateDefaultToolsMd
|
|
465
|
-
} from "./cli-
|
|
466
|
-
import"./cli-
|
|
474
|
+
} from "./cli-0e31nm4n.js";
|
|
475
|
+
import"./cli-wg04s9kr.js";
|
|
467
476
|
import"./cli-v4en75c5.js";
|
|
468
477
|
import"./cli-dv6cdjs2.js";
|
|
469
478
|
import"./cli-n7h1kqpf.js";
|
|
470
479
|
import"./cli-ej6gbxfb.js";
|
|
471
480
|
import"./cli-sd0mxa3c.js";
|
|
472
481
|
import"./cli-w5e1d1vv.js";
|
|
473
|
-
import"./cli-
|
|
482
|
+
import"./cli-myaxtgh8.js";
|
|
474
483
|
import"./cli-r2ap2czm.js";
|
|
475
484
|
import"./cli-zf8jjwex.js";
|
|
476
485
|
import"./cli-bc05qbss.js";
|
|
477
486
|
init_db();
|
|
478
487
|
|
|
479
488
|
export {
|
|
489
|
+
EXTENSION_AGENT_ROLE,
|
|
490
|
+
ExtensionAgentAssignmentError,
|
|
480
491
|
KvTypeCollisionError,
|
|
481
492
|
MAX_EMPTY_POLLS,
|
|
493
|
+
NOT_EXTENSION_AGENT_SQL,
|
|
494
|
+
ReservedAgentRoleError,
|
|
482
495
|
SKILL_FILE_LIMITS,
|
|
483
496
|
UNATTRIBUTED_USER_ID,
|
|
484
497
|
__resetSqliteVecExtensionPathCacheForTests,
|
|
@@ -578,6 +591,7 @@ export {
|
|
|
578
591
|
emitMcpServerConnectedTelemetry,
|
|
579
592
|
ensureSlackDelegationActivation,
|
|
580
593
|
ensureSlackRenderV2Activation,
|
|
594
|
+
extensionAgentAssignmentError,
|
|
581
595
|
failPendingResumeIfUnclaimed,
|
|
582
596
|
failTask,
|
|
583
597
|
findCompletedTaskInThread,
|
|
@@ -709,6 +723,7 @@ export {
|
|
|
709
723
|
getRecentlyCancelledTasksForAgent,
|
|
710
724
|
getRecentlyFinishedWorkerTasks,
|
|
711
725
|
getRemainingCapacity,
|
|
726
|
+
getResolvableDeferralOutcomes,
|
|
712
727
|
getResolvedConfig,
|
|
713
728
|
getRetryableSteps,
|
|
714
729
|
getRootTaskChain,
|
|
@@ -801,6 +816,7 @@ export {
|
|
|
801
816
|
installSkill,
|
|
802
817
|
installSystemDefaultSkillsForAgent,
|
|
803
818
|
isAgentEligibleForTask,
|
|
819
|
+
isExtensionAgent,
|
|
804
820
|
isPendingSlackMessage,
|
|
805
821
|
isPoolAffinityEnforcementEnabled,
|
|
806
822
|
isSqliteVecAvailable,
|
|
@@ -832,6 +848,7 @@ export {
|
|
|
832
848
|
markInboxMessageRead,
|
|
833
849
|
markInboxMessageResponded,
|
|
834
850
|
markKeyRateLimited,
|
|
851
|
+
markSlackDeferralResolved,
|
|
835
852
|
markSlackRelayAttempted,
|
|
836
853
|
markSlackRelayDelivered,
|
|
837
854
|
markSlackTreeRendered,
|
|
@@ -868,6 +885,7 @@ export {
|
|
|
868
885
|
releaseTask,
|
|
869
886
|
replaceTaskAttachment,
|
|
870
887
|
reserveSlackMessage,
|
|
888
|
+
reservedRoleViolation,
|
|
871
889
|
resetEmptyPollCount,
|
|
872
890
|
resetOrphanedInProgressTasksForAgent,
|
|
873
891
|
resetPromptTemplateToDefault,
|
|
@@ -11,46 +11,46 @@ import {
|
|
|
11
11
|
resolveBridgeCallOrigin,
|
|
12
12
|
runContext,
|
|
13
13
|
unregister
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-6r3cgpk2.js";
|
|
15
15
|
import"./cli-0z2v4nhw.js";
|
|
16
|
-
import"./cli-
|
|
16
|
+
import"./cli-3bkz2p7j.js";
|
|
17
17
|
import"./cli-e7d20cty.js";
|
|
18
18
|
import"./cli-re8z5p8p.js";
|
|
19
19
|
import"./cli-3dpj7atn.js";
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
22
|
-
import"./cli-
|
|
23
|
-
import"./cli-
|
|
20
|
+
import"./cli-8sea27q4.js";
|
|
21
|
+
import"./cli-stwsmd6k.js";
|
|
22
|
+
import"./cli-e0pg4zeh.js";
|
|
23
|
+
import"./cli-e31ehqwy.js";
|
|
24
24
|
import"./cli-ytxs7mn1.js";
|
|
25
|
-
import"./cli-
|
|
25
|
+
import"./cli-pf1v8xhb.js";
|
|
26
26
|
import"./cli-epan13p1.js";
|
|
27
27
|
import"./cli-y89t4nca.js";
|
|
28
28
|
import"./cli-f14fvzag.js";
|
|
29
|
-
import"./cli-
|
|
29
|
+
import"./cli-n62atwh9.js";
|
|
30
30
|
import"./cli-bsakbbkm.js";
|
|
31
31
|
import"./cli-fad8m16k.js";
|
|
32
32
|
import"./cli-jsp14b6c.js";
|
|
33
|
-
import"./cli-
|
|
34
|
-
import"./cli-
|
|
35
|
-
import"./cli-
|
|
33
|
+
import"./cli-e3cyf59d.js";
|
|
34
|
+
import"./cli-hws0vn86.js";
|
|
35
|
+
import"./cli-g2h29qar.js";
|
|
36
36
|
import"./cli-aehm1rbq.js";
|
|
37
37
|
import"./cli-51tf7ac3.js";
|
|
38
|
-
import"./cli-
|
|
38
|
+
import"./cli-c1v10xb2.js";
|
|
39
39
|
import"./cli-q51yprfq.js";
|
|
40
40
|
import"./cli-3er6gcsn.js";
|
|
41
41
|
import"./cli-yatxqynm.js";
|
|
42
42
|
import"./cli-2658f6at.js";
|
|
43
|
-
import"./cli-
|
|
44
|
-
import"./cli-
|
|
45
|
-
import"./cli-
|
|
46
|
-
import"./cli-
|
|
43
|
+
import"./cli-ge67p080.js";
|
|
44
|
+
import"./cli-4k7jazkq.js";
|
|
45
|
+
import"./cli-0e31nm4n.js";
|
|
46
|
+
import"./cli-wg04s9kr.js";
|
|
47
47
|
import"./cli-v4en75c5.js";
|
|
48
48
|
import"./cli-dv6cdjs2.js";
|
|
49
49
|
import"./cli-n7h1kqpf.js";
|
|
50
50
|
import"./cli-ej6gbxfb.js";
|
|
51
51
|
import"./cli-sd0mxa3c.js";
|
|
52
52
|
import"./cli-w5e1d1vv.js";
|
|
53
|
-
import"./cli-
|
|
53
|
+
import"./cli-myaxtgh8.js";
|
|
54
54
|
import"./cli-r2ap2czm.js";
|
|
55
55
|
import"./cli-5b6b62tz.js";
|
|
56
56
|
import"./cli-btbzvq95.js";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
DSH_PACKAGE,
|
|
3
3
|
DshAdapter,
|
|
4
4
|
checkDshCredentials
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-95jnpnqg.js";
|
|
6
6
|
import"./cli-r94z9p1z.js";
|
|
7
7
|
import"./cli-3dpj7atn.js";
|
|
8
8
|
import"./cli-y89t4nca.js";
|
|
9
|
-
import"./cli-
|
|
9
|
+
import"./cli-4k7jazkq.js";
|
|
10
10
|
import"./cli-dv6cdjs2.js";
|
|
11
11
|
import"./cli-sd0mxa3c.js";
|
|
12
12
|
import"./cli-w5e1d1vv.js";
|
|
@@ -5,49 +5,49 @@ import {
|
|
|
5
5
|
isUserAllowed,
|
|
6
6
|
registerMessageHandler,
|
|
7
7
|
resetSlackHandlerCachesForTesting
|
|
8
|
-
} from "./cli-
|
|
9
|
-
import"./cli-
|
|
10
|
-
import"./cli-
|
|
11
|
-
import"./cli-
|
|
8
|
+
} from "./cli-acy6bfhr.js";
|
|
9
|
+
import"./cli-913yakhv.js";
|
|
10
|
+
import"./cli-r1d3dzt6.js";
|
|
11
|
+
import"./cli-6r3cgpk2.js";
|
|
12
12
|
import"./cli-0z2v4nhw.js";
|
|
13
|
-
import"./cli-
|
|
13
|
+
import"./cli-3bkz2p7j.js";
|
|
14
14
|
import"./cli-e7d20cty.js";
|
|
15
15
|
import"./cli-re8z5p8p.js";
|
|
16
16
|
import"./cli-3dpj7atn.js";
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
17
|
+
import"./cli-8sea27q4.js";
|
|
18
|
+
import"./cli-stwsmd6k.js";
|
|
19
|
+
import"./cli-e0pg4zeh.js";
|
|
20
|
+
import"./cli-e31ehqwy.js";
|
|
21
21
|
import"./cli-ytxs7mn1.js";
|
|
22
|
-
import"./cli-
|
|
22
|
+
import"./cli-pf1v8xhb.js";
|
|
23
23
|
import"./cli-epan13p1.js";
|
|
24
24
|
import"./cli-y89t4nca.js";
|
|
25
25
|
import"./cli-f14fvzag.js";
|
|
26
|
-
import"./cli-
|
|
26
|
+
import"./cli-n62atwh9.js";
|
|
27
27
|
import"./cli-bsakbbkm.js";
|
|
28
28
|
import"./cli-fad8m16k.js";
|
|
29
29
|
import"./cli-jsp14b6c.js";
|
|
30
|
-
import"./cli-
|
|
31
|
-
import"./cli-
|
|
32
|
-
import"./cli-
|
|
30
|
+
import"./cli-e3cyf59d.js";
|
|
31
|
+
import"./cli-hws0vn86.js";
|
|
32
|
+
import"./cli-g2h29qar.js";
|
|
33
33
|
import"./cli-aehm1rbq.js";
|
|
34
34
|
import"./cli-51tf7ac3.js";
|
|
35
|
-
import"./cli-
|
|
35
|
+
import"./cli-c1v10xb2.js";
|
|
36
36
|
import"./cli-q51yprfq.js";
|
|
37
37
|
import"./cli-3er6gcsn.js";
|
|
38
38
|
import"./cli-yatxqynm.js";
|
|
39
39
|
import"./cli-2658f6at.js";
|
|
40
|
-
import"./cli-
|
|
41
|
-
import"./cli-
|
|
42
|
-
import"./cli-
|
|
43
|
-
import"./cli-
|
|
40
|
+
import"./cli-ge67p080.js";
|
|
41
|
+
import"./cli-4k7jazkq.js";
|
|
42
|
+
import"./cli-0e31nm4n.js";
|
|
43
|
+
import"./cli-wg04s9kr.js";
|
|
44
44
|
import"./cli-v4en75c5.js";
|
|
45
45
|
import"./cli-dv6cdjs2.js";
|
|
46
46
|
import"./cli-n7h1kqpf.js";
|
|
47
47
|
import"./cli-ej6gbxfb.js";
|
|
48
48
|
import"./cli-sd0mxa3c.js";
|
|
49
49
|
import"./cli-w5e1d1vv.js";
|
|
50
|
-
import"./cli-
|
|
50
|
+
import"./cli-myaxtgh8.js";
|
|
51
51
|
import"./cli-r2ap2czm.js";
|
|
52
52
|
import"./cli-5b6b62tz.js";
|
|
53
53
|
import"./cli-btbzvq95.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
materializeClaudeMd,
|
|
4
4
|
stopClaudeMd
|
|
5
|
-
} from "./cli-
|
|
5
|
+
} from "./cli-09y3tjxz.js";
|
|
6
6
|
import {
|
|
7
7
|
summarizeSession
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-fdzg6jhf.js";
|
|
9
9
|
import {
|
|
10
10
|
checkToolLoop,
|
|
11
11
|
clearToolHistory
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
fetchRetrievalsForTask,
|
|
17
17
|
isLlmRaterEnabled,
|
|
18
18
|
postRatings
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-3bkz2p7j.js";
|
|
20
20
|
import"./cli-e7d20cty.js";
|
|
21
21
|
import"./cli-3dpj7atn.js";
|
|
22
|
-
import"./cli-
|
|
22
|
+
import"./cli-8sea27q4.js";
|
|
23
23
|
import {
|
|
24
24
|
getApiKey
|
|
25
25
|
} from "./cli-f14fvzag.js";
|
|
@@ -31,10 +31,10 @@ import {
|
|
|
31
31
|
init_profile_sync,
|
|
32
32
|
readIdentityBaselines,
|
|
33
33
|
warnProfileFileTooLarge
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-g2h29qar.js";
|
|
35
35
|
import"./cli-2658f6at.js";
|
|
36
|
-
import"./cli-
|
|
37
|
-
import"./cli-
|
|
36
|
+
import"./cli-0e31nm4n.js";
|
|
37
|
+
import"./cli-wg04s9kr.js";
|
|
38
38
|
import {
|
|
39
39
|
MAX_PROFILE_FILE_LENGTH,
|
|
40
40
|
getMcpBaseUrl,
|
|
@@ -47,7 +47,7 @@ import"./cli-w5e1d1vv.js";
|
|
|
47
47
|
import {
|
|
48
48
|
init_package,
|
|
49
49
|
package_default
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-myaxtgh8.js";
|
|
51
51
|
import {
|
|
52
52
|
init_secret_scrubber,
|
|
53
53
|
scrubSecrets
|