@desplega.ai/agent-swarm 2.4.2 → 2.4.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.
Files changed (127) hide show
  1. package/dist/{acp-adapter-dv7hmx4r.js → acp-adapter-1885dpr7.js} +4 -4
  2. package/dist/{actions-51nc1gny.js → actions-pn76n32q.js} +18 -18
  3. package/dist/{amp-adapter-abp5tdx8.js → amp-adapter-af84rx1d.js} +3 -3
  4. package/dist/{app-9h14qvr6.js → app-6sv8mhzm.js} +3 -3
  5. package/dist/{assistant-wv1gz3mt.js → assistant-sc2tf825.js} +20 -20
  6. package/dist/{boot-reembed-7fcka4z5.js → boot-reembed-gvxjs2py.js} +1 -1
  7. package/dist/{boot-reembed-6yn53ms9.js → boot-reembed-y3m0ydzj.js} +1 -1
  8. package/dist/{boot-scrub-sweep-pm1580ax.js → boot-scrub-sweep-1j9mk05f.js} +3 -3
  9. package/dist/{boot-seeds-g5hfc1x8.js → boot-seeds-37sp626b.js} +4 -4
  10. package/dist/{claude-adapter-gf3kxhf0.js → claude-adapter-rp0jtnwr.js} +4 -4
  11. package/dist/{claude-managed-setup-h00hsgtz.js → claude-managed-setup-rdt248k7.js} +1 -1
  12. package/dist/{claude-sdk-session-s2k1qd8y.js → claude-sdk-session-53rcw5we.js} +9822 -9749
  13. package/dist/{cli-z4wd2ftv.js → cli-038fga5k.js} +2 -2
  14. package/dist/{cli-y2x52gs2.js → cli-0dxxwfkt.js} +8 -8
  15. package/dist/{cli-y8n5k515.js → cli-1012xb7j.js} +28 -28
  16. package/dist/{cli-sv5gb0yb.js → cli-1eszr343.js} +1 -1
  17. package/dist/{cli-7225gwj7.js → cli-1m17dc9d.js} +1 -1
  18. package/dist/{cli-r99kc9yq.js → cli-1ma335fz.js} +3 -3
  19. package/dist/{cli-faypxz7q.js → cli-1n9gdg56.js} +4 -4
  20. package/dist/{cli-shvfedvm.js → cli-1xsraagq.js} +2 -2
  21. package/dist/{cli-xbzvet96.js → cli-36ckw0wx.js} +5 -4
  22. package/dist/{cli-mhywgrrz.js → cli-4sydckyj.js} +1 -1
  23. package/dist/{cli-bcj753sq.js → cli-4yef8ghv.js} +3 -3
  24. package/dist/{cli-g0hgtz4p.js → cli-58vwn100.js} +3 -3
  25. package/dist/{cli-pw7v69vp.js → cli-625tb7aq.js} +1 -1
  26. package/dist/{cli-ftyypbg5.js → cli-6aen3ezb.js} +1 -1
  27. package/dist/{cli-efaqv1c7.js → cli-6eyncg0y.js} +6 -6
  28. package/dist/{cli-h38rjv87.js → cli-73ezfhha.js} +5 -5
  29. package/dist/{cli-x5mq1fyq.js → cli-74c1wpm0.js} +3 -3
  30. package/dist/{cli-b1dfr1m4.js → cli-7a6p4e65.js} +1 -1
  31. package/dist/{cli-fpmsqq59.js → cli-836ehxmt.js} +1 -1
  32. package/dist/{cli-1pa3rz69.js → cli-8vverzf7.js} +1 -1
  33. package/dist/{cli-hyfw2j1e.js → cli-8y99kfey.js} +11 -11
  34. package/dist/{cli-ahtpy9kf.js → cli-aa3tb29r.js} +10 -5
  35. package/dist/{cli-fyzjmseb.js → cli-aypbg9r2.js} +1 -1
  36. package/dist/{cli-0qvtffe9.js → cli-bxrqvpg5.js} +6 -6
  37. package/dist/{cli-0hyhdkdk.js → cli-cebvbc9t.js} +4 -1
  38. package/dist/{cli-10hhg0km.js → cli-dm8p2dpf.js} +7 -7
  39. package/dist/{cli-8sxqsbbq.js → cli-e4d78xsv.js} +1 -1
  40. package/dist/{cli-7a91w22y.js → cli-e8xyjvfc.js} +1 -1
  41. package/dist/{cli-8zwe9mpk.js → cli-f0p0f6ja.js} +10 -10
  42. package/dist/{cli-w9g4sz81.js → cli-gf2850q7.js} +1 -1
  43. package/dist/{cli-n85dqg6d.js → cli-gx0j2khs.js} +4 -4
  44. package/dist/{cli-239yjk27.js → cli-h0mgxann.js} +5 -5
  45. package/dist/{cli-5rk36sjf.js → cli-kgnkyabk.js} +35 -34
  46. package/dist/{cli-hqhzg1qq.js → cli-mzkwkbdy.js} +1 -1
  47. package/dist/{cli-saw9a6f6.js → cli-npfe9t1s.js} +2 -2
  48. package/dist/{cli-t30yj95q.js → cli-p0qerd2r.js} +1 -1
  49. package/dist/{cli-s6vr7r2d.js → cli-pygdsgh8.js} +1 -1
  50. package/dist/{cli-2wag8973.js → cli-qeaq3j6t.js} +1 -1
  51. package/dist/{cli-7awf1fp8.js → cli-qp2m4btv.js} +3 -3
  52. package/dist/{cli-02qm7src.js → cli-s9rr4gr2.js} +5 -5
  53. package/dist/{cli-nmqdc2t3.js → cli-sds5zzs8.js} +1 -1
  54. package/dist/{cli-nn47d7e8.js → cli-tkf4x6ha.js} +15 -15
  55. package/dist/{cli-pkht5hap.js → cli-v87dr6e3.js} +2 -2
  56. package/dist/{cli-d3qqdy4c.js → cli-vcgscaan.js} +12 -12
  57. package/dist/{cli-zfg9enh9.js → cli-vfha21c9.js} +6 -1
  58. package/dist/{cli-h93c9vb3.js → cli-vq9gqarq.js} +1 -1
  59. package/dist/{cli-a4gvwttf.js → cli-wk28hzqn.js} +2 -2
  60. package/dist/{cli-rdyw3mct.js → cli-zvbb4n0e.js} +6 -5
  61. package/dist/cli.js +16 -16
  62. package/dist/{codex-adapter-ttygw382.js → codex-adapter-2zrmab9b.js} +2 -2
  63. package/dist/{codex-hook-x7nejyrr.js → codex-hook-e2he7aca.js} +2 -2
  64. package/dist/{codex-session-runner-60b58vv3.js → codex-session-runner-kbkz62vc.js} +2 -2
  65. package/dist/{commands-edmdwa4x.js → commands-hd574th6.js} +3 -3
  66. package/dist/{controller-m263fg43.js → controller-pz5mcfg4.js} +3 -3
  67. package/dist/{controllers-connect-5fym8sw1.js → controllers-connect-5rgq2hfk.js} +19 -19
  68. package/dist/{cursor-adapter-cz6nm6mj.js → cursor-adapter-mgaprq0j.js} +2 -2
  69. package/dist/{db-nn0hcmx5.js → db-6nf1207q.js} +2 -2
  70. package/dist/{db-2y0mgstc.js → db-h06dxp05.js} +3 -3
  71. package/dist/{dispatcher-0a9wwjcx.js → dispatcher-zthpy4m1.js} +17 -17
  72. package/dist/{dsh-adapter-3n3net33.js → dsh-adapter-64dhw0j7.js} +2 -2
  73. package/dist/{e2b-thdcxtjd.js → e2b-16d6ch39.js} +1 -1
  74. package/dist/{e2b-7am6tmq6.js → e2b-zn0b4w5w.js} +1 -1
  75. package/dist/{external-channel-zhvt95n3.js → external-channel-x01t7ke6.js} +2 -2
  76. package/dist/{grok-adapter-qnr1hp2y.js → grok-adapter-h21jv594.js} +5 -5
  77. package/dist/handlers-2qjw434w.js +39 -0
  78. package/dist/{heartbeat-gz97r7ac.js → heartbeat-zzfksckz.js} +20 -20
  79. package/dist/{hook-x8rthca4.js → hook-3xfqhh2s.js} +2 -2
  80. package/dist/{hook-1mmdgjqs.js → hook-z4zhzj1f.js} +10 -5
  81. package/dist/{http-r8f85xr9.js → http-q813tmya.js} +46 -46
  82. package/dist/{index-y7rbcrc1.js → index-220tk9bw.js} +9 -9
  83. package/dist/index-d0g18bax.js +41 -0
  84. package/dist/{index-vzvfqzfj.js → index-m0a4ydqj.js} +17 -17
  85. package/dist/{index-aex0eba9.js → index-wbbs14c5.js} +17 -17
  86. package/dist/{index-smxyk04s.js → index-x8xbyn1t.js} +1 -1
  87. package/dist/{keepalive-64c0f34c.js → keepalive-y5t1my7m.js} +3 -3
  88. package/dist/{lead-b1da0f97.js → lead-2xwtq66b.js} +30 -30
  89. package/dist/{maintenance-mnxpar12.js → maintenance-ybfsaedv.js} +1 -1
  90. package/dist/{oauth-refresh-sweep-36hs2v4h.js → oauth-refresh-sweep-909jmn12.js} +2 -2
  91. package/dist/{onboard-xes8de61.js → onboard-xn6fkkys.js} +3 -3
  92. package/dist/{opencode-adapter-3s7ax02e.js → opencode-adapter-x4tqzhkh.js} +3 -3
  93. package/dist/{otel-impl-fzc57kcq.js → otel-impl-e6mn0z13.js} +1 -1
  94. package/dist/{pi-mono-adapter-ytp7gz8b.js → pi-mono-adapter-mcfkn9vf.js} +3 -3
  95. package/dist/{pricing-refresh-1nek2w7b.js → pricing-refresh-ygd362ep.js} +3 -3
  96. package/dist/{rbac-roles-ttyfaep2.js → rbac-roles-c9axvfnz.js} +3 -3
  97. package/dist/{rbac-roles-sqefb5hw.js → rbac-roles-mb470p4e.js} +2 -2
  98. package/dist/{render-v2-vb527jwn.js → render-v2-g0306nh1.js} +3 -3
  99. package/dist/{resume-jcdzg1bn.js → resume-v315hnq6.js} +5 -5
  100. package/dist/{session-access-zsp4wsp0.js → session-access-2zg285a1.js} +4 -4
  101. package/dist/{setup-1nb2zqd3.js → setup-a4mtf02k.js} +1 -1
  102. package/dist/{work-objects-61w08fwr.js → work-objects-9fr0fgtn.js} +21 -21
  103. package/dist/{worker-c1e68hpa.js → worker-qae22jeb.js} +30 -30
  104. package/openapi.json +1 -1
  105. package/package.json +2 -2
  106. package/src/be/db.ts +7 -4
  107. package/src/be/migrations/231_slack_tasks_last_updated_index.sql +5 -0
  108. package/src/github/handlers.ts +6 -5
  109. package/src/hooks/hook.ts +2 -1
  110. package/src/providers/amp-adapter.ts +1 -1
  111. package/src/providers/codex-adapter.ts +4 -4
  112. package/src/providers/opencode-adapter.ts +2 -2
  113. package/src/providers/pi-mono-extension.ts +2 -1
  114. package/src/tests/claude-stop-hook.test.ts +47 -0
  115. package/src/tests/codex-adapter.test.ts +42 -0
  116. package/src/tests/env-flag.test.ts +15 -1
  117. package/src/tests/github-handlers-cancel-config.test.ts +29 -8
  118. package/src/tests/github-handlers-inline-comments.test.ts +9 -2
  119. package/src/tests/script-connections.test.ts +2 -0
  120. package/src/tests/skill-script-refs.test.ts +63 -0
  121. package/src/tests/slack-render-v2-query-plans.test.ts +147 -0
  122. package/src/utils/env-flag.ts +9 -0
  123. package/templates/skills/apps/SKILL.md +1 -0
  124. package/templates/skills/apps/content.md +1 -0
  125. package/templates/skills/code-quality/content.md +9 -14
  126. package/dist/handlers-dkcarkd0.js +0 -39
  127. package/dist/index-5jecgp3n.js +0 -41
@@ -280,7 +280,7 @@ import {
280
280
  hasCapability,
281
281
  getEnabledCapabilities,
282
282
  createServer
283
- } from "./cli-5rk36sjf.js";
283
+ } from "./cli-kgnkyabk.js";
284
284
  import {
285
285
  chatThreadOfContextKey,
286
286
  agentContextKey,
@@ -716,26 +716,26 @@ import {
716
716
  countScriptRunJournalSteps2,
717
717
  countScriptRunJournalAgentTaskSteps2,
718
718
  init_db3
719
- } from "./cli-d3qqdy4c.js";
719
+ } from "./cli-vcgscaan.js";
720
720
  import {
721
721
  getUserGrant2,
722
722
  init_rbac_roles
723
- } from "./cli-7awf1fp8.js";
724
- import"./cli-faypxz7q.js";
723
+ } from "./cli-qp2m4btv.js";
724
+ import"./cli-1n9gdg56.js";
725
725
  import {
726
726
  normalizeModelKey
727
- } from "./cli-h93c9vb3.js";
727
+ } from "./cli-vq9gqarq.js";
728
728
  import {
729
729
  upsertModelCatalogOverlay,
730
730
  deleteModelCatalogOverlay,
731
731
  loadModelsCatalog,
732
732
  requestModelCatalogRefresh2
733
- } from "./cli-saw9a6f6.js";
733
+ } from "./cli-npfe9t1s.js";
734
734
  import {
735
735
  AMP_ESTIMATE_MODELS,
736
736
  ampBillsCacheWrites,
737
737
  resolveAmpModel
738
- } from "./cli-sv5gb0yb.js";
738
+ } from "./cli-1eszr343.js";
739
739
  import {
740
740
  automationIntegrationFixUrl,
741
741
  preflightAutomation,
@@ -747,7 +747,7 @@ import {
747
747
  cancelWorkflowRun2,
748
748
  TriggerSchemaError,
749
749
  startWorkflowExecution2
750
- } from "./cli-y2x52gs2.js";
750
+ } from "./cli-0dxxwfkt.js";
751
751
  import {
752
752
  require_dist2,
753
753
  isInvalidClientError,
@@ -827,14 +827,14 @@ import {
827
827
  typecheckWithAmbient,
828
828
  typecheckScript,
829
829
  parseSkillContent
830
- } from "./cli-h38rjv87.js";
830
+ } from "./cli-73ezfhha.js";
831
831
  import {
832
832
  buildAuthorizationUrl,
833
833
  exchangeAuthorizationCode,
834
834
  oauthAppRowToProviderConfig,
835
835
  forceRefreshAuthorizationOrThrow,
836
836
  forceRefreshTokenOrThrow
837
- } from "./cli-s6vr7r2d.js";
837
+ } from "./cli-pygdsgh8.js";
838
838
  import {
839
839
  signalProcessGroup,
840
840
  detachedProcessGroup,
@@ -862,14 +862,14 @@ import {
862
862
  getSlackApp2,
863
863
  startSlackApp2,
864
864
  stopSlackApp2
865
- } from "./cli-nn47d7e8.js";
866
- import"./cli-pkht5hap.js";
865
+ } from "./cli-tkf4x6ha.js";
866
+ import"./cli-v87dr6e3.js";
867
867
  import {
868
868
  createApprovalFollowUpTask,
869
869
  generateEdges,
870
870
  definitionNodeIds,
871
871
  validateDefinition
872
- } from "./cli-02qm7src.js";
872
+ } from "./cli-s9rr4gr2.js";
873
873
  import"./cli-8nyhf7za.js";
874
874
  import {
875
875
  _fetchHolder,
@@ -927,10 +927,10 @@ import {
927
927
  bodyListTask,
928
928
  describeRequestRoute,
929
929
  route
930
- } from "./cli-efaqv1c7.js";
930
+ } from "./cli-6eyncg0y.js";
931
931
  import {
932
932
  isMultiRuntimeEnabled
933
- } from "./cli-7a91w22y.js";
933
+ } from "./cli-e8xyjvfc.js";
934
934
  import {
935
935
  FilesError,
936
936
  normalizeFilesError,
@@ -958,7 +958,7 @@ import {
958
958
  resolvePoolDelivery2,
959
959
  createPoolAgent2,
960
960
  init_db
961
- } from "./cli-n85dqg6d.js";
961
+ } from "./cli-gx0j2khs.js";
962
962
  import {
963
963
  RATING_MODEL_MAX_LENGTH,
964
964
  REFERENCES_SOURCE_MAX_LENGTH,
@@ -974,8 +974,8 @@ import {
974
974
  checkHeartbeatChecklist2,
975
975
  runHeartbeatSweep2,
976
976
  stopHeartbeat2
977
- } from "./cli-hyfw2j1e.js";
978
- import"./cli-hqhzg1qq.js";
977
+ } from "./cli-8y99kfey.js";
978
+ import"./cli-mzkwkbdy.js";
979
979
  import {
980
980
  import_websocket,
981
981
  import_websocket_server
@@ -984,7 +984,7 @@ import {
984
984
  runtimeSupervisorStatus,
985
985
  startRuntimeSupervisor,
986
986
  stopRuntimeSupervisor
987
- } from "./cli-8zwe9mpk.js";
987
+ } from "./cli-f0p0f6ja.js";
988
988
  import"./cli-ns59dc6r.js";
989
989
  import {
990
990
  ACP_TARGET_IDS
@@ -1004,11 +1004,11 @@ import {
1004
1004
  memoryRelevance,
1005
1005
  isUnknownModelError,
1006
1006
  writeSkillsToFilesystem
1007
- } from "./cli-ftyypbg5.js";
1007
+ } from "./cli-6aen3ezb.js";
1008
1008
  import {
1009
1009
  inviteEmailToSharedOrg,
1010
1010
  ensureAgentFsCredentialsForAgent
1011
- } from "./cli-t30yj95q.js";
1011
+ } from "./cli-p0qerd2r.js";
1012
1012
  import {
1013
1013
  Anthropic
1014
1014
  } from "./cli-er83cjbn.js";
@@ -1043,7 +1043,7 @@ import {
1043
1043
  revokeSessionToken,
1044
1044
  fingerprintApiKey,
1045
1045
  init_users
1046
- } from "./cli-nmqdc2t3.js";
1046
+ } from "./cli-sds5zzs8.js";
1047
1047
  import"./cli-v41kn3cd.js";
1048
1048
  import"./cli-wgtk7xxr.js";
1049
1049
  import {
@@ -1057,7 +1057,7 @@ import {
1057
1057
  clearAuditSink,
1058
1058
  can,
1059
1059
  init_rbac
1060
- } from "./cli-1pa3rz69.js";
1060
+ } from "./cli-8vverzf7.js";
1061
1061
  import {
1062
1062
  isSafeBundlePath,
1063
1063
  init_bundle_path,
@@ -1199,20 +1199,20 @@ import {
1199
1199
  KvKeySchema,
1200
1200
  KvEntrySchema,
1201
1201
  init_types
1202
- } from "./cli-fpmsqq59.js";
1202
+ } from "./cli-836ehxmt.js";
1203
1203
  import {
1204
1204
  IDENTITY_FIELD_BUDGETS,
1205
1205
  IdentityFieldBudgetError,
1206
1206
  init_identity_field_budget
1207
- } from "./cli-x5mq1fyq.js";
1207
+ } from "./cli-74c1wpm0.js";
1208
1208
  import {
1209
1209
  getSlackConfiguration,
1210
1210
  init_config
1211
- } from "./cli-2wag8973.js";
1211
+ } from "./cli-qeaq3j6t.js";
1212
1212
  import {
1213
1213
  isSteeringEnabled2,
1214
1214
  init_steering_enabled
1215
- } from "./cli-mhywgrrz.js";
1215
+ } from "./cli-4sydckyj.js";
1216
1216
  import {
1217
1217
  interpolate,
1218
1218
  init_template,
@@ -1272,7 +1272,7 @@ import {
1272
1272
  import {
1273
1273
  init_package,
1274
1274
  package_default
1275
- } from "./cli-shvfedvm.js";
1275
+ } from "./cli-1xsraagq.js";
1276
1276
  import {
1277
1277
  realtimeBus,
1278
1278
  init_bus
@@ -1285,12 +1285,12 @@ import {
1285
1285
  getPublicMcpBaseUrl,
1286
1286
  agentFsFileRoute,
1287
1287
  init_constants2
1288
- } from "./cli-w9g4sz81.js";
1288
+ } from "./cli-gf2850q7.js";
1289
1289
  import {
1290
1290
  parseEnvFlag,
1291
1291
  isEnvFlagEnabled,
1292
1292
  init_env_flag
1293
- } from "./cli-0hyhdkdk.js";
1293
+ } from "./cli-cebvbc9t.js";
1294
1294
  import {
1295
1295
  getApiKey,
1296
1296
  init_api_key
@@ -39126,7 +39126,7 @@ var httpServer = createHttpServer(async (req, res) => {
39126
39126
  });
39127
39127
  });
39128
39128
  var detachRealtime = attachRealtimeTransport(httpServer);
39129
- var { attachControllerTransport } = await import("./controllers-connect-5fym8sw1.js");
39129
+ var { attachControllerTransport } = await import("./controllers-connect-5rgq2hfk.js");
39130
39130
  var detachControllers = attachControllerTransport(httpServer);
39131
39131
  var stopWorkerNudges = startWorkerNudgeListener();
39132
39132
  var stopRoomDeletion = realtimeBus.subscribe("room:namespace-deleted", (namespace) => {
@@ -39155,7 +39155,7 @@ async function shutdown() {
39155
39155
  sessionsProcessed: getServerSessionsProcessed()
39156
39156
  });
39157
39157
  if (hasCapability("scheduling")) {
39158
- const { stopScheduler } = await import("./index-aex0eba9.js");
39158
+ const { stopScheduler } = await import("./index-wbbs14c5.js");
39159
39159
  stopScheduler();
39160
39160
  }
39161
39161
  stopHeartbeat2();
@@ -39167,7 +39167,7 @@ async function shutdown() {
39167
39167
  await stopSlackApp2();
39168
39168
  await stopChatSdk();
39169
39169
  if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
39170
- const { stopOAuthKeepalive } = await import("./keepalive-64c0f34c.js");
39170
+ const { stopOAuthKeepalive } = await import("./keepalive-y5t1my7m.js");
39171
39171
  await stopOAuthKeepalive();
39172
39172
  }
39173
39173
  stopOAuthPendingGc();
@@ -39247,21 +39247,21 @@ try {
39247
39247
  console.warn("[startup] CAPABILITIES upgrade seed failed (non-fatal):", err);
39248
39248
  }
39249
39249
  try {
39250
- const { ensurePricingSeeded } = await import("./boot-seeds-g5hfc1x8.js");
39250
+ const { ensurePricingSeeded } = await import("./boot-seeds-37sp626b.js");
39251
39251
  ensurePricingSeeded();
39252
- const { startPricingRefreshLoop } = await import("./pricing-refresh-1nek2w7b.js");
39252
+ const { startPricingRefreshLoop } = await import("./pricing-refresh-ygd362ep.js");
39253
39253
  startPricingRefreshLoop();
39254
39254
  } catch (err) {
39255
39255
  console.error("[startup] Failed to seed pricing rows:", err);
39256
39256
  }
39257
39257
  try {
39258
- const { ensureModelProfilesSeeded } = await import("./boot-seeds-g5hfc1x8.js");
39258
+ const { ensureModelProfilesSeeded } = await import("./boot-seeds-37sp626b.js");
39259
39259
  await ensureModelProfilesSeeded();
39260
39260
  } catch (err) {
39261
39261
  console.error("[startup] Failed to seed model profiles:", err);
39262
39262
  }
39263
39263
  try {
39264
- const { ensureRbacSeeded } = await import("./boot-seeds-g5hfc1x8.js");
39264
+ const { ensureRbacSeeded } = await import("./boot-seeds-37sp626b.js");
39265
39265
  ensureRbacSeeded();
39266
39266
  } catch (err) {
39267
39267
  console.error("[startup] Failed to sync RBAC seed rows:", err);
@@ -39269,7 +39269,7 @@ try {
39269
39269
  throw err;
39270
39270
  }
39271
39271
  try {
39272
- const { runAllSeeders } = await import("./index-y7rbcrc1.js");
39272
+ const { runAllSeeders } = await import("./index-220tk9bw.js");
39273
39273
  await runAllSeeders({ scriptEmbeddingMode: "skip" });
39274
39274
  } catch (err) {
39275
39275
  console.error("[startup] Failed to seed built-in entities:", err);
@@ -39331,39 +39331,39 @@ httpServer.listen(port, async () => {
39331
39331
  await initWorkflows2();
39332
39332
  await startScriptRunSupervisor(getMcpBaseUrl());
39333
39333
  if (hasCapability("scheduling")) {
39334
- const { startScheduler } = await import("./index-aex0eba9.js");
39335
- const { getExecutorRegistry } = await import("./index-vzvfqzfj.js");
39334
+ const { startScheduler } = await import("./index-wbbs14c5.js");
39335
+ const { getExecutorRegistry } = await import("./index-m0a4ydqj.js");
39336
39336
  const intervalMs = Number(process.env.SCHEDULER_INTERVAL_MS) || 1e4;
39337
39337
  startScheduler(getExecutorRegistry(), intervalMs, {
39338
39338
  runId: globalState.__runId
39339
39339
  });
39340
39340
  }
39341
39341
  if (!isEnvFlagEnabled("HEARTBEAT_DISABLE", false)) {
39342
- const { startHeartbeat } = await import("./index-5jecgp3n.js");
39342
+ const { startHeartbeat } = await import("./index-d0g18bax.js");
39343
39343
  const heartbeatMs = Number(process.env.HEARTBEAT_INTERVAL_MS) || 90000;
39344
39344
  startHeartbeat(heartbeatMs);
39345
39345
  }
39346
39346
  startPoolRouting();
39347
39347
  startRuntimeSupervisor();
39348
39348
  if (process.env.OAUTH_KEEPALIVE_DISABLE !== "true") {
39349
- const { startOAuthKeepalive } = await import("./keepalive-64c0f34c.js");
39349
+ const { startOAuthKeepalive } = await import("./keepalive-y5t1my7m.js");
39350
39350
  startOAuthKeepalive();
39351
39351
  }
39352
39352
  if (process.env.OAUTH_REFRESH_SWEEP_DISABLE !== "true") {
39353
- const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-36hs2v4h.js");
39353
+ const { startOAuthRefreshSweep } = await import("./oauth-refresh-sweep-909jmn12.js");
39354
39354
  startOAuthRefreshSweep();
39355
39355
  }
39356
39356
  startOAuthPendingGc();
39357
39357
  await startMemoryGc();
39358
39358
  await startDbRetention();
39359
39359
  startHumanFreeDrain();
39360
- import("./boot-reembed-6yn53ms9.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
39360
+ import("./boot-reembed-y3m0ydzj.js").then(({ runBootReembed }) => runBootReembed()).catch((err) => {
39361
39361
  console.error("[boot-reembed] startup backfill failed (non-fatal):", err);
39362
39362
  });
39363
- import("./boot-reembed-7fcka4z5.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
39363
+ import("./boot-reembed-gvxjs2py.js").then(({ runBootReembedScripts }) => runBootReembedScripts()).catch((err) => {
39364
39364
  console.error("[boot-reembed-scripts] startup backfill failed (non-fatal):", err);
39365
39365
  });
39366
- import("./boot-scrub-sweep-pm1580ax.js").then(({ runBootScrubSweep }) => runBootScrubSweep()).catch((err) => {
39366
+ import("./boot-scrub-sweep-1j9mk05f.js").then(({ runBootScrubSweep }) => runBootScrubSweep()).catch((err) => {
39367
39367
  console.error("[boot-scrub-sweep] startup scrub failed (non-fatal):", err);
39368
39368
  });
39369
39369
  }).on("error", (err) => {