@desplega.ai/agent-swarm 1.171.0 → 1.172.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{acp-adapter-1z9p3fvx.js → acp-adapter-fpecx1g1.js} +23 -5
- package/dist/{actions-rc2yjk8a.js → actions-pw87a1a8.js} +24 -25
- package/dist/{amp-adapter-ypyf5s1x.js → amp-adapter-8jem2bc0.js} +1 -1
- package/dist/{anthropic-messages-etkbxhhy.js → anthropic-messages-8ee2f22q.js} +55 -22
- package/dist/{app-04ab2s0z.js → app-wmf0m843.js} +7 -8
- package/dist/{assistant-vhmjd8wf.js → assistant-emp1e108.js} +26 -27
- package/dist/{azure-openai-responses-xap57x4b.js → azure-openai-responses-ap1gwxgr.js} +3 -3
- package/dist/{boot-reembed-3p0m259x.js → boot-reembed-1de4f4aj.js} +6 -7
- package/dist/{boot-reembed-wew3gwk8.js → boot-reembed-4ymn9atn.js} +6 -7
- package/dist/{boot-scrub-sweep-5ytwtq24.js → boot-scrub-sweep-adhk1s8c.js} +7 -8
- package/dist/{boot-seeds-s8p2xry8.js → boot-seeds-8q637aew.js} +9 -10
- package/dist/{claude-adapter-akrzg6jh.js → claude-adapter-t26cv8a4.js} +16 -17
- package/dist/{claude-managed-adapter-kqqqhp2q.js → claude-managed-adapter-xgxhqrt2.js} +2 -2
- package/dist/{claude-sdk-session-exq1jadx.js → claude-sdk-session-gsfsh662.js} +16 -17
- package/dist/{cli-n8ybnv1k.js → cli-04emfe2q.js} +1 -1
- package/dist/{cli-w0bwte75.js → cli-104zsxba.js} +2 -1
- package/dist/{cli-x6z90nq9.js → cli-19njxg5g.js} +2 -4
- package/dist/{cli-8mr695sb.js → cli-1hgat6pa.js} +5 -5
- package/dist/{cli-1qtgd1h1.js → cli-1m2xxxe2.js} +2 -2
- package/dist/{cli-231av4y6.js → cli-1x7da0de.js} +2 -4
- package/dist/{cli-x3fy2tgp.js → cli-388egyf6.js} +1 -1
- package/dist/{cli-j0w59p15.js → cli-4fnb6884.js} +4 -4
- package/dist/{cli-y1j1ggbf.js → cli-4nz8p1p5.js} +1372 -588
- package/dist/{cli-s88my3br.js → cli-5rv1j9ga.js} +6 -6
- package/dist/{cli-mn8qkd8v.js → cli-61625k3x.js} +1 -1
- package/dist/{cli-mzj3aqac.js → cli-6jb2rf77.js} +3 -3
- package/dist/{cli-ec7hrgqp.js → cli-8hzfb6xz.js} +8 -8
- package/dist/{cli-n805bb98.js → cli-8vs9trd4.js} +1 -1
- package/dist/{cli-xf713zz0.js → cli-9fxpr83v.js} +1 -1
- package/dist/{cli-q1vnz8wv.js → cli-9s17naqf.js} +1 -1
- package/dist/{cli-nkjwe4z7.js → cli-9xsmdpdt.js} +59 -54
- package/dist/{cli-6xxxb8qt.js → cli-aspcaef3.js} +5 -5
- package/dist/cli-bf7485pm.js +514 -0
- package/dist/{cli-s9y81s7j.js → cli-bt8k5h3s.js} +625 -150
- package/dist/{cli-jxsgrnmq.js → cli-c2pq2rjb.js} +2 -2
- package/dist/{cli-13xwcqvj.js → cli-c5km5znr.js} +2 -2
- package/dist/{cli-5y67yrt6.js → cli-cceskcvt.js} +112 -176
- package/dist/{cli-ph3145b7.js → cli-cf69s3ew.js} +4 -4
- package/dist/{cli-k2v5x13t.js → cli-d603qf86.js} +1 -1
- package/dist/{cli-r455yd58.js → cli-e0a9sk00.js} +1 -1
- package/dist/{cli-cgj4hc12.js → cli-eh1ytktb.js} +1872 -190
- package/dist/{cli-erbp6b4g.js → cli-esnpehf5.js} +7 -8
- package/dist/cli-ev91t6xp.js +148 -0
- package/dist/{cli-e2prcx5m.js → cli-fdvbjtbw.js} +235 -5
- package/dist/{cli-62bwwc2q.js → cli-g4f5pj26.js} +3 -3
- package/dist/{cli-tg8q0b5y.js → cli-g6t9texm.js} +5 -5
- package/dist/{cli-p2pjfq1r.js → cli-gj81e47t.js} +1 -1
- package/dist/{cli-srmej5tp.js → cli-gp1rtyvk.js} +2 -2
- package/dist/{cli-rb9m6rpe.js → cli-h6vtvt5c.js} +139 -1
- package/dist/cli-hd27d2md.js +1057 -0
- package/dist/{cli-hsk5gd15.js → cli-hwwvy36w.js} +3 -3
- package/dist/{cli-2rbt7at8.js → cli-hz99wfxp.js} +1 -1
- package/dist/cli-j1pmc07z.js +706 -0
- package/dist/{cli-01qndrvw.js → cli-j6kpj9az.js} +14 -8
- package/dist/{cli-2qbs2tvf.js → cli-k46r9hmk.js} +6 -6
- package/dist/{cli-wfvedq5w.js → cli-kb4ehzx5.js} +5 -5
- package/dist/{cli-agamgm0p.js → cli-mvzyxwg3.js} +1 -1
- package/dist/{cli-280gnz4v.js → cli-nv4zd0b9.js} +1 -1
- package/dist/{cli-rrbctenq.js → cli-nyhb1r6x.js} +3 -5
- package/dist/{cli-g7k7zbcz.js → cli-p7z6q2m6.js} +2 -1
- package/dist/{cli-yn0a417a.js → cli-phre6gz0.js} +22 -4
- package/dist/{cli-m4csbs67.js → cli-pj6x9qce.js} +1 -1
- package/dist/{cli-w0zx9ya1.js → cli-prrt9fa0.js} +4 -4
- package/dist/{cli-ctret352.js → cli-pstq9888.js} +33 -33
- package/dist/{cli-y195hv1a.js → cli-pxeeyc53.js} +1 -1
- package/dist/{cli-4bm25xtw.js → cli-qsztpfry.js} +1 -1
- package/dist/{cli-5t5my0h8.js → cli-qybkr9n3.js} +278 -1267
- package/dist/{cli-xezn9nkh.js → cli-r44t9wqc.js} +29 -472
- package/dist/{cli-x207g4w1.js → cli-r8smj8b8.js} +1 -1
- package/dist/{cli-bxqez1p0.js → cli-rcp5aqdw.js} +9 -39
- package/dist/{cli-vr5avem2.js → cli-smcrrmhy.js} +14 -18
- package/dist/{cli-0d2rqhvq.js → cli-tgpfnm6r.js} +15 -17
- package/dist/cli-vb8g5x02.js +549 -0
- package/dist/{cli-gt4hxb8p.js → cli-vv0qtfpx.js} +1 -2
- package/dist/{cli-95zs84qw.js → cli-wd0hz6ah.js} +671 -388
- package/dist/{cli-nkqjj42q.js → cli-x4m6feqt.js} +1 -1
- package/dist/{cli-x61srfpp.js → cli-xczpdp9e.js} +2 -2
- package/dist/cli-z1kd834t.js +36 -0
- package/dist/{cli-p8f7dqgt.js → cli-ztrv9y21.js} +48 -33
- package/dist/cli.js +24 -25
- package/dist/{cloudflare-workers-ai-system-one-sta45jf9.js → cloudflare-workers-ai-system-one-vnpyfr7e.js} +3 -3
- package/dist/{codex-adapter-9ag75whm.js → codex-adapter-m4tgdysy.js} +12 -12
- package/dist/{codex-hook-7ba15hjd.js → codex-hook-xch6z5wt.js} +2 -3
- package/dist/{codex-session-runner-9fp7y4cf.js → codex-session-runner-ymwzm6ea.js} +12 -12
- package/dist/{commands-d7eah0y9.js → commands-n0hshcvs.js} +6 -7
- package/dist/{controllers-connect-8t0k65x2.js → controllers-connect-y07cqcvy.js} +24 -25
- package/dist/{cursor-adapter-t4pr1m3c.js → cursor-adapter-q8pgv5qa.js} +2 -3
- package/dist/{db-sp39qv72.js → db-4w7tmt1g.js} +6 -7
- package/dist/{db-2rmd23wq.js → db-hkqvrdcb.js} +7 -8
- package/dist/{dispatcher-g7fsybsd.js → dispatcher-5sd69y14.js} +23 -24
- package/dist/{easter-egg-3d-66zxervv.js → easter-egg-3d-m8rvz40s.js} +4 -3
- package/dist/execute-107xtsp1.js +3745 -0
- package/dist/{google-generative-ai-pvhm0dq1.js → google-generative-ai-7pavrbv7.js} +3 -3
- package/dist/{google-vertex-tek9sqe2.js → google-vertex-3f1jk41f.js} +3 -3
- package/dist/{grok-adapter-1err1me7.js → grok-adapter-8m9yqzbq.js} +24 -6
- package/dist/{handlers-c7yggm37.js → handlers-s20xr10r.js} +26 -27
- package/dist/{heartbeat-dkm924fk.js → heartbeat-3k31q4g2.js} +25 -26
- package/dist/{hook-wgx4exw6.js → hook-gdn6a2fn.js} +13 -14
- package/dist/{hook-g8e7sfnf.js → hook-ygwerrdh.js} +14 -15
- package/dist/{http-1d23k928.js → http-jdteeg81.js} +53 -55
- package/dist/{index-y5vvczrs.js → index-6ksewd5y.js} +20 -18
- package/dist/{index-kkeftv5h.js → index-82rk11v7.js} +4 -4
- package/dist/{index-gm10tmye.js → index-e0snym4t.js} +23 -24
- package/dist/{index-vertaxs1.js → index-ffqzqgwb.js} +6 -7
- package/dist/{index-q7cj9bn2.js → index-tsszt7g9.js} +25 -26
- package/dist/{index-w097eg0x.js → index-vccv018g.js} +1 -1
- package/dist/{index-va4zbvzp.js → index-vm3bm9t7.js} +24 -25
- package/dist/{keepalive-1jc5e7ct.js → keepalive-jekc896t.js} +8 -9
- package/dist/{lead-yxw2f1sg.js → lead-4k9s9szx.js} +40 -41
- package/dist/{maintenance-h7w2m10y.js → maintenance-shazch4n.js} +6 -7
- package/dist/{mistral-conversations-rjxa9s1j.js → mistral-conversations-vjc1ggpd.js} +29 -15
- package/dist/{oauth-refresh-sweep-wh9ypd1b.js → oauth-refresh-sweep-5gb36kn8.js} +7 -8
- package/dist/{onboard-dfr9j762.js → onboard-ydrbnvww.js} +2 -2
- package/dist/{openai-codex-responses-pgvtddvv.js → openai-codex-responses-33qhkkdy.js} +7 -39
- package/dist/{openai-completions-44gb0zsk.js → openai-completions-s88xm3ns.js} +2 -2
- package/dist/{openai-decisions-vj9nkpf8.js → openai-decisions-fctnj8xd.js} +2 -2
- package/dist/{openai-responses-9dyzwzkr.js → openai-responses-7xd2f2e2.js} +3 -3
- package/dist/opencode-adapter-5zh0he20.js +55 -0
- package/dist/{otel-impl-and31m5s.js → otel-impl-6pf5cv86.js} +1 -1
- package/dist/{pi-mono-adapter-fx6k5wwh.js → pi-mono-adapter-ef9wwx9m.js} +25 -500
- package/dist/{pricing-refresh-23zr6j3w.js → pricing-refresh-s52nsa5q.js} +8 -9
- package/dist/{rbac-roles-wnx35x4x.js → rbac-roles-aq3msh4e.js} +6 -7
- package/dist/{rbac-roles-nc7k9d0t.js → rbac-roles-q5gb5e8v.js} +7 -8
- package/dist/{render-v2-81cg1y52.js → render-v2-pd1rg54q.js} +7 -8
- package/dist/{resume-d4b6j2n2.js → resume-gw4a2c6v.js} +14 -15
- package/dist/{runtime-h9ha1mq6.js → runtime-qfry88v2.js} +4 -7
- package/dist/{setup-g68r1w28.js → setup-jda1ksdh.js} +2 -2
- package/dist/{typesafe-system-one-e988vty7.js → typesafe-system-one-zzzcx4s3.js} +3 -3
- package/dist/{virtual-modules-rdjmcg7q.js → virtual-modules-b3ga2m65.js} +13 -12
- package/dist/{work-objects-0zzdnbt9.js → work-objects-tb7ycye8.js} +26 -27
- package/dist/{worker-p1g8qm6h.js → worker-njjccz5d.js} +40 -41
- package/openapi.json +1 -1
- package/package.json +7 -8
- package/src/be/scripts/extract-schema.ts +4 -0
- package/src/github/handlers.ts +61 -18
- package/src/github/types.ts +2 -1
- package/src/prompts/goal-reminder.ts +30 -0
- package/src/prompts/session-templates.ts +22 -0
- package/src/providers/acp-targets.ts +3 -4
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/harness-version.ts +0 -1
- package/src/providers/opencode-adapter.ts +442 -723
- package/src/providers/opencode-swarm-plugin.ts +88 -0
- package/src/providers/pi-mono-extension.ts +58 -37
- package/src/scripts-runtime/executors/native.ts +6 -5
- package/src/scripts-runtime/executors/quickjs-bundle.ts +18 -11
- package/src/scripts-runtime/extract-args-schema.ts +22 -4
- package/src/scripts-runtime/import-allowlist.ts +1 -1
- package/src/scripts-runtime/zod-mini-bundle.ts +5 -0
- package/src/slack/render-v2.ts +2 -2
- package/src/tests/entrypoint-acp-target-binary.test.ts +19 -1
- package/src/tests/github-handlers-inline-comments.test.ts +131 -2
- package/src/tests/github-handlers-reactions.test.ts +9 -0
- package/src/tests/harness-version.test.ts +0 -20
- package/src/tests/opencode-adapter.test.ts +536 -1389
- package/src/tests/opencode-mcp-admission-sdk.test.ts +106 -0
- package/src/tests/opencode-swarm-plugin.test.ts +130 -0
- package/src/tests/pi-mono-extension.test.ts +59 -0
- package/src/tests/prompt-template-session.test.ts +4 -3
- package/src/tests/provider-registration.test.ts +3 -0
- package/src/tests/script-executor-quickjs.test.ts +17 -12
- package/src/tests/scripts-http.test.ts +24 -16
- package/src/tests/scripts-import-allowlist.test.ts +1 -1
- package/src/tests/scripts-runtime.test.ts +78 -40
- package/src/tests/seed-scripts.test.ts +13 -0
- package/src/tests/slack-render-v2.test.ts +4 -2
- package/src/tests/ui-logs-parser.test.ts +28 -0
- package/src/tools/script-upsert.ts +1 -1
- package/src/utils/memory-raters.ts +7 -3
- package/src/utils/openrouter-base-url.ts +0 -2
- package/templates/schedules/weekly-harness-upgrade-check/content.md +4 -6
- package/templates/skills/heartbeat-runbook/content.md +2 -0
- package/templates/skills/swarm-scripts/SKILL.md +1 -0
- package/templates/skills/swarm-scripts/content.md +1 -0
- package/dist/cli-5bfdm1ah.js +0 -462
- package/dist/cli-5c2j5yvx.js +0 -222
- package/dist/cli-rhy7z1rp.js +0 -532
- package/dist/cli-ywh2a87k.js +0 -2359
- package/dist/execute-h4jgevyw.js +0 -1387
- package/dist/opencode-adapter-f1zby94p.js +0 -34
- package/plugin/opencode-plugins/lib/memory-raters.ts +0 -7
- package/src/tests/opencode-plugin.test.ts +0 -580
- package/src/tests/providers/opencode-cost.test.ts +0 -74
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
instantFlush,
|
|
6
6
|
requestSlackThreadSteering,
|
|
7
7
|
wasEventSeen
|
|
8
|
-
} from "./cli-
|
|
8
|
+
} from "./cli-1hgat6pa.js";
|
|
9
9
|
import {
|
|
10
10
|
enrichSlackUserEmail,
|
|
11
11
|
resolveSlackUserId,
|
|
12
12
|
rewriteSlackMentions
|
|
13
|
-
} from "./cli-
|
|
13
|
+
} from "./cli-hwwvy36w.js";
|
|
14
14
|
import {
|
|
15
15
|
TaskCreationBlockedError,
|
|
16
16
|
broadcastMatches,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
hasOtherUserMention,
|
|
24
24
|
notifySlackFileFailures,
|
|
25
25
|
routeMessage
|
|
26
|
-
} from "./cli-
|
|
26
|
+
} from "./cli-ztrv9y21.js";
|
|
27
27
|
import {
|
|
28
28
|
ackSlackMessage,
|
|
29
29
|
buildTreeBlocks,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
noteSlackInboundSideEffect,
|
|
35
35
|
registerTreeMessage,
|
|
36
36
|
reportSlackInboundFailure
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-9xsmdpdt.js";
|
|
38
38
|
import {
|
|
39
39
|
getAgentById,
|
|
40
40
|
getAgentWorkingOnThread,
|
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
isExtensionAgent,
|
|
48
48
|
reactionName,
|
|
49
49
|
slackContextKey
|
|
50
|
-
} from "./cli-
|
|
50
|
+
} from "./cli-tgpfnm6r.js";
|
|
51
51
|
import {
|
|
52
52
|
init_resolver,
|
|
53
53
|
resolveTemplate
|
|
54
|
-
} from "./cli-
|
|
54
|
+
} from "./cli-fdvbjtbw.js";
|
|
55
55
|
import {
|
|
56
56
|
init_zod
|
|
57
57
|
} from "./cli-sd0mxa3c.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
seedPricingFromModelsDev
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-r8smj8b8.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureRbacSeedsSynced,
|
|
6
6
|
init_rbac_roles
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-qsztpfry.js";
|
|
8
8
|
import {
|
|
9
9
|
getDb,
|
|
10
10
|
init_db1 as init_db
|
|
11
|
-
} from "./cli-
|
|
11
|
+
} from "./cli-tgpfnm6r.js";
|
|
12
12
|
|
|
13
13
|
// src/be/boot-seeds.ts
|
|
14
14
|
init_db();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
remediateStalledRuntime
|
|
3
|
-
} from "./cli-
|
|
3
|
+
} from "./cli-prrt9fa0.js";
|
|
4
4
|
import {
|
|
5
5
|
REBOOT_RETRY_PIN_TAG,
|
|
6
6
|
agentsWithLiveRuntime,
|
|
@@ -25,22 +25,22 @@ import {
|
|
|
25
25
|
repointTrackerSyncBySwarmId,
|
|
26
26
|
resolveLeadOnlyRecoveryAssignment,
|
|
27
27
|
runtimeStaleThresholdMinutes
|
|
28
|
-
} from "./cli-
|
|
28
|
+
} from "./cli-ztrv9y21.js";
|
|
29
29
|
import {
|
|
30
30
|
isMultiRuntimeEnabled
|
|
31
31
|
} from "./cli-re8z5p8p.js";
|
|
32
32
|
import {
|
|
33
33
|
runSavedScriptAsAgent
|
|
34
|
-
} from "./cli-
|
|
34
|
+
} from "./cli-j6kpj9az.js";
|
|
35
35
|
import {
|
|
36
36
|
createApprovalFollowUpTask
|
|
37
|
-
} from "./cli-
|
|
37
|
+
} from "./cli-aspcaef3.js";
|
|
38
38
|
import {
|
|
39
39
|
init_db as init_db2,
|
|
40
40
|
init_users,
|
|
41
41
|
listRuntimePools,
|
|
42
42
|
mintToken
|
|
43
|
-
} from "./cli-
|
|
43
|
+
} from "./cli-e0a9sk00.js";
|
|
44
44
|
import {
|
|
45
45
|
MAX_EMPTY_POLLS,
|
|
46
46
|
assignUnassignedTaskPending,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
settleSupersededTaskDependents,
|
|
99
99
|
supersedeTask,
|
|
100
100
|
updateAgentStatus
|
|
101
|
-
} from "./cli-
|
|
101
|
+
} from "./cli-tgpfnm6r.js";
|
|
102
102
|
import {
|
|
103
103
|
TERMINAL_TASK_STATUSES,
|
|
104
104
|
init_types
|
|
@@ -108,11 +108,11 @@ import {
|
|
|
108
108
|
init_resolver,
|
|
109
109
|
registerTemplate,
|
|
110
110
|
resolveTemplate
|
|
111
|
-
} from "./cli-
|
|
111
|
+
} from "./cli-fdvbjtbw.js";
|
|
112
112
|
import {
|
|
113
113
|
init_package,
|
|
114
114
|
package_default
|
|
115
|
-
} from "./cli-
|
|
115
|
+
} from "./cli-esnpehf5.js";
|
|
116
116
|
import {
|
|
117
117
|
init_event_bus,
|
|
118
118
|
workflowEventBus
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
setSlackMessageTracking,
|
|
71
71
|
slackContextKey,
|
|
72
72
|
updateSlackMessageRecord
|
|
73
|
-
} from "./cli-
|
|
73
|
+
} from "./cli-tgpfnm6r.js";
|
|
74
74
|
import {
|
|
75
75
|
init_types,
|
|
76
76
|
isTerminalTaskStatus
|
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
import {
|
|
79
79
|
init_task_attachment_links,
|
|
80
80
|
taskAttachmentDisplayUrl
|
|
81
|
-
} from "./cli-
|
|
81
|
+
} from "./cli-nyhb1r6x.js";
|
|
82
82
|
import {
|
|
83
83
|
getSlackConfiguration,
|
|
84
84
|
init_config
|
|
@@ -24747,7 +24747,7 @@ var require_utf32 = __commonJS(function(exports) {
|
|
|
24747
24747
|
}
|
|
24748
24748
|
Utf32Encoder.prototype.write = function(str) {
|
|
24749
24749
|
var src = Buffer2.from(str, "ucs2");
|
|
24750
|
-
var dst = Buffer2.alloc(src.length * 2);
|
|
24750
|
+
var dst = Buffer2.alloc(src.length * 2 + 4);
|
|
24751
24751
|
var write32 = this.isLE ? dst.writeUInt32LE : dst.writeUInt32BE;
|
|
24752
24752
|
var offset = 0;
|
|
24753
24753
|
for (var i = 0;i < src.length; i += 2) {
|
|
@@ -24814,9 +24814,9 @@ var require_utf32 = __commonJS(function(exports) {
|
|
|
24814
24814
|
}
|
|
24815
24815
|
if (overflow.length === 4) {
|
|
24816
24816
|
if (isLE) {
|
|
24817
|
-
codepoint = overflow[
|
|
24817
|
+
codepoint = overflow[0] | overflow[1] << 8 | overflow[2] << 16 | overflow[3] << 24;
|
|
24818
24818
|
} else {
|
|
24819
|
-
codepoint = overflow[
|
|
24819
|
+
codepoint = overflow[3] | overflow[2] << 8 | overflow[1] << 16 | overflow[0] << 24;
|
|
24820
24820
|
}
|
|
24821
24821
|
overflow.length = 0;
|
|
24822
24822
|
offset = _writeCodepoint(dst, offset, codepoint, badChar);
|
|
@@ -24851,7 +24851,11 @@ var require_utf32 = __commonJS(function(exports) {
|
|
|
24851
24851
|
return offset;
|
|
24852
24852
|
}
|
|
24853
24853
|
Utf32Decoder.prototype.end = function() {
|
|
24854
|
+
if (this.overflow.length === 0) {
|
|
24855
|
+
return;
|
|
24856
|
+
}
|
|
24854
24857
|
this.overflow.length = 0;
|
|
24858
|
+
return String.fromCharCode(this.badChar);
|
|
24855
24859
|
};
|
|
24856
24860
|
exports.utf32 = Utf32AutoCodec;
|
|
24857
24861
|
exports.ucs4 = "utf32";
|
|
@@ -25468,6 +25472,8 @@ var require_sbcs_data = __commonJS(function(exports, module) {
|
|
|
25468
25472
|
elot928: "iso88597",
|
|
25469
25473
|
hebrew: "iso88598",
|
|
25470
25474
|
hebrew8: "iso88598",
|
|
25475
|
+
iso88598i: "iso88598",
|
|
25476
|
+
iso88598e: "iso88598",
|
|
25471
25477
|
turkish: "iso88599",
|
|
25472
25478
|
turkish8: "iso88599",
|
|
25473
25479
|
thai: "iso885911",
|
|
@@ -27965,55 +27971,54 @@ var require_lib = __commonJS(function(exports, module) {
|
|
|
27965
27971
|
var Buffer2 = require_safer().Buffer;
|
|
27966
27972
|
var bomHandling = require_bom_handling();
|
|
27967
27973
|
var mergeModules = require_merge_exports();
|
|
27968
|
-
|
|
27969
|
-
|
|
27970
|
-
|
|
27971
|
-
|
|
27972
|
-
iconv.encode = function encode(str, encoding, options) {
|
|
27974
|
+
exports.encodings = null;
|
|
27975
|
+
exports.defaultCharUnicode = "�";
|
|
27976
|
+
exports.defaultCharSingleByte = "?";
|
|
27977
|
+
exports.encode = function encode(str, encoding, options) {
|
|
27973
27978
|
str = "" + (str || "");
|
|
27974
|
-
var encoder =
|
|
27979
|
+
var encoder = exports.getEncoder(encoding, options);
|
|
27975
27980
|
var res = encoder.write(str);
|
|
27976
27981
|
var trail = encoder.end();
|
|
27977
27982
|
return trail && trail.length > 0 ? Buffer2.concat([res, trail]) : res;
|
|
27978
27983
|
};
|
|
27979
|
-
|
|
27984
|
+
exports.decode = function decode(buf, encoding, options) {
|
|
27980
27985
|
if (typeof buf === "string") {
|
|
27981
|
-
if (!
|
|
27986
|
+
if (!exports.skipDecodeWarning) {
|
|
27982
27987
|
console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");
|
|
27983
|
-
|
|
27988
|
+
exports.skipDecodeWarning = true;
|
|
27984
27989
|
}
|
|
27985
27990
|
buf = Buffer2.from("" + (buf || ""), "binary");
|
|
27986
27991
|
}
|
|
27987
|
-
var decoder =
|
|
27992
|
+
var decoder = exports.getDecoder(encoding, options);
|
|
27988
27993
|
var res = decoder.write(buf);
|
|
27989
27994
|
var trail = decoder.end();
|
|
27990
27995
|
return trail ? res + trail : res;
|
|
27991
27996
|
};
|
|
27992
|
-
|
|
27997
|
+
exports.encodingExists = function encodingExists(enc) {
|
|
27993
27998
|
try {
|
|
27994
|
-
|
|
27999
|
+
exports.getCodec(enc);
|
|
27995
28000
|
return true;
|
|
27996
28001
|
} catch (e) {
|
|
27997
28002
|
return false;
|
|
27998
28003
|
}
|
|
27999
28004
|
};
|
|
28000
|
-
|
|
28001
|
-
|
|
28002
|
-
|
|
28003
|
-
|
|
28004
|
-
if (!
|
|
28005
|
+
exports.toEncoding = exports.encode;
|
|
28006
|
+
exports.fromEncoding = exports.decode;
|
|
28007
|
+
exports._codecDataCache = { __proto__: null };
|
|
28008
|
+
exports.getCodec = function getCodec(encoding) {
|
|
28009
|
+
if (!exports.encodings) {
|
|
28005
28010
|
var raw = require_encodings();
|
|
28006
|
-
|
|
28007
|
-
mergeModules(
|
|
28011
|
+
exports.encodings = { __proto__: null };
|
|
28012
|
+
mergeModules(exports.encodings, raw);
|
|
28008
28013
|
}
|
|
28009
|
-
var enc =
|
|
28014
|
+
var enc = exports._canonicalizeEncoding(encoding);
|
|
28010
28015
|
var codecOptions = {};
|
|
28011
28016
|
while (true) {
|
|
28012
|
-
var codec =
|
|
28017
|
+
var codec = exports._codecDataCache[enc];
|
|
28013
28018
|
if (codec) {
|
|
28014
28019
|
return codec;
|
|
28015
28020
|
}
|
|
28016
|
-
var codecDef =
|
|
28021
|
+
var codecDef = exports.encodings[enc];
|
|
28017
28022
|
switch (typeof codecDef) {
|
|
28018
28023
|
case "string":
|
|
28019
28024
|
enc = codecDef;
|
|
@@ -28031,56 +28036,56 @@ var require_lib = __commonJS(function(exports, module) {
|
|
|
28031
28036
|
if (!codecOptions.encodingName) {
|
|
28032
28037
|
codecOptions.encodingName = enc;
|
|
28033
28038
|
}
|
|
28034
|
-
codec = new codecDef(codecOptions,
|
|
28035
|
-
|
|
28039
|
+
codec = new codecDef(codecOptions, exports);
|
|
28040
|
+
exports._codecDataCache[codecOptions.encodingName] = codec;
|
|
28036
28041
|
return codec;
|
|
28037
28042
|
default:
|
|
28038
28043
|
throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '" + enc + "')");
|
|
28039
28044
|
}
|
|
28040
28045
|
}
|
|
28041
28046
|
};
|
|
28042
|
-
|
|
28047
|
+
exports._canonicalizeEncoding = function(encoding) {
|
|
28043
28048
|
return ("" + encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, "");
|
|
28044
28049
|
};
|
|
28045
|
-
|
|
28046
|
-
var codec =
|
|
28050
|
+
exports.getEncoder = function getEncoder(encoding, options) {
|
|
28051
|
+
var codec = exports.getCodec(encoding);
|
|
28047
28052
|
var encoder = new codec.encoder(options, codec);
|
|
28048
28053
|
if (codec.bomAware && options && options.addBOM) {
|
|
28049
28054
|
encoder = new bomHandling.PrependBOM(encoder, options);
|
|
28050
28055
|
}
|
|
28051
28056
|
return encoder;
|
|
28052
28057
|
};
|
|
28053
|
-
|
|
28054
|
-
var codec =
|
|
28058
|
+
exports.getDecoder = function getDecoder(encoding, options) {
|
|
28059
|
+
var codec = exports.getCodec(encoding);
|
|
28055
28060
|
var decoder = new codec.decoder(options, codec);
|
|
28056
28061
|
if (codec.bomAware && !(options && options.stripBOM === false)) {
|
|
28057
28062
|
decoder = new bomHandling.StripBOM(decoder, options);
|
|
28058
28063
|
}
|
|
28059
28064
|
return decoder;
|
|
28060
28065
|
};
|
|
28061
|
-
|
|
28062
|
-
if (
|
|
28066
|
+
exports.enableStreamingAPI = function enableStreamingAPI(streamModule2) {
|
|
28067
|
+
if (exports.supportsStreams) {
|
|
28063
28068
|
return;
|
|
28064
28069
|
}
|
|
28065
28070
|
var streams = require_streams()(streamModule2);
|
|
28066
|
-
|
|
28067
|
-
|
|
28068
|
-
|
|
28069
|
-
return new
|
|
28071
|
+
exports.IconvLiteEncoderStream = streams.IconvLiteEncoderStream;
|
|
28072
|
+
exports.IconvLiteDecoderStream = streams.IconvLiteDecoderStream;
|
|
28073
|
+
exports.encodeStream = function encodeStream(encoding, options) {
|
|
28074
|
+
return new exports.IconvLiteEncoderStream(exports.getEncoder(encoding, options), options);
|
|
28070
28075
|
};
|
|
28071
|
-
|
|
28072
|
-
return new
|
|
28076
|
+
exports.decodeStream = function decodeStream(encoding, options) {
|
|
28077
|
+
return new exports.IconvLiteDecoderStream(exports.getDecoder(encoding, options), options);
|
|
28073
28078
|
};
|
|
28074
|
-
|
|
28079
|
+
exports.supportsStreams = true;
|
|
28075
28080
|
};
|
|
28076
28081
|
var streamModule;
|
|
28077
28082
|
try {
|
|
28078
28083
|
streamModule = __require("stream");
|
|
28079
28084
|
} catch (e) {}
|
|
28080
28085
|
if (streamModule && streamModule.Transform) {
|
|
28081
|
-
|
|
28086
|
+
exports.enableStreamingAPI(streamModule);
|
|
28082
28087
|
} else {
|
|
28083
|
-
|
|
28088
|
+
exports.encodeStream = exports.decodeStream = function() {
|
|
28084
28089
|
throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.");
|
|
28085
28090
|
};
|
|
28086
28091
|
}
|
|
@@ -52916,7 +52921,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
|
|
|
52916
52921
|
return;
|
|
52917
52922
|
initialized = true;
|
|
52918
52923
|
try {
|
|
52919
|
-
const impl = await import("./otel-impl-
|
|
52924
|
+
const impl = await import("./otel-impl-6pf5cv86.js");
|
|
52920
52925
|
await impl.boot(serviceRole, {
|
|
52921
52926
|
exportConsoleLogs: serviceRole === "api" && isApiLogExportEnabled()
|
|
52922
52927
|
});
|
|
@@ -54588,15 +54593,15 @@ async function initSlackApp() {
|
|
|
54588
54593
|
});
|
|
54589
54594
|
initialized2 = true;
|
|
54590
54595
|
app.use(slackInboundOutcomeMiddleware());
|
|
54591
|
-
const { registerMessageHandler } = await import("./handlers-
|
|
54592
|
-
const { registerCommandHandler } = await import("./commands-
|
|
54593
|
-
const { registerActionHandlers } = await import("./actions-
|
|
54594
|
-
const { registerWorkObjectHandlers } = await import("./work-objects-
|
|
54596
|
+
const { registerMessageHandler } = await import("./handlers-s20xr10r.js");
|
|
54597
|
+
const { registerCommandHandler } = await import("./commands-n0hshcvs.js");
|
|
54598
|
+
const { registerActionHandlers } = await import("./actions-pw87a1a8.js");
|
|
54599
|
+
const { registerWorkObjectHandlers } = await import("./work-objects-tb7ycye8.js");
|
|
54595
54600
|
registerMessageHandler(app);
|
|
54596
54601
|
registerCommandHandler(app);
|
|
54597
54602
|
registerActionHandlers(app);
|
|
54598
54603
|
registerWorkObjectHandlers(app);
|
|
54599
|
-
const { createAssistant } = await import("./assistant-
|
|
54604
|
+
const { createAssistant } = await import("./assistant-emp1e108.js");
|
|
54600
54605
|
app.assistant(createAssistant());
|
|
54601
54606
|
return app;
|
|
54602
54607
|
}
|
|
@@ -54605,7 +54610,7 @@ async function startSlackApp() {
|
|
|
54605
54610
|
await initSlackApp();
|
|
54606
54611
|
}
|
|
54607
54612
|
if (app) {
|
|
54608
|
-
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-
|
|
54613
|
+
const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-pd1rg54q.js");
|
|
54609
54614
|
if (isSlackRenderV2Enabled2())
|
|
54610
54615
|
await ensureSlackRenderV2Activation();
|
|
54611
54616
|
await app.start();
|
|
@@ -55753,7 +55758,7 @@ async function conclusionResultsLines(closure) {
|
|
|
55753
55758
|
const agentName = await agentDisplayNameFor(member);
|
|
55754
55759
|
const card = await getSlackOutcomeMessage(member.id);
|
|
55755
55760
|
if (card?.permalink) {
|
|
55756
|
-
lines.push(`↳ ${glyph} ${agentName} — ${card.permalink}`);
|
|
55761
|
+
lines.push(`↳ ${glyph} ${agentName} — [result](${card.permalink})`);
|
|
55757
55762
|
continue;
|
|
55758
55763
|
}
|
|
55759
55764
|
const raw = outcomeText(member.status === "failed" ? member.failureReason : slackTaskOutput(member), "");
|
|
@@ -56046,7 +56051,7 @@ async function resolvedDeferralContent(wake) {
|
|
|
56046
56051
|
return { text: presentation, blocks: [{ type: "markdown", text: presentation }, ...captions] };
|
|
56047
56052
|
}
|
|
56048
56053
|
const card = await getSlackOutcomeMessage(wake.id);
|
|
56049
|
-
const pointer = card?.permalink ? ` —
|
|
56054
|
+
const pointer = card?.permalink ? ` — <${card.permalink}|next update>` : ".";
|
|
56050
56055
|
return { text: `↪️ Resumed by ${await agentDisplayNameFor(wake)} and deferred again${pointer}` };
|
|
56051
56056
|
}
|
|
56052
56057
|
async function isAnsweredByDeferralCard(task, threadTasks) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_MODEL,
|
|
3
3
|
resolveCredential
|
|
4
|
-
} from "./cli-
|
|
4
|
+
} from "./cli-xczpdp9e.js";
|
|
5
5
|
import {
|
|
6
6
|
getSlackApp
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-9xsmdpdt.js";
|
|
8
8
|
import {
|
|
9
9
|
claimApprovalCancellationNotification,
|
|
10
10
|
completeApprovalCancellationNotificationClaim,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getTaskById,
|
|
13
13
|
init_db1 as init_db,
|
|
14
14
|
releaseApprovalCancellationNotificationClaim
|
|
15
|
-
} from "./cli-
|
|
15
|
+
} from "./cli-tgpfnm6r.js";
|
|
16
16
|
import {
|
|
17
17
|
TERMINAL_TASK_STATUSES,
|
|
18
18
|
init_types
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
init_resolver,
|
|
22
22
|
resolveTemplate
|
|
23
|
-
} from "./cli-
|
|
23
|
+
} from "./cli-fdvbjtbw.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_OPENROUTER_BASE_URL,
|
|
26
26
|
getOpenRouterAttributionHeaders,
|
|
@@ -433,7 +433,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
|
|
|
433
433
|
}
|
|
434
434
|
if (notification.channel === "slack") {
|
|
435
435
|
try {
|
|
436
|
-
const { getSlackApp: getSlackApp2 } = await import("./app-
|
|
436
|
+
const { getSlackApp: getSlackApp2 } = await import("./app-wmf0m843.js");
|
|
437
437
|
const slackApp = getSlackApp2();
|
|
438
438
|
if (!slackApp) {
|
|
439
439
|
console.warn("[HITL] Slack not initialized — cannot send notification");
|