@inkeep/agents-core 0.74.4 → 0.75.0

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 (39) hide show
  1. package/dist/auth/auth-schema.d.ts +227 -227
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +41 -41
  5. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  6. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  7. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +14 -14
  9. package/dist/data-access/manage/skills.d.ts +12 -12
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  11. package/dist/data-access/manage/subAgentRelations.d.ts +28 -28
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgents.d.ts +15 -15
  14. package/dist/data-access/manage/tools.d.ts +27 -27
  15. package/dist/data-access/manage/triggers.d.ts +5 -5
  16. package/dist/data-access/runtime/apiKeys.d.ts +16 -16
  17. package/dist/data-access/runtime/apps.d.ts +13 -13
  18. package/dist/data-access/runtime/conversations.d.ts +32 -32
  19. package/dist/data-access/runtime/events.d.ts +4 -4
  20. package/dist/data-access/runtime/feedback.d.ts +4 -4
  21. package/dist/data-access/runtime/messages.d.ts +12 -12
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  23. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  24. package/dist/data-access/runtime/tasks.d.ts +6 -6
  25. package/dist/db/manage/manage-schema.d.ts +484 -484
  26. package/dist/db/runtime/runtime-schema.d.ts +455 -455
  27. package/dist/index.d.ts +2 -2
  28. package/dist/index.js +2 -2
  29. package/dist/setup/setup.js +0 -5
  30. package/dist/utils/error.d.ts +57 -51
  31. package/dist/utils/error.js +8 -2
  32. package/dist/utils/index.d.ts +2 -2
  33. package/dist/utils/index.js +2 -2
  34. package/dist/utils/pow.d.ts +15 -1
  35. package/dist/utils/pow.js +59 -1
  36. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  37. package/dist/validation/schemas/skills.d.ts +47 -47
  38. package/dist/validation/schemas.d.ts +2341 -2341
  39. package/package.json +1 -1
@@ -10,11 +10,11 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ tenantId: string;
13
14
  createdAt: string;
14
- updatedAt: string;
15
- agentId: string;
16
15
  projectId: string;
17
- tenantId: string;
16
+ agentId: string;
17
+ updatedAt: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -45,11 +45,11 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ tenantId: string;
48
49
  createdAt: string;
49
- updatedAt: string;
50
- agentId: string;
51
50
  projectId: string;
52
- tenantId: string;
51
+ agentId: string;
52
+ updatedAt: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -58,11 +58,11 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ tenantId: string;
61
62
  createdAt: string;
62
- updatedAt: string;
63
- agentId: string;
64
63
  projectId: string;
65
- tenantId: string;
64
+ agentId: string;
65
+ updatedAt: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -127,11 +127,11 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
129
  id: string;
130
+ tenantId: string;
130
131
  createdAt: string;
131
- updatedAt: string;
132
- agentId: string;
133
132
  projectId: string;
134
- tenantId: string;
133
+ agentId: string;
134
+ updatedAt: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -146,11 +146,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
146
146
  relationType: string;
147
147
  }) => Promise<{
148
148
  id: string;
149
+ tenantId: string;
149
150
  createdAt: string;
150
- updatedAt: string;
151
- agentId: string;
152
151
  projectId: string;
153
- tenantId: string;
152
+ agentId: string;
153
+ updatedAt: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -160,11 +160,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
162
  id: string;
163
+ tenantId: string;
163
164
  createdAt: string;
164
- updatedAt: string;
165
- agentId: string;
166
165
  projectId: string;
167
- tenantId: string;
166
+ agentId: string;
167
+ updatedAt: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -205,18 +205,18 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
205
205
  };
206
206
  }) => Promise<{
207
207
  id: string;
208
+ tenantId: string;
208
209
  createdAt: string;
209
- updatedAt: string;
210
- headers: Record<string, string> | null;
211
- agentId: string;
212
210
  projectId: string;
213
- tenantId: string;
211
+ agentId: string;
214
212
  subAgentId: string;
215
213
  toolId: string;
216
- selectedTools: string[] | null;
214
+ updatedAt: string;
215
+ headers: Record<string, string> | null;
217
216
  toolPolicies: Record<string, {
218
217
  needsApproval?: boolean;
219
218
  }> | null;
219
+ selectedTools: string[] | null;
220
220
  }>;
221
221
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
222
222
  scopes: AgentScopeConfig;
@@ -249,18 +249,18 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
249
249
  relationId: string;
250
250
  }) => Promise<{
251
251
  id: string;
252
+ tenantId: string;
252
253
  createdAt: string;
253
- updatedAt: string;
254
- headers: Record<string, string> | null;
255
- agentId: string;
256
254
  projectId: string;
257
- tenantId: string;
255
+ agentId: string;
258
256
  subAgentId: string;
259
257
  toolId: string;
260
- selectedTools: string[] | null;
258
+ updatedAt: string;
259
+ headers: Record<string, string> | null;
261
260
  toolPolicies: Record<string, {
262
261
  needsApproval?: boolean;
263
262
  }> | null;
263
+ selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
266
266
  scopes: SubAgentScopeConfig;
@@ -10,13 +10,13 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ tenantId: string;
13
14
  createdAt: string;
14
- updatedAt: string;
15
- headers: Record<string, string> | null;
16
- agentId: string;
17
15
  projectId: string;
18
- tenantId: string;
16
+ agentId: string;
19
17
  subAgentId: string;
18
+ updatedAt: string;
19
+ headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -45,26 +45,26 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
+ tenantId: string;
48
49
  createdAt: string;
49
- updatedAt: string;
50
- headers: Record<string, string> | null;
51
- agentId: string;
52
50
  projectId: string;
53
- tenantId: string;
51
+ agentId: string;
54
52
  subAgentId: string;
53
+ updatedAt: string;
54
+ headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
+ tenantId: string;
61
62
  createdAt: string;
62
- updatedAt: string;
63
- headers: Record<string, string> | null;
64
- agentId: string;
65
63
  projectId: string;
66
- tenantId: string;
64
+ agentId: string;
67
65
  subAgentId: string;
66
+ updatedAt: string;
67
+ headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -223,13 +223,13 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
223
223
  };
224
224
  }) => Promise<{
225
225
  id: string;
226
+ tenantId: string;
226
227
  createdAt: string;
227
- updatedAt: string;
228
- headers: Record<string, string> | null;
229
- agentId: string;
230
228
  projectId: string;
231
- tenantId: string;
229
+ agentId: string;
232
230
  subAgentId: string;
231
+ updatedAt: string;
232
+ headers: Record<string, string> | null;
233
233
  targetAgentId: string;
234
234
  }>;
235
235
  /**
@@ -240,13 +240,13 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
240
240
  targetAgentId: string;
241
241
  }) => Promise<{
242
242
  id: string;
243
+ tenantId: string;
243
244
  createdAt: string;
244
- updatedAt: string;
245
- headers: Record<string, string> | null;
246
- agentId: string;
247
245
  projectId: string;
248
- tenantId: string;
246
+ agentId: string;
249
247
  subAgentId: string;
248
+ updatedAt: string;
249
+ headers: Record<string, string> | null;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
252
252
  /**
@@ -261,13 +261,13 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
261
261
  };
262
262
  }) => Promise<{
263
263
  id: string;
264
+ tenantId: string;
264
265
  createdAt: string;
265
- updatedAt: string;
266
- headers: Record<string, string> | null;
267
- agentId: string;
268
266
  projectId: string;
269
- tenantId: string;
267
+ agentId: string;
270
268
  subAgentId: string;
269
+ updatedAt: string;
270
+ headers: Record<string, string> | null;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -10,14 +10,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- name: string;
13
+ tenantId: string;
14
14
  createdAt: string;
15
- updatedAt: string;
15
+ name: string;
16
16
  description: string | null;
17
- prompt: string | null;
18
- agentId: string;
19
17
  projectId: string;
20
- tenantId: string;
18
+ agentId: string;
21
19
  models: {
22
20
  base?: {
23
21
  model?: string | undefined;
@@ -41,6 +39,8 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
41
39
  stopWhen: {
42
40
  stepCountIs?: number | undefined;
43
41
  } | null;
42
+ updatedAt: string;
43
+ prompt: string | null;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  outputContract: {
46
46
  [x: string]: unknown;
@@ -56,14 +56,12 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
56
56
  scopes: AgentScopeConfig;
57
57
  }) => Promise<{
58
58
  id: string;
59
- name: string;
59
+ tenantId: string;
60
60
  createdAt: string;
61
- updatedAt: string;
61
+ name: string;
62
62
  description: string | null;
63
- prompt: string | null;
64
- agentId: string;
65
63
  projectId: string;
66
- tenantId: string;
64
+ agentId: string;
67
65
  models: {
68
66
  base?: {
69
67
  model?: string | undefined;
@@ -87,6 +85,8 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
87
85
  stopWhen: {
88
86
  stepCountIs?: number | undefined;
89
87
  } | null;
88
+ updatedAt: string;
89
+ prompt: string | null;
90
90
  conversationHistoryConfig: ConversationHistoryConfig | null;
91
91
  outputContract: {
92
92
  [x: string]: unknown;
@@ -155,14 +155,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
155
155
  }>;
156
156
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
157
157
  id: string;
158
- name: string;
158
+ tenantId: string;
159
159
  createdAt: string;
160
- updatedAt: string;
160
+ name: string;
161
161
  description: string | null;
162
- prompt: string | null;
163
- agentId: string;
164
162
  projectId: string;
165
- tenantId: string;
163
+ agentId: string;
166
164
  models: {
167
165
  base?: {
168
166
  model?: string | undefined;
@@ -186,6 +184,8 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
186
184
  stopWhen: {
187
185
  stepCountIs?: number | undefined;
188
186
  } | null;
187
+ updatedAt: string;
188
+ prompt: string | null;
189
189
  conversationHistoryConfig: ConversationHistoryConfig | null;
190
190
  outputContract: {
191
191
  [x: string]: unknown;
@@ -21,13 +21,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
21
21
  toolId: string;
22
22
  }) => Promise<{
23
23
  id: string;
24
- name: string;
24
+ tenantId: string;
25
25
  createdAt: string;
26
- updatedAt: string;
26
+ name: string;
27
27
  description: string | null;
28
- headers: Record<string, string> | null;
29
28
  projectId: string;
30
- tenantId: string;
29
+ updatedAt: string;
30
+ headers: Record<string, string> | null;
31
31
  config: {
32
32
  type: "mcp";
33
33
  mcp: ToolMcpConfig;
@@ -79,13 +79,13 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
81
  id: string;
82
- name: string;
82
+ tenantId: string;
83
83
  createdAt: string;
84
- updatedAt: string;
84
+ name: string;
85
85
  description: string | null;
86
- headers: Record<string, string> | null;
87
86
  projectId: string;
88
- tenantId: string;
87
+ updatedAt: string;
88
+ headers: Record<string, string> | null;
89
89
  config: {
90
90
  type: "mcp";
91
91
  mcp: ToolMcpConfig;
@@ -136,18 +136,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
136
136
  }> | null;
137
137
  }) => Promise<{
138
138
  id: string;
139
+ tenantId: string;
139
140
  createdAt: string;
140
- updatedAt: string;
141
- headers: Record<string, string> | null;
142
- agentId: string;
143
141
  projectId: string;
144
- tenantId: string;
142
+ agentId: string;
145
143
  subAgentId: string;
146
144
  toolId: string;
147
- selectedTools: string[] | null;
145
+ updatedAt: string;
146
+ headers: Record<string, 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;
@@ -155,18 +155,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  toolId: string;
156
156
  }) => Promise<{
157
157
  id: string;
158
+ tenantId: string;
158
159
  createdAt: string;
159
- updatedAt: string;
160
- headers: Record<string, string> | null;
161
- agentId: string;
162
160
  projectId: string;
163
- tenantId: string;
161
+ agentId: string;
164
162
  subAgentId: string;
165
163
  toolId: string;
166
- selectedTools: string[] | null;
164
+ updatedAt: string;
165
+ headers: Record<string, 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)
@@ -183,18 +183,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
185
  id: string;
186
+ tenantId: string;
186
187
  createdAt: string;
187
- updatedAt: string;
188
- headers: Record<string, string> | null;
189
- agentId: string;
190
188
  projectId: string;
191
- tenantId: string;
189
+ agentId: string;
192
190
  subAgentId: string;
193
191
  toolId: string;
194
- selectedTools: string[] | null;
192
+ updatedAt: string;
193
+ headers: Record<string, 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)
@@ -203,13 +203,13 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
205
  id: string;
206
- name: string;
206
+ tenantId: string;
207
207
  createdAt: string;
208
- updatedAt: string;
208
+ name: string;
209
209
  description: string | null;
210
- headers: Record<string, string> | null;
211
210
  projectId: string;
212
- tenantId: string;
211
+ updatedAt: string;
212
+ headers: Record<string, string> | null;
213
213
  config: {
214
214
  type: "mcp";
215
215
  mcp: ToolMcpConfig;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "body" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "body" | "header";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -131,11 +131,11 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
131
131
  triggerId: string;
132
132
  userId: string;
133
133
  }) => Promise<{
134
+ tenantId: string;
134
135
  createdAt: string;
135
- userId: string;
136
- agentId: string;
137
136
  projectId: string;
138
- tenantId: string;
137
+ agentId: string;
138
+ userId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,13 +9,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
9
9
  id: string;
10
10
  }) => Promise<{
11
11
  id: string;
12
- name: string | null;
12
+ tenantId: string;
13
13
  createdAt: string;
14
+ name: string | null;
15
+ projectId: string;
16
+ agentId: string;
14
17
  updatedAt: string;
15
18
  expiresAt: string | null;
16
- agentId: string;
17
- projectId: string;
18
- tenantId: string;
19
19
  publicId: string;
20
20
  keyHash: string;
21
21
  keyPrefix: string;
@@ -23,13 +23,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
25
  id: string;
26
- name: string | null;
26
+ tenantId: string;
27
27
  createdAt: string;
28
+ name: string | null;
29
+ projectId: string;
30
+ agentId: string;
28
31
  updatedAt: string;
29
32
  expiresAt: string | null;
30
- agentId: string;
31
- projectId: string;
32
- tenantId: string;
33
33
  publicId: string;
34
34
  keyHash: string;
35
35
  keyPrefix: string;
@@ -40,13 +40,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
42
  id: string;
43
- name: string | null;
43
+ tenantId: string;
44
44
  createdAt: string;
45
+ name: string | null;
46
+ projectId: string;
47
+ agentId: string;
45
48
  updatedAt: string;
46
49
  expiresAt: string | null;
47
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
50
50
  publicId: string;
51
51
  keyHash: string;
52
52
  keyPrefix: string;
@@ -67,13 +67,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
69
  id: string;
70
- name: string | null;
70
+ tenantId: string;
71
71
  createdAt: string;
72
+ name: string | null;
73
+ projectId: string;
74
+ agentId: string;
72
75
  updatedAt: string;
73
76
  expiresAt: string | null;
74
- agentId: string;
75
- projectId: string;
76
- tenantId: string;
77
77
  publicId: string;
78
78
  keyHash: string;
79
79
  keyPrefix: string;
@@ -6,15 +6,15 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- enabled: boolean;
10
9
  id: string;
11
- name: string;
10
+ tenantId: string | null;
12
11
  createdAt: string;
13
- updatedAt: string;
12
+ name: string;
14
13
  description: string | null;
15
- prompt: string | null;
16
14
  projectId: string | null;
17
- tenantId: string | null;
15
+ updatedAt: string;
16
+ enabled: boolean;
17
+ prompt: 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: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
25
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
26
26
  addedAt: string;
27
27
  }[];
28
28
  allowAnonymous: boolean;
@@ -75,15 +75,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
75
75
  }>;
76
76
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
77
77
  type: AppType;
78
- enabled: boolean;
79
78
  id: string;
80
- name: string;
79
+ tenantId: string | null;
81
80
  createdAt: string;
82
- updatedAt: string;
81
+ name: string;
83
82
  description: string | null;
84
- prompt: string | null;
85
83
  projectId: string | null;
86
- tenantId: string | null;
84
+ updatedAt: string;
85
+ enabled: boolean;
86
+ prompt: string | null;
87
87
  config: {
88
88
  type: "web_client";
89
89
  webClient: {
@@ -91,7 +91,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
91
91
  publicKeys: {
92
92
  kid: string;
93
93
  publicKey: string;
94
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
94
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
95
95
  addedAt: string;
96
96
  }[];
97
97
  allowAnonymous: boolean;
@@ -174,7 +174,7 @@ declare const updateApp: (db: AgentsRunDatabaseClient) => (params: {
174
174
  publicKeys: {
175
175
  kid: string;
176
176
  publicKey: string;
177
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
177
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
178
178
  addedAt: string;
179
179
  }[];
180
180
  allowAnonymous: boolean;