@sentry/junior 0.111.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 (44) hide show
  1. package/dist/{agent-hooks-QQ2IWKOP.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 +47 -24
  7. package/dist/{catalog-runtime-D22W6QEJ.js → catalog-runtime-UEO25P2J.js} +5 -5
  8. package/dist/chat/runtime/agent-run-outcome.d.ts +1 -0
  9. package/dist/chat/services/auth-pause-response.d.ts +1 -1
  10. package/dist/chat/services/auth-pause.d.ts +2 -1
  11. package/dist/chat/services/mcp-auth-orchestration.d.ts +1 -1
  12. package/dist/chat/services/plugin-auth-orchestration.d.ts +2 -1
  13. package/dist/chat/tools/resource-events.d.ts +3 -129
  14. package/dist/{chunk-L6JPKANW.js → chunk-2FJ6WEYV.js} +1 -1
  15. package/dist/{chunk-Z2W4SJZ7.js → chunk-4EJO4HIC.js} +1 -1
  16. package/dist/{chunk-B45FPP2A.js → chunk-66IP6WED.js} +4 -4
  17. package/dist/{chunk-MPVES2IC.js → chunk-AU2JVUDF.js} +1 -1
  18. package/dist/{chunk-PZELBSHC.js → chunk-AWNDKI5K.js} +6 -6
  19. package/dist/{chunk-J7APPQIJ.js → chunk-CSS7JHEM.js} +1 -1
  20. package/dist/{chunk-BTRNMS6A.js → chunk-GJG67YFS.js} +2 -2
  21. package/dist/{chunk-OOLU34J4.js → chunk-GR4IB6OQ.js} +63 -45
  22. package/dist/{chunk-Z4G3WCP3.js → chunk-IV2O4HQJ.js} +1 -1
  23. package/dist/{chunk-FPK7XY3F.js → chunk-JE23YR3X.js} +1 -0
  24. package/dist/{chunk-IFAHK54X.js → chunk-NDQL4ESR.js} +2 -2
  25. package/dist/{chunk-NQLWOTY4.js → chunk-PK4ETCUQ.js} +1 -1
  26. package/dist/{chunk-ZRZ4SVWG.js → chunk-QIALGHRN.js} +2 -2
  27. package/dist/{chunk-SL3ZKNLQ.js → chunk-SKEMI4IF.js} +4 -4
  28. package/dist/{chunk-XQAYFRWT.js → chunk-TZU3R5OC.js} +1 -1
  29. package/dist/{chunk-QQIVLZW4.js → chunk-VBSVNOLA.js} +5 -5
  30. package/dist/{chunk-PYKKM4MM.js → chunk-X3SP5RDW.js} +1 -1
  31. package/dist/{chunk-WSRBFHPX.js → chunk-ZHP4KNF7.js} +1 -1
  32. package/dist/cli/chat.js +19 -19
  33. package/dist/cli/check.js +6 -6
  34. package/dist/cli/plugins.js +11 -11
  35. package/dist/cli/snapshot-warmup.js +8 -8
  36. package/dist/cli/upgrade.js +5 -5
  37. package/dist/{db-WXQOQESG.js → db-P5H5RVQV.js} +5 -5
  38. package/dist/instrumentation.js +2 -2
  39. package/dist/nitro.js +2 -2
  40. package/dist/{runner-4QY4XH4B.js → runner-B4ZDUO3R.js} +10 -10
  41. package/dist/{skills-P5MU4EBX.js → skills-GWTOZ3XV.js} +6 -6
  42. package/dist/{validation-PQF5OP6T.js → validation-QFIC6XH6.js} +6 -6
  43. package/dist/version.js +1 -1
  44. package/package.json +6 -6
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-6GWA276C.js";
14
14
  import {
15
15
  getDeploymentTelemetryAttributes
16
- } from "./chunk-MPVES2IC.js";
16
+ } from "./chunk-AU2JVUDF.js";
17
17
 
18
18
  // src/chat/logging.ts
19
19
  import path from "path";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-WSRBFHPX.js";
3
+ } from "./chunk-ZHP4KNF7.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-J7APPQIJ.js";
6
+ } from "./chunk-CSS7JHEM.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-3V7OFJZC.js";
@@ -22,7 +22,7 @@ import {
22
22
  recordMcpProviderConnected,
23
23
  recordToolExecutionStarted,
24
24
  updateConversationStats
25
- } from "./chunk-SL3ZKNLQ.js";
25
+ } from "./chunk-SKEMI4IF.js";
26
26
  import {
27
27
  buildNonInteractiveShellScript,
28
28
  createSandboxSession,
@@ -39,7 +39,7 @@ import {
39
39
  runNonInteractiveCommand,
40
40
  throwSandboxOperationError,
41
41
  wrapSandboxSetupError
42
- } from "./chunk-B45FPP2A.js";
42
+ } from "./chunk-66IP6WED.js";
43
43
  import {
44
44
  addAgentTurnUsage,
45
45
  hasAgentTurnUsage
@@ -56,7 +56,7 @@ import {
56
56
  getPlugins,
57
57
  getSlackToolContext,
58
58
  resolveChannelCapabilities
59
- } from "./chunk-QQIVLZW4.js";
59
+ } from "./chunk-VBSVNOLA.js";
60
60
  import {
61
61
  SANDBOX_DATA_ROOT,
62
62
  SANDBOX_SKILLS_ROOT,
@@ -65,7 +65,7 @@ import {
65
65
  getStateAdapter,
66
66
  sandboxSkillDir,
67
67
  sandboxSkillFile
68
- } from "./chunk-PYKKM4MM.js";
68
+ } from "./chunk-X3SP5RDW.js";
69
69
  import {
70
70
  SlackActionError,
71
71
  downloadPrivateSlackFile,
@@ -75,7 +75,7 @@ import {
75
75
  isDmChannel,
76
76
  normalizeSlackConversationId,
77
77
  withSlackRetries
78
- } from "./chunk-IFAHK54X.js";
78
+ } from "./chunk-NDQL4ESR.js";
79
79
  import {
80
80
  contextProvenance,
81
81
  getConversationEventStore,
@@ -85,7 +85,7 @@ import {
85
85
  instructionActors,
86
86
  instructionProvenanceFor,
87
87
  parseDestination
88
- } from "./chunk-ZRZ4SVWG.js";
88
+ } from "./chunk-QIALGHRN.js";
89
89
  import {
90
90
  sleep
91
91
  } from "./chunk-4ZNGQH7C.js";
@@ -128,7 +128,7 @@ import {
128
128
  stripRuntimeTurnContext,
129
129
  trimTrailingAssistantMessages,
130
130
  unwrapCurrentInstruction
131
- } from "./chunk-NQLWOTY4.js";
131
+ } from "./chunk-PK4ETCUQ.js";
132
132
  import {
133
133
  parseSlackThreadId,
134
134
  resolveConversationPrivacy,
@@ -144,17 +144,17 @@ import {
144
144
  findSkillByName,
145
145
  loadSkillsByName,
146
146
  parseSkillInvocation
147
- } from "./chunk-BTRNMS6A.js";
147
+ } from "./chunk-GJG67YFS.js";
148
148
  import {
149
149
  pluginCatalogRuntime
150
- } from "./chunk-WSRBFHPX.js";
150
+ } from "./chunk-ZHP4KNF7.js";
151
151
  import {
152
152
  CredentialUnavailableError,
153
153
  credentialContextSchema,
154
154
  credentialUserSubjectId,
155
155
  resolveAuthTokenPlaceholder,
156
156
  resolvePluginCommandEnv
157
- } from "./chunk-XQAYFRWT.js";
157
+ } from "./chunk-TZU3R5OC.js";
158
158
  import {
159
159
  isUserActor
160
160
  } from "./chunk-C4MZ3GP5.js";
@@ -175,7 +175,7 @@ import {
175
175
  summarizeMessageText,
176
176
  withLogContext,
177
177
  withSpan
178
- } from "./chunk-J7APPQIJ.js";
178
+ } from "./chunk-CSS7JHEM.js";
179
179
  import {
180
180
  isRecord,
181
181
  parseSlackChannelId,
@@ -1201,7 +1201,8 @@ var AuthorizationPauseError = class extends Error {
1201
1201
  kind;
1202
1202
  provider;
1203
1203
  providerDisplayName;
1204
- constructor(kind, provider, providerDisplayName, disposition) {
1204
+ requestText;
1205
+ constructor(kind, provider, providerDisplayName, disposition, requestText) {
1205
1206
  super(
1206
1207
  kind === "mcp" ? `MCP authorization started for ${provider}` : `Plugin authorization started for ${provider}`
1207
1208
  );
@@ -1210,6 +1211,7 @@ var AuthorizationPauseError = class extends Error {
1210
1211
  this.kind = kind;
1211
1212
  this.provider = provider;
1212
1213
  this.providerDisplayName = providerDisplayName;
1214
+ this.requestText = requestText;
1213
1215
  }
1214
1216
  };
1215
1217
  var AuthPausePersistenceError = class extends Error {
@@ -8317,6 +8319,11 @@ async function deliverResourceEventSubscription(input) {
8317
8319
  // src/chat/tools/resource-events.ts
8318
8320
  var DEFAULT_TTL_MS = 14 * 24 * 60 * 60 * 1e3;
8319
8321
  var MAX_TTL_MS = 30 * 24 * 60 * 60 * 1e3;
8322
+ var STOP_WATCHING_TOOL_NAME = "stopWatchingResources";
8323
+ var RESOURCE_WATCH_TOOL_SOURCE = {
8324
+ id: "resource-watches",
8325
+ description: "Inspect or stop resource watches for the current conversation."
8326
+ };
8320
8327
  var subscribeInputSchema = z18.object({
8321
8328
  resourceRef: z18.string().describe("Opaque resource ref copied from a subscribable tool result."),
8322
8329
  provider: z18.string().describe("Provider that owns the resource ref."),
@@ -8332,11 +8339,6 @@ var subscribeInputSchema = z18.object({
8332
8339
  "How long to keep the subscription active. Defaults to 14 days and is capped at 30 days."
8333
8340
  ).optional()
8334
8341
  });
8335
- var cancelInputSchema = z18.object({
8336
- subscriptionId: z18.string().describe(
8337
- "Subscription id returned by subscribeToResourceEvents or listResourceEventSubscriptions."
8338
- )
8339
- });
8340
8342
  function requireConversationContext(context) {
8341
8343
  if (!context.conversationId) {
8342
8344
  throw new Error("Resource event subscriptions require a conversation");
@@ -8403,7 +8405,14 @@ function createSubscribeToResourceEventsTool(context) {
8403
8405
  subscription_status: subscription.status,
8404
8406
  resourceRef: subscription.resourceRef,
8405
8407
  events: subscription.events,
8406
- expiresAtMs: subscription.expiresAtMs
8408
+ expiresAtMs: subscription.expiresAtMs,
8409
+ stop_watching: {
8410
+ execution_tool: "executeTool",
8411
+ execution_example: {
8412
+ tool_name: STOP_WATCHING_TOOL_NAME,
8413
+ arguments: {}
8414
+ }
8415
+ }
8407
8416
  };
8408
8417
  return {
8409
8418
  ok: true,
@@ -8417,6 +8426,8 @@ function createSubscribeToResourceEventsTool(context) {
8417
8426
  function createListResourceEventSubscriptionsTool(context) {
8418
8427
  return zodTool({
8419
8428
  description: "List active resource event subscriptions for the current conversation.",
8429
+ exposure: "deferred",
8430
+ source: RESOURCE_WATCH_TOOL_SOURCE,
8420
8431
  inputSchema: z18.object({}),
8421
8432
  outputSchema: juniorToolResultSchema,
8422
8433
  async execute() {
@@ -8445,23 +8456,18 @@ function createListResourceEventSubscriptionsTool(context) {
8445
8456
  }
8446
8457
  });
8447
8458
  }
8448
- function createCancelResourceEventSubscriptionTool(context) {
8459
+ function createStopWatchingResourcesTool(context) {
8449
8460
  return zodTool({
8450
- description: "Cancel a resource event subscription for the current conversation.",
8451
- inputSchema: cancelInputSchema,
8461
+ description: "Stop every resource watch for the current conversation. Infer the user's intent from context instead of requiring a special command, and call this tool before confirming that watching stopped.",
8462
+ exposure: "deferred",
8463
+ source: RESOURCE_WATCH_TOOL_SOURCE,
8464
+ inputSchema: z18.object({}),
8452
8465
  outputSchema: juniorToolResultSchema,
8453
- async execute(input) {
8466
+ async execute() {
8454
8467
  const conversationId = requireConversationContext(context);
8455
- const subscription = await cancelResourceEventSubscription({
8456
- conversationId,
8457
- id: input.subscriptionId
8458
- });
8459
- if (!subscription) {
8460
- throw new Error("Resource event subscription was not found");
8461
- }
8468
+ await cancelSubscriptions({ conversationId });
8462
8469
  const details = {
8463
- id: subscription.id,
8464
- subscription_status: subscription.status
8470
+ watching_status: "stopped"
8465
8471
  };
8466
8472
  return {
8467
8473
  ok: true,
@@ -8472,6 +8478,16 @@ function createCancelResourceEventSubscriptionTool(context) {
8472
8478
  }
8473
8479
  });
8474
8480
  }
8481
+ function createResourceEventTools(context) {
8482
+ if (!canUseResourceEventSubscriptionTools(context)) {
8483
+ return {};
8484
+ }
8485
+ return {
8486
+ subscribeToResourceEvents: createSubscribeToResourceEventsTool(context),
8487
+ listResourceEventSubscriptions: createListResourceEventSubscriptionsTool(context),
8488
+ [STOP_WATCHING_TOOL_NAME]: createStopWatchingResourcesTool(context)
8489
+ };
8490
+ }
8475
8491
 
8476
8492
  // src/chat/slack/channel.ts
8477
8493
  async function listChannelMessages(input) {
@@ -11409,7 +11425,8 @@ function createTools(availableSkills, hooks = {}, context) {
11409
11425
  ),
11410
11426
  webFetch: createWebFetchTool(hooks, {
11411
11427
  canSendFilesToActiveConversation
11412
- })
11428
+ }),
11429
+ ...createResourceEventTools(context)
11413
11430
  };
11414
11431
  if (hooks.writeGeneratedArtifacts) {
11415
11432
  tools.imageGenerate = createImageGenerateTool(
@@ -11426,11 +11443,6 @@ function createTools(availableSkills, hooks = {}, context) {
11426
11443
  if (context.handoff) {
11427
11444
  tools.handoff = createHandoffTool(context.handoff);
11428
11445
  }
11429
- if (canUseResourceEventSubscriptionTools(context)) {
11430
- tools.subscribeToResourceEvents = createSubscribeToResourceEventsTool(context);
11431
- tools.listResourceEventSubscriptions = createListResourceEventSubscriptionsTool(context);
11432
- tools.cancelResourceEventSubscription = createCancelResourceEventSubscriptionTool(context);
11433
- }
11434
11446
  if (context.mcpToolManager) {
11435
11447
  tools.searchMcpTools = createSearchMcpToolsTool(context.mcpToolManager);
11436
11448
  tools.callMcpTool = createCallMcpToolTool(context.mcpToolManager);
@@ -11845,8 +11857,8 @@ import { PluginToolInputError } from "@sentry/junior-plugin-api";
11845
11857
 
11846
11858
  // src/chat/services/plugin-auth-orchestration.ts
11847
11859
  var PluginAuthorizationPauseError = class extends AuthorizationPauseError {
11848
- constructor(provider, providerDisplayName, disposition) {
11849
- super("plugin", provider, providerDisplayName, disposition);
11860
+ constructor(provider, providerDisplayName, disposition, requestText) {
11861
+ super("plugin", provider, providerDisplayName, disposition, requestText);
11850
11862
  }
11851
11863
  };
11852
11864
  var PluginCredentialFailureError = class extends Error {
@@ -11957,7 +11969,8 @@ function createPluginAuthOrchestration(input) {
11957
11969
  pendingPause = new PluginAuthorizationPauseError(
11958
11970
  provider,
11959
11971
  providerLabel,
11960
- reusingPendingLink ? "link_already_sent" : "link_sent"
11972
+ reusingPendingLink ? "link_already_sent" : "link_sent",
11973
+ input.userMessage
11961
11974
  );
11962
11975
  input.abortAgent();
11963
11976
  throw pendingPause;
@@ -12094,10 +12107,12 @@ import { z as z41 } from "zod";
12094
12107
  var EXECUTE_TOOL_NAME = "executeTool";
12095
12108
  function createExecuteToolTool() {
12096
12109
  return zodTool({
12097
- description: "Execute any catalog tool by exact tool_name from searchTools. Put tool-specific parameters inside arguments.",
12110
+ description: "Execute any catalog tool by exact tool_name from searchTools or a tool-result execution hint. Put tool-specific parameters inside arguments.",
12098
12111
  executionMode: "sequential",
12099
12112
  inputSchema: z41.object({
12100
- tool_name: z41.string().min(1).describe("Exact catalog tool_name returned by searchTools."),
12113
+ tool_name: z41.string().min(1).describe(
12114
+ "Exact catalog tool_name returned by searchTools or a tool-result execution hint."
12115
+ ),
12101
12116
  arguments: z41.record(z41.string(), z41.unknown()).describe(
12102
12117
  'Arguments matching the selected catalog tool schema, for example { "query": "..." }.'
12103
12118
  ).optional()
@@ -13187,8 +13202,8 @@ async function finalizeMcpAuthorization(provider, authSessionId, authorizationCo
13187
13202
 
13188
13203
  // src/chat/services/mcp-auth-orchestration.ts
13189
13204
  var McpAuthorizationPauseError = class extends AuthorizationPauseError {
13190
- constructor(provider, providerDisplayName, disposition) {
13191
- super("mcp", provider, providerDisplayName, disposition);
13205
+ constructor(provider, providerDisplayName, disposition, requestText) {
13206
+ super("mcp", provider, providerDisplayName, disposition, requestText);
13192
13207
  }
13193
13208
  };
13194
13209
  function authorizationId2(args) {
@@ -13319,7 +13334,8 @@ function createMcpAuthOrchestration(input) {
13319
13334
  pendingPause = new McpAuthorizationPauseError(
13320
13335
  provider,
13321
13336
  providerLabel,
13322
- reusingPendingLink ? "link_already_sent" : "link_sent"
13337
+ reusingPendingLink ? "link_already_sent" : "link_sent",
13338
+ input.userMessage
13323
13339
  );
13324
13340
  input.abortAgent();
13325
13341
  return true;
@@ -14408,6 +14424,7 @@ async function wireAgentTools(args) {
14408
14424
  destination: args.routing.destination,
14409
14425
  source: runSource,
14410
14426
  threadTs: args.routing.source.platform === "slack" ? args.routing.source.threadTs : void 0,
14427
+ userMessage: args.userInput,
14411
14428
  pendingAuth: args.state.pendingAuth,
14412
14429
  recordPendingAuth: args.durability.recordPendingAuth,
14413
14430
  authorizationFlowMode: args.policy.authorizationFlowMode,
@@ -14723,6 +14740,7 @@ function createResumeState(args) {
14723
14740
  return {
14724
14741
  status: "awaiting_auth",
14725
14742
  providerDisplayName: pause.providerDisplayName,
14743
+ ...pause.requestText ? { requestText: pause.requestText } : {},
14726
14744
  ...usage ? { usage } : {}
14727
14745
  };
14728
14746
  } catch (error) {
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.111.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-NQLWOTY4.js";
6
+ } from "./chunk-PK4ETCUQ.js";
7
7
  import {
8
8
  logWarn,
9
9
  setSpanAttributes,
10
10
  setSpanStatus,
11
11
  withSpan
12
- } from "./chunk-J7APPQIJ.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-J7APPQIJ.js";
15
+ } from "./chunk-CSS7JHEM.js";
16
16
 
17
17
  // src/chat/xml.ts
18
18
  function escapeXml(value) {
@@ -8,13 +8,13 @@ import {
8
8
  import {
9
9
  getChatConfig,
10
10
  modelProfileSchema
11
- } from "./chunk-NQLWOTY4.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-J7APPQIJ.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-PYKKM4MM.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-ZRZ4SVWG.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-NQLWOTY4.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-J7APPQIJ.js";
40
+ } from "./chunk-CSS7JHEM.js";
41
41
  import {
42
42
  isRecord,
43
43
  parseSlackMessageTs,
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-J7APPQIJ.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-PYKKM4MM.js";
4
+ } from "./chunk-X3SP5RDW.js";
5
5
  import {
6
6
  isConversationChannel,
7
7
  isConversationScopedChannel,
8
8
  isDmChannel,
9
9
  normalizeSlackConversationId
10
- } from "./chunk-IFAHK54X.js";
10
+ } from "./chunk-NDQL4ESR.js";
11
11
  import {
12
12
  getDb
13
- } from "./chunk-ZRZ4SVWG.js";
13
+ } from "./chunk-QIALGHRN.js";
14
14
  import {
15
15
  botConfig,
16
16
  completeObject,
17
17
  embedTexts,
18
18
  standardModelId
19
- } from "./chunk-NQLWOTY4.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-J7APPQIJ.js";
28
+ } from "./chunk-CSS7JHEM.js";
29
29
  import {
30
30
  parseSlackChannelReferenceId,
31
31
  parseSlackMessageTs,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-NQLWOTY4.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-XQAYFRWT.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-OOLU34J4.js";
5
- import "../chunk-SL3ZKNLQ.js";
6
- import "../chunk-B45FPP2A.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-QQIVLZW4.js";
14
- import "../chunk-PYKKM4MM.js";
15
- import "../chunk-IFAHK54X.js";
16
- import "../chunk-ZRZ4SVWG.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-NQLWOTY4.js";
19
+ import "../chunk-PK4ETCUQ.js";
20
20
  import "../chunk-VFUK3X5B.js";
21
21
  import "../chunk-6Y5L4BOM.js";
22
- import "../chunk-BTRNMS6A.js";
23
- import "../chunk-WSRBFHPX.js";
24
- import "../chunk-XQAYFRWT.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-J7APPQIJ.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-MPVES2IC.js";
32
- import "../chunk-Z4G3WCP3.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-QQ2IWKOP.js"),
156
- import("../catalog-runtime-D22W6QEJ.js"),
157
- import("../validation-PQF5OP6T.js"),
158
- import("../db-WXQOQESG.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-4QY4XH4B.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-BTRNMS6A.js";
4
- import "../chunk-WSRBFHPX.js";
3
+ } from "../chunk-GJG67YFS.js";
4
+ import "../chunk-ZHP4KNF7.js";
5
5
  import {
6
6
  parseInlinePluginManifest,
7
7
  parsePluginManifest
8
- } from "../chunk-XQAYFRWT.js";
8
+ } from "../chunk-TZU3R5OC.js";
9
9
  import "../chunk-C4MZ3GP5.js";
10
- import "../chunk-J7APPQIJ.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-MPVES2IC.js";
20
- import "../chunk-Z4G3WCP3.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-Z2W4SJZ7.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-QQIVLZW4.js";
18
- import "../chunk-PYKKM4MM.js";
19
- import "../chunk-IFAHK54X.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-ZRZ4SVWG.js";
22
+ } from "../chunk-QIALGHRN.js";
23
23
  import "../chunk-JQFJO5WH.js";
24
24
  import "../chunk-4ZNGQH7C.js";
25
- import "../chunk-NQLWOTY4.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-WSRBFHPX.js";
31
- import "../chunk-XQAYFRWT.js";
30
+ } from "../chunk-ZHP4KNF7.js";
31
+ import "../chunk-TZU3R5OC.js";
32
32
  import "../chunk-C4MZ3GP5.js";
33
- import "../chunk-J7APPQIJ.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-MPVES2IC.js";
39
- import "../chunk-Z4G3WCP3.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-B45FPP2A.js";
4
+ } from "../chunk-66IP6WED.js";
5
5
  import {
6
6
  disconnectStateAdapter
7
- } from "../chunk-PYKKM4MM.js";
7
+ } from "../chunk-X3SP5RDW.js";
8
8
  import "../chunk-4ZNGQH7C.js";
9
- import "../chunk-NQLWOTY4.js";
9
+ import "../chunk-PK4ETCUQ.js";
10
10
  import "../chunk-6Y5L4BOM.js";
11
11
  import {
12
12
  pluginCatalogRuntime
13
- } from "../chunk-WSRBFHPX.js";
14
- import "../chunk-XQAYFRWT.js";
13
+ } from "../chunk-ZHP4KNF7.js";
14
+ import "../chunk-TZU3R5OC.js";
15
15
  import "../chunk-C4MZ3GP5.js";
16
- import "../chunk-J7APPQIJ.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-MPVES2IC.js";
22
- import "../chunk-Z4G3WCP3.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