@desplega.ai/agent-swarm 1.147.0 → 1.149.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 +13 -1
- package/dist/{acp-adapter-9n319wqc.js → acp-adapter-4jncb126.js} +12 -5
- package/dist/{actions-2vxqvpr9.js → actions-31vp3ae7.js} +10 -9
- package/dist/{app-w066xfy0.js → app-1hh67x8w.js} +6 -6
- package/dist/{assistant-kt31dj2h.js → assistant-z66dmz6p.js} +13 -11
- package/dist/{boot-reembed-az5rassp.js → boot-reembed-fqzxxzjh.js} +7 -7
- package/dist/{boot-reembed-j3mm3rfz.js → boot-reembed-wxa8ya0s.js} +8 -8
- package/dist/{boot-scrub-logs-b6h54817.js → boot-scrub-logs-jnyndh79.js} +5 -5
- package/dist/{claude-adapter-w1z04ann.js → claude-adapter-3qpa9w0j.js} +9 -9
- package/dist/{claude-managed-adapter-sactwn31.js → claude-managed-adapter-qvsmh6mv.js} +2 -2
- package/dist/{claude-sdk-session-f0cc1kec.js → claude-sdk-session-2yxgjs5d.js} +9 -9
- package/dist/{cli-y6b6fb76.js → cli-08b07b4r.js} +1 -1
- package/dist/{cli-8fc8de14.js → cli-0z2v4nhw.js} +1 -1
- package/dist/{cli-de14znh8.js → cli-19f354qr.js} +2 -2
- package/dist/{cli-hbv0kq6w.js → cli-2qts1hys.js} +3 -3
- package/dist/{cli-kpv03zhj.js → cli-3apbzgyk.js} +27 -15
- package/dist/{cli-1th1728g.js → cli-3q5ejx9p.js} +2 -2
- package/dist/{cli-d8brzxjb.js → cli-4wtq5jjv.js} +2 -2
- package/dist/{cli-ct0et58h.js → cli-5my3bjsd.js} +1 -1
- package/dist/{cli-cn6mmc7f.js → cli-6664w7y4.js} +1 -1
- package/dist/{cli-yz3djrm0.js → cli-6pqcb4q0.js} +53 -13
- package/dist/{cli-719k9j2c.js → cli-7smrsr25.js} +3 -3
- package/dist/{cli-rw51bq3j.js → cli-9fy6nk6g.js} +1 -1
- package/dist/{cli-zhjmqxzh.js → cli-9hspd3dp.js} +2 -2
- package/dist/{cli-3tgwnf43.js → cli-aae6hz6a.js} +4 -4
- package/dist/{cli-89xfd7f9.js → cli-cr12paw2.js} +5 -5
- package/dist/{cli-b5bq9crk.js → cli-d8ftsp62.js} +8 -8
- package/dist/{cli-4nr988h6.js → cli-e95cx1eb.js} +3 -3
- package/dist/{cli-n8508nre.js → cli-gjhjfeeg.js} +1 -1
- package/dist/{cli-p1d5b073.js → cli-gv88e1vf.js} +1 -1
- package/dist/{cli-rvqz34y5.js → cli-jecc01cb.js} +1 -1
- package/dist/{cli-8v0g1yc8.js → cli-k0cr4kat.js} +1 -1
- package/dist/{cli-mmemxxdc.js → cli-kgz4np97.js} +4 -4
- package/dist/{cli-w9kb3bk1.js → cli-kjwt6hdf.js} +3 -1
- package/dist/{cli-f7dsy61y.js → cli-mnmsfd1w.js} +6 -2
- package/dist/{cli-54wwve05.js → cli-n3dz2942.js} +37 -26
- package/dist/{cli-12fz972k.js → cli-nye12xk5.js} +8 -5
- package/dist/{cli-tzvk9haz.js → cli-phsxnkp6.js} +20 -20
- package/dist/{cli-53s590z8.js → cli-q50ef8g0.js} +1 -1
- package/dist/{cli-f146mn5s.js → cli-qaacms9y.js} +7 -6
- package/dist/{cli-xqcq9y5e.js → cli-r2ap2czm.js} +1 -0
- package/dist/{cli-m8yrsg97.js → cli-sd5pv3b1.js} +3 -3
- package/dist/{cli-0b6y7kxm.js → cli-xm87hzbw.js} +1 -1
- package/dist/{cli-ftht3zzj.js → cli-yab68w40.js} +285 -11
- package/dist/{cli-atcve9y8.js → cli-yb9qhqam.js} +227 -59
- package/dist/{cli-smby5m17.js → cli-ygweqcn4.js} +133 -22
- package/dist/{cli-dttph1bw.js → cli-ykxrnd1q.js} +2 -2
- package/dist/{cli-m9sxbkhm.js → cli-zvz62chv.js} +3 -3
- package/dist/cli.js +16 -14
- package/dist/{codex-adapter-zw4dwsx7.js → codex-adapter-8meawydj.js} +4 -4
- package/dist/{codex-hook-bw8p5nh4.js → codex-hook-hfrt9shr.js} +2 -2
- package/dist/{codex-session-runner-k981s65v.js → codex-session-runner-gjgxyp5j.js} +4 -4
- package/dist/{commands-sykrxx7e.js → commands-hz3nb95f.js} +5 -5
- package/dist/{db-sfbsc8wt.js → db-ggz97zbm.js} +5 -5
- package/dist/{e2b-6hb103d8.js → e2b-p04vmtx0.js} +1 -1
- package/dist/{handlers-0aspcejm.js → handlers-nbzdzn9k.js} +14 -11
- package/dist/{hook-hxccs7m5.js → hook-bks2q1f6.js} +7 -7
- package/dist/{hook-4nvqj2sb.js → hook-kq9wp0ep.js} +8 -8
- package/dist/{http-y06z517d.js → http-hrf77v87.js} +96 -45
- package/dist/{index-tce1rss4.js → index-6nsbg88z.js} +443 -144
- package/dist/{index-x5j894zf.js → index-8hmeg8j1.js} +14 -14
- package/dist/{index-k8znfx0z.js → index-cqtebbhb.js} +13 -13
- package/dist/{index-hssww7kj.js → index-n28pw1zt.js} +15 -15
- package/dist/{keepalive-w733ax66.js → keepalive-dxc12gvg.js} +7 -7
- package/dist/{lead-75bjqa9d.js → lead-yckfn18d.js} +32 -32
- package/dist/{maintenance-w4f1zjck.js → maintenance-6kfb2m5e.js} +8 -8
- package/dist/{oauth-refresh-sweep-wdetky26.js → oauth-refresh-sweep-1x1ac722.js} +6 -6
- package/dist/{onboard-bb5net8s.js → onboard-dcyt1609.js} +4 -3
- package/dist/{opencode-adapter-fef1mrn2.js → opencode-adapter-dce4wskd.js} +2 -2
- package/dist/{otel-impl-0w7c14ap.js → otel-impl-tbk3e5dr.js} +2 -2
- package/dist/{pi-mono-adapter-2has4gnp.js → pi-mono-adapter-zvshk5cj.js} +2 -2
- package/dist/{pricing-refresh-9nzsrgcq.js → pricing-refresh-kaqg567e.js} +7 -7
- package/dist/{rbac-roles-z1jrffbt.js → rbac-roles-ammq6rd2.js} +5 -5
- package/dist/{rbac-roles-r3hqjp09.js → rbac-roles-cf97v1vd.js} +6 -6
- package/dist/{render-v2-vbr89fnb.js → render-v2-80w603vy.js} +6 -6
- package/dist/{seed-pricing-g62hy1pk.js → seed-pricing-zbrn83xv.js} +6 -6
- package/dist/{setup-gnfqnptp.js → setup-fe66kczs.js} +2 -2
- package/dist/{worker-kznxp4qm.js → worker-qmb2d1e2.js} +32 -32
- package/dist/{x-n2phr5vm.js → x-n3e0v3xa.js} +2 -2
- package/openapi.json +46 -4
- package/package.json +3 -1
- package/src/agentmail/handlers.ts +5 -0
- package/src/automation-preflight-alert.ts +41 -0
- package/src/be/automation-preflight.ts +3 -3
- package/src/be/budget-refusal-notify.ts +1 -0
- package/src/be/db/tasks/read.ts +5 -0
- package/src/be/db.ts +132 -2
- package/src/be/migrations/150_deferred_task_waits.sql +18 -0
- package/src/be/migrations/151_repair_scheduled_task_required_params.sql +39 -0
- package/src/be/migrations/152_routing_decisions.sql +44 -0
- package/src/be/scripts/typecheck.ts +33 -22
- package/src/be/seed-scripts/catalog/delegate.ts +5 -1
- package/src/be/seed-skills/bundled-files.generated.json +10 -0
- package/src/be/seed-skills/index.ts +3 -0
- package/src/be/steering.ts +1 -0
- package/src/be/swarm-config-guard.ts +11 -0
- package/src/commands/onboard/steps/post-task.tsx +1 -0
- package/src/github/handlers.ts +9 -0
- package/src/gitlab/handlers.ts +4 -0
- package/src/heartbeat/heartbeat.ts +8 -0
- package/src/http/approval-requests.ts +1 -0
- package/src/http/apps.ts +1 -0
- package/src/http/config.ts +15 -6
- package/src/http/mcp.ts +31 -4
- package/src/http/script-runs.ts +6 -0
- package/src/http/tasks.ts +52 -30
- package/src/integrations/kapso/inbound.ts +1 -0
- package/src/jira/sync.ts +2 -0
- package/src/linear/sync.ts +2 -0
- package/src/prompts/session-templates.ts +29 -15
- package/src/scheduler/deferred-task-waits.ts +123 -0
- package/src/scheduler/schedule-task.ts +42 -0
- package/src/scheduler/scheduler.ts +22 -31
- package/src/script-workflows/workflow-ctx.ts +2 -0
- package/src/scripts-runtime/types/stdlib.d.ts +38 -24
- package/src/scripts-runtime/types/swarm-sdk.d.ts +38 -24
- package/src/server.ts +10 -1
- package/src/slack/actions.ts +1 -0
- package/src/slack/assistant.ts +2 -0
- package/src/slack/handlers.ts +3 -0
- package/src/slack/thread-buffer.ts +2 -0
- package/src/tasks/worker-follow-up.ts +9 -0
- package/src/tests/acp-adapter.test.ts +35 -6
- package/src/tests/acp-session-token.test.ts +67 -0
- package/src/tests/asset-key-api.test.ts +15 -2
- package/src/tests/asset-key-mcp.test.ts +2 -0
- package/src/tests/automation-preflight-alert.test.ts +91 -0
- package/src/tests/claude-worker-parity.test.ts +3 -0
- package/src/tests/config-session-auth.test.ts +143 -0
- package/src/tests/defer-task.test.ts +117 -6
- package/src/tests/deferred-task-wake.test.ts +456 -0
- package/src/tests/heartbeat-reroute-decision.test.ts +1 -0
- package/src/tests/http-api-integration.test.ts +33 -4
- package/src/tests/mcp-input-ergonomics.test.ts +386 -0
- package/src/tests/model-control.test.ts +18 -5
- package/src/tests/opencode-adapter.test.ts +2 -2
- package/src/tests/promote-draft-task-route.test.ts +4 -0
- package/src/tests/prompt-template-session.test.ts +13 -4
- package/src/tests/rbac-wire-e2e.test.ts +2 -2
- package/src/tests/routing-decision-persistence.test.ts +520 -0
- package/src/tests/routing-reason-contract.test.ts +89 -0
- package/src/tests/routing-reason-inventory.test.ts +55 -0
- package/src/tests/schedule-target-type.test.ts +48 -1
- package/src/tests/scheduled-task-required-params-migration.test.ts +182 -0
- package/src/tests/scheduled-tasks.test.ts +9 -5
- package/src/tests/script-connections.test.ts +4 -0
- package/src/tests/script-runs-http.test.ts +31 -0
- package/src/tests/scripts-typecheck.test.ts +11 -0
- package/src/tests/secret-scrubber.test.ts +12 -0
- package/src/tests/send-task-output-schema.test.ts +66 -1
- package/src/tests/send-task-requested-by.test.ts +1 -0
- package/src/tests/send-task-slack-routing-guard.test.ts +2 -0
- package/src/tests/store-progress-blocked-waiting-gate.test.ts +151 -0
- package/src/tests/swarm-tool-result-gate.test.ts +24 -0
- package/src/tests/task-tool-manifest.test.ts +47 -0
- package/src/tests/task-tool-preload-mcp.test.ts +125 -0
- package/src/tests/task-tools-ctx.test.ts +2 -0
- package/src/tests/tool-output-agent-id.test.ts +1 -0
- package/src/tests/ui-followup-lead-delegation.test.ts +6 -1
- package/src/tests/workflow-agent-task.test.ts +24 -1
- package/src/tests/workflow-engine-v2.test.ts +58 -2
- package/src/tools/accept-steer.ts +0 -1
- package/src/tools/defer-task.ts +73 -21
- package/src/tools/memory-get.ts +10 -3
- package/src/tools/memory-rate.ts +19 -7
- package/src/tools/memory-search.ts +2 -1
- package/src/tools/memory-store.ts +25 -5
- package/src/tools/send-task.ts +40 -2
- package/src/tools/skills/skill-publish.ts +1 -0
- package/src/tools/store-progress.ts +78 -4
- package/src/tools/templates.ts +2 -1
- package/src/tools/utils.ts +33 -2
- package/src/types.ts +14 -1
- package/src/utils/acp-session-token.ts +14 -4
- package/src/utils/secret-scrubber.ts +2 -0
- package/src/utils/task-tool-manifest.ts +33 -0
- package/src/workflows/engine.ts +4 -1
- package/src/workflows/executors/agent-task.ts +7 -1
- package/templates/ai-toolbox.manifest.json +6 -1
- package/templates/skills/comms/config.json +18 -0
- package/templates/skills/comms/content.md +74 -0
- package/templates/skills/comms/files/references/ste-rules.md +73 -0
- package/templates/skills/comms/files/references/visual-shapes.md +112 -0
- package/templates/skills/swarm-scripts/SKILL.md +3 -2
- package/templates/skills/swarm-scripts/content.md +3 -2
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
getResumeGeneration,
|
|
12
12
|
repointTrackerSyncBySwarmId,
|
|
13
13
|
resolveLeadOnlyRecoveryAssignment
|
|
14
|
-
} from "./cli-
|
|
14
|
+
} from "./cli-mnmsfd1w.js";
|
|
15
15
|
import {
|
|
16
16
|
isMultiRuntimeEnabled
|
|
17
17
|
} from "./cli-07jd68a1.js";
|
|
18
18
|
import {
|
|
19
19
|
getExecutorRegistry,
|
|
20
20
|
recoverIncompleteRuns
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-6pqcb4q0.js";
|
|
22
22
|
import {
|
|
23
23
|
MAX_EMPTY_POLLS,
|
|
24
24
|
assignUnassignedTaskPending,
|
|
@@ -61,17 +61,17 @@ import {
|
|
|
61
61
|
releaseStaleReviewingTasks,
|
|
62
62
|
supersedeTask,
|
|
63
63
|
updateAgentStatus
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-yab68w40.js";
|
|
65
65
|
import {
|
|
66
66
|
init_registry,
|
|
67
67
|
init_resolver,
|
|
68
68
|
registerTemplate,
|
|
69
69
|
resolveTemplate
|
|
70
|
-
} from "./cli-
|
|
70
|
+
} from "./cli-3apbzgyk.js";
|
|
71
71
|
import {
|
|
72
72
|
init_secret_scrubber,
|
|
73
73
|
scrubSecrets
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-r2ap2czm.js";
|
|
75
75
|
|
|
76
76
|
// src/heartbeat/heartbeat.ts
|
|
77
77
|
init_db();
|
|
@@ -519,6 +519,7 @@ async function runRebootSweep() {
|
|
|
519
519
|
const retryTask = await createTaskExtended(task.task, {
|
|
520
520
|
parentTaskId: task.id,
|
|
521
521
|
agentId: preferredAgentId,
|
|
522
|
+
routingReason: preferredAgentId === undefined ? undefined : preferredAgentId === task.agentId ? "continuity" : "reroute_fault",
|
|
522
523
|
tags,
|
|
523
524
|
priority: task.priority,
|
|
524
525
|
source: task.source,
|
|
@@ -891,6 +892,7 @@ async function checkHeartbeatChecklist() {
|
|
|
891
892
|
return;
|
|
892
893
|
await createTaskExtended(result.text, {
|
|
893
894
|
agentId: lead.id,
|
|
895
|
+
routingReason: "skill",
|
|
894
896
|
taskType: "heartbeat-checklist",
|
|
895
897
|
tags: ["checklist", "auto-generated"],
|
|
896
898
|
priority: 60
|
|
@@ -1025,6 +1027,7 @@ async function createBootTriageTask() {
|
|
|
1025
1027
|
return;
|
|
1026
1028
|
await createTaskExtended(result.text, {
|
|
1027
1029
|
agentId: lead.id,
|
|
1030
|
+
routingReason: "skill",
|
|
1028
1031
|
taskType: "boot-triage",
|
|
1029
1032
|
tags: ["boot", "triage", "auto-generated"],
|
|
1030
1033
|
priority: 70
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderSteeringDelivery
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-xm87hzbw.js";
|
|
4
4
|
import {
|
|
5
5
|
checkCodexCredentials,
|
|
6
6
|
codexUserHome
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-e95cx1eb.js";
|
|
8
8
|
import {
|
|
9
9
|
checkClaudeManagedCredentials
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-6664w7y4.js";
|
|
11
11
|
import {
|
|
12
12
|
checkDevinCredentials
|
|
13
13
|
} from "./cli-9b13ggd1.js";
|
|
14
14
|
import {
|
|
15
15
|
checkOpencodeCredentials
|
|
16
|
-
} from "./cli-
|
|
16
|
+
} from "./cli-5my3bjsd.js";
|
|
17
17
|
import {
|
|
18
18
|
renderMemoriesPrompt,
|
|
19
19
|
resolveScriptsOnlyMode,
|
|
20
20
|
writeSkillsToFilesystem
|
|
21
|
-
} from "./cli-
|
|
21
|
+
} from "./cli-yb9qhqam.js";
|
|
22
22
|
import {
|
|
23
23
|
checkClaudeCredentials
|
|
24
|
-
} from "./cli-
|
|
24
|
+
} from "./cli-7smrsr25.js";
|
|
25
25
|
import {
|
|
26
26
|
MAX_RATE_LIMIT_RESET_MS,
|
|
27
27
|
isCodexCreditsExhaustedMessage,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
} from "./cli-s25avqg9.js";
|
|
35
35
|
import {
|
|
36
36
|
validateJsonSchema
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-6pqcb4q0.js";
|
|
38
38
|
import {
|
|
39
39
|
authJsonToCredentialSelection,
|
|
40
40
|
credentialsToAuthJson,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
syncProfileFilesToServer,
|
|
62
62
|
writeIdentityBaselines,
|
|
63
63
|
writeProfileFileFromDb
|
|
64
|
-
} from "./cli-
|
|
64
|
+
} from "./cli-zvz62chv.js";
|
|
65
65
|
import {
|
|
66
66
|
ensure,
|
|
67
67
|
initOtel,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
startSpan,
|
|
72
72
|
withSpan,
|
|
73
73
|
withSpanContext
|
|
74
|
-
} from "./cli-
|
|
74
|
+
} from "./cli-d8ftsp62.js";
|
|
75
75
|
import {
|
|
76
76
|
init_task_attachment_links,
|
|
77
77
|
taskAttachmentFetchCommand
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
init_types,
|
|
84
84
|
resolveTaskModelSelection,
|
|
85
85
|
telemetry
|
|
86
|
-
} from "./cli-
|
|
86
|
+
} from "./cli-yab68w40.js";
|
|
87
87
|
import {
|
|
88
88
|
generateDefaultClaudeMd,
|
|
89
89
|
generateDefaultIdentityMd,
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
init_base_prompt,
|
|
94
94
|
init_defaults,
|
|
95
95
|
init_templates
|
|
96
|
-
} from "./cli-
|
|
96
|
+
} from "./cli-08b07b4r.js";
|
|
97
97
|
import {
|
|
98
98
|
configureHttpResolver,
|
|
99
99
|
init_resolver,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
interpolate,
|
|
103
103
|
isSteeringEnabled,
|
|
104
104
|
resolveTemplateAsync
|
|
105
|
-
} from "./cli-
|
|
105
|
+
} from "./cli-3apbzgyk.js";
|
|
106
106
|
import {
|
|
107
107
|
getMcpBaseUrl,
|
|
108
108
|
init_constants
|
|
@@ -114,7 +114,7 @@ import {
|
|
|
114
114
|
import {
|
|
115
115
|
init_secret_scrubber,
|
|
116
116
|
scrubSecrets
|
|
117
|
-
} from "./cli-
|
|
117
|
+
} from "./cli-r2ap2czm.js";
|
|
118
118
|
import {
|
|
119
119
|
__require
|
|
120
120
|
} from "./cli-bc05qbss.js";
|
|
@@ -151,19 +151,19 @@ async function materializeCodexAuthJson(_slot, creds, deps = {}) {
|
|
|
151
151
|
async function createProviderAdapter(provider) {
|
|
152
152
|
switch (provider) {
|
|
153
153
|
case "claude": {
|
|
154
|
-
const { ClaudeAdapter } = await import("./claude-adapter-
|
|
154
|
+
const { ClaudeAdapter } = await import("./claude-adapter-3qpa9w0j.js");
|
|
155
155
|
return new ClaudeAdapter;
|
|
156
156
|
}
|
|
157
157
|
case "pi": {
|
|
158
|
-
const { PiMonoAdapter } = await import("./pi-mono-adapter-
|
|
158
|
+
const { PiMonoAdapter } = await import("./pi-mono-adapter-zvshk5cj.js");
|
|
159
159
|
return new PiMonoAdapter;
|
|
160
160
|
}
|
|
161
161
|
case "codex": {
|
|
162
|
-
const { CodexAdapter } = await import("./codex-adapter-
|
|
162
|
+
const { CodexAdapter } = await import("./codex-adapter-8meawydj.js");
|
|
163
163
|
return new CodexAdapter;
|
|
164
164
|
}
|
|
165
165
|
case "claude-managed": {
|
|
166
|
-
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-
|
|
166
|
+
const { ClaudeManagedAdapter } = await import("./claude-managed-adapter-qvsmh6mv.js");
|
|
167
167
|
return new ClaudeManagedAdapter;
|
|
168
168
|
}
|
|
169
169
|
case "devin": {
|
|
@@ -171,11 +171,11 @@ async function createProviderAdapter(provider) {
|
|
|
171
171
|
return new DevinAdapter;
|
|
172
172
|
}
|
|
173
173
|
case "opencode": {
|
|
174
|
-
const { OpencodeAdapter } = await import("./opencode-adapter-
|
|
174
|
+
const { OpencodeAdapter } = await import("./opencode-adapter-dce4wskd.js");
|
|
175
175
|
return new OpencodeAdapter;
|
|
176
176
|
}
|
|
177
177
|
case "acp": {
|
|
178
|
-
const { ACPAdapter } = await import("./acp-adapter-
|
|
178
|
+
const { ACPAdapter } = await import("./acp-adapter-4jncb126.js");
|
|
179
179
|
return new ACPAdapter;
|
|
180
180
|
}
|
|
181
181
|
default:
|
|
@@ -588,7 +588,7 @@ var CREDENTIAL_PROVIDER_CHECKERS = {
|
|
|
588
588
|
devin: (env) => checkDevinCredentials(env),
|
|
589
589
|
opencode: (env, opts) => checkOpencodeCredentials(env, opts),
|
|
590
590
|
pi: async (env, opts) => {
|
|
591
|
-
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-
|
|
591
|
+
const { checkPiMonoCredentials } = await import("./pi-mono-adapter-zvshk5cj.js");
|
|
592
592
|
return checkPiMonoCredentials(env, opts);
|
|
593
593
|
},
|
|
594
594
|
acp: () => ({ ready: true, missing: [], satisfiedBy: "sdk-delegated" })
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createAdditiveBuffer,
|
|
3
3
|
extractSlackMessageText
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-kgz4np97.js";
|
|
5
5
|
import {
|
|
6
6
|
rewriteSlackMentions
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-ykxrnd1q.js";
|
|
8
8
|
import {
|
|
9
9
|
createTaskWithSiblingAwareness
|
|
10
|
-
} from "./cli-
|
|
10
|
+
} from "./cli-q50ef8g0.js";
|
|
11
11
|
import {
|
|
12
12
|
buildBufferFlushBlocks,
|
|
13
13
|
ensureSlackThreadTree,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getSlackApp,
|
|
17
17
|
isSlackRenderV2Enabled,
|
|
18
18
|
registerTreeMessage
|
|
19
|
-
} from "./cli-
|
|
19
|
+
} from "./cli-d8ftsp62.js";
|
|
20
20
|
import {
|
|
21
21
|
createLogEntry,
|
|
22
22
|
getAgentById,
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
init_steering,
|
|
30
30
|
requestSteering,
|
|
31
31
|
slackContextKey
|
|
32
|
-
} from "./cli-
|
|
32
|
+
} from "./cli-yab68w40.js";
|
|
33
33
|
import {
|
|
34
34
|
init_steering_enabled,
|
|
35
35
|
isSteeringEnabled
|
|
36
|
-
} from "./cli-
|
|
36
|
+
} from "./cli-3apbzgyk.js";
|
|
37
37
|
|
|
38
38
|
// src/slack/event-dedup.ts
|
|
39
39
|
var DEFAULT_TTL_MS = 300000;
|
|
@@ -253,6 +253,7 @@ ${description}` : description;
|
|
|
253
253
|
const mostRecentTask = await getMostRecentTaskInThread(channelId, threadTs);
|
|
254
254
|
const task = await createTaskWithSiblingAwareness(fullDescription, {
|
|
255
255
|
agentId: lead?.id,
|
|
256
|
+
routingReason: lead && mostRecentTask?.agentId === lead.id ? "continuity" : lead ? "skill" : undefined,
|
|
256
257
|
source: "slack",
|
|
257
258
|
slackChannelId: channelId,
|
|
258
259
|
slackThreadTs: threadTs,
|
|
@@ -164,6 +164,7 @@ var init_secret_scrubber = __esm(() => {
|
|
|
164
164
|
TOKEN_REGEXES = [
|
|
165
165
|
{ name: "github_pat", re: /github_pat_[A-Za-z0-9_]{20,}/g },
|
|
166
166
|
{ name: "github_token", re: new RegExp(String.raw`${TB}gh[pousr]_[A-Za-z0-9]{20,}\b`, "g") },
|
|
167
|
+
{ name: "acp_session_token", re: new RegExp(String.raw`${TB}aseph_[A-Za-z0-9]{20,}\b`, "g") },
|
|
167
168
|
{ name: "gitlab_pat", re: new RegExp(String.raw`${TB}glpat-[A-Za-z0-9_-]{20,}\b`, "g") },
|
|
168
169
|
{ name: "anthropic_key", re: new RegExp(String.raw`${TB}sk-ant-[A-Za-z0-9_-]{20,}\b`, "g") },
|
|
169
170
|
{ name: "openai_proj_key", re: new RegExp(String.raw`${TB}sk-proj-[A-Za-z0-9_-]{20,}\b`, "g") },
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildModelsDevSeedRows,
|
|
3
3
|
loadModelsDevCache
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-9fy6nk6g.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-yab68w40.js";
|
|
12
12
|
import {
|
|
13
13
|
init_secret_scrubber,
|
|
14
14
|
scrubSecrets
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-r2ap2czm.js";
|
|
16
16
|
|
|
17
17
|
// src/be/pricing-refresh.ts
|
|
18
18
|
init_secret_scrubber();
|