@inkeep/agents-core 0.0.0-dev-20260310215636 → 0.0.0-dev-20260310233527

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.
@@ -9,15 +9,15 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ id: string;
12
13
  tenantId: string;
13
14
  projectId: string;
14
15
  agentId: string;
15
- subAgentId: string;
16
- id: string;
17
16
  createdAt: string;
18
17
  updatedAt: string;
19
18
  headers: Record<string, string> | null;
20
19
  externalAgentId: string;
20
+ subAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
23
23
  scopes: SubAgentScopeConfig;
@@ -44,28 +44,28 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ id: string;
47
48
  tenantId: string;
48
49
  projectId: string;
49
50
  agentId: string;
50
- subAgentId: string;
51
- id: string;
52
51
  createdAt: string;
53
52
  updatedAt: string;
54
53
  headers: Record<string, string> | null;
55
54
  externalAgentId: string;
55
+ subAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ id: string;
60
61
  tenantId: string;
61
62
  projectId: string;
62
63
  agentId: string;
63
- subAgentId: string;
64
- id: string;
65
64
  createdAt: string;
66
65
  updatedAt: string;
67
66
  headers: Record<string, string> | null;
68
67
  externalAgentId: string;
68
+ subAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
71
71
  scopes: AgentScopeConfig;
@@ -180,15 +180,15 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
180
180
  headers?: Record<string, string> | null;
181
181
  };
182
182
  }) => Promise<{
183
+ id: string;
183
184
  tenantId: string;
184
185
  projectId: string;
185
186
  agentId: string;
186
- subAgentId: string;
187
- id: string;
188
187
  createdAt: string;
189
188
  updatedAt: string;
190
189
  headers: Record<string, string> | null;
191
190
  externalAgentId: string;
191
+ subAgentId: string;
192
192
  }>;
193
193
  /**
194
194
  * Check if sub-agent external agent relation exists by params
@@ -197,15 +197,15 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
197
197
  scopes: SubAgentScopeConfig;
198
198
  externalAgentId: string;
199
199
  }) => Promise<{
200
+ id: string;
200
201
  tenantId: string;
201
202
  projectId: string;
202
203
  agentId: string;
203
- subAgentId: string;
204
- id: string;
205
204
  createdAt: string;
206
205
  updatedAt: string;
207
206
  headers: Record<string, string> | null;
208
207
  externalAgentId: string;
208
+ subAgentId: string;
209
209
  } | undefined>;
210
210
  /**
211
211
  * Upsert sub-agent external agent relation (create if it doesn't exist, update if it does)
@@ -218,15 +218,15 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
218
218
  headers?: Record<string, string> | null;
219
219
  };
220
220
  }) => Promise<{
221
+ id: string;
221
222
  tenantId: string;
222
223
  projectId: string;
223
224
  agentId: string;
224
- subAgentId: string;
225
- id: string;
226
225
  createdAt: string;
227
226
  updatedAt: string;
228
227
  headers: Record<string, string> | null;
229
228
  externalAgentId: string;
229
+ subAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
232
232
  scopes: SubAgentScopeConfig;
@@ -9,10 +9,10 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ id: string;
12
13
  tenantId: string;
13
14
  projectId: string;
14
15
  agentId: string;
15
- id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
18
  sourceSubAgentId: string;
@@ -44,10 +44,10 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ id: string;
47
48
  tenantId: string;
48
49
  projectId: string;
49
50
  agentId: string;
50
- id: string;
51
51
  createdAt: string;
52
52
  updatedAt: string;
53
53
  sourceSubAgentId: string;
@@ -57,10 +57,10 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ id: string;
60
61
  tenantId: string;
61
62
  projectId: string;
62
63
  agentId: string;
63
- id: string;
64
64
  createdAt: string;
65
65
  updatedAt: string;
66
66
  sourceSubAgentId: string;
@@ -126,10 +126,10 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
126
126
  }[];
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
+ id: string;
129
130
  tenantId: string;
130
131
  projectId: string;
131
132
  agentId: string;
132
- id: string;
133
133
  createdAt: string;
134
134
  updatedAt: string;
135
135
  sourceSubAgentId: string;
@@ -145,10 +145,10 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
145
145
  targetSubAgentId?: string;
146
146
  relationType: string;
147
147
  }) => Promise<{
148
+ id: string;
148
149
  tenantId: string;
149
150
  projectId: string;
150
151
  agentId: string;
151
- id: string;
152
152
  createdAt: string;
153
153
  updatedAt: string;
154
154
  sourceSubAgentId: string;
@@ -159,10 +159,10 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
159
159
  * Upsert agent relation (create if it doesn't exist, no-op if it does)
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
+ id: string;
162
163
  tenantId: string;
163
164
  projectId: string;
164
165
  agentId: string;
165
- id: string;
166
166
  createdAt: string;
167
167
  updatedAt: string;
168
168
  sourceSubAgentId: string;
@@ -204,18 +204,18 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
+ id: string;
207
208
  tenantId: string;
208
209
  projectId: string;
209
210
  agentId: string;
210
- subAgentId: string;
211
- toolId: string;
212
- id: string;
213
211
  createdAt: string;
214
212
  updatedAt: string;
213
+ toolId: string;
215
214
  headers: Record<string, string> | null;
216
215
  toolPolicies: Record<string, {
217
216
  needsApproval?: boolean;
218
217
  }> | null;
218
+ subAgentId: string;
219
219
  selectedTools: string[] | null;
220
220
  }>;
221
221
  declare const updateAgentToolRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -248,18 +248,18 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
+ id: string;
251
252
  tenantId: string;
252
253
  projectId: string;
253
254
  agentId: string;
254
- subAgentId: string;
255
- toolId: string;
256
- id: string;
257
255
  createdAt: string;
258
256
  updatedAt: string;
257
+ toolId: string;
259
258
  headers: Record<string, string> | null;
260
259
  toolPolicies: Record<string, {
261
260
  needsApproval?: boolean;
262
261
  }> | null;
262
+ subAgentId: string;
263
263
  selectedTools: string[] | null;
264
264
  } | undefined>;
265
265
  declare const getAgentToolRelationByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,14 +9,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ id: string;
12
13
  tenantId: string;
13
14
  projectId: string;
14
15
  agentId: string;
15
- subAgentId: string;
16
- id: string;
17
16
  createdAt: string;
18
17
  updatedAt: string;
19
18
  headers: Record<string, string> | null;
19
+ subAgentId: string;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -44,27 +44,27 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
44
44
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ id: string;
47
48
  tenantId: string;
48
49
  projectId: string;
49
50
  agentId: string;
50
- subAgentId: string;
51
- id: string;
52
51
  createdAt: string;
53
52
  updatedAt: string;
54
53
  headers: Record<string, string> | null;
54
+ subAgentId: string;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ id: string;
60
61
  tenantId: string;
61
62
  projectId: string;
62
63
  agentId: string;
63
- subAgentId: string;
64
- id: string;
65
64
  createdAt: string;
66
65
  updatedAt: string;
67
66
  headers: Record<string, string> | null;
67
+ subAgentId: string;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -210,14 +210,14 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
210
210
  headers?: Record<string, string> | null;
211
211
  };
212
212
  }) => Promise<{
213
+ id: string;
213
214
  tenantId: string;
214
215
  projectId: string;
215
216
  agentId: string;
216
- subAgentId: string;
217
- id: string;
218
217
  createdAt: string;
219
218
  updatedAt: string;
220
219
  headers: Record<string, string> | null;
220
+ subAgentId: string;
221
221
  targetAgentId: string;
222
222
  }>;
223
223
  /**
@@ -227,14 +227,14 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
227
227
  scopes: SubAgentScopeConfig;
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
+ id: string;
230
231
  tenantId: string;
231
232
  projectId: string;
232
233
  agentId: string;
233
- subAgentId: string;
234
- id: string;
235
234
  createdAt: string;
236
235
  updatedAt: string;
237
236
  headers: Record<string, string> | null;
237
+ subAgentId: string;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
240
240
  /**
@@ -248,14 +248,14 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
248
248
  headers?: Record<string, string> | null;
249
249
  };
250
250
  }) => Promise<{
251
+ id: string;
251
252
  tenantId: string;
252
253
  projectId: string;
253
254
  agentId: string;
254
- subAgentId: string;
255
- id: string;
256
255
  createdAt: string;
257
256
  updatedAt: string;
258
257
  headers: Record<string, string> | null;
258
+ subAgentId: string;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,14 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
+ id: string;
12
13
  name: string;
13
14
  description: string | null;
14
15
  tenantId: string;
15
16
  projectId: string;
16
17
  agentId: string;
17
- id: string;
18
- createdAt: string;
19
- updatedAt: string;
18
+ prompt: string | null;
19
+ conversationHistoryConfig: ConversationHistoryConfig | null;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -31,23 +31,23 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
31
  providerOptions?: Record<string, any> | undefined;
32
32
  } | undefined;
33
33
  } | null;
34
- prompt: string | null;
35
34
  stopWhen: {
36
35
  stepCountIs?: number | undefined;
37
36
  } | null;
38
- conversationHistoryConfig: ConversationHistoryConfig | null;
37
+ createdAt: string;
38
+ updatedAt: string;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
+ id: string;
43
44
  name: string;
44
45
  description: string | null;
45
46
  tenantId: string;
46
47
  projectId: string;
47
48
  agentId: string;
48
- id: string;
49
- createdAt: string;
50
- updatedAt: string;
49
+ prompt: string | null;
50
+ conversationHistoryConfig: ConversationHistoryConfig | null;
51
51
  models: {
52
52
  base?: {
53
53
  model?: string | undefined;
@@ -62,11 +62,11 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
62
62
  providerOptions?: Record<string, any> | undefined;
63
63
  } | undefined;
64
64
  } | null;
65
- prompt: string | null;
66
65
  stopWhen: {
67
66
  stepCountIs?: number | undefined;
68
67
  } | null;
69
- conversationHistoryConfig: ConversationHistoryConfig | null;
68
+ createdAt: string;
69
+ updatedAt: string;
70
70
  }[]>;
71
71
  declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
72
72
  scopes: AgentScopeConfig;
@@ -109,14 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
+ id: string;
112
113
  name: string;
113
114
  description: string | null;
114
115
  tenantId: string;
115
116
  projectId: string;
116
117
  agentId: string;
117
- id: string;
118
- createdAt: string;
119
- updatedAt: string;
118
+ prompt: string | null;
119
+ conversationHistoryConfig: ConversationHistoryConfig | null;
120
120
  models: {
121
121
  base?: {
122
122
  model?: string | undefined;
@@ -131,11 +131,11 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
131
131
  providerOptions?: Record<string, any> | undefined;
132
132
  } | undefined;
133
133
  } | null;
134
- prompt: string | null;
135
134
  stopWhen: {
136
135
  stepCountIs?: number | undefined;
137
136
  } | null;
138
- conversationHistoryConfig: ConversationHistoryConfig | null;
137
+ createdAt: string;
138
+ updatedAt: string;
139
139
  }>;
140
140
  declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  scopes: AgentScopeConfig;
@@ -19,11 +19,11 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
+ id: string;
22
23
  name: string;
23
24
  description: string | null;
24
25
  tenantId: string;
25
26
  projectId: string;
26
- id: string;
27
27
  createdAt: string;
28
28
  updatedAt: string;
29
29
  headers: Record<string, string> | null;
@@ -77,11 +77,11 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
+ id: string;
80
81
  name: string;
81
82
  description: string | null;
82
83
  tenantId: string;
83
84
  projectId: string;
84
- id: string;
85
85
  createdAt: string;
86
86
  updatedAt: string;
87
87
  headers: Record<string, string> | null;
@@ -134,18 +134,18 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  needsApproval?: boolean;
135
135
  }> | null;
136
136
  }) => Promise<{
137
+ id: string;
137
138
  tenantId: string;
138
139
  projectId: string;
139
140
  agentId: string;
140
- subAgentId: string;
141
- toolId: string;
142
- id: string;
143
141
  createdAt: string;
144
142
  updatedAt: string;
143
+ toolId: string;
145
144
  headers: Record<string, string> | null;
146
145
  toolPolicies: Record<string, {
147
146
  needsApproval?: boolean;
148
147
  }> | null;
148
+ subAgentId: string;
149
149
  selectedTools: string[] | null;
150
150
  }>;
151
151
  declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -153,18 +153,18 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
153
153
  subAgentId: string;
154
154
  toolId: string;
155
155
  }) => Promise<{
156
+ id: string;
156
157
  tenantId: string;
157
158
  projectId: string;
158
159
  agentId: string;
159
- subAgentId: string;
160
- toolId: string;
161
- id: string;
162
160
  createdAt: string;
163
161
  updatedAt: string;
162
+ toolId: string;
164
163
  headers: Record<string, string> | null;
165
164
  toolPolicies: Record<string, {
166
165
  needsApproval?: boolean;
167
166
  }> | null;
167
+ subAgentId: string;
168
168
  selectedTools: string[] | null;
169
169
  }>;
170
170
  /**
@@ -181,18 +181,18 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  }> | null;
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
+ id: string;
184
185
  tenantId: string;
185
186
  projectId: string;
186
187
  agentId: string;
187
- subAgentId: string;
188
- toolId: string;
189
- id: string;
190
188
  createdAt: string;
191
189
  updatedAt: string;
190
+ toolId: string;
192
191
  headers: Record<string, string> | null;
193
192
  toolPolicies: Record<string, {
194
193
  needsApproval?: boolean;
195
194
  }> | null;
195
+ subAgentId: string;
196
196
  selectedTools: string[] | null;
197
197
  }>;
198
198
  /**
@@ -201,11 +201,11 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
+ id: string;
204
205
  name: string;
205
206
  description: string | null;
206
207
  tenantId: string;
207
208
  projectId: string;
208
- id: string;
209
209
  createdAt: string;
210
210
  updatedAt: string;
211
211
  headers: Record<string, string> | null;
@@ -8,11 +8,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
+ id: string;
11
12
  name: string | null;
12
13
  tenantId: string;
13
14
  projectId: string;
14
15
  agentId: string;
15
- id: string;
16
16
  createdAt: string;
17
17
  updatedAt: string;
18
18
  publicId: string;
@@ -22,11 +22,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  expiresAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
+ id: string;
25
26
  name: string | null;
26
27
  tenantId: string;
27
28
  projectId: string;
28
29
  agentId: string;
29
- id: string;
30
30
  createdAt: string;
31
31
  updatedAt: string;
32
32
  publicId: string;
@@ -39,11 +39,11 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
+ id: string;
42
43
  name: string | null;
43
44
  tenantId: string;
44
45
  projectId: string;
45
46
  agentId: string;
46
- id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
49
  publicId: string;
@@ -66,11 +66,11 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
66
66
  };
67
67
  }>;
68
68
  declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
69
+ id: string;
69
70
  name: string | null;
70
71
  tenantId: string;
71
72
  projectId: string;
72
73
  agentId: string;
73
- id: string;
74
74
  createdAt: string;
75
75
  updatedAt: string;
76
76
  publicId: string;
@@ -5,12 +5,12 @@ 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
+ id: string;
8
9
  name: string;
9
- type: AppType;
10
10
  description: string | null;
11
11
  tenantId: string | null;
12
12
  projectId: string | null;
13
- id: string;
13
+ type: AppType;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
16
  enabled: boolean;
@@ -48,12 +48,12 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
48
48
  };
49
49
  }>;
50
50
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
51
+ id: string;
51
52
  name: string;
52
- type: AppType;
53
53
  description: string | null;
54
54
  tenantId: string | null;
55
55
  projectId: string | null;
56
- id: string;
56
+ type: AppType;
57
57
  createdAt: string;
58
58
  updatedAt: string;
59
59
  enabled: boolean;
@@ -16,17 +16,17 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
16
16
  total: number;
17
17
  }>;
18
18
  declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
19
- title: string | null;
19
+ id: string;
20
20
  tenantId: string;
21
21
  projectId: string;
22
22
  agentId: string | null;
23
- id: string;
23
+ title: string | null;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
26
  metadata: ConversationMetadata | null;
27
27
  userId: string | null;
28
28
  ref: {
29
- type: "tag" | "commit" | "branch";
29
+ type: "commit" | "tag" | "branch";
30
30
  name: string;
31
31
  hash: string;
32
32
  } | null;
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
44
44
  agentId: string | null;
45
45
  activeSubAgentId: string;
46
46
  ref: {
47
- type: "tag" | "commit" | "branch";
47
+ type: "commit" | "tag" | "branch";
48
48
  name: string;
49
49
  hash: string;
50
50
  } | null;
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
70
70
  agentId: string | null;
71
71
  activeSubAgentId: string;
72
72
  ref: {
73
- type: "tag" | "commit" | "branch";
73
+ type: "commit" | "tag" | "branch";
74
74
  name: string;
75
75
  hash: string;
76
76
  } | null;
@@ -85,17 +85,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
85
85
  scopes: ProjectScopeConfig;
86
86
  conversationId: string;
87
87
  }) => Promise<{
88
- title: string | null;
88
+ id: string;
89
89
  tenantId: string;
90
90
  projectId: string;
91
91
  agentId: string | null;
92
- id: string;
92
+ title: string | null;
93
93
  createdAt: string;
94
94
  updatedAt: string;
95
95
  metadata: ConversationMetadata | null;
96
96
  userId: string | null;
97
97
  ref: {
98
- type: "tag" | "commit" | "branch";
98
+ type: "commit" | "tag" | "branch";
99
99
  name: string;
100
100
  hash: string;
101
101
  } | null;
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
108
108
  tenantId: string;
109
109
  id: string;
110
110
  ref: {
111
- type: "tag" | "commit" | "branch";
111
+ type: "commit" | "tag" | "branch";
112
112
  name: string;
113
113
  hash: string;
114
114
  };
@@ -121,17 +121,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
121
121
  metadata?: ConversationMetadata | null | undefined;
122
122
  contextConfigId?: string | undefined;
123
123
  } | {
124
- title: string | null;
124
+ id: string;
125
125
  tenantId: string;
126
126
  projectId: string;
127
127
  agentId: string | null;
128
- id: string;
128
+ title: string | null;
129
129
  createdAt: string;
130
130
  updatedAt: string;
131
131
  metadata: ConversationMetadata | null;
132
132
  userId: string | null;
133
133
  ref: {
134
- type: "tag" | "commit" | "branch";
134
+ type: "commit" | "tag" | "branch";
135
135
  name: string;
136
136
  hash: string;
137
137
  } | null;
@@ -153,17 +153,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
153
153
  scopes: ProjectScopeConfig;
154
154
  conversationId: string;
155
155
  }) => Promise<{
156
- title: string | null;
156
+ id: string;
157
157
  tenantId: string;
158
158
  projectId: string;
159
159
  agentId: string | null;
160
- id: string;
160
+ title: string | null;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
163
  metadata: ConversationMetadata | null;
164
164
  userId: string | null;
165
165
  ref: {
166
- type: "tag" | "commit" | "branch";
166
+ type: "commit" | "tag" | "branch";
167
167
  name: string;
168
168
  hash: string;
169
169
  } | null;