@inkeep/agents-core 0.79.1 → 0.80.2

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 (43) hide show
  1. package/dist/auth/auth-schema.d.ts +163 -163
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +9 -9
  4. package/dist/auth/auth.js +1 -1
  5. package/dist/auth/permissions.d.ts +13 -13
  6. package/dist/constants/otel-attributes.d.ts +3 -0
  7. package/dist/constants/otel-attributes.js +4 -1
  8. package/dist/data-access/manage/agents.d.ts +46 -46
  9. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  10. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  11. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  12. package/dist/data-access/manage/functionTools.d.ts +10 -10
  13. package/dist/data-access/manage/skills.d.ts +9 -9
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  15. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  17. package/dist/data-access/manage/subAgents.d.ts +18 -18
  18. package/dist/data-access/manage/tools.d.ts +24 -24
  19. package/dist/data-access/manage/tools.js +33 -8
  20. package/dist/data-access/manage/triggers.d.ts +7 -7
  21. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  22. package/dist/data-access/runtime/apps.d.ts +7 -7
  23. package/dist/data-access/runtime/conversations.d.ts +32 -32
  24. package/dist/data-access/runtime/evalRuns.d.ts +5 -0
  25. package/dist/data-access/runtime/evalRuns.js +3 -0
  26. package/dist/data-access/runtime/events.d.ts +5 -5
  27. package/dist/data-access/runtime/feedback.d.ts +4 -4
  28. package/dist/data-access/runtime/feedback.js +2 -2
  29. package/dist/data-access/runtime/messages.d.ts +24 -24
  30. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -5
  31. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  32. package/dist/data-access/runtime/tasks.d.ts +6 -6
  33. package/dist/db/manage/manage-schema.d.ts +8 -8
  34. package/dist/db/runtime/runtime-schema.d.ts +14 -14
  35. package/dist/utils/error.d.ts +51 -51
  36. package/dist/utils/json-schema-walk.d.ts +50 -0
  37. package/dist/utils/json-schema-walk.js +202 -0
  38. package/dist/utils/mcp-client.js +14 -32
  39. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  40. package/dist/validation/schemas/skills.d.ts +17 -17
  41. package/dist/validation/schemas.d.ts +2389 -2384
  42. package/dist/validation/schemas.js +2 -0
  43. package/package.json +5 -1
@@ -17,23 +17,23 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  id: string;
20
+ properties: Record<string, unknown> | null;
21
+ title: string | null;
20
22
  createdAt: string;
21
23
  updatedAt: string;
24
+ tenantId: string;
25
+ projectId: string;
26
+ agentId: string | null;
27
+ userId: string | null;
28
+ metadata: ConversationMetadata | null;
22
29
  ref: {
23
30
  type: "commit" | "tag" | "branch";
24
31
  name: string;
25
32
  hash: string;
26
33
  } | null;
27
- userId: string | null;
28
- metadata: ConversationMetadata | null;
29
- properties: Record<string, unknown> | null;
30
- title: string | null;
31
- agentId: string | null;
32
- projectId: string;
33
- tenantId: string;
34
+ userProperties: Record<string, unknown> | null;
34
35
  activeSubAgentId: string;
35
36
  lastContextResolution: string | null;
36
- userProperties: Record<string, unknown> | null;
37
37
  }>;
38
38
  declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -92,23 +92,23 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
92
92
  conversationId: string;
93
93
  }) => Promise<{
94
94
  id: string;
95
+ properties: Record<string, unknown> | null;
96
+ title: string | null;
95
97
  createdAt: string;
96
98
  updatedAt: string;
99
+ tenantId: string;
100
+ projectId: string;
101
+ agentId: string | null;
102
+ userId: string | null;
103
+ metadata: ConversationMetadata | null;
97
104
  ref: {
98
105
  type: "commit" | "tag" | "branch";
99
106
  name: string;
100
107
  hash: string;
101
108
  } | null;
102
- userId: string | null;
103
- metadata: ConversationMetadata | null;
104
- properties: Record<string, unknown> | null;
105
- title: string | null;
106
- agentId: string | null;
107
- projectId: string;
108
- tenantId: string;
109
+ userProperties: Record<string, unknown> | null;
109
110
  activeSubAgentId: string;
110
111
  lastContextResolution: string | null;
111
- userProperties: Record<string, unknown> | null;
112
112
  } | undefined>;
113
113
  /**
114
114
  * Batch-fetch conversations by id within a project scope.
@@ -147,23 +147,23 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
147
147
  properties?: Record<string, unknown> | null | undefined;
148
148
  } | {
149
149
  id: string;
150
+ properties: Record<string, unknown> | null;
151
+ title: string | null;
150
152
  createdAt: string;
151
153
  updatedAt: string;
154
+ tenantId: string;
155
+ projectId: string;
156
+ agentId: string | null;
157
+ userId: string | null;
158
+ metadata: ConversationMetadata | null;
152
159
  ref: {
153
160
  type: "commit" | "tag" | "branch";
154
161
  name: string;
155
162
  hash: string;
156
163
  } | null;
157
- userId: string | null;
158
- metadata: ConversationMetadata | null;
159
- properties: Record<string, unknown> | null;
160
- title: string | null;
161
- agentId: string | null;
162
- projectId: string;
163
- tenantId: string;
164
+ userProperties: Record<string, unknown> | null;
164
165
  activeSubAgentId: string;
165
166
  lastContextResolution: string | null;
166
- userProperties: Record<string, unknown> | null;
167
167
  }>;
168
168
  /**
169
169
  * Extract text content from message content object
@@ -185,23 +185,23 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
185
185
  conversationId: string;
186
186
  }) => Promise<{
187
187
  id: string;
188
+ properties: Record<string, unknown> | null;
189
+ title: string | null;
188
190
  createdAt: string;
189
191
  updatedAt: string;
192
+ tenantId: string;
193
+ projectId: string;
194
+ agentId: string | null;
195
+ userId: string | null;
196
+ metadata: ConversationMetadata | null;
190
197
  ref: {
191
198
  type: "commit" | "tag" | "branch";
192
199
  name: string;
193
200
  hash: string;
194
201
  } | null;
195
- userId: string | null;
196
- metadata: ConversationMetadata | null;
197
- properties: Record<string, unknown> | null;
198
- title: string | null;
199
- agentId: string | null;
200
- projectId: string;
201
- tenantId: string;
202
+ userProperties: Record<string, unknown> | null;
202
203
  activeSubAgentId: string;
203
204
  lastContextResolution: string | null;
204
- userProperties: Record<string, unknown> | null;
205
205
  } | undefined>;
206
206
  /**
207
207
  * Set active agent for a conversation (upsert operation)
@@ -94,6 +94,11 @@ declare const listEvaluationResultsByRun: (db: AgentsRunDatabaseClient) => (para
94
94
  interface EvalResultsFilter {
95
95
  evaluatorId?: string;
96
96
  agentId?: string;
97
+ conversationId?: string;
98
+ /** ISO timestamp — only include results whose conversation was created on or after this instant. */
99
+ startDate?: string;
100
+ /** ISO timestamp — only include results whose conversation was created on or before this instant. */
101
+ endDate?: string;
97
102
  }
98
103
  interface EvalResultsPagination {
99
104
  page: number;
@@ -112,6 +112,9 @@ function buildEvalResultsBaseQuery(db, params) {
112
112
  const whereConditions = [projectScopedWhere(evaluationResult, params.scopes), inArray(evaluationResult.evaluationRunId, runIdSubquery)];
113
113
  if (params.filters?.evaluatorId) whereConditions.push(eq(evaluationResult.evaluatorId, params.filters.evaluatorId));
114
114
  if (params.filters?.agentId) whereConditions.push(eq(conversations.agentId, params.filters.agentId));
115
+ if (params.filters?.conversationId) whereConditions.push(eq(evaluationResult.conversationId, params.filters.conversationId));
116
+ if (params.filters?.startDate) whereConditions.push(gte(conversations.createdAt, params.filters.startDate));
117
+ if (params.filters?.endDate) whereConditions.push(lte(conversations.createdAt, params.filters.endDate));
115
118
  return { whereConditions };
116
119
  }
117
120
  const listEvaluationResultsPaginated = (db) => async (params) => {
@@ -9,15 +9,15 @@ declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert
9
9
  row: {
10
10
  type: string;
11
11
  id: string;
12
+ properties: Record<string, unknown> | null;
12
13
  createdAt: string;
13
14
  updatedAt: string;
14
- metadata: Record<string, unknown> | null;
15
- properties: Record<string, unknown> | null;
16
- agentId: string | null;
17
- projectId: string;
18
15
  tenantId: string;
19
- userProperties: Record<string, unknown> | null;
16
+ projectId: string;
17
+ agentId: string | null;
18
+ metadata: Record<string, unknown> | null;
20
19
  conversationId: string | null;
20
+ userProperties: Record<string, unknown> | null;
21
21
  messageId: string | null;
22
22
  serverMetadata: {
23
23
  [k: string]: unknown;
@@ -74,11 +74,11 @@ declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: Feedback
74
74
  id: string;
75
75
  createdAt: string;
76
76
  updatedAt: string;
77
- projectId: string;
78
77
  tenantId: string;
78
+ projectId: string;
79
+ details: string | null;
79
80
  conversationId: string;
80
81
  messageId: string | null;
81
- details: string | null;
82
82
  }>;
83
83
  declare const createFeedbackBulk: (db: AgentsRunDatabaseClient) => (items: FeedbackInsert[]) => Promise<(typeof feedback.$inferSelect)[]>;
84
84
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
@@ -104,11 +104,11 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
104
104
  id: string;
105
105
  createdAt: string;
106
106
  updatedAt: string;
107
- projectId: string;
108
107
  tenantId: string;
108
+ projectId: string;
109
+ details: string | null;
109
110
  conversationId: string;
110
111
  messageId: string | null;
111
- details: string | null;
112
112
  }>;
113
113
  //#endregion
114
114
  export { createFeedback, createFeedbackBulk, deleteFeedback, getFeedbackById, getFeedbackByIds, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -31,8 +31,8 @@ const listFeedback = (db) => async (params) => {
31
31
  if (params.conversationId) conditions.push(eq(feedback.conversationId, params.conversationId));
32
32
  if (params.messageId) conditions.push(eq(feedback.messageId, params.messageId));
33
33
  if (params.type) conditions.push(eq(feedback.type, params.type));
34
- if (params.startDate) conditions.push(gte(feedback.createdAt, `${params.startDate}T00:00:00.000Z`));
35
- if (params.endDate) conditions.push(lte(feedback.createdAt, `${params.endDate}T23:59:59.999Z`));
34
+ if (params.startDate) conditions.push(gte(feedback.createdAt, params.startDate));
35
+ if (params.endDate) conditions.push(lte(feedback.createdAt, params.endDate));
36
36
  if (params.agentId) conditions.push(eq(conversations.agentId, params.agentId));
37
37
  const whereClause = and(...conditions);
38
38
  const conversationsJoin = [
@@ -11,27 +11,27 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
+ properties: Record<string, unknown> | null;
14
15
  createdAt: string;
15
16
  updatedAt: string;
16
- metadata: MessageMetadata | null;
17
- role: string;
18
- properties: Record<string, unknown> | null;
19
- projectId: string;
20
17
  tenantId: string;
18
+ projectId: string;
21
19
  content: MessageContent;
22
- userProperties: Record<string, unknown> | null;
23
- conversationId: string;
20
+ metadata: MessageMetadata | null;
24
21
  fromSubAgentId: string | null;
25
22
  toSubAgentId: string | null;
26
23
  fromExternalAgentId: string | null;
27
24
  toExternalAgentId: string | null;
25
+ taskId: string | null;
26
+ a2aTaskId: string | null;
27
+ conversationId: string;
28
+ role: string;
29
+ userProperties: Record<string, unknown> | null;
28
30
  fromTeamAgentId: string | null;
29
31
  toTeamAgentId: string | null;
30
32
  visibility: string;
31
33
  messageType: string;
32
- taskId: string | null;
33
34
  parentMessageId: string | null;
34
- a2aTaskId: string | null;
35
35
  a2aSessionId: string | null;
36
36
  } | undefined>;
37
37
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -184,27 +184,27 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
184
184
  data: Omit<MessageInsert, "tenantId" | "projectId">;
185
185
  }) => Promise<{
186
186
  id: string;
187
+ properties: Record<string, unknown> | null;
187
188
  createdAt: string;
188
189
  updatedAt: string;
189
- metadata: MessageMetadata | null;
190
- role: string;
191
- properties: Record<string, unknown> | null;
192
- projectId: string;
193
190
  tenantId: string;
191
+ projectId: string;
194
192
  content: MessageContent;
195
- userProperties: Record<string, unknown> | null;
196
- conversationId: string;
193
+ metadata: MessageMetadata | null;
197
194
  fromSubAgentId: string | null;
198
195
  toSubAgentId: string | null;
199
196
  fromExternalAgentId: string | null;
200
197
  toExternalAgentId: string | null;
198
+ taskId: string | null;
199
+ a2aTaskId: string | null;
200
+ conversationId: string;
201
+ role: string;
202
+ userProperties: Record<string, unknown> | null;
201
203
  fromTeamAgentId: string | null;
202
204
  toTeamAgentId: string | null;
203
205
  visibility: string;
204
206
  messageType: string;
205
- taskId: string | null;
206
207
  parentMessageId: string | null;
207
- a2aTaskId: string | null;
208
208
  a2aSessionId: string | null;
209
209
  }>;
210
210
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -241,27 +241,27 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
241
241
  messageId: string;
242
242
  }) => Promise<{
243
243
  id: string;
244
+ properties: Record<string, unknown> | null;
244
245
  createdAt: string;
245
246
  updatedAt: string;
246
- metadata: MessageMetadata | null;
247
- role: string;
248
- properties: Record<string, unknown> | null;
249
- projectId: string;
250
247
  tenantId: string;
248
+ projectId: string;
251
249
  content: MessageContent;
252
- userProperties: Record<string, unknown> | null;
253
- conversationId: string;
250
+ metadata: MessageMetadata | null;
254
251
  fromSubAgentId: string | null;
255
252
  toSubAgentId: string | null;
256
253
  fromExternalAgentId: string | null;
257
254
  toExternalAgentId: string | null;
255
+ taskId: string | null;
256
+ a2aTaskId: string | null;
257
+ conversationId: string;
258
+ role: string;
259
+ userProperties: Record<string, unknown> | null;
258
260
  fromTeamAgentId: string | null;
259
261
  toTeamAgentId: string | null;
260
262
  visibility: string;
261
263
  messageType: string;
262
- taskId: string | null;
263
264
  parentMessageId: string | null;
264
- a2aTaskId: string | null;
265
265
  a2aSessionId: string | null;
266
266
  }>;
267
267
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
43
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
199
199
  name: string;
200
200
  hash: string;
201
201
  } | null;
202
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
202
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
203
203
  scheduledFor: string;
204
204
  startedAt: string | null;
205
205
  completedAt: string | null;
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
239
239
  name: string;
240
240
  hash: string;
241
241
  } | null;
242
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
242
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
243
243
  scheduledFor: string;
244
244
  startedAt: string | null;
245
245
  completedAt: string | null;
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
292
292
  name: string;
293
293
  hash: string;
294
294
  } | null;
295
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
295
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -320,7 +320,7 @@ declare const listScheduledTriggerInvocationsByDatasetRunId: (db: AgentsRunDatab
320
320
  name: string;
321
321
  hash: string;
322
322
  } | null;
323
- status: "pending" | "running" | "completed" | "failed" | "cancelled";
323
+ status: "pending" | "failed" | "running" | "completed" | "cancelled";
324
324
  scheduledFor: string;
325
325
  startedAt: string | null;
326
326
  completedAt: string | null;
@@ -16,8 +16,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
16
16
  userId: string;
17
17
  }) => Promise<{
18
18
  createdAt: string;
19
- userId: string;
20
19
  tenantId: string;
20
+ userId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -10,17 +10,17 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
10
10
  id: string;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
+ tenantId: string;
14
+ projectId: string;
15
+ agentId: string;
16
+ metadata: TaskMetadataConfig | null;
17
+ subAgentId: string;
18
+ status: string;
13
19
  ref: {
14
20
  type: "commit" | "tag" | "branch";
15
21
  name: string;
16
22
  hash: string;
17
23
  } | null;
18
- metadata: TaskMetadataConfig | null;
19
- status: string;
20
- agentId: string;
21
- projectId: string;
22
- tenantId: string;
23
- subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
@@ -855,16 +855,16 @@ declare const triggers: drizzle_orm_pg_core1587.PgTableWithColumns<{
855
855
  dataType: "json";
856
856
  columnType: "PgJsonb";
857
857
  data: {
858
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
859
- encoding: "base64" | "hex";
858
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
859
+ encoding: "hex" | "base64";
860
860
  signature: {
861
- source: "query" | "body" | "header";
861
+ source: "header" | "query" | "body";
862
862
  key: string;
863
863
  prefix?: string | undefined;
864
864
  regex?: string | undefined;
865
865
  };
866
866
  signedComponents: {
867
- source: "literal" | "body" | "header";
867
+ source: "literal" | "header" | "body";
868
868
  required: boolean;
869
869
  key?: string | undefined;
870
870
  value?: string | undefined;
@@ -892,16 +892,16 @@ declare const triggers: drizzle_orm_pg_core1587.PgTableWithColumns<{
892
892
  generated: undefined;
893
893
  }, {}, {
894
894
  $type: {
895
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
896
- encoding: "base64" | "hex";
895
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
896
+ encoding: "hex" | "base64";
897
897
  signature: {
898
- source: "query" | "body" | "header";
898
+ source: "header" | "query" | "body";
899
899
  key: string;
900
900
  prefix?: string | undefined;
901
901
  regex?: string | undefined;
902
902
  };
903
903
  signedComponents: {
904
- source: "literal" | "body" | "header";
904
+ source: "literal" | "header" | "body";
905
905
  required: boolean;
906
906
  key?: string | undefined;
907
907
  value?: string | undefined;
@@ -1544,7 +1544,7 @@ declare const apps: drizzle_orm_pg_core1983.PgTableWithColumns<{
1544
1544
  publicKeys: {
1545
1545
  kid: string;
1546
1546
  publicKey: string;
1547
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
1547
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
1548
1548
  addedAt: string;
1549
1549
  }[];
1550
1550
  allowAnonymous: boolean;
@@ -1585,7 +1585,7 @@ declare const apps: drizzle_orm_pg_core1983.PgTableWithColumns<{
1585
1585
  publicKeys: {
1586
1586
  kid: string;
1587
1587
  publicKey: string;
1588
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
1588
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
1589
1589
  addedAt: string;
1590
1590
  }[];
1591
1591
  allowAnonymous: boolean;
@@ -3190,7 +3190,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1983.PgTableWithCo
3190
3190
  tableName: "scheduled_trigger_invocations";
3191
3191
  dataType: "string";
3192
3192
  columnType: "PgVarchar";
3193
- data: "pending" | "running" | "completed" | "failed" | "cancelled";
3193
+ data: "pending" | "failed" | "running" | "completed" | "cancelled";
3194
3194
  driverParam: string;
3195
3195
  notNull: true;
3196
3196
  hasDefault: false;
@@ -3203,7 +3203,7 @@ declare const scheduledTriggerInvocations: drizzle_orm_pg_core1983.PgTableWithCo
3203
3203
  generated: undefined;
3204
3204
  }, {}, {
3205
3205
  length: 50;
3206
- $type: "pending" | "running" | "completed" | "failed" | "cancelled";
3206
+ $type: "pending" | "failed" | "running" | "completed" | "cancelled";
3207
3207
  }>;
3208
3208
  scheduledFor: drizzle_orm_pg_core1983.PgColumn<{
3209
3209
  name: "scheduled_for";
@@ -4582,7 +4582,7 @@ declare const coPilotRuns: drizzle_orm_pg_core1983.PgTableWithColumns<{
4582
4582
  tableName: "copilot_runs";
4583
4583
  dataType: "string";
4584
4584
  columnType: "PgVarchar";
4585
- data: "running" | "completed" | "failed" | "suspended";
4585
+ data: "failed" | "running" | "completed" | "suspended";
4586
4586
  driverParam: string;
4587
4587
  notNull: true;
4588
4588
  hasDefault: false;
@@ -4595,7 +4595,7 @@ declare const coPilotRuns: drizzle_orm_pg_core1983.PgTableWithColumns<{
4595
4595
  generated: undefined;
4596
4596
  }, {}, {
4597
4597
  length: 50;
4598
- $type: "running" | "completed" | "failed" | "suspended";
4598
+ $type: "failed" | "running" | "completed" | "suspended";
4599
4599
  }>;
4600
4600
  projectId: drizzle_orm_pg_core1983.PgColumn<{
4601
4601
  name: "project_id";
@@ -6348,7 +6348,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1983.PgTableWithCol
6348
6348
  tableName: "work_app_github_installations";
6349
6349
  dataType: "string";
6350
6350
  columnType: "PgVarchar";
6351
- data: "User" | "Organization";
6351
+ data: "Organization" | "User";
6352
6352
  driverParam: string;
6353
6353
  notNull: true;
6354
6354
  hasDefault: false;
@@ -6361,7 +6361,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1983.PgTableWithCol
6361
6361
  generated: undefined;
6362
6362
  }, {}, {
6363
6363
  length: 20;
6364
- $type: "User" | "Organization";
6364
+ $type: "Organization" | "User";
6365
6365
  }>;
6366
6366
  status: drizzle_orm_pg_core1983.PgColumn<{
6367
6367
  name: "status";
@@ -6935,7 +6935,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1983.PgTableWit
6935
6935
  tableName: "work_app_github_project_access_mode";
6936
6936
  dataType: "string";
6937
6937
  columnType: "PgVarchar";
6938
- data: "selected" | "all";
6938
+ data: "all" | "selected";
6939
6939
  driverParam: string;
6940
6940
  notNull: true;
6941
6941
  hasDefault: false;
@@ -6948,7 +6948,7 @@ declare const workAppGitHubProjectAccessMode: drizzle_orm_pg_core1983.PgTableWit
6948
6948
  generated: undefined;
6949
6949
  }, {}, {
6950
6950
  length: 20;
6951
- $type: "selected" | "all";
6951
+ $type: "all" | "selected";
6952
6952
  }>;
6953
6953
  };
6954
6954
  dialect: "pg";
@@ -7059,7 +7059,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1983.PgTableWit
7059
7059
  tableName: "work_app_github_mcp_tool_access_mode";
7060
7060
  dataType: "string";
7061
7061
  columnType: "PgVarchar";
7062
- data: "selected" | "all";
7062
+ data: "all" | "selected";
7063
7063
  driverParam: string;
7064
7064
  notNull: true;
7065
7065
  hasDefault: false;
@@ -7072,7 +7072,7 @@ declare const workAppGitHubMcpToolAccessMode: drizzle_orm_pg_core1983.PgTableWit
7072
7072
  generated: undefined;
7073
7073
  }, {}, {
7074
7074
  length: 20;
7075
- $type: "selected" | "all";
7075
+ $type: "all" | "selected";
7076
7076
  }>;
7077
7077
  };
7078
7078
  dialect: "pg";
@@ -7191,7 +7191,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1983.PgTableWi
7191
7191
  tableName: "work_app_slack_mcp_tool_access_config";
7192
7192
  dataType: "string";
7193
7193
  columnType: "PgVarchar";
7194
- data: "selected" | "all";
7194
+ data: "all" | "selected";
7195
7195
  driverParam: string;
7196
7196
  notNull: true;
7197
7197
  hasDefault: false;
@@ -7204,7 +7204,7 @@ declare const workAppSlackMcpToolAccessConfig: drizzle_orm_pg_core1983.PgTableWi
7204
7204
  generated: undefined;
7205
7205
  }, {}, {
7206
7206
  length: 20;
7207
- $type: "selected" | "all";
7207
+ $type: "all" | "selected";
7208
7208
  }>;
7209
7209
  dmEnabled: drizzle_orm_pg_core1983.PgColumn<{
7210
7210
  name: "dm_enabled";