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

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 (55) hide show
  1. package/dist/auth/auth.d.ts +54 -54
  2. package/dist/auth/create-test-users.d.ts +1 -0
  3. package/dist/auth/create-test-users.js +102 -0
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +3 -4
  6. package/dist/data-access/index.d.ts +3 -1
  7. package/dist/data-access/index.js +3 -1
  8. package/dist/data-access/manage/agents.d.ts +10 -10
  9. package/dist/data-access/manage/artifactComponents.d.ts +4 -4
  10. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  11. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  12. package/dist/data-access/manage/functionTools.d.ts +6 -6
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  14. package/dist/data-access/manage/subAgentRelations.d.ts +6 -6
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  16. package/dist/data-access/manage/subAgents.d.ts +6 -6
  17. package/dist/data-access/manage/tools.d.ts +18 -18
  18. package/dist/data-access/manage/workAppConfigs.d.ts +228 -0
  19. package/dist/data-access/manage/workAppConfigs.js +120 -0
  20. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  21. package/dist/data-access/runtime/conversations.d.ts +20 -20
  22. package/dist/data-access/runtime/messages.d.ts +15 -15
  23. package/dist/data-access/runtime/tasks.d.ts +4 -4
  24. package/dist/data-access/runtime/workAppSlack.d.ts +45 -0
  25. package/dist/data-access/runtime/workAppSlack.js +154 -0
  26. package/dist/db/manage/manage-schema.d.ts +600 -380
  27. package/dist/db/manage/manage-schema.js +27 -2
  28. package/dist/db/runtime/runtime-schema.d.ts +1147 -234
  29. package/dist/db/runtime/runtime-schema.js +98 -2
  30. package/dist/index.d.ts +10 -5
  31. package/dist/index.js +9 -4
  32. package/dist/types/entities.d.ts +8 -2
  33. package/dist/types/index.d.ts +2 -2
  34. package/dist/utils/index.d.ts +4 -1
  35. package/dist/utils/index.js +4 -1
  36. package/dist/utils/slack-link-token.d.ts +60 -0
  37. package/dist/utils/slack-link-token.js +124 -0
  38. package/dist/utils/slack-user-token.d.ts +87 -0
  39. package/dist/utils/slack-user-token.js +156 -0
  40. package/dist/utils/sse-parser.d.ts +35 -0
  41. package/dist/utils/sse-parser.js +71 -0
  42. package/dist/utils/trigger-auth.d.ts +1 -1
  43. package/dist/validation/index.d.ts +2 -2
  44. package/dist/validation/index.js +2 -2
  45. package/dist/validation/schemas.d.ts +3912 -1352
  46. package/dist/validation/schemas.js +65 -3
  47. package/drizzle/manage/0007_whole_skreet.sql +17 -0
  48. package/drizzle/manage/meta/0007_snapshot.json +3265 -0
  49. package/drizzle/manage/meta/_journal.json +7 -0
  50. package/drizzle/runtime/0011_grey_energizer.sql +131 -0
  51. package/drizzle/runtime/0012_salty_zuras.sql +6 -0
  52. package/drizzle/runtime/meta/0011_snapshot.json +3747 -0
  53. package/drizzle/runtime/meta/0012_snapshot.json +3747 -0
  54. package/drizzle/runtime/meta/_journal.json +14 -0
  55. package/package.json +1 -1
@@ -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_orm95 from "drizzle-orm";
5
- import * as drizzle_orm_pg_core1671 from "drizzle-orm/pg-core";
4
+ import * as drizzle_orm20 from "drizzle-orm";
5
+ import * as drizzle_orm_pg_core1486 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 };
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 };
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_core1671.PgTableWithColumns<{
18
+ declare const projectMetadata: drizzle_orm_pg_core1486.PgTableWithColumns<{
19
19
  name: "project_metadata";
20
20
  schema: undefined;
21
21
  columns: {
22
- id: drizzle_orm_pg_core1671.PgColumn<{
22
+ id: drizzle_orm_pg_core1486.PgColumn<{
23
23
  name: "id";
24
24
  tableName: "project_metadata";
25
25
  dataType: "string";
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core1671.PgTableWithColumns<{
38
38
  }, {}, {
39
39
  length: 256;
40
40
  }>;
41
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
41
+ tenantId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
57
57
  }, {}, {
58
58
  length: 256;
59
59
  }>;
60
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
60
+ createdAt: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
74
74
  identity: undefined;
75
75
  generated: undefined;
76
76
  }, {}, {}>;
77
- createdBy: drizzle_orm_pg_core1671.PgColumn<{
77
+ createdBy: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
93
93
  }, {}, {
94
94
  length: 256;
95
95
  }>;
96
- mainBranchName: drizzle_orm_pg_core1671.PgColumn<{
96
+ mainBranchName: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
115
115
  };
116
116
  dialect: "pg";
117
117
  }>;
118
- declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
118
+ declare const conversations: drizzle_orm_pg_core1486.PgTableWithColumns<{
119
119
  name: "conversations";
120
120
  schema: undefined;
121
121
  columns: {
122
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
122
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
123
123
  name: "created_at";
124
124
  tableName: "conversations";
125
125
  dataType: "string";
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
136
136
  identity: undefined;
137
137
  generated: undefined;
138
138
  }, {}, {}>;
139
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
139
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
140
140
  name: "updated_at";
141
141
  tableName: "conversations";
142
142
  dataType: "string";
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
153
153
  identity: undefined;
154
154
  generated: undefined;
155
155
  }, {}, {}>;
156
- userId: drizzle_orm_pg_core1671.PgColumn<{
156
+ userId: drizzle_orm_pg_core1486.PgColumn<{
157
157
  name: "user_id";
158
158
  tableName: "conversations";
159
159
  dataType: "string";
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
172
172
  }, {}, {
173
173
  length: 256;
174
174
  }>;
175
- agentId: drizzle_orm_pg_core1671.PgColumn<{
175
+ agentId: drizzle_orm_pg_core1486.PgColumn<{
176
176
  name: "agent_id";
177
177
  tableName: "conversations";
178
178
  dataType: "string";
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
191
191
  }, {}, {
192
192
  length: 256;
193
193
  }>;
194
- activeSubAgentId: drizzle_orm_pg_core1671.PgColumn<{
194
+ activeSubAgentId: drizzle_orm_pg_core1486.PgColumn<{
195
195
  name: "active_sub_agent_id";
196
196
  tableName: "conversations";
197
197
  dataType: "string";
@@ -210,7 +210,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
210
210
  }, {}, {
211
211
  length: 256;
212
212
  }>;
213
- ref: drizzle_orm_pg_core1671.PgColumn<{
213
+ ref: drizzle_orm_pg_core1486.PgColumn<{
214
214
  name: "ref";
215
215
  tableName: "conversations";
216
216
  dataType: "json";
@@ -237,7 +237,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
237
237
  hash: string;
238
238
  };
239
239
  }>;
240
- title: drizzle_orm_pg_core1671.PgColumn<{
240
+ title: drizzle_orm_pg_core1486.PgColumn<{
241
241
  name: "title";
242
242
  tableName: "conversations";
243
243
  dataType: "string";
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
254
254
  identity: undefined;
255
255
  generated: undefined;
256
256
  }, {}, {}>;
257
- lastContextResolution: drizzle_orm_pg_core1671.PgColumn<{
257
+ lastContextResolution: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
271
271
  identity: undefined;
272
272
  generated: undefined;
273
273
  }, {}, {}>;
274
- metadata: drizzle_orm_pg_core1671.PgColumn<{
274
+ metadata: drizzle_orm_pg_core1486.PgColumn<{
275
275
  name: "metadata";
276
276
  tableName: "conversations";
277
277
  dataType: "json";
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
290
290
  }, {}, {
291
291
  $type: ConversationMetadata;
292
292
  }>;
293
- projectId: drizzle_orm_pg_core1671.PgColumn<{
293
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
294
294
  name: "project_id";
295
295
  tableName: "conversations";
296
296
  dataType: "string";
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
309
309
  }, {}, {
310
310
  length: 256;
311
311
  }>;
312
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
312
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
313
313
  name: "tenant_id";
314
314
  tableName: "conversations";
315
315
  dataType: "string";
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
328
328
  }, {}, {
329
329
  length: 256;
330
330
  }>;
331
- id: drizzle_orm_pg_core1671.PgColumn<{
331
+ id: drizzle_orm_pg_core1486.PgColumn<{
332
332
  name: "id";
333
333
  tableName: "conversations";
334
334
  dataType: "string";
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core1671.PgTableWithColumns<{
350
350
  };
351
351
  dialect: "pg";
352
352
  }>;
353
- declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
353
+ declare const tasks: drizzle_orm_pg_core1486.PgTableWithColumns<{
354
354
  name: "tasks";
355
355
  schema: undefined;
356
356
  columns: {
357
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
357
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
358
358
  name: "created_at";
359
359
  tableName: "tasks";
360
360
  dataType: "string";
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
371
371
  identity: undefined;
372
372
  generated: undefined;
373
373
  }, {}, {}>;
374
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
374
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
375
375
  name: "updated_at";
376
376
  tableName: "tasks";
377
377
  dataType: "string";
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
388
388
  identity: undefined;
389
389
  generated: undefined;
390
390
  }, {}, {}>;
391
- contextId: drizzle_orm_pg_core1671.PgColumn<{
391
+ contextId: drizzle_orm_pg_core1486.PgColumn<{
392
392
  name: "context_id";
393
393
  tableName: "tasks";
394
394
  dataType: "string";
@@ -407,7 +407,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
407
407
  }, {}, {
408
408
  length: 256;
409
409
  }>;
410
- ref: drizzle_orm_pg_core1671.PgColumn<{
410
+ ref: drizzle_orm_pg_core1486.PgColumn<{
411
411
  name: "ref";
412
412
  tableName: "tasks";
413
413
  dataType: "json";
@@ -434,7 +434,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
434
434
  hash: string;
435
435
  };
436
436
  }>;
437
- status: drizzle_orm_pg_core1671.PgColumn<{
437
+ status: drizzle_orm_pg_core1486.PgColumn<{
438
438
  name: "status";
439
439
  tableName: "tasks";
440
440
  dataType: "string";
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
453
453
  }, {}, {
454
454
  length: 256;
455
455
  }>;
456
- metadata: drizzle_orm_pg_core1671.PgColumn<{
456
+ metadata: drizzle_orm_pg_core1486.PgColumn<{
457
457
  name: "metadata";
458
458
  tableName: "tasks";
459
459
  dataType: "json";
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
472
472
  }, {}, {
473
473
  $type: TaskMetadataConfig;
474
474
  }>;
475
- subAgentId: drizzle_orm_pg_core1671.PgColumn<{
475
+ subAgentId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
491
491
  }, {}, {
492
492
  length: 256;
493
493
  }>;
494
- agentId: drizzle_orm_pg_core1671.PgColumn<{
494
+ agentId: drizzle_orm_pg_core1486.PgColumn<{
495
495
  name: "agent_id";
496
496
  tableName: "tasks";
497
497
  dataType: "string";
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
510
510
  }, {}, {
511
511
  length: 256;
512
512
  }>;
513
- projectId: drizzle_orm_pg_core1671.PgColumn<{
513
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
514
514
  name: "project_id";
515
515
  tableName: "tasks";
516
516
  dataType: "string";
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
529
529
  }, {}, {
530
530
  length: 256;
531
531
  }>;
532
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
532
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
533
533
  name: "tenant_id";
534
534
  tableName: "tasks";
535
535
  dataType: "string";
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
548
548
  }, {}, {
549
549
  length: 256;
550
550
  }>;
551
- id: drizzle_orm_pg_core1671.PgColumn<{
551
+ id: drizzle_orm_pg_core1486.PgColumn<{
552
552
  name: "id";
553
553
  tableName: "tasks";
554
554
  dataType: "string";
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core1671.PgTableWithColumns<{
570
570
  };
571
571
  dialect: "pg";
572
572
  }>;
573
- declare const apiKeys: drizzle_orm_pg_core1671.PgTableWithColumns<{
573
+ declare const apiKeys: drizzle_orm_pg_core1486.PgTableWithColumns<{
574
574
  name: "api_keys";
575
575
  schema: undefined;
576
576
  columns: {
577
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
577
+ createdAt: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
591
591
  identity: undefined;
592
592
  generated: undefined;
593
593
  }, {}, {}>;
594
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
594
+ updatedAt: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
608
608
  identity: undefined;
609
609
  generated: undefined;
610
610
  }, {}, {}>;
611
- agentId: drizzle_orm_pg_core1671.PgColumn<{
611
+ agentId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
627
627
  }, {}, {
628
628
  length: 256;
629
629
  }>;
630
- publicId: drizzle_orm_pg_core1671.PgColumn<{
630
+ publicId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
646
646
  }, {}, {
647
647
  length: 256;
648
648
  }>;
649
- keyHash: drizzle_orm_pg_core1671.PgColumn<{
649
+ keyHash: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
665
665
  }, {}, {
666
666
  length: 256;
667
667
  }>;
668
- keyPrefix: drizzle_orm_pg_core1671.PgColumn<{
668
+ keyPrefix: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
684
684
  }, {}, {
685
685
  length: 256;
686
686
  }>;
687
- name: drizzle_orm_pg_core1671.PgColumn<{
687
+ name: drizzle_orm_pg_core1486.PgColumn<{
688
688
  name: "name";
689
689
  tableName: "api_keys";
690
690
  dataType: "string";
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core1671.PgTableWithColumns<{
703
703
  }, {}, {
704
704
  length: 256;
705
705
  }>;
706
- lastUsedAt: drizzle_orm_pg_core1671.PgColumn<{
706
+ lastUsedAt: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
720
720
  identity: undefined;
721
721
  generated: undefined;
722
722
  }, {}, {}>;
723
- expiresAt: drizzle_orm_pg_core1671.PgColumn<{
723
+ expiresAt: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
737
737
  identity: undefined;
738
738
  generated: undefined;
739
739
  }, {}, {}>;
740
- projectId: drizzle_orm_pg_core1671.PgColumn<{
740
+ projectId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
756
756
  }, {}, {
757
757
  length: 256;
758
758
  }>;
759
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
759
+ tenantId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
775
775
  }, {}, {
776
776
  length: 256;
777
777
  }>;
778
- id: drizzle_orm_pg_core1671.PgColumn<{
778
+ id: drizzle_orm_pg_core1486.PgColumn<{
779
779
  name: "id";
780
780
  tableName: "api_keys";
781
781
  dataType: "string";
@@ -804,11 +804,11 @@ declare const apiKeys: drizzle_orm_pg_core1671.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_core1671.PgTableWithColumns<{
807
+ declare const triggerInvocations: drizzle_orm_pg_core1486.PgTableWithColumns<{
808
808
  name: "trigger_invocations";
809
809
  schema: undefined;
810
810
  columns: {
811
- triggerId: drizzle_orm_pg_core1671.PgColumn<{
811
+ triggerId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
827
827
  }, {}, {
828
828
  length: 256;
829
829
  }>;
830
- conversationId: drizzle_orm_pg_core1671.PgColumn<{
830
+ conversationId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
846
846
  }, {}, {
847
847
  length: 256;
848
848
  }>;
849
- status: drizzle_orm_pg_core1671.PgColumn<{
849
+ status: drizzle_orm_pg_core1486.PgColumn<{
850
850
  name: "status";
851
851
  tableName: "trigger_invocations";
852
852
  dataType: "string";
@@ -865,7 +865,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1671.PgTableWithColumns<{
865
865
  }, {}, {
866
866
  length: 20;
867
867
  }>;
868
- requestPayload: drizzle_orm_pg_core1671.PgColumn<{
868
+ requestPayload: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
882
882
  identity: undefined;
883
883
  generated: undefined;
884
884
  }, {}, {}>;
885
- transformedPayload: drizzle_orm_pg_core1671.PgColumn<{
885
+ transformedPayload: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
899
899
  identity: undefined;
900
900
  generated: undefined;
901
901
  }, {}, {}>;
902
- errorMessage: drizzle_orm_pg_core1671.PgColumn<{
902
+ errorMessage: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
916
916
  identity: undefined;
917
917
  generated: undefined;
918
918
  }, {}, {}>;
919
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
919
+ createdAt: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
933
933
  identity: undefined;
934
934
  generated: undefined;
935
935
  }, {}, {}>;
936
- agentId: drizzle_orm_pg_core1671.PgColumn<{
936
+ agentId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
952
952
  }, {}, {
953
953
  length: 256;
954
954
  }>;
955
- projectId: drizzle_orm_pg_core1671.PgColumn<{
955
+ projectId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
971
971
  }, {}, {
972
972
  length: 256;
973
973
  }>;
974
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
974
+ tenantId: drizzle_orm_pg_core1486.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_core1671.PgTableWithColumns<{
990
990
  }, {}, {
991
991
  length: 256;
992
992
  }>;
993
- id: drizzle_orm_pg_core1671.PgColumn<{
993
+ id: drizzle_orm_pg_core1486.PgColumn<{
994
994
  name: "id";
995
995
  tableName: "trigger_invocations";
996
996
  dataType: "string";
@@ -1012,11 +1012,924 @@ declare const triggerInvocations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1012
1012
  };
1013
1013
  dialect: "pg";
1014
1014
  }>;
1015
- declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
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<{
1016
1929
  name: "messages";
1017
1930
  schema: undefined;
1018
1931
  columns: {
1019
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
1932
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
1020
1933
  name: "created_at";
1021
1934
  tableName: "messages";
1022
1935
  dataType: "string";
@@ -1033,7 +1946,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1033
1946
  identity: undefined;
1034
1947
  generated: undefined;
1035
1948
  }, {}, {}>;
1036
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
1949
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1037
1950
  name: "updated_at";
1038
1951
  tableName: "messages";
1039
1952
  dataType: "string";
@@ -1050,7 +1963,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1050
1963
  identity: undefined;
1051
1964
  generated: undefined;
1052
1965
  }, {}, {}>;
1053
- conversationId: drizzle_orm_pg_core1671.PgColumn<{
1966
+ conversationId: drizzle_orm_pg_core1486.PgColumn<{
1054
1967
  name: "conversation_id";
1055
1968
  tableName: "messages";
1056
1969
  dataType: "string";
@@ -1069,7 +1982,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1069
1982
  }, {}, {
1070
1983
  length: 256;
1071
1984
  }>;
1072
- role: drizzle_orm_pg_core1671.PgColumn<{
1985
+ role: drizzle_orm_pg_core1486.PgColumn<{
1073
1986
  name: "role";
1074
1987
  tableName: "messages";
1075
1988
  dataType: "string";
@@ -1088,7 +2001,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1088
2001
  }, {}, {
1089
2002
  length: 256;
1090
2003
  }>;
1091
- fromSubAgentId: drizzle_orm_pg_core1671.PgColumn<{
2004
+ fromSubAgentId: drizzle_orm_pg_core1486.PgColumn<{
1092
2005
  name: "from_sub_agent_id";
1093
2006
  tableName: "messages";
1094
2007
  dataType: "string";
@@ -1107,7 +2020,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1107
2020
  }, {}, {
1108
2021
  length: 256;
1109
2022
  }>;
1110
- toSubAgentId: drizzle_orm_pg_core1671.PgColumn<{
2023
+ toSubAgentId: drizzle_orm_pg_core1486.PgColumn<{
1111
2024
  name: "to_sub_agent_id";
1112
2025
  tableName: "messages";
1113
2026
  dataType: "string";
@@ -1126,7 +2039,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1126
2039
  }, {}, {
1127
2040
  length: 256;
1128
2041
  }>;
1129
- fromExternalAgentId: drizzle_orm_pg_core1671.PgColumn<{
2042
+ fromExternalAgentId: drizzle_orm_pg_core1486.PgColumn<{
1130
2043
  name: "from_external_sub_agent_id";
1131
2044
  tableName: "messages";
1132
2045
  dataType: "string";
@@ -1145,7 +2058,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1145
2058
  }, {}, {
1146
2059
  length: 256;
1147
2060
  }>;
1148
- toExternalAgentId: drizzle_orm_pg_core1671.PgColumn<{
2061
+ toExternalAgentId: drizzle_orm_pg_core1486.PgColumn<{
1149
2062
  name: "to_external_sub_agent_id";
1150
2063
  tableName: "messages";
1151
2064
  dataType: "string";
@@ -1164,7 +2077,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1164
2077
  }, {}, {
1165
2078
  length: 256;
1166
2079
  }>;
1167
- fromTeamAgentId: drizzle_orm_pg_core1671.PgColumn<{
2080
+ fromTeamAgentId: drizzle_orm_pg_core1486.PgColumn<{
1168
2081
  name: "from_team_agent_id";
1169
2082
  tableName: "messages";
1170
2083
  dataType: "string";
@@ -1183,7 +2096,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1183
2096
  }, {}, {
1184
2097
  length: 256;
1185
2098
  }>;
1186
- toTeamAgentId: drizzle_orm_pg_core1671.PgColumn<{
2099
+ toTeamAgentId: drizzle_orm_pg_core1486.PgColumn<{
1187
2100
  name: "to_team_agent_id";
1188
2101
  tableName: "messages";
1189
2102
  dataType: "string";
@@ -1202,7 +2115,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1202
2115
  }, {}, {
1203
2116
  length: 256;
1204
2117
  }>;
1205
- content: drizzle_orm_pg_core1671.PgColumn<{
2118
+ content: drizzle_orm_pg_core1486.PgColumn<{
1206
2119
  name: "content";
1207
2120
  tableName: "messages";
1208
2121
  dataType: "json";
@@ -1221,7 +2134,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1221
2134
  }, {}, {
1222
2135
  $type: MessageContent;
1223
2136
  }>;
1224
- visibility: drizzle_orm_pg_core1671.PgColumn<{
2137
+ visibility: drizzle_orm_pg_core1486.PgColumn<{
1225
2138
  name: "visibility";
1226
2139
  tableName: "messages";
1227
2140
  dataType: "string";
@@ -1240,7 +2153,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1240
2153
  }, {}, {
1241
2154
  length: 256;
1242
2155
  }>;
1243
- messageType: drizzle_orm_pg_core1671.PgColumn<{
2156
+ messageType: drizzle_orm_pg_core1486.PgColumn<{
1244
2157
  name: "message_type";
1245
2158
  tableName: "messages";
1246
2159
  dataType: "string";
@@ -1259,7 +2172,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1259
2172
  }, {}, {
1260
2173
  length: 256;
1261
2174
  }>;
1262
- taskId: drizzle_orm_pg_core1671.PgColumn<{
2175
+ taskId: drizzle_orm_pg_core1486.PgColumn<{
1263
2176
  name: "task_id";
1264
2177
  tableName: "messages";
1265
2178
  dataType: "string";
@@ -1278,7 +2191,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1278
2191
  }, {}, {
1279
2192
  length: 256;
1280
2193
  }>;
1281
- parentMessageId: drizzle_orm_pg_core1671.PgColumn<{
2194
+ parentMessageId: drizzle_orm_pg_core1486.PgColumn<{
1282
2195
  name: "parent_message_id";
1283
2196
  tableName: "messages";
1284
2197
  dataType: "string";
@@ -1297,7 +2210,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1297
2210
  }, {}, {
1298
2211
  length: 256;
1299
2212
  }>;
1300
- a2aTaskId: drizzle_orm_pg_core1671.PgColumn<{
2213
+ a2aTaskId: drizzle_orm_pg_core1486.PgColumn<{
1301
2214
  name: "a2a_task_id";
1302
2215
  tableName: "messages";
1303
2216
  dataType: "string";
@@ -1316,7 +2229,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1316
2229
  }, {}, {
1317
2230
  length: 256;
1318
2231
  }>;
1319
- a2aSessionId: drizzle_orm_pg_core1671.PgColumn<{
2232
+ a2aSessionId: drizzle_orm_pg_core1486.PgColumn<{
1320
2233
  name: "a2a_session_id";
1321
2234
  tableName: "messages";
1322
2235
  dataType: "string";
@@ -1335,7 +2248,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1335
2248
  }, {}, {
1336
2249
  length: 256;
1337
2250
  }>;
1338
- metadata: drizzle_orm_pg_core1671.PgColumn<{
2251
+ metadata: drizzle_orm_pg_core1486.PgColumn<{
1339
2252
  name: "metadata";
1340
2253
  tableName: "messages";
1341
2254
  dataType: "json";
@@ -1354,7 +2267,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1354
2267
  }, {}, {
1355
2268
  $type: MessageMetadata;
1356
2269
  }>;
1357
- projectId: drizzle_orm_pg_core1671.PgColumn<{
2270
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
1358
2271
  name: "project_id";
1359
2272
  tableName: "messages";
1360
2273
  dataType: "string";
@@ -1373,7 +2286,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1373
2286
  }, {}, {
1374
2287
  length: 256;
1375
2288
  }>;
1376
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
2289
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
1377
2290
  name: "tenant_id";
1378
2291
  tableName: "messages";
1379
2292
  dataType: "string";
@@ -1392,7 +2305,7 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1392
2305
  }, {}, {
1393
2306
  length: 256;
1394
2307
  }>;
1395
- id: drizzle_orm_pg_core1671.PgColumn<{
2308
+ id: drizzle_orm_pg_core1486.PgColumn<{
1396
2309
  name: "id";
1397
2310
  tableName: "messages";
1398
2311
  dataType: "string";
@@ -1414,11 +2327,11 @@ declare const messages: drizzle_orm_pg_core1671.PgTableWithColumns<{
1414
2327
  };
1415
2328
  dialect: "pg";
1416
2329
  }>;
1417
- declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
2330
+ declare const taskRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
1418
2331
  name: "task_relations";
1419
2332
  schema: undefined;
1420
2333
  columns: {
1421
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
2334
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
1422
2335
  name: "created_at";
1423
2336
  tableName: "task_relations";
1424
2337
  dataType: "string";
@@ -1435,7 +2348,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1435
2348
  identity: undefined;
1436
2349
  generated: undefined;
1437
2350
  }, {}, {}>;
1438
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
2351
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1439
2352
  name: "updated_at";
1440
2353
  tableName: "task_relations";
1441
2354
  dataType: "string";
@@ -1452,7 +2365,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1452
2365
  identity: undefined;
1453
2366
  generated: undefined;
1454
2367
  }, {}, {}>;
1455
- parentTaskId: drizzle_orm_pg_core1671.PgColumn<{
2368
+ parentTaskId: drizzle_orm_pg_core1486.PgColumn<{
1456
2369
  name: "parent_task_id";
1457
2370
  tableName: "task_relations";
1458
2371
  dataType: "string";
@@ -1471,7 +2384,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1471
2384
  }, {}, {
1472
2385
  length: 256;
1473
2386
  }>;
1474
- childTaskId: drizzle_orm_pg_core1671.PgColumn<{
2387
+ childTaskId: drizzle_orm_pg_core1486.PgColumn<{
1475
2388
  name: "child_task_id";
1476
2389
  tableName: "task_relations";
1477
2390
  dataType: "string";
@@ -1490,7 +2403,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1490
2403
  }, {}, {
1491
2404
  length: 256;
1492
2405
  }>;
1493
- relationType: drizzle_orm_pg_core1671.PgColumn<{
2406
+ relationType: drizzle_orm_pg_core1486.PgColumn<{
1494
2407
  name: "relation_type";
1495
2408
  tableName: "task_relations";
1496
2409
  dataType: "string";
@@ -1509,7 +2422,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1509
2422
  }, {}, {
1510
2423
  length: 256;
1511
2424
  }>;
1512
- projectId: drizzle_orm_pg_core1671.PgColumn<{
2425
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
1513
2426
  name: "project_id";
1514
2427
  tableName: "task_relations";
1515
2428
  dataType: "string";
@@ -1528,7 +2441,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1528
2441
  }, {}, {
1529
2442
  length: 256;
1530
2443
  }>;
1531
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
2444
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
1532
2445
  name: "tenant_id";
1533
2446
  tableName: "task_relations";
1534
2447
  dataType: "string";
@@ -1547,7 +2460,7 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1547
2460
  }, {}, {
1548
2461
  length: 256;
1549
2462
  }>;
1550
- id: drizzle_orm_pg_core1671.PgColumn<{
2463
+ id: drizzle_orm_pg_core1486.PgColumn<{
1551
2464
  name: "id";
1552
2465
  tableName: "task_relations";
1553
2466
  dataType: "string";
@@ -1569,11 +2482,11 @@ declare const taskRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
1569
2482
  };
1570
2483
  dialect: "pg";
1571
2484
  }>;
1572
- declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
2485
+ declare const ledgerArtifacts: drizzle_orm_pg_core1486.PgTableWithColumns<{
1573
2486
  name: "ledger_artifacts";
1574
2487
  schema: undefined;
1575
2488
  columns: {
1576
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
2489
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
1577
2490
  name: "created_at";
1578
2491
  tableName: "ledger_artifacts";
1579
2492
  dataType: "string";
@@ -1590,7 +2503,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1590
2503
  identity: undefined;
1591
2504
  generated: undefined;
1592
2505
  }, {}, {}>;
1593
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
2506
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1594
2507
  name: "updated_at";
1595
2508
  tableName: "ledger_artifacts";
1596
2509
  dataType: "string";
@@ -1607,7 +2520,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1607
2520
  identity: undefined;
1608
2521
  generated: undefined;
1609
2522
  }, {}, {}>;
1610
- taskId: drizzle_orm_pg_core1671.PgColumn<{
2523
+ taskId: drizzle_orm_pg_core1486.PgColumn<{
1611
2524
  name: "task_id";
1612
2525
  tableName: "ledger_artifacts";
1613
2526
  dataType: "string";
@@ -1626,7 +2539,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1626
2539
  }, {}, {
1627
2540
  length: 256;
1628
2541
  }>;
1629
- toolCallId: drizzle_orm_pg_core1671.PgColumn<{
2542
+ toolCallId: drizzle_orm_pg_core1486.PgColumn<{
1630
2543
  name: "tool_call_id";
1631
2544
  tableName: "ledger_artifacts";
1632
2545
  dataType: "string";
@@ -1645,7 +2558,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1645
2558
  }, {}, {
1646
2559
  length: 256;
1647
2560
  }>;
1648
- contextId: drizzle_orm_pg_core1671.PgColumn<{
2561
+ contextId: drizzle_orm_pg_core1486.PgColumn<{
1649
2562
  name: "context_id";
1650
2563
  tableName: "ledger_artifacts";
1651
2564
  dataType: "string";
@@ -1664,7 +2577,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1664
2577
  }, {}, {
1665
2578
  length: 256;
1666
2579
  }>;
1667
- type: drizzle_orm_pg_core1671.PgColumn<{
2580
+ type: drizzle_orm_pg_core1486.PgColumn<{
1668
2581
  name: "type";
1669
2582
  tableName: "ledger_artifacts";
1670
2583
  dataType: "string";
@@ -1683,7 +2596,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1683
2596
  }, {}, {
1684
2597
  length: 256;
1685
2598
  }>;
1686
- name: drizzle_orm_pg_core1671.PgColumn<{
2599
+ name: drizzle_orm_pg_core1486.PgColumn<{
1687
2600
  name: "name";
1688
2601
  tableName: "ledger_artifacts";
1689
2602
  dataType: "string";
@@ -1702,7 +2615,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1702
2615
  }, {}, {
1703
2616
  length: 256;
1704
2617
  }>;
1705
- description: drizzle_orm_pg_core1671.PgColumn<{
2618
+ description: drizzle_orm_pg_core1486.PgColumn<{
1706
2619
  name: "description";
1707
2620
  tableName: "ledger_artifacts";
1708
2621
  dataType: "string";
@@ -1719,7 +2632,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1719
2632
  identity: undefined;
1720
2633
  generated: undefined;
1721
2634
  }, {}, {}>;
1722
- parts: drizzle_orm_pg_core1671.PgColumn<{
2635
+ parts: drizzle_orm_pg_core1486.PgColumn<{
1723
2636
  name: "parts";
1724
2637
  tableName: "ledger_artifacts";
1725
2638
  dataType: "json";
@@ -1738,7 +2651,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1738
2651
  }, {}, {
1739
2652
  $type: Part[] | null;
1740
2653
  }>;
1741
- metadata: drizzle_orm_pg_core1671.PgColumn<{
2654
+ metadata: drizzle_orm_pg_core1486.PgColumn<{
1742
2655
  name: "metadata";
1743
2656
  tableName: "ledger_artifacts";
1744
2657
  dataType: "json";
@@ -1757,7 +2670,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1757
2670
  }, {}, {
1758
2671
  $type: Record<string, unknown> | null;
1759
2672
  }>;
1760
- summary: drizzle_orm_pg_core1671.PgColumn<{
2673
+ summary: drizzle_orm_pg_core1486.PgColumn<{
1761
2674
  name: "summary";
1762
2675
  tableName: "ledger_artifacts";
1763
2676
  dataType: "string";
@@ -1774,7 +2687,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1774
2687
  identity: undefined;
1775
2688
  generated: undefined;
1776
2689
  }, {}, {}>;
1777
- mime: drizzle_orm_pg_core1671.PgColumn<{
2690
+ mime: drizzle_orm_pg_core1486.PgColumn<{
1778
2691
  name: "mime";
1779
2692
  tableName: "ledger_artifacts";
1780
2693
  dataType: "json";
@@ -1793,7 +2706,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1793
2706
  }, {}, {
1794
2707
  $type: string[] | null;
1795
2708
  }>;
1796
- visibility: drizzle_orm_pg_core1671.PgColumn<{
2709
+ visibility: drizzle_orm_pg_core1486.PgColumn<{
1797
2710
  name: "visibility";
1798
2711
  tableName: "ledger_artifacts";
1799
2712
  dataType: "string";
@@ -1812,7 +2725,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1812
2725
  }, {}, {
1813
2726
  length: 256;
1814
2727
  }>;
1815
- allowedAgents: drizzle_orm_pg_core1671.PgColumn<{
2728
+ allowedAgents: drizzle_orm_pg_core1486.PgColumn<{
1816
2729
  name: "allowed_agents";
1817
2730
  tableName: "ledger_artifacts";
1818
2731
  dataType: "json";
@@ -1831,7 +2744,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1831
2744
  }, {}, {
1832
2745
  $type: string[] | null;
1833
2746
  }>;
1834
- derivedFrom: drizzle_orm_pg_core1671.PgColumn<{
2747
+ derivedFrom: drizzle_orm_pg_core1486.PgColumn<{
1835
2748
  name: "derived_from";
1836
2749
  tableName: "ledger_artifacts";
1837
2750
  dataType: "string";
@@ -1850,7 +2763,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1850
2763
  }, {}, {
1851
2764
  length: 256;
1852
2765
  }>;
1853
- projectId: drizzle_orm_pg_core1671.PgColumn<{
2766
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
1854
2767
  name: "project_id";
1855
2768
  tableName: "ledger_artifacts";
1856
2769
  dataType: "string";
@@ -1869,7 +2782,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1869
2782
  }, {}, {
1870
2783
  length: 256;
1871
2784
  }>;
1872
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
2785
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
1873
2786
  name: "tenant_id";
1874
2787
  tableName: "ledger_artifacts";
1875
2788
  dataType: "string";
@@ -1888,7 +2801,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1888
2801
  }, {}, {
1889
2802
  length: 256;
1890
2803
  }>;
1891
- id: drizzle_orm_pg_core1671.PgColumn<{
2804
+ id: drizzle_orm_pg_core1486.PgColumn<{
1892
2805
  name: "id";
1893
2806
  tableName: "ledger_artifacts";
1894
2807
  dataType: "string";
@@ -1910,11 +2823,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1671.PgTableWithColumns<{
1910
2823
  };
1911
2824
  dialect: "pg";
1912
2825
  }>;
1913
- declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2826
+ declare const contextCache: drizzle_orm_pg_core1486.PgTableWithColumns<{
1914
2827
  name: "context_cache";
1915
2828
  schema: undefined;
1916
2829
  columns: {
1917
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
2830
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
1918
2831
  name: "created_at";
1919
2832
  tableName: "context_cache";
1920
2833
  dataType: "string";
@@ -1931,7 +2844,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
1931
2844
  identity: undefined;
1932
2845
  generated: undefined;
1933
2846
  }, {}, {}>;
1934
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
2847
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
1935
2848
  name: "updated_at";
1936
2849
  tableName: "context_cache";
1937
2850
  dataType: "string";
@@ -1948,7 +2861,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
1948
2861
  identity: undefined;
1949
2862
  generated: undefined;
1950
2863
  }, {}, {}>;
1951
- conversationId: drizzle_orm_pg_core1671.PgColumn<{
2864
+ conversationId: drizzle_orm_pg_core1486.PgColumn<{
1952
2865
  name: "conversation_id";
1953
2866
  tableName: "context_cache";
1954
2867
  dataType: "string";
@@ -1967,7 +2880,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
1967
2880
  }, {}, {
1968
2881
  length: 256;
1969
2882
  }>;
1970
- contextConfigId: drizzle_orm_pg_core1671.PgColumn<{
2883
+ contextConfigId: drizzle_orm_pg_core1486.PgColumn<{
1971
2884
  name: "context_config_id";
1972
2885
  tableName: "context_cache";
1973
2886
  dataType: "string";
@@ -1986,7 +2899,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
1986
2899
  }, {}, {
1987
2900
  length: 256;
1988
2901
  }>;
1989
- contextVariableKey: drizzle_orm_pg_core1671.PgColumn<{
2902
+ contextVariableKey: drizzle_orm_pg_core1486.PgColumn<{
1990
2903
  name: "context_variable_key";
1991
2904
  tableName: "context_cache";
1992
2905
  dataType: "string";
@@ -2005,7 +2918,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2005
2918
  }, {}, {
2006
2919
  length: 256;
2007
2920
  }>;
2008
- ref: drizzle_orm_pg_core1671.PgColumn<{
2921
+ ref: drizzle_orm_pg_core1486.PgColumn<{
2009
2922
  name: "ref";
2010
2923
  tableName: "context_cache";
2011
2924
  dataType: "json";
@@ -2032,7 +2945,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2032
2945
  hash: string;
2033
2946
  };
2034
2947
  }>;
2035
- value: drizzle_orm_pg_core1671.PgColumn<{
2948
+ value: drizzle_orm_pg_core1486.PgColumn<{
2036
2949
  name: "value";
2037
2950
  tableName: "context_cache";
2038
2951
  dataType: "json";
@@ -2051,7 +2964,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2051
2964
  }, {}, {
2052
2965
  $type: unknown;
2053
2966
  }>;
2054
- requestHash: drizzle_orm_pg_core1671.PgColumn<{
2967
+ requestHash: drizzle_orm_pg_core1486.PgColumn<{
2055
2968
  name: "request_hash";
2056
2969
  tableName: "context_cache";
2057
2970
  dataType: "string";
@@ -2070,7 +2983,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2070
2983
  }, {}, {
2071
2984
  length: 256;
2072
2985
  }>;
2073
- fetchedAt: drizzle_orm_pg_core1671.PgColumn<{
2986
+ fetchedAt: drizzle_orm_pg_core1486.PgColumn<{
2074
2987
  name: "fetched_at";
2075
2988
  tableName: "context_cache";
2076
2989
  dataType: "string";
@@ -2087,7 +3000,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2087
3000
  identity: undefined;
2088
3001
  generated: undefined;
2089
3002
  }, {}, {}>;
2090
- fetchSource: drizzle_orm_pg_core1671.PgColumn<{
3003
+ fetchSource: drizzle_orm_pg_core1486.PgColumn<{
2091
3004
  name: "fetch_source";
2092
3005
  tableName: "context_cache";
2093
3006
  dataType: "string";
@@ -2106,7 +3019,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2106
3019
  }, {}, {
2107
3020
  length: 256;
2108
3021
  }>;
2109
- projectId: drizzle_orm_pg_core1671.PgColumn<{
3022
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
2110
3023
  name: "project_id";
2111
3024
  tableName: "context_cache";
2112
3025
  dataType: "string";
@@ -2125,7 +3038,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2125
3038
  }, {}, {
2126
3039
  length: 256;
2127
3040
  }>;
2128
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
3041
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
2129
3042
  name: "tenant_id";
2130
3043
  tableName: "context_cache";
2131
3044
  dataType: "string";
@@ -2144,7 +3057,7 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2144
3057
  }, {}, {
2145
3058
  length: 256;
2146
3059
  }>;
2147
- id: drizzle_orm_pg_core1671.PgColumn<{
3060
+ id: drizzle_orm_pg_core1486.PgColumn<{
2148
3061
  name: "id";
2149
3062
  tableName: "context_cache";
2150
3063
  dataType: "string";
@@ -2179,11 +3092,11 @@ declare const contextCache: drizzle_orm_pg_core1671.PgTableWithColumns<{
2179
3092
  * datasetRunConfigId (optional: if created from a config),
2180
3093
  * evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
2181
3094
  */
2182
- declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
3095
+ declare const datasetRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
2183
3096
  name: "dataset_run";
2184
3097
  schema: undefined;
2185
3098
  columns: {
2186
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
3099
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
2187
3100
  name: "created_at";
2188
3101
  tableName: "dataset_run";
2189
3102
  dataType: "string";
@@ -2200,7 +3113,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2200
3113
  identity: undefined;
2201
3114
  generated: undefined;
2202
3115
  }, {}, {}>;
2203
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
3116
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2204
3117
  name: "updated_at";
2205
3118
  tableName: "dataset_run";
2206
3119
  dataType: "string";
@@ -2217,7 +3130,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2217
3130
  identity: undefined;
2218
3131
  generated: undefined;
2219
3132
  }, {}, {}>;
2220
- datasetId: drizzle_orm_pg_core1671.PgColumn<{
3133
+ datasetId: drizzle_orm_pg_core1486.PgColumn<{
2221
3134
  name: "dataset_id";
2222
3135
  tableName: "dataset_run";
2223
3136
  dataType: "string";
@@ -2234,7 +3147,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2234
3147
  identity: undefined;
2235
3148
  generated: undefined;
2236
3149
  }, {}, {}>;
2237
- datasetRunConfigId: drizzle_orm_pg_core1671.PgColumn<{
3150
+ datasetRunConfigId: drizzle_orm_pg_core1486.PgColumn<{
2238
3151
  name: "dataset_run_config_id";
2239
3152
  tableName: "dataset_run";
2240
3153
  dataType: "string";
@@ -2251,7 +3164,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2251
3164
  identity: undefined;
2252
3165
  generated: undefined;
2253
3166
  }, {}, {}>;
2254
- evaluationJobConfigId: drizzle_orm_pg_core1671.PgColumn<{
3167
+ evaluationJobConfigId: drizzle_orm_pg_core1486.PgColumn<{
2255
3168
  name: "evaluation_job_config_id";
2256
3169
  tableName: "dataset_run";
2257
3170
  dataType: "string";
@@ -2268,7 +3181,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2268
3181
  identity: undefined;
2269
3182
  generated: undefined;
2270
3183
  }, {}, {}>;
2271
- projectId: drizzle_orm_pg_core1671.PgColumn<{
3184
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
2272
3185
  name: "project_id";
2273
3186
  tableName: "dataset_run";
2274
3187
  dataType: "string";
@@ -2287,7 +3200,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2287
3200
  }, {}, {
2288
3201
  length: 256;
2289
3202
  }>;
2290
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
3203
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
2291
3204
  name: "tenant_id";
2292
3205
  tableName: "dataset_run";
2293
3206
  dataType: "string";
@@ -2306,7 +3219,7 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2306
3219
  }, {}, {
2307
3220
  length: 256;
2308
3221
  }>;
2309
- id: drizzle_orm_pg_core1671.PgColumn<{
3222
+ id: drizzle_orm_pg_core1486.PgColumn<{
2310
3223
  name: "id";
2311
3224
  tableName: "dataset_run";
2312
3225
  dataType: "string";
@@ -2339,11 +3252,11 @@ declare const datasetRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2339
3252
  * unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
2340
3253
  * and timestamps
2341
3254
  */
2342
- declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWithColumns<{
3255
+ declare const datasetRunConversationRelations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2343
3256
  name: "dataset_run_conversation_relations";
2344
3257
  schema: undefined;
2345
3258
  columns: {
2346
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
3259
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
2347
3260
  name: "created_at";
2348
3261
  tableName: "dataset_run_conversation_relations";
2349
3262
  dataType: "string";
@@ -2360,7 +3273,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2360
3273
  identity: undefined;
2361
3274
  generated: undefined;
2362
3275
  }, {}, {}>;
2363
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
3276
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2364
3277
  name: "updated_at";
2365
3278
  tableName: "dataset_run_conversation_relations";
2366
3279
  dataType: "string";
@@ -2377,7 +3290,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2377
3290
  identity: undefined;
2378
3291
  generated: undefined;
2379
3292
  }, {}, {}>;
2380
- datasetRunId: drizzle_orm_pg_core1671.PgColumn<{
3293
+ datasetRunId: drizzle_orm_pg_core1486.PgColumn<{
2381
3294
  name: "dataset_run_id";
2382
3295
  tableName: "dataset_run_conversation_relations";
2383
3296
  dataType: "string";
@@ -2394,7 +3307,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2394
3307
  identity: undefined;
2395
3308
  generated: undefined;
2396
3309
  }, {}, {}>;
2397
- conversationId: drizzle_orm_pg_core1671.PgColumn<{
3310
+ conversationId: drizzle_orm_pg_core1486.PgColumn<{
2398
3311
  name: "conversation_id";
2399
3312
  tableName: "dataset_run_conversation_relations";
2400
3313
  dataType: "string";
@@ -2411,7 +3324,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2411
3324
  identity: undefined;
2412
3325
  generated: undefined;
2413
3326
  }, {}, {}>;
2414
- datasetItemId: drizzle_orm_pg_core1671.PgColumn<{
3327
+ datasetItemId: drizzle_orm_pg_core1486.PgColumn<{
2415
3328
  name: "dataset_item_id";
2416
3329
  tableName: "dataset_run_conversation_relations";
2417
3330
  dataType: "string";
@@ -2428,7 +3341,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2428
3341
  identity: undefined;
2429
3342
  generated: undefined;
2430
3343
  }, {}, {}>;
2431
- projectId: drizzle_orm_pg_core1671.PgColumn<{
3344
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
2432
3345
  name: "project_id";
2433
3346
  tableName: "dataset_run_conversation_relations";
2434
3347
  dataType: "string";
@@ -2447,7 +3360,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2447
3360
  }, {}, {
2448
3361
  length: 256;
2449
3362
  }>;
2450
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
3363
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
2451
3364
  name: "tenant_id";
2452
3365
  tableName: "dataset_run_conversation_relations";
2453
3366
  dataType: "string";
@@ -2466,7 +3379,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2466
3379
  }, {}, {
2467
3380
  length: 256;
2468
3381
  }>;
2469
- id: drizzle_orm_pg_core1671.PgColumn<{
3382
+ id: drizzle_orm_pg_core1486.PgColumn<{
2470
3383
  name: "id";
2471
3384
  tableName: "dataset_run_conversation_relations";
2472
3385
  dataType: "string";
@@ -2499,11 +3412,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1671.PgTableWi
2499
3412
  * evaluationRunConfigId (optional: if created from a run config),
2500
3413
  * and timestamps
2501
3414
  */
2502
- declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
3415
+ declare const evaluationRun: drizzle_orm_pg_core1486.PgTableWithColumns<{
2503
3416
  name: "evaluation_run";
2504
3417
  schema: undefined;
2505
3418
  columns: {
2506
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
3419
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
2507
3420
  name: "created_at";
2508
3421
  tableName: "evaluation_run";
2509
3422
  dataType: "string";
@@ -2520,7 +3433,7 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2520
3433
  identity: undefined;
2521
3434
  generated: undefined;
2522
3435
  }, {}, {}>;
2523
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
3436
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2524
3437
  name: "updated_at";
2525
3438
  tableName: "evaluation_run";
2526
3439
  dataType: "string";
@@ -2537,7 +3450,7 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2537
3450
  identity: undefined;
2538
3451
  generated: undefined;
2539
3452
  }, {}, {}>;
2540
- evaluationJobConfigId: drizzle_orm_pg_core1671.PgColumn<{
3453
+ evaluationJobConfigId: drizzle_orm_pg_core1486.PgColumn<{
2541
3454
  name: "evaluation_job_config_id";
2542
3455
  tableName: "evaluation_run";
2543
3456
  dataType: "string";
@@ -2554,7 +3467,7 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2554
3467
  identity: undefined;
2555
3468
  generated: undefined;
2556
3469
  }, {}, {}>;
2557
- evaluationRunConfigId: drizzle_orm_pg_core1671.PgColumn<{
3470
+ evaluationRunConfigId: drizzle_orm_pg_core1486.PgColumn<{
2558
3471
  name: "evaluation_run_config_id";
2559
3472
  tableName: "evaluation_run";
2560
3473
  dataType: "string";
@@ -2571,7 +3484,7 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2571
3484
  identity: undefined;
2572
3485
  generated: undefined;
2573
3486
  }, {}, {}>;
2574
- projectId: drizzle_orm_pg_core1671.PgColumn<{
3487
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
2575
3488
  name: "project_id";
2576
3489
  tableName: "evaluation_run";
2577
3490
  dataType: "string";
@@ -2590,7 +3503,7 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2590
3503
  }, {}, {
2591
3504
  length: 256;
2592
3505
  }>;
2593
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
3506
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
2594
3507
  name: "tenant_id";
2595
3508
  tableName: "evaluation_run";
2596
3509
  dataType: "string";
@@ -2609,7 +3522,7 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2609
3522
  }, {}, {
2610
3523
  length: 256;
2611
3524
  }>;
2612
- id: drizzle_orm_pg_core1671.PgColumn<{
3525
+ id: drizzle_orm_pg_core1486.PgColumn<{
2613
3526
  name: "id";
2614
3527
  tableName: "evaluation_run";
2615
3528
  dataType: "string";
@@ -2640,11 +3553,11 @@ declare const evaluationRun: drizzle_orm_pg_core1671.PgTableWithColumns<{
2640
3553
  * evaluationRunId (optional, links to evaluationRun),
2641
3554
  * output (evaluation result as MessageContent), and timestamps
2642
3555
  */
2643
- declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
3556
+ declare const evaluationResult: drizzle_orm_pg_core1486.PgTableWithColumns<{
2644
3557
  name: "evaluation_result";
2645
3558
  schema: undefined;
2646
3559
  columns: {
2647
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
3560
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
2648
3561
  name: "created_at";
2649
3562
  tableName: "evaluation_result";
2650
3563
  dataType: "string";
@@ -2661,7 +3574,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2661
3574
  identity: undefined;
2662
3575
  generated: undefined;
2663
3576
  }, {}, {}>;
2664
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
3577
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2665
3578
  name: "updated_at";
2666
3579
  tableName: "evaluation_result";
2667
3580
  dataType: "string";
@@ -2678,7 +3591,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2678
3591
  identity: undefined;
2679
3592
  generated: undefined;
2680
3593
  }, {}, {}>;
2681
- conversationId: drizzle_orm_pg_core1671.PgColumn<{
3594
+ conversationId: drizzle_orm_pg_core1486.PgColumn<{
2682
3595
  name: "conversation_id";
2683
3596
  tableName: "evaluation_result";
2684
3597
  dataType: "string";
@@ -2695,7 +3608,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2695
3608
  identity: undefined;
2696
3609
  generated: undefined;
2697
3610
  }, {}, {}>;
2698
- evaluatorId: drizzle_orm_pg_core1671.PgColumn<{
3611
+ evaluatorId: drizzle_orm_pg_core1486.PgColumn<{
2699
3612
  name: "evaluator_id";
2700
3613
  tableName: "evaluation_result";
2701
3614
  dataType: "string";
@@ -2712,7 +3625,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2712
3625
  identity: undefined;
2713
3626
  generated: undefined;
2714
3627
  }, {}, {}>;
2715
- evaluationRunId: drizzle_orm_pg_core1671.PgColumn<{
3628
+ evaluationRunId: drizzle_orm_pg_core1486.PgColumn<{
2716
3629
  name: "evaluation_run_id";
2717
3630
  tableName: "evaluation_result";
2718
3631
  dataType: "string";
@@ -2729,7 +3642,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2729
3642
  identity: undefined;
2730
3643
  generated: undefined;
2731
3644
  }, {}, {}>;
2732
- output: drizzle_orm_pg_core1671.PgColumn<{
3645
+ output: drizzle_orm_pg_core1486.PgColumn<{
2733
3646
  name: "output";
2734
3647
  tableName: "evaluation_result";
2735
3648
  dataType: "json";
@@ -2748,7 +3661,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2748
3661
  }, {}, {
2749
3662
  $type: MessageContent;
2750
3663
  }>;
2751
- projectId: drizzle_orm_pg_core1671.PgColumn<{
3664
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
2752
3665
  name: "project_id";
2753
3666
  tableName: "evaluation_result";
2754
3667
  dataType: "string";
@@ -2767,7 +3680,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2767
3680
  }, {}, {
2768
3681
  length: 256;
2769
3682
  }>;
2770
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
3683
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
2771
3684
  name: "tenant_id";
2772
3685
  tableName: "evaluation_result";
2773
3686
  dataType: "string";
@@ -2786,7 +3699,7 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2786
3699
  }, {}, {
2787
3700
  length: 256;
2788
3701
  }>;
2789
- id: drizzle_orm_pg_core1671.PgColumn<{
3702
+ id: drizzle_orm_pg_core1486.PgColumn<{
2790
3703
  name: "id";
2791
3704
  tableName: "evaluation_result";
2792
3705
  dataType: "string";
@@ -2808,38 +3721,38 @@ declare const evaluationResult: drizzle_orm_pg_core1671.PgTableWithColumns<{
2808
3721
  };
2809
3722
  dialect: "pg";
2810
3723
  }>;
2811
- declare const conversationsRelations: drizzle_orm95.Relations<"conversations", {
2812
- messages: drizzle_orm95.Many<"messages">;
3724
+ declare const conversationsRelations: drizzle_orm20.Relations<"conversations", {
3725
+ messages: drizzle_orm20.Many<"messages">;
2813
3726
  }>;
2814
- declare const messagesRelations: drizzle_orm95.Relations<"messages", {
2815
- conversation: drizzle_orm95.One<"conversations", true>;
2816
- task: drizzle_orm95.One<"tasks", false>;
2817
- parentMessage: drizzle_orm95.One<"messages", false>;
2818
- childMessages: drizzle_orm95.Many<"messages">;
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">;
2819
3732
  }>;
2820
- declare const tasksRelations: drizzle_orm95.Relations<"tasks", {
2821
- messages: drizzle_orm95.Many<"messages">;
2822
- ledgerArtifacts: drizzle_orm95.Many<"ledger_artifacts">;
2823
- parentRelations: drizzle_orm95.Many<"task_relations">;
2824
- childRelations: drizzle_orm95.Many<"task_relations">;
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">;
2825
3738
  }>;
2826
- declare const taskRelationsRelations: drizzle_orm95.Relations<"task_relations", {
2827
- parentTask: drizzle_orm95.One<"tasks", true>;
2828
- childTask: drizzle_orm95.One<"tasks", true>;
3739
+ declare const taskRelationsRelations: drizzle_orm20.Relations<"task_relations", {
3740
+ parentTask: drizzle_orm20.One<"tasks", true>;
3741
+ childTask: drizzle_orm20.One<"tasks", true>;
2829
3742
  }>;
2830
- declare const ledgerArtifactsRelations: drizzle_orm95.Relations<"ledger_artifacts", {
2831
- task: drizzle_orm95.One<"tasks", true>;
3743
+ declare const ledgerArtifactsRelations: drizzle_orm20.Relations<"ledger_artifacts", {
3744
+ task: drizzle_orm20.One<"tasks", true>;
2832
3745
  }>;
2833
3746
  /**
2834
3747
  * Tracks GitHub App installations linked to tenants.
2835
3748
  * One tenant can have multiple installations (e.g., multiple orgs).
2836
3749
  * The installation_id is the GitHub-assigned ID, unique across all GitHub.
2837
3750
  */
2838
- declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithColumns<{
3751
+ declare const workAppGitHubInstallations: drizzle_orm_pg_core1486.PgTableWithColumns<{
2839
3752
  name: "work_app_github_installations";
2840
3753
  schema: undefined;
2841
3754
  columns: {
2842
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
3755
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
2843
3756
  name: "created_at";
2844
3757
  tableName: "work_app_github_installations";
2845
3758
  dataType: "string";
@@ -2856,7 +3769,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2856
3769
  identity: undefined;
2857
3770
  generated: undefined;
2858
3771
  }, {}, {}>;
2859
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
3772
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
2860
3773
  name: "updated_at";
2861
3774
  tableName: "work_app_github_installations";
2862
3775
  dataType: "string";
@@ -2873,7 +3786,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2873
3786
  identity: undefined;
2874
3787
  generated: undefined;
2875
3788
  }, {}, {}>;
2876
- installationId: drizzle_orm_pg_core1671.PgColumn<{
3789
+ installationId: drizzle_orm_pg_core1486.PgColumn<{
2877
3790
  name: "installation_id";
2878
3791
  tableName: "work_app_github_installations";
2879
3792
  dataType: "string";
@@ -2890,7 +3803,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2890
3803
  identity: undefined;
2891
3804
  generated: undefined;
2892
3805
  }, {}, {}>;
2893
- accountLogin: drizzle_orm_pg_core1671.PgColumn<{
3806
+ accountLogin: drizzle_orm_pg_core1486.PgColumn<{
2894
3807
  name: "account_login";
2895
3808
  tableName: "work_app_github_installations";
2896
3809
  dataType: "string";
@@ -2909,7 +3822,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2909
3822
  }, {}, {
2910
3823
  length: 256;
2911
3824
  }>;
2912
- accountId: drizzle_orm_pg_core1671.PgColumn<{
3825
+ accountId: drizzle_orm_pg_core1486.PgColumn<{
2913
3826
  name: "account_id";
2914
3827
  tableName: "work_app_github_installations";
2915
3828
  dataType: "string";
@@ -2926,7 +3839,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2926
3839
  identity: undefined;
2927
3840
  generated: undefined;
2928
3841
  }, {}, {}>;
2929
- accountType: drizzle_orm_pg_core1671.PgColumn<{
3842
+ accountType: drizzle_orm_pg_core1486.PgColumn<{
2930
3843
  name: "account_type";
2931
3844
  tableName: "work_app_github_installations";
2932
3845
  dataType: "string";
@@ -2946,7 +3859,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2946
3859
  length: 20;
2947
3860
  $type: "User" | "Organization";
2948
3861
  }>;
2949
- status: drizzle_orm_pg_core1671.PgColumn<{
3862
+ status: drizzle_orm_pg_core1486.PgColumn<{
2950
3863
  name: "status";
2951
3864
  tableName: "work_app_github_installations";
2952
3865
  dataType: "string";
@@ -2966,7 +3879,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2966
3879
  length: 20;
2967
3880
  $type: "pending" | "active" | "suspended" | "disconnected";
2968
3881
  }>;
2969
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
3882
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
2970
3883
  name: "tenant_id";
2971
3884
  tableName: "work_app_github_installations";
2972
3885
  dataType: "string";
@@ -2985,7 +3898,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
2985
3898
  }, {}, {
2986
3899
  length: 256;
2987
3900
  }>;
2988
- id: drizzle_orm_pg_core1671.PgColumn<{
3901
+ id: drizzle_orm_pg_core1486.PgColumn<{
2989
3902
  name: "id";
2990
3903
  tableName: "work_app_github_installations";
2991
3904
  dataType: "string";
@@ -3012,11 +3925,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1671.PgTableWithCol
3012
3925
  * These are synced from GitHub when the app is installed or updated.
3013
3926
  * The repository_id is the GitHub-assigned ID, unique across all GitHub.
3014
3927
  */
3015
- declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColumns<{
3928
+ declare const workAppGitHubRepositories: drizzle_orm_pg_core1486.PgTableWithColumns<{
3016
3929
  name: "work_app_github_repositories";
3017
3930
  schema: undefined;
3018
3931
  columns: {
3019
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
3932
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
3020
3933
  name: "created_at";
3021
3934
  tableName: "work_app_github_repositories";
3022
3935
  dataType: "string";
@@ -3033,7 +3946,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3033
3946
  identity: undefined;
3034
3947
  generated: undefined;
3035
3948
  }, {}, {}>;
3036
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
3949
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3037
3950
  name: "updated_at";
3038
3951
  tableName: "work_app_github_repositories";
3039
3952
  dataType: "string";
@@ -3050,7 +3963,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3050
3963
  identity: undefined;
3051
3964
  generated: undefined;
3052
3965
  }, {}, {}>;
3053
- id: drizzle_orm_pg_core1671.PgColumn<{
3966
+ id: drizzle_orm_pg_core1486.PgColumn<{
3054
3967
  name: "id";
3055
3968
  tableName: "work_app_github_repositories";
3056
3969
  dataType: "string";
@@ -3069,7 +3982,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3069
3982
  }, {}, {
3070
3983
  length: 256;
3071
3984
  }>;
3072
- installationDbId: drizzle_orm_pg_core1671.PgColumn<{
3985
+ installationDbId: drizzle_orm_pg_core1486.PgColumn<{
3073
3986
  name: "installation_db_id";
3074
3987
  tableName: "work_app_github_repositories";
3075
3988
  dataType: "string";
@@ -3088,7 +4001,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3088
4001
  }, {}, {
3089
4002
  length: 256;
3090
4003
  }>;
3091
- repositoryId: drizzle_orm_pg_core1671.PgColumn<{
4004
+ repositoryId: drizzle_orm_pg_core1486.PgColumn<{
3092
4005
  name: "repository_id";
3093
4006
  tableName: "work_app_github_repositories";
3094
4007
  dataType: "string";
@@ -3105,7 +4018,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3105
4018
  identity: undefined;
3106
4019
  generated: undefined;
3107
4020
  }, {}, {}>;
3108
- repositoryName: drizzle_orm_pg_core1671.PgColumn<{
4021
+ repositoryName: drizzle_orm_pg_core1486.PgColumn<{
3109
4022
  name: "repository_name";
3110
4023
  tableName: "work_app_github_repositories";
3111
4024
  dataType: "string";
@@ -3124,7 +4037,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3124
4037
  }, {}, {
3125
4038
  length: 256;
3126
4039
  }>;
3127
- repositoryFullName: drizzle_orm_pg_core1671.PgColumn<{
4040
+ repositoryFullName: drizzle_orm_pg_core1486.PgColumn<{
3128
4041
  name: "repository_full_name";
3129
4042
  tableName: "work_app_github_repositories";
3130
4043
  dataType: "string";
@@ -3143,7 +4056,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3143
4056
  }, {}, {
3144
4057
  length: 512;
3145
4058
  }>;
3146
- private: drizzle_orm_pg_core1671.PgColumn<{
4059
+ private: drizzle_orm_pg_core1486.PgColumn<{
3147
4060
  name: "private";
3148
4061
  tableName: "work_app_github_repositories";
3149
4062
  dataType: "boolean";
@@ -3171,11 +4084,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1671.PgTableWithColu
3171
4084
  * (cross-schema, no FK constraint for project). tenant_id is included because
3172
4085
  * project IDs are only unique within a tenant.
3173
4086
  */
3174
- declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTableWithColumns<{
4087
+ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1486.PgTableWithColumns<{
3175
4088
  name: "work_app_github_project_repository_access";
3176
4089
  schema: undefined;
3177
4090
  columns: {
3178
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
4091
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
3179
4092
  name: "created_at";
3180
4093
  tableName: "work_app_github_project_repository_access";
3181
4094
  dataType: "string";
@@ -3192,7 +4105,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3192
4105
  identity: undefined;
3193
4106
  generated: undefined;
3194
4107
  }, {}, {}>;
3195
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
4108
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3196
4109
  name: "updated_at";
3197
4110
  tableName: "work_app_github_project_repository_access";
3198
4111
  dataType: "string";
@@ -3209,7 +4122,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3209
4122
  identity: undefined;
3210
4123
  generated: undefined;
3211
4124
  }, {}, {}>;
3212
- repositoryDbId: drizzle_orm_pg_core1671.PgColumn<{
4125
+ repositoryDbId: drizzle_orm_pg_core1486.PgColumn<{
3213
4126
  name: "repository_db_id";
3214
4127
  tableName: "work_app_github_project_repository_access";
3215
4128
  dataType: "string";
@@ -3228,7 +4141,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3228
4141
  }, {}, {
3229
4142
  length: 256;
3230
4143
  }>;
3231
- projectId: drizzle_orm_pg_core1671.PgColumn<{
4144
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
3232
4145
  name: "project_id";
3233
4146
  tableName: "work_app_github_project_repository_access";
3234
4147
  dataType: "string";
@@ -3247,7 +4160,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3247
4160
  }, {}, {
3248
4161
  length: 256;
3249
4162
  }>;
3250
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
4163
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
3251
4164
  name: "tenant_id";
3252
4165
  tableName: "work_app_github_project_repository_access";
3253
4166
  dataType: "string";
@@ -3266,7 +4179,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3266
4179
  }, {}, {
3267
4180
  length: 256;
3268
4181
  }>;
3269
- id: drizzle_orm_pg_core1671.PgColumn<{
4182
+ id: drizzle_orm_pg_core1486.PgColumn<{
3270
4183
  name: "id";
3271
4184
  tableName: "work_app_github_project_repository_access";
3272
4185
  dataType: "string";
@@ -3295,11 +4208,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3295
4208
  * (cross-schema, no FK constraint). These are denormalized here so all GitHub access
3296
4209
  * info can be queried from PostgreSQL alone.
3297
4210
  */
3298
- declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTableWithColumns<{
4211
+ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1486.PgTableWithColumns<{
3299
4212
  name: "work_app_github_mcp_tool_repository_access";
3300
4213
  schema: undefined;
3301
4214
  columns: {
3302
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
4215
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
3303
4216
  name: "created_at";
3304
4217
  tableName: "work_app_github_mcp_tool_repository_access";
3305
4218
  dataType: "string";
@@ -3316,7 +4229,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3316
4229
  identity: undefined;
3317
4230
  generated: undefined;
3318
4231
  }, {}, {}>;
3319
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
4232
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3320
4233
  name: "updated_at";
3321
4234
  tableName: "work_app_github_mcp_tool_repository_access";
3322
4235
  dataType: "string";
@@ -3333,7 +4246,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3333
4246
  identity: undefined;
3334
4247
  generated: undefined;
3335
4248
  }, {}, {}>;
3336
- toolId: drizzle_orm_pg_core1671.PgColumn<{
4249
+ toolId: drizzle_orm_pg_core1486.PgColumn<{
3337
4250
  name: "tool_id";
3338
4251
  tableName: "work_app_github_mcp_tool_repository_access";
3339
4252
  dataType: "string";
@@ -3352,7 +4265,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3352
4265
  }, {}, {
3353
4266
  length: 256;
3354
4267
  }>;
3355
- repositoryDbId: drizzle_orm_pg_core1671.PgColumn<{
4268
+ repositoryDbId: drizzle_orm_pg_core1486.PgColumn<{
3356
4269
  name: "repository_db_id";
3357
4270
  tableName: "work_app_github_mcp_tool_repository_access";
3358
4271
  dataType: "string";
@@ -3371,7 +4284,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3371
4284
  }, {}, {
3372
4285
  length: 256;
3373
4286
  }>;
3374
- projectId: drizzle_orm_pg_core1671.PgColumn<{
4287
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
3375
4288
  name: "project_id";
3376
4289
  tableName: "work_app_github_mcp_tool_repository_access";
3377
4290
  dataType: "string";
@@ -3390,7 +4303,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3390
4303
  }, {}, {
3391
4304
  length: 256;
3392
4305
  }>;
3393
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
4306
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
3394
4307
  name: "tenant_id";
3395
4308
  tableName: "work_app_github_mcp_tool_repository_access";
3396
4309
  dataType: "string";
@@ -3409,7 +4322,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3409
4322
  }, {}, {
3410
4323
  length: 256;
3411
4324
  }>;
3412
- id: drizzle_orm_pg_core1671.PgColumn<{
4325
+ id: drizzle_orm_pg_core1486.PgColumn<{
3413
4326
  name: "id";
3414
4327
  tableName: "work_app_github_mcp_tool_repository_access";
3415
4328
  dataType: "string";
@@ -3437,11 +4350,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1671.PgTa
3437
4350
  * - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
3438
4351
  * If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
3439
4352
  */
3440
- declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1671.PgTableWithColumns<{
4353
+ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1486.PgTableWithColumns<{
3441
4354
  name: "work_app_github_project_access_mode";
3442
4355
  schema: undefined;
3443
4356
  columns: {
3444
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
4357
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
3445
4358
  name: "created_at";
3446
4359
  tableName: "work_app_github_project_access_mode";
3447
4360
  dataType: "string";
@@ -3458,7 +4371,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1671.PgTableWit
3458
4371
  identity: undefined;
3459
4372
  generated: undefined;
3460
4373
  }, {}, {}>;
3461
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
4374
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3462
4375
  name: "updated_at";
3463
4376
  tableName: "work_app_github_project_access_mode";
3464
4377
  dataType: "string";
@@ -3475,7 +4388,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1671.PgTableWit
3475
4388
  identity: undefined;
3476
4389
  generated: undefined;
3477
4390
  }, {}, {}>;
3478
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
4391
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
3479
4392
  name: "tenant_id";
3480
4393
  tableName: "work_app_github_project_access_mode";
3481
4394
  dataType: "string";
@@ -3494,7 +4407,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1671.PgTableWit
3494
4407
  }, {}, {
3495
4408
  length: 256;
3496
4409
  }>;
3497
- projectId: drizzle_orm_pg_core1671.PgColumn<{
4410
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
3498
4411
  name: "project_id";
3499
4412
  tableName: "work_app_github_project_access_mode";
3500
4413
  dataType: "string";
@@ -3513,7 +4426,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1671.PgTableWit
3513
4426
  }, {}, {
3514
4427
  length: 256;
3515
4428
  }>;
3516
- mode: drizzle_orm_pg_core1671.PgColumn<{
4429
+ mode: drizzle_orm_pg_core1486.PgColumn<{
3517
4430
  name: "mode";
3518
4431
  tableName: "work_app_github_project_access_mode";
3519
4432
  dataType: "string";
@@ -3542,11 +4455,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1671.PgTableWit
3542
4455
  * - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
3543
4456
  * If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
3544
4457
  */
3545
- declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWithColumns<{
4458
+ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1486.PgTableWithColumns<{
3546
4459
  name: "work_app_github_mcp_tool_access_mode";
3547
4460
  schema: undefined;
3548
4461
  columns: {
3549
- createdAt: drizzle_orm_pg_core1671.PgColumn<{
4462
+ createdAt: drizzle_orm_pg_core1486.PgColumn<{
3550
4463
  name: "created_at";
3551
4464
  tableName: "work_app_github_mcp_tool_access_mode";
3552
4465
  dataType: "string";
@@ -3563,7 +4476,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWit
3563
4476
  identity: undefined;
3564
4477
  generated: undefined;
3565
4478
  }, {}, {}>;
3566
- updatedAt: drizzle_orm_pg_core1671.PgColumn<{
4479
+ updatedAt: drizzle_orm_pg_core1486.PgColumn<{
3567
4480
  name: "updated_at";
3568
4481
  tableName: "work_app_github_mcp_tool_access_mode";
3569
4482
  dataType: "string";
@@ -3580,7 +4493,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWit
3580
4493
  identity: undefined;
3581
4494
  generated: undefined;
3582
4495
  }, {}, {}>;
3583
- toolId: drizzle_orm_pg_core1671.PgColumn<{
4496
+ toolId: drizzle_orm_pg_core1486.PgColumn<{
3584
4497
  name: "tool_id";
3585
4498
  tableName: "work_app_github_mcp_tool_access_mode";
3586
4499
  dataType: "string";
@@ -3599,7 +4512,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWit
3599
4512
  }, {}, {
3600
4513
  length: 256;
3601
4514
  }>;
3602
- tenantId: drizzle_orm_pg_core1671.PgColumn<{
4515
+ tenantId: drizzle_orm_pg_core1486.PgColumn<{
3603
4516
  name: "tenant_id";
3604
4517
  tableName: "work_app_github_mcp_tool_access_mode";
3605
4518
  dataType: "string";
@@ -3618,7 +4531,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWit
3618
4531
  }, {}, {
3619
4532
  length: 256;
3620
4533
  }>;
3621
- projectId: drizzle_orm_pg_core1671.PgColumn<{
4534
+ projectId: drizzle_orm_pg_core1486.PgColumn<{
3622
4535
  name: "project_id";
3623
4536
  tableName: "work_app_github_mcp_tool_access_mode";
3624
4537
  dataType: "string";
@@ -3637,7 +4550,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWit
3637
4550
  }, {}, {
3638
4551
  length: 256;
3639
4552
  }>;
3640
- mode: drizzle_orm_pg_core1671.PgColumn<{
4553
+ mode: drizzle_orm_pg_core1486.PgColumn<{
3641
4554
  name: "mode";
3642
4555
  tableName: "work_app_github_mcp_tool_access_mode";
3643
4556
  dataType: "string";
@@ -3660,19 +4573,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1671.PgTableWit
3660
4573
  };
3661
4574
  dialect: "pg";
3662
4575
  }>;
3663
- declare const workAppGitHubInstallationsRelations: drizzle_orm95.Relations<"work_app_github_installations", {
3664
- repositories: drizzle_orm95.Many<"work_app_github_repositories">;
4576
+ declare const workAppGitHubInstallationsRelations: drizzle_orm20.Relations<"work_app_github_installations", {
4577
+ repositories: drizzle_orm20.Many<"work_app_github_repositories">;
3665
4578
  }>;
3666
- declare const workAppGitHubRepositoriesRelations: drizzle_orm95.Relations<"work_app_github_repositories", {
3667
- installation: drizzle_orm95.One<"work_app_github_installations", true>;
3668
- projectAccess: drizzle_orm95.Many<"work_app_github_project_repository_access">;
3669
- mcpToolAccess: drizzle_orm95.Many<"work_app_github_mcp_tool_repository_access">;
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">;
3670
4583
  }>;
3671
- declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm95.Relations<"work_app_github_project_repository_access", {
3672
- repository: drizzle_orm95.One<"work_app_github_repositories", true>;
4584
+ declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm20.Relations<"work_app_github_project_repository_access", {
4585
+ repository: drizzle_orm20.One<"work_app_github_repositories", true>;
3673
4586
  }>;
3674
- declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm95.Relations<"work_app_github_mcp_tool_repository_access", {
3675
- repository: drizzle_orm95.One<"work_app_github_repositories", true>;
4587
+ declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm20.Relations<"work_app_github_mcp_tool_repository_access", {
4588
+ repository: drizzle_orm20.One<"work_app_github_repositories", true>;
3676
4589
  }>;
3677
4590
  //#endregion
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 };
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 };