@inkeep/agents-core 0.0.0-dev-20260406153918 → 0.0.0-dev-20260406161920

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 (30) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/auth.d.ts +6 -6
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/data-access/manage/agents.d.ts +47 -47
  6. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  7. package/dist/data-access/manage/contextConfigs.d.ts +16 -16
  8. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  9. package/dist/data-access/manage/functionTools.d.ts +14 -14
  10. package/dist/data-access/manage/skills.d.ts +12 -12
  11. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  12. package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
  13. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  14. package/dist/data-access/manage/subAgents.d.ts +21 -21
  15. package/dist/data-access/manage/tools.d.ts +27 -27
  16. package/dist/data-access/manage/triggers.d.ts +3 -3
  17. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  18. package/dist/data-access/runtime/apps.d.ts +12 -12
  19. package/dist/data-access/runtime/conversations.d.ts +16 -16
  20. package/dist/data-access/runtime/messages.d.ts +18 -18
  21. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  22. package/dist/data-access/runtime/tasks.d.ts +3 -3
  23. package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
  24. package/dist/db/manage/manage-schema.d.ts +451 -451
  25. package/dist/db/runtime/runtime-schema.d.ts +395 -395
  26. package/dist/utils/error.d.ts +51 -51
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas/skills.d.ts +51 -51
  29. package/dist/validation/schemas.d.ts +2391 -2391
  30. package/package.json +1 -1
@@ -12,9 +12,9 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- agentId: string;
16
- projectId: string;
17
15
  tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -47,9 +47,9 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- agentId: string;
51
- projectId: string;
52
50
  tenantId: string;
51
+ projectId: string;
52
+ agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -60,9 +60,9 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- agentId: string;
64
- projectId: string;
65
63
  tenantId: string;
64
+ projectId: string;
65
+ agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -129,9 +129,9 @@ declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
129
129
  id: string;
130
130
  createdAt: string;
131
131
  updatedAt: string;
132
- agentId: string;
133
- projectId: string;
134
132
  tenantId: string;
133
+ projectId: string;
134
+ agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -148,9 +148,9 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
148
148
  id: string;
149
149
  createdAt: string;
150
150
  updatedAt: string;
151
- agentId: string;
152
- projectId: string;
153
151
  tenantId: string;
152
+ projectId: string;
153
+ agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -162,9 +162,9 @@ declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (param
162
162
  id: string;
163
163
  createdAt: string;
164
164
  updatedAt: string;
165
- agentId: string;
166
- projectId: string;
167
165
  tenantId: string;
166
+ projectId: string;
167
+ agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -207,16 +207,16 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
207
207
  id: string;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
- agentId: string;
211
- projectId: string;
212
210
  tenantId: string;
213
- subAgentId: string;
211
+ projectId: string;
212
+ agentId: string;
214
213
  toolId: string;
214
+ subAgentId: string;
215
215
  headers: Record<string, string> | null;
216
+ selectedTools: string[] | null;
216
217
  toolPolicies: Record<string, {
217
218
  needsApproval?: boolean;
218
219
  }> | null;
219
- selectedTools: string[] | null;
220
220
  }>;
221
221
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
222
222
  scopes: AgentScopeConfig;
@@ -251,16 +251,16 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
251
251
  id: string;
252
252
  createdAt: string;
253
253
  updatedAt: string;
254
- agentId: string;
255
- projectId: string;
256
254
  tenantId: string;
257
- subAgentId: string;
255
+ projectId: string;
256
+ agentId: string;
258
257
  toolId: string;
258
+ subAgentId: string;
259
259
  headers: Record<string, string> | null;
260
+ selectedTools: string[] | null;
260
261
  toolPolicies: Record<string, {
261
262
  needsApproval?: boolean;
262
263
  }> | null;
263
- selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
266
266
  scopes: SubAgentScopeConfig;
@@ -12,9 +12,9 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- agentId: string;
16
- projectId: string;
17
15
  tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
18
18
  subAgentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  targetAgentId: string;
@@ -47,9 +47,9 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- agentId: string;
51
- projectId: string;
52
50
  tenantId: string;
51
+ projectId: string;
52
+ agentId: string;
53
53
  subAgentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  targetAgentId: string;
@@ -60,9 +60,9 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- agentId: string;
64
- projectId: string;
65
63
  tenantId: string;
64
+ projectId: string;
65
+ agentId: string;
66
66
  subAgentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  targetAgentId: string;
@@ -225,9 +225,9 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
225
225
  id: string;
226
226
  createdAt: string;
227
227
  updatedAt: string;
228
- agentId: string;
229
- projectId: string;
230
228
  tenantId: string;
229
+ projectId: string;
230
+ agentId: string;
231
231
  subAgentId: string;
232
232
  headers: Record<string, string> | null;
233
233
  targetAgentId: string;
@@ -242,9 +242,9 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
242
242
  id: string;
243
243
  createdAt: string;
244
244
  updatedAt: string;
245
- agentId: string;
246
- projectId: string;
247
245
  tenantId: string;
246
+ projectId: string;
247
+ agentId: string;
248
248
  subAgentId: string;
249
249
  headers: Record<string, string> | null;
250
250
  targetAgentId: string;
@@ -263,9 +263,9 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
263
263
  id: string;
264
264
  createdAt: string;
265
265
  updatedAt: string;
266
- agentId: string;
267
- projectId: string;
268
266
  tenantId: string;
267
+ projectId: string;
268
+ agentId: string;
269
269
  subAgentId: string;
270
270
  headers: Record<string, string> | null;
271
271
  targetAgentId: string;
@@ -9,13 +9,8 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- name: string;
13
12
  id: string;
14
- createdAt: string;
15
- updatedAt: string;
16
- agentId: string;
17
- projectId: string;
18
- tenantId: string;
13
+ name: string;
19
14
  description: string | null;
20
15
  models: {
21
16
  base?: {
@@ -37,22 +32,22 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
37
32
  allowedProviders?: string[] | undefined;
38
33
  } | undefined;
39
34
  } | null;
40
- prompt: string | null;
41
35
  stopWhen: {
42
36
  stepCountIs?: number | undefined;
43
37
  } | null;
38
+ createdAt: string;
39
+ updatedAt: string;
40
+ tenantId: string;
41
+ prompt: string | null;
42
+ projectId: string;
43
+ agentId: string;
44
44
  conversationHistoryConfig: ConversationHistoryConfig | null;
45
45
  } | undefined>;
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
- name: string;
50
49
  id: string;
51
- createdAt: string;
52
- updatedAt: string;
53
- agentId: string;
54
- projectId: string;
55
- tenantId: string;
50
+ name: string;
56
51
  description: string | null;
57
52
  models: {
58
53
  base?: {
@@ -74,10 +69,15 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
74
69
  allowedProviders?: string[] | undefined;
75
70
  } | undefined;
76
71
  } | null;
77
- prompt: string | null;
78
72
  stopWhen: {
79
73
  stepCountIs?: number | undefined;
80
74
  } | null;
75
+ createdAt: string;
76
+ updatedAt: string;
77
+ tenantId: string;
78
+ prompt: string | null;
79
+ projectId: string;
80
+ agentId: string;
81
81
  conversationHistoryConfig: ConversationHistoryConfig | null;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -127,13 +127,8 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
- name: string;
131
130
  id: string;
132
- createdAt: string;
133
- updatedAt: string;
134
- agentId: string;
135
- projectId: string;
136
- tenantId: string;
131
+ name: string;
137
132
  description: string | null;
138
133
  models: {
139
134
  base?: {
@@ -155,10 +150,15 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
155
150
  allowedProviders?: string[] | undefined;
156
151
  } | undefined;
157
152
  } | null;
158
- prompt: string | null;
159
153
  stopWhen: {
160
154
  stepCountIs?: number | undefined;
161
155
  } | null;
156
+ createdAt: string;
157
+ updatedAt: string;
158
+ tenantId: string;
159
+ prompt: string | null;
160
+ projectId: string;
161
+ agentId: string;
162
162
  conversationHistoryConfig: ConversationHistoryConfig | null;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -20,20 +20,20 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
- name: string;
24
23
  id: string;
24
+ name: string;
25
+ description: string | null;
25
26
  createdAt: string;
26
27
  updatedAt: string;
27
- projectId: string;
28
28
  tenantId: string;
29
- description: string | null;
30
- headers: Record<string, string> | null;
29
+ projectId: string;
30
+ credentialReferenceId: string | null;
31
31
  config: {
32
32
  type: "mcp";
33
33
  mcp: ToolMcpConfig;
34
34
  };
35
- 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;
@@ -78,20 +78,20 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
- name: string;
82
81
  id: string;
82
+ name: string;
83
+ description: string | null;
83
84
  createdAt: string;
84
85
  updatedAt: string;
85
- projectId: string;
86
86
  tenantId: string;
87
- description: string | null;
88
- headers: Record<string, string> | null;
87
+ projectId: string;
88
+ credentialReferenceId: string | null;
89
89
  config: {
90
90
  type: "mcp";
91
91
  mcp: ToolMcpConfig;
92
92
  };
93
- 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;
@@ -138,16 +138,16 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
- agentId: string;
142
- projectId: string;
143
141
  tenantId: string;
144
- subAgentId: string;
142
+ projectId: string;
143
+ agentId: string;
145
144
  toolId: string;
145
+ subAgentId: string;
146
146
  headers: Record<string, string> | null;
147
+ selectedTools: string[] | null;
147
148
  toolPolicies: Record<string, {
148
149
  needsApproval?: boolean;
149
150
  }> | 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
- agentId: string;
161
- projectId: string;
162
160
  tenantId: string;
163
- subAgentId: string;
161
+ projectId: string;
162
+ agentId: string;
164
163
  toolId: string;
164
+ subAgentId: string;
165
165
  headers: Record<string, string> | null;
166
+ selectedTools: string[] | null;
166
167
  toolPolicies: Record<string, {
167
168
  needsApproval?: boolean;
168
169
  }> | 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
- agentId: string;
189
- projectId: string;
190
188
  tenantId: string;
191
- subAgentId: string;
189
+ projectId: string;
190
+ agentId: string;
192
191
  toolId: string;
192
+ subAgentId: string;
193
193
  headers: Record<string, string> | null;
194
+ selectedTools: string[] | null;
194
195
  toolPolicies: Record<string, {
195
196
  needsApproval?: boolean;
196
197
  }> | null;
197
- selectedTools: string[] | null;
198
198
  }>;
199
199
  /**
200
200
  * Upsert a tool (create if it doesn't exist, update if it does)
@@ -202,20 +202,20 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
- name: string;
206
205
  id: string;
206
+ name: string;
207
+ description: string | null;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
- projectId: string;
210
210
  tenantId: string;
211
- description: string | null;
212
- headers: Record<string, string> | null;
211
+ projectId: string;
212
+ credentialReferenceId: string | null;
213
213
  config: {
214
214
  type: "mcp";
215
215
  mcp: ToolMcpConfig;
216
216
  };
217
- 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;
@@ -37,10 +37,10 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
- encoding: "base64" | "hex";
40
+ algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
+ encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "header" | "query" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- name: string | null;
12
11
  id: string;
12
+ name: string | null;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- agentId: string;
16
- projectId: string;
17
15
  tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
18
+ lastUsedAt: string | null;
19
+ expiresAt: string | null;
18
20
  publicId: string;
19
21
  keyHash: string;
20
22
  keyPrefix: string;
21
- lastUsedAt: string | null;
22
- expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- name: string | null;
26
25
  id: string;
26
+ name: string | null;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
- agentId: string;
30
- projectId: string;
31
29
  tenantId: string;
30
+ projectId: string;
31
+ agentId: string;
32
+ lastUsedAt: string | null;
33
+ expiresAt: string | null;
32
34
  publicId: string;
33
35
  keyHash: string;
34
36
  keyPrefix: string;
35
- lastUsedAt: string | null;
36
- expiresAt: string | null;
37
37
  } | undefined>;
38
38
  declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- name: string | null;
43
42
  id: string;
43
+ name: string | null;
44
44
  createdAt: string;
45
45
  updatedAt: string;
46
- agentId: string;
47
- projectId: string;
48
46
  tenantId: string;
47
+ projectId: string;
48
+ agentId: string;
49
+ lastUsedAt: string | null;
50
+ expiresAt: string | null;
49
51
  publicId: string;
50
52
  keyHash: string;
51
53
  keyPrefix: string;
52
- lastUsedAt: string | null;
53
- expiresAt: string | null;
54
54
  }[]>;
55
55
  declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
56
56
  scopes: ProjectScopeConfig;
@@ -66,18 +66,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
- name: string | null;
70
69
  id: string;
70
+ name: string | null;
71
71
  createdAt: string;
72
72
  updatedAt: string;
73
- agentId: string;
74
- projectId: string;
75
73
  tenantId: string;
74
+ projectId: string;
75
+ agentId: string;
76
+ lastUsedAt: string | null;
77
+ expiresAt: string | null;
76
78
  publicId: string;
77
79
  keyHash: string;
78
80
  keyPrefix: string;
79
- 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
- name: string;
8
+ type: AppType;
9
9
  id: string;
10
+ name: string;
11
+ description: string | null;
10
12
  createdAt: string;
11
13
  updatedAt: string;
12
- projectId: string | null;
13
14
  tenantId: string | null;
14
- description: string | null;
15
- type: AppType;
16
15
  enabled: boolean;
17
16
  prompt: string | null;
17
+ projectId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -32,9 +32,9 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
32
32
  type: "api";
33
33
  api: Record<string, never>;
34
34
  };
35
- lastUsedAt: string | null;
36
- defaultProjectId: string | null;
37
35
  defaultAgentId: string | null;
36
+ defaultProjectId: string | null;
37
+ lastUsedAt: string | null;
38
38
  } | undefined>;
39
39
  declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
40
40
  declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
@@ -61,16 +61,16 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- name: string;
64
+ type: AppType;
65
65
  id: string;
66
+ name: string;
67
+ description: string | null;
66
68
  createdAt: string;
67
69
  updatedAt: string;
68
- projectId: string | null;
69
70
  tenantId: string | null;
70
- description: string | null;
71
- type: AppType;
72
71
  enabled: boolean;
73
72
  prompt: string | null;
73
+ projectId: string | null;
74
74
  config: {
75
75
  type: "web_client";
76
76
  webClient: {
@@ -88,9 +88,9 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
88
88
  type: "api";
89
89
  api: Record<string, never>;
90
90
  };
91
- lastUsedAt: string | null;
92
- defaultProjectId: string | null;
93
91
  defaultAgentId: string | null;
92
+ defaultProjectId: string | null;
93
+ lastUsedAt: string | null;
94
94
  }>;
95
95
  declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
96
96
  scopes: TenantScopeConfig;
@@ -21,14 +21,14 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
21
21
  name: string;
22
22
  hash: string;
23
23
  } | null;
24
+ title: string | null;
24
25
  createdAt: string;
25
26
  updatedAt: string;
26
- agentId: string | null;
27
- projectId: string;
28
27
  tenantId: string;
29
- title: string | null;
30
- metadata: ConversationMetadata | null;
28
+ projectId: string;
29
+ agentId: string | null;
31
30
  userId: string | null;
31
+ metadata: ConversationMetadata | null;
32
32
  activeSubAgentId: string;
33
33
  lastContextResolution: string | null;
34
34
  }>;
@@ -90,14 +90,14 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
90
90
  name: string;
91
91
  hash: string;
92
92
  } | null;
93
+ title: string | null;
93
94
  createdAt: string;
94
95
  updatedAt: string;
95
- agentId: string | null;
96
- projectId: string;
97
96
  tenantId: string;
98
- title: string | null;
99
- metadata: ConversationMetadata | null;
97
+ projectId: string;
98
+ agentId: string | null;
100
99
  userId: string | null;
100
+ metadata: ConversationMetadata | null;
101
101
  activeSubAgentId: string;
102
102
  lastContextResolution: string | null;
103
103
  } | undefined>;
@@ -126,14 +126,14 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
126
126
  name: string;
127
127
  hash: string;
128
128
  } | null;
129
+ title: string | null;
129
130
  createdAt: string;
130
131
  updatedAt: string;
131
- agentId: string | null;
132
- projectId: string;
133
132
  tenantId: string;
134
- title: string | null;
135
- metadata: ConversationMetadata | null;
133
+ projectId: string;
134
+ agentId: string | null;
136
135
  userId: string | null;
136
+ metadata: ConversationMetadata | null;
137
137
  activeSubAgentId: string;
138
138
  lastContextResolution: string | null;
139
139
  }>;
@@ -158,14 +158,14 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
158
158
  name: string;
159
159
  hash: string;
160
160
  } | null;
161
+ title: string | null;
161
162
  createdAt: string;
162
163
  updatedAt: string;
163
- agentId: string | null;
164
- projectId: string;
165
164
  tenantId: string;
166
- title: string | null;
167
- metadata: ConversationMetadata | null;
165
+ projectId: string;
166
+ agentId: string | null;
168
167
  userId: string | null;
168
+ metadata: ConversationMetadata | null;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;