@sentry/junior 0.132.0 → 0.134.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 (83) hide show
  1. package/dist/{agent-hooks-ONXOJDR6.js → agent-hooks-HGXNYOOD.js} +9 -9
  2. package/dist/api/schema/task.d.ts +60 -0
  3. package/dist/api/schema.d.ts +2 -2
  4. package/dist/api/schema.js +3 -1
  5. package/dist/api.js +90 -20
  6. package/dist/app.js +110 -39
  7. package/dist/{catalog-runtime-BATAY4R7.js → catalog-runtime-P6QHU6XE.js} +5 -5
  8. package/dist/chat/agent/prompt.d.ts +7 -5
  9. package/dist/chat/agent/repository-context.d.ts +20 -0
  10. package/dist/chat/agent/sandbox.d.ts +8 -0
  11. package/dist/chat/agent/tools.d.ts +3 -0
  12. package/dist/chat/config.d.ts +2 -0
  13. package/dist/chat/conversations/projection.d.ts +3 -1
  14. package/dist/chat/conversations/sql/bindings.d.ts +13 -0
  15. package/dist/chat/conversations/sql/store.d.ts +3 -0
  16. package/dist/chat/conversations/store.d.ts +15 -0
  17. package/dist/chat/plugins/agent-hooks.d.ts +2 -2
  18. package/dist/chat/repository-instructions.d.ts +44 -0
  19. package/dist/chat/runtime/reply-executor.d.ts +1 -0
  20. package/dist/chat/runtime/slack-runtime.d.ts +2 -0
  21. package/dist/chat/sandbox/noninteractive-command.d.ts +2 -0
  22. package/dist/chat/sandbox/sandbox.d.ts +3 -0
  23. package/dist/chat/sandbox/session.d.ts +1 -0
  24. package/dist/chat/services/context-compaction.d.ts +1 -0
  25. package/dist/chat/slack/dispatch-turn.d.ts +1 -0
  26. package/dist/chat/slack/reply.d.ts +1 -1
  27. package/dist/chat/slack/tools/user-lookup.d.ts +2 -6
  28. package/dist/chat/tasks/execution-stats.d.ts +29 -0
  29. package/dist/chat/tasks/registered.d.ts +3 -0
  30. package/dist/chat/tools/index.d.ts +2 -0
  31. package/dist/chat/tools/sandbox/bash.d.ts +1 -0
  32. package/dist/chat/tools/system-time.d.ts +11 -1
  33. package/dist/{chunk-O2UXPUVQ.js → chunk-52DIKFJV.js} +14 -6
  34. package/dist/{chunk-GOEZU33G.js → chunk-6T3AYZT7.js} +1 -1
  35. package/dist/{chunk-GPXVDJML.js → chunk-7GKQ7UIO.js} +449 -39
  36. package/dist/{chunk-QVEXYYFM.js → chunk-7UTBPDXK.js} +24 -1
  37. package/dist/{chunk-U76PS7AT.js → chunk-AS3I7OIL.js} +2 -2
  38. package/dist/{chunk-HX236W2U.js → chunk-CDQ4YIZM.js} +9 -0
  39. package/dist/{chunk-ODIP5CEM.js → chunk-FDNAUM7X.js} +32 -32
  40. package/dist/{chunk-GTKNPQNN.js → chunk-FL466XX5.js} +36 -24
  41. package/dist/{chunk-2425Q4OR.js → chunk-GSP5SMZJ.js} +1 -1
  42. package/dist/{chunk-XN656LB4.js → chunk-KWGJG4HO.js} +6 -12
  43. package/dist/{chunk-ISNRPCPG.js → chunk-LKK4XMUV.js} +1 -1
  44. package/dist/{chunk-G3WYA2RS.js → chunk-MFERLE3G.js} +1 -1
  45. package/dist/{chunk-ZMV2YBT6.js → chunk-NF2TNZPD.js} +788 -674
  46. package/dist/chunk-NOA34AJY.js +122 -0
  47. package/dist/{chunk-JYQAE2ZU.js → chunk-NYWSCJVW.js} +1 -1
  48. package/dist/{chunk-KB2M27DL.js → chunk-QLEKAO7O.js} +130 -40
  49. package/dist/{chunk-BKE47OOW.js → chunk-S6DMTEOM.js} +2 -2
  50. package/dist/{chunk-ALDPUN3Z.js → chunk-TR6UEEYD.js} +8 -6
  51. package/dist/{chunk-WEJIS7OC.js → chunk-U3ZI7CCW.js} +1 -1
  52. package/dist/{chunk-B7IY6SVJ.js → chunk-VEGF62FV.js} +1 -1
  53. package/dist/{chunk-SKWIIUS7.js → chunk-VGXJMECA.js} +7 -7
  54. package/dist/{chunk-V44FFBO3.js → chunk-VP6NCPRS.js} +1 -1
  55. package/dist/{chunk-WYQP7QSB.js → chunk-VPYKNCTN.js} +101 -61
  56. package/dist/{chunk-NNHUGGO4.js → chunk-XG5PHKPM.js} +19 -3
  57. package/dist/{chunk-AW5Z3T7V.js → chunk-YNLQQ622.js} +9 -8
  58. package/dist/cli/chat.js +25 -25
  59. package/dist/cli/check.js +6 -6
  60. package/dist/cli/init.js +1 -1
  61. package/dist/cli/plugins.js +12 -12
  62. package/dist/cli/snapshot-create.js +9 -9
  63. package/dist/cli/upgrade.js +9 -8
  64. package/dist/db/executor.d.ts +2 -1
  65. package/dist/db/neon.d.ts +1 -0
  66. package/dist/db/postgres.d.ts +1 -0
  67. package/dist/db/schema/conversation-bindings.d.ts +110 -0
  68. package/dist/db/schema/task-executions.d.ts +110 -0
  69. package/dist/db/schema.d.ts +221 -1
  70. package/dist/{db-QFFZACXF.js → db-GFK4NHWJ.js} +7 -7
  71. package/dist/instrumentation.js +4 -4
  72. package/dist/nitro.js +2 -2
  73. package/dist/{oauth-callback-server-5WXLD533.js → oauth-callback-server-HUJLAQ5N.js} +19 -18
  74. package/dist/{runner-Y3LTUNAA.js → runner-T77AFAH4.js} +13 -12
  75. package/dist/{skills-7M5C24GM.js → skills-3KUFJOOR.js} +6 -6
  76. package/dist/{validation-MRILMYDI.js → validation-FMWDHKYU.js} +6 -6
  77. package/dist/version.js +1 -1
  78. package/migrations/0018_curvy_excalibur.sql +12 -0
  79. package/migrations/0019_lowly_valkyrie.sql +14 -0
  80. package/migrations/meta/0018_snapshot.json +1756 -0
  81. package/migrations/meta/0019_snapshot.json +1904 -0
  82. package/migrations/meta/_journal.json +15 -1
  83. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  validatePluginEgressCredentialHooks,
3
3
  validatePluginRegistrations
4
- } from "../chunk-JYQAE2ZU.js";
4
+ } from "../chunk-NYWSCJVW.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-ALDPUN3Z.js";
17
+ } from "../chunk-TR6UEEYD.js";
18
18
  import {
19
19
  getDb
20
- } from "../chunk-WYQP7QSB.js";
21
- import "../chunk-KB2M27DL.js";
22
- import "../chunk-ODIP5CEM.js";
23
- import "../chunk-NNHUGGO4.js";
20
+ } from "../chunk-VPYKNCTN.js";
21
+ import "../chunk-QLEKAO7O.js";
22
+ import "../chunk-FDNAUM7X.js";
23
+ import "../chunk-XG5PHKPM.js";
24
24
  import "../chunk-VFUK3X5B.js";
25
- import "../chunk-ISNRPCPG.js";
25
+ import "../chunk-LKK4XMUV.js";
26
26
  import {
27
27
  pluginCatalogRuntime
28
- } from "../chunk-B7IY6SVJ.js";
29
- import "../chunk-V44FFBO3.js";
28
+ } from "../chunk-VEGF62FV.js";
29
+ import "../chunk-VP6NCPRS.js";
30
30
  import "../chunk-77VDLF3Z.js";
31
31
  import "../chunk-HZF5P5UN.js";
32
32
  import "../chunk-F3B2YJ76.js";
33
- import "../chunk-GOEZU33G.js";
33
+ import "../chunk-6T3AYZT7.js";
34
34
  import "../chunk-6GWA276C.js";
35
35
  import "../chunk-OOUNJNMR.js";
36
36
  import "../chunk-H4HBKISO.js";
37
- import "../chunk-WEJIS7OC.js";
38
- import "../chunk-2425Q4OR.js";
37
+ import "../chunk-U3ZI7CCW.js";
38
+ import "../chunk-GSP5SMZJ.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-AW5Z3T7V.js";
4
+ } from "../chunk-YNLQQ622.js";
5
5
  import {
6
6
  disconnectStateAdapter
7
- } from "../chunk-ODIP5CEM.js";
8
- import "../chunk-NNHUGGO4.js";
9
- import "../chunk-ISNRPCPG.js";
7
+ } from "../chunk-FDNAUM7X.js";
8
+ import "../chunk-XG5PHKPM.js";
9
+ import "../chunk-LKK4XMUV.js";
10
10
  import {
11
11
  pluginCatalogRuntime
12
- } from "../chunk-B7IY6SVJ.js";
13
- import "../chunk-V44FFBO3.js";
12
+ } from "../chunk-VEGF62FV.js";
13
+ import "../chunk-VP6NCPRS.js";
14
14
  import "../chunk-77VDLF3Z.js";
15
15
  import "../chunk-HZF5P5UN.js";
16
16
  import "../chunk-F3B2YJ76.js";
17
- import "../chunk-GOEZU33G.js";
17
+ import "../chunk-6T3AYZT7.js";
18
18
  import "../chunk-6GWA276C.js";
19
19
  import "../chunk-OOUNJNMR.js";
20
20
  import "../chunk-H4HBKISO.js";
21
- import "../chunk-WEJIS7OC.js";
22
- import "../chunk-2425Q4OR.js";
21
+ import "../chunk-U3ZI7CCW.js";
22
+ import "../chunk-GSP5SMZJ.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-KB2M27DL.js";
11
+ } from "../chunk-QLEKAO7O.js";
12
12
  import {
13
13
  getChatConfig
14
- } from "../chunk-NNHUGGO4.js";
14
+ } from "../chunk-XG5PHKPM.js";
15
15
  import "../chunk-VFUK3X5B.js";
16
- import "../chunk-ISNRPCPG.js";
16
+ import "../chunk-LKK4XMUV.js";
17
17
  import {
18
18
  createPluginCatalogRuntime
19
- } from "../chunk-V44FFBO3.js";
19
+ } from "../chunk-VP6NCPRS.js";
20
20
  import "../chunk-77VDLF3Z.js";
21
21
  import "../chunk-HZF5P5UN.js";
22
22
  import "../chunk-F3B2YJ76.js";
23
- import "../chunk-GOEZU33G.js";
23
+ import "../chunk-6T3AYZT7.js";
24
24
  import "../chunk-6GWA276C.js";
25
25
  import "../chunk-OOUNJNMR.js";
26
26
  import "../chunk-H4HBKISO.js";
27
- import "../chunk-WEJIS7OC.js";
28
- import "../chunk-2425Q4OR.js";
27
+ import "../chunk-U3ZI7CCW.js";
28
+ import "../chunk-GSP5SMZJ.js";
29
29
  import "../chunk-MLKGABMK.js";
30
30
 
31
31
  // src/chat/conversations/sql/migrations.ts
@@ -396,7 +396,8 @@ async function runUpgrade(io = DEFAULT_IO, options = {}) {
396
396
  const { sql } = getChatConfig();
397
397
  const sqlExecutor = createJuniorSqlExecutor({
398
398
  connectionString: sql.databaseUrl,
399
- driver: sql.driver
399
+ driver: sql.driver,
400
+ statementTimeoutMs: false
400
401
  });
401
402
  try {
402
403
  const pluginSet = options.pluginSet === void 0 ? await resolveUpgradePluginSet() : options.pluginSet ?? void 0;
@@ -1,7 +1,8 @@
1
1
  import type { JuniorSqlExecutor } from "./db";
2
- import type { SqlDriver } from "@/chat/config";
2
+ import { type SqlDriver } from "@/chat/config";
3
3
  /** Create the SQL executor appropriate for the configured database URL. */
4
4
  export declare function createJuniorSqlExecutor(args: {
5
5
  connectionString: string;
6
6
  driver: SqlDriver;
7
+ statementTimeoutMs?: number | false;
7
8
  }): JuniorSqlExecutor;
package/dist/db/neon.d.ts CHANGED
@@ -4,4 +4,5 @@ export type NeonJuniorSqlExecutor = JuniorSqlExecutor;
4
4
  /** Create the shared Neon-backed Junior SQL executor. */
5
5
  export declare function createNeonJuniorSqlExecutor(args: {
6
6
  connectionString: string;
7
+ statementTimeoutMs?: number | false;
7
8
  }): NeonJuniorSqlExecutor;
@@ -3,4 +3,5 @@ import type { JuniorSqlExecutor } from "./db";
3
3
  export declare function createPostgresJuniorSqlExecutor(args: {
4
4
  applicationName?: string;
5
5
  connectionString: string;
6
+ statementTimeoutMs?: number | false;
6
7
  }): JuniorSqlExecutor;
@@ -0,0 +1,110 @@
1
+ /** Provider conversation coordinates bound to Junior's opaque durable conversation id. */
2
+ export declare const juniorConversationBindings: import("drizzle-orm/pg-core").PgTableWithColumns<{
3
+ name: "junior_conversation_bindings";
4
+ schema: undefined;
5
+ columns: {
6
+ conversationId: import("drizzle-orm/pg-core").PgColumn<{
7
+ name: "conversation_id";
8
+ tableName: "junior_conversation_bindings";
9
+ dataType: "string";
10
+ columnType: "PgText";
11
+ data: string;
12
+ driverParam: string;
13
+ notNull: true;
14
+ hasDefault: false;
15
+ isPrimaryKey: false;
16
+ isAutoincrement: false;
17
+ hasRuntimeDefault: false;
18
+ enumValues: [string, ...string[]];
19
+ baseColumn: never;
20
+ identity: undefined;
21
+ generated: undefined;
22
+ }, {}, {}>;
23
+ provider: import("drizzle-orm/pg-core").PgColumn<{
24
+ name: "provider";
25
+ tableName: "junior_conversation_bindings";
26
+ dataType: "string";
27
+ columnType: "PgText";
28
+ data: string;
29
+ driverParam: string;
30
+ notNull: true;
31
+ hasDefault: false;
32
+ isPrimaryKey: false;
33
+ isAutoincrement: false;
34
+ hasRuntimeDefault: false;
35
+ enumValues: [string, ...string[]];
36
+ baseColumn: never;
37
+ identity: undefined;
38
+ generated: undefined;
39
+ }, {}, {}>;
40
+ providerTenantId: import("drizzle-orm/pg-core").PgColumn<{
41
+ name: "provider_tenant_id";
42
+ tableName: "junior_conversation_bindings";
43
+ dataType: "string";
44
+ columnType: "PgText";
45
+ data: string;
46
+ driverParam: string;
47
+ notNull: true;
48
+ hasDefault: true;
49
+ isPrimaryKey: false;
50
+ isAutoincrement: false;
51
+ hasRuntimeDefault: false;
52
+ enumValues: [string, ...string[]];
53
+ baseColumn: never;
54
+ identity: undefined;
55
+ generated: undefined;
56
+ }, {}, {}>;
57
+ providerDestinationId: import("drizzle-orm/pg-core").PgColumn<{
58
+ name: "provider_destination_id";
59
+ tableName: "junior_conversation_bindings";
60
+ dataType: "string";
61
+ columnType: "PgText";
62
+ data: string;
63
+ driverParam: string;
64
+ notNull: true;
65
+ hasDefault: false;
66
+ isPrimaryKey: false;
67
+ isAutoincrement: false;
68
+ hasRuntimeDefault: false;
69
+ enumValues: [string, ...string[]];
70
+ baseColumn: never;
71
+ identity: undefined;
72
+ generated: undefined;
73
+ }, {}, {}>;
74
+ providerConversationId: import("drizzle-orm/pg-core").PgColumn<{
75
+ name: "provider_conversation_id";
76
+ tableName: "junior_conversation_bindings";
77
+ dataType: "string";
78
+ columnType: "PgText";
79
+ data: string;
80
+ driverParam: string;
81
+ notNull: true;
82
+ hasDefault: false;
83
+ isPrimaryKey: false;
84
+ isAutoincrement: false;
85
+ hasRuntimeDefault: false;
86
+ enumValues: [string, ...string[]];
87
+ baseColumn: never;
88
+ identity: undefined;
89
+ generated: undefined;
90
+ }, {}, {}>;
91
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
92
+ name: string;
93
+ tableName: "junior_conversation_bindings";
94
+ dataType: "date";
95
+ columnType: "PgTimestamp";
96
+ data: Date;
97
+ driverParam: string;
98
+ notNull: true;
99
+ hasDefault: false;
100
+ isPrimaryKey: false;
101
+ isAutoincrement: false;
102
+ hasRuntimeDefault: false;
103
+ enumValues: undefined;
104
+ baseColumn: never;
105
+ identity: undefined;
106
+ generated: undefined;
107
+ }, {}, {}>;
108
+ };
109
+ dialect: "pg";
110
+ }>;
@@ -0,0 +1,110 @@
1
+ /** One successful task execution linked to its durable conversation. */
2
+ export declare const juniorTaskExecutions: import("drizzle-orm/pg-core").PgTableWithColumns<{
3
+ name: "junior_task_executions";
4
+ schema: undefined;
5
+ columns: {
6
+ executionId: import("drizzle-orm/pg-core").PgColumn<{
7
+ name: "execution_id";
8
+ tableName: "junior_task_executions";
9
+ dataType: "string";
10
+ columnType: "PgText";
11
+ data: string;
12
+ driverParam: string;
13
+ notNull: true;
14
+ hasDefault: false;
15
+ isPrimaryKey: false;
16
+ isAutoincrement: false;
17
+ hasRuntimeDefault: false;
18
+ enumValues: [string, ...string[]];
19
+ baseColumn: never;
20
+ identity: undefined;
21
+ generated: undefined;
22
+ }, {}, {}>;
23
+ kind: import("drizzle-orm/pg-core").PgColumn<{
24
+ name: "kind";
25
+ tableName: "junior_task_executions";
26
+ dataType: "string";
27
+ columnType: "PgText";
28
+ data: string;
29
+ driverParam: string;
30
+ notNull: true;
31
+ hasDefault: false;
32
+ isPrimaryKey: false;
33
+ isAutoincrement: false;
34
+ hasRuntimeDefault: false;
35
+ enumValues: [string, ...string[]];
36
+ baseColumn: never;
37
+ identity: undefined;
38
+ generated: undefined;
39
+ }, {}, {}>;
40
+ namespace: import("drizzle-orm/pg-core").PgColumn<{
41
+ name: "namespace";
42
+ tableName: "junior_task_executions";
43
+ dataType: "string";
44
+ columnType: "PgText";
45
+ data: string;
46
+ driverParam: string;
47
+ notNull: true;
48
+ hasDefault: false;
49
+ isPrimaryKey: false;
50
+ isAutoincrement: false;
51
+ hasRuntimeDefault: false;
52
+ enumValues: [string, ...string[]];
53
+ baseColumn: never;
54
+ identity: undefined;
55
+ generated: undefined;
56
+ }, {}, {}>;
57
+ taskId: import("drizzle-orm/pg-core").PgColumn<{
58
+ name: "task_id";
59
+ tableName: "junior_task_executions";
60
+ dataType: "string";
61
+ columnType: "PgText";
62
+ data: string;
63
+ driverParam: string;
64
+ notNull: true;
65
+ hasDefault: false;
66
+ isPrimaryKey: false;
67
+ isAutoincrement: false;
68
+ hasRuntimeDefault: false;
69
+ enumValues: [string, ...string[]];
70
+ baseColumn: never;
71
+ identity: undefined;
72
+ generated: undefined;
73
+ }, {}, {}>;
74
+ conversationId: import("drizzle-orm/pg-core").PgColumn<{
75
+ name: "conversation_id";
76
+ tableName: "junior_task_executions";
77
+ dataType: "string";
78
+ columnType: "PgText";
79
+ data: string;
80
+ driverParam: string;
81
+ notNull: true;
82
+ hasDefault: false;
83
+ isPrimaryKey: false;
84
+ isAutoincrement: false;
85
+ hasRuntimeDefault: false;
86
+ enumValues: [string, ...string[]];
87
+ baseColumn: never;
88
+ identity: undefined;
89
+ generated: undefined;
90
+ }, {}, {}>;
91
+ executedAtMs: import("drizzle-orm/pg-core").PgColumn<{
92
+ name: "executed_at_ms";
93
+ tableName: "junior_task_executions";
94
+ dataType: "number";
95
+ columnType: "PgBigInt53";
96
+ data: number;
97
+ driverParam: string | number;
98
+ notNull: true;
99
+ hasDefault: false;
100
+ isPrimaryKey: false;
101
+ isAutoincrement: false;
102
+ hasRuntimeDefault: false;
103
+ enumValues: undefined;
104
+ baseColumn: never;
105
+ identity: undefined;
106
+ generated: undefined;
107
+ }, {}, {}>;
108
+ };
109
+ dialect: "pg";
110
+ }>;
@@ -1,14 +1,16 @@
1
1
  import { juniorConversationAnnotations } from "./schema/conversation-annotations";
2
2
  import { juniorApiTokens } from "./schema/api-tokens";
3
3
  import { juniorConversationEvents } from "./schema/conversation-events";
4
+ import { juniorConversationBindings } from "./schema/conversation-bindings";
4
5
  import { juniorConversations } from "./schema/conversations";
5
6
  import { juniorDestinations } from "./schema/destinations";
6
7
  import { juniorEventTasks } from "./schema/event-tasks";
7
8
  import { juniorIdentities } from "./schema/identities";
8
9
  import { juniorStats } from "./schema/stats";
10
+ import { juniorTaskExecutions } from "./schema/task-executions";
9
11
  import { juniorSchedulerRuns, juniorSchedulerTasks } from "./schema/scheduled-tasks";
10
12
  import { juniorUsers } from "./schema/users";
11
- export { juniorConversationAnnotations, juniorApiTokens, juniorConversationEvents, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
13
+ export { juniorConversationAnnotations, juniorApiTokens, juniorConversationEvents, juniorConversationBindings, juniorConversations, juniorDestinations, juniorEventTasks, juniorIdentities, juniorStats, juniorTaskExecutions, juniorSchedulerRuns, juniorSchedulerTasks, juniorUsers, };
12
14
  export declare const juniorSqlSchema: {
13
15
  juniorConversationAnnotations: import("drizzle-orm/pg-core").PgTableWithColumns<{
14
16
  name: "junior_conversation_annotations";
@@ -457,6 +459,115 @@ export declare const juniorSqlSchema: {
457
459
  };
458
460
  dialect: "pg";
459
461
  }>;
462
+ juniorConversationBindings: import("drizzle-orm/pg-core").PgTableWithColumns<{
463
+ name: "junior_conversation_bindings";
464
+ schema: undefined;
465
+ columns: {
466
+ conversationId: import("drizzle-orm/pg-core").PgColumn<{
467
+ name: "conversation_id";
468
+ tableName: "junior_conversation_bindings";
469
+ dataType: "string";
470
+ columnType: "PgText";
471
+ data: string;
472
+ driverParam: string;
473
+ notNull: true;
474
+ hasDefault: false;
475
+ isPrimaryKey: false;
476
+ isAutoincrement: false;
477
+ hasRuntimeDefault: false;
478
+ enumValues: [string, ...string[]];
479
+ baseColumn: never;
480
+ identity: undefined;
481
+ generated: undefined;
482
+ }, {}, {}>;
483
+ provider: import("drizzle-orm/pg-core").PgColumn<{
484
+ name: "provider";
485
+ tableName: "junior_conversation_bindings";
486
+ dataType: "string";
487
+ columnType: "PgText";
488
+ data: string;
489
+ driverParam: string;
490
+ notNull: true;
491
+ hasDefault: false;
492
+ isPrimaryKey: false;
493
+ isAutoincrement: false;
494
+ hasRuntimeDefault: false;
495
+ enumValues: [string, ...string[]];
496
+ baseColumn: never;
497
+ identity: undefined;
498
+ generated: undefined;
499
+ }, {}, {}>;
500
+ providerTenantId: import("drizzle-orm/pg-core").PgColumn<{
501
+ name: "provider_tenant_id";
502
+ tableName: "junior_conversation_bindings";
503
+ dataType: "string";
504
+ columnType: "PgText";
505
+ data: string;
506
+ driverParam: string;
507
+ notNull: true;
508
+ hasDefault: true;
509
+ isPrimaryKey: false;
510
+ isAutoincrement: false;
511
+ hasRuntimeDefault: false;
512
+ enumValues: [string, ...string[]];
513
+ baseColumn: never;
514
+ identity: undefined;
515
+ generated: undefined;
516
+ }, {}, {}>;
517
+ providerDestinationId: import("drizzle-orm/pg-core").PgColumn<{
518
+ name: "provider_destination_id";
519
+ tableName: "junior_conversation_bindings";
520
+ dataType: "string";
521
+ columnType: "PgText";
522
+ data: string;
523
+ driverParam: string;
524
+ notNull: true;
525
+ hasDefault: false;
526
+ isPrimaryKey: false;
527
+ isAutoincrement: false;
528
+ hasRuntimeDefault: false;
529
+ enumValues: [string, ...string[]];
530
+ baseColumn: never;
531
+ identity: undefined;
532
+ generated: undefined;
533
+ }, {}, {}>;
534
+ providerConversationId: import("drizzle-orm/pg-core").PgColumn<{
535
+ name: "provider_conversation_id";
536
+ tableName: "junior_conversation_bindings";
537
+ dataType: "string";
538
+ columnType: "PgText";
539
+ data: string;
540
+ driverParam: string;
541
+ notNull: true;
542
+ hasDefault: false;
543
+ isPrimaryKey: false;
544
+ isAutoincrement: false;
545
+ hasRuntimeDefault: false;
546
+ enumValues: [string, ...string[]];
547
+ baseColumn: never;
548
+ identity: undefined;
549
+ generated: undefined;
550
+ }, {}, {}>;
551
+ createdAt: import("drizzle-orm/pg-core").PgColumn<{
552
+ name: string;
553
+ tableName: "junior_conversation_bindings";
554
+ dataType: "date";
555
+ columnType: "PgTimestamp";
556
+ data: Date;
557
+ driverParam: string;
558
+ notNull: true;
559
+ hasDefault: false;
560
+ isPrimaryKey: false;
561
+ isAutoincrement: false;
562
+ hasRuntimeDefault: false;
563
+ enumValues: undefined;
564
+ baseColumn: never;
565
+ identity: undefined;
566
+ generated: undefined;
567
+ }, {}, {}>;
568
+ };
569
+ dialect: "pg";
570
+ }>;
460
571
  juniorConversations: import("drizzle-orm/pg-core").PgTableWithColumns<{
461
572
  name: "junior_conversations";
462
573
  schema: undefined;
@@ -1821,6 +1932,115 @@ export declare const juniorSqlSchema: {
1821
1932
  };
1822
1933
  dialect: "pg";
1823
1934
  }>;
1935
+ juniorTaskExecutions: import("drizzle-orm/pg-core").PgTableWithColumns<{
1936
+ name: "junior_task_executions";
1937
+ schema: undefined;
1938
+ columns: {
1939
+ executionId: import("drizzle-orm/pg-core").PgColumn<{
1940
+ name: "execution_id";
1941
+ tableName: "junior_task_executions";
1942
+ dataType: "string";
1943
+ columnType: "PgText";
1944
+ data: string;
1945
+ driverParam: string;
1946
+ notNull: true;
1947
+ hasDefault: false;
1948
+ isPrimaryKey: false;
1949
+ isAutoincrement: false;
1950
+ hasRuntimeDefault: false;
1951
+ enumValues: [string, ...string[]];
1952
+ baseColumn: never;
1953
+ identity: undefined;
1954
+ generated: undefined;
1955
+ }, {}, {}>;
1956
+ kind: import("drizzle-orm/pg-core").PgColumn<{
1957
+ name: "kind";
1958
+ tableName: "junior_task_executions";
1959
+ dataType: "string";
1960
+ columnType: "PgText";
1961
+ data: string;
1962
+ driverParam: string;
1963
+ notNull: true;
1964
+ hasDefault: false;
1965
+ isPrimaryKey: false;
1966
+ isAutoincrement: false;
1967
+ hasRuntimeDefault: false;
1968
+ enumValues: [string, ...string[]];
1969
+ baseColumn: never;
1970
+ identity: undefined;
1971
+ generated: undefined;
1972
+ }, {}, {}>;
1973
+ namespace: import("drizzle-orm/pg-core").PgColumn<{
1974
+ name: "namespace";
1975
+ tableName: "junior_task_executions";
1976
+ dataType: "string";
1977
+ columnType: "PgText";
1978
+ data: string;
1979
+ driverParam: string;
1980
+ notNull: true;
1981
+ hasDefault: false;
1982
+ isPrimaryKey: false;
1983
+ isAutoincrement: false;
1984
+ hasRuntimeDefault: false;
1985
+ enumValues: [string, ...string[]];
1986
+ baseColumn: never;
1987
+ identity: undefined;
1988
+ generated: undefined;
1989
+ }, {}, {}>;
1990
+ taskId: import("drizzle-orm/pg-core").PgColumn<{
1991
+ name: "task_id";
1992
+ tableName: "junior_task_executions";
1993
+ dataType: "string";
1994
+ columnType: "PgText";
1995
+ data: string;
1996
+ driverParam: string;
1997
+ notNull: true;
1998
+ hasDefault: false;
1999
+ isPrimaryKey: false;
2000
+ isAutoincrement: false;
2001
+ hasRuntimeDefault: false;
2002
+ enumValues: [string, ...string[]];
2003
+ baseColumn: never;
2004
+ identity: undefined;
2005
+ generated: undefined;
2006
+ }, {}, {}>;
2007
+ conversationId: import("drizzle-orm/pg-core").PgColumn<{
2008
+ name: "conversation_id";
2009
+ tableName: "junior_task_executions";
2010
+ dataType: "string";
2011
+ columnType: "PgText";
2012
+ data: string;
2013
+ driverParam: string;
2014
+ notNull: true;
2015
+ hasDefault: false;
2016
+ isPrimaryKey: false;
2017
+ isAutoincrement: false;
2018
+ hasRuntimeDefault: false;
2019
+ enumValues: [string, ...string[]];
2020
+ baseColumn: never;
2021
+ identity: undefined;
2022
+ generated: undefined;
2023
+ }, {}, {}>;
2024
+ executedAtMs: import("drizzle-orm/pg-core").PgColumn<{
2025
+ name: "executed_at_ms";
2026
+ tableName: "junior_task_executions";
2027
+ dataType: "number";
2028
+ columnType: "PgBigInt53";
2029
+ data: number;
2030
+ driverParam: string | number;
2031
+ notNull: true;
2032
+ hasDefault: false;
2033
+ isPrimaryKey: false;
2034
+ isAutoincrement: false;
2035
+ hasRuntimeDefault: false;
2036
+ enumValues: undefined;
2037
+ baseColumn: never;
2038
+ identity: undefined;
2039
+ generated: undefined;
2040
+ }, {}, {}>;
2041
+ };
2042
+ dialect: "pg";
2043
+ }>;
1824
2044
  juniorSchedulerRuns: import("drizzle-orm/pg-core").PgTableWithColumns<{
1825
2045
  name: "junior_scheduler_runs";
1826
2046
  schema: undefined;
@@ -5,16 +5,16 @@ import {
5
5
  getConversationStore,
6
6
  getDb,
7
7
  getSqlExecutor
8
- } from "./chunk-WYQP7QSB.js";
9
- import "./chunk-KB2M27DL.js";
10
- import "./chunk-NNHUGGO4.js";
8
+ } from "./chunk-VPYKNCTN.js";
9
+ import "./chunk-QLEKAO7O.js";
10
+ import "./chunk-XG5PHKPM.js";
11
11
  import "./chunk-VFUK3X5B.js";
12
- import "./chunk-ISNRPCPG.js";
12
+ import "./chunk-LKK4XMUV.js";
13
13
  import "./chunk-F3B2YJ76.js";
14
- import "./chunk-GOEZU33G.js";
14
+ import "./chunk-6T3AYZT7.js";
15
15
  import "./chunk-6GWA276C.js";
16
- import "./chunk-WEJIS7OC.js";
17
- import "./chunk-2425Q4OR.js";
16
+ import "./chunk-U3ZI7CCW.js";
17
+ import "./chunk-GSP5SMZJ.js";
18
18
  import "./chunk-MLKGABMK.js";
19
19
  export {
20
20
  closeDb,
@@ -3,8 +3,8 @@ import {
3
3
  } from "./chunk-UIE3R5XU.js";
4
4
  import {
5
5
  getCurrentConversationPrivacy
6
- } from "./chunk-ISNRPCPG.js";
7
- import "./chunk-GOEZU33G.js";
6
+ } from "./chunk-LKK4XMUV.js";
7
+ import "./chunk-6T3AYZT7.js";
8
8
  import {
9
9
  getClient,
10
10
  getGlobalScope,
@@ -15,8 +15,8 @@ import {
15
15
  import {
16
16
  getDeploymentServiceVersion,
17
17
  getDeploymentTelemetryAttributes
18
- } from "./chunk-WEJIS7OC.js";
19
- import "./chunk-2425Q4OR.js";
18
+ } from "./chunk-U3ZI7CCW.js";
19
+ import "./chunk-GSP5SMZJ.js";
20
20
  import "./chunk-MLKGABMK.js";
21
21
 
22
22
  // src/chat/sentry-payload-filter.ts
package/dist/nitro.js CHANGED
@@ -26,8 +26,8 @@ import {
26
26
  JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE,
27
27
  JUNIOR_RETENTION_CRON_SCHEDULE,
28
28
  JUNIOR_RETENTION_ROUTE
29
- } from "./chunk-WEJIS7OC.js";
30
- import "./chunk-2425Q4OR.js";
29
+ } from "./chunk-U3ZI7CCW.js";
30
+ import "./chunk-GSP5SMZJ.js";
31
31
  import "./chunk-MLKGABMK.js";
32
32
 
33
33
  // src/nitro.ts