@inkeep/agents-core 0.47.2 → 0.47.3
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.
- package/dist/auth/auth-schema.d.ts +105 -105
- package/dist/auth/auth-validation-schemas.d.ts +131 -131
- package/dist/constants/otel-attributes.d.ts +1 -0
- package/dist/constants/otel-attributes.js +1 -0
- package/dist/data-access/manage/agents.d.ts +26 -26
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +8 -8
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +18 -18
- package/dist/data-access/manage/tools.d.ts +18 -18
- package/dist/data-access/runtime/apiKeys.d.ts +12 -12
- package/dist/data-access/runtime/conversations.d.ts +27 -27
- package/dist/data-access/runtime/messages.d.ts +12 -12
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/manage-schema.d.ts +378 -378
- package/dist/db/runtime/runtime-schema.d.ts +238 -238
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts +1431 -1431
- package/dist/validation/schemas.js +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
5
|
-
import * as
|
|
4
|
+
import * as drizzle_orm74 from "drizzle-orm";
|
|
5
|
+
import * as drizzle_orm_pg_core1592 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 {
|
|
@@ -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:
|
|
18
|
+
declare const projectMetadata: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
19
19
|
name: "project_metadata";
|
|
20
20
|
schema: undefined;
|
|
21
21
|
columns: {
|
|
22
|
-
id:
|
|
22
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
23
23
|
name: "id";
|
|
24
24
|
tableName: "project_metadata";
|
|
25
25
|
dataType: "string";
|
|
@@ -38,7 +38,7 @@ declare const projectMetadata: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
38
38
|
}, {}, {
|
|
39
39
|
length: 256;
|
|
40
40
|
}>;
|
|
41
|
-
tenantId:
|
|
41
|
+
tenantId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
57
57
|
}, {}, {
|
|
58
58
|
length: 256;
|
|
59
59
|
}>;
|
|
60
|
-
createdAt:
|
|
60
|
+
createdAt: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
74
74
|
identity: undefined;
|
|
75
75
|
generated: undefined;
|
|
76
76
|
}, {}, {}>;
|
|
77
|
-
createdBy:
|
|
77
|
+
createdBy: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
93
93
|
}, {}, {
|
|
94
94
|
length: 256;
|
|
95
95
|
}>;
|
|
96
|
-
mainBranchName:
|
|
96
|
+
mainBranchName: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
115
115
|
};
|
|
116
116
|
dialect: "pg";
|
|
117
117
|
}>;
|
|
118
|
-
declare const conversations:
|
|
118
|
+
declare const conversations: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
119
119
|
name: "conversations";
|
|
120
120
|
schema: undefined;
|
|
121
121
|
columns: {
|
|
122
|
-
createdAt:
|
|
122
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
123
123
|
name: "created_at";
|
|
124
124
|
tableName: "conversations";
|
|
125
125
|
dataType: "string";
|
|
@@ -136,7 +136,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
136
136
|
identity: undefined;
|
|
137
137
|
generated: undefined;
|
|
138
138
|
}, {}, {}>;
|
|
139
|
-
updatedAt:
|
|
139
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
140
140
|
name: "updated_at";
|
|
141
141
|
tableName: "conversations";
|
|
142
142
|
dataType: "string";
|
|
@@ -153,7 +153,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
153
153
|
identity: undefined;
|
|
154
154
|
generated: undefined;
|
|
155
155
|
}, {}, {}>;
|
|
156
|
-
userId:
|
|
156
|
+
userId: drizzle_orm_pg_core1592.PgColumn<{
|
|
157
157
|
name: "user_id";
|
|
158
158
|
tableName: "conversations";
|
|
159
159
|
dataType: "string";
|
|
@@ -172,7 +172,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
172
172
|
}, {}, {
|
|
173
173
|
length: 256;
|
|
174
174
|
}>;
|
|
175
|
-
agentId:
|
|
175
|
+
agentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
176
176
|
name: "agent_id";
|
|
177
177
|
tableName: "conversations";
|
|
178
178
|
dataType: "string";
|
|
@@ -191,7 +191,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
191
191
|
}, {}, {
|
|
192
192
|
length: 256;
|
|
193
193
|
}>;
|
|
194
|
-
activeSubAgentId:
|
|
194
|
+
activeSubAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
195
195
|
name: "active_sub_agent_id";
|
|
196
196
|
tableName: "conversations";
|
|
197
197
|
dataType: "string";
|
|
@@ -210,13 +210,13 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
210
210
|
}, {}, {
|
|
211
211
|
length: 256;
|
|
212
212
|
}>;
|
|
213
|
-
ref:
|
|
213
|
+
ref: drizzle_orm_pg_core1592.PgColumn<{
|
|
214
214
|
name: "ref";
|
|
215
215
|
tableName: "conversations";
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "tag" | "commit" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,12 +232,12 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "tag" | "commit" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
239
239
|
}>;
|
|
240
|
-
title:
|
|
240
|
+
title: drizzle_orm_pg_core1592.PgColumn<{
|
|
241
241
|
name: "title";
|
|
242
242
|
tableName: "conversations";
|
|
243
243
|
dataType: "string";
|
|
@@ -254,7 +254,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
254
254
|
identity: undefined;
|
|
255
255
|
generated: undefined;
|
|
256
256
|
}, {}, {}>;
|
|
257
|
-
lastContextResolution:
|
|
257
|
+
lastContextResolution: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
271
271
|
identity: undefined;
|
|
272
272
|
generated: undefined;
|
|
273
273
|
}, {}, {}>;
|
|
274
|
-
metadata:
|
|
274
|
+
metadata: drizzle_orm_pg_core1592.PgColumn<{
|
|
275
275
|
name: "metadata";
|
|
276
276
|
tableName: "conversations";
|
|
277
277
|
dataType: "json";
|
|
@@ -290,7 +290,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
290
290
|
}, {}, {
|
|
291
291
|
$type: ConversationMetadata;
|
|
292
292
|
}>;
|
|
293
|
-
projectId:
|
|
293
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
294
294
|
name: "project_id";
|
|
295
295
|
tableName: "conversations";
|
|
296
296
|
dataType: "string";
|
|
@@ -309,7 +309,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
309
309
|
}, {}, {
|
|
310
310
|
length: 256;
|
|
311
311
|
}>;
|
|
312
|
-
tenantId:
|
|
312
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
313
313
|
name: "tenant_id";
|
|
314
314
|
tableName: "conversations";
|
|
315
315
|
dataType: "string";
|
|
@@ -328,7 +328,7 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
328
328
|
}, {}, {
|
|
329
329
|
length: 256;
|
|
330
330
|
}>;
|
|
331
|
-
id:
|
|
331
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
332
332
|
name: "id";
|
|
333
333
|
tableName: "conversations";
|
|
334
334
|
dataType: "string";
|
|
@@ -350,11 +350,11 @@ declare const conversations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
350
350
|
};
|
|
351
351
|
dialect: "pg";
|
|
352
352
|
}>;
|
|
353
|
-
declare const tasks:
|
|
353
|
+
declare const tasks: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
354
354
|
name: "tasks";
|
|
355
355
|
schema: undefined;
|
|
356
356
|
columns: {
|
|
357
|
-
createdAt:
|
|
357
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
358
358
|
name: "created_at";
|
|
359
359
|
tableName: "tasks";
|
|
360
360
|
dataType: "string";
|
|
@@ -371,7 +371,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
371
371
|
identity: undefined;
|
|
372
372
|
generated: undefined;
|
|
373
373
|
}, {}, {}>;
|
|
374
|
-
updatedAt:
|
|
374
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
375
375
|
name: "updated_at";
|
|
376
376
|
tableName: "tasks";
|
|
377
377
|
dataType: "string";
|
|
@@ -388,7 +388,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
388
388
|
identity: undefined;
|
|
389
389
|
generated: undefined;
|
|
390
390
|
}, {}, {}>;
|
|
391
|
-
contextId:
|
|
391
|
+
contextId: drizzle_orm_pg_core1592.PgColumn<{
|
|
392
392
|
name: "context_id";
|
|
393
393
|
tableName: "tasks";
|
|
394
394
|
dataType: "string";
|
|
@@ -407,13 +407,13 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
407
407
|
}, {}, {
|
|
408
408
|
length: 256;
|
|
409
409
|
}>;
|
|
410
|
-
ref:
|
|
410
|
+
ref: drizzle_orm_pg_core1592.PgColumn<{
|
|
411
411
|
name: "ref";
|
|
412
412
|
tableName: "tasks";
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "tag" | "commit" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,12 +429,12 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "tag" | "commit" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
436
436
|
}>;
|
|
437
|
-
status:
|
|
437
|
+
status: drizzle_orm_pg_core1592.PgColumn<{
|
|
438
438
|
name: "status";
|
|
439
439
|
tableName: "tasks";
|
|
440
440
|
dataType: "string";
|
|
@@ -453,7 +453,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
453
453
|
}, {}, {
|
|
454
454
|
length: 256;
|
|
455
455
|
}>;
|
|
456
|
-
metadata:
|
|
456
|
+
metadata: drizzle_orm_pg_core1592.PgColumn<{
|
|
457
457
|
name: "metadata";
|
|
458
458
|
tableName: "tasks";
|
|
459
459
|
dataType: "json";
|
|
@@ -472,7 +472,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
472
472
|
}, {}, {
|
|
473
473
|
$type: TaskMetadataConfig;
|
|
474
474
|
}>;
|
|
475
|
-
subAgentId:
|
|
475
|
+
subAgentId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
491
491
|
}, {}, {
|
|
492
492
|
length: 256;
|
|
493
493
|
}>;
|
|
494
|
-
agentId:
|
|
494
|
+
agentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
495
495
|
name: "agent_id";
|
|
496
496
|
tableName: "tasks";
|
|
497
497
|
dataType: "string";
|
|
@@ -510,7 +510,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
510
510
|
}, {}, {
|
|
511
511
|
length: 256;
|
|
512
512
|
}>;
|
|
513
|
-
projectId:
|
|
513
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
514
514
|
name: "project_id";
|
|
515
515
|
tableName: "tasks";
|
|
516
516
|
dataType: "string";
|
|
@@ -529,7 +529,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
529
529
|
}, {}, {
|
|
530
530
|
length: 256;
|
|
531
531
|
}>;
|
|
532
|
-
tenantId:
|
|
532
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
533
533
|
name: "tenant_id";
|
|
534
534
|
tableName: "tasks";
|
|
535
535
|
dataType: "string";
|
|
@@ -548,7 +548,7 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
548
548
|
}, {}, {
|
|
549
549
|
length: 256;
|
|
550
550
|
}>;
|
|
551
|
-
id:
|
|
551
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
552
552
|
name: "id";
|
|
553
553
|
tableName: "tasks";
|
|
554
554
|
dataType: "string";
|
|
@@ -570,11 +570,11 @@ declare const tasks: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
570
570
|
};
|
|
571
571
|
dialect: "pg";
|
|
572
572
|
}>;
|
|
573
|
-
declare const apiKeys:
|
|
573
|
+
declare const apiKeys: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
574
574
|
name: "api_keys";
|
|
575
575
|
schema: undefined;
|
|
576
576
|
columns: {
|
|
577
|
-
createdAt:
|
|
577
|
+
createdAt: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
591
591
|
identity: undefined;
|
|
592
592
|
generated: undefined;
|
|
593
593
|
}, {}, {}>;
|
|
594
|
-
updatedAt:
|
|
594
|
+
updatedAt: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
608
608
|
identity: undefined;
|
|
609
609
|
generated: undefined;
|
|
610
610
|
}, {}, {}>;
|
|
611
|
-
agentId:
|
|
611
|
+
agentId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
627
627
|
}, {}, {
|
|
628
628
|
length: 256;
|
|
629
629
|
}>;
|
|
630
|
-
publicId:
|
|
630
|
+
publicId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
646
646
|
}, {}, {
|
|
647
647
|
length: 256;
|
|
648
648
|
}>;
|
|
649
|
-
keyHash:
|
|
649
|
+
keyHash: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
665
665
|
}, {}, {
|
|
666
666
|
length: 256;
|
|
667
667
|
}>;
|
|
668
|
-
keyPrefix:
|
|
668
|
+
keyPrefix: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
684
684
|
}, {}, {
|
|
685
685
|
length: 256;
|
|
686
686
|
}>;
|
|
687
|
-
name:
|
|
687
|
+
name: drizzle_orm_pg_core1592.PgColumn<{
|
|
688
688
|
name: "name";
|
|
689
689
|
tableName: "api_keys";
|
|
690
690
|
dataType: "string";
|
|
@@ -703,7 +703,7 @@ declare const apiKeys: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
703
703
|
}, {}, {
|
|
704
704
|
length: 256;
|
|
705
705
|
}>;
|
|
706
|
-
lastUsedAt:
|
|
706
|
+
lastUsedAt: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
720
720
|
identity: undefined;
|
|
721
721
|
generated: undefined;
|
|
722
722
|
}, {}, {}>;
|
|
723
|
-
expiresAt:
|
|
723
|
+
expiresAt: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
737
737
|
identity: undefined;
|
|
738
738
|
generated: undefined;
|
|
739
739
|
}, {}, {}>;
|
|
740
|
-
projectId:
|
|
740
|
+
projectId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
756
756
|
}, {}, {
|
|
757
757
|
length: 256;
|
|
758
758
|
}>;
|
|
759
|
-
tenantId:
|
|
759
|
+
tenantId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
775
775
|
}, {}, {
|
|
776
776
|
length: 256;
|
|
777
777
|
}>;
|
|
778
|
-
id:
|
|
778
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
779
779
|
name: "id";
|
|
780
780
|
tableName: "api_keys";
|
|
781
781
|
dataType: "string";
|
|
@@ -804,11 +804,11 @@ declare const apiKeys: drizzle_orm_pg_core1674.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:
|
|
807
|
+
declare const triggerInvocations: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
808
808
|
name: "trigger_invocations";
|
|
809
809
|
schema: undefined;
|
|
810
810
|
columns: {
|
|
811
|
-
triggerId:
|
|
811
|
+
triggerId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
827
827
|
}, {}, {
|
|
828
828
|
length: 256;
|
|
829
829
|
}>;
|
|
830
|
-
conversationId:
|
|
830
|
+
conversationId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
846
846
|
}, {}, {
|
|
847
847
|
length: 256;
|
|
848
848
|
}>;
|
|
849
|
-
status:
|
|
849
|
+
status: drizzle_orm_pg_core1592.PgColumn<{
|
|
850
850
|
name: "status";
|
|
851
851
|
tableName: "trigger_invocations";
|
|
852
852
|
dataType: "string";
|
|
@@ -865,7 +865,7 @@ declare const triggerInvocations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
865
865
|
}, {}, {
|
|
866
866
|
length: 20;
|
|
867
867
|
}>;
|
|
868
|
-
requestPayload:
|
|
868
|
+
requestPayload: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
882
882
|
identity: undefined;
|
|
883
883
|
generated: undefined;
|
|
884
884
|
}, {}, {}>;
|
|
885
|
-
transformedPayload:
|
|
885
|
+
transformedPayload: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
899
899
|
identity: undefined;
|
|
900
900
|
generated: undefined;
|
|
901
901
|
}, {}, {}>;
|
|
902
|
-
errorMessage:
|
|
902
|
+
errorMessage: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
916
916
|
identity: undefined;
|
|
917
917
|
generated: undefined;
|
|
918
918
|
}, {}, {}>;
|
|
919
|
-
createdAt:
|
|
919
|
+
createdAt: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
933
933
|
identity: undefined;
|
|
934
934
|
generated: undefined;
|
|
935
935
|
}, {}, {}>;
|
|
936
|
-
agentId:
|
|
936
|
+
agentId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
952
952
|
}, {}, {
|
|
953
953
|
length: 256;
|
|
954
954
|
}>;
|
|
955
|
-
projectId:
|
|
955
|
+
projectId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
971
971
|
}, {}, {
|
|
972
972
|
length: 256;
|
|
973
973
|
}>;
|
|
974
|
-
tenantId:
|
|
974
|
+
tenantId: drizzle_orm_pg_core1592.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_core1674.PgTableWithColumns<{
|
|
|
990
990
|
}, {}, {
|
|
991
991
|
length: 256;
|
|
992
992
|
}>;
|
|
993
|
-
id:
|
|
993
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
994
994
|
name: "id";
|
|
995
995
|
tableName: "trigger_invocations";
|
|
996
996
|
dataType: "string";
|
|
@@ -1012,11 +1012,11 @@ declare const triggerInvocations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1012
1012
|
};
|
|
1013
1013
|
dialect: "pg";
|
|
1014
1014
|
}>;
|
|
1015
|
-
declare const messages:
|
|
1015
|
+
declare const messages: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
1016
1016
|
name: "messages";
|
|
1017
1017
|
schema: undefined;
|
|
1018
1018
|
columns: {
|
|
1019
|
-
createdAt:
|
|
1019
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1020
1020
|
name: "created_at";
|
|
1021
1021
|
tableName: "messages";
|
|
1022
1022
|
dataType: "string";
|
|
@@ -1033,7 +1033,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1033
1033
|
identity: undefined;
|
|
1034
1034
|
generated: undefined;
|
|
1035
1035
|
}, {}, {}>;
|
|
1036
|
-
updatedAt:
|
|
1036
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1037
1037
|
name: "updated_at";
|
|
1038
1038
|
tableName: "messages";
|
|
1039
1039
|
dataType: "string";
|
|
@@ -1050,7 +1050,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1050
1050
|
identity: undefined;
|
|
1051
1051
|
generated: undefined;
|
|
1052
1052
|
}, {}, {}>;
|
|
1053
|
-
conversationId:
|
|
1053
|
+
conversationId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1054
1054
|
name: "conversation_id";
|
|
1055
1055
|
tableName: "messages";
|
|
1056
1056
|
dataType: "string";
|
|
@@ -1069,7 +1069,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1069
1069
|
}, {}, {
|
|
1070
1070
|
length: 256;
|
|
1071
1071
|
}>;
|
|
1072
|
-
role:
|
|
1072
|
+
role: drizzle_orm_pg_core1592.PgColumn<{
|
|
1073
1073
|
name: "role";
|
|
1074
1074
|
tableName: "messages";
|
|
1075
1075
|
dataType: "string";
|
|
@@ -1088,7 +1088,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1088
1088
|
}, {}, {
|
|
1089
1089
|
length: 256;
|
|
1090
1090
|
}>;
|
|
1091
|
-
fromSubAgentId:
|
|
1091
|
+
fromSubAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1092
1092
|
name: "from_sub_agent_id";
|
|
1093
1093
|
tableName: "messages";
|
|
1094
1094
|
dataType: "string";
|
|
@@ -1107,7 +1107,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1107
1107
|
}, {}, {
|
|
1108
1108
|
length: 256;
|
|
1109
1109
|
}>;
|
|
1110
|
-
toSubAgentId:
|
|
1110
|
+
toSubAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1111
1111
|
name: "to_sub_agent_id";
|
|
1112
1112
|
tableName: "messages";
|
|
1113
1113
|
dataType: "string";
|
|
@@ -1126,7 +1126,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1126
1126
|
}, {}, {
|
|
1127
1127
|
length: 256;
|
|
1128
1128
|
}>;
|
|
1129
|
-
fromExternalAgentId:
|
|
1129
|
+
fromExternalAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1130
1130
|
name: "from_external_sub_agent_id";
|
|
1131
1131
|
tableName: "messages";
|
|
1132
1132
|
dataType: "string";
|
|
@@ -1145,7 +1145,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1145
1145
|
}, {}, {
|
|
1146
1146
|
length: 256;
|
|
1147
1147
|
}>;
|
|
1148
|
-
toExternalAgentId:
|
|
1148
|
+
toExternalAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1149
1149
|
name: "to_external_sub_agent_id";
|
|
1150
1150
|
tableName: "messages";
|
|
1151
1151
|
dataType: "string";
|
|
@@ -1164,7 +1164,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1164
1164
|
}, {}, {
|
|
1165
1165
|
length: 256;
|
|
1166
1166
|
}>;
|
|
1167
|
-
fromTeamAgentId:
|
|
1167
|
+
fromTeamAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1168
1168
|
name: "from_team_agent_id";
|
|
1169
1169
|
tableName: "messages";
|
|
1170
1170
|
dataType: "string";
|
|
@@ -1183,7 +1183,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1183
1183
|
}, {}, {
|
|
1184
1184
|
length: 256;
|
|
1185
1185
|
}>;
|
|
1186
|
-
toTeamAgentId:
|
|
1186
|
+
toTeamAgentId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1187
1187
|
name: "to_team_agent_id";
|
|
1188
1188
|
tableName: "messages";
|
|
1189
1189
|
dataType: "string";
|
|
@@ -1202,7 +1202,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1202
1202
|
}, {}, {
|
|
1203
1203
|
length: 256;
|
|
1204
1204
|
}>;
|
|
1205
|
-
content:
|
|
1205
|
+
content: drizzle_orm_pg_core1592.PgColumn<{
|
|
1206
1206
|
name: "content";
|
|
1207
1207
|
tableName: "messages";
|
|
1208
1208
|
dataType: "json";
|
|
@@ -1221,7 +1221,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1221
1221
|
}, {}, {
|
|
1222
1222
|
$type: MessageContent;
|
|
1223
1223
|
}>;
|
|
1224
|
-
visibility:
|
|
1224
|
+
visibility: drizzle_orm_pg_core1592.PgColumn<{
|
|
1225
1225
|
name: "visibility";
|
|
1226
1226
|
tableName: "messages";
|
|
1227
1227
|
dataType: "string";
|
|
@@ -1240,7 +1240,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1240
1240
|
}, {}, {
|
|
1241
1241
|
length: 256;
|
|
1242
1242
|
}>;
|
|
1243
|
-
messageType:
|
|
1243
|
+
messageType: drizzle_orm_pg_core1592.PgColumn<{
|
|
1244
1244
|
name: "message_type";
|
|
1245
1245
|
tableName: "messages";
|
|
1246
1246
|
dataType: "string";
|
|
@@ -1259,7 +1259,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1259
1259
|
}, {}, {
|
|
1260
1260
|
length: 256;
|
|
1261
1261
|
}>;
|
|
1262
|
-
taskId:
|
|
1262
|
+
taskId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1263
1263
|
name: "task_id";
|
|
1264
1264
|
tableName: "messages";
|
|
1265
1265
|
dataType: "string";
|
|
@@ -1278,7 +1278,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1278
1278
|
}, {}, {
|
|
1279
1279
|
length: 256;
|
|
1280
1280
|
}>;
|
|
1281
|
-
parentMessageId:
|
|
1281
|
+
parentMessageId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1282
1282
|
name: "parent_message_id";
|
|
1283
1283
|
tableName: "messages";
|
|
1284
1284
|
dataType: "string";
|
|
@@ -1297,7 +1297,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1297
1297
|
}, {}, {
|
|
1298
1298
|
length: 256;
|
|
1299
1299
|
}>;
|
|
1300
|
-
a2aTaskId:
|
|
1300
|
+
a2aTaskId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1301
1301
|
name: "a2a_task_id";
|
|
1302
1302
|
tableName: "messages";
|
|
1303
1303
|
dataType: "string";
|
|
@@ -1316,7 +1316,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1316
1316
|
}, {}, {
|
|
1317
1317
|
length: 256;
|
|
1318
1318
|
}>;
|
|
1319
|
-
a2aSessionId:
|
|
1319
|
+
a2aSessionId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1320
1320
|
name: "a2a_session_id";
|
|
1321
1321
|
tableName: "messages";
|
|
1322
1322
|
dataType: "string";
|
|
@@ -1335,7 +1335,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1335
1335
|
}, {}, {
|
|
1336
1336
|
length: 256;
|
|
1337
1337
|
}>;
|
|
1338
|
-
metadata:
|
|
1338
|
+
metadata: drizzle_orm_pg_core1592.PgColumn<{
|
|
1339
1339
|
name: "metadata";
|
|
1340
1340
|
tableName: "messages";
|
|
1341
1341
|
dataType: "json";
|
|
@@ -1354,7 +1354,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1354
1354
|
}, {}, {
|
|
1355
1355
|
$type: MessageMetadata;
|
|
1356
1356
|
}>;
|
|
1357
|
-
projectId:
|
|
1357
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1358
1358
|
name: "project_id";
|
|
1359
1359
|
tableName: "messages";
|
|
1360
1360
|
dataType: "string";
|
|
@@ -1373,7 +1373,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1373
1373
|
}, {}, {
|
|
1374
1374
|
length: 256;
|
|
1375
1375
|
}>;
|
|
1376
|
-
tenantId:
|
|
1376
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1377
1377
|
name: "tenant_id";
|
|
1378
1378
|
tableName: "messages";
|
|
1379
1379
|
dataType: "string";
|
|
@@ -1392,7 +1392,7 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1392
1392
|
}, {}, {
|
|
1393
1393
|
length: 256;
|
|
1394
1394
|
}>;
|
|
1395
|
-
id:
|
|
1395
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
1396
1396
|
name: "id";
|
|
1397
1397
|
tableName: "messages";
|
|
1398
1398
|
dataType: "string";
|
|
@@ -1414,11 +1414,11 @@ declare const messages: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1414
1414
|
};
|
|
1415
1415
|
dialect: "pg";
|
|
1416
1416
|
}>;
|
|
1417
|
-
declare const taskRelations:
|
|
1417
|
+
declare const taskRelations: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
1418
1418
|
name: "task_relations";
|
|
1419
1419
|
schema: undefined;
|
|
1420
1420
|
columns: {
|
|
1421
|
-
createdAt:
|
|
1421
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1422
1422
|
name: "created_at";
|
|
1423
1423
|
tableName: "task_relations";
|
|
1424
1424
|
dataType: "string";
|
|
@@ -1435,7 +1435,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1435
1435
|
identity: undefined;
|
|
1436
1436
|
generated: undefined;
|
|
1437
1437
|
}, {}, {}>;
|
|
1438
|
-
updatedAt:
|
|
1438
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1439
1439
|
name: "updated_at";
|
|
1440
1440
|
tableName: "task_relations";
|
|
1441
1441
|
dataType: "string";
|
|
@@ -1452,7 +1452,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1452
1452
|
identity: undefined;
|
|
1453
1453
|
generated: undefined;
|
|
1454
1454
|
}, {}, {}>;
|
|
1455
|
-
parentTaskId:
|
|
1455
|
+
parentTaskId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1456
1456
|
name: "parent_task_id";
|
|
1457
1457
|
tableName: "task_relations";
|
|
1458
1458
|
dataType: "string";
|
|
@@ -1471,7 +1471,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1471
1471
|
}, {}, {
|
|
1472
1472
|
length: 256;
|
|
1473
1473
|
}>;
|
|
1474
|
-
childTaskId:
|
|
1474
|
+
childTaskId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1475
1475
|
name: "child_task_id";
|
|
1476
1476
|
tableName: "task_relations";
|
|
1477
1477
|
dataType: "string";
|
|
@@ -1490,7 +1490,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1490
1490
|
}, {}, {
|
|
1491
1491
|
length: 256;
|
|
1492
1492
|
}>;
|
|
1493
|
-
relationType:
|
|
1493
|
+
relationType: drizzle_orm_pg_core1592.PgColumn<{
|
|
1494
1494
|
name: "relation_type";
|
|
1495
1495
|
tableName: "task_relations";
|
|
1496
1496
|
dataType: "string";
|
|
@@ -1509,7 +1509,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1509
1509
|
}, {}, {
|
|
1510
1510
|
length: 256;
|
|
1511
1511
|
}>;
|
|
1512
|
-
projectId:
|
|
1512
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1513
1513
|
name: "project_id";
|
|
1514
1514
|
tableName: "task_relations";
|
|
1515
1515
|
dataType: "string";
|
|
@@ -1528,7 +1528,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1528
1528
|
}, {}, {
|
|
1529
1529
|
length: 256;
|
|
1530
1530
|
}>;
|
|
1531
|
-
tenantId:
|
|
1531
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1532
1532
|
name: "tenant_id";
|
|
1533
1533
|
tableName: "task_relations";
|
|
1534
1534
|
dataType: "string";
|
|
@@ -1547,7 +1547,7 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1547
1547
|
}, {}, {
|
|
1548
1548
|
length: 256;
|
|
1549
1549
|
}>;
|
|
1550
|
-
id:
|
|
1550
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
1551
1551
|
name: "id";
|
|
1552
1552
|
tableName: "task_relations";
|
|
1553
1553
|
dataType: "string";
|
|
@@ -1569,11 +1569,11 @@ declare const taskRelations: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1569
1569
|
};
|
|
1570
1570
|
dialect: "pg";
|
|
1571
1571
|
}>;
|
|
1572
|
-
declare const ledgerArtifacts:
|
|
1572
|
+
declare const ledgerArtifacts: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
1573
1573
|
name: "ledger_artifacts";
|
|
1574
1574
|
schema: undefined;
|
|
1575
1575
|
columns: {
|
|
1576
|
-
createdAt:
|
|
1576
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1577
1577
|
name: "created_at";
|
|
1578
1578
|
tableName: "ledger_artifacts";
|
|
1579
1579
|
dataType: "string";
|
|
@@ -1590,7 +1590,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1590
1590
|
identity: undefined;
|
|
1591
1591
|
generated: undefined;
|
|
1592
1592
|
}, {}, {}>;
|
|
1593
|
-
updatedAt:
|
|
1593
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1594
1594
|
name: "updated_at";
|
|
1595
1595
|
tableName: "ledger_artifacts";
|
|
1596
1596
|
dataType: "string";
|
|
@@ -1607,7 +1607,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1607
1607
|
identity: undefined;
|
|
1608
1608
|
generated: undefined;
|
|
1609
1609
|
}, {}, {}>;
|
|
1610
|
-
taskId:
|
|
1610
|
+
taskId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1611
1611
|
name: "task_id";
|
|
1612
1612
|
tableName: "ledger_artifacts";
|
|
1613
1613
|
dataType: "string";
|
|
@@ -1626,7 +1626,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1626
1626
|
}, {}, {
|
|
1627
1627
|
length: 256;
|
|
1628
1628
|
}>;
|
|
1629
|
-
toolCallId:
|
|
1629
|
+
toolCallId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1630
1630
|
name: "tool_call_id";
|
|
1631
1631
|
tableName: "ledger_artifacts";
|
|
1632
1632
|
dataType: "string";
|
|
@@ -1645,7 +1645,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1645
1645
|
}, {}, {
|
|
1646
1646
|
length: 256;
|
|
1647
1647
|
}>;
|
|
1648
|
-
contextId:
|
|
1648
|
+
contextId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1649
1649
|
name: "context_id";
|
|
1650
1650
|
tableName: "ledger_artifacts";
|
|
1651
1651
|
dataType: "string";
|
|
@@ -1664,7 +1664,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1664
1664
|
}, {}, {
|
|
1665
1665
|
length: 256;
|
|
1666
1666
|
}>;
|
|
1667
|
-
type:
|
|
1667
|
+
type: drizzle_orm_pg_core1592.PgColumn<{
|
|
1668
1668
|
name: "type";
|
|
1669
1669
|
tableName: "ledger_artifacts";
|
|
1670
1670
|
dataType: "string";
|
|
@@ -1683,7 +1683,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1683
1683
|
}, {}, {
|
|
1684
1684
|
length: 256;
|
|
1685
1685
|
}>;
|
|
1686
|
-
name:
|
|
1686
|
+
name: drizzle_orm_pg_core1592.PgColumn<{
|
|
1687
1687
|
name: "name";
|
|
1688
1688
|
tableName: "ledger_artifacts";
|
|
1689
1689
|
dataType: "string";
|
|
@@ -1702,7 +1702,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1702
1702
|
}, {}, {
|
|
1703
1703
|
length: 256;
|
|
1704
1704
|
}>;
|
|
1705
|
-
description:
|
|
1705
|
+
description: drizzle_orm_pg_core1592.PgColumn<{
|
|
1706
1706
|
name: "description";
|
|
1707
1707
|
tableName: "ledger_artifacts";
|
|
1708
1708
|
dataType: "string";
|
|
@@ -1719,7 +1719,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1719
1719
|
identity: undefined;
|
|
1720
1720
|
generated: undefined;
|
|
1721
1721
|
}, {}, {}>;
|
|
1722
|
-
parts:
|
|
1722
|
+
parts: drizzle_orm_pg_core1592.PgColumn<{
|
|
1723
1723
|
name: "parts";
|
|
1724
1724
|
tableName: "ledger_artifacts";
|
|
1725
1725
|
dataType: "json";
|
|
@@ -1738,7 +1738,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1738
1738
|
}, {}, {
|
|
1739
1739
|
$type: Part[] | null;
|
|
1740
1740
|
}>;
|
|
1741
|
-
metadata:
|
|
1741
|
+
metadata: drizzle_orm_pg_core1592.PgColumn<{
|
|
1742
1742
|
name: "metadata";
|
|
1743
1743
|
tableName: "ledger_artifacts";
|
|
1744
1744
|
dataType: "json";
|
|
@@ -1757,7 +1757,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1757
1757
|
}, {}, {
|
|
1758
1758
|
$type: Record<string, unknown> | null;
|
|
1759
1759
|
}>;
|
|
1760
|
-
summary:
|
|
1760
|
+
summary: drizzle_orm_pg_core1592.PgColumn<{
|
|
1761
1761
|
name: "summary";
|
|
1762
1762
|
tableName: "ledger_artifacts";
|
|
1763
1763
|
dataType: "string";
|
|
@@ -1774,7 +1774,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1774
1774
|
identity: undefined;
|
|
1775
1775
|
generated: undefined;
|
|
1776
1776
|
}, {}, {}>;
|
|
1777
|
-
mime:
|
|
1777
|
+
mime: drizzle_orm_pg_core1592.PgColumn<{
|
|
1778
1778
|
name: "mime";
|
|
1779
1779
|
tableName: "ledger_artifacts";
|
|
1780
1780
|
dataType: "json";
|
|
@@ -1793,7 +1793,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1793
1793
|
}, {}, {
|
|
1794
1794
|
$type: string[] | null;
|
|
1795
1795
|
}>;
|
|
1796
|
-
visibility:
|
|
1796
|
+
visibility: drizzle_orm_pg_core1592.PgColumn<{
|
|
1797
1797
|
name: "visibility";
|
|
1798
1798
|
tableName: "ledger_artifacts";
|
|
1799
1799
|
dataType: "string";
|
|
@@ -1812,7 +1812,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1812
1812
|
}, {}, {
|
|
1813
1813
|
length: 256;
|
|
1814
1814
|
}>;
|
|
1815
|
-
allowedAgents:
|
|
1815
|
+
allowedAgents: drizzle_orm_pg_core1592.PgColumn<{
|
|
1816
1816
|
name: "allowed_agents";
|
|
1817
1817
|
tableName: "ledger_artifacts";
|
|
1818
1818
|
dataType: "json";
|
|
@@ -1831,7 +1831,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1831
1831
|
}, {}, {
|
|
1832
1832
|
$type: string[] | null;
|
|
1833
1833
|
}>;
|
|
1834
|
-
derivedFrom:
|
|
1834
|
+
derivedFrom: drizzle_orm_pg_core1592.PgColumn<{
|
|
1835
1835
|
name: "derived_from";
|
|
1836
1836
|
tableName: "ledger_artifacts";
|
|
1837
1837
|
dataType: "string";
|
|
@@ -1850,7 +1850,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1850
1850
|
}, {}, {
|
|
1851
1851
|
length: 256;
|
|
1852
1852
|
}>;
|
|
1853
|
-
projectId:
|
|
1853
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1854
1854
|
name: "project_id";
|
|
1855
1855
|
tableName: "ledger_artifacts";
|
|
1856
1856
|
dataType: "string";
|
|
@@ -1869,7 +1869,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1869
1869
|
}, {}, {
|
|
1870
1870
|
length: 256;
|
|
1871
1871
|
}>;
|
|
1872
|
-
tenantId:
|
|
1872
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1873
1873
|
name: "tenant_id";
|
|
1874
1874
|
tableName: "ledger_artifacts";
|
|
1875
1875
|
dataType: "string";
|
|
@@ -1888,7 +1888,7 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1888
1888
|
}, {}, {
|
|
1889
1889
|
length: 256;
|
|
1890
1890
|
}>;
|
|
1891
|
-
id:
|
|
1891
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
1892
1892
|
name: "id";
|
|
1893
1893
|
tableName: "ledger_artifacts";
|
|
1894
1894
|
dataType: "string";
|
|
@@ -1910,11 +1910,11 @@ declare const ledgerArtifacts: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1910
1910
|
};
|
|
1911
1911
|
dialect: "pg";
|
|
1912
1912
|
}>;
|
|
1913
|
-
declare const contextCache:
|
|
1913
|
+
declare const contextCache: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
1914
1914
|
name: "context_cache";
|
|
1915
1915
|
schema: undefined;
|
|
1916
1916
|
columns: {
|
|
1917
|
-
createdAt:
|
|
1917
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1918
1918
|
name: "created_at";
|
|
1919
1919
|
tableName: "context_cache";
|
|
1920
1920
|
dataType: "string";
|
|
@@ -1931,7 +1931,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1931
1931
|
identity: undefined;
|
|
1932
1932
|
generated: undefined;
|
|
1933
1933
|
}, {}, {}>;
|
|
1934
|
-
updatedAt:
|
|
1934
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
1935
1935
|
name: "updated_at";
|
|
1936
1936
|
tableName: "context_cache";
|
|
1937
1937
|
dataType: "string";
|
|
@@ -1948,7 +1948,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1948
1948
|
identity: undefined;
|
|
1949
1949
|
generated: undefined;
|
|
1950
1950
|
}, {}, {}>;
|
|
1951
|
-
conversationId:
|
|
1951
|
+
conversationId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1952
1952
|
name: "conversation_id";
|
|
1953
1953
|
tableName: "context_cache";
|
|
1954
1954
|
dataType: "string";
|
|
@@ -1967,7 +1967,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1967
1967
|
}, {}, {
|
|
1968
1968
|
length: 256;
|
|
1969
1969
|
}>;
|
|
1970
|
-
contextConfigId:
|
|
1970
|
+
contextConfigId: drizzle_orm_pg_core1592.PgColumn<{
|
|
1971
1971
|
name: "context_config_id";
|
|
1972
1972
|
tableName: "context_cache";
|
|
1973
1973
|
dataType: "string";
|
|
@@ -1986,7 +1986,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
1986
1986
|
}, {}, {
|
|
1987
1987
|
length: 256;
|
|
1988
1988
|
}>;
|
|
1989
|
-
contextVariableKey:
|
|
1989
|
+
contextVariableKey: drizzle_orm_pg_core1592.PgColumn<{
|
|
1990
1990
|
name: "context_variable_key";
|
|
1991
1991
|
tableName: "context_cache";
|
|
1992
1992
|
dataType: "string";
|
|
@@ -2005,13 +2005,13 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2005
2005
|
}, {}, {
|
|
2006
2006
|
length: 256;
|
|
2007
2007
|
}>;
|
|
2008
|
-
ref:
|
|
2008
|
+
ref: drizzle_orm_pg_core1592.PgColumn<{
|
|
2009
2009
|
name: "ref";
|
|
2010
2010
|
tableName: "context_cache";
|
|
2011
2011
|
dataType: "json";
|
|
2012
2012
|
columnType: "PgJsonb";
|
|
2013
2013
|
data: {
|
|
2014
|
-
type: "
|
|
2014
|
+
type: "tag" | "commit" | "branch";
|
|
2015
2015
|
name: string;
|
|
2016
2016
|
hash: string;
|
|
2017
2017
|
};
|
|
@@ -2027,12 +2027,12 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2027
2027
|
generated: undefined;
|
|
2028
2028
|
}, {}, {
|
|
2029
2029
|
$type: {
|
|
2030
|
-
type: "
|
|
2030
|
+
type: "tag" | "commit" | "branch";
|
|
2031
2031
|
name: string;
|
|
2032
2032
|
hash: string;
|
|
2033
2033
|
};
|
|
2034
2034
|
}>;
|
|
2035
|
-
value:
|
|
2035
|
+
value: drizzle_orm_pg_core1592.PgColumn<{
|
|
2036
2036
|
name: "value";
|
|
2037
2037
|
tableName: "context_cache";
|
|
2038
2038
|
dataType: "json";
|
|
@@ -2051,7 +2051,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2051
2051
|
}, {}, {
|
|
2052
2052
|
$type: unknown;
|
|
2053
2053
|
}>;
|
|
2054
|
-
requestHash:
|
|
2054
|
+
requestHash: drizzle_orm_pg_core1592.PgColumn<{
|
|
2055
2055
|
name: "request_hash";
|
|
2056
2056
|
tableName: "context_cache";
|
|
2057
2057
|
dataType: "string";
|
|
@@ -2070,7 +2070,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2070
2070
|
}, {}, {
|
|
2071
2071
|
length: 256;
|
|
2072
2072
|
}>;
|
|
2073
|
-
fetchedAt:
|
|
2073
|
+
fetchedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2074
2074
|
name: "fetched_at";
|
|
2075
2075
|
tableName: "context_cache";
|
|
2076
2076
|
dataType: "string";
|
|
@@ -2087,7 +2087,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2087
2087
|
identity: undefined;
|
|
2088
2088
|
generated: undefined;
|
|
2089
2089
|
}, {}, {}>;
|
|
2090
|
-
fetchSource:
|
|
2090
|
+
fetchSource: drizzle_orm_pg_core1592.PgColumn<{
|
|
2091
2091
|
name: "fetch_source";
|
|
2092
2092
|
tableName: "context_cache";
|
|
2093
2093
|
dataType: "string";
|
|
@@ -2106,7 +2106,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2106
2106
|
}, {}, {
|
|
2107
2107
|
length: 256;
|
|
2108
2108
|
}>;
|
|
2109
|
-
projectId:
|
|
2109
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2110
2110
|
name: "project_id";
|
|
2111
2111
|
tableName: "context_cache";
|
|
2112
2112
|
dataType: "string";
|
|
@@ -2125,7 +2125,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2125
2125
|
}, {}, {
|
|
2126
2126
|
length: 256;
|
|
2127
2127
|
}>;
|
|
2128
|
-
tenantId:
|
|
2128
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2129
2129
|
name: "tenant_id";
|
|
2130
2130
|
tableName: "context_cache";
|
|
2131
2131
|
dataType: "string";
|
|
@@ -2144,7 +2144,7 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2144
2144
|
}, {}, {
|
|
2145
2145
|
length: 256;
|
|
2146
2146
|
}>;
|
|
2147
|
-
id:
|
|
2147
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
2148
2148
|
name: "id";
|
|
2149
2149
|
tableName: "context_cache";
|
|
2150
2150
|
dataType: "string";
|
|
@@ -2179,11 +2179,11 @@ declare const contextCache: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2179
2179
|
* datasetRunConfigId (optional: if created from a config),
|
|
2180
2180
|
* evaluationJobConfigId (optional: links to evaluation job created for this run), and timestamps
|
|
2181
2181
|
*/
|
|
2182
|
-
declare const datasetRun:
|
|
2182
|
+
declare const datasetRun: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
2183
2183
|
name: "dataset_run";
|
|
2184
2184
|
schema: undefined;
|
|
2185
2185
|
columns: {
|
|
2186
|
-
createdAt:
|
|
2186
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2187
2187
|
name: "created_at";
|
|
2188
2188
|
tableName: "dataset_run";
|
|
2189
2189
|
dataType: "string";
|
|
@@ -2200,7 +2200,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2200
2200
|
identity: undefined;
|
|
2201
2201
|
generated: undefined;
|
|
2202
2202
|
}, {}, {}>;
|
|
2203
|
-
updatedAt:
|
|
2203
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2204
2204
|
name: "updated_at";
|
|
2205
2205
|
tableName: "dataset_run";
|
|
2206
2206
|
dataType: "string";
|
|
@@ -2217,7 +2217,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2217
2217
|
identity: undefined;
|
|
2218
2218
|
generated: undefined;
|
|
2219
2219
|
}, {}, {}>;
|
|
2220
|
-
datasetId:
|
|
2220
|
+
datasetId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2221
2221
|
name: "dataset_id";
|
|
2222
2222
|
tableName: "dataset_run";
|
|
2223
2223
|
dataType: "string";
|
|
@@ -2234,7 +2234,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2234
2234
|
identity: undefined;
|
|
2235
2235
|
generated: undefined;
|
|
2236
2236
|
}, {}, {}>;
|
|
2237
|
-
datasetRunConfigId:
|
|
2237
|
+
datasetRunConfigId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2238
2238
|
name: "dataset_run_config_id";
|
|
2239
2239
|
tableName: "dataset_run";
|
|
2240
2240
|
dataType: "string";
|
|
@@ -2251,7 +2251,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2251
2251
|
identity: undefined;
|
|
2252
2252
|
generated: undefined;
|
|
2253
2253
|
}, {}, {}>;
|
|
2254
|
-
evaluationJobConfigId:
|
|
2254
|
+
evaluationJobConfigId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2255
2255
|
name: "evaluation_job_config_id";
|
|
2256
2256
|
tableName: "dataset_run";
|
|
2257
2257
|
dataType: "string";
|
|
@@ -2268,7 +2268,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2268
2268
|
identity: undefined;
|
|
2269
2269
|
generated: undefined;
|
|
2270
2270
|
}, {}, {}>;
|
|
2271
|
-
projectId:
|
|
2271
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2272
2272
|
name: "project_id";
|
|
2273
2273
|
tableName: "dataset_run";
|
|
2274
2274
|
dataType: "string";
|
|
@@ -2287,7 +2287,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2287
2287
|
}, {}, {
|
|
2288
2288
|
length: 256;
|
|
2289
2289
|
}>;
|
|
2290
|
-
tenantId:
|
|
2290
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2291
2291
|
name: "tenant_id";
|
|
2292
2292
|
tableName: "dataset_run";
|
|
2293
2293
|
dataType: "string";
|
|
@@ -2306,7 +2306,7 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2306
2306
|
}, {}, {
|
|
2307
2307
|
length: 256;
|
|
2308
2308
|
}>;
|
|
2309
|
-
id:
|
|
2309
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
2310
2310
|
name: "id";
|
|
2311
2311
|
tableName: "dataset_run";
|
|
2312
2312
|
dataType: "string";
|
|
@@ -2339,11 +2339,11 @@ declare const datasetRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2339
2339
|
* unique constraint on (datasetRunId, conversationId) ensures one conversation per datasetRun,
|
|
2340
2340
|
* and timestamps
|
|
2341
2341
|
*/
|
|
2342
|
-
declare const datasetRunConversationRelations:
|
|
2342
|
+
declare const datasetRunConversationRelations: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
2343
2343
|
name: "dataset_run_conversation_relations";
|
|
2344
2344
|
schema: undefined;
|
|
2345
2345
|
columns: {
|
|
2346
|
-
createdAt:
|
|
2346
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2347
2347
|
name: "created_at";
|
|
2348
2348
|
tableName: "dataset_run_conversation_relations";
|
|
2349
2349
|
dataType: "string";
|
|
@@ -2360,7 +2360,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2360
2360
|
identity: undefined;
|
|
2361
2361
|
generated: undefined;
|
|
2362
2362
|
}, {}, {}>;
|
|
2363
|
-
updatedAt:
|
|
2363
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2364
2364
|
name: "updated_at";
|
|
2365
2365
|
tableName: "dataset_run_conversation_relations";
|
|
2366
2366
|
dataType: "string";
|
|
@@ -2377,7 +2377,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2377
2377
|
identity: undefined;
|
|
2378
2378
|
generated: undefined;
|
|
2379
2379
|
}, {}, {}>;
|
|
2380
|
-
datasetRunId:
|
|
2380
|
+
datasetRunId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2381
2381
|
name: "dataset_run_id";
|
|
2382
2382
|
tableName: "dataset_run_conversation_relations";
|
|
2383
2383
|
dataType: "string";
|
|
@@ -2394,7 +2394,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2394
2394
|
identity: undefined;
|
|
2395
2395
|
generated: undefined;
|
|
2396
2396
|
}, {}, {}>;
|
|
2397
|
-
conversationId:
|
|
2397
|
+
conversationId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2398
2398
|
name: "conversation_id";
|
|
2399
2399
|
tableName: "dataset_run_conversation_relations";
|
|
2400
2400
|
dataType: "string";
|
|
@@ -2411,7 +2411,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2411
2411
|
identity: undefined;
|
|
2412
2412
|
generated: undefined;
|
|
2413
2413
|
}, {}, {}>;
|
|
2414
|
-
datasetItemId:
|
|
2414
|
+
datasetItemId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2415
2415
|
name: "dataset_item_id";
|
|
2416
2416
|
tableName: "dataset_run_conversation_relations";
|
|
2417
2417
|
dataType: "string";
|
|
@@ -2428,7 +2428,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2428
2428
|
identity: undefined;
|
|
2429
2429
|
generated: undefined;
|
|
2430
2430
|
}, {}, {}>;
|
|
2431
|
-
projectId:
|
|
2431
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2432
2432
|
name: "project_id";
|
|
2433
2433
|
tableName: "dataset_run_conversation_relations";
|
|
2434
2434
|
dataType: "string";
|
|
@@ -2447,7 +2447,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2447
2447
|
}, {}, {
|
|
2448
2448
|
length: 256;
|
|
2449
2449
|
}>;
|
|
2450
|
-
tenantId:
|
|
2450
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2451
2451
|
name: "tenant_id";
|
|
2452
2452
|
tableName: "dataset_run_conversation_relations";
|
|
2453
2453
|
dataType: "string";
|
|
@@ -2466,7 +2466,7 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2466
2466
|
}, {}, {
|
|
2467
2467
|
length: 256;
|
|
2468
2468
|
}>;
|
|
2469
|
-
id:
|
|
2469
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
2470
2470
|
name: "id";
|
|
2471
2471
|
tableName: "dataset_run_conversation_relations";
|
|
2472
2472
|
dataType: "string";
|
|
@@ -2499,11 +2499,11 @@ declare const datasetRunConversationRelations: drizzle_orm_pg_core1674.PgTableWi
|
|
|
2499
2499
|
* evaluationRunConfigId (optional: if created from a run config),
|
|
2500
2500
|
* and timestamps
|
|
2501
2501
|
*/
|
|
2502
|
-
declare const evaluationRun:
|
|
2502
|
+
declare const evaluationRun: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
2503
2503
|
name: "evaluation_run";
|
|
2504
2504
|
schema: undefined;
|
|
2505
2505
|
columns: {
|
|
2506
|
-
createdAt:
|
|
2506
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2507
2507
|
name: "created_at";
|
|
2508
2508
|
tableName: "evaluation_run";
|
|
2509
2509
|
dataType: "string";
|
|
@@ -2520,7 +2520,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2520
2520
|
identity: undefined;
|
|
2521
2521
|
generated: undefined;
|
|
2522
2522
|
}, {}, {}>;
|
|
2523
|
-
updatedAt:
|
|
2523
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2524
2524
|
name: "updated_at";
|
|
2525
2525
|
tableName: "evaluation_run";
|
|
2526
2526
|
dataType: "string";
|
|
@@ -2537,7 +2537,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2537
2537
|
identity: undefined;
|
|
2538
2538
|
generated: undefined;
|
|
2539
2539
|
}, {}, {}>;
|
|
2540
|
-
evaluationJobConfigId:
|
|
2540
|
+
evaluationJobConfigId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2541
2541
|
name: "evaluation_job_config_id";
|
|
2542
2542
|
tableName: "evaluation_run";
|
|
2543
2543
|
dataType: "string";
|
|
@@ -2554,7 +2554,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2554
2554
|
identity: undefined;
|
|
2555
2555
|
generated: undefined;
|
|
2556
2556
|
}, {}, {}>;
|
|
2557
|
-
evaluationRunConfigId:
|
|
2557
|
+
evaluationRunConfigId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2558
2558
|
name: "evaluation_run_config_id";
|
|
2559
2559
|
tableName: "evaluation_run";
|
|
2560
2560
|
dataType: "string";
|
|
@@ -2571,7 +2571,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2571
2571
|
identity: undefined;
|
|
2572
2572
|
generated: undefined;
|
|
2573
2573
|
}, {}, {}>;
|
|
2574
|
-
projectId:
|
|
2574
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2575
2575
|
name: "project_id";
|
|
2576
2576
|
tableName: "evaluation_run";
|
|
2577
2577
|
dataType: "string";
|
|
@@ -2590,7 +2590,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2590
2590
|
}, {}, {
|
|
2591
2591
|
length: 256;
|
|
2592
2592
|
}>;
|
|
2593
|
-
tenantId:
|
|
2593
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2594
2594
|
name: "tenant_id";
|
|
2595
2595
|
tableName: "evaluation_run";
|
|
2596
2596
|
dataType: "string";
|
|
@@ -2609,7 +2609,7 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2609
2609
|
}, {}, {
|
|
2610
2610
|
length: 256;
|
|
2611
2611
|
}>;
|
|
2612
|
-
id:
|
|
2612
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
2613
2613
|
name: "id";
|
|
2614
2614
|
tableName: "evaluation_run";
|
|
2615
2615
|
dataType: "string";
|
|
@@ -2640,11 +2640,11 @@ declare const evaluationRun: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2640
2640
|
* evaluationRunId (optional, links to evaluationRun),
|
|
2641
2641
|
* output (evaluation result as MessageContent), and timestamps
|
|
2642
2642
|
*/
|
|
2643
|
-
declare const evaluationResult:
|
|
2643
|
+
declare const evaluationResult: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
2644
2644
|
name: "evaluation_result";
|
|
2645
2645
|
schema: undefined;
|
|
2646
2646
|
columns: {
|
|
2647
|
-
createdAt:
|
|
2647
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2648
2648
|
name: "created_at";
|
|
2649
2649
|
tableName: "evaluation_result";
|
|
2650
2650
|
dataType: "string";
|
|
@@ -2661,7 +2661,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2661
2661
|
identity: undefined;
|
|
2662
2662
|
generated: undefined;
|
|
2663
2663
|
}, {}, {}>;
|
|
2664
|
-
updatedAt:
|
|
2664
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2665
2665
|
name: "updated_at";
|
|
2666
2666
|
tableName: "evaluation_result";
|
|
2667
2667
|
dataType: "string";
|
|
@@ -2678,7 +2678,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2678
2678
|
identity: undefined;
|
|
2679
2679
|
generated: undefined;
|
|
2680
2680
|
}, {}, {}>;
|
|
2681
|
-
conversationId:
|
|
2681
|
+
conversationId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2682
2682
|
name: "conversation_id";
|
|
2683
2683
|
tableName: "evaluation_result";
|
|
2684
2684
|
dataType: "string";
|
|
@@ -2695,7 +2695,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2695
2695
|
identity: undefined;
|
|
2696
2696
|
generated: undefined;
|
|
2697
2697
|
}, {}, {}>;
|
|
2698
|
-
evaluatorId:
|
|
2698
|
+
evaluatorId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2699
2699
|
name: "evaluator_id";
|
|
2700
2700
|
tableName: "evaluation_result";
|
|
2701
2701
|
dataType: "string";
|
|
@@ -2712,7 +2712,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2712
2712
|
identity: undefined;
|
|
2713
2713
|
generated: undefined;
|
|
2714
2714
|
}, {}, {}>;
|
|
2715
|
-
evaluationRunId:
|
|
2715
|
+
evaluationRunId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2716
2716
|
name: "evaluation_run_id";
|
|
2717
2717
|
tableName: "evaluation_result";
|
|
2718
2718
|
dataType: "string";
|
|
@@ -2729,7 +2729,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2729
2729
|
identity: undefined;
|
|
2730
2730
|
generated: undefined;
|
|
2731
2731
|
}, {}, {}>;
|
|
2732
|
-
output:
|
|
2732
|
+
output: drizzle_orm_pg_core1592.PgColumn<{
|
|
2733
2733
|
name: "output";
|
|
2734
2734
|
tableName: "evaluation_result";
|
|
2735
2735
|
dataType: "json";
|
|
@@ -2748,7 +2748,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2748
2748
|
}, {}, {
|
|
2749
2749
|
$type: MessageContent;
|
|
2750
2750
|
}>;
|
|
2751
|
-
projectId:
|
|
2751
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2752
2752
|
name: "project_id";
|
|
2753
2753
|
tableName: "evaluation_result";
|
|
2754
2754
|
dataType: "string";
|
|
@@ -2767,7 +2767,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2767
2767
|
}, {}, {
|
|
2768
2768
|
length: 256;
|
|
2769
2769
|
}>;
|
|
2770
|
-
tenantId:
|
|
2770
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2771
2771
|
name: "tenant_id";
|
|
2772
2772
|
tableName: "evaluation_result";
|
|
2773
2773
|
dataType: "string";
|
|
@@ -2786,7 +2786,7 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2786
2786
|
}, {}, {
|
|
2787
2787
|
length: 256;
|
|
2788
2788
|
}>;
|
|
2789
|
-
id:
|
|
2789
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
2790
2790
|
name: "id";
|
|
2791
2791
|
tableName: "evaluation_result";
|
|
2792
2792
|
dataType: "string";
|
|
@@ -2808,38 +2808,38 @@ declare const evaluationResult: drizzle_orm_pg_core1674.PgTableWithColumns<{
|
|
|
2808
2808
|
};
|
|
2809
2809
|
dialect: "pg";
|
|
2810
2810
|
}>;
|
|
2811
|
-
declare const conversationsRelations:
|
|
2812
|
-
messages:
|
|
2811
|
+
declare const conversationsRelations: drizzle_orm74.Relations<"conversations", {
|
|
2812
|
+
messages: drizzle_orm74.Many<"messages">;
|
|
2813
2813
|
}>;
|
|
2814
|
-
declare const messagesRelations:
|
|
2815
|
-
conversation:
|
|
2816
|
-
task:
|
|
2817
|
-
parentMessage:
|
|
2818
|
-
childMessages:
|
|
2814
|
+
declare const messagesRelations: drizzle_orm74.Relations<"messages", {
|
|
2815
|
+
conversation: drizzle_orm74.One<"conversations", true>;
|
|
2816
|
+
task: drizzle_orm74.One<"tasks", false>;
|
|
2817
|
+
parentMessage: drizzle_orm74.One<"messages", false>;
|
|
2818
|
+
childMessages: drizzle_orm74.Many<"messages">;
|
|
2819
2819
|
}>;
|
|
2820
|
-
declare const tasksRelations:
|
|
2821
|
-
messages:
|
|
2822
|
-
ledgerArtifacts:
|
|
2823
|
-
parentRelations:
|
|
2824
|
-
childRelations:
|
|
2820
|
+
declare const tasksRelations: drizzle_orm74.Relations<"tasks", {
|
|
2821
|
+
messages: drizzle_orm74.Many<"messages">;
|
|
2822
|
+
ledgerArtifacts: drizzle_orm74.Many<"ledger_artifacts">;
|
|
2823
|
+
parentRelations: drizzle_orm74.Many<"task_relations">;
|
|
2824
|
+
childRelations: drizzle_orm74.Many<"task_relations">;
|
|
2825
2825
|
}>;
|
|
2826
|
-
declare const taskRelationsRelations:
|
|
2827
|
-
parentTask:
|
|
2828
|
-
childTask:
|
|
2826
|
+
declare const taskRelationsRelations: drizzle_orm74.Relations<"task_relations", {
|
|
2827
|
+
parentTask: drizzle_orm74.One<"tasks", true>;
|
|
2828
|
+
childTask: drizzle_orm74.One<"tasks", true>;
|
|
2829
2829
|
}>;
|
|
2830
|
-
declare const ledgerArtifactsRelations:
|
|
2831
|
-
task:
|
|
2830
|
+
declare const ledgerArtifactsRelations: drizzle_orm74.Relations<"ledger_artifacts", {
|
|
2831
|
+
task: drizzle_orm74.One<"tasks", true>;
|
|
2832
2832
|
}>;
|
|
2833
2833
|
/**
|
|
2834
2834
|
* Tracks GitHub App installations linked to tenants.
|
|
2835
2835
|
* One tenant can have multiple installations (e.g., multiple orgs).
|
|
2836
2836
|
* The installation_id is the GitHub-assigned ID, unique across all GitHub.
|
|
2837
2837
|
*/
|
|
2838
|
-
declare const workAppGitHubInstallations:
|
|
2838
|
+
declare const workAppGitHubInstallations: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
2839
2839
|
name: "work_app_github_installations";
|
|
2840
2840
|
schema: undefined;
|
|
2841
2841
|
columns: {
|
|
2842
|
-
createdAt:
|
|
2842
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2843
2843
|
name: "created_at";
|
|
2844
2844
|
tableName: "work_app_github_installations";
|
|
2845
2845
|
dataType: "string";
|
|
@@ -2856,7 +2856,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2856
2856
|
identity: undefined;
|
|
2857
2857
|
generated: undefined;
|
|
2858
2858
|
}, {}, {}>;
|
|
2859
|
-
updatedAt:
|
|
2859
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
2860
2860
|
name: "updated_at";
|
|
2861
2861
|
tableName: "work_app_github_installations";
|
|
2862
2862
|
dataType: "string";
|
|
@@ -2873,7 +2873,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2873
2873
|
identity: undefined;
|
|
2874
2874
|
generated: undefined;
|
|
2875
2875
|
}, {}, {}>;
|
|
2876
|
-
installationId:
|
|
2876
|
+
installationId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2877
2877
|
name: "installation_id";
|
|
2878
2878
|
tableName: "work_app_github_installations";
|
|
2879
2879
|
dataType: "string";
|
|
@@ -2890,7 +2890,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2890
2890
|
identity: undefined;
|
|
2891
2891
|
generated: undefined;
|
|
2892
2892
|
}, {}, {}>;
|
|
2893
|
-
accountLogin:
|
|
2893
|
+
accountLogin: drizzle_orm_pg_core1592.PgColumn<{
|
|
2894
2894
|
name: "account_login";
|
|
2895
2895
|
tableName: "work_app_github_installations";
|
|
2896
2896
|
dataType: "string";
|
|
@@ -2909,7 +2909,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2909
2909
|
}, {}, {
|
|
2910
2910
|
length: 256;
|
|
2911
2911
|
}>;
|
|
2912
|
-
accountId:
|
|
2912
|
+
accountId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2913
2913
|
name: "account_id";
|
|
2914
2914
|
tableName: "work_app_github_installations";
|
|
2915
2915
|
dataType: "string";
|
|
@@ -2926,7 +2926,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2926
2926
|
identity: undefined;
|
|
2927
2927
|
generated: undefined;
|
|
2928
2928
|
}, {}, {}>;
|
|
2929
|
-
accountType:
|
|
2929
|
+
accountType: drizzle_orm_pg_core1592.PgColumn<{
|
|
2930
2930
|
name: "account_type";
|
|
2931
2931
|
tableName: "work_app_github_installations";
|
|
2932
2932
|
dataType: "string";
|
|
@@ -2946,7 +2946,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2946
2946
|
length: 20;
|
|
2947
2947
|
$type: "User" | "Organization";
|
|
2948
2948
|
}>;
|
|
2949
|
-
status:
|
|
2949
|
+
status: drizzle_orm_pg_core1592.PgColumn<{
|
|
2950
2950
|
name: "status";
|
|
2951
2951
|
tableName: "work_app_github_installations";
|
|
2952
2952
|
dataType: "string";
|
|
@@ -2966,7 +2966,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2966
2966
|
length: 20;
|
|
2967
2967
|
$type: "pending" | "active" | "suspended" | "disconnected";
|
|
2968
2968
|
}>;
|
|
2969
|
-
tenantId:
|
|
2969
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
2970
2970
|
name: "tenant_id";
|
|
2971
2971
|
tableName: "work_app_github_installations";
|
|
2972
2972
|
dataType: "string";
|
|
@@ -2985,7 +2985,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
2985
2985
|
}, {}, {
|
|
2986
2986
|
length: 256;
|
|
2987
2987
|
}>;
|
|
2988
|
-
id:
|
|
2988
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
2989
2989
|
name: "id";
|
|
2990
2990
|
tableName: "work_app_github_installations";
|
|
2991
2991
|
dataType: "string";
|
|
@@ -3012,11 +3012,11 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1674.PgTableWithCol
|
|
|
3012
3012
|
* These are synced from GitHub when the app is installed or updated.
|
|
3013
3013
|
* The repository_id is the GitHub-assigned ID, unique across all GitHub.
|
|
3014
3014
|
*/
|
|
3015
|
-
declare const workAppGitHubRepositories:
|
|
3015
|
+
declare const workAppGitHubRepositories: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
3016
3016
|
name: "work_app_github_repositories";
|
|
3017
3017
|
schema: undefined;
|
|
3018
3018
|
columns: {
|
|
3019
|
-
createdAt:
|
|
3019
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3020
3020
|
name: "created_at";
|
|
3021
3021
|
tableName: "work_app_github_repositories";
|
|
3022
3022
|
dataType: "string";
|
|
@@ -3033,7 +3033,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3033
3033
|
identity: undefined;
|
|
3034
3034
|
generated: undefined;
|
|
3035
3035
|
}, {}, {}>;
|
|
3036
|
-
updatedAt:
|
|
3036
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3037
3037
|
name: "updated_at";
|
|
3038
3038
|
tableName: "work_app_github_repositories";
|
|
3039
3039
|
dataType: "string";
|
|
@@ -3050,7 +3050,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3050
3050
|
identity: undefined;
|
|
3051
3051
|
generated: undefined;
|
|
3052
3052
|
}, {}, {}>;
|
|
3053
|
-
id:
|
|
3053
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
3054
3054
|
name: "id";
|
|
3055
3055
|
tableName: "work_app_github_repositories";
|
|
3056
3056
|
dataType: "string";
|
|
@@ -3069,7 +3069,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3069
3069
|
}, {}, {
|
|
3070
3070
|
length: 256;
|
|
3071
3071
|
}>;
|
|
3072
|
-
installationDbId:
|
|
3072
|
+
installationDbId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3073
3073
|
name: "installation_db_id";
|
|
3074
3074
|
tableName: "work_app_github_repositories";
|
|
3075
3075
|
dataType: "string";
|
|
@@ -3088,7 +3088,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3088
3088
|
}, {}, {
|
|
3089
3089
|
length: 256;
|
|
3090
3090
|
}>;
|
|
3091
|
-
repositoryId:
|
|
3091
|
+
repositoryId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3092
3092
|
name: "repository_id";
|
|
3093
3093
|
tableName: "work_app_github_repositories";
|
|
3094
3094
|
dataType: "string";
|
|
@@ -3105,7 +3105,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3105
3105
|
identity: undefined;
|
|
3106
3106
|
generated: undefined;
|
|
3107
3107
|
}, {}, {}>;
|
|
3108
|
-
repositoryName:
|
|
3108
|
+
repositoryName: drizzle_orm_pg_core1592.PgColumn<{
|
|
3109
3109
|
name: "repository_name";
|
|
3110
3110
|
tableName: "work_app_github_repositories";
|
|
3111
3111
|
dataType: "string";
|
|
@@ -3124,7 +3124,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3124
3124
|
}, {}, {
|
|
3125
3125
|
length: 256;
|
|
3126
3126
|
}>;
|
|
3127
|
-
repositoryFullName:
|
|
3127
|
+
repositoryFullName: drizzle_orm_pg_core1592.PgColumn<{
|
|
3128
3128
|
name: "repository_full_name";
|
|
3129
3129
|
tableName: "work_app_github_repositories";
|
|
3130
3130
|
dataType: "string";
|
|
@@ -3143,7 +3143,7 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3143
3143
|
}, {}, {
|
|
3144
3144
|
length: 512;
|
|
3145
3145
|
}>;
|
|
3146
|
-
private:
|
|
3146
|
+
private: drizzle_orm_pg_core1592.PgColumn<{
|
|
3147
3147
|
name: "private";
|
|
3148
3148
|
tableName: "work_app_github_repositories";
|
|
3149
3149
|
dataType: "boolean";
|
|
@@ -3171,11 +3171,11 @@ declare const workAppGitHubRepositories: drizzle_orm_pg_core1674.PgTableWithColu
|
|
|
3171
3171
|
* (cross-schema, no FK constraint for project). tenant_id is included because
|
|
3172
3172
|
* project IDs are only unique within a tenant.
|
|
3173
3173
|
*/
|
|
3174
|
-
declare const workAppGitHubProjectRepositoryAccess:
|
|
3174
|
+
declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
3175
3175
|
name: "work_app_github_project_repository_access";
|
|
3176
3176
|
schema: undefined;
|
|
3177
3177
|
columns: {
|
|
3178
|
-
createdAt:
|
|
3178
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3179
3179
|
name: "created_at";
|
|
3180
3180
|
tableName: "work_app_github_project_repository_access";
|
|
3181
3181
|
dataType: "string";
|
|
@@ -3192,7 +3192,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3192
3192
|
identity: undefined;
|
|
3193
3193
|
generated: undefined;
|
|
3194
3194
|
}, {}, {}>;
|
|
3195
|
-
updatedAt:
|
|
3195
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3196
3196
|
name: "updated_at";
|
|
3197
3197
|
tableName: "work_app_github_project_repository_access";
|
|
3198
3198
|
dataType: "string";
|
|
@@ -3209,7 +3209,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3209
3209
|
identity: undefined;
|
|
3210
3210
|
generated: undefined;
|
|
3211
3211
|
}, {}, {}>;
|
|
3212
|
-
repositoryDbId:
|
|
3212
|
+
repositoryDbId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3213
3213
|
name: "repository_db_id";
|
|
3214
3214
|
tableName: "work_app_github_project_repository_access";
|
|
3215
3215
|
dataType: "string";
|
|
@@ -3228,7 +3228,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3228
3228
|
}, {}, {
|
|
3229
3229
|
length: 256;
|
|
3230
3230
|
}>;
|
|
3231
|
-
projectId:
|
|
3231
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3232
3232
|
name: "project_id";
|
|
3233
3233
|
tableName: "work_app_github_project_repository_access";
|
|
3234
3234
|
dataType: "string";
|
|
@@ -3247,7 +3247,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3247
3247
|
}, {}, {
|
|
3248
3248
|
length: 256;
|
|
3249
3249
|
}>;
|
|
3250
|
-
tenantId:
|
|
3250
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3251
3251
|
name: "tenant_id";
|
|
3252
3252
|
tableName: "work_app_github_project_repository_access";
|
|
3253
3253
|
dataType: "string";
|
|
@@ -3266,7 +3266,7 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3266
3266
|
}, {}, {
|
|
3267
3267
|
length: 256;
|
|
3268
3268
|
}>;
|
|
3269
|
-
id:
|
|
3269
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
3270
3270
|
name: "id";
|
|
3271
3271
|
tableName: "work_app_github_project_repository_access";
|
|
3272
3272
|
dataType: "string";
|
|
@@ -3295,11 +3295,11 @@ declare const workAppGitHubProjectRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3295
3295
|
* (cross-schema, no FK constraint). These are denormalized here so all GitHub access
|
|
3296
3296
|
* info can be queried from PostgreSQL alone.
|
|
3297
3297
|
*/
|
|
3298
|
-
declare const workAppGitHubMcpToolRepositoryAccess:
|
|
3298
|
+
declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
3299
3299
|
name: "work_app_github_mcp_tool_repository_access";
|
|
3300
3300
|
schema: undefined;
|
|
3301
3301
|
columns: {
|
|
3302
|
-
createdAt:
|
|
3302
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3303
3303
|
name: "created_at";
|
|
3304
3304
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3305
3305
|
dataType: "string";
|
|
@@ -3316,7 +3316,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3316
3316
|
identity: undefined;
|
|
3317
3317
|
generated: undefined;
|
|
3318
3318
|
}, {}, {}>;
|
|
3319
|
-
updatedAt:
|
|
3319
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3320
3320
|
name: "updated_at";
|
|
3321
3321
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3322
3322
|
dataType: "string";
|
|
@@ -3333,7 +3333,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3333
3333
|
identity: undefined;
|
|
3334
3334
|
generated: undefined;
|
|
3335
3335
|
}, {}, {}>;
|
|
3336
|
-
toolId:
|
|
3336
|
+
toolId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3337
3337
|
name: "tool_id";
|
|
3338
3338
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3339
3339
|
dataType: "string";
|
|
@@ -3352,7 +3352,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3352
3352
|
}, {}, {
|
|
3353
3353
|
length: 256;
|
|
3354
3354
|
}>;
|
|
3355
|
-
repositoryDbId:
|
|
3355
|
+
repositoryDbId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3356
3356
|
name: "repository_db_id";
|
|
3357
3357
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3358
3358
|
dataType: "string";
|
|
@@ -3371,7 +3371,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3371
3371
|
}, {}, {
|
|
3372
3372
|
length: 256;
|
|
3373
3373
|
}>;
|
|
3374
|
-
projectId:
|
|
3374
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3375
3375
|
name: "project_id";
|
|
3376
3376
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3377
3377
|
dataType: "string";
|
|
@@ -3390,7 +3390,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3390
3390
|
}, {}, {
|
|
3391
3391
|
length: 256;
|
|
3392
3392
|
}>;
|
|
3393
|
-
tenantId:
|
|
3393
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3394
3394
|
name: "tenant_id";
|
|
3395
3395
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3396
3396
|
dataType: "string";
|
|
@@ -3409,7 +3409,7 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3409
3409
|
}, {}, {
|
|
3410
3410
|
length: 256;
|
|
3411
3411
|
}>;
|
|
3412
|
-
id:
|
|
3412
|
+
id: drizzle_orm_pg_core1592.PgColumn<{
|
|
3413
3413
|
name: "id";
|
|
3414
3414
|
tableName: "work_app_github_mcp_tool_repository_access";
|
|
3415
3415
|
dataType: "string";
|
|
@@ -3437,11 +3437,11 @@ declare const workAppGitHubMcpToolRepositoryAccess: drizzle_orm_pg_core1674.PgTa
|
|
|
3437
3437
|
* - 'selected': Project only has access to repositories listed in work_app_github_project_repository_access
|
|
3438
3438
|
* If no row exists for a project, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
3439
3439
|
*/
|
|
3440
|
-
declare const workAppGitHubProjectAccessMode:
|
|
3440
|
+
declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
3441
3441
|
name: "work_app_github_project_access_mode";
|
|
3442
3442
|
schema: undefined;
|
|
3443
3443
|
columns: {
|
|
3444
|
-
createdAt:
|
|
3444
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3445
3445
|
name: "created_at";
|
|
3446
3446
|
tableName: "work_app_github_project_access_mode";
|
|
3447
3447
|
dataType: "string";
|
|
@@ -3458,7 +3458,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3458
3458
|
identity: undefined;
|
|
3459
3459
|
generated: undefined;
|
|
3460
3460
|
}, {}, {}>;
|
|
3461
|
-
updatedAt:
|
|
3461
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3462
3462
|
name: "updated_at";
|
|
3463
3463
|
tableName: "work_app_github_project_access_mode";
|
|
3464
3464
|
dataType: "string";
|
|
@@ -3475,7 +3475,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3475
3475
|
identity: undefined;
|
|
3476
3476
|
generated: undefined;
|
|
3477
3477
|
}, {}, {}>;
|
|
3478
|
-
tenantId:
|
|
3478
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3479
3479
|
name: "tenant_id";
|
|
3480
3480
|
tableName: "work_app_github_project_access_mode";
|
|
3481
3481
|
dataType: "string";
|
|
@@ -3494,7 +3494,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3494
3494
|
}, {}, {
|
|
3495
3495
|
length: 256;
|
|
3496
3496
|
}>;
|
|
3497
|
-
projectId:
|
|
3497
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3498
3498
|
name: "project_id";
|
|
3499
3499
|
tableName: "work_app_github_project_access_mode";
|
|
3500
3500
|
dataType: "string";
|
|
@@ -3513,7 +3513,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3513
3513
|
}, {}, {
|
|
3514
3514
|
length: 256;
|
|
3515
3515
|
}>;
|
|
3516
|
-
mode:
|
|
3516
|
+
mode: drizzle_orm_pg_core1592.PgColumn<{
|
|
3517
3517
|
name: "mode";
|
|
3518
3518
|
tableName: "work_app_github_project_access_mode";
|
|
3519
3519
|
dataType: "string";
|
|
@@ -3542,11 +3542,11 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3542
3542
|
* - 'selected': Tool only has access to repositories listed in work_app_github_mcp_tool_repository_access
|
|
3543
3543
|
* If no row exists for a tool, defaults to 'selected' (fail-safe: no access unless explicitly granted).
|
|
3544
3544
|
*/
|
|
3545
|
-
declare const workAppGitHubMcpToolAccessMode:
|
|
3545
|
+
declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1592.PgTableWithColumns<{
|
|
3546
3546
|
name: "work_app_github_mcp_tool_access_mode";
|
|
3547
3547
|
schema: undefined;
|
|
3548
3548
|
columns: {
|
|
3549
|
-
createdAt:
|
|
3549
|
+
createdAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3550
3550
|
name: "created_at";
|
|
3551
3551
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3552
3552
|
dataType: "string";
|
|
@@ -3563,7 +3563,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3563
3563
|
identity: undefined;
|
|
3564
3564
|
generated: undefined;
|
|
3565
3565
|
}, {}, {}>;
|
|
3566
|
-
updatedAt:
|
|
3566
|
+
updatedAt: drizzle_orm_pg_core1592.PgColumn<{
|
|
3567
3567
|
name: "updated_at";
|
|
3568
3568
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3569
3569
|
dataType: "string";
|
|
@@ -3580,7 +3580,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3580
3580
|
identity: undefined;
|
|
3581
3581
|
generated: undefined;
|
|
3582
3582
|
}, {}, {}>;
|
|
3583
|
-
toolId:
|
|
3583
|
+
toolId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3584
3584
|
name: "tool_id";
|
|
3585
3585
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3586
3586
|
dataType: "string";
|
|
@@ -3599,7 +3599,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3599
3599
|
}, {}, {
|
|
3600
3600
|
length: 256;
|
|
3601
3601
|
}>;
|
|
3602
|
-
tenantId:
|
|
3602
|
+
tenantId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3603
3603
|
name: "tenant_id";
|
|
3604
3604
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3605
3605
|
dataType: "string";
|
|
@@ -3618,7 +3618,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3618
3618
|
}, {}, {
|
|
3619
3619
|
length: 256;
|
|
3620
3620
|
}>;
|
|
3621
|
-
projectId:
|
|
3621
|
+
projectId: drizzle_orm_pg_core1592.PgColumn<{
|
|
3622
3622
|
name: "project_id";
|
|
3623
3623
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3624
3624
|
dataType: "string";
|
|
@@ -3637,7 +3637,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3637
3637
|
}, {}, {
|
|
3638
3638
|
length: 256;
|
|
3639
3639
|
}>;
|
|
3640
|
-
mode:
|
|
3640
|
+
mode: drizzle_orm_pg_core1592.PgColumn<{
|
|
3641
3641
|
name: "mode";
|
|
3642
3642
|
tableName: "work_app_github_mcp_tool_access_mode";
|
|
3643
3643
|
dataType: "string";
|
|
@@ -3660,19 +3660,19 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1674.PgTableWit
|
|
|
3660
3660
|
};
|
|
3661
3661
|
dialect: "pg";
|
|
3662
3662
|
}>;
|
|
3663
|
-
declare const workAppGitHubInstallationsRelations:
|
|
3664
|
-
repositories:
|
|
3663
|
+
declare const workAppGitHubInstallationsRelations: drizzle_orm74.Relations<"work_app_github_installations", {
|
|
3664
|
+
repositories: drizzle_orm74.Many<"work_app_github_repositories">;
|
|
3665
3665
|
}>;
|
|
3666
|
-
declare const workAppGitHubRepositoriesRelations:
|
|
3667
|
-
installation:
|
|
3668
|
-
projectAccess:
|
|
3669
|
-
mcpToolAccess:
|
|
3666
|
+
declare const workAppGitHubRepositoriesRelations: drizzle_orm74.Relations<"work_app_github_repositories", {
|
|
3667
|
+
installation: drizzle_orm74.One<"work_app_github_installations", true>;
|
|
3668
|
+
projectAccess: drizzle_orm74.Many<"work_app_github_project_repository_access">;
|
|
3669
|
+
mcpToolAccess: drizzle_orm74.Many<"work_app_github_mcp_tool_repository_access">;
|
|
3670
3670
|
}>;
|
|
3671
|
-
declare const workAppGitHubProjectRepositoryAccessRelations:
|
|
3672
|
-
repository:
|
|
3671
|
+
declare const workAppGitHubProjectRepositoryAccessRelations: drizzle_orm74.Relations<"work_app_github_project_repository_access", {
|
|
3672
|
+
repository: drizzle_orm74.One<"work_app_github_repositories", true>;
|
|
3673
3673
|
}>;
|
|
3674
|
-
declare const workAppGitHubMcpToolRepositoryAccessRelations:
|
|
3675
|
-
repository:
|
|
3674
|
+
declare const workAppGitHubMcpToolRepositoryAccessRelations: drizzle_orm74.Relations<"work_app_github_mcp_tool_repository_access", {
|
|
3675
|
+
repository: drizzle_orm74.One<"work_app_github_repositories", true>;
|
|
3676
3676
|
}>;
|
|
3677
3677
|
//#endregion
|
|
3678
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 };
|