@desplega.ai/agent-swarm 2.13.2 → 2.13.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/acp-adapter-t2q6nsqv.js +17 -0
- package/dist/{acp-targets-mz8c5dnt.js → acp-targets-k8xs4tj8.js} +7 -7
- package/dist/{actions-5ft3qp5a.js → actions-pg5fxjer.js} +23 -23
- package/dist/{agent-fs-provision-6fgz7wvz.js → agent-fs-provision-vbk3fppw.js} +4 -4
- package/dist/{amp-adapter-nthn8ezm.js → amp-adapter-adbhxsz9.js} +2 -2
- package/dist/{app-535m78qw.js → app-b267ggx1.js} +6 -6
- package/dist/{approval-notifications-dewbk403.js → approval-notifications-evc1a9z5.js} +7 -7
- package/dist/{assistant-39zyabv2.js → assistant-wgz2ab84.js} +24 -24
- package/dist/{boot-args-schema-bqv5bf77.js → boot-args-schema-6tpk28j4.js} +1 -1
- package/dist/{boot-reembed-fas7z3zn.js → boot-reembed-ankp369c.js} +1 -1
- package/dist/{boot-reembed-157c0gcz.js → boot-reembed-r1zyvefv.js} +1 -1
- package/dist/{boot-scrub-sweep-tmec0be2.js → boot-scrub-sweep-cgb6r5bd.js} +2 -2
- package/dist/{boot-seeds-32zm50x2.js → boot-seeds-bjceqg7b.js} +4 -4
- package/dist/{claude-adapter-gwq7x2nj.js → claude-adapter-knztdnff.js} +9 -6
- package/dist/{claude-managed-adapter-rkvw6fvq.js → claude-managed-adapter-qwejzqkk.js} +2 -2
- package/dist/{claude-sdk-session-5wbwxy8c.js → claude-sdk-session-c3g6dv0g.js} +22 -8
- package/dist/{cli-cs26ed89.js → cli-0j4qmc80.js} +7 -7
- package/dist/{cli-dnvmwsvc.js → cli-1606qw3n.js} +32 -32
- package/dist/{cli-b0kqw55g.js → cli-1gnf5c7x.js} +1 -1
- package/dist/{cli-31vt7baf.js → cli-1wew39p0.js} +10 -10
- package/dist/{cli-tceqvv6h.js → cli-268b3dgn.js} +2 -2
- package/dist/cli-2ap1the6.js +11 -0
- package/dist/{cli-e87fg3en.js → cli-4dyhzhpx.js} +1 -1
- package/dist/{cli-t9nxq30h.js → cli-55fqpd9q.js} +8 -8
- package/dist/{cli-nvqq3232.js → cli-61fzwtjk.js} +7 -7
- package/dist/{cli-c9bwawf9.js → cli-61p7ty8d.js} +2 -2
- package/dist/{cli-d528acsw.js → cli-7fa6yv98.js} +2 -2
- package/dist/{cli-bp2rt28p.js → cli-7kv5d674.js} +3 -3
- package/dist/{cli-tbdw3f92.js → cli-80d5g0fa.js} +2 -2
- package/dist/{cli-0xwb7zpt.js → cli-88np9va3.js} +1 -1
- package/dist/{cli-zm6bkx3e.js → cli-8m6gqnf1.js} +2 -2
- package/dist/{cli-r4fphq38.js → cli-8pnawt98.js} +3 -3
- package/dist/{cli-xerdrnqs.js → cli-8sayvj48.js} +2 -2
- package/dist/{cli-d0jb2qnt.js → cli-9gmkw6xn.js} +53 -32
- package/dist/{cli-a6rzw649.js → cli-a21cwm89.js} +2 -2
- package/dist/{cli-s6fhqbz1.js → cli-aytna2fm.js} +1 -1
- package/dist/{cli-mwxez0pz.js → cli-b768ek79.js} +1 -1
- package/dist/{cli-ewb028rs.js → cli-bh53ppqm.js} +2 -2
- package/dist/{cli-zqy28rwx.js → cli-czeh7x13.js} +3 -3
- package/dist/{cli-s08zsqva.js → cli-djwt4mtn.js} +71 -5
- package/dist/{cli-fgm2mad9.js → cli-dq30fq3q.js} +2 -2
- package/dist/{cli-2wde56gv.js → cli-dw43pnzp.js} +5 -5
- package/dist/{cli-erh1rgh4.js → cli-e4gx499y.js} +12 -12
- package/dist/{cli-69eq6gdk.js → cli-ea367bdn.js} +31 -22
- package/dist/{cli-cmgdptmx.js → cli-ef590376.js} +29 -5
- package/dist/{cli-8qvte9hn.js → cli-fbmgpt72.js} +2 -2
- package/dist/{cli-tgmate57.js → cli-g4dhd3pr.js} +2 -2
- package/dist/{cli-0f7n3td3.js → cli-gc715jrc.js} +1 -1
- package/dist/{cli-xysy1g8x.js → cli-gkjw33x5.js} +1 -1
- package/dist/{cli-getrvmtx.js → cli-grk77aen.js} +1 -1
- package/dist/{cli-f1sdh8ca.js → cli-gxqwm3k3.js} +5 -5
- package/dist/{cli-m1wddksc.js → cli-h3drhntp.js} +1 -1
- package/dist/{cli-qn79645p.js → cli-h9d3sdnc.js} +1 -1
- package/dist/{cli-7m6bbtab.js → cli-hd2a204w.js} +6 -6
- package/dist/{cli-jkkcm72j.js → cli-hhb8kbwd.js} +9 -9
- package/dist/{cli-fcwrd7bh.js → cli-hpxcfvdm.js} +3 -3
- package/dist/{cli-ka13xx6b.js → cli-hxj888w3.js} +1 -1
- package/dist/{cli-82j36f2m.js → cli-jjzxsk47.js} +9 -3
- package/dist/{cli-nkfv398a.js → cli-ka4tqjzd.js} +6 -6
- package/dist/{cli-n46d87mj.js → cli-kh973792.js} +3 -3
- package/dist/{cli-x5yb8zc8.js → cli-kwm1bek7.js} +1 -1
- package/dist/{cli-5k1hvycs.js → cli-mgr3gatr.js} +4 -4
- package/dist/{cli-8a4qg44m.js → cli-nbawx3s0.js} +2 -2
- package/dist/{cli-1gevjrc1.js → cli-ppf9ap9n.js} +1 -1
- package/dist/{cli-6rmryz03.js → cli-pzsedyb0.js} +4 -4
- package/dist/{cli-g0b3ma7r.js → cli-r6xnchva.js} +1 -1
- package/dist/{cli-j2ybkdk2.js → cli-snwz16eg.js} +1 -1
- package/dist/{cli-sjk85d7v.js → cli-sy2ge2ye.js} +3 -3
- package/dist/{cli-rvhaahfv.js → cli-syqcny89.js} +3 -3
- package/dist/{cli-n14r8h4n.js → cli-tjf1bh1v.js} +2 -2
- package/dist/{cli-xhkek467.js → cli-v1v49t36.js} +28 -2
- package/dist/{cli-4djg31jh.js → cli-v8rpjrnx.js} +1 -1
- package/dist/{cli-62fjschk.js → cli-vgh5adn9.js} +5 -5
- package/dist/{cli-wdtqkqnq.js → cli-w24741sm.js} +3 -3
- package/dist/{cli-gq6qhmrr.js → cli-wsnradtk.js} +3 -3
- package/dist/{cli-gc7jkf4a.js → cli-wtffytm8.js} +3 -3
- package/dist/{cli-1f48qdnb.js → cli-xc8m5cjn.js} +2 -2
- package/dist/{cli-x7aqhxj5.js → cli-y0q92v4r.js} +2 -2
- package/dist/{cli-gedf48yw.js → cli-y754psdt.js} +4 -4
- package/dist/cli.js +14 -14
- package/dist/{codex-adapter-x25xfbnh.js → codex-adapter-493vb8cv.js} +5 -5
- package/dist/{codex-hook-c0nvm30r.js → codex-hook-ej8hn6z5.js} +9 -2
- package/dist/{codex-session-runner-kn5xnrvp.js → codex-session-runner-ps5m4z1g.js} +5 -5
- package/dist/{commands-8n59gxmy.js → commands-shktk0b8.js} +3 -3
- package/dist/{controllers-connect-09gvkrhc.js → controllers-connect-yft057ws.js} +22 -22
- package/dist/{core-2b8bv6ny.js → core-nheayfgm.js} +21 -21
- package/dist/{cursor-adapter-w1681kp1.js → cursor-adapter-8fpm4dng.js} +1 -1
- package/dist/{db-e71keqxk.js → db-0ezhdhz5.js} +3 -3
- package/dist/{db-spg81qtr.js → db-84pz2w5c.js} +2 -2
- package/dist/{dispatcher-fr4vawwb.js → dispatcher-h2rz69f6.js} +21 -21
- package/dist/{easter-egg-3d-ac9tv9a6.js → easter-egg-3d-m41ad78v.js} +1 -1
- package/dist/{embedding-space-an77f45k.js → embedding-space-yam9zwzj.js} +6 -6
- package/dist/{embeddings-jkrehejr.js → embeddings-g2be0y8q.js} +1 -1
- package/dist/{execute-3mys4nta.js → execute-hhdejgzf.js} +1 -1
- package/dist/{external-channel-s6zxpts9.js → external-channel-kjt2yzfj.js} +2 -2
- package/dist/fx-adapter-8g7xsp8q.js +20 -0
- package/dist/{grok-adapter-8ge6tw7m.js → grok-adapter-ztk2zkz1.js} +9 -9
- package/dist/handlers-9ywssz71.js +41 -0
- package/dist/{heartbeat-jjpb44e5.js → heartbeat-2e5jdexj.js} +23 -23
- package/dist/{hook-y6n23zzj.js → hook-34s8cmgn.js} +9 -6
- package/dist/{hook-68gbs87k.js → hook-acg9saz7.js} +8 -5
- package/dist/{http-8c6y008s.js → http-ra2zr2f8.js} +58 -65
- package/dist/{index-xcw7hjt5.js → index-2z1z7qx6.js} +24 -24
- package/dist/{index-p2f5xg64.js → index-3j803vnb.js} +36259 -34299
- package/dist/index-6mgbdtv1.js +44 -0
- package/dist/{index-6h3r0vpe.js → index-93bw5wds.js} +1 -1
- package/dist/{index-we3nd2t0.js → index-9q42cr54.js} +1 -1
- package/dist/{index-0vthtbc2.js → index-9r4j0a60.js} +23 -15
- package/dist/index-hqdsn2t2.js +39 -0
- package/dist/index-st231bqv.js +40 -0
- package/dist/{keepalive-7e9r5dvp.js → keepalive-vjnnqbkm.js} +4 -4
- package/dist/lead-mk0xkth2.js +82 -0
- package/dist/{maintenance-d3erjvcg.js → maintenance-px2g599e.js} +1 -1
- package/dist/{oauth-refresh-sweep-0qh70988.js → oauth-refresh-sweep-nkykf09m.js} +3 -3
- package/dist/{object-webhooks-ac7v2q5p.js → object-webhooks-gt9xnq21.js} +7 -7
- package/dist/{onboard-5yphtken.js → onboard-1f134p65.js} +3 -3
- package/dist/{opencode-adapter-0xvyba4m.js → opencode-adapter-94976yab.js} +6 -6
- package/dist/{otel-impl-svqp691q.js → otel-impl-5d4p2fqs.js} +1 -1
- package/dist/{pending-bn4xe5br.js → pending-vkk0vx6n.js} +22 -22
- package/dist/{pi-mono-adapter-763s8a3w.js → pi-mono-adapter-cyzdv5er.js} +8 -8
- package/dist/{pricing-refresh-kfc215mf.js → pricing-refresh-jtmjwss9.js} +2 -2
- package/dist/{rbac-roles-6r4h2ghj.js → rbac-roles-1fvmdyeb.js} +2 -2
- package/dist/{rbac-roles-3bznvkpt.js → rbac-roles-yd1fgpsn.js} +3 -3
- package/dist/{render-v2-f3qedbpy.js → render-v2-kb5s3vx4.js} +6 -6
- package/dist/{resume-vcag4ann.js → resume-z1vs44n5.js} +9 -9
- package/dist/{runtime-x0s55z2t.js → runtime-gk6ct7r7.js} +1 -1
- package/dist/{session-access-nwzve8q2.js → session-access-nz6nre4d.js} +5 -5
- package/dist/{session-source-backfill-jpqfzmgz.js → session-source-backfill-wb60zjkd.js} +1 -1
- package/dist/{setup-d2smwaem.js → setup-2x8g8j4s.js} +1 -1
- package/dist/thread-buffer-d50rqpev.js +42 -0
- package/dist/{tree-visibility-dwzc8en0.js → tree-visibility-ts3z30kw.js} +2 -2
- package/dist/{user-merge-jobs-4ce7kma2.js → user-merge-jobs-zetg26e0.js} +3 -3
- package/dist/{virtual-modules-78a6yw71.js → virtual-modules-674fka8x.js} +3 -3
- package/dist/{work-objects-m0w1e7q8.js → work-objects-w52yyjxm.js} +24 -24
- package/dist/worker-662x1vse.js +82 -0
- package/dist/{worker-follow-up-e3t6f895.js → worker-follow-up-dyfxyjbj.js} +21 -21
- package/openapi.json +4 -1
- package/package.json +3 -3
- package/src/commands/onboard/agent-fs-version.ts +1 -1
- package/src/commands/runner.ts +62 -6
- package/src/hooks/codex-hook.ts +15 -4
- package/src/hooks/hook.ts +7 -0
- package/src/http/session-cost-recompute.ts +3 -1
- package/src/http/session-data.ts +3 -0
- package/src/prompts/base-prompt.ts +1 -1
- package/src/prompts/session-templates.ts +1 -1
- package/src/providers/acp-targets.ts +2 -2
- package/src/providers/amp-adapter.ts +1 -1
- package/src/providers/claude-adapter.ts +21 -1
- package/src/providers/claude-sdk-session.ts +22 -3
- package/src/providers/claude-session-events.ts +76 -1
- package/src/providers/cursor-adapter.ts +1 -1
- package/src/providers/fx-adapter.ts +2 -2
- package/src/providers/pricing-sources.md +3 -0
- package/src/providers/types.ts +13 -0
- package/src/slack/render-v2.ts +27 -7
- package/src/tests/base-prompt.test.ts +6 -2
- package/src/tests/claude-adapter.test.ts +115 -0
- package/src/tests/fixtures/fx/acp-updates-recorded.jsonl +1 -1
- package/src/tests/internal-ai/complete-structured.test.ts +105 -0
- package/src/tests/internal-ai/credentials.test.ts +149 -0
- package/src/tests/internal-ai/task-title.test.ts +78 -0
- package/src/tests/mcp-input-caps.test.ts +16 -11
- package/src/tests/runner-slot-reconcile.test.ts +102 -0
- package/src/tests/slack-render-v2.test.ts +85 -0
- package/src/types.ts +2 -1
- package/src/utils/internal-ai/complete-structured.ts +36 -5
- package/src/utils/internal-ai/credentials.ts +78 -2
- package/src/utils/internal-ai/models.ts +37 -1
- package/src/utils/internal-ai/task-title.ts +31 -1
- package/templates/skills/swarm-docs/content.md +8 -0
- package/dist/acp-adapter-x1qqgzwx.js +0 -17
- package/dist/fx-adapter-4yet1c4f.js +0 -20
- package/dist/handlers-0r9evrdj.js +0 -41
- package/dist/index-1v23363p.js +0 -39
- package/dist/index-30qw6vyw.js +0 -44
- package/dist/index-6bm3w6cn.js +0 -40
- package/dist/lead-3jpc7kcr.js +0 -79
- package/dist/thread-buffer-8fc703jc.js +0 -42
- package/dist/worker-3p2vq107.js +0 -79
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
} from "./cli-6p8p2e6r.js";
|
|
1
|
+
import"./cli-6p8p2e6r.js";
|
|
2
|
+
import"./cli-2ap1the6.js";
|
|
4
3
|
import {
|
|
5
4
|
auditAssetKeys,
|
|
6
5
|
init_asset_key_audit,
|
|
@@ -557,7 +556,7 @@ import {
|
|
|
557
556
|
countScriptRunJournalSteps2,
|
|
558
557
|
countScriptRunJournalAgentTaskSteps2,
|
|
559
558
|
init_db4
|
|
560
|
-
} from "./cli-
|
|
559
|
+
} from "./cli-e4gx499y.js";
|
|
561
560
|
import {
|
|
562
561
|
PRIMARY_ROLE_NAMES2,
|
|
563
562
|
OperatorGrantedTargetError2,
|
|
@@ -571,7 +570,7 @@ import {
|
|
|
571
570
|
assertNotLastAdmin2,
|
|
572
571
|
setUserRoles2,
|
|
573
572
|
init_rbac_roles
|
|
574
|
-
} from "./cli-
|
|
573
|
+
} from "./cli-tjf1bh1v.js";
|
|
575
574
|
import {
|
|
576
575
|
MAX_MODEL_GROUP_MEMBERS,
|
|
577
576
|
listModelGroups,
|
|
@@ -581,17 +580,17 @@ import {
|
|
|
581
580
|
modelGroupReferences,
|
|
582
581
|
deleteModelGroup,
|
|
583
582
|
init_model_groups
|
|
584
|
-
} from "./cli-
|
|
583
|
+
} from "./cli-fbmgpt72.js";
|
|
585
584
|
import {
|
|
586
585
|
requestModelCatalogRefresh2,
|
|
587
586
|
init_pricing_refresh
|
|
588
|
-
} from "./cli-
|
|
587
|
+
} from "./cli-h3drhntp.js";
|
|
589
588
|
import {
|
|
590
589
|
workflowEventBus2,
|
|
591
590
|
init_event_bus
|
|
592
591
|
} from "./cli-vx9acp12.js";
|
|
593
|
-
import"./cli-
|
|
594
|
-
import"./cli-
|
|
592
|
+
import"./cli-hxj888w3.js";
|
|
593
|
+
import"./cli-4dyhzhpx.js";
|
|
595
594
|
import"./cli-vr4eyq6p.js";
|
|
596
595
|
import"./cli-r8ddn0hf.js";
|
|
597
596
|
import {
|
|
@@ -631,7 +630,7 @@ import {
|
|
|
631
630
|
startSlackApp2,
|
|
632
631
|
stopSlackApp2,
|
|
633
632
|
init_app4
|
|
634
|
-
} from "./cli-
|
|
633
|
+
} from "./cli-ea367bdn.js";
|
|
635
634
|
import {
|
|
636
635
|
AGENT_MAX_TASKS_CONFIG_KEY,
|
|
637
636
|
reconcileAgentMaxTasksPolicy,
|
|
@@ -660,12 +659,12 @@ import {
|
|
|
660
659
|
dispatchApprovalNotifications2,
|
|
661
660
|
createApprovalFollowUpTask2,
|
|
662
661
|
init_approval_notifications
|
|
663
|
-
} from "./cli-
|
|
662
|
+
} from "./cli-gxqwm3k3.js";
|
|
664
663
|
import {
|
|
665
664
|
retryFailedRun2,
|
|
666
665
|
cancelWorkflowRun2,
|
|
667
666
|
init_resume
|
|
668
|
-
} from "./cli-
|
|
667
|
+
} from "./cli-hpxcfvdm.js";
|
|
669
668
|
import {
|
|
670
669
|
safeParse,
|
|
671
670
|
getObjectShape,
|
|
@@ -1168,7 +1167,7 @@ import {
|
|
|
1168
1167
|
getEnabledCapabilities,
|
|
1169
1168
|
createServer,
|
|
1170
1169
|
init_server
|
|
1171
|
-
} from "./cli-
|
|
1170
|
+
} from "./cli-1606qw3n.js";
|
|
1172
1171
|
import {
|
|
1173
1172
|
getFileStorageProvider2,
|
|
1174
1173
|
init_registry2
|
|
@@ -1194,7 +1193,7 @@ import {
|
|
|
1194
1193
|
resolvePoolDelivery2,
|
|
1195
1194
|
createPoolAgent2,
|
|
1196
1195
|
init_db2
|
|
1197
|
-
} from "./cli-
|
|
1196
|
+
} from "./cli-268b3dgn.js";
|
|
1198
1197
|
import {
|
|
1199
1198
|
duplicateGuardedQueryKey,
|
|
1200
1199
|
warnIfCorsAllowsAnyOrigin,
|
|
@@ -1245,7 +1244,7 @@ import {
|
|
|
1245
1244
|
describeRequestRoute,
|
|
1246
1245
|
route,
|
|
1247
1246
|
init_route_def
|
|
1248
|
-
} from "./cli-
|
|
1247
|
+
} from "./cli-dw43pnzp.js";
|
|
1249
1248
|
import {
|
|
1250
1249
|
startPoolRouting,
|
|
1251
1250
|
stopPoolRouting,
|
|
@@ -1258,17 +1257,17 @@ import {
|
|
|
1258
1257
|
checkHeartbeatChecklist2,
|
|
1259
1258
|
runHeartbeatSweep2,
|
|
1260
1259
|
stopHeartbeat2
|
|
1261
|
-
} from "./cli-
|
|
1260
|
+
} from "./cli-1wew39p0.js";
|
|
1262
1261
|
import"./cli-50whymxq.js";
|
|
1263
1262
|
import {
|
|
1264
1263
|
runtimeSupervisorStatus,
|
|
1265
1264
|
startRuntimeSupervisor,
|
|
1266
1265
|
stopRuntimeSupervisor
|
|
1267
|
-
} from "./cli-
|
|
1266
|
+
} from "./cli-hd2a204w.js";
|
|
1268
1267
|
import {
|
|
1269
1268
|
TASK_TITLE_TIMEOUT_MS,
|
|
1270
1269
|
generateTaskTitle
|
|
1271
|
-
} from "./cli-
|
|
1270
|
+
} from "./cli-ef590376.js";
|
|
1272
1271
|
import"./cli-ns59dc6r.js";
|
|
1273
1272
|
import {
|
|
1274
1273
|
ACP_TARGET_IDS
|
|
@@ -1290,7 +1289,7 @@ import {
|
|
|
1290
1289
|
isUnknownModelError,
|
|
1291
1290
|
checkProviderPoolKey,
|
|
1292
1291
|
writeSkillsToFilesystem
|
|
1293
|
-
} from "./cli-
|
|
1292
|
+
} from "./cli-g4dhd3pr.js";
|
|
1294
1293
|
import {
|
|
1295
1294
|
AgentFsRequestError2,
|
|
1296
1295
|
resolveAgentFsSharedContext2,
|
|
@@ -1301,7 +1300,7 @@ import {
|
|
|
1301
1300
|
agentFsRequest2,
|
|
1302
1301
|
resolveApiUrl2,
|
|
1303
1302
|
init_agent_fs_provision
|
|
1304
|
-
} from "./cli-
|
|
1303
|
+
} from "./cli-a21cwm89.js";
|
|
1305
1304
|
import {
|
|
1306
1305
|
Anthropic
|
|
1307
1306
|
} from "./cli-cah298e5.js";
|
|
@@ -1309,8 +1308,8 @@ import {
|
|
|
1309
1308
|
objectWebhookSecret2,
|
|
1310
1309
|
handleObjectWebhookEvent2,
|
|
1311
1310
|
init_object_webhooks
|
|
1312
|
-
} from "./cli-
|
|
1313
|
-
import"./cli-
|
|
1311
|
+
} from "./cli-8pnawt98.js";
|
|
1312
|
+
import"./cli-czeh7x13.js";
|
|
1314
1313
|
import {
|
|
1315
1314
|
createUserMergeJob2,
|
|
1316
1315
|
getUserMergeJob2,
|
|
@@ -1319,7 +1318,7 @@ import {
|
|
|
1319
1318
|
findFailedUserMergeJob2,
|
|
1320
1319
|
requeueUserMergeJob2,
|
|
1321
1320
|
runUserMergeJobs2
|
|
1322
|
-
} from "./cli-
|
|
1321
|
+
} from "./cli-80d5g0fa.js";
|
|
1323
1322
|
import {
|
|
1324
1323
|
isCodexOAuthConfigKey
|
|
1325
1324
|
} from "./cli-j4bwnpkm.js";
|
|
@@ -1330,7 +1329,7 @@ import {
|
|
|
1330
1329
|
import {
|
|
1331
1330
|
runTaskUiAction,
|
|
1332
1331
|
init_actions
|
|
1333
|
-
} from "./cli-
|
|
1332
|
+
} from "./cli-kh973792.js";
|
|
1334
1333
|
import {
|
|
1335
1334
|
RATING_MODEL_MAX_LENGTH,
|
|
1336
1335
|
REFERENCES_SOURCE_MAX_LENGTH,
|
|
@@ -1426,7 +1425,7 @@ import {
|
|
|
1426
1425
|
init_typecheck,
|
|
1427
1426
|
parseSkillContent,
|
|
1428
1427
|
init_skill_parser
|
|
1429
|
-
} from "./cli-
|
|
1428
|
+
} from "./cli-ka4tqjzd.js";
|
|
1430
1429
|
import {
|
|
1431
1430
|
signalProcessGroup,
|
|
1432
1431
|
detachedProcessGroup,
|
|
@@ -1443,17 +1442,17 @@ import {
|
|
|
1443
1442
|
forceRefreshAuthorizationOrThrow,
|
|
1444
1443
|
forceRefreshTokenOrThrow,
|
|
1445
1444
|
init_ensure_token
|
|
1446
|
-
} from "./cli-
|
|
1445
|
+
} from "./cli-8sayvj48.js";
|
|
1447
1446
|
import {
|
|
1448
1447
|
PRIMITIVE_KINDS,
|
|
1449
1448
|
ObjectsError,
|
|
1450
1449
|
recordObjectVersion,
|
|
1451
1450
|
init_objects
|
|
1452
|
-
} from "./cli-
|
|
1451
|
+
} from "./cli-w24741sm.js";
|
|
1453
1452
|
import {
|
|
1454
1453
|
agentFsClientFor,
|
|
1455
1454
|
init_agent_fs_identity
|
|
1456
|
-
} from "./cli-
|
|
1455
|
+
} from "./cli-snwz16eg.js";
|
|
1457
1456
|
import {
|
|
1458
1457
|
FilesError,
|
|
1459
1458
|
normalizeFilesError,
|
|
@@ -1462,7 +1461,7 @@ import {
|
|
|
1462
1461
|
AgentFsProvider,
|
|
1463
1462
|
init_agent_fs_provider
|
|
1464
1463
|
} from "./cli-skd2c4ej.js";
|
|
1465
|
-
import"./cli-
|
|
1464
|
+
import"./cli-v8rpjrnx.js";
|
|
1466
1465
|
import {
|
|
1467
1466
|
automationIntegrationFixUrl,
|
|
1468
1467
|
preflightAutomation,
|
|
@@ -1484,7 +1483,7 @@ import {
|
|
|
1484
1483
|
definitionNodeIds,
|
|
1485
1484
|
validateDefinition,
|
|
1486
1485
|
init_definition2
|
|
1487
|
-
} from "./cli-
|
|
1486
|
+
} from "./cli-hhb8kbwd.js";
|
|
1488
1487
|
import {
|
|
1489
1488
|
_fetchHolder,
|
|
1490
1489
|
CLIENT_ID,
|
|
@@ -1526,7 +1525,7 @@ import {
|
|
|
1526
1525
|
toSessionSharesState,
|
|
1527
1526
|
setSessionShares,
|
|
1528
1527
|
init_session_shares
|
|
1529
|
-
} from "./cli-
|
|
1528
|
+
} from "./cli-1gnf5c7x.js";
|
|
1530
1529
|
import {
|
|
1531
1530
|
isInvalidClientError,
|
|
1532
1531
|
publicEndpointSsrfOptions,
|
|
@@ -1544,12 +1543,8 @@ import {
|
|
|
1544
1543
|
revokeMcpToken,
|
|
1545
1544
|
computeExpiresAt,
|
|
1546
1545
|
init_mcp_wrapper
|
|
1547
|
-
} from "./cli-
|
|
1546
|
+
} from "./cli-gkjw33x5.js";
|
|
1548
1547
|
import"./cli-v41kn3cd.js";
|
|
1549
|
-
import {
|
|
1550
|
-
setBedrockProviderModule,
|
|
1551
|
-
init_bedrock_converse_stream_lazy
|
|
1552
|
-
} from "./cli-k3facve0.js";
|
|
1553
1548
|
import {
|
|
1554
1549
|
import_websocket,
|
|
1555
1550
|
import_websocket_server,
|
|
@@ -1584,7 +1579,7 @@ import {
|
|
|
1584
1579
|
revokeAllAgentSessionTokens,
|
|
1585
1580
|
fingerprintApiKey,
|
|
1586
1581
|
init_users
|
|
1587
|
-
} from "./cli-
|
|
1582
|
+
} from "./cli-grk77aen.js";
|
|
1588
1583
|
import {
|
|
1589
1584
|
CORE_TOOLS,
|
|
1590
1585
|
init_tool_config
|
|
@@ -1612,7 +1607,7 @@ import {
|
|
|
1612
1607
|
IDENTITY_FIELD_BUDGETS,
|
|
1613
1608
|
IdentityFieldBudgetError,
|
|
1614
1609
|
init_identity_field_budget
|
|
1615
|
-
} from "./cli-
|
|
1610
|
+
} from "./cli-aytna2fm.js";
|
|
1616
1611
|
import {
|
|
1617
1612
|
getSlackConfiguration,
|
|
1618
1613
|
init_config4
|
|
@@ -1650,7 +1645,7 @@ import {
|
|
|
1650
1645
|
resolveTemplate,
|
|
1651
1646
|
init_resolver,
|
|
1652
1647
|
init_session_templates
|
|
1653
|
-
} from "./cli-
|
|
1648
|
+
} from "./cli-b768ek79.js";
|
|
1654
1649
|
import {
|
|
1655
1650
|
getOpenRouterAttributionHeaders,
|
|
1656
1651
|
init_openrouter_base_url
|
|
@@ -1882,7 +1877,7 @@ import {
|
|
|
1882
1877
|
import {
|
|
1883
1878
|
init_package,
|
|
1884
1879
|
package_default
|
|
1885
|
-
} from "./cli-
|
|
1880
|
+
} from "./cli-sy2ge2ye.js";
|
|
1886
1881
|
import {
|
|
1887
1882
|
realtimeBus,
|
|
1888
1883
|
init_bus
|
|
@@ -1945,10 +1940,6 @@ function installConsoleScrub() {
|
|
|
1945
1940
|
// src/utils/console-scrub-install.ts
|
|
1946
1941
|
installConsoleScrub();
|
|
1947
1942
|
|
|
1948
|
-
// src/utils/internal-ai/register-bedrock.ts
|
|
1949
|
-
init_bedrock_converse_stream_lazy();
|
|
1950
|
-
setBedrockProviderModule(bedrockProviderModule);
|
|
1951
|
-
|
|
1952
1943
|
// src/http/index.ts
|
|
1953
1944
|
init_server();
|
|
1954
1945
|
init_agentmail();
|
|
@@ -45426,6 +45417,7 @@ var createSessionCostRoute = route({
|
|
|
45426
45417
|
harness: ProviderNameSchema.nullable().optional(),
|
|
45427
45418
|
totalCostUsd: number2(),
|
|
45428
45419
|
harnessCostBilled: boolean().optional(),
|
|
45420
|
+
estimated: boolean().optional(),
|
|
45429
45421
|
taskId: string2().optional(),
|
|
45430
45422
|
inputTokens: number2().int().nonnegative().optional(),
|
|
45431
45423
|
outputTokens: number2().int().nonnegative().optional(),
|
|
@@ -45601,6 +45593,7 @@ async function handleSessionData(req, res, pathSegments, queryParams, myAgentId)
|
|
|
45601
45593
|
model,
|
|
45602
45594
|
harnessCostUsd: parsed.body.totalCostUsd,
|
|
45603
45595
|
harnessCostBilled: parsed.body.harnessCostBilled,
|
|
45596
|
+
estimated: parsed.body.estimated,
|
|
45604
45597
|
inputTokens,
|
|
45605
45598
|
outputTokens,
|
|
45606
45599
|
cacheReadTokens: cachedInputTokens,
|
|
@@ -53724,7 +53717,7 @@ var httpServer = createHttpServer(async (req, res) => {
|
|
|
53724
53717
|
});
|
|
53725
53718
|
});
|
|
53726
53719
|
var detachRealtime = attachRealtimeTransport(httpServer);
|
|
53727
|
-
var { attachControllerTransport } = await import("./controllers-connect-
|
|
53720
|
+
var { attachControllerTransport } = await import("./controllers-connect-yft057ws.js");
|
|
53728
53721
|
var detachControllers = attachControllerTransport(httpServer);
|
|
53729
53722
|
var stopWorkerNudges = startWorkerNudgeListener();
|
|
53730
53723
|
var taskAutoTitles = startTaskAutoTitleListener();
|
|
@@ -53755,7 +53748,7 @@ async function shutdown() {
|
|
|
53755
53748
|
sessionsProcessed: getServerSessionsProcessed()
|
|
53756
53749
|
});
|
|
53757
53750
|
if (hasCapability("scheduling")) {
|
|
53758
|
-
const { stopScheduler } = await import("./index-
|
|
53751
|
+
const { stopScheduler } = await import("./index-st231bqv.js");
|
|
53759
53752
|
stopScheduler();
|
|
53760
53753
|
}
|
|
53761
53754
|
stopHeartbeat2();
|
|
@@ -53767,7 +53760,7 @@ async function shutdown() {
|
|
|
53767
53760
|
await stopSlackApp2();
|
|
53768
53761
|
await stopChatSdk();
|
|
53769
53762
|
if (!isEnvFlagEnabled("OAUTH_KEEPALIVE_DISABLE", false)) {
|
|
53770
|
-
const { stopOAuthKeepalive } = await import("./keepalive-
|
|
53763
|
+
const { stopOAuthKeepalive } = await import("./keepalive-vjnnqbkm.js");
|
|
53771
53764
|
await stopOAuthKeepalive();
|
|
53772
53765
|
}
|
|
53773
53766
|
stopOAuthPendingGc();
|
|
@@ -53857,21 +53850,21 @@ try {
|
|
|
53857
53850
|
console.warn("[startup] CAPABILITIES upgrade seed failed (non-fatal):", err);
|
|
53858
53851
|
}
|
|
53859
53852
|
try {
|
|
53860
|
-
const { ensurePricingSeeded } = await import("./boot-seeds-
|
|
53853
|
+
const { ensurePricingSeeded } = await import("./boot-seeds-bjceqg7b.js");
|
|
53861
53854
|
ensurePricingSeeded();
|
|
53862
|
-
const { startPricingRefreshLoop } = await import("./pricing-refresh-
|
|
53855
|
+
const { startPricingRefreshLoop } = await import("./pricing-refresh-jtmjwss9.js");
|
|
53863
53856
|
startPricingRefreshLoop();
|
|
53864
53857
|
} catch (err) {
|
|
53865
53858
|
console.error("[startup] Failed to seed pricing rows:", err);
|
|
53866
53859
|
}
|
|
53867
53860
|
try {
|
|
53868
|
-
const { ensureModelProfilesSeeded } = await import("./boot-seeds-
|
|
53861
|
+
const { ensureModelProfilesSeeded } = await import("./boot-seeds-bjceqg7b.js");
|
|
53869
53862
|
await ensureModelProfilesSeeded();
|
|
53870
53863
|
} catch (err) {
|
|
53871
53864
|
console.error("[startup] Failed to seed model profiles:", err);
|
|
53872
53865
|
}
|
|
53873
53866
|
try {
|
|
53874
|
-
const { ensureRbacSeeded } = await import("./boot-seeds-
|
|
53867
|
+
const { ensureRbacSeeded } = await import("./boot-seeds-bjceqg7b.js");
|
|
53875
53868
|
ensureRbacSeeded();
|
|
53876
53869
|
} catch (err) {
|
|
53877
53870
|
console.error("[startup] Failed to sync RBAC seed rows:", err);
|
|
@@ -53879,13 +53872,13 @@ try {
|
|
|
53879
53872
|
throw err;
|
|
53880
53873
|
}
|
|
53881
53874
|
try {
|
|
53882
|
-
const { runAllSeeders } = await import("./index-
|
|
53875
|
+
const { runAllSeeders } = await import("./index-9r4j0a60.js");
|
|
53883
53876
|
await runAllSeeders({ scriptEmbeddingMode: "skip" });
|
|
53884
53877
|
} catch (err) {
|
|
53885
53878
|
console.error("[startup] Failed to seed built-in entities:", err);
|
|
53886
53879
|
}
|
|
53887
53880
|
try {
|
|
53888
|
-
const { runImports } = await import("./index-
|
|
53881
|
+
const { runImports } = await import("./index-2z1z7qx6.js");
|
|
53889
53882
|
await runImports();
|
|
53890
53883
|
} catch (err) {
|
|
53891
53884
|
console.error("[startup] File import failed:", scrubSecrets(err instanceof Error ? err.message : String(err)));
|
|
@@ -53936,10 +53929,10 @@ httpServer.listen(port, async () => {
|
|
|
53936
53929
|
startChatSdk().catch((err) => {
|
|
53937
53930
|
console.error("[chat-sdk] Failed to start, continuing without Chat SDK:", scrubSecrets(err instanceof Error ? err.message : String(err)));
|
|
53938
53931
|
});
|
|
53939
|
-
import("./agent-fs-provision-
|
|
53932
|
+
import("./agent-fs-provision-vbk3fppw.js").then(({ syncAgentFsOrgSwarmUrl }) => syncAgentFsOrgSwarmUrl(getConfiguredAppUrls()[0])).catch((err) => {
|
|
53940
53933
|
console.warn("[agent-fs] Failed to set the org swarm URL:", scrubSecrets(err instanceof Error ? err.message : String(err)));
|
|
53941
53934
|
});
|
|
53942
|
-
import("./object-webhooks-
|
|
53935
|
+
import("./object-webhooks-gt9xnq21.js").then(({ ensureObjectWebhooksForKnownDrives }) => ensureObjectWebhooksForKnownDrives()).catch((err) => {
|
|
53943
53936
|
console.warn("[objects] agent-fs webhook boot check failed:", scrubSecrets(err instanceof Error ? err.message : String(err)));
|
|
53944
53937
|
});
|
|
53945
53938
|
startQueueStallAlarm();
|
|
@@ -53955,25 +53948,25 @@ httpServer.listen(port, async () => {
|
|
|
53955
53948
|
await initWorkflows2();
|
|
53956
53949
|
await startScriptRunSupervisor(getMcpBaseUrl());
|
|
53957
53950
|
if (hasCapability("scheduling")) {
|
|
53958
|
-
const { startScheduler } = await import("./index-
|
|
53959
|
-
const { getExecutorRegistry } = await import("./index-
|
|
53951
|
+
const { startScheduler } = await import("./index-st231bqv.js");
|
|
53952
|
+
const { getExecutorRegistry } = await import("./index-6mgbdtv1.js");
|
|
53960
53953
|
const intervalMs = Number(process.env.SCHEDULER_INTERVAL_MS) || 1e4;
|
|
53961
53954
|
startScheduler(getExecutorRegistry(), intervalMs, {
|
|
53962
53955
|
runId: globalState.__runId
|
|
53963
53956
|
});
|
|
53964
53957
|
}
|
|
53965
53958
|
if (!isEnvFlagEnabled("HEARTBEAT_DISABLE", false)) {
|
|
53966
|
-
const { parseHeartbeatIntervalMs, startHeartbeat } = await import("./index-
|
|
53959
|
+
const { parseHeartbeatIntervalMs, startHeartbeat } = await import("./index-hqdsn2t2.js");
|
|
53967
53960
|
startHeartbeat(parseHeartbeatIntervalMs(process.env.HEARTBEAT_INTERVAL_MS));
|
|
53968
53961
|
}
|
|
53969
53962
|
startPoolRouting();
|
|
53970
53963
|
startRuntimeSupervisor();
|
|
53971
53964
|
if (!isEnvFlagEnabled("OAUTH_KEEPALIVE_DISABLE", false)) {
|
|
53972
|
-
const { startOAuthKeepalive } = await import("./keepalive-
|
|
53965
|
+
const { startOAuthKeepalive } = await import("./keepalive-vjnnqbkm.js");
|
|
53973
53966
|
startOAuthKeepalive();
|
|
53974
53967
|
}
|
|
53975
53968
|
if (!isEnvFlagEnabled("OAUTH_REFRESH_SWEEP_DISABLE", false)) {
|
|
53976
|
-
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-
|
|
53969
|
+
const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-nkykf09m.js");
|
|
53977
53970
|
startOAuthRefreshSweep();
|
|
53978
53971
|
}
|
|
53979
53972
|
startOAuthPendingGc();
|
|
@@ -53983,22 +53976,22 @@ httpServer.listen(port, async () => {
|
|
|
53983
53976
|
startSavingsRollup(savingsRollupSql);
|
|
53984
53977
|
startHumanFreeDrain();
|
|
53985
53978
|
startTaskSearchBackfill();
|
|
53986
|
-
import("./embedding-space-
|
|
53979
|
+
import("./embedding-space-yam9zwzj.js").then(({ runEmbeddingMaintenance, setDeploymentEnvReader }) => {
|
|
53987
53980
|
setDeploymentEnvReader(getDeploymentEnvValue2);
|
|
53988
53981
|
return runEmbeddingMaintenance({ backfill: true });
|
|
53989
53982
|
}).catch((err) => {
|
|
53990
53983
|
console.error("[embedding-space] startup maintenance failed (non-fatal):", err);
|
|
53991
53984
|
});
|
|
53992
|
-
import("./boot-args-schema-
|
|
53985
|
+
import("./boot-args-schema-6tpk28j4.js").then(({ runBootArgsSchemaBackfill }) => runBootArgsSchemaBackfill()).catch((err) => {
|
|
53993
53986
|
console.error("[boot-args-schema] startup backfill failed (non-fatal):", err);
|
|
53994
53987
|
});
|
|
53995
|
-
import("./boot-scrub-sweep-
|
|
53988
|
+
import("./boot-scrub-sweep-cgb6r5bd.js").then(({ runBootScrubSweep }) => runBootScrubSweep()).catch((err) => {
|
|
53996
53989
|
console.error("[boot-scrub-sweep] startup scrub failed (non-fatal):", err);
|
|
53997
53990
|
});
|
|
53998
|
-
import("./user-merge-jobs-
|
|
53991
|
+
import("./user-merge-jobs-zetg26e0.js").then(({ resumeUserMergeJobs }) => resumeUserMergeJobs()).catch((err) => {
|
|
53999
53992
|
console.error("[user-merge] startup resume failed (non-fatal):", err);
|
|
54000
53993
|
});
|
|
54001
|
-
import("./session-source-backfill-
|
|
53994
|
+
import("./session-source-backfill-wb60zjkd.js").then(({ runSessionSourceBackfill }) => runSessionSourceBackfill()).catch((err) => {
|
|
54002
53995
|
console.error("[session-source-backfill] startup run failed (non-fatal):", err);
|
|
54003
53996
|
});
|
|
54004
53997
|
}).on("error", (err) => {
|
|
@@ -4,24 +4,24 @@ import {
|
|
|
4
4
|
SKILL_FILE_LIMITS2,
|
|
5
5
|
normalizeSkillFilePath2,
|
|
6
6
|
init_db4
|
|
7
|
-
} from "./cli-
|
|
7
|
+
} from "./cli-e4gx499y.js";
|
|
8
8
|
import {
|
|
9
9
|
runSeeder
|
|
10
|
-
} from "./cli-
|
|
11
|
-
import"./cli-
|
|
12
|
-
import"./cli-
|
|
10
|
+
} from "./cli-ppf9ap9n.js";
|
|
11
|
+
import"./cli-hxj888w3.js";
|
|
12
|
+
import"./cli-4dyhzhpx.js";
|
|
13
13
|
import"./cli-vr4eyq6p.js";
|
|
14
14
|
import"./cli-r8ddn0hf.js";
|
|
15
15
|
import"./cli-vx9acp12.js";
|
|
16
|
-
import"./cli-
|
|
17
|
-
import"./cli-
|
|
18
|
-
import"./cli-
|
|
19
|
-
import"./cli-
|
|
20
|
-
import"./cli-
|
|
21
|
-
import"./cli-
|
|
16
|
+
import"./cli-ea367bdn.js";
|
|
17
|
+
import"./cli-gxqwm3k3.js";
|
|
18
|
+
import"./cli-hpxcfvdm.js";
|
|
19
|
+
import"./cli-tjf1bh1v.js";
|
|
20
|
+
import"./cli-fbmgpt72.js";
|
|
21
|
+
import"./cli-h3drhntp.js";
|
|
22
22
|
import"./cli-y260hgep.js";
|
|
23
|
-
import"./cli-
|
|
24
|
-
import"./cli-
|
|
23
|
+
import"./cli-268b3dgn.js";
|
|
24
|
+
import"./cli-dw43pnzp.js";
|
|
25
25
|
import {
|
|
26
26
|
getExecutorRegistry2,
|
|
27
27
|
init_workflows,
|
|
@@ -30,12 +30,12 @@ import {
|
|
|
30
30
|
skillSpecOf,
|
|
31
31
|
skillHash,
|
|
32
32
|
init_assets
|
|
33
|
-
} from "./cli-
|
|
33
|
+
} from "./cli-1606qw3n.js";
|
|
34
34
|
import {
|
|
35
35
|
installImportedSkills,
|
|
36
36
|
prepareSeeders,
|
|
37
37
|
init_seeders
|
|
38
|
-
} from "./cli-
|
|
38
|
+
} from "./cli-mgr3gatr.js";
|
|
39
39
|
import {
|
|
40
40
|
validateScriptImports,
|
|
41
41
|
init_import_allowlist,
|
|
@@ -47,23 +47,23 @@ import {
|
|
|
47
47
|
init_typecheck,
|
|
48
48
|
parseSkillContent,
|
|
49
49
|
init_skill_parser
|
|
50
|
-
} from "./cli-
|
|
51
|
-
import"./cli-
|
|
52
|
-
import"./cli-
|
|
53
|
-
import"./cli-
|
|
54
|
-
import"./cli-
|
|
50
|
+
} from "./cli-ka4tqjzd.js";
|
|
51
|
+
import"./cli-8sayvj48.js";
|
|
52
|
+
import"./cli-w24741sm.js";
|
|
53
|
+
import"./cli-snwz16eg.js";
|
|
54
|
+
import"./cli-v8rpjrnx.js";
|
|
55
55
|
import {
|
|
56
56
|
validateDefinition,
|
|
57
57
|
init_definition2
|
|
58
|
-
} from "./cli-
|
|
58
|
+
} from "./cli-hhb8kbwd.js";
|
|
59
59
|
import"./cli-b0m3bg0f.js";
|
|
60
|
-
import"./cli-
|
|
61
|
-
import"./cli-
|
|
62
|
-
import"./cli-
|
|
60
|
+
import"./cli-1gnf5c7x.js";
|
|
61
|
+
import"./cli-gkjw33x5.js";
|
|
62
|
+
import"./cli-grk77aen.js";
|
|
63
63
|
import {
|
|
64
64
|
IDENTITY_MD_MAX_CHARS,
|
|
65
65
|
init_identity_field_budget
|
|
66
|
-
} from "./cli-
|
|
66
|
+
} from "./cli-aytna2fm.js";
|
|
67
67
|
import {
|
|
68
68
|
isSafeBundlePath,
|
|
69
69
|
init_bundle_path,
|