@sentry/junior 0.110.0 → 0.112.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 (76) hide show
  1. package/dist/{agent-hooks-ELT4ODFF.js → agent-hooks-6MVTPKP4.js} +8 -8
  2. package/dist/api/people/profile.d.ts +1 -0
  3. package/dist/api/schema/person.d.ts +2 -0
  4. package/dist/api/schema.js +1 -1
  5. package/dist/api.js +13 -12
  6. package/dist/app.js +551 -401
  7. package/dist/build/virtual-config.d.ts +2 -0
  8. package/dist/{catalog-runtime-4GI22PXK.js → catalog-runtime-UEO25P2J.js} +5 -5
  9. package/dist/chat/agent/request.d.ts +3 -6
  10. package/dist/chat/agent/sandbox.d.ts +36 -11
  11. package/dist/chat/agent/tools.d.ts +5 -8
  12. package/dist/chat/config.d.ts +8 -1
  13. package/dist/chat/pi/sdk.d.ts +1 -1
  14. package/dist/chat/plugins/agent-hooks.d.ts +2 -2
  15. package/dist/chat/runtime/agent-continue-runner.d.ts +7 -3
  16. package/dist/chat/runtime/agent-run-outcome.d.ts +1 -0
  17. package/dist/chat/runtime/slack-runtime.d.ts +1 -2
  18. package/dist/chat/runtime/thread-state.d.ts +3 -7
  19. package/dist/chat/runtime/turn-preparation.d.ts +2 -2
  20. package/dist/chat/sandbox/command-result.d.ts +91 -0
  21. package/dist/chat/sandbox/errors.d.ts +3 -1
  22. package/dist/chat/sandbox/ref.d.ts +5 -0
  23. package/dist/chat/sandbox/sandbox.d.ts +19 -46
  24. package/dist/chat/sandbox/session.d.ts +16 -20
  25. package/dist/chat/sandbox/skill-sync.d.ts +2 -2
  26. package/dist/chat/sandbox/workspace.d.ts +14 -12
  27. package/dist/chat/services/auth-pause-response.d.ts +1 -1
  28. package/dist/chat/services/auth-pause.d.ts +2 -1
  29. package/dist/chat/services/mcp-auth-orchestration.d.ts +1 -1
  30. package/dist/chat/services/plugin-auth-orchestration.d.ts +2 -1
  31. package/dist/chat/services/turn-result.d.ts +3 -4
  32. package/dist/chat/task-execution/slack-work.d.ts +3 -1
  33. package/dist/chat/task-execution/state.d.ts +75 -22
  34. package/dist/chat/task-execution/store.d.ts +34 -3
  35. package/dist/chat/task-execution/worker.d.ts +0 -1
  36. package/dist/chat/tool-support/normalize-result.d.ts +2 -2
  37. package/dist/chat/tool-support/pi-tool-adapter.d.ts +2 -2
  38. package/dist/chat/tool-support/structured-result.d.ts +1 -2
  39. package/dist/chat/tools/resource-events.d.ts +3 -129
  40. package/dist/chat/tools/sandbox/file-uploads.d.ts +1 -1
  41. package/dist/chat/{runtime → tools/sandbox}/generated-artifacts.d.ts +3 -3
  42. package/dist/chat/tools/types.d.ts +1 -1
  43. package/dist/chat/tools/web/fetch-content.d.ts +5 -0
  44. package/dist/chat/tools/web/image-generate.d.ts +2 -1
  45. package/dist/chat/tools/web/search.d.ts +1 -1
  46. package/dist/{chunk-3S7YYHBI.js → chunk-2FJ6WEYV.js} +1 -1
  47. package/dist/{chunk-Y5FK3CNG.js → chunk-4EJO4HIC.js} +1 -1
  48. package/dist/{chunk-W6RJZG7F.js → chunk-66IP6WED.js} +306 -31
  49. package/dist/{chunk-W75ZPAGG.js → chunk-AU2JVUDF.js} +1 -1
  50. package/dist/{chunk-3UBQI73J.js → chunk-AWNDKI5K.js} +7 -8
  51. package/dist/{chunk-IYKPU7H6.js → chunk-CSS7JHEM.js} +1 -1
  52. package/dist/{chunk-SBOBTS27.js → chunk-GJG67YFS.js} +2 -2
  53. package/dist/{chunk-RHHRKSPI.js → chunk-GR4IB6OQ.js} +8729 -9024
  54. package/dist/{chunk-ZKIOWEFL.js → chunk-IV2O4HQJ.js} +1 -1
  55. package/dist/{chunk-FPK7XY3F.js → chunk-JE23YR3X.js} +1 -0
  56. package/dist/{chunk-L5XQPJ7T.js → chunk-NDQL4ESR.js} +2 -2
  57. package/dist/{chunk-WNOVRQ67.js → chunk-PK4ETCUQ.js} +46 -18
  58. package/dist/{chunk-4QU44P7Q.js → chunk-QIALGHRN.js} +2 -2
  59. package/dist/{chunk-C5XAFTHY.js → chunk-SKEMI4IF.js} +16 -13
  60. package/dist/{chunk-Y3H2DN6F.js → chunk-TZU3R5OC.js} +1 -1
  61. package/dist/{chunk-2T7TIEXI.js → chunk-VBSVNOLA.js} +11 -15
  62. package/dist/{chunk-GK47NBDE.js → chunk-X3SP5RDW.js} +1 -1
  63. package/dist/{chunk-3TV7OEHL.js → chunk-ZHP4KNF7.js} +1 -1
  64. package/dist/cli/chat.js +19 -19
  65. package/dist/cli/check.js +6 -6
  66. package/dist/cli/plugins.js +11 -11
  67. package/dist/cli/snapshot-warmup.js +8 -8
  68. package/dist/cli/upgrade.js +5 -5
  69. package/dist/{db-Y6W6CWWW.js → db-P5H5RVQV.js} +5 -5
  70. package/dist/instrumentation.js +2 -2
  71. package/dist/nitro.js +14 -8
  72. package/dist/{runner-BBFV5GLR.js → runner-B4ZDUO3R.js} +19 -28
  73. package/dist/{skills-AR4AF32L.js → skills-GWTOZ3XV.js} +6 -6
  74. package/dist/{validation-FBIEPTC2.js → validation-QFIC6XH6.js} +6 -6
  75. package/dist/version.js +1 -1
  76. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.110.0",
4
+ version: "0.112.0",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -329,6 +329,7 @@ var peopleConversationStatsItemSchema = conversationStatsItemSchema.omit({ costU
329
329
  var actorActivityDayReportSchema = z5.object({
330
330
  active: z5.number(),
331
331
  conversations: z5.number(),
332
+ costUsd: z5.number().optional(),
332
333
  date: z5.string(),
333
334
  durationMs: z5.number(),
334
335
  failed: z5.number(),
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-4ZNGQH7C.js";
4
4
  import {
5
5
  getSlackBotToken
6
- } from "./chunk-WNOVRQ67.js";
6
+ } from "./chunk-PK4ETCUQ.js";
7
7
  import {
8
8
  logWarn,
9
9
  setSpanAttributes,
10
10
  setSpanStatus,
11
11
  withSpan
12
- } from "./chunk-IYKPU7H6.js";
12
+ } from "./chunk-CSS7JHEM.js";
13
13
  import {
14
14
  parseSlackChannelReferenceId
15
15
  } from "./chunk-42WRQLJ6.js";
@@ -12,7 +12,7 @@ import {
12
12
  normalizeGenAiFinishReason,
13
13
  serializeGenAiAttribute,
14
14
  withSpan
15
- } from "./chunk-IYKPU7H6.js";
15
+ } from "./chunk-CSS7JHEM.js";
16
16
 
17
17
  // src/chat/xml.ts
18
18
  function escapeXml(value) {
@@ -172,7 +172,7 @@ function stripRuntimeTurnContext(messages) {
172
172
  }
173
173
 
174
174
  // src/chat/config.ts
175
- import { getModel } from "@earendil-works/pi-ai/compat";
175
+ import { getModel as getModel2 } from "@earendil-works/pi-ai/compat";
176
176
 
177
177
  // src/chat/optional-string.ts
178
178
  function toOptionalTrimmed(value) {
@@ -187,7 +187,9 @@ function toOptionalTrimmed(value) {
187
187
  import {
188
188
  completeSimple,
189
189
  getEnvApiKey,
190
+ getModel,
190
191
  getModels,
192
+ isRetryableAssistantError,
191
193
  registerApiProvider
192
194
  } from "@earendil-works/pi-ai/compat";
193
195
  import {
@@ -592,6 +594,7 @@ var DEFAULT_SLACK_SLASH_COMMAND = "/jr";
592
594
  var DEFAULT_PROCESSING_REACTION_EMOJI = "eyes";
593
595
  var DEFAULT_COMPLETED_REACTION_EMOJI = "white_check_mark";
594
596
  var FUNCTION_TIMEOUT_BUFFER_SECONDS = 20;
597
+ var CONVERSATION_WORK_SOFT_YIELD_BUFFER_SECONDS = 40;
595
598
  var DEFAULT_ASSISTANT_LOADING_MESSAGES = [
596
599
  "Consulting the orb",
597
600
  "Bribing the gremlins",
@@ -616,13 +619,14 @@ function parseAgentTurnTimeoutMs(rawValue, maxTimeoutMs) {
616
619
  }
617
620
  return Math.max(MIN_AGENT_TURN_TIMEOUT_MS, Math.min(value, maxTimeoutMs));
618
621
  }
619
- function resolveFunctionMaxDurationSeconds(env) {
620
- const raw = env.FUNCTION_MAX_DURATION_SECONDS ?? env.QUEUE_CALLBACK_MAX_DURATION_SECONDS;
621
- const value = Number.parseInt(raw ?? "", 10);
622
- if (Number.isNaN(value) || value <= 0) {
623
- return DEFAULT_FUNCTION_MAX_DURATION_SECONDS;
624
- }
625
- return value;
622
+ function resolveFunctionMaxDurationSeconds(functionMaxDurationSeconds) {
623
+ return functionMaxDurationSeconds ?? DEFAULT_FUNCTION_MAX_DURATION_SECONDS;
624
+ }
625
+ function resolveConversationWorkSoftYieldAfterMs(functionMaxDurationSeconds) {
626
+ return Math.max(
627
+ MIN_AGENT_TURN_TIMEOUT_MS,
628
+ (functionMaxDurationSeconds - CONVERSATION_WORK_SOFT_YIELD_BUFFER_SECONDS) * 1e3
629
+ );
626
630
  }
627
631
  function resolveMaxTurnTimeoutMs(functionMaxDurationSeconds) {
628
632
  const budgetSeconds = functionMaxDurationSeconds - FUNCTION_TIMEOUT_BUFFER_SECONDS;
@@ -669,16 +673,21 @@ function parseSlashCommand(rawValue) {
669
673
  }
670
674
  return command;
671
675
  }
672
- var DEFAULT_MODEL_ID = getModel("vercel-ai-gateway", "xai/grok-4.5").id;
673
- var DEFAULT_FAST_MODEL_ID = getModel(
676
+ var DEFAULT_MODEL_ID = getModel2("vercel-ai-gateway", "xai/grok-4.5").id;
677
+ var DEFAULT_FAST_MODEL_ID = getModel2(
674
678
  "vercel-ai-gateway",
675
679
  "anthropic/claude-haiku-4.5"
676
680
  ).id;
677
- var DEFAULT_HANDOFF_MODEL_ID = getModel(
681
+ var DEFAULT_HANDOFF_MODEL_ID = getModel2(
678
682
  "vercel-ai-gateway",
679
683
  "openai/gpt-5.6-sol"
680
684
  ).id;
685
+ var DEFAULT_WEB_SEARCH_MODEL_ID = getModel2(
686
+ "vercel-ai-gateway",
687
+ "openai/gpt-5.4"
688
+ ).id;
681
689
  var DEFAULT_EMBEDDING_MODEL_ID = "openai/text-embedding-3-small";
690
+ var DEFAULT_IMAGE_GENERATION_MODEL_ID = "google/gemini-3-pro-image";
682
691
  function validateGatewayModelId(raw) {
683
692
  const trimmed = toOptionalTrimmed(raw);
684
693
  if (trimmed === void 0) return void 0;
@@ -742,8 +751,7 @@ function parseReactionEmoji(envName, rawValue, defaultEmoji) {
742
751
  }
743
752
  return normalized;
744
753
  }
745
- function readBotConfig(env) {
746
- const functionMaxDurationSeconds = resolveFunctionMaxDurationSeconds(env);
754
+ function readBotConfig(env, functionMaxDurationSeconds) {
747
755
  const maxTurnTimeoutMs = resolveMaxTurnTimeoutMs(functionMaxDurationSeconds);
748
756
  const modelId = validateGatewayModelId(env.AI_MODEL) ?? DEFAULT_MODEL_ID;
749
757
  const reasoningLevel = toOptionalTrimmed(env.AI_REASONING_LEVEL);
@@ -758,6 +766,7 @@ function readBotConfig(env) {
758
766
  ),
759
767
  reasoningLevel: reasoningLevel === void 0 ? void 0 : parseTurnReasoningLevel(reasoningLevel),
760
768
  fastModelId,
769
+ imageGenerationModelId: toOptionalTrimmed(env.AI_IMAGE_MODEL) ?? DEFAULT_IMAGE_GENERATION_MODEL_ID,
761
770
  embeddingModelId: validateEmbeddingModelId(env.AI_EMBEDDING_MODEL) ?? DEFAULT_EMBEDDING_MODEL_ID,
762
771
  loadingMessages: parseLoadingMessages(env.JUNIOR_LOADING_MESSAGES),
763
772
  visionModelId: validateGatewayModelId(env.AI_VISION_MODEL),
@@ -765,7 +774,8 @@ function readBotConfig(env) {
765
774
  turnTimeoutMs: parseAgentTurnTimeoutMs(
766
775
  env.AGENT_TURN_TIMEOUT_MS,
767
776
  maxTurnTimeoutMs
768
- )
777
+ ),
778
+ webSearchModelId: validateGatewayModelId(env.AI_WEB_SEARCH_MODEL) ?? DEFAULT_WEB_SEARCH_MODEL_ID
769
779
  };
770
780
  }
771
781
  function readDatabaseUrl(env) {
@@ -796,11 +806,17 @@ function readSqlDriver(env, databaseUrl) {
796
806
  }
797
807
  throw new Error("JUNIOR_DATABASE_DRIVER must be postgres or neon");
798
808
  }
799
- function readChatConfig(env = process.env) {
809
+ function readChatConfig(env = process.env, functionMaxDurationSeconds = DEFAULT_FUNCTION_MAX_DURATION_SECONDS) {
800
810
  const databaseUrl = readDatabaseUrl(env);
811
+ const resolvedFunctionMaxDurationSeconds = resolveFunctionMaxDurationSeconds(
812
+ functionMaxDurationSeconds
813
+ );
801
814
  return {
802
- bot: readBotConfig(env),
803
- functionMaxDurationSeconds: resolveFunctionMaxDurationSeconds(env),
815
+ bot: readBotConfig(env, resolvedFunctionMaxDurationSeconds),
816
+ functionMaxDurationSeconds: resolvedFunctionMaxDurationSeconds,
817
+ conversationWorkSoftYieldAfterMs: resolveConversationWorkSoftYieldAfterMs(
818
+ resolvedFunctionMaxDurationSeconds
819
+ ),
804
820
  sql: {
805
821
  databaseUrl,
806
822
  driver: readSqlDriver(env, databaseUrl)
@@ -822,6 +838,17 @@ function readChatConfig(env = process.env) {
822
838
  };
823
839
  }
824
840
  var chatConfig = readChatConfig(process.env);
841
+ function configureFunctionMaxDurationSeconds(functionMaxDurationSeconds) {
842
+ const resolved = resolveFunctionMaxDurationSeconds(
843
+ functionMaxDurationSeconds
844
+ );
845
+ chatConfig.functionMaxDurationSeconds = resolved;
846
+ chatConfig.conversationWorkSoftYieldAfterMs = resolveConversationWorkSoftYieldAfterMs(resolved);
847
+ chatConfig.bot.turnTimeoutMs = parseAgentTurnTimeoutMs(
848
+ process.env.AGENT_TURN_TIMEOUT_MS,
849
+ resolveMaxTurnTimeoutMs(resolved)
850
+ );
851
+ }
825
852
  function getChatConfig() {
826
853
  return chatConfig;
827
854
  }
@@ -910,6 +937,7 @@ export {
910
937
  standardModelId,
911
938
  profileConfig,
912
939
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
940
+ configureFunctionMaxDurationSeconds,
913
941
  getChatConfig,
914
942
  botConfig,
915
943
  getSlackBotToken,
@@ -8,13 +8,13 @@ import {
8
8
  import {
9
9
  getChatConfig,
10
10
  modelProfileSchema
11
- } from "./chunk-WNOVRQ67.js";
11
+ } from "./chunk-PK4ETCUQ.js";
12
12
  import {
13
13
  juniorDestinations
14
14
  } from "./chunk-VFUK3X5B.js";
15
15
  import {
16
16
  normalizeIdentityEmail
17
- } from "./chunk-IYKPU7H6.js";
17
+ } from "./chunk-CSS7JHEM.js";
18
18
  import {
19
19
  parseSlackChannelReferenceId,
20
20
  parseSlackTeamId
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-MU6HHZEN.js";
5
5
  import {
6
6
  getStateAdapter
7
- } from "./chunk-GK47NBDE.js";
7
+ } from "./chunk-X3SP5RDW.js";
8
8
  import {
9
9
  contextProvenance,
10
10
  createSqlConversationEventStore,
@@ -15,7 +15,7 @@ import {
15
15
  instructionProvenanceFor,
16
16
  sanitizePostgresJson,
17
17
  withConversationEventLock
18
- } from "./chunk-4QU44P7Q.js";
18
+ } from "./chunk-QIALGHRN.js";
19
19
  import {
20
20
  sleep
21
21
  } from "./chunk-4ZNGQH7C.js";
@@ -28,7 +28,7 @@ import {
28
28
  standardModelId,
29
29
  stripRuntimeTurnContext,
30
30
  trimTrailingAssistantMessages
31
- } from "./chunk-WNOVRQ67.js";
31
+ } from "./chunk-PK4ETCUQ.js";
32
32
  import {
33
33
  toStoredSlackActor
34
34
  } from "./chunk-C4MZ3GP5.js";
@@ -37,7 +37,7 @@ import {
37
37
  logException,
38
38
  logWarn,
39
39
  setSpanAttributes
40
- } from "./chunk-IYKPU7H6.js";
40
+ } from "./chunk-CSS7JHEM.js";
41
41
  import {
42
42
  isRecord,
43
43
  parseSlackMessageTs,
@@ -2352,11 +2352,9 @@ function buildThreadStatePayload(patch) {
2352
2352
  if (patch.conversation) {
2353
2353
  Object.assign(payload, buildConversationStatePatch(patch.conversation));
2354
2354
  }
2355
- if (patch.sandboxId !== void 0) {
2356
- payload.app_sandbox_id = patch.sandboxId;
2357
- }
2358
- if (patch.sandboxDependencyProfileHash !== void 0) {
2359
- payload.app_sandbox_dependency_profile_hash = patch.sandboxDependencyProfileHash;
2355
+ if (patch.sandboxRef !== void 0) {
2356
+ payload.app_sandbox_id = patch.sandboxRef?.id ?? "";
2357
+ payload.app_sandbox_dependency_profile_hash = patch.sandboxRef?.profileHash ?? "";
2360
2358
  }
2361
2359
  return payload;
2362
2360
  }
@@ -2374,11 +2372,16 @@ function mergeArtifactsState(artifacts, patch) {
2374
2372
  };
2375
2373
  }
2376
2374
  function getPersistedSandboxState(state) {
2375
+ const id = toOptionalString(state.app_sandbox_id);
2376
+ if (!id) {
2377
+ return void 0;
2378
+ }
2379
+ const profileHash = toOptionalString(
2380
+ state.app_sandbox_dependency_profile_hash
2381
+ );
2377
2382
  return {
2378
- sandboxId: toOptionalString(state.app_sandbox_id),
2379
- sandboxDependencyProfileHash: toOptionalString(
2380
- state.app_sandbox_dependency_profile_hash
2381
- )
2383
+ id,
2384
+ ...profileHash ? { profileHash } : {}
2382
2385
  };
2383
2386
  }
2384
2387
  async function persistThreadState(thread, patch) {
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-IYKPU7H6.js";
8
+ } from "./chunk-CSS7JHEM.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  SANDBOX_WORKSPACE_ROOT,
3
3
  getStateAdapter
4
- } from "./chunk-GK47NBDE.js";
4
+ } from "./chunk-X3SP5RDW.js";
5
5
  import {
6
6
  isConversationChannel,
7
7
  isConversationScopedChannel,
8
8
  isDmChannel,
9
9
  normalizeSlackConversationId
10
- } from "./chunk-L5XQPJ7T.js";
10
+ } from "./chunk-NDQL4ESR.js";
11
11
  import {
12
12
  getDb
13
- } from "./chunk-4QU44P7Q.js";
13
+ } from "./chunk-QIALGHRN.js";
14
14
  import {
15
15
  botConfig,
16
16
  completeObject,
17
17
  embedTexts,
18
18
  standardModelId
19
- } from "./chunk-WNOVRQ67.js";
19
+ } from "./chunk-PK4ETCUQ.js";
20
20
  import {
21
21
  isActorUserId,
22
22
  parseActorUserId
@@ -25,7 +25,7 @@ import {
25
25
  logException,
26
26
  logInfo,
27
27
  logWarn
28
- } from "./chunk-IYKPU7H6.js";
28
+ } from "./chunk-CSS7JHEM.js";
29
29
  import {
30
30
  parseSlackChannelReferenceId,
31
31
  parseSlackMessageTs,
@@ -1172,27 +1172,23 @@ function normalizeEnv(value) {
1172
1172
  }
1173
1173
  return env;
1174
1174
  }
1175
- function createSandboxCapability(sandbox) {
1175
+ function createSandboxCapability(workspace) {
1176
1176
  return {
1177
1177
  root: SANDBOX_WORKSPACE_ROOT,
1178
1178
  juniorRoot: `${SANDBOX_WORKSPACE_ROOT}/.junior`,
1179
1179
  async readFile(filePath) {
1180
- return await sandbox.readFileToBuffer({ path: filePath }) ?? null;
1180
+ return await workspace.readFileToBuffer({ path: filePath }) ?? null;
1181
1181
  },
1182
1182
  async run(input) {
1183
- const result = await sandbox.runCommand(input);
1184
- const [stdout, stderr] = await Promise.all([
1185
- result.stdout(),
1186
- result.stderr()
1187
- ]);
1183
+ const result = await workspace.runCommand(input);
1188
1184
  return {
1189
1185
  exitCode: result.exitCode,
1190
- stdout,
1191
- stderr
1186
+ stdout: result.stdout,
1187
+ stderr: result.stderr
1192
1188
  };
1193
1189
  },
1194
1190
  async writeFile(input) {
1195
- await sandbox.writeFiles([
1191
+ await workspace.writeFiles([
1196
1192
  {
1197
1193
  path: input.path,
1198
1194
  content: input.content,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-WNOVRQ67.js";
3
+ } from "./chunk-PK4ETCUQ.js";
4
4
 
5
5
  // src/chat/state/adapter.ts
6
6
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPluginCatalogRuntime
3
- } from "./chunk-Y3H2DN6F.js";
3
+ } from "./chunk-TZU3R5OC.js";
4
4
 
5
5
  // src/chat/plugins/catalog-runtime.ts
6
6
  var pluginCatalogRuntime = createPluginCatalogRuntime();
package/dist/cli/chat.js CHANGED
@@ -1,35 +1,35 @@
1
1
  import {
2
2
  createAgentRunner,
3
3
  executeAgentRun
4
- } from "../chunk-RHHRKSPI.js";
5
- import "../chunk-C5XAFTHY.js";
6
- import "../chunk-W6RJZG7F.js";
4
+ } from "../chunk-GR4IB6OQ.js";
5
+ import "../chunk-SKEMI4IF.js";
6
+ import "../chunk-66IP6WED.js";
7
7
  import "../chunk-MU6HHZEN.js";
8
8
  import "../chunk-PDO5BLNM.js";
9
9
  import "../chunk-UIE3R5XU.js";
10
10
  import {
11
11
  loadAppPluginSet
12
12
  } from "../chunk-Y2CM7HXH.js";
13
- import "../chunk-2T7TIEXI.js";
14
- import "../chunk-GK47NBDE.js";
15
- import "../chunk-L5XQPJ7T.js";
16
- import "../chunk-4QU44P7Q.js";
13
+ import "../chunk-VBSVNOLA.js";
14
+ import "../chunk-X3SP5RDW.js";
15
+ import "../chunk-NDQL4ESR.js";
16
+ import "../chunk-QIALGHRN.js";
17
17
  import "../chunk-JQFJO5WH.js";
18
18
  import "../chunk-4ZNGQH7C.js";
19
- import "../chunk-WNOVRQ67.js";
19
+ import "../chunk-PK4ETCUQ.js";
20
20
  import "../chunk-VFUK3X5B.js";
21
21
  import "../chunk-6Y5L4BOM.js";
22
- import "../chunk-SBOBTS27.js";
23
- import "../chunk-3TV7OEHL.js";
24
- import "../chunk-Y3H2DN6F.js";
22
+ import "../chunk-GJG67YFS.js";
23
+ import "../chunk-ZHP4KNF7.js";
24
+ import "../chunk-TZU3R5OC.js";
25
25
  import "../chunk-C4MZ3GP5.js";
26
- import "../chunk-IYKPU7H6.js";
26
+ import "../chunk-CSS7JHEM.js";
27
27
  import "../chunk-42WRQLJ6.js";
28
28
  import "../chunk-6GWA276C.js";
29
29
  import "../chunk-B3IT5END.js";
30
30
  import "../chunk-3V7OFJZC.js";
31
- import "../chunk-W75ZPAGG.js";
32
- import "../chunk-ZKIOWEFL.js";
31
+ import "../chunk-AU2JVUDF.js";
32
+ import "../chunk-IV2O4HQJ.js";
33
33
  import "../chunk-MLKGABMK.js";
34
34
 
35
35
  // src/cli/chat.ts
@@ -152,10 +152,10 @@ async function configureLocalChatPlugins(pluginSet) {
152
152
  databaseModule
153
153
  ] = await Promise.all([
154
154
  import("../plugins-PZMDS7AT.js"),
155
- import("../agent-hooks-ELT4ODFF.js"),
156
- import("../catalog-runtime-4GI22PXK.js"),
157
- import("../validation-FBIEPTC2.js"),
158
- import("../db-Y6W6CWWW.js")
155
+ import("../agent-hooks-6MVTPKP4.js"),
156
+ import("../catalog-runtime-UEO25P2J.js"),
157
+ import("../validation-QFIC6XH6.js"),
158
+ import("../db-P5H5RVQV.js")
159
159
  ]);
160
160
  const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
161
161
  const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
@@ -216,7 +216,7 @@ function newRunConversationId() {
216
216
  async function prepareLocalChatRun(io, pluginSet) {
217
217
  defaultStateAdapterForLocalChat();
218
218
  await configureLocalChatPlugins(pluginSet);
219
- const { runLocalAgentTurn } = await import("../runner-BBFV5GLR.js");
219
+ const { runLocalAgentTurn } = await import("../runner-B4ZDUO3R.js");
220
220
  const deps = {
221
221
  agentRunner: createAgentRunner(executeAgentRun),
222
222
  deliverReply: async (reply) => {
package/dist/cli/check.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  parseSkillFile
3
- } from "../chunk-SBOBTS27.js";
4
- import "../chunk-3TV7OEHL.js";
3
+ } from "../chunk-GJG67YFS.js";
4
+ import "../chunk-ZHP4KNF7.js";
5
5
  import {
6
6
  parseInlinePluginManifest,
7
7
  parsePluginManifest
8
- } from "../chunk-Y3H2DN6F.js";
8
+ } from "../chunk-TZU3R5OC.js";
9
9
  import "../chunk-C4MZ3GP5.js";
10
- import "../chunk-IYKPU7H6.js";
10
+ import "../chunk-CSS7JHEM.js";
11
11
  import "../chunk-42WRQLJ6.js";
12
12
  import "../chunk-6GWA276C.js";
13
13
  import "../chunk-B3IT5END.js";
@@ -16,8 +16,8 @@ import {
16
16
  JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
17
17
  JUNIOR_HEARTBEAT_ROUTE,
18
18
  LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
19
- } from "../chunk-W75ZPAGG.js";
20
- import "../chunk-ZKIOWEFL.js";
19
+ } from "../chunk-AU2JVUDF.js";
20
+ import "../chunk-IV2O4HQJ.js";
21
21
  import "../chunk-MLKGABMK.js";
22
22
 
23
23
  // src/cli/check.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  validatePluginEgressCredentialHooks,
3
3
  validatePluginRegistrations
4
- } from "../chunk-Y5FK3CNG.js";
4
+ } from "../chunk-4EJO4HIC.js";
5
5
  import {
6
6
  pluginCatalogConfigFromPluginSet,
7
7
  pluginCliRegistrationsFromPluginSet,
@@ -14,29 +14,29 @@ import {
14
14
  createPluginLogger,
15
15
  setPlugins,
16
16
  validatePlugins
17
- } from "../chunk-2T7TIEXI.js";
18
- import "../chunk-GK47NBDE.js";
19
- import "../chunk-L5XQPJ7T.js";
17
+ } from "../chunk-VBSVNOLA.js";
18
+ import "../chunk-X3SP5RDW.js";
19
+ import "../chunk-NDQL4ESR.js";
20
20
  import {
21
21
  getDb
22
- } from "../chunk-4QU44P7Q.js";
22
+ } from "../chunk-QIALGHRN.js";
23
23
  import "../chunk-JQFJO5WH.js";
24
24
  import "../chunk-4ZNGQH7C.js";
25
- import "../chunk-WNOVRQ67.js";
25
+ import "../chunk-PK4ETCUQ.js";
26
26
  import "../chunk-VFUK3X5B.js";
27
27
  import "../chunk-6Y5L4BOM.js";
28
28
  import {
29
29
  pluginCatalogRuntime
30
- } from "../chunk-3TV7OEHL.js";
31
- import "../chunk-Y3H2DN6F.js";
30
+ } from "../chunk-ZHP4KNF7.js";
31
+ import "../chunk-TZU3R5OC.js";
32
32
  import "../chunk-C4MZ3GP5.js";
33
- import "../chunk-IYKPU7H6.js";
33
+ import "../chunk-CSS7JHEM.js";
34
34
  import "../chunk-42WRQLJ6.js";
35
35
  import "../chunk-6GWA276C.js";
36
36
  import "../chunk-B3IT5END.js";
37
37
  import "../chunk-3V7OFJZC.js";
38
- import "../chunk-W75ZPAGG.js";
39
- import "../chunk-ZKIOWEFL.js";
38
+ import "../chunk-AU2JVUDF.js";
39
+ import "../chunk-IV2O4HQJ.js";
40
40
  import "../chunk-MLKGABMK.js";
41
41
 
42
42
  // src/cli/plugins.ts
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  GLOBAL_RUNTIME_DEPENDENCIES,
3
3
  resolveRuntimeDependencySnapshot
4
- } from "../chunk-W6RJZG7F.js";
4
+ } from "../chunk-66IP6WED.js";
5
5
  import {
6
6
  disconnectStateAdapter
7
- } from "../chunk-GK47NBDE.js";
7
+ } from "../chunk-X3SP5RDW.js";
8
8
  import "../chunk-4ZNGQH7C.js";
9
- import "../chunk-WNOVRQ67.js";
9
+ import "../chunk-PK4ETCUQ.js";
10
10
  import "../chunk-6Y5L4BOM.js";
11
11
  import {
12
12
  pluginCatalogRuntime
13
- } from "../chunk-3TV7OEHL.js";
14
- import "../chunk-Y3H2DN6F.js";
13
+ } from "../chunk-ZHP4KNF7.js";
14
+ import "../chunk-TZU3R5OC.js";
15
15
  import "../chunk-C4MZ3GP5.js";
16
- import "../chunk-IYKPU7H6.js";
16
+ import "../chunk-CSS7JHEM.js";
17
17
  import "../chunk-42WRQLJ6.js";
18
18
  import "../chunk-6GWA276C.js";
19
19
  import "../chunk-B3IT5END.js";
20
20
  import "../chunk-3V7OFJZC.js";
21
- import "../chunk-W75ZPAGG.js";
22
- import "../chunk-ZKIOWEFL.js";
21
+ import "../chunk-AU2JVUDF.js";
22
+ import "../chunk-IV2O4HQJ.js";
23
23
  import "../chunk-MLKGABMK.js";
24
24
 
25
25
  // src/cli/snapshot-warmup.ts
@@ -11,20 +11,20 @@ import {
11
11
  } from "../chunk-JQFJO5WH.js";
12
12
  import {
13
13
  getChatConfig
14
- } from "../chunk-WNOVRQ67.js";
14
+ } from "../chunk-PK4ETCUQ.js";
15
15
  import "../chunk-VFUK3X5B.js";
16
16
  import "../chunk-6Y5L4BOM.js";
17
17
  import {
18
18
  createPluginCatalogRuntime
19
- } from "../chunk-Y3H2DN6F.js";
19
+ } from "../chunk-TZU3R5OC.js";
20
20
  import "../chunk-C4MZ3GP5.js";
21
- import "../chunk-IYKPU7H6.js";
21
+ import "../chunk-CSS7JHEM.js";
22
22
  import "../chunk-42WRQLJ6.js";
23
23
  import "../chunk-6GWA276C.js";
24
24
  import "../chunk-B3IT5END.js";
25
25
  import "../chunk-3V7OFJZC.js";
26
- import "../chunk-W75ZPAGG.js";
27
- import "../chunk-ZKIOWEFL.js";
26
+ import "../chunk-AU2JVUDF.js";
27
+ import "../chunk-IV2O4HQJ.js";
28
28
  import "../chunk-MLKGABMK.js";
29
29
 
30
30
  // src/chat/conversations/sql/migrations.ts
@@ -5,16 +5,16 @@ import {
5
5
  getConversationStore,
6
6
  getDb,
7
7
  getSqlExecutor
8
- } from "./chunk-4QU44P7Q.js";
8
+ } from "./chunk-QIALGHRN.js";
9
9
  import "./chunk-JQFJO5WH.js";
10
- import "./chunk-WNOVRQ67.js";
10
+ import "./chunk-PK4ETCUQ.js";
11
11
  import "./chunk-VFUK3X5B.js";
12
12
  import "./chunk-6Y5L4BOM.js";
13
- import "./chunk-IYKPU7H6.js";
13
+ import "./chunk-CSS7JHEM.js";
14
14
  import "./chunk-42WRQLJ6.js";
15
15
  import "./chunk-6GWA276C.js";
16
- import "./chunk-W75ZPAGG.js";
17
- import "./chunk-ZKIOWEFL.js";
16
+ import "./chunk-AU2JVUDF.js";
17
+ import "./chunk-IV2O4HQJ.js";
18
18
  import "./chunk-MLKGABMK.js";
19
19
  export {
20
20
  closeDb,
@@ -15,8 +15,8 @@ import {
15
15
  import {
16
16
  getDeploymentServiceVersion,
17
17
  getDeploymentTelemetryAttributes
18
- } from "./chunk-W75ZPAGG.js";
19
- import "./chunk-ZKIOWEFL.js";
18
+ } from "./chunk-AU2JVUDF.js";
19
+ import "./chunk-IV2O4HQJ.js";
20
20
  import "./chunk-MLKGABMK.js";
21
21
 
22
22
  // src/chat/sentry-payload-filter.ts