@inkeep/agents-core 0.0.0-dev-20260413140955 → 0.0.0-dev-20260413152429

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.
@@ -10,11 +10,11 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- projectId: string;
15
+ tenantId: string;
17
16
  agentId: string;
17
+ projectId: 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;
49
48
  createdAt: string;
50
49
  updatedAt: string;
51
- projectId: string;
50
+ tenantId: string;
52
51
  agentId: string;
52
+ projectId: 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;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
- projectId: string;
63
+ tenantId: string;
65
64
  agentId: string;
65
+ projectId: 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;
131
130
  createdAt: string;
132
131
  updatedAt: string;
133
- projectId: string;
132
+ tenantId: string;
134
133
  agentId: string;
134
+ projectId: 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;
150
149
  createdAt: string;
151
150
  updatedAt: string;
152
- projectId: string;
151
+ tenantId: string;
153
152
  agentId: string;
153
+ projectId: 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;
164
163
  createdAt: string;
165
164
  updatedAt: string;
166
- projectId: string;
165
+ tenantId: string;
167
166
  agentId: string;
167
+ projectId: 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;
209
208
  createdAt: string;
210
209
  updatedAt: string;
211
- projectId: string;
210
+ headers: Record<string, string> | null;
211
+ tenantId: string;
212
212
  agentId: string;
213
+ projectId: string;
213
214
  subAgentId: string;
214
215
  toolId: string;
215
- headers: Record<string, string> | null;
216
- selectedTools: 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;
253
252
  createdAt: string;
254
253
  updatedAt: string;
255
- projectId: string;
254
+ headers: Record<string, string> | null;
255
+ tenantId: string;
256
256
  agentId: string;
257
+ projectId: string;
257
258
  subAgentId: string;
258
259
  toolId: string;
259
- headers: Record<string, string> | null;
260
- selectedTools: 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;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- projectId: string;
15
+ headers: Record<string, string> | null;
16
+ tenantId: string;
17
17
  agentId: string;
18
+ projectId: string;
18
19
  subAgentId: 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;
49
48
  createdAt: string;
50
49
  updatedAt: string;
51
- projectId: string;
50
+ headers: Record<string, string> | null;
51
+ tenantId: string;
52
52
  agentId: string;
53
+ projectId: string;
53
54
  subAgentId: 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;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
- projectId: string;
63
+ headers: Record<string, string> | null;
64
+ tenantId: string;
65
65
  agentId: string;
66
+ projectId: string;
66
67
  subAgentId: 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;
227
226
  createdAt: string;
228
227
  updatedAt: string;
229
- projectId: string;
228
+ headers: Record<string, string> | null;
229
+ tenantId: string;
230
230
  agentId: string;
231
+ projectId: string;
231
232
  subAgentId: 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;
244
243
  createdAt: string;
245
244
  updatedAt: string;
246
- projectId: string;
245
+ headers: Record<string, string> | null;
246
+ tenantId: string;
247
247
  agentId: string;
248
+ projectId: string;
248
249
  subAgentId: 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;
265
264
  createdAt: string;
266
265
  updatedAt: string;
267
- projectId: string;
266
+ headers: Record<string, string> | null;
267
+ tenantId: string;
268
268
  agentId: string;
269
+ projectId: string;
269
270
  subAgentId: string;
270
- headers: Record<string, string> | null;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -10,10 +10,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
- createdAt: string;
15
13
  name: string;
14
+ createdAt: string;
15
+ updatedAt: string;
16
16
  description: string | null;
17
+ prompt: string | null;
18
+ tenantId: string;
19
+ agentId: string;
20
+ projectId: string;
17
21
  models: {
18
22
  base?: {
19
23
  model?: string | undefined;
@@ -37,20 +41,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
37
41
  stopWhen: {
38
42
  stepCountIs?: number | undefined;
39
43
  } | null;
40
- updatedAt: string;
41
- projectId: string;
42
- agentId: string;
43
- prompt: string | null;
44
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
- tenantId: string;
51
- createdAt: string;
52
50
  name: string;
51
+ createdAt: string;
52
+ updatedAt: string;
53
53
  description: string | null;
54
+ prompt: string | null;
55
+ tenantId: string;
56
+ agentId: string;
57
+ projectId: string;
54
58
  models: {
55
59
  base?: {
56
60
  model?: string | undefined;
@@ -74,10 +78,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
74
78
  stopWhen: {
75
79
  stepCountIs?: number | undefined;
76
80
  } | null;
77
- updatedAt: string;
78
- projectId: string;
79
- agentId: string;
80
- prompt: string | null;
81
81
  conversationHistoryConfig: ConversationHistoryConfig | null;
82
82
  }[]>;
83
83
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -128,10 +128,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
130
  id: string;
131
- tenantId: string;
132
- createdAt: string;
133
131
  name: string;
132
+ createdAt: string;
133
+ updatedAt: string;
134
134
  description: string | null;
135
+ prompt: string | null;
136
+ tenantId: string;
137
+ agentId: string;
138
+ projectId: string;
135
139
  models: {
136
140
  base?: {
137
141
  model?: string | undefined;
@@ -155,10 +159,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
155
159
  stopWhen: {
156
160
  stepCountIs?: number | undefined;
157
161
  } | null;
158
- updatedAt: string;
159
- projectId: string;
160
- agentId: string;
161
- prompt: string | null;
162
162
  conversationHistoryConfig: ConversationHistoryConfig | null;
163
163
  }>;
164
164
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -21,13 +21,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
21
21
  toolId: string;
22
22
  }) => Promise<{
23
23
  id: string;
24
- tenantId: string;
25
- createdAt: string;
26
24
  name: string;
27
- description: string | null;
25
+ createdAt: string;
28
26
  updatedAt: string;
29
- projectId: string;
27
+ description: string | null;
30
28
  headers: Record<string, string> | null;
29
+ tenantId: string;
30
+ projectId: string;
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
- tenantId: string;
83
- createdAt: string;
84
82
  name: string;
85
- description: string | null;
83
+ createdAt: string;
86
84
  updatedAt: string;
87
- projectId: string;
85
+ description: string | null;
88
86
  headers: Record<string, string> | null;
87
+ tenantId: string;
88
+ projectId: string;
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;
140
139
  createdAt: string;
141
140
  updatedAt: string;
142
- projectId: string;
141
+ headers: Record<string, string> | null;
142
+ tenantId: string;
143
143
  agentId: string;
144
+ projectId: 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;
@@ -155,18 +155,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
155
155
  toolId: string;
156
156
  }) => Promise<{
157
157
  id: string;
158
- tenantId: string;
159
158
  createdAt: string;
160
159
  updatedAt: string;
161
- projectId: string;
160
+ headers: Record<string, string> | null;
161
+ tenantId: string;
162
162
  agentId: string;
163
+ projectId: 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)
@@ -183,18 +183,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
185
  id: string;
186
- tenantId: string;
187
186
  createdAt: string;
188
187
  updatedAt: string;
189
- projectId: string;
188
+ headers: Record<string, string> | null;
189
+ tenantId: string;
190
190
  agentId: string;
191
+ projectId: 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)
@@ -203,13 +203,13 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
205
  id: string;
206
- tenantId: string;
207
- createdAt: string;
208
206
  name: string;
209
- description: string | null;
207
+ createdAt: string;
210
208
  updatedAt: string;
211
- projectId: string;
209
+ description: string | null;
212
210
  headers: Record<string, string> | null;
211
+ tenantId: string;
212
+ projectId: string;
213
213
  config: {
214
214
  type: "mcp";
215
215
  mcp: ToolMcpConfig;
@@ -131,11 +131,11 @@ declare const createTriggerUser: (db: AgentsManageDatabaseClient) => (params: {
131
131
  triggerId: string;
132
132
  userId: string;
133
133
  }) => Promise<{
134
- tenantId: string;
135
134
  createdAt: string;
136
- projectId: string;
137
- agentId: string;
138
135
  userId: string;
136
+ tenantId: string;
137
+ agentId: string;
138
+ projectId: 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
- tenantId: string;
13
- createdAt: string;
14
12
  name: string | null;
13
+ createdAt: string;
15
14
  updatedAt: string;
16
- projectId: string;
17
- agentId: string;
18
15
  expiresAt: string | null;
16
+ tenantId: string;
17
+ agentId: string;
18
+ projectId: string;
19
19
  lastUsedAt: string | null;
20
20
  publicId: string;
21
21
  keyHash: 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
- tenantId: string;
27
- createdAt: string;
28
26
  name: string | null;
27
+ createdAt: string;
29
28
  updatedAt: string;
30
- projectId: string;
31
- agentId: string;
32
29
  expiresAt: string | null;
30
+ tenantId: string;
31
+ agentId: string;
32
+ projectId: string;
33
33
  lastUsedAt: string | null;
34
34
  publicId: string;
35
35
  keyHash: string;
@@ -40,13 +40,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
42
  id: string;
43
- tenantId: string;
44
- createdAt: string;
45
43
  name: string | null;
44
+ createdAt: string;
46
45
  updatedAt: string;
47
- projectId: string;
48
- agentId: string;
49
46
  expiresAt: string | null;
47
+ tenantId: string;
48
+ agentId: string;
49
+ projectId: string;
50
50
  lastUsedAt: string | null;
51
51
  publicId: string;
52
52
  keyHash: 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
- tenantId: string;
71
- createdAt: string;
72
70
  name: string | null;
71
+ createdAt: string;
73
72
  updatedAt: string;
74
- projectId: string;
75
- agentId: string;
76
73
  expiresAt: string | null;
74
+ tenantId: string;
75
+ agentId: string;
76
+ projectId: string;
77
77
  lastUsedAt: string | null;
78
78
  publicId: string;
79
79
  keyHash: 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;
9
10
  id: string;
10
- tenantId: string | null;
11
- createdAt: string;
12
11
  name: string;
13
- description: string | null;
12
+ createdAt: string;
14
13
  updatedAt: string;
15
- projectId: string | null;
16
- enabled: boolean;
14
+ description: string | null;
17
15
  prompt: string | null;
16
+ tenantId: string | null;
17
+ projectId: string | null;
18
18
  config: {
19
19
  type: "web_client";
20
20
  webClient: {
@@ -62,15 +62,15 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
+ enabled: boolean;
65
66
  id: string;
66
- tenantId: string | null;
67
- createdAt: string;
68
67
  name: string;
69
- description: string | null;
68
+ createdAt: string;
70
69
  updatedAt: string;
71
- projectId: string | null;
72
- enabled: boolean;
70
+ description: string | null;
73
71
  prompt: string | null;
72
+ tenantId: string | null;
73
+ projectId: string | null;
74
74
  config: {
75
75
  type: "web_client";
76
76
  webClient: {
@@ -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
- tenantId: string;
20
19
  createdAt: string;
21
- metadata: ConversationMetadata | null;
22
- title: string | null;
23
20
  updatedAt: string;
24
- projectId: string;
25
- agentId: string | null;
26
21
  ref: {
27
22
  type: "commit" | "tag" | "branch";
28
23
  name: string;
29
24
  hash: string;
30
25
  } | null;
31
26
  userId: string | null;
27
+ metadata: ConversationMetadata | null;
28
+ tenantId: string;
29
+ title: string | null;
30
+ agentId: string | null;
31
+ projectId: string;
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
- tenantId: string;
89
88
  createdAt: string;
90
- metadata: ConversationMetadata | null;
91
- title: string | null;
92
89
  updatedAt: string;
93
- projectId: string;
94
- agentId: string | null;
95
90
  ref: {
96
91
  type: "commit" | "tag" | "branch";
97
92
  name: string;
98
93
  hash: string;
99
94
  } | null;
100
95
  userId: string | null;
96
+ metadata: ConversationMetadata | null;
97
+ tenantId: string;
98
+ title: string | null;
99
+ agentId: string | null;
100
+ projectId: string;
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
- tenantId: string;
125
124
  createdAt: string;
126
- metadata: ConversationMetadata | null;
127
- title: string | null;
128
125
  updatedAt: string;
129
- projectId: string;
130
- agentId: string | null;
131
126
  ref: {
132
127
  type: "commit" | "tag" | "branch";
133
128
  name: string;
134
129
  hash: string;
135
130
  } | null;
136
131
  userId: string | null;
132
+ metadata: ConversationMetadata | null;
133
+ tenantId: string;
134
+ title: string | null;
135
+ agentId: string | null;
136
+ projectId: string;
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
- tenantId: string;
157
156
  createdAt: string;
158
- metadata: ConversationMetadata | null;
159
- title: string | null;
160
157
  updatedAt: string;
161
- projectId: string;
162
- agentId: string | null;
163
158
  ref: {
164
159
  type: "commit" | "tag" | "branch";
165
160
  name: string;
166
161
  hash: string;
167
162
  } | null;
168
163
  userId: string | null;
164
+ metadata: ConversationMetadata | null;
165
+ tenantId: string;
166
+ title: string | null;
167
+ agentId: string | null;
168
+ projectId: string;
169
169
  activeSubAgentId: string;
170
170
  lastContextResolution: string | null;
171
171
  } | undefined>;
@@ -60,9 +60,9 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
61
  type: "positive" | "negative";
62
62
  id: string;
63
- tenantId: string;
64
63
  createdAt: string;
65
64
  updatedAt: string;
65
+ tenantId: string;
66
66
  projectId: string;
67
67
  conversationId: string;
68
68
  messageId: string | null;
@@ -89,9 +89,9 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
89
89
  }) => Promise<{
90
90
  type: "positive" | "negative";
91
91
  id: string;
92
- tenantId: string;
93
92
  createdAt: string;
94
93
  updatedAt: string;
94
+ tenantId: string;
95
95
  projectId: string;
96
96
  conversationId: string;
97
97
  messageId: string | null;