@sentry/junior 0.83.0 → 0.84.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.
@@ -11,13 +11,13 @@ import {
11
11
  getPlugins,
12
12
  setPlugins,
13
13
  validatePlugins
14
- } from "./chunk-5C3RY6IZ.js";
15
- import "./chunk-GUO4EE7L.js";
16
- import "./chunk-QVMLDCVR.js";
14
+ } from "./chunk-KNVN4HUT.js";
15
+ import "./chunk-CWMMGUWM.js";
16
+ import "./chunk-AAD2D7K3.js";
17
17
  import "./chunk-G3E7SCME.js";
18
- import "./chunk-X2FL5ZH5.js";
19
- import "./chunk-KZLRUQAA.js";
20
- import "./chunk-ABRNFE3N.js";
18
+ import "./chunk-MJ4E2PK7.js";
19
+ import "./chunk-BAPRSWNW.js";
20
+ import "./chunk-ALL7GG6U.js";
21
21
  import "./chunk-DR75T7J3.js";
22
22
  import "./chunk-ZPCGQRFJ.js";
23
23
  import "./chunk-KF7522P3.js";
package/dist/app.js CHANGED
@@ -68,7 +68,7 @@ import {
68
68
  updateConversationStats,
69
69
  uploadFilesToThread,
70
70
  upsertConversationMessage
71
- } from "./chunk-LK53AHO5.js";
71
+ } from "./chunk-BFPOSIYV.js";
72
72
  import {
73
73
  CONVERSATION_WORK_CHECK_IN_INTERVAL_MS,
74
74
  CONVERSATION_WORK_STALE_ENQUEUE_MS,
@@ -88,17 +88,17 @@ import {
88
88
  requestConversationContinuation,
89
89
  requestConversationWork,
90
90
  startConversationWork
91
- } from "./chunk-ORRLK22J.js";
91
+ } from "./chunk-S7SC5IUJ.js";
92
92
  import {
93
93
  JUNIOR_THREAD_STATE_TTL_MS,
94
94
  coerceThreadConversationState
95
95
  } from "./chunk-66NX7MNW.js";
96
- import "./chunk-3JKTVW4R.js";
96
+ import "./chunk-MZ4DUVFD.js";
97
97
  import {
98
98
  getVercelConversationWorkQueue,
99
99
  resolveConversationWorkQueueTopic,
100
100
  verifyConversationQueueMessage
101
- } from "./chunk-AK7T7XRQ.js";
101
+ } from "./chunk-SBYMRDH7.js";
102
102
  import {
103
103
  PLUGIN_TASK_QUEUE_TOPIC,
104
104
  createVercelQueueClient,
@@ -111,7 +111,7 @@ import {
111
111
  resolveSlackChannelTypeFromMessage,
112
112
  resolveSlackConversationContext,
113
113
  setConversationTitle
114
- } from "./chunk-BFQ7IUTE.js";
114
+ } from "./chunk-ZPD5YQFZ.js";
115
115
  import {
116
116
  abandonAgentTurnSessionRecord,
117
117
  buildSlackOutputMessage,
@@ -127,7 +127,7 @@ import {
127
127
  recordAuthorizationCompleted,
128
128
  splitSlackReplyText,
129
129
  truncateStatusText
130
- } from "./chunk-GK5CITCY.js";
130
+ } from "./chunk-JUI6XIHU.js";
131
131
  import {
132
132
  validatePluginEgressCredentialHooks,
133
133
  validatePluginRegistrations
@@ -147,21 +147,22 @@ import {
147
147
  setPlugins,
148
148
  validatePlugins,
149
149
  verifySlackDirectCredentialSubject
150
- } from "./chunk-5C3RY6IZ.js";
150
+ } from "./chunk-KNVN4HUT.js";
151
151
  import {
152
152
  createPluginLogger,
153
153
  createPluginState
154
- } from "./chunk-GUO4EE7L.js";
154
+ } from "./chunk-CWMMGUWM.js";
155
155
  import {
156
156
  getConversationStore,
157
157
  getDb
158
- } from "./chunk-QVMLDCVR.js";
158
+ } from "./chunk-AAD2D7K3.js";
159
159
  import "./chunk-G3E7SCME.js";
160
160
  import {
161
161
  acquireActiveLock,
162
162
  getStateAdapter
163
- } from "./chunk-X2FL5ZH5.js";
163
+ } from "./chunk-MJ4E2PK7.js";
164
164
  import {
165
+ SlackActionError,
165
166
  createSlackDestination,
166
167
  destinationKey,
167
168
  downloadPrivateSlackFile,
@@ -172,7 +173,7 @@ import {
172
173
  parseDestination,
173
174
  requireSlackDestination,
174
175
  sameDestination
175
- } from "./chunk-KZLRUQAA.js";
176
+ } from "./chunk-BAPRSWNW.js";
176
177
  import {
177
178
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
178
179
  GEN_AI_PROVIDER_NAME,
@@ -191,7 +192,7 @@ import {
191
192
  setSlackReactionConfig,
192
193
  stripRuntimeTurnContext,
193
194
  trimTrailingAssistantMessages
194
- } from "./chunk-ABRNFE3N.js";
195
+ } from "./chunk-ALL7GG6U.js";
195
196
  import {
196
197
  parseSlackThreadId,
197
198
  resolveSlackChannelIdFromMessage,
@@ -7667,6 +7668,21 @@ function createSlackTurnRuntime(deps) {
7667
7668
  if (error instanceof AuthorizationFlowDisabledError) {
7668
7669
  return;
7669
7670
  }
7671
+ if (error instanceof SlackActionError && error.code === "read_only_channel") {
7672
+ deps.logWarn(
7673
+ "mention_handler_read_only_channel",
7674
+ logContext({
7675
+ threadId: deps.getThreadId(thread, message),
7676
+ requesterId: message.author.userId,
7677
+ requesterUserName: requesterUserName(message),
7678
+ channelId: deps.getChannelId(thread, message),
7679
+ runId: deps.getRunId(thread, message)
7680
+ }),
7681
+ {},
7682
+ "Skipping reply to read-only channel"
7683
+ );
7684
+ return;
7685
+ }
7670
7686
  const eventId = deps.logException(
7671
7687
  error,
7672
7688
  "mention_handler_failed",
@@ -7917,6 +7933,21 @@ function createSlackTurnRuntime(deps) {
7917
7933
  if (error instanceof AuthorizationFlowDisabledError) {
7918
7934
  return;
7919
7935
  }
7936
+ if (error instanceof SlackActionError && error.code === "read_only_channel") {
7937
+ deps.logWarn(
7938
+ "subscribed_message_handler_read_only_channel",
7939
+ logContext({
7940
+ threadId: deps.getThreadId(thread, message),
7941
+ requesterId: message.author.userId,
7942
+ requesterUserName: requesterUserName(message),
7943
+ channelId: deps.getChannelId(thread, message),
7944
+ runId: deps.getRunId(thread, message)
7945
+ }),
7946
+ {},
7947
+ "Skipping reply to read-only channel"
7948
+ );
7949
+ return;
7950
+ }
7920
7951
  const eventId = deps.logException(
7921
7952
  error,
7922
7953
  "subscribed_message_handler_failed",
@@ -10969,7 +11000,15 @@ function normalizeDashboardPath2(path2, fallback) {
10969
11000
  function dashboardHostRoutePaths(dashboard) {
10970
11001
  const basePath = normalizeDashboardPath2(dashboard.basePath, "/");
10971
11002
  const authPath = normalizeDashboardPath2(dashboard.authPath, "/api/auth");
10972
- const pagePaths = basePath === "/" ? ["/", "/conversations", "/conversations/*", "/plugins", "/plugins/*"] : [basePath, `${basePath}/*`];
11003
+ const pagePaths = basePath === "/" ? [
11004
+ "/",
11005
+ "/conversations",
11006
+ "/conversations/*",
11007
+ "/people",
11008
+ "/people/*",
11009
+ "/plugins",
11010
+ "/plugins/*"
11011
+ ] : [basePath, `${basePath}/*`];
10973
11012
  const loginPath = basePath === "/" ? "/auth/login" : `${basePath}/auth/login`;
10974
11013
  return [
10975
11014
  ...pagePaths,
@@ -10984,6 +11023,8 @@ function dashboardHostRoutePaths(dashboard) {
10984
11023
  "/api/skills",
10985
11024
  "/api/conversations",
10986
11025
  "/api/conversations/*",
11026
+ "/api/people",
11027
+ "/api/people/*",
10987
11028
  "/api/config",
10988
11029
  "/api/me",
10989
11030
  authPath,
@@ -25,7 +25,7 @@ export interface ChatConfig {
25
25
  bot: BotConfig;
26
26
  functionMaxDurationSeconds: number;
27
27
  sql: {
28
- databaseUrl?: string;
28
+ databaseUrl: string;
29
29
  driver: SqlDriver;
30
30
  };
31
31
  slack: {
@@ -1,5 +1,5 @@
1
1
  import { WebClient } from "@slack/web-api";
2
- export type SlackActionErrorCode = "missing_token" | "missing_scope" | "rate_limited" | "feature_unavailable" | "canvas_creation_failed" | "canvas_editing_failed" | "invalid_arguments" | "not_found" | "not_in_channel" | "already_reacted" | "no_reaction" | "internal_error";
2
+ export type SlackActionErrorCode = "missing_token" | "missing_scope" | "rate_limited" | "feature_unavailable" | "canvas_creation_failed" | "canvas_editing_failed" | "invalid_arguments" | "not_found" | "not_in_channel" | "already_reacted" | "no_reaction" | "read_only_channel" | "internal_error";
3
3
  export declare class SlackActionError extends Error {
4
4
  code: SlackActionErrorCode;
5
5
  apiError?: string;
@@ -110,6 +110,8 @@ declare const sessionLogEntrySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
110
110
  subagentInvocationId: z.ZodString;
111
111
  outcome: z.ZodUnion<readonly [z.ZodLiteral<"success">, z.ZodLiteral<"error">, z.ZodLiteral<"aborted">]>;
112
112
  errorCode: z.ZodOptional<z.ZodString>;
113
+ transcriptEndMessageIndex: z.ZodOptional<z.ZodNumber>;
114
+ transcriptStartMessageIndex: z.ZodOptional<z.ZodNumber>;
113
115
  createdAtMs: z.ZodNumber;
114
116
  }, z.core.$strip>], "type">;
115
117
  /** Requester identity stored with turn-start messages for durable continuation. */
@@ -224,6 +226,8 @@ export declare function recordSubagentEnded(args: Scope & {
224
226
  sessionId?: string;
225
227
  store?: SessionLogStore;
226
228
  subagentInvocationId: string;
229
+ transcriptEndMessageIndex?: number;
230
+ transcriptStartMessageIndex?: number;
227
231
  ttlMs: number;
228
232
  }): Promise<void>;
229
233
  /**
@@ -127,7 +127,7 @@ export declare function recordConversationActivity(args: {
127
127
  state?: StateAdapter;
128
128
  title?: string;
129
129
  }): Promise<void>;
130
- /** Store task-execution metadata for local/no-SQL reporting. */
130
+ /** Store task-execution metadata for legacy SQL import. */
131
131
  export declare function recordConversationExecution(args: {
132
132
  channelName?: string;
133
133
  conversationId: string;
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  parseDestination,
3
3
  sameDestination
4
- } from "./chunk-KZLRUQAA.js";
4
+ } from "./chunk-BAPRSWNW.js";
5
5
  import {
6
6
  getChatConfig
7
- } from "./chunk-ABRNFE3N.js";
7
+ } from "./chunk-ALL7GG6U.js";
8
8
  import {
9
9
  parseStoredSlackRequester
10
10
  } from "./chunk-ZPCGQRFJ.js";
@@ -1041,14 +1041,6 @@ function createDb(args) {
1041
1041
  }
1042
1042
  function getSqlExecutor() {
1043
1043
  const { sql: sql3 } = getChatConfig();
1044
- if (!sql3.databaseUrl) {
1045
- if (current) {
1046
- const previous = current;
1047
- current = void 0;
1048
- void previous.db.close().catch(() => void 0);
1049
- }
1050
- throw new Error("DATABASE_URL or JUNIOR_DATABASE_URL is required");
1051
- }
1052
1044
  if (current?.databaseUrl !== sql3.databaseUrl || current.driver !== sql3.driver) {
1053
1045
  if (current) {
1054
1046
  const previous = current;
@@ -757,13 +757,14 @@ function readBotConfig(env) {
757
757
  advisor: readAdvisorConfig(env)
758
758
  };
759
759
  }
760
- function readJuniorDatabaseUrl(env) {
761
- return toOptionalTrimmed(env.JUNIOR_DATABASE_URL) ?? toOptionalTrimmed(env.DATABASE_URL);
762
- }
763
- function isLocalDatabaseUrl(databaseUrl) {
760
+ function readDatabaseUrl(env) {
761
+ const databaseUrl = toOptionalTrimmed(env.DATABASE_URL);
764
762
  if (!databaseUrl) {
765
- return false;
763
+ throw new Error("DATABASE_URL is required");
766
764
  }
765
+ return databaseUrl;
766
+ }
767
+ function isLocalDatabaseUrl(databaseUrl) {
767
768
  try {
768
769
  const { hostname } = new URL(databaseUrl);
769
770
  return hostname === "localhost" || hostname === "127.0.0.1" || hostname === "[::1]";
@@ -785,7 +786,7 @@ function readSqlDriver(env, databaseUrl) {
785
786
  throw new Error("JUNIOR_DATABASE_DRIVER must be postgres or neon");
786
787
  }
787
788
  function readChatConfig(env = process.env) {
788
- const databaseUrl = readJuniorDatabaseUrl(env);
789
+ const databaseUrl = readDatabaseUrl(env);
789
790
  return {
790
791
  bot: readBotConfig(env),
791
792
  functionMaxDurationSeconds: resolveFunctionMaxDurationSeconds(env),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getSlackBotToken
3
- } from "./chunk-ABRNFE3N.js";
3
+ } from "./chunk-ALL7GG6U.js";
4
4
  import {
5
5
  isSlackConversationId,
6
6
  isSlackTeamId,
@@ -145,6 +145,9 @@ function mapSlackError(error) {
145
145
  if (apiError === "not_in_channel") {
146
146
  return new SlackActionError(message, "not_in_channel", baseOptions);
147
147
  }
148
+ if (apiError === "restricted_action_read_only_channel") {
149
+ return new SlackActionError(message, "read_only_channel", baseOptions);
150
+ }
148
151
  if (apiError === "already_reacted") {
149
152
  return new SlackActionError(message, "already_reacted", baseOptions);
150
153
  }
@@ -10,7 +10,7 @@ import {
10
10
  isSnapshotMissingError,
11
11
  resolveRuntimeDependencySnapshot,
12
12
  runNonInteractiveCommand
13
- } from "./chunk-3JKTVW4R.js";
13
+ } from "./chunk-MZ4DUVFD.js";
14
14
  import {
15
15
  pluginTaskId,
16
16
  pluginTaskParamsSchema,
@@ -31,7 +31,7 @@ import {
31
31
  recordSubagentStarted,
32
32
  recordToolExecutionStarted,
33
33
  upsertAgentTurnSessionRecord
34
- } from "./chunk-GK5CITCY.js";
34
+ } from "./chunk-JUI6XIHU.js";
35
35
  import {
36
36
  createPluginEmbedder,
37
37
  createPluginHookRunner,
@@ -42,14 +42,14 @@ import {
42
42
  getPlugins,
43
43
  getSlackToolContext,
44
44
  resolveChannelCapabilities
45
- } from "./chunk-5C3RY6IZ.js";
45
+ } from "./chunk-KNVN4HUT.js";
46
46
  import {
47
47
  createPluginLogger,
48
48
  createPluginState
49
- } from "./chunk-GUO4EE7L.js";
49
+ } from "./chunk-CWMMGUWM.js";
50
50
  import {
51
51
  getDb
52
- } from "./chunk-QVMLDCVR.js";
52
+ } from "./chunk-AAD2D7K3.js";
53
53
  import {
54
54
  SANDBOX_DATA_ROOT,
55
55
  SANDBOX_SKILLS_ROOT,
@@ -60,7 +60,7 @@ import {
60
60
  import {
61
61
  acquireActiveLock,
62
62
  getStateAdapter
63
- } from "./chunk-X2FL5ZH5.js";
63
+ } from "./chunk-MJ4E2PK7.js";
64
64
  import {
65
65
  SlackActionError,
66
66
  downloadPrivateSlackFile,
@@ -71,7 +71,7 @@ import {
71
71
  normalizeSlackConversationId,
72
72
  parseDestination,
73
73
  withSlackRetries
74
- } from "./chunk-KZLRUQAA.js";
74
+ } from "./chunk-BAPRSWNW.js";
75
75
  import {
76
76
  GEN_AI_PROVIDER_NAME,
77
77
  GEN_AI_SERVER_ADDRESS,
@@ -104,7 +104,7 @@ import {
104
104
  toObservablePromptPart,
105
105
  trimTrailingAssistantMessages,
106
106
  upsertActiveSkill
107
- } from "./chunk-ABRNFE3N.js";
107
+ } from "./chunk-ALL7GG6U.js";
108
108
  import {
109
109
  parseSlackThreadId,
110
110
  resolveConversationPrivacy,
@@ -6453,12 +6453,16 @@ function createAdvisorTool(context) {
6453
6453
  const conversationId = context.conversationId;
6454
6454
  const advisorSessionKey = getAdvisorSessionKey(conversationId);
6455
6455
  const subagentInvocationId = typeof toolCallId === "string" && toolCallId.length > 0 ? toolCallId : `advisor:${Date.now()}`;
6456
- const endSubagent = async (outcome, errorCode) => recordSubagentEnded({
6456
+ const endSubagent = async (outcome, errorCode, transcriptRange) => recordSubagentEnded({
6457
6457
  conversationId,
6458
6458
  sessionId: context.parentSessionId,
6459
6459
  subagentInvocationId,
6460
6460
  outcome,
6461
6461
  ...errorCode ? { errorCode } : {},
6462
+ ...transcriptRange ? {
6463
+ transcriptEndMessageIndex: transcriptRange.endMessageIndex,
6464
+ transcriptStartMessageIndex: transcriptRange.startMessageIndex
6465
+ } : {},
6462
6466
  ttlMs: THREAD_STATE_TTL_MS
6463
6467
  });
6464
6468
  await recordSubagentStarted({
@@ -6577,7 +6581,10 @@ function createAdvisorTool(context) {
6577
6581
  "Advisor guidance is unavailable because advisor history could not be saved. Retry the advisor call or continue without assuming advisor history."
6578
6582
  );
6579
6583
  }
6580
- await endSubagent("success");
6584
+ await endSubagent("success", void 0, {
6585
+ endMessageIndex: advisorAgent.state.messages.length,
6586
+ startMessageIndex: beforeMessageCount
6587
+ });
6581
6588
  setSpanStatus("ok");
6582
6589
  return success(memo);
6583
6590
  },
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getStateAdapter
3
- } from "./chunk-X2FL5ZH5.js";
3
+ } from "./chunk-MJ4E2PK7.js";
4
4
  import {
5
5
  logException,
6
6
  logInfo,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getConversationStore
3
- } from "./chunk-QVMLDCVR.js";
3
+ } from "./chunk-AAD2D7K3.js";
4
4
  import {
5
5
  SANDBOX_DATA_ROOT,
6
6
  SANDBOX_WORKSPACE_ROOT,
@@ -9,15 +9,15 @@ import {
9
9
  import {
10
10
  getConnectedStateContext,
11
11
  getStateAdapter
12
- } from "./chunk-X2FL5ZH5.js";
12
+ } from "./chunk-MJ4E2PK7.js";
13
13
  import {
14
14
  parseDestination
15
- } from "./chunk-KZLRUQAA.js";
15
+ } from "./chunk-BAPRSWNW.js";
16
16
  import {
17
17
  TURN_CONTEXT_TAG,
18
18
  botConfig,
19
19
  getChatConfig
20
- } from "./chunk-ABRNFE3N.js";
20
+ } from "./chunk-ALL7GG6U.js";
21
21
  import {
22
22
  parseRequester,
23
23
  storedSlackRequesterSchema,
@@ -139,6 +139,8 @@ var subagentEndedEntrySchema = z.object({
139
139
  z.literal("aborted")
140
140
  ]),
141
141
  errorCode: z.string().min(1).optional(),
142
+ transcriptEndMessageIndex: z.number().int().nonnegative().optional(),
143
+ transcriptStartMessageIndex: z.number().int().nonnegative().optional(),
142
144
  createdAtMs: z.number().int().nonnegative()
143
145
  });
144
146
  var sessionLogEntrySchema = z.discriminatedUnion("type", [
@@ -339,6 +341,8 @@ function subagentEndedEntry(args) {
339
341
  subagentInvocationId: args.subagentInvocationId,
340
342
  outcome: args.outcome,
341
343
  ...args.errorCode ? { errorCode: args.errorCode } : {},
344
+ ...args.transcriptEndMessageIndex !== void 0 ? { transcriptEndMessageIndex: args.transcriptEndMessageIndex } : {},
345
+ ...args.transcriptStartMessageIndex !== void 0 ? { transcriptStartMessageIndex: args.transcriptStartMessageIndex } : {},
342
346
  createdAtMs: args.createdAtMs
343
347
  };
344
348
  }
@@ -623,7 +627,9 @@ async function recordSubagentEnded(args) {
623
627
  errorCode: args.errorCode,
624
628
  outcome: args.outcome,
625
629
  sessionId,
626
- subagentInvocationId: args.subagentInvocationId
630
+ subagentInvocationId: args.subagentInvocationId,
631
+ transcriptEndMessageIndex: args.transcriptEndMessageIndex,
632
+ transcriptStartMessageIndex: args.transcriptStartMessageIndex
627
633
  })
628
634
  ],
629
635
  ttlMs: args.ttlMs
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createPluginLogger,
3
3
  createPluginState
4
- } from "./chunk-GUO4EE7L.js";
4
+ } from "./chunk-CWMMGUWM.js";
5
5
  import {
6
6
  getDb
7
- } from "./chunk-QVMLDCVR.js";
7
+ } from "./chunk-AAD2D7K3.js";
8
8
  import {
9
9
  SANDBOX_WORKSPACE_ROOT
10
10
  } from "./chunk-G3E7SCME.js";
@@ -13,12 +13,12 @@ import {
13
13
  isConversationScopedChannel,
14
14
  isDmChannel,
15
15
  normalizeSlackConversationId
16
- } from "./chunk-KZLRUQAA.js";
16
+ } from "./chunk-BAPRSWNW.js";
17
17
  import {
18
18
  botConfig,
19
19
  completeObject,
20
20
  embedTexts
21
- } from "./chunk-ABRNFE3N.js";
21
+ } from "./chunk-ALL7GG6U.js";
22
22
  import {
23
23
  isActorUserId,
24
24
  parseActorUserId
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-ABRNFE3N.js";
3
+ } from "./chunk-ALL7GG6U.js";
4
4
 
5
5
  // src/chat/state/adapter.ts
6
6
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-G3E7SCME.js";
4
4
  import {
5
5
  getStateAdapter
6
- } from "./chunk-X2FL5ZH5.js";
6
+ } from "./chunk-MJ4E2PK7.js";
7
7
  import {
8
8
  toOptionalTrimmed
9
- } from "./chunk-ABRNFE3N.js";
9
+ } from "./chunk-ALL7GG6U.js";
10
10
  import {
11
11
  pluginCatalogRuntime
12
12
  } from "./chunk-TW23AT22.js";
@@ -4,14 +4,14 @@ import {
4
4
  import {
5
5
  getDefaultRedisStateAdapterFor,
6
6
  getStateAdapter
7
- } from "./chunk-X2FL5ZH5.js";
7
+ } from "./chunk-MJ4E2PK7.js";
8
8
  import {
9
9
  parseDestination,
10
10
  sameDestination
11
- } from "./chunk-KZLRUQAA.js";
11
+ } from "./chunk-BAPRSWNW.js";
12
12
  import {
13
13
  getChatConfig
14
- } from "./chunk-ABRNFE3N.js";
14
+ } from "./chunk-ALL7GG6U.js";
15
15
  import {
16
16
  parseStoredSlackRequester
17
17
  } from "./chunk-ZPCGQRFJ.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  destinationKey,
6
6
  parseDestination
7
- } from "./chunk-KZLRUQAA.js";
7
+ } from "./chunk-BAPRSWNW.js";
8
8
 
9
9
  // src/chat/task-execution/queue-signing.ts
10
10
  import { createHmac, timingSafeEqual } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getStateAdapter
3
- } from "./chunk-X2FL5ZH5.js";
3
+ } from "./chunk-MJ4E2PK7.js";
4
4
  import {
5
5
  normalizeSlackConversationId
6
- } from "./chunk-KZLRUQAA.js";
6
+ } from "./chunk-BAPRSWNW.js";
7
7
  import {
8
8
  parseSlackThreadId
9
9
  } from "./chunk-DR75T7J3.js";
package/dist/cli/chat.js CHANGED
@@ -130,10 +130,10 @@ async function configureLocalChatPlugins(pluginSet) {
130
130
  databaseModule
131
131
  ] = await Promise.all([
132
132
  import("../plugins-PZMDS7AT.js"),
133
- import("../agent-hooks-EEWWWIS2.js"),
133
+ import("../agent-hooks-XDS5DIVS.js"),
134
134
  import("../catalog-runtime-IVWRAPSI.js"),
135
135
  import("../validation-TN6HMZAD.js"),
136
- import("../db-TRIVS6BW.js")
136
+ import("../db-7RRWCYF3.js")
137
137
  ]);
138
138
  const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
139
139
  const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
@@ -195,7 +195,7 @@ async function runPrompt(options, io, pluginSet) {
195
195
  defaultStateAdapterForLocalChat();
196
196
  await configureLocalChatPlugins(pluginSet);
197
197
  const conversationId = newRunConversationId();
198
- const { runLocalAgentTurn } = await import("../runner-KS4XDMHF.js");
198
+ const { runLocalAgentTurn } = await import("../runner-CJL5IKFO.js");
199
199
  const result = await runLocalAgentTurn(
200
200
  {
201
201
  conversationId,
@@ -219,7 +219,7 @@ async function runInteractive(io, pluginSet) {
219
219
  defaultStateAdapterForLocalChat();
220
220
  await configureLocalChatPlugins(pluginSet);
221
221
  const conversationId = newRunConversationId();
222
- const { runLocalAgentTurn } = await import("../runner-KS4XDMHF.js");
222
+ const { runLocalAgentTurn } = await import("../runner-CJL5IKFO.js");
223
223
  const rl = readline.createInterface({
224
224
  input: io.input,
225
225
  output: io.output,
@@ -10,17 +10,17 @@ import {
10
10
  import {
11
11
  setPlugins,
12
12
  validatePlugins
13
- } from "../chunk-5C3RY6IZ.js";
13
+ } from "../chunk-KNVN4HUT.js";
14
14
  import {
15
15
  createPluginLogger
16
- } from "../chunk-GUO4EE7L.js";
16
+ } from "../chunk-CWMMGUWM.js";
17
17
  import {
18
18
  getDb
19
- } from "../chunk-QVMLDCVR.js";
19
+ } from "../chunk-AAD2D7K3.js";
20
20
  import "../chunk-G3E7SCME.js";
21
- import "../chunk-X2FL5ZH5.js";
22
- import "../chunk-KZLRUQAA.js";
23
- import "../chunk-ABRNFE3N.js";
21
+ import "../chunk-MJ4E2PK7.js";
22
+ import "../chunk-BAPRSWNW.js";
23
+ import "../chunk-ALL7GG6U.js";
24
24
  import "../chunk-DR75T7J3.js";
25
25
  import {
26
26
  loadAppPluginSet
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveRuntimeDependencySnapshot
3
- } from "../chunk-3JKTVW4R.js";
3
+ } from "../chunk-MZ4DUVFD.js";
4
4
  import "../chunk-G3E7SCME.js";
5
5
  import {
6
6
  disconnectStateAdapter
7
- } from "../chunk-X2FL5ZH5.js";
8
- import "../chunk-ABRNFE3N.js";
7
+ } from "../chunk-MJ4E2PK7.js";
8
+ import "../chunk-ALL7GG6U.js";
9
9
  import "../chunk-DR75T7J3.js";
10
10
  import {
11
11
  pluginCatalogRuntime