@desplega.ai/agent-swarm 1.135.1 → 1.136.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.
Files changed (127) hide show
  1. package/dist/{actions-cdtyz12q.js → actions-agcbc8nd.js} +6 -6
  2. package/dist/{anthropic-messages-706yad38.js → anthropic-messages-pm7pp23c.js} +36 -23
  3. package/dist/{app-bsbct708.js → app-g2s78xya.js} +3 -3
  4. package/dist/{assistant-139yzd1t.js → assistant-yd3jkb9d.js} +8 -8
  5. package/dist/{azure-openai-responses-40z2astx.js → azure-openai-responses-cwesc845.js} +13 -4
  6. package/dist/{boot-reembed-q7f385st.js → boot-reembed-6spqw4q0.js} +3 -3
  7. package/dist/{boot-reembed-gdzp4g2k.js → boot-reembed-b22s9w5x.js} +4 -4
  8. package/dist/{boot-scrub-logs-ammdkvre.js → boot-scrub-logs-6h3cqkc0.js} +2 -2
  9. package/dist/{claude-adapter-h67y60dz.js → claude-adapter-ng5y8zd7.js} +5 -5
  10. package/dist/{claude-managed-adapter-m2v2e90a.js → claude-managed-adapter-5zr3n86v.js} +2 -2
  11. package/dist/{cli-77vf7z36.js → cli-0crn5kaz.js} +7 -16
  12. package/dist/cli-0v7jxbvz.js +6724 -0
  13. package/dist/{cli-dntm4d6r.js → cli-35jknh9e.js} +5 -5
  14. package/dist/{cli-5vmvkwey.js → cli-3y553gws.js} +1 -1
  15. package/dist/{cli-6t91v11y.js → cli-4gzv54ss.js} +15 -6
  16. package/dist/{cli-j6fpcrdk.js → cli-4r4jkqep.js} +6 -6
  17. package/dist/{cli-17e3ydca.js → cli-54ht104h.js} +37 -11
  18. package/dist/{cli-t46mkxd2.js → cli-5bnz1t86.js} +1 -1
  19. package/dist/{cli-47d0y52n.js → cli-68vayryq.js} +2 -2
  20. package/dist/{cli-mgnrknyg.js → cli-6gwgzdgw.js} +5 -5
  21. package/dist/{cli-x0mnesvr.js → cli-84vrhesc.js} +1 -1
  22. package/dist/{cli-j8bhw4a7.js → cli-8v57p983.js} +14 -14
  23. package/dist/{cli-vtz6yj3v.js → cli-9phjbffs.js} +1 -1
  24. package/dist/{cli-vew6xw8p.js → cli-ads0hfw2.js} +103 -36
  25. package/dist/{cli-0rgbgtft.js → cli-bnq8h7ea.js} +6 -6
  26. package/dist/{cli-6ewfzrgz.js → cli-d5ygfv18.js} +7 -6
  27. package/dist/{cli-pnqdak88.js → cli-edwrx42s.js} +1 -1
  28. package/dist/{cli-7vk1ztap.js → cli-fpjmcbhz.js} +4 -4
  29. package/dist/{cli-z3h9zvty.js → cli-gpdtxzar.js} +6 -4
  30. package/dist/{cli-zg86g3q8.js → cli-hz5hp6wn.js} +1 -1
  31. package/dist/{cli-96sytm77.js → cli-j7qp8gtf.js} +10 -6
  32. package/dist/{cli-xmyqv00z.js → cli-j8dggbcr.js} +17 -11
  33. package/dist/{cli-pbatxkne.js → cli-jjhnma34.js} +5 -5
  34. package/dist/{cli-h8htvhk5.js → cli-m3z53bed.js} +1 -1
  35. package/dist/{cli-mqwe8xz0.js → cli-mgef08pc.js} +1 -1
  36. package/dist/{cli-9nrnc45k.js → cli-qckgdqmr.js} +2 -2
  37. package/dist/{cli-y37pxs1m.js → cli-qhfkxrpg.js} +230 -105
  38. package/dist/{cli-tv9f1kyb.js → cli-s73zwwqn.js} +97 -7
  39. package/dist/{cli-3zmdzfjf.js → cli-s9gpxh9q.js} +17 -2
  40. package/dist/{cli-41wfr4tp.js → cli-spf767vc.js} +1 -1
  41. package/dist/{cli-ysehve35.js → cli-tee8w7tq.js} +1 -1
  42. package/dist/{cli-q46hkq2p.js → cli-tmn19cdz.js} +98 -24
  43. package/dist/{cli-gkfzvf7n.js → cli-y16cesaq.js} +2 -2
  44. package/dist/{cli-3ad3q6j0.js → cli-z6e8eqrm.js} +2 -2
  45. package/dist/cli.js +19 -19
  46. package/dist/{codex-adapter-8vhjvnp9.js → codex-adapter-kw11ps3j.js} +4 -4
  47. package/dist/{codex-session-runner-xeq8w3ea.js → codex-session-runner-sffb69v7.js} +4 -4
  48. package/dist/{commands-zhm1v98e.js → commands-0xxp4tz8.js} +2 -2
  49. package/dist/{db-q436srrz.js → db-0npp39zd.js} +6 -2
  50. package/dist/{google-generative-ai-b0wzss55.js → google-generative-ai-6xxdj4t3.js} +20 -13
  51. package/dist/{google-vertex-e8q4dpya.js → google-vertex-zma18wb0.js} +19 -12
  52. package/dist/{handlers-cpratgdt.js → handlers-5p7a1jx6.js} +15 -9
  53. package/dist/{hook-wfe2rdyd.js → hook-hpefr0a8.js} +5 -5
  54. package/dist/{hook-j1sd08ay.js → hook-jjpxn4se.js} +3 -3
  55. package/dist/{http-g13pqz5z.js → http-wfp33653.js} +332 -71
  56. package/dist/{index-jbgemxkn.js → index-17h657rg.js} +13 -9
  57. package/dist/index-g9tttwkm.js +26012 -0
  58. package/dist/{index-g99vy4xs.js → index-m2p7ctyh.js} +11 -11
  59. package/dist/{index-dde8asrx.js → index-racb4wfq.js} +10 -10
  60. package/dist/{index-zqjz0kf8.js → index-zh66wm65.js} +9 -9
  61. package/dist/{keepalive-ep0a9f7r.js → keepalive-wxjd633a.js} +4 -4
  62. package/dist/{lead-gsw42hv0.js → lead-359ec2z0.js} +29 -29
  63. package/dist/{maintenance-et8rr4t5.js → maintenance-rr03qjtb.js} +4 -4
  64. package/dist/{mistral-conversations-2njwdwhj.js → mistral-conversations-qdrnmrb8.js} +10 -3
  65. package/dist/{oauth-refresh-sweep-tk3qn7zr.js → oauth-refresh-sweep-jwj22yb8.js} +3 -3
  66. package/dist/{onboard-354g4580.js → onboard-asnhchcv.js} +2 -2
  67. package/dist/{openai-codex-responses-kt84eq86.js → openai-codex-responses-xxca1qr1.js} +9 -6
  68. package/dist/{openai-completions-kasahkpq.js → openai-completions-yzftqrft.js} +134 -70
  69. package/dist/{openai-responses-175qgngv.js → openai-responses-e4dcwm9g.js} +10 -4
  70. package/dist/{opencode-adapter-rar9676j.js → opencode-adapter-sx38y7f7.js} +3 -3
  71. package/dist/{otel-impl-7y3szdz5.js → otel-impl-54cra6mw.js} +21 -7
  72. package/dist/{pi-messages-txp9f97r.js → pi-messages-2d3e7egd.js} +1 -1
  73. package/dist/{pi-mono-adapter-6vmrr3g8.js → pi-mono-adapter-29g7axgj.js} +96532 -130961
  74. package/dist/{pricing-refresh-zra6kqmc.js → pricing-refresh-mkyy7c2y.js} +4 -4
  75. package/dist/{rbac-roles-vsfaw815.js → rbac-roles-ak56tr75.js} +2 -2
  76. package/dist/{rbac-roles-2g89azp9.js → rbac-roles-kb3afm95.js} +3 -3
  77. package/dist/{render-v2-41schhkc.js → render-v2-434asg49.js} +3 -3
  78. package/dist/{seed-pricing-hh2j4y52.js → seed-pricing-nbmd7ah8.js} +3 -3
  79. package/dist/{setup-vk6apbbf.js → setup-wh4qmjs4.js} +2 -2
  80. package/dist/{worker-zj8qahay.js → worker-j1d27tjv.js} +29 -29
  81. package/openapi.json +182 -6
  82. package/package.json +6 -6
  83. package/src/be/db-retention.ts +275 -0
  84. package/src/be/db.ts +100 -7
  85. package/src/be/migrations/runner.ts +78 -17
  86. package/src/be/seed/agent-fs-provision.ts +37 -8
  87. package/src/be/swarm-config-guard.ts +30 -0
  88. package/src/heartbeat/heartbeat.ts +21 -0
  89. package/src/http/db-query.ts +20 -5
  90. package/src/http/index.ts +33 -33
  91. package/src/http/route-def.ts +93 -4
  92. package/src/http/stats.ts +37 -1
  93. package/src/http/task-templates.ts +1 -1
  94. package/src/http/tasks.ts +93 -0
  95. package/src/http/utils.ts +94 -0
  96. package/src/http/workflow-events.ts +2 -2
  97. package/src/otel-impl.ts +21 -3
  98. package/src/otel.ts +15 -4
  99. package/src/providers/claude-managed-models.ts +2 -12
  100. package/src/providers/pricing-sources.md +5 -5
  101. package/src/slack/blocks.ts +1 -0
  102. package/src/slack/handlers.ts +7 -0
  103. package/src/tasks/sibling-awareness.ts +1 -0
  104. package/src/tasks/sibling-block.ts +17 -4
  105. package/src/tests/agent-fs-provision-seeder.test.ts +82 -1
  106. package/src/tests/artifact-sdk.test.ts +20 -15
  107. package/src/tests/claude-managed-adapter.test.ts +8 -16
  108. package/src/tests/db-query.test.ts +95 -0
  109. package/src/tests/db-retention.test.ts +344 -0
  110. package/src/tests/docs-index-footprint.test.js +146 -0
  111. package/src/tests/draft-task-dispatch-race.test.ts +189 -0
  112. package/src/tests/events-http.test.ts +70 -27
  113. package/src/tests/fixtures/compiled-migrations-boot.ts +47 -0
  114. package/src/tests/migration-bunfs-compat.test.ts +167 -0
  115. package/src/tests/otel-abort-span.test.ts +156 -0
  116. package/src/tests/otel-span-kind.test.ts +59 -0
  117. package/src/tests/promote-draft-task-route.test.ts +175 -0
  118. package/src/tests/route-def-find-route.test.ts +90 -4
  119. package/src/tests/sibling-block.test.ts +29 -1
  120. package/src/tests/slack-assistant-comention-production.test.ts +7 -1
  121. package/src/tests/steering-enabled.test.ts +6 -0
  122. package/src/tests/swarm-config-reserved-keys.test.ts +27 -0
  123. package/src/tools/db-query.ts +5 -4
  124. package/src/types.ts +2 -1
  125. package/templates/skills/swarm-scripts/SKILL.md +4 -0
  126. package/templates/skills/swarm-scripts/content.md +4 -0
  127. package/dist/{cli-snz3p4yf.js → cli-06ghj6pe.js} +6 -6
@@ -28,7 +28,7 @@ import {
28
28
  updateTrackerSync,
29
29
  updateTrackerSyncSwarmId,
30
30
  upsertSwarmConfigWithPolicyMirror
31
- } from "./cli-t46mkxd2.js";
31
+ } from "./cli-5bnz1t86.js";
32
32
  import {
33
33
  isMultiRuntimeEnabled
34
34
  } from "./cli-qh4sqfws.js";
@@ -37,17 +37,17 @@ import {
37
37
  ensure,
38
38
  require_dist,
39
39
  runScheduleNow
40
- } from "./cli-7vk1ztap.js";
40
+ } from "./cli-fpjmcbhz.js";
41
41
  import {
42
42
  startPricingRefreshLoop
43
- } from "./cli-3ad3q6j0.js";
43
+ } from "./cli-z6e8eqrm.js";
44
44
  import {
45
45
  seedPricingFromModelsDev
46
- } from "./cli-ysehve35.js";
46
+ } from "./cli-tee8w7tq.js";
47
47
  import {
48
48
  ensureRbacSeedsSynced,
49
49
  getUserGrant
50
- } from "./cli-5vmvkwey.js";
50
+ } from "./cli-3y553gws.js";
51
51
  import {
52
52
  can,
53
53
  decideAdmission,
@@ -74,7 +74,7 @@ import {
74
74
  runSavedScriptAsAgent,
75
75
  updateApp,
76
76
  upgradeAppDefinition
77
- } from "./cli-47d0y52n.js";
77
+ } from "./cli-68vayryq.js";
78
78
  import {
79
79
  TriggerSchemaError,
80
80
  applyDefinitionPatch,
@@ -88,7 +88,7 @@ import {
88
88
  startWorkflowExecution,
89
89
  validateDefinition,
90
90
  validateJsonSchema
91
- } from "./cli-pbatxkne.js";
91
+ } from "./cli-jjhnma34.js";
92
92
  import {
93
93
  ConnectionAuthInputSchema,
94
94
  SCRIPT_LONG_TIMEOUT_HINT_MS,
@@ -107,7 +107,7 @@ import {
107
107
  setScriptConnectionEnabled,
108
108
  upsertCredentialBinding,
109
109
  upsertScriptConnection
110
- } from "./cli-0rgbgtft.js";
110
+ } from "./cli-bnq8h7ea.js";
111
111
  import {
112
112
  getApiKey
113
113
  } from "./cli-f14fvzag.js";
@@ -122,7 +122,7 @@ import {
122
122
  isGraphExpansionEnabled,
123
123
  rerank,
124
124
  rowToCandidate
125
- } from "./cli-zg86g3q8.js";
125
+ } from "./cli-hz5hp6wn.js";
126
126
  import {
127
127
  buildAuthorizationUrl,
128
128
  createOAuthApp,
@@ -137,7 +137,7 @@ import {
137
137
  listAuthorizationsForApp,
138
138
  onAuthorizationRefreshed,
139
139
  upsertOAuthApp
140
- } from "./cli-h8htvhk5.js";
140
+ } from "./cli-m3z53bed.js";
141
141
  import {
142
142
  ZodFirstPartyTypeKind,
143
143
  objectType
@@ -149,7 +149,7 @@ import {
149
149
  createAdditiveBuffer,
150
150
  extractSlackMessageText,
151
151
  parseSlackTs
152
- } from "./cli-x0mnesvr.js";
152
+ } from "./cli-84vrhesc.js";
153
153
  import {
154
154
  findOrCreateUserByEmail,
155
155
  findUserByExternalId,
@@ -165,10 +165,10 @@ import {
165
165
  resolveIdentityByEmail,
166
166
  resolveUserByToken,
167
167
  unlinkIdentity
168
- } from "./cli-41wfr4tp.js";
168
+ } from "./cli-spf767vc.js";
169
169
  import {
170
170
  createTaskWithSiblingAwareness
171
- } from "./cli-z3h9zvty.js";
171
+ } from "./cli-gpdtxzar.js";
172
172
  import {
173
173
  getAgentDisplayName,
174
174
  getAgentEmoji,
@@ -177,7 +177,7 @@ import {
177
177
  markdownToSlack,
178
178
  startSlackApp,
179
179
  stopSlackApp
180
- } from "./cli-6ewfzrgz.js";
180
+ } from "./cli-d5ygfv18.js";
181
181
  import {
182
182
  $OpenAPIRegistry,
183
183
  $OpenApiGeneratorV31,
@@ -422,7 +422,7 @@ import {
422
422
  upsertPromptTemplate,
423
423
  upsertService,
424
424
  validateConfigValue
425
- } from "./cli-q46hkq2p.js";
425
+ } from "./cli-tmn19cdz.js";
426
426
  import {
427
427
  generateDefaultClaudeMd,
428
428
  generateDefaultIdentityMd,
@@ -454,10 +454,6 @@ import {
454
454
  exports_zod,
455
455
  init_zod
456
456
  } from "./cli-s35981d0.js";
457
- import {
458
- init_package,
459
- package_default
460
- } from "./cli-j6fpcrdk.js";
461
457
  import {
462
458
  init_secret_scrubber,
463
459
  refreshSecretScrubberCache,
@@ -465,6 +461,10 @@ import {
465
461
  scrubObject,
466
462
  scrubSecrets
467
463
  } from "./cli-mkq1rk7b.js";
464
+ import {
465
+ init_package,
466
+ package_default
467
+ } from "./cli-4r4jkqep.js";
468
468
  import {
469
469
  $ZodObject,
470
470
  $ZodType,
@@ -22956,7 +22956,7 @@ async function notifySlack(text) {
22956
22956
  return;
22957
22957
  }
22958
22958
  try {
22959
- const { getSlackApp: getSlackApp2 } = await import("./app-bsbct708.js");
22959
+ const { getSlackApp: getSlackApp2 } = await import("./app-g2s78xya.js");
22960
22960
  const app = getSlackApp2();
22961
22961
  if (!app) {
22962
22962
  console.warn("[Jira webhook keepalive] Slack not available, cannot send notification");
@@ -23027,7 +23027,7 @@ async function deleteJiraWebhook(webhookId) {
23027
23027
  console.log(`[Jira webhook keepalive] Deleted webhook id=${webhookId}`);
23028
23028
  }
23029
23029
  async function overwriteWebhookIds(next) {
23030
- const { getDbClient: getDbClient2 } = await import("./db-q436srrz.js");
23030
+ const { getDbClient: getDbClient2 } = await import("./db-0npp39zd.js");
23031
23031
  await getDbClient2().transaction(async (tx) => {
23032
23032
  const row = await tx.get("SELECT metadata FROM oauth_apps WHERE provider = 'jira'");
23033
23033
  if (!row) {
@@ -95932,6 +95932,46 @@ function getPathSegments(url) {
95932
95932
  const path = pathEnd === -1 ? url : url.slice(0, pathEnd);
95933
95933
  return path.split("/").filter(Boolean);
95934
95934
  }
95935
+ function abortedStatusCodeAttribute(headersSent, statusCode) {
95936
+ return headersSent ? statusCode : undefined;
95937
+ }
95938
+ function wireHttpSpanLifecycle(res, span, getStatusCode, startTime) {
95939
+ let spanEnded = false;
95940
+ res.on("finish", () => {
95941
+ if (spanEnded)
95942
+ return;
95943
+ spanEnded = true;
95944
+ const statusCode = getStatusCode();
95945
+ span.setAttributes({
95946
+ "http.response.status_code": statusCode,
95947
+ "agentswarm.http.duration_ms": Math.round((performance.now() - startTime) * 10) / 10
95948
+ });
95949
+ if (statusCode >= 500) {
95950
+ span.setStatus({ code: 2, message: `HTTP ${statusCode}` });
95951
+ }
95952
+ span.end();
95953
+ });
95954
+ res.on("error", (err) => {
95955
+ if (spanEnded)
95956
+ return;
95957
+ spanEnded = true;
95958
+ if (err)
95959
+ span.recordException(err);
95960
+ span.setStatus({ code: 2, message: err?.message });
95961
+ span.end();
95962
+ });
95963
+ res.on("close", () => {
95964
+ if (spanEnded)
95965
+ return;
95966
+ spanEnded = true;
95967
+ span.setAttributes({
95968
+ "http.response.status_code": abortedStatusCodeAttribute(res.headersSent, getStatusCode()),
95969
+ "agentswarm.http.duration_ms": Math.round((performance.now() - startTime) * 10) / 10,
95970
+ "agentswarm.http.aborted": true
95971
+ });
95972
+ span.end();
95973
+ });
95974
+ }
95935
95975
  function safeRequestUrlForLog(rawUrl) {
95936
95976
  if (!rawUrl)
95937
95977
  return "";
@@ -96067,11 +96107,29 @@ function findRoute(method, pathSegments) {
96067
96107
  }
96068
96108
  return;
96069
96109
  }
96070
- function describeRequestRoute(method, pathSegments) {
96110
+ var CORE_ROUTE_TEMPLATES = {
96111
+ health: { path: "/health" },
96112
+ "openapi.json": { path: "/openapi.json" },
96113
+ docs: { path: "/docs", toleratesTrailingSlash: true },
96114
+ me: { path: "/me", methods: ["GET"], toleratesQueryString: true },
96115
+ "cancelled-tasks": {
96116
+ path: "/cancelled-tasks",
96117
+ methods: ["GET"],
96118
+ toleratesQueryString: true
96119
+ },
96120
+ "internal/reload-config": { path: "/internal/reload-config", methods: ["POST"] },
96121
+ mcp: { path: "/mcp", methods: ["GET", "POST", "DELETE"] },
96122
+ "mcp-user": { path: "/mcp-user", methods: ["GET", "POST", "DELETE"] }
96123
+ };
96124
+ function describeRequestRoute(method, pathSegments, hasQueryString = false, hasTrailingSlash = false) {
96071
96125
  const m = (method ?? "").toUpperCase() || "UNKNOWN";
96072
96126
  const matched = findRoute(method, pathSegments);
96073
96127
  if (matched)
96074
96128
  return { spanName: `${m} ${matched.path}`, httpRoute: matched.path };
96129
+ const coreTemplate = CORE_ROUTE_TEMPLATES[pathSegments.join("/")];
96130
+ if (coreTemplate && (!coreTemplate.methods || coreTemplate.methods.includes(m)) && (!hasQueryString || coreTemplate.toleratesQueryString) && (!hasTrailingSlash || coreTemplate.toleratesTrailingSlash)) {
96131
+ return { spanName: `${m} ${coreTemplate.path}`, httpRoute: coreTemplate.path };
96132
+ }
96075
96133
  const first = pathSegments[0];
96076
96134
  return { spanName: first ? `${m} /${first}` : m };
96077
96135
  }
@@ -96654,7 +96712,7 @@ async function initOtel(serviceRole = process.env.AGENT_ROLE || "api") {
96654
96712
  return;
96655
96713
  initialized6 = true;
96656
96714
  try {
96657
- const impl = await import("./otel-impl-7y3szdz5.js");
96715
+ const impl = await import("./otel-impl-54cra6mw.js");
96658
96716
  await impl.boot(serviceRole);
96659
96717
  realWithSpan = impl.withSpan;
96660
96718
  realStartSpan = impl.startSpan;
@@ -96674,11 +96732,11 @@ async function withSpan(name, fn, attributes) {
96674
96732
  }
96675
96733
  return realWithSpan(name, fn, attributes);
96676
96734
  }
96677
- function startSpan(name, attributes) {
96735
+ function startSpan(name, attributes, options) {
96678
96736
  if (!otelConfigured() || !realStartSpan) {
96679
96737
  return NOOP_SPAN;
96680
96738
  }
96681
- return realStartSpan(name, attributes);
96739
+ return realStartSpan(name, attributes, options);
96682
96740
  }
96683
96741
  function withSpanContext(span, fn) {
96684
96742
  if (!otelConfigured() || !realWithSpanContext) {
@@ -102084,11 +102142,18 @@ function assertSelectOnlyQuery(sql) {
102084
102142
  }
102085
102143
  }
102086
102144
  async function executeReadOnlyQueryGated(sql, params = [], budgetMs, maxRows) {
102145
+ let result;
102087
102146
  if (isDbQueryBoundedEnabled()) {
102088
- return executeReadOnlyQueryBounded(sql, params, budgetMs, maxRows);
102147
+ result = await executeReadOnlyQueryBounded(sql, params, budgetMs, maxRows);
102148
+ } else {
102149
+ warnDbQueryBoundedDisabledOnce();
102150
+ result = executeReadOnlyQuery(sql, params, maxRows);
102089
102151
  }
102090
- warnDbQueryBoundedDisabledOnce();
102091
- return executeReadOnlyQuery(sql, params, maxRows);
102152
+ return {
102153
+ ...result,
102154
+ truncated: maxRows !== undefined && result.total > maxRows,
102155
+ rowLimit: maxRows ?? null
102156
+ };
102092
102157
  }
102093
102158
  var dbQueryRoute = route({
102094
102159
  method: "post",
@@ -102104,7 +102169,9 @@ var dbQueryRoute = route({
102104
102169
  columns: exports_external.array(exports_external.string()),
102105
102170
  rows: exports_external.array(exports_external.array(exports_external.any())),
102106
102171
  elapsed: exports_external.number(),
102107
- total: exports_external.number()
102172
+ total: exports_external.number(),
102173
+ truncated: exports_external.boolean(),
102174
+ rowLimit: exports_external.number().nullable()
102108
102175
  })
102109
102176
  },
102110
102177
  400: { description: "Invalid or disallowed SQL" },
@@ -102122,7 +102189,7 @@ async function handleDbQuery(req, res, pathSegments, queryParams) {
102122
102189
  return true;
102123
102190
  try {
102124
102191
  const result = await executeReadOnlyQueryGated(resolveDbQuerySql(parsed.body), parsed.body.params, getDbQueryHttpBudgetMs(), getDbQueryHttpMaxRows());
102125
- json(res, result);
102192
+ dbQueryRoute.respond(res, 200, result);
102126
102193
  } catch (err) {
102127
102194
  if (err instanceof DbQueryConcurrencyCapError) {
102128
102195
  res.setHeader("Retry-After", "1");
@@ -102986,7 +103053,8 @@ var registerDbQueryTool = (server) => {
102986
103053
  rows: array(array(any())).optional(),
102987
103054
  elapsed: number().optional(),
102988
103055
  total: number().optional(),
102989
- truncated: boolean().optional()
103056
+ truncated: boolean().optional(),
103057
+ rowLimit: number().optional()
102990
103058
  })
102991
103059
  }, async (input, _requestInfo, _meta) => {
102992
103060
  try {
@@ -102994,20 +103062,19 @@ var registerDbQueryTool = (server) => {
102994
103062
  const params = input.params ?? [];
102995
103063
  const maxRows = getDbQueryMcpMaxRows();
102996
103064
  const result = await executeReadOnlyQueryGated(sql, params, getDbQueryMcpBudgetMs(), maxRows);
102997
- const truncated = result.total > maxRows;
102998
103065
  const header = result.columns.join(" | ");
102999
103066
  const separator = result.columns.map(() => "---").join(" | ");
103000
103067
  const dataRows = result.rows.map((row) => row.map((v) => String(v ?? "NULL")).join(" | "));
103001
103068
  const table = [header, separator, ...dataRows].join(`
103002
103069
  `);
103003
- const suffix = truncated ? `
103004
- (Showing ${maxRows} of ${result.total} rows)` : "";
103070
+ const suffix = result.truncated ? `
103071
+ (Showing ${result.rowLimit} of ${result.total} rows)` : "";
103005
103072
  const details = `${table}${suffix}
103006
103073
 
103007
103074
  ${result.total} rows in ${result.elapsed}ms`;
103008
103075
  return toolOk(`${result.total} row(s) in ${result.elapsed}ms`, {
103009
103076
  details,
103010
- data: { ...result, truncated }
103077
+ data: { ...result }
103011
103078
  });
103012
103079
  } catch (err) {
103013
103080
  const message = err instanceof Error ? err.message : String(err);
@@ -115421,4 +115488,4 @@ function writeSkillsToFilesystem(entries, harnessType = "all", home) {
115421
115488
  return { synced, removed, errors };
115422
115489
  }
115423
115490
 
115424
- export { safeParseAsync2 as safeParseAsync, normalizeObjectSchema, getParseErrorMessage, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCErrorResponse, JSONRPCMessageSchema, isInitializeRequest, McpServer, isGitHubEnabled, initGitHub, verifyWebhookSignature, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, isInboxAllowed, isSenderAllowed, handleMessageReceived, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2 as handleIssue1, handleNote, handlePipeline, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, registerJiraWebhook, deleteJiraWebhook, isJiraEnabled, initJira, handleJiraWebhook, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, isLinearEnabled, initLinear, setCorsHeaders, parseQueryParams, getPathSegments, safeRequestUrlForLog, agentWithCapacity, parseBody, BODY_TOO_LARGE, enforceContentLengthCap, json, jsonError, triggerSchemaErrorResponse, deriveApiBaseUrl, httpServerSemconvAttributes, runtimeInstanceHeader, describeRequestRoute, route, loadGlobalConfigsIntoEnv, reloadGlobalConfigsAndIntegrations, scheduleIntegrationsReload, handleCore, mcpOverflowAuthError, isPollTracingEnabled, initOtel, withSpan, startSpan, withSpanContext, withRemoteContext, injectTraceContext, recordSessionCost, markScriptSdkRequestOrigin, toolErr, createToolRegistrar, userCtx, resolveTaskAuditUserId, resolveHttpAuditUserId, resolveHttpFavoriteOwner, handleApps, getUserCommsPrefs, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, executeReadOnlyQuery, assertSelectOnlyQuery, handleDbQuery, snapshotMetric, AssetKeyAuthorizationError, authorizeAssetKeyWrite, snapshotPage, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, scopedResourceScopeIdSchema, resolveScopedResourceId, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, reservedNamespaceError, refreshLinks, canReadMemory, getLinksForMemory, recordRetrievals, expandCandidatesWithGraph, indexMemoryContent, markKapsoMessageRead, sendKapsoReaction, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, mergeScheduleTiming, validateRecurringTiming, sendTaskOutputSchema, sendTaskHandler, parseSkillContent, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, ExplicitSelfDuplicateError, applyRating, shouldPersistAutomaticTaskMemory, guardTerminalTaskResultWrite, canClaim, emitBudgetRefusalSideEffects, taskActionInputSchema, taskActionOutputSchema, taskActionHandler, patchWorkflowDefinition, resolveScriptsOnlyMode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer, writeSkillsToFilesystem };
115491
+ export { safeParseAsync2 as safeParseAsync, normalizeObjectSchema, getParseErrorMessage, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, isJSONRPCRequest, isJSONRPCResultResponse, isJSONRPCErrorResponse, JSONRPCMessageSchema, isInitializeRequest, McpServer, isGitHubEnabled, initGitHub, verifyWebhookSignature, isAgentMailEnabled, initAgentMail, verifyAgentMailWebhook, isInboxAllowed, isSenderAllowed, handleMessageReceived, enqueueAuditRow, enqueueAdmissionRow, flushAuditBuffer, startAuditWriter, stopAuditWriter, startAuditGc, stopAuditGc, handlePullRequest, handleIssue, handleComment, handlePullRequestReview, handleCheckRun, handleCheckSuite, handleWorkflowRun, isGitLabEnabled, initGitLab, verifyGitLabWebhook, handleMergeRequest, handleIssue2 as handleIssue1, handleNote, handlePipeline, getJiraMetadata, updateJiraMetadata, clearJiraMetadata, registerJiraWebhook, deleteJiraWebhook, isJiraEnabled, initJira, handleJiraWebhook, handleAgentSessionEvent, handleIssueUpdate, handleIssueDelete, handleAgentSessionPrompted, isLinearEnabled, initLinear, setCorsHeaders, parseQueryParams, getPathSegments, wireHttpSpanLifecycle, safeRequestUrlForLog, agentWithCapacity, parseBody, BODY_TOO_LARGE, enforceContentLengthCap, json, jsonError, triggerSchemaErrorResponse, deriveApiBaseUrl, httpServerSemconvAttributes, runtimeInstanceHeader, describeRequestRoute, route, loadGlobalConfigsIntoEnv, reloadGlobalConfigsAndIntegrations, scheduleIntegrationsReload, handleCore, mcpOverflowAuthError, isPollTracingEnabled, initOtel, withSpan, startSpan, withSpanContext, withRemoteContext, injectTraceContext, recordSessionCost, markScriptSdkRequestOrigin, toolErr, createToolRegistrar, userCtx, resolveTaskAuditUserId, resolveHttpAuditUserId, resolveHttpFavoriteOwner, handleApps, getUserCommsPrefs, getTaskDetailsInputSchema, getTaskDetailsOutputSchema, getTaskDetailsHandler, cancelTaskInputSchema, cancelTaskOutputSchema, cancelTaskHandler, executeReadOnlyQuery, assertSelectOnlyQuery, handleDbQuery, snapshotMetric, AssetKeyAuthorizationError, authorizeAssetKeyWrite, snapshotPage, assertOAuthAppUrlsSafe, assertOAuthEgressUrlSafe, listOAuthPresets, listOAuthPresetIds, getOAuthPreset, hydrateOAuthAppFromPreset, scopedResourceScopeIdSchema, resolveScopedResourceId, getTasksInputSchema, getTasksOutputSchema, getTasksHandler, reservedNamespaceError, refreshLinks, canReadMemory, getLinksForMemory, recordRetrievals, expandCandidatesWithGraph, indexMemoryContent, markKapsoMessageRead, sendKapsoReaction, getKapsoConfig, getKapsoNumberMapping, markKapsoMessageSeen, createEvent, createEventsBatch, getEventCountsFiltered, getEventsFiltered, mergeScheduleTiming, validateRecurringTiming, sendTaskOutputSchema, sendTaskHandler, parseSkillContent, steerTaskUserInputSchema, steerTaskOutputSchema, steerTaskHandler, ExplicitSelfDuplicateError, applyRating, shouldPersistAutomaticTaskMemory, guardTerminalTaskResultWrite, canClaim, emitBudgetRefusalSideEffects, taskActionInputSchema, taskActionOutputSchema, taskActionHandler, patchWorkflowDefinition, resolveScriptsOnlyMode, ALL_CAPABILITIES, hasCapability, getEnabledCapabilities, createServer, writeSkillsToFilesystem };
@@ -1,12 +1,12 @@
1
- import {
2
- getApiKey
3
- } from "./cli-f14fvzag.js";
4
1
  import {
5
2
  McpHttpClient
6
3
  } from "./cli-epan13p1.js";
4
+ import {
5
+ getApiKey
6
+ } from "./cli-f14fvzag.js";
7
7
  import {
8
8
  embedScript
9
- } from "./cli-9nrnc45k.js";
9
+ } from "./cli-qckgdqmr.js";
10
10
  import {
11
11
  calculatePKCECodeChallenge,
12
12
  ensureAuthorizationTokenOrThrow,
@@ -18,7 +18,7 @@ import {
18
18
  oauthAppRowToProviderConfig,
19
19
  updateAuthorizationTokens,
20
20
  upsertAuthorization
21
- } from "./cli-h8htvhk5.js";
21
+ } from "./cli-m3z53bed.js";
22
22
  import {
23
23
  CredentialBroker,
24
24
  DEFAULT_CREDENTIAL_BINDINGS,
@@ -39,7 +39,7 @@ import {
39
39
  normalizeDateRequired,
40
40
  placeholderForConfigKey,
41
41
  upsertSwarmConfig
42
- } from "./cli-q46hkq2p.js";
42
+ } from "./cli-tmn19cdz.js";
43
43
  import {
44
44
  init_env_flag,
45
45
  isEnvFlagEnabled
@@ -37,7 +37,7 @@ import {
37
37
  setSlackMessageTracking,
38
38
  slackContextKey,
39
39
  updateSlackMessageRecord
40
- } from "./cli-q46hkq2p.js";
40
+ } from "./cli-tmn19cdz.js";
41
41
  import {
42
42
  getAppUrl,
43
43
  init_constants
@@ -54156,6 +54156,7 @@ function buildBufferFlushBlocks(opts) {
54156
54156
  return [contextBlock(`\uD83D\uDCE1 _${text}_ (${taskLink})`)];
54157
54157
  }
54158
54158
  var STATUS_ICON = {
54159
+ draft: "\uD83D\uDCCE",
54159
54160
  backlog: "\uD83D\uDDC2️",
54160
54161
  unassigned: "\uD83D\uDCED",
54161
54162
  offered: "\uD83D\uDCE8",
@@ -55182,13 +55183,13 @@ async function initSlackApp() {
55182
55183
  socketMode: true,
55183
55184
  logLevel: import_bolt.LogLevel.DEBUG
55184
55185
  });
55185
- const { registerMessageHandler } = await import("./handlers-cpratgdt.js");
55186
- const { registerCommandHandler } = await import("./commands-zhm1v98e.js");
55187
- const { registerActionHandlers } = await import("./actions-cdtyz12q.js");
55186
+ const { registerMessageHandler } = await import("./handlers-5p7a1jx6.js");
55187
+ const { registerCommandHandler } = await import("./commands-0xxp4tz8.js");
55188
+ const { registerActionHandlers } = await import("./actions-agcbc8nd.js");
55188
55189
  registerMessageHandler(app);
55189
55190
  registerCommandHandler(app);
55190
55191
  registerActionHandlers(app);
55191
- const { createAssistant } = await import("./assistant-139yzd1t.js");
55192
+ const { createAssistant } = await import("./assistant-yd3jkb9d.js");
55192
55193
  app.assistant(createAssistant());
55193
55194
  return app;
55194
55195
  }
@@ -55197,7 +55198,7 @@ async function startSlackApp() {
55197
55198
  await initSlackApp();
55198
55199
  }
55199
55200
  if (app) {
55200
- const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-41schhkc.js");
55201
+ const { isSlackRenderV2Enabled: isSlackRenderV2Enabled2 } = await import("./render-v2-434asg49.js");
55201
55202
  if (isSlackRenderV2Enabled2())
55202
55203
  await ensureSlackRenderV2Activation();
55203
55204
  await app.start();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runStopHookSessionSummarySubprocess
3
- } from "./cli-mgnrknyg.js";
3
+ } from "./cli-6gwgzdgw.js";
4
4
  import {
5
5
  SessionErrorTracker,
6
6
  buildOtelTraceparentEnv,
@@ -2,17 +2,17 @@ import {
2
2
  getExecutorRegistry,
3
3
  handleScheduleTrigger,
4
4
  startWorkflowExecution
5
- } from "./cli-pbatxkne.js";
5
+ } from "./cli-jjhnma34.js";
6
6
  import {
7
7
  buildScriptCredentialBindings,
8
8
  getScript,
9
9
  getScriptApiConnectionDescriptors,
10
10
  getScriptMcpConnectionDescriptors,
11
11
  runScript
12
- } from "./cli-0rgbgtft.js";
12
+ } from "./cli-bnq8h7ea.js";
13
13
  import {
14
14
  createTaskWithSiblingAwareness
15
- } from "./cli-z3h9zvty.js";
15
+ } from "./cli-gpdtxzar.js";
16
16
  import {
17
17
  getDbClient,
18
18
  getDueScheduledTasks,
@@ -25,7 +25,7 @@ import {
25
25
  scheduleContextKey,
26
26
  telemetry,
27
27
  updateScheduledTask
28
- } from "./cli-q46hkq2p.js";
28
+ } from "./cli-tmn19cdz.js";
29
29
  import {
30
30
  __commonJS,
31
31
  __require,
@@ -3,7 +3,7 @@ import {
3
3
  getAgentById,
4
4
  getInProgressTasksByContextKey,
5
5
  init_db
6
- } from "./cli-q46hkq2p.js";
6
+ } from "./cli-tmn19cdz.js";
7
7
 
8
8
  // src/tasks/sibling-awareness.ts
9
9
  init_db();
@@ -66,8 +66,9 @@ function renderSiblingBlock(contextKey, siblings, now = Date.now()) {
66
66
  lines.push("");
67
67
  for (const s of siblings) {
68
68
  const agentLabel = s.agentName ? `agent:${s.agentName}` : s.agentId ? `agent:${s.agentId}` : "agent:unassigned";
69
- const rel = formatRelativeTime(s.updatedAt, now);
70
- lines.push(`- [${s.status}] task:${s.id} — ${agentLabel} — started ${rel} ago`);
69
+ const lastActive = `last active ${formatRelativeTime(s.updatedAt, now)} ago`;
70
+ const timing = s.createdAt ? `started ${formatRelativeTime(s.createdAt, now)} ago, ${lastActive}` : lastActive;
71
+ lines.push(`- [${s.status}] task:${s.id} — ${agentLabel} — ${timing}`);
71
72
  lines.push(` "${truncateForBlock(s.description)}"`);
72
73
  }
73
74
  lines.push("</sibling_tasks_in_progress>");
@@ -115,7 +116,8 @@ async function toSiblingTaskInfo(task) {
115
116
  agentId: task.agentId,
116
117
  agentName: agent?.name ?? null,
117
118
  description: stripSiblingBlock(task.task),
118
- updatedAt: task.lastUpdatedAt
119
+ updatedAt: task.lastUpdatedAt,
120
+ createdAt: task.createdAt
119
121
  };
120
122
  }
121
123
  async function applySiblingAwareness(input) {
@@ -11,7 +11,7 @@ import {
11
11
  getDbClient,
12
12
  init_db,
13
13
  isSqliteVecAvailable
14
- } from "./cli-q46hkq2p.js";
14
+ } from "./cli-tmn19cdz.js";
15
15
  import {
16
16
  __esm,
17
17
  __export,
@@ -4,10 +4,16 @@ import {
4
4
  import {
5
5
  resolveCodexPrompt
6
6
  } from "./cli-r94z9p1z.js";
7
+ import {
8
+ readPkgVersion
9
+ } from "./cli-f64gdfxc.js";
7
10
  import {
8
11
  SessionErrorTracker,
9
12
  buildOtelTraceparentEnv
10
13
  } from "./cli-a3pkfpqs.js";
14
+ import {
15
+ summarizeSession
16
+ } from "./cli-qhfkxrpg.js";
11
17
  import {
12
18
  CTX_MODE_NUDGE_EVERY
13
19
  } from "./cli-zm7njwzd.js";
@@ -16,12 +22,6 @@ import {
16
22
  clampContextPercent,
17
23
  computeContextUsedUnified
18
24
  } from "./cli-cw70hymf.js";
19
- import {
20
- readPkgVersion
21
- } from "./cli-f64gdfxc.js";
22
- import {
23
- summarizeSession
24
- } from "./cli-y37pxs1m.js";
25
25
  import {
26
26
  buildRatingsFromLlm,
27
27
  fetchRetrievalsForTask,
@@ -116,6 +116,7 @@ var Thread = class {
116
116
  threadId: this._id,
117
117
  images,
118
118
  model: options?.model,
119
+ threadSource: options?.threadSource,
119
120
  sandboxMode: options?.sandboxMode,
120
121
  workingDirectory: options?.workingDirectory,
121
122
  skipGitRepoCheck: options?.skipGitRepoCheck,
@@ -238,6 +239,9 @@ var CodexExec = class {
238
239
  if (args.model) {
239
240
  commandArgs.push("--model", args.model);
240
241
  }
242
+ if (args.threadSource !== undefined && !args.threadId) {
243
+ commandArgs.push("--thread-source", args.threadSource);
244
+ }
241
245
  if (args.sandboxMode) {
242
246
  commandArgs.push("--sandbox", args.sandboxMode);
243
247
  }
@@ -354,22 +354,28 @@ function buildBaseOptions(model, context, options, apiKey) {
354
354
  };
355
355
  }
356
356
  var MIN_ANSWER_TOKENS = 1024;
357
+ var DEFAULT_THINKING_BUDGETS = {
358
+ minimal: 1024,
359
+ low: 2048,
360
+ medium: 8192,
361
+ high: 16384
362
+ };
357
363
  function clampReasoning(effort) {
358
364
  return effort === "xhigh" || effort === "max" ? "high" : effort;
359
365
  }
360
- function adjustMaxTokensForThinking(baseMaxTokens, modelMaxTokens, reasoningLevel, customBudgets) {
361
- const defaultBudgets = {
362
- minimal: 1024,
363
- low: 2048,
364
- medium: 8192,
365
- high: 16384
366
- };
367
- const budgets = { ...defaultBudgets, ...customBudgets };
366
+ function thinkingBudgetForLevel(reasoningLevel, customBudgets) {
367
+ const budgets = { ...DEFAULT_THINKING_BUDGETS, ...customBudgets };
368
368
  const level = clampReasoning(reasoningLevel);
369
- let thinkingBudget = budgets[level];
369
+ return budgets[level];
370
+ }
371
+ function clampThinkingBudgetToAnswerRoom(thinkingBudget, ceiling) {
372
+ return Math.min(thinkingBudget, Math.max(0, ceiling - MIN_ANSWER_TOKENS));
373
+ }
374
+ function adjustMaxTokensForThinking(baseMaxTokens, modelMaxTokens, reasoningLevel, customBudgets) {
375
+ let thinkingBudget = thinkingBudgetForLevel(reasoningLevel, customBudgets);
370
376
  const maxTokens = baseMaxTokens === undefined ? modelMaxTokens : Math.min(baseMaxTokens + thinkingBudget, modelMaxTokens);
371
377
  if (maxTokens <= thinkingBudget) {
372
- thinkingBudget = Math.max(0, maxTokens - MIN_ANSWER_TOKENS);
378
+ thinkingBudget = clampThinkingBudgetToAnswerRoom(thinkingBudget, maxTokens);
373
379
  }
374
380
  return { maxTokens, thinkingBudget };
375
381
  }
@@ -529,4 +535,4 @@ function transformMessages(messages, model, normalizeToolCallId) {
529
535
  return result;
530
536
  }
531
537
 
532
- export { getJsonSchemaToolParameters, getGrammarToolInput, appendGrammarToolInputJsonDelta, resolveJsonSchemaStrictSampling, resolveGrammarConstrainedSampling, createGrammarToolInputProperties, clampMaxTokensToContext, buildBaseOptions, MIN_ANSWER_TOKENS, clampReasoning, adjustMaxTokensForThinking, transformMessages };
538
+ export { getJsonSchemaToolParameters, getGrammarToolInput, appendGrammarToolInputJsonDelta, resolveJsonSchemaStrictSampling, resolveGrammarConstrainedSampling, createGrammarToolInputProperties, clampMaxTokensToContext, buildBaseOptions, clampReasoning, thinkingBudgetForLevel, clampThinkingBudgetToAnswerRoom, adjustMaxTokensForThinking, transformMessages };
@@ -18,10 +18,10 @@ import {
18
18
  sandboxSpawnEnv,
19
19
  snapshotCapped,
20
20
  touchScratchScriptLastUsed
21
- } from "./cli-0rgbgtft.js";
21
+ } from "./cli-bnq8h7ea.js";
22
22
  import {
23
23
  withSiblingAwareness
24
- } from "./cli-z3h9zvty.js";
24
+ } from "./cli-gpdtxzar.js";
25
25
  import {
26
26
  FollowUpConfigSchema,
27
27
  ModelTierSchema,
@@ -67,7 +67,7 @@ import {
67
67
  updateWorkflowRun,
68
68
  updateWorkflowRunStep,
69
69
  workflowContextKey
70
- } from "./cli-q46hkq2p.js";
70
+ } from "./cli-tmn19cdz.js";
71
71
  import {
72
72
  deepInterpolate,
73
73
  findInterpolationTokens,
@@ -3194,7 +3194,7 @@ class HumanInTheLoopExecutor extends BaseExecutor {
3194
3194
  }
3195
3195
  if (notification.channel === "slack") {
3196
3196
  try {
3197
- const { getSlackApp } = await import("./app-bsbct708.js");
3197
+ const { getSlackApp } = await import("./app-g2s78xya.js");
3198
3198
  const slackApp = getSlackApp();
3199
3199
  if (!slackApp) {
3200
3200
  console.warn("[HITL] Slack not initialized — cannot send notification");
@@ -3310,7 +3310,7 @@ class NotifyExecutor extends BaseExecutor {
3310
3310
  }
3311
3311
  }
3312
3312
  case "slack": {
3313
- const { getSlackApp } = await import("./app-bsbct708.js");
3313
+ const { getSlackApp } = await import("./app-g2s78xya.js");
3314
3314
  const app = getSlackApp();
3315
3315
  if (!app) {
3316
3316
  return {
@@ -7,7 +7,7 @@ import {
7
7
  init_date_utils,
8
8
  init_db,
9
9
  normalizeDateRequired
10
- } from "./cli-q46hkq2p.js";
10
+ } from "./cli-tmn19cdz.js";
11
11
  import {
12
12
  init_secret_scrubber,
13
13
  registerVolatileSecret,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  init_package,
3
3
  package_default
4
- } from "./cli-j6fpcrdk.js";
4
+ } from "./cli-4r4jkqep.js";
5
5
 
6
6
  // src/commands/shared/client-config.ts
7
7
  init_package();
@@ -4,11 +4,11 @@ import {
4
4
  getEmbeddingProvider,
5
5
  init_embedding,
6
6
  serializeEmbedding
7
- } from "./cli-zg86g3q8.js";
7
+ } from "./cli-hz5hp6wn.js";
8
8
  import {
9
9
  getDbClient,
10
10
  init_db
11
- } from "./cli-q46hkq2p.js";
11
+ } from "./cli-tmn19cdz.js";
12
12
  import {
13
13
  init_secret_scrubber,
14
14
  scrubSecrets