@inkeep/agents-core 0.0.0-dev-20260116203411 → 0.0.0-dev-20260116220526

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