@inkeep/agents-core 0.80.5 → 0.80.6

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 (35) 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 +21 -21
  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 +17 -17
  18. package/dist/data-access/runtime/conversations.d.ts +24 -24
  19. package/dist/data-access/runtime/events.d.ts +7 -7
  20. package/dist/data-access/runtime/feedback.d.ts +6 -6
  21. package/dist/data-access/runtime/messages.d.ts +18 -18
  22. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +2 -2
  23. package/dist/data-access/runtime/tasks.d.ts +5 -5
  24. package/dist/db/manage/manage-schema.d.ts +506 -506
  25. package/dist/db/runtime/runtime-schema.d.ts +458 -458
  26. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +1 -1
  27. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +1 -1
  28. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
  29. package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.6.1_fc26da61d3f761277fbc021fa297f7ea → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
  30. package/dist/test-utils/mocks/logger.js +1 -1
  31. package/dist/utils/error.d.ts +51 -51
  32. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  33. package/dist/validation/schemas/skills.d.ts +41 -41
  34. package/dist/validation/schemas.d.ts +2222 -2222
  35. package/package.json +1 -1
@@ -11,12 +11,12 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  createdAt: string;
14
- updatedAt: string;
15
- headers: Record<string, string> | null;
16
- tenantId: string;
17
- projectId: string;
18
14
  agentId: string;
15
+ projectId: string;
16
+ tenantId: 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: {
@@ -46,12 +46,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
46
46
  }) => Promise<{
47
47
  id: string;
48
48
  createdAt: string;
49
- updatedAt: string;
50
- headers: Record<string, string> | null;
51
- tenantId: string;
52
- projectId: string;
53
49
  agentId: string;
50
+ projectId: string;
51
+ tenantId: 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: {
@@ -59,12 +59,12 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
59
59
  }) => Promise<{
60
60
  id: string;
61
61
  createdAt: string;
62
- updatedAt: string;
63
- headers: Record<string, string> | null;
64
- tenantId: string;
65
- projectId: string;
66
62
  agentId: string;
63
+ projectId: string;
64
+ tenantId: 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: {
@@ -224,12 +224,12 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
224
224
  }) => Promise<{
225
225
  id: string;
226
226
  createdAt: string;
227
- updatedAt: string;
228
- headers: Record<string, string> | null;
229
- tenantId: string;
230
- projectId: string;
231
227
  agentId: string;
228
+ projectId: string;
229
+ tenantId: string;
232
230
  subAgentId: string;
231
+ updatedAt: string;
232
+ headers: Record<string, string> | null;
233
233
  targetAgentId: string;
234
234
  }>;
235
235
  /**
@@ -241,12 +241,12 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
241
241
  }) => Promise<{
242
242
  id: string;
243
243
  createdAt: string;
244
- updatedAt: string;
245
- headers: Record<string, string> | null;
246
- tenantId: string;
247
- projectId: string;
248
244
  agentId: string;
245
+ projectId: string;
246
+ tenantId: string;
249
247
  subAgentId: string;
248
+ updatedAt: string;
249
+ headers: Record<string, string> | null;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
252
252
  /**
@@ -262,12 +262,12 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
262
262
  }) => Promise<{
263
263
  id: string;
264
264
  createdAt: string;
265
- updatedAt: string;
266
- headers: Record<string, string> | null;
267
- tenantId: string;
268
- projectId: string;
269
265
  agentId: string;
266
+ projectId: string;
267
+ tenantId: 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: {
@@ -11,12 +11,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  name: string;
14
- createdAt: string;
15
- updatedAt: string;
16
14
  description: string | null;
17
- prompt: string | null;
18
- tenantId: string;
15
+ createdAt: string;
16
+ agentId: string;
19
17
  projectId: string;
18
+ tenantId: string;
19
+ updatedAt: string;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -40,7 +40,7 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
40
40
  stopWhen: {
41
41
  stepCountIs?: number | undefined;
42
42
  } | null;
43
- agentId: string;
43
+ prompt: string | null;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  outputContract: {
46
46
  [x: string]: unknown;
@@ -57,12 +57,12 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
57
57
  }) => Promise<{
58
58
  id: string;
59
59
  name: string;
60
- createdAt: string;
61
- updatedAt: string;
62
60
  description: string | null;
63
- prompt: string | null;
64
- tenantId: string;
61
+ createdAt: string;
62
+ agentId: string;
65
63
  projectId: string;
64
+ tenantId: string;
65
+ updatedAt: string;
66
66
  models: {
67
67
  base?: {
68
68
  model?: string | undefined;
@@ -86,7 +86,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
86
86
  stopWhen: {
87
87
  stepCountIs?: number | undefined;
88
88
  } | null;
89
- agentId: string;
89
+ prompt: string | null;
90
90
  conversationHistoryConfig: ConversationHistoryConfig | null;
91
91
  outputContract: {
92
92
  [x: string]: unknown;
@@ -156,12 +156,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
156
156
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
157
157
  id: string;
158
158
  name: string;
159
- createdAt: string;
160
- updatedAt: string;
161
159
  description: string | null;
162
- prompt: string | null;
163
- tenantId: string;
160
+ createdAt: string;
161
+ agentId: string;
164
162
  projectId: string;
163
+ tenantId: string;
164
+ updatedAt: string;
165
165
  models: {
166
166
  base?: {
167
167
  model?: string | undefined;
@@ -185,7 +185,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
185
185
  stopWhen: {
186
186
  stepCountIs?: number | undefined;
187
187
  } | null;
188
- agentId: string;
188
+ prompt: string | null;
189
189
  conversationHistoryConfig: ConversationHistoryConfig | null;
190
190
  outputContract: {
191
191
  [x: string]: unknown;
@@ -22,18 +22,18 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
22
22
  }) => Promise<{
23
23
  id: string;
24
24
  name: string;
25
- createdAt: string;
26
- updatedAt: string;
27
25
  description: string | null;
28
- headers: Record<string, string> | null;
29
- tenantId: string;
26
+ createdAt: string;
30
27
  projectId: string;
28
+ tenantId: string;
29
+ updatedAt: string;
31
30
  config: {
32
31
  type: "mcp";
33
32
  mcp: ToolMcpConfig;
34
33
  };
35
34
  credentialReferenceId: string | null;
36
35
  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
- createdAt: string;
84
- updatedAt: string;
85
83
  description: string | null;
86
- headers: Record<string, string> | null;
87
- tenantId: string;
84
+ createdAt: string;
88
85
  projectId: string;
86
+ tenantId: string;
87
+ updatedAt: string;
89
88
  config: {
90
89
  type: "mcp";
91
90
  mcp: ToolMcpConfig;
92
91
  };
93
92
  credentialReferenceId: string | null;
94
93
  credentialScope: string;
94
+ headers: Record<string, string> | null;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
97
97
  lastError: string | null;
@@ -137,13 +137,13 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
137
137
  }) => Promise<{
138
138
  id: string;
139
139
  createdAt: string;
140
- updatedAt: string;
141
- headers: Record<string, string> | null;
142
- tenantId: string;
143
- projectId: string;
144
- toolId: string;
145
140
  agentId: string;
141
+ projectId: string;
142
+ tenantId: string;
146
143
  subAgentId: string;
144
+ toolId: string;
145
+ updatedAt: string;
146
+ headers: Record<string, string> | null;
147
147
  selectedTools: string[] | null;
148
148
  toolPolicies: Record<string, {
149
149
  needsApproval?: boolean;
@@ -156,13 +156,13 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
156
156
  }) => Promise<{
157
157
  id: string;
158
158
  createdAt: string;
159
- updatedAt: string;
160
- headers: Record<string, string> | null;
161
- tenantId: string;
162
- projectId: string;
163
- toolId: string;
164
159
  agentId: string;
160
+ projectId: string;
161
+ tenantId: string;
165
162
  subAgentId: string;
163
+ toolId: string;
164
+ updatedAt: string;
165
+ headers: Record<string, string> | null;
166
166
  selectedTools: string[] | null;
167
167
  toolPolicies: Record<string, {
168
168
  needsApproval?: boolean;
@@ -184,13 +184,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
184
184
  }) => Promise<{
185
185
  id: string;
186
186
  createdAt: string;
187
- updatedAt: string;
188
- headers: Record<string, string> | null;
189
- tenantId: string;
190
- projectId: string;
191
- toolId: string;
192
187
  agentId: string;
188
+ projectId: string;
189
+ tenantId: string;
193
190
  subAgentId: string;
191
+ toolId: string;
192
+ updatedAt: string;
193
+ headers: Record<string, string> | null;
194
194
  selectedTools: string[] | null;
195
195
  toolPolicies: Record<string, {
196
196
  needsApproval?: boolean;
@@ -204,18 +204,18 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
204
204
  }) => Promise<{
205
205
  id: string;
206
206
  name: string;
207
- createdAt: string;
208
- updatedAt: string;
209
207
  description: string | null;
210
- headers: Record<string, string> | null;
211
- tenantId: string;
208
+ createdAt: string;
212
209
  projectId: string;
210
+ tenantId: string;
211
+ updatedAt: string;
213
212
  config: {
214
213
  type: "mcp";
215
214
  mcp: ToolMcpConfig;
216
215
  };
217
216
  credentialReferenceId: string | null;
218
217
  credentialScope: string;
218
+ headers: Record<string, string> | null;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
221
221
  lastError: string | null;
@@ -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;
@@ -132,10 +132,10 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
132
132
  userId: string;
133
133
  }) => Promise<{
134
134
  createdAt: string;
135
- userId: string;
136
- tenantId: string;
137
- projectId: string;
138
135
  agentId: string;
136
+ projectId: string;
137
+ tenantId: string;
138
+ userId: string;
139
139
  triggerId: string;
140
140
  }>;
141
141
  declare const deleteTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
@@ -11,29 +11,29 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
11
11
  id: string;
12
12
  name: string | null;
13
13
  createdAt: string;
14
+ agentId: string;
15
+ projectId: string;
16
+ tenantId: string;
14
17
  updatedAt: string;
15
18
  expiresAt: string | null;
16
- tenantId: string;
17
- projectId: string;
18
- agentId: string;
19
+ lastUsedAt: string | null;
19
20
  publicId: string;
20
21
  keyHash: string;
21
22
  keyPrefix: string;
22
- lastUsedAt: 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
+ agentId: string;
29
+ projectId: string;
30
+ tenantId: string;
28
31
  updatedAt: string;
29
32
  expiresAt: string | null;
30
- tenantId: string;
31
- projectId: string;
32
- agentId: string;
33
+ lastUsedAt: string | null;
33
34
  publicId: string;
34
35
  keyHash: string;
35
36
  keyPrefix: string;
36
- lastUsedAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
@@ -42,15 +42,15 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
42
42
  id: string;
43
43
  name: string | null;
44
44
  createdAt: string;
45
+ agentId: string;
46
+ projectId: string;
47
+ tenantId: string;
45
48
  updatedAt: string;
46
49
  expiresAt: string | null;
47
- tenantId: string;
48
- projectId: string;
49
- agentId: string;
50
+ lastUsedAt: string | null;
50
51
  publicId: string;
51
52
  keyHash: string;
52
53
  keyPrefix: string;
53
- lastUsedAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -69,15 +69,15 @@ declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInse
69
69
  id: string;
70
70
  name: string | null;
71
71
  createdAt: string;
72
+ agentId: string;
73
+ projectId: string;
74
+ tenantId: string;
72
75
  updatedAt: string;
73
76
  expiresAt: string | null;
74
- tenantId: string;
75
- projectId: string;
76
- agentId: string;
77
+ lastUsedAt: string | null;
77
78
  publicId: string;
78
79
  keyHash: string;
79
80
  keyPrefix: string;
80
- lastUsedAt: string | null;
81
81
  }>;
82
82
  declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
83
83
  scopes: ProjectScopeConfig;
@@ -5,16 +5,15 @@ 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;
11
+ description: string | null;
10
12
  createdAt: string;
13
+ projectId: string | null;
14
+ tenantId: string | null;
11
15
  updatedAt: string;
12
- type: AppType;
13
- description: string | null;
14
16
  enabled: boolean;
15
- prompt: string | null;
16
- tenantId: string | null;
17
- projectId: string | null;
18
17
  config: {
19
18
  type: "web_client";
20
19
  webClient: {
@@ -22,7 +21,7 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
22
21
  publicKeys: {
23
22
  kid: string;
24
23
  publicKey: string;
25
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
24
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
26
25
  addedAt: string;
27
26
  }[];
28
27
  allowAnonymous: boolean;
@@ -45,9 +44,10 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
45
44
  }[] | undefined;
46
45
  };
47
46
  };
48
- lastUsedAt: string | null;
49
- defaultProjectId: string | null;
47
+ prompt: string | null;
50
48
  defaultAgentId: string | null;
49
+ defaultProjectId: string | null;
50
+ lastUsedAt: string | null;
51
51
  } | undefined>;
52
52
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
53
53
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -74,16 +74,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
74
74
  };
75
75
  }>;
76
76
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
77
+ type: AppType;
77
78
  id: string;
78
79
  name: string;
80
+ description: string | null;
79
81
  createdAt: string;
82
+ projectId: string | null;
83
+ tenantId: string | null;
80
84
  updatedAt: string;
81
- type: AppType;
82
- description: string | null;
83
85
  enabled: boolean;
84
- prompt: string | null;
85
- tenantId: string | null;
86
- projectId: string | null;
87
86
  config: {
88
87
  type: "web_client";
89
88
  webClient: {
@@ -91,7 +90,7 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
91
90
  publicKeys: {
92
91
  kid: string;
93
92
  publicKey: string;
94
- algorithm: "EdDSA" | "ES256" | "ES512" | "RS256" | "RS384" | "RS512" | "ES384";
93
+ algorithm: "RS256" | "RS384" | "RS512" | "ES256" | "ES384" | "ES512" | "EdDSA";
95
94
  addedAt: string;
96
95
  }[];
97
96
  allowAnonymous: boolean;
@@ -114,9 +113,10 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
114
113
  }[] | undefined;
115
114
  };
116
115
  };
117
- lastUsedAt: string | null;
118
- defaultProjectId: string | null;
116
+ prompt: string | null;
119
117
  defaultAgentId: string | null;
118
+ defaultProjectId: string | null;
119
+ lastUsedAt: string | null;
120
120
  }>;
121
121
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
122
122
  scopes: TenantScopeConfig;
@@ -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;
@@ -17,20 +17,20 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
19
  id: string;
20
- createdAt: string;
21
- updatedAt: string;
22
20
  ref: {
23
21
  type: "commit" | "tag" | "branch";
24
22
  name: string;
25
23
  hash: string;
26
24
  } | null;
27
- userId: string | null;
28
- metadata: ConversationMetadata | null;
29
25
  properties: Record<string, unknown> | null;
30
26
  title: string | null;
31
- tenantId: string;
32
- projectId: string;
27
+ createdAt: string;
33
28
  agentId: string | null;
29
+ projectId: string;
30
+ tenantId: string;
31
+ metadata: ConversationMetadata | null;
32
+ updatedAt: string;
33
+ userId: string | null;
34
34
  activeSubAgentId: string;
35
35
  lastContextResolution: string | null;
36
36
  userProperties: Record<string, unknown> | null;
@@ -92,20 +92,20 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
92
92
  conversationId: string;
93
93
  }) => Promise<{
94
94
  id: string;
95
- createdAt: string;
96
- updatedAt: string;
97
95
  ref: {
98
96
  type: "commit" | "tag" | "branch";
99
97
  name: string;
100
98
  hash: string;
101
99
  } | null;
102
- userId: string | null;
103
- metadata: ConversationMetadata | null;
104
100
  properties: Record<string, unknown> | null;
105
101
  title: string | null;
106
- tenantId: string;
107
- projectId: string;
102
+ createdAt: string;
108
103
  agentId: string | null;
104
+ projectId: string;
105
+ tenantId: string;
106
+ metadata: ConversationMetadata | null;
107
+ updatedAt: string;
108
+ userId: string | null;
109
109
  activeSubAgentId: string;
110
110
  lastContextResolution: string | null;
111
111
  userProperties: Record<string, unknown> | null;
@@ -147,20 +147,20 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
147
147
  properties?: Record<string, unknown> | null | undefined;
148
148
  } | {
149
149
  id: string;
150
- createdAt: string;
151
- updatedAt: string;
152
150
  ref: {
153
151
  type: "commit" | "tag" | "branch";
154
152
  name: string;
155
153
  hash: string;
156
154
  } | null;
157
- userId: string | null;
158
- metadata: ConversationMetadata | null;
159
155
  properties: Record<string, unknown> | null;
160
156
  title: string | null;
161
- tenantId: string;
162
- projectId: string;
157
+ createdAt: string;
163
158
  agentId: string | null;
159
+ projectId: string;
160
+ tenantId: string;
161
+ metadata: ConversationMetadata | null;
162
+ updatedAt: string;
163
+ userId: string | null;
164
164
  activeSubAgentId: string;
165
165
  lastContextResolution: string | null;
166
166
  userProperties: Record<string, unknown> | null;
@@ -185,20 +185,20 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
185
185
  conversationId: string;
186
186
  }) => Promise<{
187
187
  id: string;
188
- createdAt: string;
189
- updatedAt: string;
190
188
  ref: {
191
189
  type: "commit" | "tag" | "branch";
192
190
  name: string;
193
191
  hash: string;
194
192
  } | null;
195
- userId: string | null;
196
- metadata: ConversationMetadata | null;
197
193
  properties: Record<string, unknown> | null;
198
194
  title: string | null;
199
- tenantId: string;
200
- projectId: string;
195
+ createdAt: string;
201
196
  agentId: string | null;
197
+ projectId: string;
198
+ tenantId: string;
199
+ metadata: ConversationMetadata | null;
200
+ updatedAt: string;
201
+ userId: string | null;
202
202
  activeSubAgentId: string;
203
203
  lastContextResolution: string | null;
204
204
  userProperties: Record<string, unknown> | null;
@@ -7,17 +7,17 @@ import { EventInsert } from "../../types/entities.js";
7
7
  //#region src/data-access/runtime/events.d.ts
8
8
  declare const createEvent: (db: AgentsRunDatabaseClient) => (params: EventInsert) => Promise<{
9
9
  row: {
10
- id: string;
11
- createdAt: string;
12
- updatedAt: string;
13
10
  type: string;
14
- metadata: Record<string, unknown> | null;
11
+ id: string;
15
12
  properties: Record<string, unknown> | null;
16
- tenantId: string;
17
- projectId: string;
13
+ createdAt: string;
18
14
  agentId: string | null;
19
- userProperties: Record<string, unknown> | null;
15
+ projectId: string;
16
+ tenantId: string;
17
+ metadata: Record<string, unknown> | null;
18
+ updatedAt: string;
20
19
  conversationId: string | null;
20
+ userProperties: Record<string, unknown> | null;
21
21
  messageId: string | null;
22
22
  serverMetadata: {
23
23
  [k: string]: unknown;
@@ -70,12 +70,12 @@ declare const getFeedbackByIds: (db: AgentsRunDatabaseClient) => (params: {
70
70
  agentId: string | null;
71
71
  }[]>;
72
72
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
73
+ type: "positive" | "negative";
73
74
  id: string;
74
75
  createdAt: string;
75
- updatedAt: string;
76
- type: "positive" | "negative";
77
- tenantId: string;
78
76
  projectId: string;
77
+ tenantId: string;
78
+ updatedAt: string;
79
79
  conversationId: string;
80
80
  messageId: string | null;
81
81
  details: string | null;
@@ -100,12 +100,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
100
100
  scopes: ProjectScopeConfig;
101
101
  feedbackId: string;
102
102
  }) => Promise<{
103
+ type: "positive" | "negative";
103
104
  id: string;
104
105
  createdAt: string;
105
- updatedAt: string;
106
- type: "positive" | "negative";
107
- tenantId: string;
108
106
  projectId: string;
107
+ tenantId: string;
108
+ updatedAt: string;
109
109
  conversationId: string;
110
110
  messageId: string | null;
111
111
  details: string | null;