@sentry/junior 0.127.0 → 0.128.1

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 (114) hide show
  1. package/dist/{agent-hooks-HMCMFIIO.js → agent-hooks-IWQNFJMS.js} +9 -9
  2. package/dist/api.js +23 -22
  3. package/dist/app.d.ts +2 -1
  4. package/dist/app.js +287 -138
  5. package/dist/{catalog-runtime-MI5UNBZ7.js → catalog-runtime-KLSYFS4A.js} +6 -6
  6. package/dist/chat/agent-dispatch/context.d.ts +17 -0
  7. package/dist/chat/agent-dispatch/store.d.ts +1 -1
  8. package/dist/chat/agent-dispatch/work.d.ts +1 -1
  9. package/dist/chat/credentials/context.d.ts +27 -0
  10. package/dist/chat/credentials/subject.d.ts +15 -0
  11. package/dist/chat/event-tasks/ingest.d.ts +9 -0
  12. package/dist/chat/event-tasks/store.d.ts +15 -0
  13. package/dist/chat/event-tasks/tool-support.d.ts +140 -0
  14. package/dist/chat/event-tasks/types.d.ts +44 -0
  15. package/dist/chat/plugins/viewer.d.ts +16 -0
  16. package/dist/chat/resource-events/ingest.d.ts +1 -0
  17. package/dist/chat/resource-events/store.d.ts +2 -0
  18. package/dist/chat/resource-events/workspace.d.ts +4 -0
  19. package/dist/chat/sandbox/command-result.d.ts +3 -22
  20. package/dist/chat/sandbox/egress/schemas.d.ts +11 -0
  21. package/dist/chat/sandbox/resources.d.ts +12 -1
  22. package/dist/chat/services/guardian-action-policy.d.ts +1 -1
  23. package/dist/chat/slack/dispatch-turn.d.ts +1 -1
  24. package/dist/chat/slack/tools/canvas/create.d.ts +0 -16
  25. package/dist/chat/slack/tools/canvas/edit.d.ts +0 -16
  26. package/dist/chat/slack/tools/canvas/read.d.ts +0 -16
  27. package/dist/chat/slack/tools/canvas/write.d.ts +0 -16
  28. package/dist/chat/slack/tools/channel-list-messages.d.ts +0 -16
  29. package/dist/chat/slack/tools/conversation-search.d.ts +0 -16
  30. package/dist/chat/slack/tools/list/add-items.d.ts +0 -16
  31. package/dist/chat/slack/tools/list/create.d.ts +0 -16
  32. package/dist/chat/slack/tools/list/get-items.d.ts +0 -16
  33. package/dist/chat/slack/tools/list/update-item.d.ts +0 -16
  34. package/dist/chat/slack/tools/message-add-reaction.d.ts +0 -16
  35. package/dist/chat/slack/tools/public-search.d.ts +0 -16
  36. package/dist/chat/slack/tools/send-files.d.ts +10 -28
  37. package/dist/chat/slack/tools/thread-read.d.ts +0 -16
  38. package/dist/chat/slack/tools/user-lookup.d.ts +0 -16
  39. package/dist/chat/tool-support/action-review.d.ts +1 -1
  40. package/dist/chat/tool-support/structured-result.d.ts +17 -46
  41. package/dist/chat/tool-support/text-range-result.d.ts +8 -32
  42. package/dist/chat/tool-support/zod-tool.d.ts +6 -7
  43. package/dist/chat/tools/create-event-task.d.ts +65 -0
  44. package/dist/chat/tools/definition.d.ts +4 -0
  45. package/dist/chat/tools/delete-event-task.d.ts +57 -0
  46. package/dist/chat/tools/event-tasks.d.ts +5 -0
  47. package/dist/chat/tools/handoff/tool.d.ts +0 -16
  48. package/dist/chat/tools/list-event-tasks.d.ts +55 -0
  49. package/dist/chat/tools/list-resource-event-subscriptions.d.ts +0 -38
  50. package/dist/chat/tools/query-conversation-events.d.ts +0 -16
  51. package/dist/chat/tools/runtime/report-progress.d.ts +0 -16
  52. package/dist/chat/tools/sandbox/edit-file.d.ts +0 -23
  53. package/dist/chat/tools/sandbox/file-utils.d.ts +2 -17
  54. package/dist/chat/tools/sandbox/find-files.d.ts +5 -8
  55. package/dist/chat/tools/sandbox/grep.d.ts +1 -4
  56. package/dist/chat/tools/sandbox/list-dir.d.ts +1 -4
  57. package/dist/chat/tools/search-resource-event-types.d.ts +0 -16
  58. package/dist/chat/tools/search-tools.d.ts +0 -16
  59. package/dist/chat/tools/skill/load-skill.d.ts +0 -20
  60. package/dist/chat/tools/skill/search-mcp-tools.d.ts +0 -16
  61. package/dist/chat/tools/stop-watching-resources.d.ts +0 -22
  62. package/dist/chat/tools/system-time.d.ts +0 -16
  63. package/dist/chat/tools/types.d.ts +8 -4
  64. package/dist/chat/tools/update-event-task.d.ts +66 -0
  65. package/dist/chat/tools/watch-resource-events.d.ts +0 -46
  66. package/dist/chat/tools/web/fetch-content.d.ts +0 -2
  67. package/dist/chat/tools/web/fetch-tool.d.ts +0 -16
  68. package/dist/chat/tools/web/image-generate.d.ts +0 -16
  69. package/dist/chat/tools/web/search.d.ts +0 -16
  70. package/dist/{chunk-UEMGGJZD.js → chunk-54KP2EAH.js} +12 -12
  71. package/dist/{chunk-L7L7RYJM.js → chunk-5IR7SGRO.js} +2 -2
  72. package/dist/{chunk-W3U3YQYI.js → chunk-77VDLF3Z.js} +18 -1
  73. package/dist/{chunk-Z5LLJNTL.js → chunk-AAMF2IRC.js} +1116 -1083
  74. package/dist/{chunk-NK7QVIMJ.js → chunk-EHEACYJ6.js} +1 -1
  75. package/dist/{chunk-JNYR4G7A.js → chunk-EOIA25WC.js} +2 -2
  76. package/dist/{chunk-HDSDCEPK.js → chunk-EPBBYMNE.js} +1 -1
  77. package/dist/{chunk-6DU2ZNF7.js → chunk-ETGUGGO2.js} +7 -7
  78. package/dist/{chunk-TLMI3Q4Q.js → chunk-H4HMCSOZ.js} +199 -94
  79. package/dist/{chunk-PDG3BSOD.js → chunk-J3YIO3LE.js} +3 -3
  80. package/dist/{chunk-2M6LYDTB.js → chunk-LIJ4APSS.js} +1 -1
  81. package/dist/{chunk-JXQWTNDI.js → chunk-MKM5552O.js} +1 -1
  82. package/dist/{chunk-SH7HDO2D.js → chunk-MZ6ZOWMJ.js} +1 -1
  83. package/dist/{chunk-NYVMPADK.js → chunk-O3C5BJFD.js} +1 -1
  84. package/dist/{chunk-FVIU6NQO.js → chunk-O3YROBH4.js} +2 -2
  85. package/dist/{chunk-WXP2ZXC7.js → chunk-OIQCRZ67.js} +4 -4
  86. package/dist/{chunk-YSOZT72W.js → chunk-P7UUNWC4.js} +38 -17
  87. package/dist/{chunk-C7AVHH3H.js → chunk-PLAMHS3D.js} +2 -2
  88. package/dist/{chunk-AKL3BAYJ.js → chunk-Q5TMMCBV.js} +1 -1
  89. package/dist/{chunk-2N6EL22B.js → chunk-R2LXTX4J.js} +1 -1
  90. package/dist/{chunk-VHUMNUJL.js → chunk-REHOYCYS.js} +2 -2
  91. package/dist/{chunk-4H2NZPFJ.js → chunk-S2O64VXP.js} +6 -6
  92. package/dist/{chunk-S4PUICSB.js → chunk-SHMHHXD5.js} +34 -5
  93. package/dist/{chunk-AYICPT5T.js → chunk-TONH5NXR.js} +1 -1
  94. package/dist/cli/chat.js +27 -27
  95. package/dist/cli/check.js +7 -7
  96. package/dist/cli/plugins.js +13 -13
  97. package/dist/cli/snapshot-create.js +10 -10
  98. package/dist/cli/upgrade.js +8 -8
  99. package/dist/db/schema/event-tasks.d.ts +161 -0
  100. package/dist/db/schema.d.ts +163 -1
  101. package/dist/{db-N4EY57ZJ.js → db-VOU5QNLY.js} +7 -7
  102. package/dist/instrumentation.js +4 -4
  103. package/dist/nitro.js +2 -2
  104. package/dist/{oauth-callback-server-O62UOQSS.js → oauth-callback-server-GS7FBYBC.js} +18 -18
  105. package/dist/{runner-SRHRD3NX.js → runner-GSJSBI3J.js} +11 -11
  106. package/dist/{sandbox-egress-signals-CDFAP67O.js → sandbox-egress-signals-A5HWIQH4.js} +2 -2
  107. package/dist/{skills-V6X3JVVA.js → skills-DSHG54LM.js} +7 -7
  108. package/dist/{validation-ZZXZELGH.js → validation-25XWT6TA.js} +7 -7
  109. package/dist/version.js +1 -1
  110. package/migrations/0015_magical_ezekiel_stane.sql +11 -0
  111. package/migrations/meta/0015_snapshot.json +1360 -0
  112. package/migrations/meta/_journal.json +7 -0
  113. package/package.json +6 -6
  114. package/dist/chat/plugins/viewer-actors.d.ts +0 -6
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getDb
3
- } from "./chunk-PDG3BSOD.js";
3
+ } from "./chunk-J3YIO3LE.js";
4
4
  import {
5
5
  juniorStats
6
- } from "./chunk-S4PUICSB.js";
6
+ } from "./chunk-SHMHHXD5.js";
7
7
 
8
8
  // src/stats.ts
9
9
  import { and, asc, gte, lte, sql } from "drizzle-orm";
@@ -22,7 +22,7 @@ import {
22
22
  persistThreadStateById,
23
23
  stripRuntimeTurnContext,
24
24
  updateConversationStats
25
- } from "./chunk-WXP2ZXC7.js";
25
+ } from "./chunk-OIQCRZ67.js";
26
26
  import {
27
27
  createPluginConversationEvents,
28
28
  createPluginEmbedder,
@@ -30,26 +30,26 @@ import {
30
30
  createPluginModel,
31
31
  createPluginState,
32
32
  getPlugins
33
- } from "./chunk-TLMI3Q4Q.js";
33
+ } from "./chunk-H4HMCSOZ.js";
34
34
  import {
35
35
  getDb,
36
36
  sameActorIdentity
37
- } from "./chunk-PDG3BSOD.js";
37
+ } from "./chunk-J3YIO3LE.js";
38
38
  import {
39
39
  getStateAdapter
40
- } from "./chunk-SH7HDO2D.js";
40
+ } from "./chunk-MZ6ZOWMJ.js";
41
41
  import {
42
42
  ProviderError,
43
43
  findProviderError,
44
44
  getProviderErrorAttributes,
45
45
  getProviderErrorUserMessage
46
- } from "./chunk-L7L7RYJM.js";
46
+ } from "./chunk-5IR7SGRO.js";
47
47
  import {
48
48
  parseSlackMessageTs
49
49
  } from "./chunk-F3B2YJ76.js";
50
50
  import {
51
51
  buildTurnFailureResponse
52
- } from "./chunk-AYICPT5T.js";
52
+ } from "./chunk-TONH5NXR.js";
53
53
 
54
54
  // src/chat/runtime/delivered-turn-state.ts
55
55
  function buildDeliveredTurnStatePatch(args) {
@@ -274,15 +274,42 @@ var juniorConversationEvents = pgTable6(
274
274
  ]
275
275
  );
276
276
 
277
+ // src/db/schema/event-tasks.ts
278
+ import { bigint, index as index5, jsonb as jsonb5, pgTable as pgTable7, text as text7 } from "drizzle-orm/pg-core";
279
+ var juniorEventTasks = pgTable7(
280
+ "junior_event_tasks",
281
+ {
282
+ id: text7("id").primaryKey(),
283
+ teamId: text7("team_id").notNull(),
284
+ namespace: text7("namespace").notNull(),
285
+ identifier: text7("identifier").notNull(),
286
+ createdAtMs: bigint("created_at_ms", { mode: "number" }).notNull(),
287
+ task: jsonb5("task_json").$type().notNull()
288
+ },
289
+ (table) => [
290
+ index5("junior_event_tasks_team_idx").on(
291
+ table.teamId,
292
+ table.createdAtMs,
293
+ table.id
294
+ ),
295
+ index5("junior_event_tasks_match_idx").on(
296
+ table.namespace,
297
+ table.identifier,
298
+ table.createdAtMs,
299
+ table.id
300
+ )
301
+ ]
302
+ );
303
+
277
304
  // src/db/schema/stats.ts
278
- import { date, integer as integer3, pgTable as pgTable7, primaryKey as primaryKey3, text as text7 } from "drizzle-orm/pg-core";
279
- var juniorStats = pgTable7(
305
+ import { date, integer as integer3, pgTable as pgTable8, primaryKey as primaryKey3, text as text8 } from "drizzle-orm/pg-core";
306
+ var juniorStats = pgTable8(
280
307
  "junior_stats",
281
308
  {
282
309
  date: date("date", { mode: "string" }).notNull(),
283
- namespace: text7("namespace").notNull(),
284
- metric: text7("metric").notNull(),
285
- name: text7("name").notNull(),
310
+ namespace: text8("namespace").notNull(),
311
+ metric: text8("metric").notNull(),
312
+ name: text8("name").notNull(),
286
313
  count: integer3("count").notNull().default(0)
287
314
  },
288
315
  (table) => [
@@ -300,6 +327,7 @@ var juniorSqlSchema = {
300
327
  juniorConversationEvents,
301
328
  juniorConversations,
302
329
  juniorDestinations,
330
+ juniorEventTasks,
303
331
  juniorIdentities,
304
332
  juniorStats,
305
333
  juniorUsers
@@ -552,6 +580,7 @@ export {
552
580
  juniorConversationAnnotations,
553
581
  juniorApiTokens,
554
582
  juniorConversationEvents,
583
+ juniorEventTasks,
555
584
  juniorStats,
556
585
  createJuniorSqlExecutor
557
586
  };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6GWA276C.js";
10
10
  import {
11
11
  getDeploymentTelemetryAttributes
12
- } from "./chunk-AKL3BAYJ.js";
12
+ } from "./chunk-Q5TMMCBV.js";
13
13
 
14
14
  // src/chat/logging.ts
15
15
  import path from "path";
package/dist/cli/chat.js CHANGED
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  createAgentRunner,
3
3
  executeAgentRun
4
- } from "../chunk-Z5LLJNTL.js";
4
+ } from "../chunk-AAMF2IRC.js";
5
5
  import "../chunk-DIB4GX3G.js";
6
- import "../chunk-6DU2ZNF7.js";
7
- import "../chunk-WXP2ZXC7.js";
8
- import "../chunk-HDSDCEPK.js";
9
- import "../chunk-YSOZT72W.js";
10
- import "../chunk-VHUMNUJL.js";
11
- import "../chunk-2M6LYDTB.js";
6
+ import "../chunk-ETGUGGO2.js";
7
+ import "../chunk-OIQCRZ67.js";
8
+ import "../chunk-EPBBYMNE.js";
9
+ import "../chunk-P7UUNWC4.js";
10
+ import "../chunk-REHOYCYS.js";
11
+ import "../chunk-LIJ4APSS.js";
12
12
  import "../chunk-HX236W2U.js";
13
13
  import "../chunk-PDO5BLNM.js";
14
14
  import "../chunk-UIE3R5XU.js";
15
15
  import {
16
16
  loadAppPluginSet
17
17
  } from "../chunk-Y2CM7HXH.js";
18
- import "../chunk-TLMI3Q4Q.js";
19
- import "../chunk-PDG3BSOD.js";
20
- import "../chunk-S4PUICSB.js";
21
- import "../chunk-SH7HDO2D.js";
22
- import "../chunk-L7L7RYJM.js";
18
+ import "../chunk-H4HMCSOZ.js";
19
+ import "../chunk-J3YIO3LE.js";
20
+ import "../chunk-SHMHHXD5.js";
21
+ import "../chunk-MZ6ZOWMJ.js";
22
+ import "../chunk-5IR7SGRO.js";
23
23
  import "../chunk-VFUK3X5B.js";
24
- import "../chunk-NK7QVIMJ.js";
25
- import "../chunk-JNYR4G7A.js";
26
- import "../chunk-2N6EL22B.js";
27
- import "../chunk-FVIU6NQO.js";
28
- import "../chunk-W3U3YQYI.js";
24
+ import "../chunk-EHEACYJ6.js";
25
+ import "../chunk-EOIA25WC.js";
26
+ import "../chunk-R2LXTX4J.js";
27
+ import "../chunk-O3YROBH4.js";
28
+ import "../chunk-77VDLF3Z.js";
29
29
  import "../chunk-HZF5P5UN.js";
30
30
  import "../chunk-F3B2YJ76.js";
31
- import "../chunk-AYICPT5T.js";
31
+ import "../chunk-TONH5NXR.js";
32
32
  import "../chunk-6GWA276C.js";
33
33
  import "../chunk-OOUNJNMR.js";
34
34
  import "../chunk-H4HBKISO.js";
35
- import "../chunk-AKL3BAYJ.js";
36
- import "../chunk-JXQWTNDI.js";
35
+ import "../chunk-Q5TMMCBV.js";
36
+ import "../chunk-MKM5552O.js";
37
37
  import "../chunk-MLKGABMK.js";
38
38
 
39
39
  // src/cli/chat.ts
@@ -156,10 +156,10 @@ async function configureLocalChatPlugins(pluginSet) {
156
156
  databaseModule
157
157
  ] = await Promise.all([
158
158
  import("../plugins-HW4VWW6G.js"),
159
- import("../agent-hooks-HMCMFIIO.js"),
160
- import("../catalog-runtime-MI5UNBZ7.js"),
161
- import("../validation-ZZXZELGH.js"),
162
- import("../db-N4EY57ZJ.js")
159
+ import("../agent-hooks-IWQNFJMS.js"),
160
+ import("../catalog-runtime-KLSYFS4A.js"),
161
+ import("../validation-25XWT6TA.js"),
162
+ import("../db-VOU5QNLY.js")
163
163
  ]);
164
164
  const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
165
165
  const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
@@ -223,10 +223,10 @@ function localDevServerUrl() {
223
223
  async function prepareLocalChatRun(io, pluginSet) {
224
224
  defaultStateAdapterForLocalChat();
225
225
  await configureLocalChatPlugins(pluginSet);
226
- const { runLocalAgentTurn } = await import("../runner-SRHRD3NX.js");
227
- const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-O62UOQSS.js");
226
+ const { runLocalAgentTurn } = await import("../runner-GSJSBI3J.js");
227
+ const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-GS7FBYBC.js");
228
228
  const { createLocalOAuthState } = await import("../oauth-relay-3ZU72UGL.js");
229
- const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-CDFAP67O.js");
229
+ const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-A5HWIQH4.js");
230
230
  const agentRunner = createAgentRunner(executeAgentRun);
231
231
  const oauthCallback = await startLocalOAuthCallbackServer(agentRunner);
232
232
  const deps = {
package/dist/cli/check.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parseSkillFile
3
- } from "../chunk-JNYR4G7A.js";
4
- import "../chunk-2N6EL22B.js";
3
+ } from "../chunk-EOIA25WC.js";
4
+ import "../chunk-R2LXTX4J.js";
5
5
  import {
6
6
  parseInlinePluginManifest,
7
7
  parsePluginManifest
8
- } from "../chunk-FVIU6NQO.js";
9
- import "../chunk-W3U3YQYI.js";
8
+ } from "../chunk-O3YROBH4.js";
9
+ import "../chunk-77VDLF3Z.js";
10
10
  import "../chunk-HZF5P5UN.js";
11
11
  import "../chunk-F3B2YJ76.js";
12
- import "../chunk-AYICPT5T.js";
12
+ import "../chunk-TONH5NXR.js";
13
13
  import "../chunk-6GWA276C.js";
14
14
  import "../chunk-OOUNJNMR.js";
15
15
  import "../chunk-H4HBKISO.js";
@@ -17,8 +17,8 @@ import {
17
17
  JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE,
18
18
  JUNIOR_HEARTBEAT_ROUTE,
19
19
  LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION
20
- } from "../chunk-AKL3BAYJ.js";
21
- import "../chunk-JXQWTNDI.js";
20
+ } from "../chunk-Q5TMMCBV.js";
21
+ import "../chunk-MKM5552O.js";
22
22
  import "../chunk-MLKGABMK.js";
23
23
 
24
24
  // src/cli/check.ts
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  validatePluginEgressCredentialHooks,
3
3
  validatePluginRegistrations
4
- } from "../chunk-NYVMPADK.js";
4
+ } from "../chunk-O3C5BJFD.js";
5
5
  import {
6
6
  pluginCatalogConfigFromPluginSet,
7
7
  pluginCliRegistrationsFromPluginSet,
@@ -14,28 +14,28 @@ import {
14
14
  createPluginLogger,
15
15
  setPlugins,
16
16
  validatePlugins
17
- } from "../chunk-TLMI3Q4Q.js";
17
+ } from "../chunk-H4HMCSOZ.js";
18
18
  import {
19
19
  getDb
20
- } from "../chunk-PDG3BSOD.js";
21
- import "../chunk-S4PUICSB.js";
22
- import "../chunk-SH7HDO2D.js";
23
- import "../chunk-L7L7RYJM.js";
20
+ } from "../chunk-J3YIO3LE.js";
21
+ import "../chunk-SHMHHXD5.js";
22
+ import "../chunk-MZ6ZOWMJ.js";
23
+ import "../chunk-5IR7SGRO.js";
24
24
  import "../chunk-VFUK3X5B.js";
25
- import "../chunk-NK7QVIMJ.js";
25
+ import "../chunk-EHEACYJ6.js";
26
26
  import {
27
27
  pluginCatalogRuntime
28
- } from "../chunk-2N6EL22B.js";
29
- import "../chunk-FVIU6NQO.js";
30
- import "../chunk-W3U3YQYI.js";
28
+ } from "../chunk-R2LXTX4J.js";
29
+ import "../chunk-O3YROBH4.js";
30
+ import "../chunk-77VDLF3Z.js";
31
31
  import "../chunk-HZF5P5UN.js";
32
32
  import "../chunk-F3B2YJ76.js";
33
- import "../chunk-AYICPT5T.js";
33
+ import "../chunk-TONH5NXR.js";
34
34
  import "../chunk-6GWA276C.js";
35
35
  import "../chunk-OOUNJNMR.js";
36
36
  import "../chunk-H4HBKISO.js";
37
- import "../chunk-AKL3BAYJ.js";
38
- import "../chunk-JXQWTNDI.js";
37
+ import "../chunk-Q5TMMCBV.js";
38
+ import "../chunk-MKM5552O.js";
39
39
  import "../chunk-MLKGABMK.js";
40
40
 
41
41
  // src/cli/plugins.ts
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  create,
3
3
  resolve
4
- } from "../chunk-YSOZT72W.js";
4
+ } from "../chunk-P7UUNWC4.js";
5
5
  import {
6
6
  disconnectStateAdapter
7
- } from "../chunk-SH7HDO2D.js";
8
- import "../chunk-L7L7RYJM.js";
9
- import "../chunk-NK7QVIMJ.js";
7
+ } from "../chunk-MZ6ZOWMJ.js";
8
+ import "../chunk-5IR7SGRO.js";
9
+ import "../chunk-EHEACYJ6.js";
10
10
  import {
11
11
  pluginCatalogRuntime
12
- } from "../chunk-2N6EL22B.js";
13
- import "../chunk-FVIU6NQO.js";
14
- import "../chunk-W3U3YQYI.js";
12
+ } from "../chunk-R2LXTX4J.js";
13
+ import "../chunk-O3YROBH4.js";
14
+ import "../chunk-77VDLF3Z.js";
15
15
  import "../chunk-HZF5P5UN.js";
16
16
  import "../chunk-F3B2YJ76.js";
17
- import "../chunk-AYICPT5T.js";
17
+ import "../chunk-TONH5NXR.js";
18
18
  import "../chunk-6GWA276C.js";
19
19
  import "../chunk-OOUNJNMR.js";
20
20
  import "../chunk-H4HBKISO.js";
21
- import "../chunk-AKL3BAYJ.js";
22
- import "../chunk-JXQWTNDI.js";
21
+ import "../chunk-Q5TMMCBV.js";
22
+ import "../chunk-MKM5552O.js";
23
23
  import "../chunk-MLKGABMK.js";
24
24
 
25
25
  // src/cli/snapshot-create.ts
@@ -8,24 +8,24 @@ import {
8
8
  } from "../chunk-Y2CM7HXH.js";
9
9
  import {
10
10
  createJuniorSqlExecutor
11
- } from "../chunk-S4PUICSB.js";
11
+ } from "../chunk-SHMHHXD5.js";
12
12
  import {
13
13
  getChatConfig
14
- } from "../chunk-L7L7RYJM.js";
14
+ } from "../chunk-5IR7SGRO.js";
15
15
  import "../chunk-VFUK3X5B.js";
16
- import "../chunk-NK7QVIMJ.js";
16
+ import "../chunk-EHEACYJ6.js";
17
17
  import {
18
18
  createPluginCatalogRuntime
19
- } from "../chunk-FVIU6NQO.js";
20
- import "../chunk-W3U3YQYI.js";
19
+ } from "../chunk-O3YROBH4.js";
20
+ import "../chunk-77VDLF3Z.js";
21
21
  import "../chunk-HZF5P5UN.js";
22
22
  import "../chunk-F3B2YJ76.js";
23
- import "../chunk-AYICPT5T.js";
23
+ import "../chunk-TONH5NXR.js";
24
24
  import "../chunk-6GWA276C.js";
25
25
  import "../chunk-OOUNJNMR.js";
26
26
  import "../chunk-H4HBKISO.js";
27
- import "../chunk-AKL3BAYJ.js";
28
- import "../chunk-JXQWTNDI.js";
27
+ import "../chunk-Q5TMMCBV.js";
28
+ import "../chunk-MKM5552O.js";
29
29
  import "../chunk-MLKGABMK.js";
30
30
 
31
31
  // src/chat/conversations/sql/migrations.ts
@@ -0,0 +1,161 @@
1
+ export declare const juniorEventTasks: import("drizzle-orm/pg-core").PgTableWithColumns<{
2
+ name: "junior_event_tasks";
3
+ schema: undefined;
4
+ columns: {
5
+ id: import("drizzle-orm/pg-core").PgColumn<{
6
+ name: "id";
7
+ tableName: "junior_event_tasks";
8
+ dataType: "string";
9
+ columnType: "PgText";
10
+ data: string;
11
+ driverParam: string;
12
+ notNull: true;
13
+ hasDefault: false;
14
+ isPrimaryKey: true;
15
+ isAutoincrement: false;
16
+ hasRuntimeDefault: false;
17
+ enumValues: [string, ...string[]];
18
+ baseColumn: never;
19
+ identity: undefined;
20
+ generated: undefined;
21
+ }, {}, {}>;
22
+ teamId: import("drizzle-orm/pg-core").PgColumn<{
23
+ name: "team_id";
24
+ tableName: "junior_event_tasks";
25
+ dataType: "string";
26
+ columnType: "PgText";
27
+ data: string;
28
+ driverParam: string;
29
+ notNull: true;
30
+ hasDefault: false;
31
+ isPrimaryKey: false;
32
+ isAutoincrement: false;
33
+ hasRuntimeDefault: false;
34
+ enumValues: [string, ...string[]];
35
+ baseColumn: never;
36
+ identity: undefined;
37
+ generated: undefined;
38
+ }, {}, {}>;
39
+ namespace: import("drizzle-orm/pg-core").PgColumn<{
40
+ name: "namespace";
41
+ tableName: "junior_event_tasks";
42
+ dataType: "string";
43
+ columnType: "PgText";
44
+ data: string;
45
+ driverParam: string;
46
+ notNull: true;
47
+ hasDefault: false;
48
+ isPrimaryKey: false;
49
+ isAutoincrement: false;
50
+ hasRuntimeDefault: false;
51
+ enumValues: [string, ...string[]];
52
+ baseColumn: never;
53
+ identity: undefined;
54
+ generated: undefined;
55
+ }, {}, {}>;
56
+ identifier: import("drizzle-orm/pg-core").PgColumn<{
57
+ name: "identifier";
58
+ tableName: "junior_event_tasks";
59
+ dataType: "string";
60
+ columnType: "PgText";
61
+ data: string;
62
+ driverParam: string;
63
+ notNull: true;
64
+ hasDefault: false;
65
+ isPrimaryKey: false;
66
+ isAutoincrement: false;
67
+ hasRuntimeDefault: false;
68
+ enumValues: [string, ...string[]];
69
+ baseColumn: never;
70
+ identity: undefined;
71
+ generated: undefined;
72
+ }, {}, {}>;
73
+ createdAtMs: import("drizzle-orm/pg-core").PgColumn<{
74
+ name: "created_at_ms";
75
+ tableName: "junior_event_tasks";
76
+ dataType: "number";
77
+ columnType: "PgBigInt53";
78
+ data: number;
79
+ driverParam: string | number;
80
+ notNull: true;
81
+ hasDefault: false;
82
+ isPrimaryKey: false;
83
+ isAutoincrement: false;
84
+ hasRuntimeDefault: false;
85
+ enumValues: undefined;
86
+ baseColumn: never;
87
+ identity: undefined;
88
+ generated: undefined;
89
+ }, {}, {}>;
90
+ task: import("drizzle-orm/pg-core").PgColumn<{
91
+ name: "task_json";
92
+ tableName: "junior_event_tasks";
93
+ dataType: "json";
94
+ columnType: "PgJsonb";
95
+ data: {
96
+ id: string;
97
+ createdAtMs: number;
98
+ createdBy: {
99
+ slackUserId: string;
100
+ fullName?: string | undefined;
101
+ userName?: string | undefined;
102
+ };
103
+ credentialMode: "system" | "creator";
104
+ destination: {
105
+ platform: "slack";
106
+ teamId: string;
107
+ channelId: string;
108
+ };
109
+ destinationVisibility: "public" | "private";
110
+ task: {
111
+ text: string;
112
+ };
113
+ trigger: {
114
+ events: string[];
115
+ label: string;
116
+ namespace: string;
117
+ identifier: string;
118
+ resourceType: string;
119
+ };
120
+ };
121
+ driverParam: unknown;
122
+ notNull: true;
123
+ hasDefault: false;
124
+ isPrimaryKey: false;
125
+ isAutoincrement: false;
126
+ hasRuntimeDefault: false;
127
+ enumValues: undefined;
128
+ baseColumn: never;
129
+ identity: undefined;
130
+ generated: undefined;
131
+ }, {}, {
132
+ $type: {
133
+ id: string;
134
+ createdAtMs: number;
135
+ createdBy: {
136
+ slackUserId: string;
137
+ fullName?: string | undefined;
138
+ userName?: string | undefined;
139
+ };
140
+ credentialMode: "system" | "creator";
141
+ destination: {
142
+ platform: "slack";
143
+ teamId: string;
144
+ channelId: string;
145
+ };
146
+ destinationVisibility: "public" | "private";
147
+ task: {
148
+ text: string;
149
+ };
150
+ trigger: {
151
+ events: string[];
152
+ label: string;
153
+ namespace: string;
154
+ identifier: string;
155
+ resourceType: string;
156
+ };
157
+ };
158
+ }>;
159
+ };
160
+ dialect: "pg";
161
+ }>;