@inkeep/agents-core 0.0.0-dev-20260204182014 → 0.0.0-dev-20260204210021

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 (59) hide show
  1. package/dist/auth/auth-schema.d.ts +104 -104
  2. package/dist/auth/auth-validation-schemas.d.ts +129 -129
  3. package/dist/auth/auth.d.ts +54 -54
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +2 -2
  6. package/dist/data-access/index.d.ts +1 -3
  7. package/dist/data-access/index.js +1 -3
  8. package/dist/data-access/manage/agents.d.ts +36 -36
  9. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  10. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  11. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  12. package/dist/data-access/manage/functionTools.d.ts +12 -12
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  14. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  16. package/dist/data-access/manage/subAgents.d.ts +12 -12
  17. package/dist/data-access/manage/tools.d.ts +21 -21
  18. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  19. package/dist/data-access/runtime/conversations.d.ts +27 -27
  20. package/dist/data-access/runtime/messages.d.ts +9 -9
  21. package/dist/data-access/runtime/tasks.d.ts +6 -6
  22. package/dist/db/manage/manage-schema.d.ts +304 -524
  23. package/dist/db/manage/manage-schema.js +2 -27
  24. package/dist/db/runtime/runtime-schema.d.ts +240 -1153
  25. package/dist/db/runtime/runtime-schema.js +2 -98
  26. package/dist/index.d.ts +5 -10
  27. package/dist/index.js +4 -9
  28. package/dist/types/entities.d.ts +2 -8
  29. package/dist/types/index.d.ts +2 -2
  30. package/dist/utils/index.d.ts +1 -4
  31. package/dist/utils/index.js +1 -4
  32. package/dist/utils/trigger-auth.d.ts +1 -1
  33. package/dist/validation/dolt-schemas.d.ts +1 -1
  34. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  35. package/dist/validation/index.d.ts +2 -2
  36. package/dist/validation/index.js +2 -2
  37. package/dist/validation/schemas.d.ts +1627 -4187
  38. package/dist/validation/schemas.js +4 -66
  39. package/drizzle/manage/meta/_journal.json +0 -7
  40. package/drizzle/runtime/meta/_journal.json +0 -14
  41. package/package.json +1 -1
  42. package/dist/auth/create-test-users.d.ts +0 -1
  43. package/dist/auth/create-test-users.js +0 -102
  44. package/dist/data-access/manage/workAppConfigs.d.ts +0 -228
  45. package/dist/data-access/manage/workAppConfigs.js +0 -120
  46. package/dist/data-access/runtime/workAppSlack.d.ts +0 -45
  47. package/dist/data-access/runtime/workAppSlack.js +0 -154
  48. package/dist/utils/slack-link-token.d.ts +0 -60
  49. package/dist/utils/slack-link-token.js +0 -124
  50. package/dist/utils/slack-user-token.d.ts +0 -87
  51. package/dist/utils/slack-user-token.js +0 -156
  52. package/dist/utils/sse-parser.d.ts +0 -35
  53. package/dist/utils/sse-parser.js +0 -71
  54. package/drizzle/manage/0007_whole_skreet.sql +0 -17
  55. package/drizzle/manage/meta/0007_snapshot.json +0 -3265
  56. package/drizzle/runtime/0011_grey_energizer.sql +0 -131
  57. package/drizzle/runtime/0012_salty_zuras.sql +0 -6
  58. package/drizzle/runtime/meta/0011_snapshot.json +0 -3747
  59. package/drizzle/runtime/meta/0012_snapshot.json +0 -3747
@@ -1,12 +1,12 @@
1
1
  import { Part } from "../../types/a2a.js";
2
2
  import { ConversationMetadata, MessageContent, MessageMetadata, TaskMetadataConfig } from "../../types/utility.js";
3
3
  import { account, deviceCode, invitation, member, organization, session, ssoProvider, user, verification } from "../../auth/auth-schema.js";
4
- import * as drizzle_orm20 from "drizzle-orm";
5
- import * as drizzle_orm_pg_core1486 from "drizzle-orm/pg-core";
4
+ import * as drizzle_orm0 from "drizzle-orm";
5
+ import * as drizzle_orm_pg_core1289 from "drizzle-orm/pg-core";
6
6
 
7
7
  //#region src/db/runtime/runtime-schema.d.ts
8
8
  declare namespace runtime_schema_d_exports {
9
- export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackUserMappings, workAppSlackUserSettings, workAppSlackWorkspaces };
9
+ export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations };
10
10
  }
11
11
  /**
12
12
  * Runtime projects table - source of truth for which projects exist in a tenant.
@@ -15,11 +15,11 @@ declare namespace runtime_schema_d_exports {
15
15
  *
16
16
  * Named 'project_metadata' to avoid conflict with the manage-schema 'projects' table.
17
17
  */
18
- declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
18
+ declare const projectMetadata: drizzle_orm_pg_core1289.PgTableWithColumns<{
19
19
  name: "project_metadata";
20
20
  schema: undefined;
21
21
  columns: {
22
- id: drizzle_orm_pg_core1486.PgColumn<{
22
+ id: drizzle_orm_pg_core1289.PgColumn<{
23
23
  name: "id";
24
24
  tableName: "project_metadata";
25
25
  dataType: "string";
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
38
38
  }, {}, {
39
39
  length: 256;
40
40
  }>;
41
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
41
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
42
42
  name: "tenant_id";
43
43
  tableName: "project_metadata";
44
44
  dataType: "string";
@@ -57,7 +57,7 @@ declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
57
57
  }, {}, {
58
58
  length: 256;
59
59
  }>;
60
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
60
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
61
61
  name: "created_at";
62
62
  tableName: "project_metadata";
63
63
  dataType: "string";
@@ -74,7 +74,7 @@ declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
74
74
  identity: undefined;
75
75
  generated: undefined;
76
76
  }, {}, {}>;
77
- createdBy: drizzle_orm_pg_core1486.PgColumn<{
77
+ createdBy: drizzle_orm_pg_core1289.PgColumn<{
78
78
  name: "created_by";
79
79
  tableName: "project_metadata";
80
80
  dataType: "string";
@@ -93,7 +93,7 @@ declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
93
93
  }, {}, {
94
94
  length: 256;
95
95
  }>;
96
- mainBranchName: drizzle_orm_pg_core1486.PgColumn<{
96
+ mainBranchName: drizzle_orm_pg_core1289.PgColumn<{
97
97
  name: "main_branch_name";
98
98
  tableName: "project_metadata";
99
99
  dataType: "string";
@@ -115,11 +115,11 @@ declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
115
115
  };
116
116
  dialect: "pg";
117
117
  }>;
118
- declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
118
+ declare const conversations: drizzle_orm_pg_core1289.PgTableWithColumns<{
119
119
  name: "conversations";
120
120
  schema: undefined;
121
121
  columns: {
122
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
122
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
123
123
  name: "created_at";
124
124
  tableName: "conversations";
125
125
  dataType: "string";
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
136
136
  identity: undefined;
137
137
  generated: undefined;
138
138
  }, {}, {}>;
139
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
139
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
140
140
  name: "updated_at";
141
141
  tableName: "conversations";
142
142
  dataType: "string";
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
153
153
  identity: undefined;
154
154
  generated: undefined;
155
155
  }, {}, {}>;
156
- userId: drizzle_orm_pg_core1486.PgColumn<{
156
+ userId: drizzle_orm_pg_core1289.PgColumn<{
157
157
  name: "user_id";
158
158
  tableName: "conversations";
159
159
  dataType: "string";
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
172
172
  }, {}, {
173
173
  length: 256;
174
174
  }>;
175
- agentId: drizzle_orm_pg_core1486.PgColumn<{
175
+ agentId: drizzle_orm_pg_core1289.PgColumn<{
176
176
  name: "agent_id";
177
177
  tableName: "conversations";
178
178
  dataType: "string";
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
191
191
  }, {}, {
192
192
  length: 256;
193
193
  }>;
194
- activeSubAgentId: drizzle_orm_pg_core1486.PgColumn<{
194
+ activeSubAgentId: drizzle_orm_pg_core1289.PgColumn<{
195
195
  name: "active_sub_agent_id";
196
196
  tableName: "conversations";
197
197
  dataType: "string";
@@ -210,13 +210,13 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
210
210
  }, {}, {
211
211
  length: 256;
212
212
  }>;
213
- ref: drizzle_orm_pg_core1486.PgColumn<{
213
+ ref: drizzle_orm_pg_core1289.PgColumn<{
214
214
  name: "ref";
215
215
  tableName: "conversations";
216
216
  dataType: "json";
217
217
  columnType: "PgJsonb";
218
218
  data: {
219
- type: "tag" | "commit" | "branch";
219
+ type: "commit" | "tag" | "branch";
220
220
  name: string;
221
221
  hash: string;
222
222
  };
@@ -232,12 +232,12 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
232
232
  generated: undefined;
233
233
  }, {}, {
234
234
  $type: {
235
- type: "tag" | "commit" | "branch";
235
+ type: "commit" | "tag" | "branch";
236
236
  name: string;
237
237
  hash: string;
238
238
  };
239
239
  }>;
240
- title: drizzle_orm_pg_core1486.PgColumn<{
240
+ title: drizzle_orm_pg_core1289.PgColumn<{
241
241
  name: "title";
242
242
  tableName: "conversations";
243
243
  dataType: "string";
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
254
254
  identity: undefined;
255
255
  generated: undefined;
256
256
  }, {}, {}>;
257
- lastContextResolution: drizzle_orm_pg_core1486.PgColumn<{
257
+ lastContextResolution: drizzle_orm_pg_core1289.PgColumn<{
258
258
  name: "last_context_resolution";
259
259
  tableName: "conversations";
260
260
  dataType: "string";
@@ -271,7 +271,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
271
271
  identity: undefined;
272
272
  generated: undefined;
273
273
  }, {}, {}>;
274
- metadata: drizzle_orm_pg_core1486.PgColumn<{
274
+ metadata: drizzle_orm_pg_core1289.PgColumn<{
275
275
  name: "metadata";
276
276
  tableName: "conversations";
277
277
  dataType: "json";
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
290
290
  }, {}, {
291
291
  $type: ConversationMetadata;
292
292
  }>;
293
- projectId: drizzle_orm_pg_core1486.PgColumn<{
293
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
294
294
  name: "project_id";
295
295
  tableName: "conversations";
296
296
  dataType: "string";
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
309
309
  }, {}, {
310
310
  length: 256;
311
311
  }>;
312
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
312
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
313
313
  name: "tenant_id";
314
314
  tableName: "conversations";
315
315
  dataType: "string";
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- id: drizzle_orm_pg_core1486.PgColumn<{
331
+ id: drizzle_orm_pg_core1289.PgColumn<{
332
332
  name: "id";
333
333
  tableName: "conversations";
334
334
  dataType: "string";
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
350
350
  };
351
351
  dialect: "pg";
352
352
  }>;
353
- declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
353
+ declare const tasks: drizzle_orm_pg_core1289.PgTableWithColumns<{
354
354
  name: "tasks";
355
355
  schema: undefined;
356
356
  columns: {
357
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
357
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
358
358
  name: "created_at";
359
359
  tableName: "tasks";
360
360
  dataType: "string";
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
371
371
  identity: undefined;
372
372
  generated: undefined;
373
373
  }, {}, {}>;
374
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
374
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
375
375
  name: "updated_at";
376
376
  tableName: "tasks";
377
377
  dataType: "string";
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
388
388
  identity: undefined;
389
389
  generated: undefined;
390
390
  }, {}, {}>;
391
- contextId: drizzle_orm_pg_core1486.PgColumn<{
391
+ contextId: drizzle_orm_pg_core1289.PgColumn<{
392
392
  name: "context_id";
393
393
  tableName: "tasks";
394
394
  dataType: "string";
@@ -407,13 +407,13 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
407
407
  }, {}, {
408
408
  length: 256;
409
409
  }>;
410
- ref: drizzle_orm_pg_core1486.PgColumn<{
410
+ ref: drizzle_orm_pg_core1289.PgColumn<{
411
411
  name: "ref";
412
412
  tableName: "tasks";
413
413
  dataType: "json";
414
414
  columnType: "PgJsonb";
415
415
  data: {
416
- type: "tag" | "commit" | "branch";
416
+ type: "commit" | "tag" | "branch";
417
417
  name: string;
418
418
  hash: string;
419
419
  };
@@ -429,12 +429,12 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
429
429
  generated: undefined;
430
430
  }, {}, {
431
431
  $type: {
432
- type: "tag" | "commit" | "branch";
432
+ type: "commit" | "tag" | "branch";
433
433
  name: string;
434
434
  hash: string;
435
435
  };
436
436
  }>;
437
- status: drizzle_orm_pg_core1486.PgColumn<{
437
+ status: drizzle_orm_pg_core1289.PgColumn<{
438
438
  name: "status";
439
439
  tableName: "tasks";
440
440
  dataType: "string";
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
453
453
  }, {}, {
454
454
  length: 256;
455
455
  }>;
456
- metadata: drizzle_orm_pg_core1486.PgColumn<{
456
+ metadata: drizzle_orm_pg_core1289.PgColumn<{
457
457
  name: "metadata";
458
458
  tableName: "tasks";
459
459
  dataType: "json";
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
472
472
  }, {}, {
473
473
  $type: TaskMetadataConfig;
474
474
  }>;
475
- subAgentId: drizzle_orm_pg_core1486.PgColumn<{
475
+ subAgentId: drizzle_orm_pg_core1289.PgColumn<{
476
476
  name: "sub_agent_id";
477
477
  tableName: "tasks";
478
478
  dataType: "string";
@@ -491,7 +491,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
491
491
  }, {}, {
492
492
  length: 256;
493
493
  }>;
494
- agentId: drizzle_orm_pg_core1486.PgColumn<{
494
+ agentId: drizzle_orm_pg_core1289.PgColumn<{
495
495
  name: "agent_id";
496
496
  tableName: "tasks";
497
497
  dataType: "string";
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
510
510
  }, {}, {
511
511
  length: 256;
512
512
  }>;
513
- projectId: drizzle_orm_pg_core1486.PgColumn<{
513
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
514
514
  name: "project_id";
515
515
  tableName: "tasks";
516
516
  dataType: "string";
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
529
529
  }, {}, {
530
530
  length: 256;
531
531
  }>;
532
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
532
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
533
533
  name: "tenant_id";
534
534
  tableName: "tasks";
535
535
  dataType: "string";
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
548
548
  }, {}, {
549
549
  length: 256;
550
550
  }>;
551
- id: drizzle_orm_pg_core1486.PgColumn<{
551
+ id: drizzle_orm_pg_core1289.PgColumn<{
552
552
  name: "id";
553
553
  tableName: "tasks";
554
554
  dataType: "string";
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
570
570
  };
571
571
  dialect: "pg";
572
572
  }>;
573
- declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
573
+ declare const apiKeys: drizzle_orm_pg_core1289.PgTableWithColumns<{
574
574
  name: "api_keys";
575
575
  schema: undefined;
576
576
  columns: {
577
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
577
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
578
578
  name: "created_at";
579
579
  tableName: "api_keys";
580
580
  dataType: "string";
@@ -591,7 +591,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
591
591
  identity: undefined;
592
592
  generated: undefined;
593
593
  }, {}, {}>;
594
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
594
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
595
595
  name: "updated_at";
596
596
  tableName: "api_keys";
597
597
  dataType: "string";
@@ -608,7 +608,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
608
608
  identity: undefined;
609
609
  generated: undefined;
610
610
  }, {}, {}>;
611
- agentId: drizzle_orm_pg_core1486.PgColumn<{
611
+ agentId: drizzle_orm_pg_core1289.PgColumn<{
612
612
  name: "agent_id";
613
613
  tableName: "api_keys";
614
614
  dataType: "string";
@@ -627,7 +627,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
627
627
  }, {}, {
628
628
  length: 256;
629
629
  }>;
630
- publicId: drizzle_orm_pg_core1486.PgColumn<{
630
+ publicId: drizzle_orm_pg_core1289.PgColumn<{
631
631
  name: "public_id";
632
632
  tableName: "api_keys";
633
633
  dataType: "string";
@@ -646,7 +646,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
646
646
  }, {}, {
647
647
  length: 256;
648
648
  }>;
649
- keyHash: drizzle_orm_pg_core1486.PgColumn<{
649
+ keyHash: drizzle_orm_pg_core1289.PgColumn<{
650
650
  name: "key_hash";
651
651
  tableName: "api_keys";
652
652
  dataType: "string";
@@ -665,7 +665,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
665
665
  }, {}, {
666
666
  length: 256;
667
667
  }>;
668
- keyPrefix: drizzle_orm_pg_core1486.PgColumn<{
668
+ keyPrefix: drizzle_orm_pg_core1289.PgColumn<{
669
669
  name: "key_prefix";
670
670
  tableName: "api_keys";
671
671
  dataType: "string";
@@ -684,7 +684,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
684
684
  }, {}, {
685
685
  length: 256;
686
686
  }>;
687
- name: drizzle_orm_pg_core1486.PgColumn<{
687
+ name: drizzle_orm_pg_core1289.PgColumn<{
688
688
  name: "name";
689
689
  tableName: "api_keys";
690
690
  dataType: "string";
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
703
703
  }, {}, {
704
704
  length: 256;
705
705
  }>;
706
- lastUsedAt: drizzle_orm_pg_core1486.PgColumn<{
706
+ lastUsedAt: drizzle_orm_pg_core1289.PgColumn<{
707
707
  name: "last_used_at";
708
708
  tableName: "api_keys";
709
709
  dataType: "string";
@@ -720,7 +720,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
720
720
  identity: undefined;
721
721
  generated: undefined;
722
722
  }, {}, {}>;
723
- expiresAt: drizzle_orm_pg_core1486.PgColumn<{
723
+ expiresAt: drizzle_orm_pg_core1289.PgColumn<{
724
724
  name: "expires_at";
725
725
  tableName: "api_keys";
726
726
  dataType: "string";
@@ -737,7 +737,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
737
737
  identity: undefined;
738
738
  generated: undefined;
739
739
  }, {}, {}>;
740
- projectId: drizzle_orm_pg_core1486.PgColumn<{
740
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
741
741
  name: "project_id";
742
742
  tableName: "api_keys";
743
743
  dataType: "string";
@@ -756,7 +756,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
756
756
  }, {}, {
757
757
  length: 256;
758
758
  }>;
759
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
759
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
760
760
  name: "tenant_id";
761
761
  tableName: "api_keys";
762
762
  dataType: "string";
@@ -775,7 +775,7 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
775
775
  }, {}, {
776
776
  length: 256;
777
777
  }>;
778
- id: drizzle_orm_pg_core1486.PgColumn<{
778
+ id: drizzle_orm_pg_core1289.PgColumn<{
779
779
  name: "id";
780
780
  tableName: "api_keys";
781
781
  dataType: "string";
@@ -804,11 +804,11 @@ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
804
804
  * Application code must enforce referential integrity for triggerId.
805
805
  * Can optionally link to conversations when the trigger creates one.
806
806
  */
807
- declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
807
+ declare const triggerInvocations: drizzle_orm_pg_core1289.PgTableWithColumns<{
808
808
  name: "trigger_invocations";
809
809
  schema: undefined;
810
810
  columns: {
811
- triggerId: drizzle_orm_pg_core1486.PgColumn<{
811
+ triggerId: drizzle_orm_pg_core1289.PgColumn<{
812
812
  name: "trigger_id";
813
813
  tableName: "trigger_invocations";
814
814
  dataType: "string";
@@ -827,7 +827,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
827
827
  }, {}, {
828
828
  length: 256;
829
829
  }>;
830
- conversationId: drizzle_orm_pg_core1486.PgColumn<{
830
+ conversationId: drizzle_orm_pg_core1289.PgColumn<{
831
831
  name: "conversation_id";
832
832
  tableName: "trigger_invocations";
833
833
  dataType: "string";
@@ -846,7 +846,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
846
846
  }, {}, {
847
847
  length: 256;
848
848
  }>;
849
- status: drizzle_orm_pg_core1486.PgColumn<{
849
+ status: drizzle_orm_pg_core1289.PgColumn<{
850
850
  name: "status";
851
851
  tableName: "trigger_invocations";
852
852
  dataType: "string";
@@ -865,7 +865,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
865
865
  }, {}, {
866
866
  length: 20;
867
867
  }>;
868
- requestPayload: drizzle_orm_pg_core1486.PgColumn<{
868
+ requestPayload: drizzle_orm_pg_core1289.PgColumn<{
869
869
  name: "request_payload";
870
870
  tableName: "trigger_invocations";
871
871
  dataType: "json";
@@ -882,7 +882,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
882
882
  identity: undefined;
883
883
  generated: undefined;
884
884
  }, {}, {}>;
885
- transformedPayload: drizzle_orm_pg_core1486.PgColumn<{
885
+ transformedPayload: drizzle_orm_pg_core1289.PgColumn<{
886
886
  name: "transformed_payload";
887
887
  tableName: "trigger_invocations";
888
888
  dataType: "json";
@@ -899,7 +899,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
899
899
  identity: undefined;
900
900
  generated: undefined;
901
901
  }, {}, {}>;
902
- errorMessage: drizzle_orm_pg_core1486.PgColumn<{
902
+ errorMessage: drizzle_orm_pg_core1289.PgColumn<{
903
903
  name: "error_message";
904
904
  tableName: "trigger_invocations";
905
905
  dataType: "string";
@@ -916,7 +916,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
916
916
  identity: undefined;
917
917
  generated: undefined;
918
918
  }, {}, {}>;
919
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
919
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
920
920
  name: "created_at";
921
921
  tableName: "trigger_invocations";
922
922
  dataType: "string";
@@ -933,7 +933,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
933
933
  identity: undefined;
934
934
  generated: undefined;
935
935
  }, {}, {}>;
936
- agentId: drizzle_orm_pg_core1486.PgColumn<{
936
+ agentId: drizzle_orm_pg_core1289.PgColumn<{
937
937
  name: "agent_id";
938
938
  tableName: "trigger_invocations";
939
939
  dataType: "string";
@@ -952,7 +952,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
952
952
  }, {}, {
953
953
  length: 256;
954
954
  }>;
955
- projectId: drizzle_orm_pg_core1486.PgColumn<{
955
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
956
956
  name: "project_id";
957
957
  tableName: "trigger_invocations";
958
958
  dataType: "string";
@@ -971,7 +971,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
971
971
  }, {}, {
972
972
  length: 256;
973
973
  }>;
974
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
974
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
975
975
  name: "tenant_id";
976
976
  tableName: "trigger_invocations";
977
977
  dataType: "string";
@@ -990,7 +990,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
990
990
  }, {}, {
991
991
  length: 256;
992
992
  }>;
993
- id: drizzle_orm_pg_core1486.PgColumn<{
993
+ id: drizzle_orm_pg_core1289.PgColumn<{
994
994
  name: "id";
995
995
  tableName: "trigger_invocations";
996
996
  dataType: "string";
@@ -1012,924 +1012,11 @@ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
1012
1012
  };
1013
1013
  dialect: "pg";
1014
1014
  }>;
1015
- /**
1016
- * Slack workspace installations - records each Slack workspace installation.
1017
- * Enforces workspace -> tenant uniqueness and provides audit trail.
1018
- * Stores reference to Nango connection for token retrieval.
1019
- */
1020
- declare const workAppSlackWorkspaces: drizzle_orm_pg_core1486.PgTableWithColumns<{
1021
- name: "work_app_slack_workspaces";
1022
- schema: undefined;
1023
- columns: {
1024
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1025
- name: "created_at";
1026
- tableName: "work_app_slack_workspaces";
1027
- dataType: "string";
1028
- columnType: "PgTimestampString";
1029
- data: string;
1030
- driverParam: string;
1031
- notNull: true;
1032
- hasDefault: true;
1033
- isPrimaryKey: false;
1034
- isAutoincrement: false;
1035
- hasRuntimeDefault: false;
1036
- enumValues: undefined;
1037
- baseColumn: never;
1038
- identity: undefined;
1039
- generated: undefined;
1040
- }, {}, {}>;
1041
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1042
- name: "updated_at";
1043
- tableName: "work_app_slack_workspaces";
1044
- dataType: "string";
1045
- columnType: "PgTimestampString";
1046
- data: string;
1047
- driverParam: string;
1048
- notNull: true;
1049
- hasDefault: true;
1050
- isPrimaryKey: false;
1051
- isAutoincrement: false;
1052
- hasRuntimeDefault: false;
1053
- enumValues: undefined;
1054
- baseColumn: never;
1055
- identity: undefined;
1056
- generated: undefined;
1057
- }, {}, {}>;
1058
- id: drizzle_orm_pg_core1486.PgColumn<{
1059
- name: "id";
1060
- tableName: "work_app_slack_workspaces";
1061
- dataType: "string";
1062
- columnType: "PgVarchar";
1063
- data: string;
1064
- driverParam: string;
1065
- notNull: true;
1066
- hasDefault: false;
1067
- isPrimaryKey: true;
1068
- isAutoincrement: false;
1069
- hasRuntimeDefault: false;
1070
- enumValues: [string, ...string[]];
1071
- baseColumn: never;
1072
- identity: undefined;
1073
- generated: undefined;
1074
- }, {}, {
1075
- length: 256;
1076
- }>;
1077
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1078
- name: "tenant_id";
1079
- tableName: "work_app_slack_workspaces";
1080
- dataType: "string";
1081
- columnType: "PgVarchar";
1082
- data: string;
1083
- driverParam: string;
1084
- notNull: true;
1085
- hasDefault: false;
1086
- isPrimaryKey: false;
1087
- isAutoincrement: false;
1088
- hasRuntimeDefault: false;
1089
- enumValues: [string, ...string[]];
1090
- baseColumn: never;
1091
- identity: undefined;
1092
- generated: undefined;
1093
- }, {}, {
1094
- length: 256;
1095
- }>;
1096
- slackTeamId: drizzle_orm_pg_core1486.PgColumn<{
1097
- name: "slack_team_id";
1098
- tableName: "work_app_slack_workspaces";
1099
- dataType: "string";
1100
- columnType: "PgVarchar";
1101
- data: string;
1102
- driverParam: string;
1103
- notNull: true;
1104
- hasDefault: false;
1105
- isPrimaryKey: false;
1106
- isAutoincrement: false;
1107
- hasRuntimeDefault: false;
1108
- enumValues: [string, ...string[]];
1109
- baseColumn: never;
1110
- identity: undefined;
1111
- generated: undefined;
1112
- }, {}, {
1113
- length: 256;
1114
- }>;
1115
- slackEnterpriseId: drizzle_orm_pg_core1486.PgColumn<{
1116
- name: "slack_enterprise_id";
1117
- tableName: "work_app_slack_workspaces";
1118
- dataType: "string";
1119
- columnType: "PgVarchar";
1120
- data: string;
1121
- driverParam: string;
1122
- notNull: false;
1123
- hasDefault: false;
1124
- isPrimaryKey: false;
1125
- isAutoincrement: false;
1126
- hasRuntimeDefault: false;
1127
- enumValues: [string, ...string[]];
1128
- baseColumn: never;
1129
- identity: undefined;
1130
- generated: undefined;
1131
- }, {}, {
1132
- length: 256;
1133
- }>;
1134
- slackAppId: drizzle_orm_pg_core1486.PgColumn<{
1135
- name: "slack_app_id";
1136
- tableName: "work_app_slack_workspaces";
1137
- dataType: "string";
1138
- columnType: "PgVarchar";
1139
- data: string;
1140
- driverParam: string;
1141
- notNull: false;
1142
- hasDefault: false;
1143
- isPrimaryKey: false;
1144
- isAutoincrement: false;
1145
- hasRuntimeDefault: false;
1146
- enumValues: [string, ...string[]];
1147
- baseColumn: never;
1148
- identity: undefined;
1149
- generated: undefined;
1150
- }, {}, {
1151
- length: 256;
1152
- }>;
1153
- slackTeamName: drizzle_orm_pg_core1486.PgColumn<{
1154
- name: "slack_team_name";
1155
- tableName: "work_app_slack_workspaces";
1156
- dataType: "string";
1157
- columnType: "PgVarchar";
1158
- data: string;
1159
- driverParam: string;
1160
- notNull: false;
1161
- hasDefault: false;
1162
- isPrimaryKey: false;
1163
- isAutoincrement: false;
1164
- hasRuntimeDefault: false;
1165
- enumValues: [string, ...string[]];
1166
- baseColumn: never;
1167
- identity: undefined;
1168
- generated: undefined;
1169
- }, {}, {
1170
- length: 512;
1171
- }>;
1172
- nangoProviderConfigKey: drizzle_orm_pg_core1486.PgColumn<{
1173
- name: "nango_provider_config_key";
1174
- tableName: "work_app_slack_workspaces";
1175
- dataType: "string";
1176
- columnType: "PgVarchar";
1177
- data: string;
1178
- driverParam: string;
1179
- notNull: true;
1180
- hasDefault: true;
1181
- isPrimaryKey: false;
1182
- isAutoincrement: false;
1183
- hasRuntimeDefault: false;
1184
- enumValues: [string, ...string[]];
1185
- baseColumn: never;
1186
- identity: undefined;
1187
- generated: undefined;
1188
- }, {}, {
1189
- length: 256;
1190
- }>;
1191
- nangoConnectionId: drizzle_orm_pg_core1486.PgColumn<{
1192
- name: "nango_connection_id";
1193
- tableName: "work_app_slack_workspaces";
1194
- dataType: "string";
1195
- columnType: "PgVarchar";
1196
- data: string;
1197
- driverParam: string;
1198
- notNull: true;
1199
- hasDefault: false;
1200
- isPrimaryKey: false;
1201
- isAutoincrement: false;
1202
- hasRuntimeDefault: false;
1203
- enumValues: [string, ...string[]];
1204
- baseColumn: never;
1205
- identity: undefined;
1206
- generated: undefined;
1207
- }, {}, {
1208
- length: 256;
1209
- }>;
1210
- status: drizzle_orm_pg_core1486.PgColumn<{
1211
- name: "status";
1212
- tableName: "work_app_slack_workspaces";
1213
- dataType: "string";
1214
- columnType: "PgVarchar";
1215
- data: string;
1216
- driverParam: string;
1217
- notNull: true;
1218
- hasDefault: true;
1219
- isPrimaryKey: false;
1220
- isAutoincrement: false;
1221
- hasRuntimeDefault: false;
1222
- enumValues: [string, ...string[]];
1223
- baseColumn: never;
1224
- identity: undefined;
1225
- generated: undefined;
1226
- }, {}, {
1227
- length: 20;
1228
- }>;
1229
- installedByUserId: drizzle_orm_pg_core1486.PgColumn<{
1230
- name: "installed_by_user_id";
1231
- tableName: "work_app_slack_workspaces";
1232
- dataType: "string";
1233
- columnType: "PgText";
1234
- data: string;
1235
- driverParam: string;
1236
- notNull: false;
1237
- hasDefault: false;
1238
- isPrimaryKey: false;
1239
- isAutoincrement: false;
1240
- hasRuntimeDefault: false;
1241
- enumValues: [string, ...string[]];
1242
- baseColumn: never;
1243
- identity: undefined;
1244
- generated: undefined;
1245
- }, {}, {}>;
1246
- };
1247
- dialect: "pg";
1248
- }>;
1249
- /**
1250
- * Slack user mappings - maps Slack users to Inkeep users.
1251
- * Enables Slack users to trigger agents after linking their accounts.
1252
- * Unique per tenant + clientId + slackTeamId + slackUserId.
1253
- */
1254
- declare const workAppSlackUserMappings: drizzle_orm_pg_core1486.PgTableWithColumns<{
1255
- name: "work_app_slack_user_mappings";
1256
- schema: undefined;
1257
- columns: {
1258
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1259
- name: "created_at";
1260
- tableName: "work_app_slack_user_mappings";
1261
- dataType: "string";
1262
- columnType: "PgTimestampString";
1263
- data: string;
1264
- driverParam: string;
1265
- notNull: true;
1266
- hasDefault: true;
1267
- isPrimaryKey: false;
1268
- isAutoincrement: false;
1269
- hasRuntimeDefault: false;
1270
- enumValues: undefined;
1271
- baseColumn: never;
1272
- identity: undefined;
1273
- generated: undefined;
1274
- }, {}, {}>;
1275
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1276
- name: "updated_at";
1277
- tableName: "work_app_slack_user_mappings";
1278
- dataType: "string";
1279
- columnType: "PgTimestampString";
1280
- data: string;
1281
- driverParam: string;
1282
- notNull: true;
1283
- hasDefault: true;
1284
- isPrimaryKey: false;
1285
- isAutoincrement: false;
1286
- hasRuntimeDefault: false;
1287
- enumValues: undefined;
1288
- baseColumn: never;
1289
- identity: undefined;
1290
- generated: undefined;
1291
- }, {}, {}>;
1292
- id: drizzle_orm_pg_core1486.PgColumn<{
1293
- name: "id";
1294
- tableName: "work_app_slack_user_mappings";
1295
- dataType: "string";
1296
- columnType: "PgVarchar";
1297
- data: string;
1298
- driverParam: string;
1299
- notNull: true;
1300
- hasDefault: false;
1301
- isPrimaryKey: true;
1302
- isAutoincrement: false;
1303
- hasRuntimeDefault: false;
1304
- enumValues: [string, ...string[]];
1305
- baseColumn: never;
1306
- identity: undefined;
1307
- generated: undefined;
1308
- }, {}, {
1309
- length: 256;
1310
- }>;
1311
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1312
- name: "tenant_id";
1313
- tableName: "work_app_slack_user_mappings";
1314
- dataType: "string";
1315
- columnType: "PgVarchar";
1316
- data: string;
1317
- driverParam: string;
1318
- notNull: true;
1319
- hasDefault: false;
1320
- isPrimaryKey: false;
1321
- isAutoincrement: false;
1322
- hasRuntimeDefault: false;
1323
- enumValues: [string, ...string[]];
1324
- baseColumn: never;
1325
- identity: undefined;
1326
- generated: undefined;
1327
- }, {}, {
1328
- length: 256;
1329
- }>;
1330
- clientId: drizzle_orm_pg_core1486.PgColumn<{
1331
- name: "client_id";
1332
- tableName: "work_app_slack_user_mappings";
1333
- dataType: "string";
1334
- columnType: "PgVarchar";
1335
- data: string;
1336
- driverParam: string;
1337
- notNull: true;
1338
- hasDefault: true;
1339
- isPrimaryKey: false;
1340
- isAutoincrement: false;
1341
- hasRuntimeDefault: false;
1342
- enumValues: [string, ...string[]];
1343
- baseColumn: never;
1344
- identity: undefined;
1345
- generated: undefined;
1346
- }, {}, {
1347
- length: 256;
1348
- }>;
1349
- slackUserId: drizzle_orm_pg_core1486.PgColumn<{
1350
- name: "slack_user_id";
1351
- tableName: "work_app_slack_user_mappings";
1352
- dataType: "string";
1353
- columnType: "PgVarchar";
1354
- data: string;
1355
- driverParam: string;
1356
- notNull: true;
1357
- hasDefault: false;
1358
- isPrimaryKey: false;
1359
- isAutoincrement: false;
1360
- hasRuntimeDefault: false;
1361
- enumValues: [string, ...string[]];
1362
- baseColumn: never;
1363
- identity: undefined;
1364
- generated: undefined;
1365
- }, {}, {
1366
- length: 256;
1367
- }>;
1368
- slackTeamId: drizzle_orm_pg_core1486.PgColumn<{
1369
- name: "slack_team_id";
1370
- tableName: "work_app_slack_user_mappings";
1371
- dataType: "string";
1372
- columnType: "PgVarchar";
1373
- data: string;
1374
- driverParam: string;
1375
- notNull: true;
1376
- hasDefault: false;
1377
- isPrimaryKey: false;
1378
- isAutoincrement: false;
1379
- hasRuntimeDefault: false;
1380
- enumValues: [string, ...string[]];
1381
- baseColumn: never;
1382
- identity: undefined;
1383
- generated: undefined;
1384
- }, {}, {
1385
- length: 256;
1386
- }>;
1387
- slackEnterpriseId: drizzle_orm_pg_core1486.PgColumn<{
1388
- name: "slack_enterprise_id";
1389
- tableName: "work_app_slack_user_mappings";
1390
- dataType: "string";
1391
- columnType: "PgVarchar";
1392
- data: string;
1393
- driverParam: string;
1394
- notNull: false;
1395
- hasDefault: false;
1396
- isPrimaryKey: false;
1397
- isAutoincrement: false;
1398
- hasRuntimeDefault: false;
1399
- enumValues: [string, ...string[]];
1400
- baseColumn: never;
1401
- identity: undefined;
1402
- generated: undefined;
1403
- }, {}, {
1404
- length: 256;
1405
- }>;
1406
- inkeepUserId: drizzle_orm_pg_core1486.PgColumn<{
1407
- name: "inkeep_user_id";
1408
- tableName: "work_app_slack_user_mappings";
1409
- dataType: "string";
1410
- columnType: "PgText";
1411
- data: string;
1412
- driverParam: string;
1413
- notNull: true;
1414
- hasDefault: false;
1415
- isPrimaryKey: false;
1416
- isAutoincrement: false;
1417
- hasRuntimeDefault: false;
1418
- enumValues: [string, ...string[]];
1419
- baseColumn: never;
1420
- identity: undefined;
1421
- generated: undefined;
1422
- }, {}, {}>;
1423
- slackUsername: drizzle_orm_pg_core1486.PgColumn<{
1424
- name: "slack_username";
1425
- tableName: "work_app_slack_user_mappings";
1426
- dataType: "string";
1427
- columnType: "PgVarchar";
1428
- data: string;
1429
- driverParam: string;
1430
- notNull: false;
1431
- hasDefault: false;
1432
- isPrimaryKey: false;
1433
- isAutoincrement: false;
1434
- hasRuntimeDefault: false;
1435
- enumValues: [string, ...string[]];
1436
- baseColumn: never;
1437
- identity: undefined;
1438
- generated: undefined;
1439
- }, {}, {
1440
- length: 256;
1441
- }>;
1442
- slackEmail: drizzle_orm_pg_core1486.PgColumn<{
1443
- name: "slack_email";
1444
- tableName: "work_app_slack_user_mappings";
1445
- dataType: "string";
1446
- columnType: "PgVarchar";
1447
- data: string;
1448
- driverParam: string;
1449
- notNull: false;
1450
- hasDefault: false;
1451
- isPrimaryKey: false;
1452
- isAutoincrement: false;
1453
- hasRuntimeDefault: false;
1454
- enumValues: [string, ...string[]];
1455
- baseColumn: never;
1456
- identity: undefined;
1457
- generated: undefined;
1458
- }, {}, {
1459
- length: 256;
1460
- }>;
1461
- linkedAt: drizzle_orm_pg_core1486.PgColumn<{
1462
- name: "linked_at";
1463
- tableName: "work_app_slack_user_mappings";
1464
- dataType: "string";
1465
- columnType: "PgTimestampString";
1466
- data: string;
1467
- driverParam: string;
1468
- notNull: true;
1469
- hasDefault: true;
1470
- isPrimaryKey: false;
1471
- isAutoincrement: false;
1472
- hasRuntimeDefault: false;
1473
- enumValues: undefined;
1474
- baseColumn: never;
1475
- identity: undefined;
1476
- generated: undefined;
1477
- }, {}, {}>;
1478
- lastUsedAt: drizzle_orm_pg_core1486.PgColumn<{
1479
- name: "last_used_at";
1480
- tableName: "work_app_slack_user_mappings";
1481
- dataType: "string";
1482
- columnType: "PgTimestampString";
1483
- data: string;
1484
- driverParam: string;
1485
- notNull: false;
1486
- hasDefault: false;
1487
- isPrimaryKey: false;
1488
- isAutoincrement: false;
1489
- hasRuntimeDefault: false;
1490
- enumValues: undefined;
1491
- baseColumn: never;
1492
- identity: undefined;
1493
- generated: undefined;
1494
- }, {}, {}>;
1495
- };
1496
- dialect: "pg";
1497
- }>;
1498
- /**
1499
- * Slack channel agent configurations - maps Slack channels to default agents.
1500
- * Allows admins to set channel-specific agent defaults that override workspace defaults.
1501
- * Unique per tenant + slackTeamId + slackChannelId.
1502
- */
1503
- declare const workAppSlackChannelAgentConfigs: drizzle_orm_pg_core1486.PgTableWithColumns<{
1504
- name: "work_app_slack_channel_agent_configs";
1505
- schema: undefined;
1506
- columns: {
1507
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1508
- name: "created_at";
1509
- tableName: "work_app_slack_channel_agent_configs";
1510
- dataType: "string";
1511
- columnType: "PgTimestampString";
1512
- data: string;
1513
- driverParam: string;
1514
- notNull: true;
1515
- hasDefault: true;
1516
- isPrimaryKey: false;
1517
- isAutoincrement: false;
1518
- hasRuntimeDefault: false;
1519
- enumValues: undefined;
1520
- baseColumn: never;
1521
- identity: undefined;
1522
- generated: undefined;
1523
- }, {}, {}>;
1524
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1525
- name: "updated_at";
1526
- tableName: "work_app_slack_channel_agent_configs";
1527
- dataType: "string";
1528
- columnType: "PgTimestampString";
1529
- data: string;
1530
- driverParam: string;
1531
- notNull: true;
1532
- hasDefault: true;
1533
- isPrimaryKey: false;
1534
- isAutoincrement: false;
1535
- hasRuntimeDefault: false;
1536
- enumValues: undefined;
1537
- baseColumn: never;
1538
- identity: undefined;
1539
- generated: undefined;
1540
- }, {}, {}>;
1541
- id: drizzle_orm_pg_core1486.PgColumn<{
1542
- name: "id";
1543
- tableName: "work_app_slack_channel_agent_configs";
1544
- dataType: "string";
1545
- columnType: "PgVarchar";
1546
- data: string;
1547
- driverParam: string;
1548
- notNull: true;
1549
- hasDefault: false;
1550
- isPrimaryKey: true;
1551
- isAutoincrement: false;
1552
- hasRuntimeDefault: false;
1553
- enumValues: [string, ...string[]];
1554
- baseColumn: never;
1555
- identity: undefined;
1556
- generated: undefined;
1557
- }, {}, {
1558
- length: 256;
1559
- }>;
1560
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1561
- name: "tenant_id";
1562
- tableName: "work_app_slack_channel_agent_configs";
1563
- dataType: "string";
1564
- columnType: "PgVarchar";
1565
- data: string;
1566
- driverParam: string;
1567
- notNull: true;
1568
- hasDefault: false;
1569
- isPrimaryKey: false;
1570
- isAutoincrement: false;
1571
- hasRuntimeDefault: false;
1572
- enumValues: [string, ...string[]];
1573
- baseColumn: never;
1574
- identity: undefined;
1575
- generated: undefined;
1576
- }, {}, {
1577
- length: 256;
1578
- }>;
1579
- slackTeamId: drizzle_orm_pg_core1486.PgColumn<{
1580
- name: "slack_team_id";
1581
- tableName: "work_app_slack_channel_agent_configs";
1582
- dataType: "string";
1583
- columnType: "PgVarchar";
1584
- data: string;
1585
- driverParam: string;
1586
- notNull: true;
1587
- hasDefault: false;
1588
- isPrimaryKey: false;
1589
- isAutoincrement: false;
1590
- hasRuntimeDefault: false;
1591
- enumValues: [string, ...string[]];
1592
- baseColumn: never;
1593
- identity: undefined;
1594
- generated: undefined;
1595
- }, {}, {
1596
- length: 256;
1597
- }>;
1598
- slackChannelId: drizzle_orm_pg_core1486.PgColumn<{
1599
- name: "slack_channel_id";
1600
- tableName: "work_app_slack_channel_agent_configs";
1601
- dataType: "string";
1602
- columnType: "PgVarchar";
1603
- data: string;
1604
- driverParam: string;
1605
- notNull: true;
1606
- hasDefault: false;
1607
- isPrimaryKey: false;
1608
- isAutoincrement: false;
1609
- hasRuntimeDefault: false;
1610
- enumValues: [string, ...string[]];
1611
- baseColumn: never;
1612
- identity: undefined;
1613
- generated: undefined;
1614
- }, {}, {
1615
- length: 256;
1616
- }>;
1617
- slackChannelName: drizzle_orm_pg_core1486.PgColumn<{
1618
- name: "slack_channel_name";
1619
- tableName: "work_app_slack_channel_agent_configs";
1620
- dataType: "string";
1621
- columnType: "PgVarchar";
1622
- data: string;
1623
- driverParam: string;
1624
- notNull: false;
1625
- hasDefault: false;
1626
- isPrimaryKey: false;
1627
- isAutoincrement: false;
1628
- hasRuntimeDefault: false;
1629
- enumValues: [string, ...string[]];
1630
- baseColumn: never;
1631
- identity: undefined;
1632
- generated: undefined;
1633
- }, {}, {
1634
- length: 256;
1635
- }>;
1636
- slackChannelType: drizzle_orm_pg_core1486.PgColumn<{
1637
- name: "slack_channel_type";
1638
- tableName: "work_app_slack_channel_agent_configs";
1639
- dataType: "string";
1640
- columnType: "PgVarchar";
1641
- data: string;
1642
- driverParam: string;
1643
- notNull: false;
1644
- hasDefault: false;
1645
- isPrimaryKey: false;
1646
- isAutoincrement: false;
1647
- hasRuntimeDefault: false;
1648
- enumValues: [string, ...string[]];
1649
- baseColumn: never;
1650
- identity: undefined;
1651
- generated: undefined;
1652
- }, {}, {
1653
- length: 50;
1654
- }>;
1655
- projectId: drizzle_orm_pg_core1486.PgColumn<{
1656
- name: "project_id";
1657
- tableName: "work_app_slack_channel_agent_configs";
1658
- dataType: "string";
1659
- columnType: "PgVarchar";
1660
- data: string;
1661
- driverParam: string;
1662
- notNull: true;
1663
- hasDefault: false;
1664
- isPrimaryKey: false;
1665
- isAutoincrement: false;
1666
- hasRuntimeDefault: false;
1667
- enumValues: [string, ...string[]];
1668
- baseColumn: never;
1669
- identity: undefined;
1670
- generated: undefined;
1671
- }, {}, {
1672
- length: 256;
1673
- }>;
1674
- agentId: drizzle_orm_pg_core1486.PgColumn<{
1675
- name: "agent_id";
1676
- tableName: "work_app_slack_channel_agent_configs";
1677
- dataType: "string";
1678
- columnType: "PgVarchar";
1679
- data: string;
1680
- driverParam: string;
1681
- notNull: true;
1682
- hasDefault: false;
1683
- isPrimaryKey: false;
1684
- isAutoincrement: false;
1685
- hasRuntimeDefault: false;
1686
- enumValues: [string, ...string[]];
1687
- baseColumn: never;
1688
- identity: undefined;
1689
- generated: undefined;
1690
- }, {}, {
1691
- length: 256;
1692
- }>;
1693
- agentName: drizzle_orm_pg_core1486.PgColumn<{
1694
- name: "agent_name";
1695
- tableName: "work_app_slack_channel_agent_configs";
1696
- dataType: "string";
1697
- columnType: "PgVarchar";
1698
- data: string;
1699
- driverParam: string;
1700
- notNull: false;
1701
- hasDefault: false;
1702
- isPrimaryKey: false;
1703
- isAutoincrement: false;
1704
- hasRuntimeDefault: false;
1705
- enumValues: [string, ...string[]];
1706
- baseColumn: never;
1707
- identity: undefined;
1708
- generated: undefined;
1709
- }, {}, {
1710
- length: 256;
1711
- }>;
1712
- configuredByUserId: drizzle_orm_pg_core1486.PgColumn<{
1713
- name: "configured_by_user_id";
1714
- tableName: "work_app_slack_channel_agent_configs";
1715
- dataType: "string";
1716
- columnType: "PgText";
1717
- data: string;
1718
- driverParam: string;
1719
- notNull: false;
1720
- hasDefault: false;
1721
- isPrimaryKey: false;
1722
- isAutoincrement: false;
1723
- hasRuntimeDefault: false;
1724
- enumValues: [string, ...string[]];
1725
- baseColumn: never;
1726
- identity: undefined;
1727
- generated: undefined;
1728
- }, {}, {}>;
1729
- enabled: drizzle_orm_pg_core1486.PgColumn<{
1730
- name: "enabled";
1731
- tableName: "work_app_slack_channel_agent_configs";
1732
- dataType: "boolean";
1733
- columnType: "PgBoolean";
1734
- data: boolean;
1735
- driverParam: boolean;
1736
- notNull: true;
1737
- hasDefault: true;
1738
- isPrimaryKey: false;
1739
- isAutoincrement: false;
1740
- hasRuntimeDefault: false;
1741
- enumValues: undefined;
1742
- baseColumn: never;
1743
- identity: undefined;
1744
- generated: undefined;
1745
- }, {}, {}>;
1746
- };
1747
- dialect: "pg";
1748
- }>;
1749
- /**
1750
- * Slack user personal settings - user-specific default agent preferences.
1751
- * Allows individual users to set their own default agent for /inkeep trigger.
1752
- * Unique per tenant + slackTeamId + slackUserId.
1753
- */
1754
- declare const workAppSlackUserSettings: drizzle_orm_pg_core1486.PgTableWithColumns<{
1755
- name: "work_app_slack_user_settings";
1756
- schema: undefined;
1757
- columns: {
1758
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1759
- name: "created_at";
1760
- tableName: "work_app_slack_user_settings";
1761
- dataType: "string";
1762
- columnType: "PgTimestampString";
1763
- data: string;
1764
- driverParam: string;
1765
- notNull: true;
1766
- hasDefault: true;
1767
- isPrimaryKey: false;
1768
- isAutoincrement: false;
1769
- hasRuntimeDefault: false;
1770
- enumValues: undefined;
1771
- baseColumn: never;
1772
- identity: undefined;
1773
- generated: undefined;
1774
- }, {}, {}>;
1775
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1776
- name: "updated_at";
1777
- tableName: "work_app_slack_user_settings";
1778
- dataType: "string";
1779
- columnType: "PgTimestampString";
1780
- data: string;
1781
- driverParam: string;
1782
- notNull: true;
1783
- hasDefault: true;
1784
- isPrimaryKey: false;
1785
- isAutoincrement: false;
1786
- hasRuntimeDefault: false;
1787
- enumValues: undefined;
1788
- baseColumn: never;
1789
- identity: undefined;
1790
- generated: undefined;
1791
- }, {}, {}>;
1792
- id: drizzle_orm_pg_core1486.PgColumn<{
1793
- name: "id";
1794
- tableName: "work_app_slack_user_settings";
1795
- dataType: "string";
1796
- columnType: "PgVarchar";
1797
- data: string;
1798
- driverParam: string;
1799
- notNull: true;
1800
- hasDefault: false;
1801
- isPrimaryKey: true;
1802
- isAutoincrement: false;
1803
- hasRuntimeDefault: false;
1804
- enumValues: [string, ...string[]];
1805
- baseColumn: never;
1806
- identity: undefined;
1807
- generated: undefined;
1808
- }, {}, {
1809
- length: 256;
1810
- }>;
1811
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1812
- name: "tenant_id";
1813
- tableName: "work_app_slack_user_settings";
1814
- dataType: "string";
1815
- columnType: "PgVarchar";
1816
- data: string;
1817
- driverParam: string;
1818
- notNull: true;
1819
- hasDefault: false;
1820
- isPrimaryKey: false;
1821
- isAutoincrement: false;
1822
- hasRuntimeDefault: false;
1823
- enumValues: [string, ...string[]];
1824
- baseColumn: never;
1825
- identity: undefined;
1826
- generated: undefined;
1827
- }, {}, {
1828
- length: 256;
1829
- }>;
1830
- slackTeamId: drizzle_orm_pg_core1486.PgColumn<{
1831
- name: "slack_team_id";
1832
- tableName: "work_app_slack_user_settings";
1833
- dataType: "string";
1834
- columnType: "PgVarchar";
1835
- data: string;
1836
- driverParam: string;
1837
- notNull: true;
1838
- hasDefault: false;
1839
- isPrimaryKey: false;
1840
- isAutoincrement: false;
1841
- hasRuntimeDefault: false;
1842
- enumValues: [string, ...string[]];
1843
- baseColumn: never;
1844
- identity: undefined;
1845
- generated: undefined;
1846
- }, {}, {
1847
- length: 256;
1848
- }>;
1849
- slackUserId: drizzle_orm_pg_core1486.PgColumn<{
1850
- name: "slack_user_id";
1851
- tableName: "work_app_slack_user_settings";
1852
- dataType: "string";
1853
- columnType: "PgVarchar";
1854
- data: string;
1855
- driverParam: string;
1856
- notNull: true;
1857
- hasDefault: false;
1858
- isPrimaryKey: false;
1859
- isAutoincrement: false;
1860
- hasRuntimeDefault: false;
1861
- enumValues: [string, ...string[]];
1862
- baseColumn: never;
1863
- identity: undefined;
1864
- generated: undefined;
1865
- }, {}, {
1866
- length: 256;
1867
- }>;
1868
- defaultProjectId: drizzle_orm_pg_core1486.PgColumn<{
1869
- name: "default_project_id";
1870
- tableName: "work_app_slack_user_settings";
1871
- dataType: "string";
1872
- columnType: "PgVarchar";
1873
- data: string;
1874
- driverParam: string;
1875
- notNull: false;
1876
- hasDefault: false;
1877
- isPrimaryKey: false;
1878
- isAutoincrement: false;
1879
- hasRuntimeDefault: false;
1880
- enumValues: [string, ...string[]];
1881
- baseColumn: never;
1882
- identity: undefined;
1883
- generated: undefined;
1884
- }, {}, {
1885
- length: 256;
1886
- }>;
1887
- defaultAgentId: drizzle_orm_pg_core1486.PgColumn<{
1888
- name: "default_agent_id";
1889
- tableName: "work_app_slack_user_settings";
1890
- dataType: "string";
1891
- columnType: "PgVarchar";
1892
- data: string;
1893
- driverParam: string;
1894
- notNull: false;
1895
- hasDefault: false;
1896
- isPrimaryKey: false;
1897
- isAutoincrement: false;
1898
- hasRuntimeDefault: false;
1899
- enumValues: [string, ...string[]];
1900
- baseColumn: never;
1901
- identity: undefined;
1902
- generated: undefined;
1903
- }, {}, {
1904
- length: 256;
1905
- }>;
1906
- defaultAgentName: drizzle_orm_pg_core1486.PgColumn<{
1907
- name: "default_agent_name";
1908
- tableName: "work_app_slack_user_settings";
1909
- dataType: "string";
1910
- columnType: "PgVarchar";
1911
- data: string;
1912
- driverParam: string;
1913
- notNull: false;
1914
- hasDefault: false;
1915
- isPrimaryKey: false;
1916
- isAutoincrement: false;
1917
- hasRuntimeDefault: false;
1918
- enumValues: [string, ...string[]];
1919
- baseColumn: never;
1920
- identity: undefined;
1921
- generated: undefined;
1922
- }, {}, {
1923
- length: 256;
1924
- }>;
1925
- };
1926
- dialect: "pg";
1927
- }>;
1928
- declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
1015
+ declare const messages: drizzle_orm_pg_core1289.PgTableWithColumns<{
1929
1016
  name: "messages";
1930
1017
  schema: undefined;
1931
1018
  columns: {
1932
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1019
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
1933
1020
  name: "created_at";
1934
1021
  tableName: "messages";
1935
1022
  dataType: "string";
@@ -1946,7 +1033,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
1946
1033
  identity: undefined;
1947
1034
  generated: undefined;
1948
1035
  }, {}, {}>;
1949
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1036
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
1950
1037
  name: "updated_at";
1951
1038
  tableName: "messages";
1952
1039
  dataType: "string";
@@ -1963,7 +1050,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
1963
1050
  identity: undefined;
1964
1051
  generated: undefined;
1965
1052
  }, {}, {}>;
1966
- conversationId: drizzle_orm_pg_core1486.PgColumn<{
1053
+ conversationId: drizzle_orm_pg_core1289.PgColumn<{
1967
1054
  name: "conversation_id";
1968
1055
  tableName: "messages";
1969
1056
  dataType: "string";
@@ -1982,7 +1069,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
1982
1069
  }, {}, {
1983
1070
  length: 256;
1984
1071
  }>;
1985
- role: drizzle_orm_pg_core1486.PgColumn<{
1072
+ role: drizzle_orm_pg_core1289.PgColumn<{
1986
1073
  name: "role";
1987
1074
  tableName: "messages";
1988
1075
  dataType: "string";
@@ -2001,7 +1088,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2001
1088
  }, {}, {
2002
1089
  length: 256;
2003
1090
  }>;
2004
- fromSubAgentId: drizzle_orm_pg_core1486.PgColumn<{
1091
+ fromSubAgentId: drizzle_orm_pg_core1289.PgColumn<{
2005
1092
  name: "from_sub_agent_id";
2006
1093
  tableName: "messages";
2007
1094
  dataType: "string";
@@ -2020,7 +1107,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2020
1107
  }, {}, {
2021
1108
  length: 256;
2022
1109
  }>;
2023
- toSubAgentId: drizzle_orm_pg_core1486.PgColumn<{
1110
+ toSubAgentId: drizzle_orm_pg_core1289.PgColumn<{
2024
1111
  name: "to_sub_agent_id";
2025
1112
  tableName: "messages";
2026
1113
  dataType: "string";
@@ -2039,7 +1126,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2039
1126
  }, {}, {
2040
1127
  length: 256;
2041
1128
  }>;
2042
- fromExternalAgentId: drizzle_orm_pg_core1486.PgColumn<{
1129
+ fromExternalAgentId: drizzle_orm_pg_core1289.PgColumn<{
2043
1130
  name: "from_external_sub_agent_id";
2044
1131
  tableName: "messages";
2045
1132
  dataType: "string";
@@ -2058,7 +1145,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2058
1145
  }, {}, {
2059
1146
  length: 256;
2060
1147
  }>;
2061
- toExternalAgentId: drizzle_orm_pg_core1486.PgColumn<{
1148
+ toExternalAgentId: drizzle_orm_pg_core1289.PgColumn<{
2062
1149
  name: "to_external_sub_agent_id";
2063
1150
  tableName: "messages";
2064
1151
  dataType: "string";
@@ -2077,7 +1164,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2077
1164
  }, {}, {
2078
1165
  length: 256;
2079
1166
  }>;
2080
- fromTeamAgentId: drizzle_orm_pg_core1486.PgColumn<{
1167
+ fromTeamAgentId: drizzle_orm_pg_core1289.PgColumn<{
2081
1168
  name: "from_team_agent_id";
2082
1169
  tableName: "messages";
2083
1170
  dataType: "string";
@@ -2096,7 +1183,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2096
1183
  }, {}, {
2097
1184
  length: 256;
2098
1185
  }>;
2099
- toTeamAgentId: drizzle_orm_pg_core1486.PgColumn<{
1186
+ toTeamAgentId: drizzle_orm_pg_core1289.PgColumn<{
2100
1187
  name: "to_team_agent_id";
2101
1188
  tableName: "messages";
2102
1189
  dataType: "string";
@@ -2115,7 +1202,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2115
1202
  }, {}, {
2116
1203
  length: 256;
2117
1204
  }>;
2118
- content: drizzle_orm_pg_core1486.PgColumn<{
1205
+ content: drizzle_orm_pg_core1289.PgColumn<{
2119
1206
  name: "content";
2120
1207
  tableName: "messages";
2121
1208
  dataType: "json";
@@ -2134,7 +1221,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2134
1221
  }, {}, {
2135
1222
  $type: MessageContent;
2136
1223
  }>;
2137
- visibility: drizzle_orm_pg_core1486.PgColumn<{
1224
+ visibility: drizzle_orm_pg_core1289.PgColumn<{
2138
1225
  name: "visibility";
2139
1226
  tableName: "messages";
2140
1227
  dataType: "string";
@@ -2153,7 +1240,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2153
1240
  }, {}, {
2154
1241
  length: 256;
2155
1242
  }>;
2156
- messageType: drizzle_orm_pg_core1486.PgColumn<{
1243
+ messageType: drizzle_orm_pg_core1289.PgColumn<{
2157
1244
  name: "message_type";
2158
1245
  tableName: "messages";
2159
1246
  dataType: "string";
@@ -2172,7 +1259,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2172
1259
  }, {}, {
2173
1260
  length: 256;
2174
1261
  }>;
2175
- taskId: drizzle_orm_pg_core1486.PgColumn<{
1262
+ taskId: drizzle_orm_pg_core1289.PgColumn<{
2176
1263
  name: "task_id";
2177
1264
  tableName: "messages";
2178
1265
  dataType: "string";
@@ -2191,7 +1278,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2191
1278
  }, {}, {
2192
1279
  length: 256;
2193
1280
  }>;
2194
- parentMessageId: drizzle_orm_pg_core1486.PgColumn<{
1281
+ parentMessageId: drizzle_orm_pg_core1289.PgColumn<{
2195
1282
  name: "parent_message_id";
2196
1283
  tableName: "messages";
2197
1284
  dataType: "string";
@@ -2210,7 +1297,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2210
1297
  }, {}, {
2211
1298
  length: 256;
2212
1299
  }>;
2213
- a2aTaskId: drizzle_orm_pg_core1486.PgColumn<{
1300
+ a2aTaskId: drizzle_orm_pg_core1289.PgColumn<{
2214
1301
  name: "a2a_task_id";
2215
1302
  tableName: "messages";
2216
1303
  dataType: "string";
@@ -2229,7 +1316,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2229
1316
  }, {}, {
2230
1317
  length: 256;
2231
1318
  }>;
2232
- a2aSessionId: drizzle_orm_pg_core1486.PgColumn<{
1319
+ a2aSessionId: drizzle_orm_pg_core1289.PgColumn<{
2233
1320
  name: "a2a_session_id";
2234
1321
  tableName: "messages";
2235
1322
  dataType: "string";
@@ -2248,7 +1335,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2248
1335
  }, {}, {
2249
1336
  length: 256;
2250
1337
  }>;
2251
- metadata: drizzle_orm_pg_core1486.PgColumn<{
1338
+ metadata: drizzle_orm_pg_core1289.PgColumn<{
2252
1339
  name: "metadata";
2253
1340
  tableName: "messages";
2254
1341
  dataType: "json";
@@ -2267,7 +1354,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2267
1354
  }, {}, {
2268
1355
  $type: MessageMetadata;
2269
1356
  }>;
2270
- projectId: drizzle_orm_pg_core1486.PgColumn<{
1357
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
2271
1358
  name: "project_id";
2272
1359
  tableName: "messages";
2273
1360
  dataType: "string";
@@ -2286,7 +1373,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2286
1373
  }, {}, {
2287
1374
  length: 256;
2288
1375
  }>;
2289
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1376
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
2290
1377
  name: "tenant_id";
2291
1378
  tableName: "messages";
2292
1379
  dataType: "string";
@@ -2305,7 +1392,7 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2305
1392
  }, {}, {
2306
1393
  length: 256;
2307
1394
  }>;
2308
- id: drizzle_orm_pg_core1486.PgColumn<{
1395
+ id: drizzle_orm_pg_core1289.PgColumn<{
2309
1396
  name: "id";
2310
1397
  tableName: "messages";
2311
1398
  dataType: "string";
@@ -2327,11 +1414,11 @@ declare const messages: drizzle_orm_pg_core1486.PgTableWithColumns<{
2327
1414
  };
2328
1415
  dialect: "pg";
2329
1416
  }>;
2330
- declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
1417
+ declare const taskRelations: drizzle_orm_pg_core1289.PgTableWithColumns<{
2331
1418
  name: "task_relations";
2332
1419
  schema: undefined;
2333
1420
  columns: {
2334
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1421
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
2335
1422
  name: "created_at";
2336
1423
  tableName: "task_relations";
2337
1424
  dataType: "string";
@@ -2348,7 +1435,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2348
1435
  identity: undefined;
2349
1436
  generated: undefined;
2350
1437
  }, {}, {}>;
2351
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1438
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
2352
1439
  name: "updated_at";
2353
1440
  tableName: "task_relations";
2354
1441
  dataType: "string";
@@ -2365,7 +1452,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2365
1452
  identity: undefined;
2366
1453
  generated: undefined;
2367
1454
  }, {}, {}>;
2368
- parentTaskId: drizzle_orm_pg_core1486.PgColumn<{
1455
+ parentTaskId: drizzle_orm_pg_core1289.PgColumn<{
2369
1456
  name: "parent_task_id";
2370
1457
  tableName: "task_relations";
2371
1458
  dataType: "string";
@@ -2384,7 +1471,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2384
1471
  }, {}, {
2385
1472
  length: 256;
2386
1473
  }>;
2387
- childTaskId: drizzle_orm_pg_core1486.PgColumn<{
1474
+ childTaskId: drizzle_orm_pg_core1289.PgColumn<{
2388
1475
  name: "child_task_id";
2389
1476
  tableName: "task_relations";
2390
1477
  dataType: "string";
@@ -2403,7 +1490,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2403
1490
  }, {}, {
2404
1491
  length: 256;
2405
1492
  }>;
2406
- relationType: drizzle_orm_pg_core1486.PgColumn<{
1493
+ relationType: drizzle_orm_pg_core1289.PgColumn<{
2407
1494
  name: "relation_type";
2408
1495
  tableName: "task_relations";
2409
1496
  dataType: "string";
@@ -2422,7 +1509,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2422
1509
  }, {}, {
2423
1510
  length: 256;
2424
1511
  }>;
2425
- projectId: drizzle_orm_pg_core1486.PgColumn<{
1512
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
2426
1513
  name: "project_id";
2427
1514
  tableName: "task_relations";
2428
1515
  dataType: "string";
@@ -2441,7 +1528,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2441
1528
  }, {}, {
2442
1529
  length: 256;
2443
1530
  }>;
2444
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1531
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
2445
1532
  name: "tenant_id";
2446
1533
  tableName: "task_relations";
2447
1534
  dataType: "string";
@@ -2460,7 +1547,7 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2460
1547
  }, {}, {
2461
1548
  length: 256;
2462
1549
  }>;
2463
- id: drizzle_orm_pg_core1486.PgColumn<{
1550
+ id: drizzle_orm_pg_core1289.PgColumn<{
2464
1551
  name: "id";
2465
1552
  tableName: "task_relations";
2466
1553
  dataType: "string";
@@ -2482,11 +1569,11 @@ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2482
1569
  };
2483
1570
  dialect: "pg";
2484
1571
  }>;
2485
- declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
1572
+ declare const ledgerArtifacts: drizzle_orm_pg_core1289.PgTableWithColumns<{
2486
1573
  name: "ledger_artifacts";
2487
1574
  schema: undefined;
2488
1575
  columns: {
2489
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1576
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
2490
1577
  name: "created_at";
2491
1578
  tableName: "ledger_artifacts";
2492
1579
  dataType: "string";
@@ -2503,7 +1590,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2503
1590
  identity: undefined;
2504
1591
  generated: undefined;
2505
1592
  }, {}, {}>;
2506
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1593
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
2507
1594
  name: "updated_at";
2508
1595
  tableName: "ledger_artifacts";
2509
1596
  dataType: "string";
@@ -2520,7 +1607,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2520
1607
  identity: undefined;
2521
1608
  generated: undefined;
2522
1609
  }, {}, {}>;
2523
- taskId: drizzle_orm_pg_core1486.PgColumn<{
1610
+ taskId: drizzle_orm_pg_core1289.PgColumn<{
2524
1611
  name: "task_id";
2525
1612
  tableName: "ledger_artifacts";
2526
1613
  dataType: "string";
@@ -2539,7 +1626,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2539
1626
  }, {}, {
2540
1627
  length: 256;
2541
1628
  }>;
2542
- toolCallId: drizzle_orm_pg_core1486.PgColumn<{
1629
+ toolCallId: drizzle_orm_pg_core1289.PgColumn<{
2543
1630
  name: "tool_call_id";
2544
1631
  tableName: "ledger_artifacts";
2545
1632
  dataType: "string";
@@ -2558,7 +1645,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2558
1645
  }, {}, {
2559
1646
  length: 256;
2560
1647
  }>;
2561
- contextId: drizzle_orm_pg_core1486.PgColumn<{
1648
+ contextId: drizzle_orm_pg_core1289.PgColumn<{
2562
1649
  name: "context_id";
2563
1650
  tableName: "ledger_artifacts";
2564
1651
  dataType: "string";
@@ -2577,7 +1664,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2577
1664
  }, {}, {
2578
1665
  length: 256;
2579
1666
  }>;
2580
- type: drizzle_orm_pg_core1486.PgColumn<{
1667
+ type: drizzle_orm_pg_core1289.PgColumn<{
2581
1668
  name: "type";
2582
1669
  tableName: "ledger_artifacts";
2583
1670
  dataType: "string";
@@ -2596,7 +1683,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2596
1683
  }, {}, {
2597
1684
  length: 256;
2598
1685
  }>;
2599
- name: drizzle_orm_pg_core1486.PgColumn<{
1686
+ name: drizzle_orm_pg_core1289.PgColumn<{
2600
1687
  name: "name";
2601
1688
  tableName: "ledger_artifacts";
2602
1689
  dataType: "string";
@@ -2615,7 +1702,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2615
1702
  }, {}, {
2616
1703
  length: 256;
2617
1704
  }>;
2618
- description: drizzle_orm_pg_core1486.PgColumn<{
1705
+ description: drizzle_orm_pg_core1289.PgColumn<{
2619
1706
  name: "description";
2620
1707
  tableName: "ledger_artifacts";
2621
1708
  dataType: "string";
@@ -2632,7 +1719,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2632
1719
  identity: undefined;
2633
1720
  generated: undefined;
2634
1721
  }, {}, {}>;
2635
- parts: drizzle_orm_pg_core1486.PgColumn<{
1722
+ parts: drizzle_orm_pg_core1289.PgColumn<{
2636
1723
  name: "parts";
2637
1724
  tableName: "ledger_artifacts";
2638
1725
  dataType: "json";
@@ -2651,7 +1738,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2651
1738
  }, {}, {
2652
1739
  $type: Part[] | null;
2653
1740
  }>;
2654
- metadata: drizzle_orm_pg_core1486.PgColumn<{
1741
+ metadata: drizzle_orm_pg_core1289.PgColumn<{
2655
1742
  name: "metadata";
2656
1743
  tableName: "ledger_artifacts";
2657
1744
  dataType: "json";
@@ -2670,7 +1757,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2670
1757
  }, {}, {
2671
1758
  $type: Record<string, unknown> | null;
2672
1759
  }>;
2673
- summary: drizzle_orm_pg_core1486.PgColumn<{
1760
+ summary: drizzle_orm_pg_core1289.PgColumn<{
2674
1761
  name: "summary";
2675
1762
  tableName: "ledger_artifacts";
2676
1763
  dataType: "string";
@@ -2687,7 +1774,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2687
1774
  identity: undefined;
2688
1775
  generated: undefined;
2689
1776
  }, {}, {}>;
2690
- mime: drizzle_orm_pg_core1486.PgColumn<{
1777
+ mime: drizzle_orm_pg_core1289.PgColumn<{
2691
1778
  name: "mime";
2692
1779
  tableName: "ledger_artifacts";
2693
1780
  dataType: "json";
@@ -2706,7 +1793,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2706
1793
  }, {}, {
2707
1794
  $type: string[] | null;
2708
1795
  }>;
2709
- visibility: drizzle_orm_pg_core1486.PgColumn<{
1796
+ visibility: drizzle_orm_pg_core1289.PgColumn<{
2710
1797
  name: "visibility";
2711
1798
  tableName: "ledger_artifacts";
2712
1799
  dataType: "string";
@@ -2725,7 +1812,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2725
1812
  }, {}, {
2726
1813
  length: 256;
2727
1814
  }>;
2728
- allowedAgents: drizzle_orm_pg_core1486.PgColumn<{
1815
+ allowedAgents: drizzle_orm_pg_core1289.PgColumn<{
2729
1816
  name: "allowed_agents";
2730
1817
  tableName: "ledger_artifacts";
2731
1818
  dataType: "json";
@@ -2744,7 +1831,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2744
1831
  }, {}, {
2745
1832
  $type: string[] | null;
2746
1833
  }>;
2747
- derivedFrom: drizzle_orm_pg_core1486.PgColumn<{
1834
+ derivedFrom: drizzle_orm_pg_core1289.PgColumn<{
2748
1835
  name: "derived_from";
2749
1836
  tableName: "ledger_artifacts";
2750
1837
  dataType: "string";
@@ -2763,7 +1850,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2763
1850
  }, {}, {
2764
1851
  length: 256;
2765
1852
  }>;
2766
- projectId: drizzle_orm_pg_core1486.PgColumn<{
1853
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
2767
1854
  name: "project_id";
2768
1855
  tableName: "ledger_artifacts";
2769
1856
  dataType: "string";
@@ -2782,7 +1869,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2782
1869
  }, {}, {
2783
1870
  length: 256;
2784
1871
  }>;
2785
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
1872
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
2786
1873
  name: "tenant_id";
2787
1874
  tableName: "ledger_artifacts";
2788
1875
  dataType: "string";
@@ -2801,7 +1888,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2801
1888
  }, {}, {
2802
1889
  length: 256;
2803
1890
  }>;
2804
- id: drizzle_orm_pg_core1486.PgColumn<{
1891
+ id: drizzle_orm_pg_core1289.PgColumn<{
2805
1892
  name: "id";
2806
1893
  tableName: "ledger_artifacts";
2807
1894
  dataType: "string";
@@ -2823,11 +1910,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
2823
1910
  };
2824
1911
  dialect: "pg";
2825
1912
  }>;
2826
- declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
1913
+ declare const contextCache: drizzle_orm_pg_core1289.PgTableWithColumns<{
2827
1914
  name: "context_cache";
2828
1915
  schema: undefined;
2829
1916
  columns: {
2830
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
1917
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
2831
1918
  name: "created_at";
2832
1919
  tableName: "context_cache";
2833
1920
  dataType: "string";
@@ -2844,7 +1931,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2844
1931
  identity: undefined;
2845
1932
  generated: undefined;
2846
1933
  }, {}, {}>;
2847
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1934
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
2848
1935
  name: "updated_at";
2849
1936
  tableName: "context_cache";
2850
1937
  dataType: "string";
@@ -2861,7 +1948,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2861
1948
  identity: undefined;
2862
1949
  generated: undefined;
2863
1950
  }, {}, {}>;
2864
- conversationId: drizzle_orm_pg_core1486.PgColumn<{
1951
+ conversationId: drizzle_orm_pg_core1289.PgColumn<{
2865
1952
  name: "conversation_id";
2866
1953
  tableName: "context_cache";
2867
1954
  dataType: "string";
@@ -2880,7 +1967,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2880
1967
  }, {}, {
2881
1968
  length: 256;
2882
1969
  }>;
2883
- contextConfigId: drizzle_orm_pg_core1486.PgColumn<{
1970
+ contextConfigId: drizzle_orm_pg_core1289.PgColumn<{
2884
1971
  name: "context_config_id";
2885
1972
  tableName: "context_cache";
2886
1973
  dataType: "string";
@@ -2899,7 +1986,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2899
1986
  }, {}, {
2900
1987
  length: 256;
2901
1988
  }>;
2902
- contextVariableKey: drizzle_orm_pg_core1486.PgColumn<{
1989
+ contextVariableKey: drizzle_orm_pg_core1289.PgColumn<{
2903
1990
  name: "context_variable_key";
2904
1991
  tableName: "context_cache";
2905
1992
  dataType: "string";
@@ -2918,13 +2005,13 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2918
2005
  }, {}, {
2919
2006
  length: 256;
2920
2007
  }>;
2921
- ref: drizzle_orm_pg_core1486.PgColumn<{
2008
+ ref: drizzle_orm_pg_core1289.PgColumn<{
2922
2009
  name: "ref";
2923
2010
  tableName: "context_cache";
2924
2011
  dataType: "json";
2925
2012
  columnType: "PgJsonb";
2926
2013
  data: {
2927
- type: "tag" | "commit" | "branch";
2014
+ type: "commit" | "tag" | "branch";
2928
2015
  name: string;
2929
2016
  hash: string;
2930
2017
  };
@@ -2940,12 +2027,12 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2940
2027
  generated: undefined;
2941
2028
  }, {}, {
2942
2029
  $type: {
2943
- type: "tag" | "commit" | "branch";
2030
+ type: "commit" | "tag" | "branch";
2944
2031
  name: string;
2945
2032
  hash: string;
2946
2033
  };
2947
2034
  }>;
2948
- value: drizzle_orm_pg_core1486.PgColumn<{
2035
+ value: drizzle_orm_pg_core1289.PgColumn<{
2949
2036
  name: "value";
2950
2037
  tableName: "context_cache";
2951
2038
  dataType: "json";
@@ -2964,7 +2051,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2964
2051
  }, {}, {
2965
2052
  $type: unknown;
2966
2053
  }>;
2967
- requestHash: drizzle_orm_pg_core1486.PgColumn<{
2054
+ requestHash: drizzle_orm_pg_core1289.PgColumn<{
2968
2055
  name: "request_hash";
2969
2056
  tableName: "context_cache";
2970
2057
  dataType: "string";
@@ -2983,7 +2070,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
2983
2070
  }, {}, {
2984
2071
  length: 256;
2985
2072
  }>;
2986
- fetchedAt: drizzle_orm_pg_core1486.PgColumn<{
2073
+ fetchedAt: drizzle_orm_pg_core1289.PgColumn<{
2987
2074
  name: "fetched_at";
2988
2075
  tableName: "context_cache";
2989
2076
  dataType: "string";
@@ -3000,7 +2087,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
3000
2087
  identity: undefined;
3001
2088
  generated: undefined;
3002
2089
  }, {}, {}>;
3003
- fetchSource: drizzle_orm_pg_core1486.PgColumn<{
2090
+ fetchSource: drizzle_orm_pg_core1289.PgColumn<{
3004
2091
  name: "fetch_source";
3005
2092
  tableName: "context_cache";
3006
2093
  dataType: "string";
@@ -3019,7 +2106,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
3019
2106
  }, {}, {
3020
2107
  length: 256;
3021
2108
  }>;
3022
- projectId: drizzle_orm_pg_core1486.PgColumn<{
2109
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
3023
2110
  name: "project_id";
3024
2111
  tableName: "context_cache";
3025
2112
  dataType: "string";
@@ -3038,7 +2125,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
3038
2125
  }, {}, {
3039
2126
  length: 256;
3040
2127
  }>;
3041
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
2128
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
3042
2129
  name: "tenant_id";
3043
2130
  tableName: "context_cache";
3044
2131
  dataType: "string";
@@ -3057,7 +2144,7 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
3057
2144
  }, {}, {
3058
2145
  length: 256;
3059
2146
  }>;
3060
- id: drizzle_orm_pg_core1486.PgColumn<{
2147
+ id: drizzle_orm_pg_core1289.PgColumn<{
3061
2148
  name: "id";
3062
2149
  tableName: "context_cache";
3063
2150
  dataType: "string";
@@ -3092,11 +2179,11 @@ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
3092
2179
  * datasetRunConfigId (optional: if created from a config),
3093
2180
  * evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
3094
2181
  */
3095
- declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
2182
+ declare const datasetRun: drizzle_orm_pg_core1289.PgTableWithColumns<{
3096
2183
  name: "dataset_run";
3097
2184
  schema: undefined;
3098
2185
  columns: {
3099
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
2186
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
3100
2187
  name: "created_at";
3101
2188
  tableName: "dataset_run";
3102
2189
  dataType: "string";
@@ -3113,7 +2200,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3113
2200
  identity: undefined;
3114
2201
  generated: undefined;
3115
2202
  }, {}, {}>;
3116
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2203
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
3117
2204
  name: "updated_at";
3118
2205
  tableName: "dataset_run";
3119
2206
  dataType: "string";
@@ -3130,7 +2217,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3130
2217
  identity: undefined;
3131
2218
  generated: undefined;
3132
2219
  }, {}, {}>;
3133
- datasetId: drizzle_orm_pg_core1486.PgColumn<{
2220
+ datasetId: drizzle_orm_pg_core1289.PgColumn<{
3134
2221
  name: "dataset_id";
3135
2222
  tableName: "dataset_run";
3136
2223
  dataType: "string";
@@ -3147,7 +2234,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3147
2234
  identity: undefined;
3148
2235
  generated: undefined;
3149
2236
  }, {}, {}>;
3150
- datasetRunConfigId: drizzle_orm_pg_core1486.PgColumn<{
2237
+ datasetRunConfigId: drizzle_orm_pg_core1289.PgColumn<{
3151
2238
  name: "dataset_run_config_id";
3152
2239
  tableName: "dataset_run";
3153
2240
  dataType: "string";
@@ -3164,7 +2251,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3164
2251
  identity: undefined;
3165
2252
  generated: undefined;
3166
2253
  }, {}, {}>;
3167
- evaluationJobConfigId: drizzle_orm_pg_core1486.PgColumn<{
2254
+ evaluationJobConfigId: drizzle_orm_pg_core1289.PgColumn<{
3168
2255
  name: "evaluation_job_config_id";
3169
2256
  tableName: "dataset_run";
3170
2257
  dataType: "string";
@@ -3181,7 +2268,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3181
2268
  identity: undefined;
3182
2269
  generated: undefined;
3183
2270
  }, {}, {}>;
3184
- projectId: drizzle_orm_pg_core1486.PgColumn<{
2271
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
3185
2272
  name: "project_id";
3186
2273
  tableName: "dataset_run";
3187
2274
  dataType: "string";
@@ -3200,7 +2287,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3200
2287
  }, {}, {
3201
2288
  length: 256;
3202
2289
  }>;
3203
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
2290
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
3204
2291
  name: "tenant_id";
3205
2292
  tableName: "dataset_run";
3206
2293
  dataType: "string";
@@ -3219,7 +2306,7 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3219
2306
  }, {}, {
3220
2307
  length: 256;
3221
2308
  }>;
3222
- id: drizzle_orm_pg_core1486.PgColumn<{
2309
+ id: drizzle_orm_pg_core1289.PgColumn<{
3223
2310
  name: "id";
3224
2311
  tableName: "dataset_run";
3225
2312
  dataType: "string";
@@ -3252,11 +2339,11 @@ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3252
2339
  * unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
3253
2340
  * and timestamps
3254
2341
  */
3255
- declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2342
+ declare const datasetRunConversationRelations: drizzle_orm_pg_core1289.PgTableWithColumns<{
3256
2343
  name: "dataset_run_conversation_relations";
3257
2344
  schema: undefined;
3258
2345
  columns: {
3259
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
2346
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
3260
2347
  name: "created_at";
3261
2348
  tableName: "dataset_run_conversation_relations";
3262
2349
  dataType: "string";
@@ -3273,7 +2360,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3273
2360
  identity: undefined;
3274
2361
  generated: undefined;
3275
2362
  }, {}, {}>;
3276
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2363
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
3277
2364
  name: "updated_at";
3278
2365
  tableName: "dataset_run_conversation_relations";
3279
2366
  dataType: "string";
@@ -3290,7 +2377,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3290
2377
  identity: undefined;
3291
2378
  generated: undefined;
3292
2379
  }, {}, {}>;
3293
- datasetRunId: drizzle_orm_pg_core1486.PgColumn<{
2380
+ datasetRunId: drizzle_orm_pg_core1289.PgColumn<{
3294
2381
  name: "dataset_run_id";
3295
2382
  tableName: "dataset_run_conversation_relations";
3296
2383
  dataType: "string";
@@ -3307,7 +2394,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3307
2394
  identity: undefined;
3308
2395
  generated: undefined;
3309
2396
  }, {}, {}>;
3310
- conversationId: drizzle_orm_pg_core1486.PgColumn<{
2397
+ conversationId: drizzle_orm_pg_core1289.PgColumn<{
3311
2398
  name: "conversation_id";
3312
2399
  tableName: "dataset_run_conversation_relations";
3313
2400
  dataType: "string";
@@ -3324,7 +2411,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3324
2411
  identity: undefined;
3325
2412
  generated: undefined;
3326
2413
  }, {}, {}>;
3327
- datasetItemId: drizzle_orm_pg_core1486.PgColumn<{
2414
+ datasetItemId: drizzle_orm_pg_core1289.PgColumn<{
3328
2415
  name: "dataset_item_id";
3329
2416
  tableName: "dataset_run_conversation_relations";
3330
2417
  dataType: "string";
@@ -3341,7 +2428,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3341
2428
  identity: undefined;
3342
2429
  generated: undefined;
3343
2430
  }, {}, {}>;
3344
- projectId: drizzle_orm_pg_core1486.PgColumn<{
2431
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
3345
2432
  name: "project_id";
3346
2433
  tableName: "dataset_run_conversation_relations";
3347
2434
  dataType: "string";
@@ -3360,7 +2447,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3360
2447
  }, {}, {
3361
2448
  length: 256;
3362
2449
  }>;
3363
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
2450
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
3364
2451
  name: "tenant_id";
3365
2452
  tableName: "dataset_run_conversation_relations";
3366
2453
  dataType: "string";
@@ -3379,7 +2466,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3379
2466
  }, {}, {
3380
2467
  length: 256;
3381
2468
  }>;
3382
- id: drizzle_orm_pg_core1486.PgColumn<{
2469
+ id: drizzle_orm_pg_core1289.PgColumn<{
3383
2470
  name: "id";
3384
2471
  tableName: "dataset_run_conversation_relations";
3385
2472
  dataType: "string";
@@ -3412,11 +2499,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWi
3412
2499
  * evaluationRunConfigId (optional: if created from a run config),
3413
2500
  * and timestamps
3414
2501
  */
3415
- declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
2502
+ declare const evaluationRun: drizzle_orm_pg_core1289.PgTableWithColumns<{
3416
2503
  name: "evaluation_run";
3417
2504
  schema: undefined;
3418
2505
  columns: {
3419
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
2506
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
3420
2507
  name: "created_at";
3421
2508
  tableName: "evaluation_run";
3422
2509
  dataType: "string";
@@ -3433,7 +2520,7 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3433
2520
  identity: undefined;
3434
2521
  generated: undefined;
3435
2522
  }, {}, {}>;
3436
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2523
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
3437
2524
  name: "updated_at";
3438
2525
  tableName: "evaluation_run";
3439
2526
  dataType: "string";
@@ -3450,7 +2537,7 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3450
2537
  identity: undefined;
3451
2538
  generated: undefined;
3452
2539
  }, {}, {}>;
3453
- evaluationJobConfigId: drizzle_orm_pg_core1486.PgColumn<{
2540
+ evaluationJobConfigId: drizzle_orm_pg_core1289.PgColumn<{
3454
2541
  name: "evaluation_job_config_id";
3455
2542
  tableName: "evaluation_run";
3456
2543
  dataType: "string";
@@ -3467,7 +2554,7 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3467
2554
  identity: undefined;
3468
2555
  generated: undefined;
3469
2556
  }, {}, {}>;
3470
- evaluationRunConfigId: drizzle_orm_pg_core1486.PgColumn<{
2557
+ evaluationRunConfigId: drizzle_orm_pg_core1289.PgColumn<{
3471
2558
  name: "evaluation_run_config_id";
3472
2559
  tableName: "evaluation_run";
3473
2560
  dataType: "string";
@@ -3484,7 +2571,7 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3484
2571
  identity: undefined;
3485
2572
  generated: undefined;
3486
2573
  }, {}, {}>;
3487
- projectId: drizzle_orm_pg_core1486.PgColumn<{
2574
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
3488
2575
  name: "project_id";
3489
2576
  tableName: "evaluation_run";
3490
2577
  dataType: "string";
@@ -3503,7 +2590,7 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3503
2590
  }, {}, {
3504
2591
  length: 256;
3505
2592
  }>;
3506
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
2593
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
3507
2594
  name: "tenant_id";
3508
2595
  tableName: "evaluation_run";
3509
2596
  dataType: "string";
@@ -3522,7 +2609,7 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3522
2609
  }, {}, {
3523
2610
  length: 256;
3524
2611
  }>;
3525
- id: drizzle_orm_pg_core1486.PgColumn<{
2612
+ id: drizzle_orm_pg_core1289.PgColumn<{
3526
2613
  name: "id";
3527
2614
  tableName: "evaluation_run";
3528
2615
  dataType: "string";
@@ -3553,11 +2640,11 @@ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
3553
2640
  * evaluationRunId (optional, links to evaluationRun),
3554
2641
  * output (evaluation result as MessageContent), and timestamps
3555
2642
  */
3556
- declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
2643
+ declare const evaluationResult: drizzle_orm_pg_core1289.PgTableWithColumns<{
3557
2644
  name: "evaluation_result";
3558
2645
  schema: undefined;
3559
2646
  columns: {
3560
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
2647
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
3561
2648
  name: "created_at";
3562
2649
  tableName: "evaluation_result";
3563
2650
  dataType: "string";
@@ -3574,7 +2661,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3574
2661
  identity: undefined;
3575
2662
  generated: undefined;
3576
2663
  }, {}, {}>;
3577
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2664
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
3578
2665
  name: "updated_at";
3579
2666
  tableName: "evaluation_result";
3580
2667
  dataType: "string";
@@ -3591,7 +2678,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3591
2678
  identity: undefined;
3592
2679
  generated: undefined;
3593
2680
  }, {}, {}>;
3594
- conversationId: drizzle_orm_pg_core1486.PgColumn<{
2681
+ conversationId: drizzle_orm_pg_core1289.PgColumn<{
3595
2682
  name: "conversation_id";
3596
2683
  tableName: "evaluation_result";
3597
2684
  dataType: "string";
@@ -3608,7 +2695,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3608
2695
  identity: undefined;
3609
2696
  generated: undefined;
3610
2697
  }, {}, {}>;
3611
- evaluatorId: drizzle_orm_pg_core1486.PgColumn<{
2698
+ evaluatorId: drizzle_orm_pg_core1289.PgColumn<{
3612
2699
  name: "evaluator_id";
3613
2700
  tableName: "evaluation_result";
3614
2701
  dataType: "string";
@@ -3625,7 +2712,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3625
2712
  identity: undefined;
3626
2713
  generated: undefined;
3627
2714
  }, {}, {}>;
3628
- evaluationRunId: drizzle_orm_pg_core1486.PgColumn<{
2715
+ evaluationRunId: drizzle_orm_pg_core1289.PgColumn<{
3629
2716
  name: "evaluation_run_id";
3630
2717
  tableName: "evaluation_result";
3631
2718
  dataType: "string";
@@ -3642,7 +2729,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3642
2729
  identity: undefined;
3643
2730
  generated: undefined;
3644
2731
  }, {}, {}>;
3645
- output: drizzle_orm_pg_core1486.PgColumn<{
2732
+ output: drizzle_orm_pg_core1289.PgColumn<{
3646
2733
  name: "output";
3647
2734
  tableName: "evaluation_result";
3648
2735
  dataType: "json";
@@ -3661,7 +2748,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3661
2748
  }, {}, {
3662
2749
  $type: MessageContent;
3663
2750
  }>;
3664
- projectId: drizzle_orm_pg_core1486.PgColumn<{
2751
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
3665
2752
  name: "project_id";
3666
2753
  tableName: "evaluation_result";
3667
2754
  dataType: "string";
@@ -3680,7 +2767,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3680
2767
  }, {}, {
3681
2768
  length: 256;
3682
2769
  }>;
3683
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
2770
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
3684
2771
  name: "tenant_id";
3685
2772
  tableName: "evaluation_result";
3686
2773
  dataType: "string";
@@ -3699,7 +2786,7 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3699
2786
  }, {}, {
3700
2787
  length: 256;
3701
2788
  }>;
3702
- id: drizzle_orm_pg_core1486.PgColumn<{
2789
+ id: drizzle_orm_pg_core1289.PgColumn<{
3703
2790
  name: "id";
3704
2791
  tableName: "evaluation_result";
3705
2792
  dataType: "string";
@@ -3721,38 +2808,38 @@ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
3721
2808
  };
3722
2809
  dialect: "pg";
3723
2810
  }>;
3724
- declare const conversationsRelations: drizzle_orm20.Relations<"conversations", {
3725
- messages: drizzle_orm20.Many<"messages">;
2811
+ declare const conversationsRelations: drizzle_orm0.Relations<"conversations", {
2812
+ messages: drizzle_orm0.Many<"messages">;
3726
2813
  }>;
3727
- declare const messagesRelations: drizzle_orm20.Relations<"messages", {
3728
- conversation: drizzle_orm20.One<"conversations", true>;
3729
- task: drizzle_orm20.One<"tasks", false>;
3730
- parentMessage: drizzle_orm20.One<"messages", false>;
3731
- childMessages: drizzle_orm20.Many<"messages">;
2814
+ declare const messagesRelations: drizzle_orm0.Relations<"messages", {
2815
+ conversation: drizzle_orm0.One<"conversations", true>;
2816
+ task: drizzle_orm0.One<"tasks", false>;
2817
+ parentMessage: drizzle_orm0.One<"messages", false>;
2818
+ childMessages: drizzle_orm0.Many<"messages">;
3732
2819
  }>;
3733
- declare const tasksRelations: drizzle_orm20.Relations<"tasks", {
3734
- messages: drizzle_orm20.Many<"messages">;
3735
- ledgerArtifacts: drizzle_orm20.Many<"ledger_artifacts">;
3736
- parentRelations: drizzle_orm20.Many<"task_relations">;
3737
- childRelations: drizzle_orm20.Many<"task_relations">;
2820
+ declare const tasksRelations: drizzle_orm0.Relations<"tasks", {
2821
+ messages: drizzle_orm0.Many<"messages">;
2822
+ ledgerArtifacts: drizzle_orm0.Many<"ledger_artifacts">;
2823
+ parentRelations: drizzle_orm0.Many<"task_relations">;
2824
+ childRelations: drizzle_orm0.Many<"task_relations">;
3738
2825
  }>;
3739
- declare const taskRelationsRelations: drizzle_orm20.Relations<"task_relations", {
3740
- parentTask: drizzle_orm20.One<"tasks", true>;
3741
- childTask: drizzle_orm20.One<"tasks", true>;
2826
+ declare const taskRelationsRelations: drizzle_orm0.Relations<"task_relations", {
2827
+ parentTask: drizzle_orm0.One<"tasks", true>;
2828
+ childTask: drizzle_orm0.One<"tasks", true>;
3742
2829
  }>;
3743
- declare const ledgerArtifactsRelations: drizzle_orm20.Relations<"ledger_artifacts", {
3744
- task: drizzle_orm20.One<"tasks", true>;
2830
+ declare const ledgerArtifactsRelations: drizzle_orm0.Relations<"ledger_artifacts", {
2831
+ task: drizzle_orm0.One<"tasks", true>;
3745
2832
  }>;
3746
2833
  /**
3747
2834
  * Tracks GitHub App installations linked to tenants.
3748
2835
  * One tenant can have multiple installations (e.g., multiple orgs).
3749
2836
  * The installation_id is the GitHub-assigned ID, unique across all GitHub.
3750
2837
  */
3751
- declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2838
+ declare const workAppGitHubInstallations: drizzle_orm_pg_core1289.PgTableWithColumns<{
3752
2839
  name: "work_app_github_installations";
3753
2840
  schema: undefined;
3754
2841
  columns: {
3755
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
2842
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
3756
2843
  name: "created_at";
3757
2844
  tableName: "work_app_github_installations";
3758
2845
  dataType: "string";
@@ -3769,7 +2856,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3769
2856
  identity: undefined;
3770
2857
  generated: undefined;
3771
2858
  }, {}, {}>;
3772
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2859
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
3773
2860
  name: "updated_at";
3774
2861
  tableName: "work_app_github_installations";
3775
2862
  dataType: "string";
@@ -3786,7 +2873,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3786
2873
  identity: undefined;
3787
2874
  generated: undefined;
3788
2875
  }, {}, {}>;
3789
- installationId: drizzle_orm_pg_core1486.PgColumn<{
2876
+ installationId: drizzle_orm_pg_core1289.PgColumn<{
3790
2877
  name: "installation_id";
3791
2878
  tableName: "work_app_github_installations";
3792
2879
  dataType: "string";
@@ -3803,7 +2890,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3803
2890
  identity: undefined;
3804
2891
  generated: undefined;
3805
2892
  }, {}, {}>;
3806
- accountLogin: drizzle_orm_pg_core1486.PgColumn<{
2893
+ accountLogin: drizzle_orm_pg_core1289.PgColumn<{
3807
2894
  name: "account_login";
3808
2895
  tableName: "work_app_github_installations";
3809
2896
  dataType: "string";
@@ -3822,7 +2909,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3822
2909
  }, {}, {
3823
2910
  length: 256;
3824
2911
  }>;
3825
- accountId: drizzle_orm_pg_core1486.PgColumn<{
2912
+ accountId: drizzle_orm_pg_core1289.PgColumn<{
3826
2913
  name: "account_id";
3827
2914
  tableName: "work_app_github_installations";
3828
2915
  dataType: "string";
@@ -3839,7 +2926,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3839
2926
  identity: undefined;
3840
2927
  generated: undefined;
3841
2928
  }, {}, {}>;
3842
- accountType: drizzle_orm_pg_core1486.PgColumn<{
2929
+ accountType: drizzle_orm_pg_core1289.PgColumn<{
3843
2930
  name: "account_type";
3844
2931
  tableName: "work_app_github_installations";
3845
2932
  dataType: "string";
@@ -3859,7 +2946,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3859
2946
  length: 20;
3860
2947
  $type: "User" | "Organization";
3861
2948
  }>;
3862
- status: drizzle_orm_pg_core1486.PgColumn<{
2949
+ status: drizzle_orm_pg_core1289.PgColumn<{
3863
2950
  name: "status";
3864
2951
  tableName: "work_app_github_installations";
3865
2952
  dataType: "string";
@@ -3879,7 +2966,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3879
2966
  length: 20;
3880
2967
  $type: "pending" | "active" | "suspended" | "disconnected";
3881
2968
  }>;
3882
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
2969
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
3883
2970
  name: "tenant_id";
3884
2971
  tableName: "work_app_github_installations";
3885
2972
  dataType: "string";
@@ -3898,7 +2985,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3898
2985
  }, {}, {
3899
2986
  length: 256;
3900
2987
  }>;
3901
- id: drizzle_orm_pg_core1486.PgColumn<{
2988
+ id: drizzle_orm_pg_core1289.PgColumn<{
3902
2989
  name: "id";
3903
2990
  tableName: "work_app_github_installations";
3904
2991
  dataType: "string";
@@ -3925,11 +3012,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithCol
3925
3012
  * These are synced from GitHub when the app is installed or updated.
3926
3013
  * The repository_id is the GitHub-assigned ID, unique across all GitHub.
3927
3014
  */
3928
- declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColumns<{
3015
+ declare const workAppGitHubRepositories: drizzle_orm_pg_core1289.PgTableWithColumns<{
3929
3016
  name: "work_app_github_repositories";
3930
3017
  schema: undefined;
3931
3018
  columns: {
3932
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
3019
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
3933
3020
  name: "created_at";
3934
3021
  tableName: "work_app_github_repositories";
3935
3022
  dataType: "string";
@@ -3946,7 +3033,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
3946
3033
  identity: undefined;
3947
3034
  generated: undefined;
3948
3035
  }, {}, {}>;
3949
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3036
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
3950
3037
  name: "updated_at";
3951
3038
  tableName: "work_app_github_repositories";
3952
3039
  dataType: "string";
@@ -3963,7 +3050,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
3963
3050
  identity: undefined;
3964
3051
  generated: undefined;
3965
3052
  }, {}, {}>;
3966
- id: drizzle_orm_pg_core1486.PgColumn<{
3053
+ id: drizzle_orm_pg_core1289.PgColumn<{
3967
3054
  name: "id";
3968
3055
  tableName: "work_app_github_repositories";
3969
3056
  dataType: "string";
@@ -3982,7 +3069,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
3982
3069
  }, {}, {
3983
3070
  length: 256;
3984
3071
  }>;
3985
- installationDbId: drizzle_orm_pg_core1486.PgColumn<{
3072
+ installationDbId: drizzle_orm_pg_core1289.PgColumn<{
3986
3073
  name: "installation_db_id";
3987
3074
  tableName: "work_app_github_repositories";
3988
3075
  dataType: "string";
@@ -4001,7 +3088,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
4001
3088
  }, {}, {
4002
3089
  length: 256;
4003
3090
  }>;
4004
- repositoryId: drizzle_orm_pg_core1486.PgColumn<{
3091
+ repositoryId: drizzle_orm_pg_core1289.PgColumn<{
4005
3092
  name: "repository_id";
4006
3093
  tableName: "work_app_github_repositories";
4007
3094
  dataType: "string";
@@ -4018,7 +3105,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
4018
3105
  identity: undefined;
4019
3106
  generated: undefined;
4020
3107
  }, {}, {}>;
4021
- repositoryName: drizzle_orm_pg_core1486.PgColumn<{
3108
+ repositoryName: drizzle_orm_pg_core1289.PgColumn<{
4022
3109
  name: "repository_name";
4023
3110
  tableName: "work_app_github_repositories";
4024
3111
  dataType: "string";
@@ -4037,7 +3124,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
4037
3124
  }, {}, {
4038
3125
  length: 256;
4039
3126
  }>;
4040
- repositoryFullName: drizzle_orm_pg_core1486.PgColumn<{
3127
+ repositoryFullName: drizzle_orm_pg_core1289.PgColumn<{
4041
3128
  name: "repository_full_name";
4042
3129
  tableName: "work_app_github_repositories";
4043
3130
  dataType: "string";
@@ -4056,7 +3143,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
4056
3143
  }, {}, {
4057
3144
  length: 512;
4058
3145
  }>;
4059
- private: drizzle_orm_pg_core1486.PgColumn<{
3146
+ private: drizzle_orm_pg_core1289.PgColumn<{
4060
3147
  name: "private";
4061
3148
  tableName: "work_app_github_repositories";
4062
3149
  dataType: "boolean";
@@ -4084,11 +3171,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColu
4084
3171
  * (cross-schema, no FK constraint for project). tenant_id is included because
4085
3172
  * project IDs are only unique within a tenant.
4086
3173
  */
4087
- declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTableWithColumns<{
3174
+ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1289.PgTableWithColumns<{
4088
3175
  name: "work_app_github_project_repository_access";
4089
3176
  schema: undefined;
4090
3177
  columns: {
4091
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
3178
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
4092
3179
  name: "created_at";
4093
3180
  tableName: "work_app_github_project_repository_access";
4094
3181
  dataType: "string";
@@ -4105,7 +3192,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4105
3192
  identity: undefined;
4106
3193
  generated: undefined;
4107
3194
  }, {}, {}>;
4108
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3195
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
4109
3196
  name: "updated_at";
4110
3197
  tableName: "work_app_github_project_repository_access";
4111
3198
  dataType: "string";
@@ -4122,7 +3209,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4122
3209
  identity: undefined;
4123
3210
  generated: undefined;
4124
3211
  }, {}, {}>;
4125
- repositoryDbId: drizzle_orm_pg_core1486.PgColumn<{
3212
+ repositoryDbId: drizzle_orm_pg_core1289.PgColumn<{
4126
3213
  name: "repository_db_id";
4127
3214
  tableName: "work_app_github_project_repository_access";
4128
3215
  dataType: "string";
@@ -4141,7 +3228,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4141
3228
  }, {}, {
4142
3229
  length: 256;
4143
3230
  }>;
4144
- projectId: drizzle_orm_pg_core1486.PgColumn<{
3231
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
4145
3232
  name: "project_id";
4146
3233
  tableName: "work_app_github_project_repository_access";
4147
3234
  dataType: "string";
@@ -4160,7 +3247,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4160
3247
  }, {}, {
4161
3248
  length: 256;
4162
3249
  }>;
4163
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
3250
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
4164
3251
  name: "tenant_id";
4165
3252
  tableName: "work_app_github_project_repository_access";
4166
3253
  dataType: "string";
@@ -4179,7 +3266,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4179
3266
  }, {}, {
4180
3267
  length: 256;
4181
3268
  }>;
4182
- id: drizzle_orm_pg_core1486.PgColumn<{
3269
+ id: drizzle_orm_pg_core1289.PgColumn<{
4183
3270
  name: "id";
4184
3271
  tableName: "work_app_github_project_repository_access";
4185
3272
  dataType: "string";
@@ -4208,11 +3295,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4208
3295
  * (cross-schema, no FK constraint). These are denormalized here so all GitHub access
4209
3296
  * info can be queried from PostgreSQL alone.
4210
3297
  */
4211
- declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTableWithColumns<{
3298
+ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1289.PgTableWithColumns<{
4212
3299
  name: "work_app_github_mcp_tool_repository_access";
4213
3300
  schema: undefined;
4214
3301
  columns: {
4215
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
3302
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
4216
3303
  name: "created_at";
4217
3304
  tableName: "work_app_github_mcp_tool_repository_access";
4218
3305
  dataType: "string";
@@ -4229,7 +3316,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4229
3316
  identity: undefined;
4230
3317
  generated: undefined;
4231
3318
  }, {}, {}>;
4232
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3319
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
4233
3320
  name: "updated_at";
4234
3321
  tableName: "work_app_github_mcp_tool_repository_access";
4235
3322
  dataType: "string";
@@ -4246,7 +3333,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4246
3333
  identity: undefined;
4247
3334
  generated: undefined;
4248
3335
  }, {}, {}>;
4249
- toolId: drizzle_orm_pg_core1486.PgColumn<{
3336
+ toolId: drizzle_orm_pg_core1289.PgColumn<{
4250
3337
  name: "tool_id";
4251
3338
  tableName: "work_app_github_mcp_tool_repository_access";
4252
3339
  dataType: "string";
@@ -4265,7 +3352,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4265
3352
  }, {}, {
4266
3353
  length: 256;
4267
3354
  }>;
4268
- repositoryDbId: drizzle_orm_pg_core1486.PgColumn<{
3355
+ repositoryDbId: drizzle_orm_pg_core1289.PgColumn<{
4269
3356
  name: "repository_db_id";
4270
3357
  tableName: "work_app_github_mcp_tool_repository_access";
4271
3358
  dataType: "string";
@@ -4284,7 +3371,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4284
3371
  }, {}, {
4285
3372
  length: 256;
4286
3373
  }>;
4287
- projectId: drizzle_orm_pg_core1486.PgColumn<{
3374
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
4288
3375
  name: "project_id";
4289
3376
  tableName: "work_app_github_mcp_tool_repository_access";
4290
3377
  dataType: "string";
@@ -4303,7 +3390,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4303
3390
  }, {}, {
4304
3391
  length: 256;
4305
3392
  }>;
4306
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
3393
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
4307
3394
  name: "tenant_id";
4308
3395
  tableName: "work_app_github_mcp_tool_repository_access";
4309
3396
  dataType: "string";
@@ -4322,7 +3409,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4322
3409
  }, {}, {
4323
3410
  length: 256;
4324
3411
  }>;
4325
- id: drizzle_orm_pg_core1486.PgColumn<{
3412
+ id: drizzle_orm_pg_core1289.PgColumn<{
4326
3413
  name: "id";
4327
3414
  tableName: "work_app_github_mcp_tool_repository_access";
4328
3415
  dataType: "string";
@@ -4350,11 +3437,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTa
4350
3437
  * - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
4351
3438
  * If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
4352
3439
  */
4353
- declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWithColumns<{
3440
+ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1289.PgTableWithColumns<{
4354
3441
  name: "work_app_github_project_access_mode";
4355
3442
  schema: undefined;
4356
3443
  columns: {
4357
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
3444
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
4358
3445
  name: "created_at";
4359
3446
  tableName: "work_app_github_project_access_mode";
4360
3447
  dataType: "string";
@@ -4371,7 +3458,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWit
4371
3458
  identity: undefined;
4372
3459
  generated: undefined;
4373
3460
  }, {}, {}>;
4374
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3461
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
4375
3462
  name: "updated_at";
4376
3463
  tableName: "work_app_github_project_access_mode";
4377
3464
  dataType: "string";
@@ -4388,7 +3475,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWit
4388
3475
  identity: undefined;
4389
3476
  generated: undefined;
4390
3477
  }, {}, {}>;
4391
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
3478
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
4392
3479
  name: "tenant_id";
4393
3480
  tableName: "work_app_github_project_access_mode";
4394
3481
  dataType: "string";
@@ -4407,7 +3494,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWit
4407
3494
  }, {}, {
4408
3495
  length: 256;
4409
3496
  }>;
4410
- projectId: drizzle_orm_pg_core1486.PgColumn<{
3497
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
4411
3498
  name: "project_id";
4412
3499
  tableName: "work_app_github_project_access_mode";
4413
3500
  dataType: "string";
@@ -4426,7 +3513,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWit
4426
3513
  }, {}, {
4427
3514
  length: 256;
4428
3515
  }>;
4429
- mode: drizzle_orm_pg_core1486.PgColumn<{
3516
+ mode: drizzle_orm_pg_core1289.PgColumn<{
4430
3517
  name: "mode";
4431
3518
  tableName: "work_app_github_project_access_mode";
4432
3519
  dataType: "string";
@@ -4455,11 +3542,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWit
4455
3542
  * - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
4456
3543
  * If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
4457
3544
  */
4458
- declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWithColumns<{
3545
+ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1289.PgTableWithColumns<{
4459
3546
  name: "work_app_github_mcp_tool_access_mode";
4460
3547
  schema: undefined;
4461
3548
  columns: {
4462
- createdAt: drizzle_orm_pg_core1486.PgColumn<{
3549
+ createdAt: drizzle_orm_pg_core1289.PgColumn<{
4463
3550
  name: "created_at";
4464
3551
  tableName: "work_app_github_mcp_tool_access_mode";
4465
3552
  dataType: "string";
@@ -4476,7 +3563,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWit
4476
3563
  identity: undefined;
4477
3564
  generated: undefined;
4478
3565
  }, {}, {}>;
4479
- updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3566
+ updatedAt: drizzle_orm_pg_core1289.PgColumn<{
4480
3567
  name: "updated_at";
4481
3568
  tableName: "work_app_github_mcp_tool_access_mode";
4482
3569
  dataType: "string";
@@ -4493,7 +3580,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWit
4493
3580
  identity: undefined;
4494
3581
  generated: undefined;
4495
3582
  }, {}, {}>;
4496
- toolId: drizzle_orm_pg_core1486.PgColumn<{
3583
+ toolId: drizzle_orm_pg_core1289.PgColumn<{
4497
3584
  name: "tool_id";
4498
3585
  tableName: "work_app_github_mcp_tool_access_mode";
4499
3586
  dataType: "string";
@@ -4512,7 +3599,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWit
4512
3599
  }, {}, {
4513
3600
  length: 256;
4514
3601
  }>;
4515
- tenantId: drizzle_orm_pg_core1486.PgColumn<{
3602
+ tenantId: drizzle_orm_pg_core1289.PgColumn<{
4516
3603
  name: "tenant_id";
4517
3604
  tableName: "work_app_github_mcp_tool_access_mode";
4518
3605
  dataType: "string";
@@ -4531,7 +3618,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWit
4531
3618
  }, {}, {
4532
3619
  length: 256;
4533
3620
  }>;
4534
- projectId: drizzle_orm_pg_core1486.PgColumn<{
3621
+ projectId: drizzle_orm_pg_core1289.PgColumn<{
4535
3622
  name: "project_id";
4536
3623
  tableName: "work_app_github_mcp_tool_access_mode";
4537
3624
  dataType: "string";
@@ -4550,7 +3637,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWit
4550
3637
  }, {}, {
4551
3638
  length: 256;
4552
3639
  }>;
4553
- mode: drizzle_orm_pg_core1486.PgColumn<{
3640
+ mode: drizzle_orm_pg_core1289.PgColumn<{
4554
3641
  name: "mode";
4555
3642
  tableName: "work_app_github_mcp_tool_access_mode";
4556
3643
  dataType: "string";
@@ -4573,19 +3660,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWit
4573
3660
  };
4574
3661
  dialect: "pg";
4575
3662
  }>;
4576
- declare const workAppGitHubInstallationsRelations: drizzle_orm20.Relations<"work_app_github_installations", {
4577
- repositories: drizzle_orm20.Many<"work_app_github_repositories">;
3663
+ declare const workAppGitHubInstallationsRelations: drizzle_orm0.Relations<"work_app_github_installations", {
3664
+ repositories: drizzle_orm0.Many<"work_app_github_repositories">;
4578
3665
  }>;
4579
- declare const workAppGitHubRepositoriesRelations: drizzle_orm20.Relations<"work_app_github_repositories", {
4580
- installation: drizzle_orm20.One<"work_app_github_installations", true>;
4581
- projectAccess: drizzle_orm20.Many<"work_app_github_project_repository_access">;
4582
- mcpToolAccess: drizzle_orm20.Many<"work_app_github_mcp_tool_repository_access">;
3666
+ declare const workAppGitHubRepositoriesRelations: drizzle_orm0.Relations<"work_app_github_repositories", {
3667
+ installation: drizzle_orm0.One<"work_app_github_installations", true>;
3668
+ projectAccess: drizzle_orm0.Many<"work_app_github_project_repository_access">;
3669
+ mcpToolAccess: drizzle_orm0.Many<"work_app_github_mcp_tool_repository_access">;
4583
3670
  }>;
4584
- declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm20.Relations<"work_app_github_project_repository_access", {
4585
- repository: drizzle_orm20.One<"work_app_github_repositories", true>;
3671
+ declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm0.Relations<"work_app_github_project_repository_access", {
3672
+ repository: drizzle_orm0.One<"work_app_github_repositories", true>;
4586
3673
  }>;
4587
- declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm20.Relations<"work_app_github_mcp_tool_repository_access", {
4588
- repository: drizzle_orm20.One<"work_app_github_repositories", true>;
3674
+ declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm0.Relations<"work_app_github_mcp_tool_repository_access", {
3675
+ repository: drizzle_orm0.One<"work_app_github_repositories", true>;
4589
3676
  }>;
4590
3677
  //#endregion
4591
- export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations, workAppSlackChannelAgentConfigs, workAppSlackUserMappings, workAppSlackUserSettings, workAppSlackWorkspaces };
3678
+ export { account, apiKeys, contextCache, conversations, conversationsRelations, datasetRun, datasetRunConversationRelations, deviceCode, evaluationResult, evaluationRun, invitation, ledgerArtifacts, ledgerArtifactsRelations, member, messages, messagesRelations, organization, projectMetadata, runtime_schema_d_exports, session, ssoProvider, taskRelations, taskRelationsRelations, tasks, tasksRelations, triggerInvocations, user, verification, workAppGitHubInstallations, workAppGitHubInstallationsRelations, workAppGitHubMcpToolAccessMode, workAppGitHubMcpToolRepositoryAccess, workAppGitHubMcpToolRepositoryAccessRelations, workAppGitHubProjectAccessMode, workAppGitHubProjectRepositoryAccess, workAppGitHubProjectRepositoryAccessRelations, workAppGitHubRepositories, workAppGitHubRepositoriesRelations };