@inkeep/agents-core 0.68.2 → 0.68.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.
Files changed (33) hide show
  1. package/dist/auth/auth-schema.d.ts +163 -163
  2. package/dist/auth/auth-types.d.ts +10 -2
  3. package/dist/auth/auth-types.js +2 -0
  4. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  5. package/dist/auth/auth.js +15 -5
  6. package/dist/auth/permissions.d.ts +9 -9
  7. package/dist/data-access/manage/agents.d.ts +17 -17
  8. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  9. package/dist/data-access/manage/contextConfigs.d.ts +4 -4
  10. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  11. package/dist/data-access/manage/functionTools.d.ts +8 -8
  12. package/dist/data-access/manage/skills.d.ts +10 -10
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  14. package/dist/data-access/manage/subAgentRelations.d.ts +12 -12
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  16. package/dist/data-access/manage/subAgents.d.ts +15 -15
  17. package/dist/data-access/manage/tools.d.ts +21 -21
  18. package/dist/data-access/manage/triggers.d.ts +6 -6
  19. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  20. package/dist/data-access/runtime/apps.d.ts +11 -11
  21. package/dist/data-access/runtime/conversations.d.ts +24 -24
  22. package/dist/data-access/runtime/feedback.d.ts +6 -6
  23. package/dist/data-access/runtime/messages.d.ts +21 -21
  24. package/dist/data-access/runtime/organizations.js +1 -0
  25. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  26. package/dist/data-access/runtime/tasks.d.ts +6 -6
  27. package/dist/db/manage/manage-schema.d.ts +461 -461
  28. package/dist/db/runtime/runtime-schema.d.ts +421 -421
  29. package/dist/utils/error.d.ts +51 -51
  30. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  31. package/dist/validation/schemas/skills.d.ts +48 -48
  32. package/dist/validation/schemas.d.ts +2150 -2150
  33. package/package.json +1 -1
@@ -11,11 +11,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  name: string;
14
- description: string | null;
15
14
  createdAt: string;
16
15
  updatedAt: string;
17
- projectId: string;
16
+ description: string | null;
17
+ prompt: string | null;
18
18
  tenantId: string;
19
+ projectId: string;
20
+ agentId: string;
21
+ conversationHistoryConfig: ConversationHistoryConfig | null;
19
22
  models: {
20
23
  base?: {
21
24
  model?: string | undefined;
@@ -39,20 +42,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
39
42
  stopWhen: {
40
43
  stepCountIs?: number | undefined;
41
44
  } | null;
42
- agentId: string;
43
- prompt: string | null;
44
- conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  } | undefined>;
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
49
  id: string;
50
50
  name: string;
51
- description: string | null;
52
51
  createdAt: string;
53
52
  updatedAt: string;
54
- projectId: string;
53
+ description: string | null;
54
+ prompt: string | null;
55
55
  tenantId: string;
56
+ projectId: string;
57
+ agentId: string;
58
+ conversationHistoryConfig: ConversationHistoryConfig | null;
56
59
  models: {
57
60
  base?: {
58
61
  model?: string | undefined;
@@ -76,9 +79,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
76
79
  stopWhen: {
77
80
  stepCountIs?: number | undefined;
78
81
  } | null;
79
- agentId: string;
80
- prompt: string | null;
81
- conversationHistoryConfig: ConversationHistoryConfig | null;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
84
84
  scopes: AgentScopeConfig;
@@ -129,11 +129,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
130
  id: string;
131
131
  name: string;
132
- description: string | null;
133
132
  createdAt: string;
134
133
  updatedAt: string;
135
- projectId: string;
134
+ description: string | null;
135
+ prompt: string | null;
136
136
  tenantId: string;
137
+ projectId: string;
138
+ agentId: string;
139
+ conversationHistoryConfig: ConversationHistoryConfig | null;
137
140
  models: {
138
141
  base?: {
139
142
  model?: string | undefined;
@@ -157,9 +160,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
157
160
  stopWhen: {
158
161
  stepCountIs?: number | undefined;
159
162
  } | null;
160
- agentId: string;
161
- prompt: string | null;
162
- conversationHistoryConfig: ConversationHistoryConfig | null;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
165
165
  scopes: AgentScopeConfig;
@@ -22,18 +22,18 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  }) => Promise<{
23
23
  id: string;
24
24
  name: string;
25
- description: string | null;
26
25
  createdAt: string;
27
26
  updatedAt: string;
28
- projectId: string;
27
+ description: string | null;
28
+ headers: Record<string, string> | null;
29
29
  tenantId: string;
30
- credentialReferenceId: string | null;
30
+ projectId: string;
31
31
  config: {
32
32
  type: "mcp";
33
33
  mcp: ToolMcpConfig;
34
34
  };
35
+ credentialReferenceId: string | null;
35
36
  credentialScope: string;
36
- headers: Record<string, string> | null;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
39
39
  lastError: string | null;
@@ -80,18 +80,18 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
81
  id: string;
82
82
  name: string;
83
- description: string | null;
84
83
  createdAt: string;
85
84
  updatedAt: string;
86
- projectId: string;
85
+ description: string | null;
86
+ headers: Record<string, string> | null;
87
87
  tenantId: string;
88
- credentialReferenceId: string | null;
88
+ projectId: string;
89
89
  config: {
90
90
  type: "mcp";
91
91
  mcp: ToolMcpConfig;
92
92
  };
93
+ credentialReferenceId: string | null;
93
94
  credentialScope: string;
94
- headers: Record<string, string> | null;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
97
97
  lastError: string | null;
@@ -138,16 +138,16 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
- projectId: string;
141
+ headers: Record<string, string> | null;
142
142
  tenantId: string;
143
+ projectId: string;
143
144
  agentId: string;
144
145
  subAgentId: string;
145
146
  toolId: string;
146
- headers: Record<string, string> | null;
147
- selectedTools: string[] | null;
148
147
  toolPolicies: Record<string, {
149
148
  needsApproval?: boolean;
150
149
  }> | null;
150
+ selectedTools: string[] | null;
151
151
  }>;
152
152
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
153
153
  scopes: AgentScopeConfig;
@@ -157,16 +157,16 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
157
157
  id: string;
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
- projectId: string;
160
+ headers: Record<string, string> | null;
161
161
  tenantId: string;
162
+ projectId: string;
162
163
  agentId: string;
163
164
  subAgentId: string;
164
165
  toolId: string;
165
- headers: Record<string, string> | null;
166
- selectedTools: string[] | null;
167
166
  toolPolicies: Record<string, {
168
167
  needsApproval?: boolean;
169
168
  }> | null;
169
+ selectedTools: string[] | null;
170
170
  }>;
171
171
  /**
172
172
  * Upsert agent-tool relation (create if it doesn't exist, update if it does)
@@ -185,16 +185,16 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
185
185
  id: string;
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
- projectId: string;
188
+ headers: Record<string, string> | null;
189
189
  tenantId: string;
190
+ projectId: string;
190
191
  agentId: string;
191
192
  subAgentId: string;
192
193
  toolId: string;
193
- headers: Record<string, string> | null;
194
- selectedTools: string[] | null;
195
194
  toolPolicies: Record<string, {
196
195
  needsApproval?: boolean;
197
196
  }> | null;
197
+ selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
200
200
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -204,18 +204,18 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  }) => Promise<{
205
205
  id: string;
206
206
  name: string;
207
- description: string | null;
208
207
  createdAt: string;
209
208
  updatedAt: string;
210
- projectId: string;
209
+ description: string | null;
210
+ headers: Record<string, string> | null;
211
211
  tenantId: string;
212
- credentialReferenceId: string | null;
212
+ projectId: string;
213
213
  config: {
214
214
  type: "mcp";
215
215
  mcp: ToolMcpConfig;
216
216
  };
217
+ credentialReferenceId: string | null;
217
218
  credentialScope: string;
218
- headers: Record<string, string> | null;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
221
221
  lastError: string | null;
@@ -37,16 +37,16 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
- encoding: "hex" | "base64";
40
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
+ encoding: "base64" | "hex";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -132,10 +132,10 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
132
132
  userId: string;
133
133
  }) => Promise<{
134
134
  createdAt: string;
135
- projectId: string;
135
+ userId: string;
136
136
  tenantId: string;
137
+ projectId: string;
137
138
  agentId: string;
138
- userId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -12,28 +12,28 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
12
12
  name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- projectId: string;
15
+ expiresAt: string | null;
16
16
  tenantId: string;
17
+ projectId: string;
17
18
  agentId: string;
18
19
  publicId: string;
19
20
  keyHash: string;
20
21
  keyPrefix: string;
21
22
  lastUsedAt: string | null;
22
- expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  id: string;
26
26
  name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- projectId: string;
29
+ expiresAt: string | null;
30
30
  tenantId: string;
31
+ projectId: string;
31
32
  agentId: string;
32
33
  publicId: string;
33
34
  keyHash: string;
34
35
  keyPrefix: string;
35
36
  lastUsedAt: string | null;
36
- expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -43,14 +43,14 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
43
43
  name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- projectId: string;
46
+ expiresAt: string | null;
47
47
  tenantId: string;
48
+ projectId: string;
48
49
  agentId: string;
49
50
  publicId: string;
50
51
  keyHash: string;
51
52
  keyPrefix: string;
52
53
  lastUsedAt: string | null;
53
- expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -70,14 +70,14 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
70
70
  name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- projectId: string;
73
+ expiresAt: string | null;
74
74
  tenantId: string;
75
+ projectId: string;
75
76
  agentId: string;
76
77
  publicId: string;
77
78
  keyHash: string;
78
79
  keyPrefix: string;
79
80
  lastUsedAt: string | null;
80
- expiresAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -5,16 +5,16 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
+ type: AppType;
8
9
  id: string;
9
10
  name: string;
10
- description: string | null;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
- projectId: string | null;
14
- tenantId: string | null;
15
- type: AppType;
13
+ description: string | null;
16
14
  enabled: boolean;
17
15
  prompt: string | null;
16
+ tenantId: string | null;
17
+ projectId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -22,7 +22,7 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
22
22
  publicKeys: {
23
23
  kid: string;
24
24
  publicKey: string;
25
- algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
25
+ algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
26
26
  addedAt: string;
27
27
  }[];
28
28
  allowAnonymous: boolean;
@@ -66,16 +66,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
69
+ type: AppType;
69
70
  id: string;
70
71
  name: string;
71
- description: string | null;
72
72
  createdAt: string;
73
73
  updatedAt: string;
74
- projectId: string | null;
75
- tenantId: string | null;
76
- type: AppType;
74
+ description: string | null;
77
75
  enabled: boolean;
78
76
  prompt: string | null;
77
+ tenantId: string | null;
78
+ projectId: string | null;
79
79
  config: {
80
80
  type: "web_client";
81
81
  webClient: {
@@ -83,7 +83,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
83
83
  publicKeys: {
84
84
  kid: string;
85
85
  publicKey: string;
86
- algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
86
+ algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
87
87
  addedAt: string;
88
88
  }[];
89
89
  allowAnonymous: boolean;
@@ -158,7 +158,7 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
158
158
  publicKeys: {
159
159
  kid: string;
160
160
  publicKey: string;
161
- algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
161
+ algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
162
162
  addedAt: string;
163
163
  }[];
164
164
  allowAnonymous: boolean;
@@ -16,19 +16,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  }>;
17
17
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
18
18
  id: string;
19
- metadata: ConversationMetadata | null;
20
19
  createdAt: string;
21
20
  updatedAt: string;
22
- projectId: string;
23
- tenantId: string;
24
- title: string | null;
25
- agentId: string | null;
26
- userId: string | null;
27
21
  ref: {
28
22
  type: "commit" | "tag" | "branch";
29
23
  name: string;
30
24
  hash: string;
31
25
  } | null;
26
+ userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ title: string | null;
29
+ tenantId: string;
30
+ projectId: string;
31
+ agentId: string | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -85,19 +85,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  conversationId: string;
86
86
  }) => Promise<{
87
87
  id: string;
88
- metadata: ConversationMetadata | null;
89
88
  createdAt: string;
90
89
  updatedAt: string;
91
- projectId: string;
92
- tenantId: string;
93
- title: string | null;
94
- agentId: string | null;
95
- userId: string | null;
96
90
  ref: {
97
91
  type: "commit" | "tag" | "branch";
98
92
  name: string;
99
93
  hash: string;
100
94
  } | null;
95
+ userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ title: string | null;
98
+ tenantId: string;
99
+ projectId: string;
100
+ agentId: string | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -121,19 +121,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  contextConfigId?: string | undefined;
122
122
  } | {
123
123
  id: string;
124
- metadata: ConversationMetadata | null;
125
124
  createdAt: string;
126
125
  updatedAt: string;
127
- projectId: string;
128
- tenantId: string;
129
- title: string | null;
130
- agentId: string | null;
131
- userId: string | null;
132
126
  ref: {
133
127
  type: "commit" | "tag" | "branch";
134
128
  name: string;
135
129
  hash: string;
136
130
  } | null;
131
+ userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ title: string | null;
134
+ tenantId: string;
135
+ projectId: string;
136
+ agentId: string | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -153,19 +153,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  conversationId: string;
154
154
  }) => Promise<{
155
155
  id: string;
156
- metadata: ConversationMetadata | null;
157
156
  createdAt: string;
158
157
  updatedAt: string;
159
- projectId: string;
160
- tenantId: string;
161
- title: string | null;
162
- agentId: string | null;
163
- userId: string | null;
164
158
  ref: {
165
159
  type: "commit" | "tag" | "branch";
166
160
  name: string;
167
161
  hash: string;
168
162
  } | null;
163
+ userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ title: string | null;
166
+ tenantId: string;
167
+ projectId: string;
168
+ agentId: string | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -58,15 +58,15 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
58
58
  total: number;
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
+ type: "positive" | "negative";
61
62
  id: string;
62
63
  createdAt: string;
63
64
  updatedAt: string;
64
- projectId: string;
65
65
  tenantId: string;
66
- type: "positive" | "negative";
67
- details: string | null;
66
+ projectId: string;
68
67
  conversationId: string;
69
68
  messageId: string | null;
69
+ details: string | null;
70
70
  }>;
71
71
  declare const updateFeedback: (db: AgentsRunDatabaseClient) => (params: {
72
72
  scopes: ProjectScopeConfig;
@@ -87,15 +87,15 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
+ type: "positive" | "negative";
90
91
  id: string;
91
92
  createdAt: string;
92
93
  updatedAt: string;
93
- projectId: string;
94
94
  tenantId: string;
95
- type: "positive" | "negative";
96
- details: string | null;
95
+ projectId: string;
97
96
  conversationId: string;
98
97
  messageId: string | null;
98
+ details: string | null;
99
99
  }>;
100
100
  //#endregion
101
101
  export { createFeedback, deleteFeedback, getFeedbackById, listFeedback, listFeedbackByConversation, updateFeedback };
@@ -11,25 +11,25 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  messageId: string;
12
12
  }) => Promise<{
13
13
  id: string;
14
- content: MessageContent;
15
- metadata: MessageMetadata | null;
16
14
  createdAt: string;
17
15
  updatedAt: string;
18
- projectId: string;
16
+ metadata: MessageMetadata | null;
17
+ role: string;
19
18
  tenantId: string;
19
+ projectId: string;
20
+ content: MessageContent;
21
+ conversationId: string;
20
22
  fromSubAgentId: string | null;
21
23
  toSubAgentId: string | null;
22
24
  fromExternalAgentId: string | null;
23
25
  toExternalAgentId: string | null;
24
- taskId: string | null;
25
- a2aTaskId: string | null;
26
- conversationId: string;
27
- role: string;
28
26
  fromTeamAgentId: string | null;
29
27
  toTeamAgentId: string | null;
30
28
  visibility: string;
31
29
  messageType: string;
30
+ taskId: string | null;
32
31
  parentMessageId: string | null;
32
+ a2aTaskId: string | null;
33
33
  a2aSessionId: string | null;
34
34
  } | undefined>;
35
35
  declare const listMessages: (db: AgentsRunDatabaseClient) => (params: {
@@ -145,25 +145,25 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
145
145
  data: Omit<MessageInsert, "tenantId" | "projectId">;
146
146
  }) => Promise<{
147
147
  id: string;
148
- content: MessageContent;
149
- metadata: MessageMetadata | null;
150
148
  createdAt: string;
151
149
  updatedAt: string;
152
- projectId: string;
150
+ metadata: MessageMetadata | null;
151
+ role: string;
153
152
  tenantId: string;
153
+ projectId: string;
154
+ content: MessageContent;
155
+ conversationId: string;
154
156
  fromSubAgentId: string | null;
155
157
  toSubAgentId: string | null;
156
158
  fromExternalAgentId: string | null;
157
159
  toExternalAgentId: string | null;
158
- taskId: string | null;
159
- a2aTaskId: string | null;
160
- conversationId: string;
161
- role: string;
162
160
  fromTeamAgentId: string | null;
163
161
  toTeamAgentId: string | null;
164
162
  visibility: string;
165
163
  messageType: string;
164
+ taskId: string | null;
166
165
  parentMessageId: string | null;
166
+ a2aTaskId: string | null;
167
167
  a2aSessionId: string | null;
168
168
  }>;
169
169
  declare const updateMessage: (db: AgentsRunDatabaseClient) => (params: {
@@ -198,25 +198,25 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
198
198
  messageId: string;
199
199
  }) => Promise<{
200
200
  id: string;
201
- content: MessageContent;
202
- metadata: MessageMetadata | null;
203
201
  createdAt: string;
204
202
  updatedAt: string;
205
- projectId: string;
203
+ metadata: MessageMetadata | null;
204
+ role: string;
206
205
  tenantId: string;
206
+ projectId: string;
207
+ content: MessageContent;
208
+ conversationId: string;
207
209
  fromSubAgentId: string | null;
208
210
  toSubAgentId: string | null;
209
211
  fromExternalAgentId: string | null;
210
212
  toExternalAgentId: string | null;
211
- taskId: string | null;
212
- a2aTaskId: string | null;
213
- conversationId: string;
214
- role: string;
215
213
  fromTeamAgentId: string | null;
216
214
  toTeamAgentId: string | null;
217
215
  visibility: string;
218
216
  messageType: string;
217
+ taskId: string | null;
219
218
  parentMessageId: string | null;
219
+ a2aTaskId: string | null;
220
220
  a2aSessionId: string | null;
221
221
  }>;
222
222
  declare const countMessagesByConversation: (db: AgentsRunDatabaseClient) => (params: {
@@ -163,6 +163,7 @@ function allowedMethodsToMethodOptions(methods, ssoProviders) {
163
163
  const options = [];
164
164
  for (const m of methods) if (m.method === "email-password") options.push({ method: "email-password" });
165
165
  else if (m.method === "google") options.push({ method: "google" });
166
+ else if (m.method === "microsoft") options.push({ method: "microsoft" });
166
167
  else if (m.method === "sso") {
167
168
  if (!m.enabled) continue;
168
169
  const provider = ssoProviders.find((p) => p.providerId === m.providerId);
@@ -16,8 +16,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
16
16
  userId: string;
17
17
  }) => Promise<{
18
18
  createdAt: string;
19
- tenantId: string;
20
19
  userId: string;
20
+ tenantId: string;
21
21
  scheduledTriggerId: string;
22
22
  }>;
23
23
  declare const deleteScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (params: {
@@ -8,19 +8,19 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
8
8
  //#region src/data-access/runtime/tasks.d.ts
9
9
  declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
10
10
  id: string;
11
- metadata: TaskMetadataConfig | null;
12
11
  createdAt: string;
13
12
  updatedAt: string;
14
- projectId: string;
15
- tenantId: string;
16
- agentId: string;
17
- subAgentId: string;
18
- status: string;
19
13
  ref: {
20
14
  type: "commit" | "tag" | "branch";
21
15
  name: string;
22
16
  hash: string;
23
17
  } | null;
18
+ metadata: TaskMetadataConfig | null;
19
+ status: string;
20
+ tenantId: string;
21
+ projectId: string;
22
+ agentId: string;
23
+ subAgentId: string;
24
24
  contextId: string;
25
25
  }>;
26
26
  declare const getTask: (db: AgentsRunDatabaseClient) => (params: {