@inkeep/agents-core 0.0.0-dev-20260122190953 → 0.0.0-dev-20260122200302

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,15 +8,13 @@ import { PgTable } from "drizzle-orm/pg-core";
8
8
  declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  }) => Promise<{
11
+ tenantId: string;
12
+ projectId: string;
11
13
  id: string;
12
- name: string;
13
14
  createdAt: string;
15
+ name: string;
14
16
  updatedAt: string;
15
17
  description: string | null;
16
- projectId: string;
17
- tenantId: string;
18
- defaultSubAgentId: string | null;
19
- contextConfigId: string | null;
20
18
  models: {
21
19
  base?: {
22
20
  model?: string | undefined;
@@ -31,6 +29,11 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
29
  providerOptions?: Record<string, any> | undefined;
32
30
  } | undefined;
33
31
  } | null;
32
+ stopWhen: {
33
+ transferCountIs?: number | undefined;
34
+ } | null;
35
+ defaultSubAgentId: string | null;
36
+ contextConfigId: string | null;
34
37
  prompt: string | null;
35
38
  statusUpdates: {
36
39
  enabled?: boolean | undefined;
@@ -47,22 +50,17 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
47
50
  } | undefined;
48
51
  }[] | undefined;
49
52
  } | null;
50
- stopWhen: {
51
- transferCountIs?: number | undefined;
52
- } | null;
53
53
  } | null>;
54
54
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
56
56
  }) => Promise<{
57
+ tenantId: string;
58
+ projectId: string;
57
59
  id: string;
58
- name: string;
59
60
  createdAt: string;
61
+ name: string;
60
62
  updatedAt: string;
61
63
  description: string | null;
62
- projectId: string;
63
- tenantId: string;
64
- defaultSubAgentId: string | null;
65
- contextConfigId: string | null;
66
64
  models: {
67
65
  base?: {
68
66
  model?: string | undefined;
@@ -77,6 +75,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
77
75
  providerOptions?: Record<string, any> | undefined;
78
76
  } | undefined;
79
77
  } | null;
78
+ stopWhen: {
79
+ transferCountIs?: number | undefined;
80
+ } | null;
81
+ defaultSubAgentId: string | null;
82
+ contextConfigId: string | null;
80
83
  prompt: string | null;
81
84
  statusUpdates: {
82
85
  enabled?: boolean | undefined;
@@ -93,18 +96,14 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
93
96
  } | undefined;
94
97
  }[] | undefined;
95
98
  } | null;
96
- stopWhen: {
97
- transferCountIs?: number | undefined;
98
- } | null;
99
99
  defaultSubAgent: {
100
+ tenantId: string;
101
+ projectId: string;
100
102
  id: string;
101
- name: string;
102
103
  createdAt: string;
104
+ name: string;
103
105
  updatedAt: string;
104
106
  description: string | null;
105
- agentId: string;
106
- projectId: string;
107
- tenantId: string;
108
107
  models: {
109
108
  base?: {
110
109
  model?: string | undefined;
@@ -119,25 +118,24 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
119
118
  providerOptions?: Record<string, any> | undefined;
120
119
  } | undefined;
121
120
  } | null;
122
- prompt: string | null;
123
121
  stopWhen: {
124
122
  stepCountIs?: number | undefined;
125
123
  } | null;
124
+ agentId: string;
125
+ prompt: string | null;
126
126
  conversationHistoryConfig: ConversationHistoryConfig | null;
127
127
  } | null;
128
128
  } | null>;
129
129
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
130
130
  scopes: ProjectScopeConfig;
131
131
  }) => Promise<{
132
+ tenantId: string;
133
+ projectId: string;
132
134
  id: string;
133
- name: string;
134
135
  createdAt: string;
136
+ name: string;
135
137
  updatedAt: string;
136
138
  description: string | null;
137
- projectId: string;
138
- tenantId: string;
139
- defaultSubAgentId: string | null;
140
- contextConfigId: string | null;
141
139
  models: {
142
140
  base?: {
143
141
  model?: string | undefined;
@@ -152,6 +150,11 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
150
  providerOptions?: Record<string, any> | undefined;
153
151
  } | undefined;
154
152
  } | null;
153
+ stopWhen: {
154
+ transferCountIs?: number | undefined;
155
+ } | null;
156
+ defaultSubAgentId: string | null;
157
+ contextConfigId: string | null;
155
158
  prompt: string | null;
156
159
  statusUpdates: {
157
160
  enabled?: boolean | undefined;
@@ -168,9 +171,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
168
171
  } | undefined;
169
172
  }[] | undefined;
170
173
  } | null;
171
- stopWhen: {
172
- transferCountIs?: number | undefined;
173
- } | null;
174
174
  }[]>;
175
175
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
176
176
  scopes: ProjectScopeConfig;
@@ -228,15 +228,13 @@ declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params:
228
228
  };
229
229
  }>;
230
230
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
231
+ tenantId: string;
232
+ projectId: string;
231
233
  id: string;
232
- name: string;
233
234
  createdAt: string;
235
+ name: string;
234
236
  updatedAt: string;
235
237
  description: string | null;
236
- projectId: string;
237
- tenantId: string;
238
- defaultSubAgentId: string | null;
239
- contextConfigId: string | null;
240
238
  models: {
241
239
  base?: {
242
240
  model?: string | undefined;
@@ -251,6 +249,11 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
251
249
  providerOptions?: Record<string, any> | undefined;
252
250
  } | undefined;
253
251
  } | null;
252
+ stopWhen: {
253
+ transferCountIs?: number | undefined;
254
+ } | null;
255
+ defaultSubAgentId: string | null;
256
+ contextConfigId: string | null;
254
257
  prompt: string | null;
255
258
  statusUpdates: {
256
259
  enabled?: boolean | undefined;
@@ -267,9 +270,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
267
270
  } | undefined;
268
271
  }[] | undefined;
269
272
  } | null;
270
- stopWhen: {
271
- transferCountIs?: number | undefined;
272
- } | null;
273
273
  }>;
274
274
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
275
275
  scopes: AgentScopeConfig;
@@ -7,13 +7,13 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
7
7
  scopes: ProjectScopeConfig;
8
8
  id: string;
9
9
  }) => Promise<{
10
+ tenantId: string;
11
+ projectId: string;
10
12
  id: string;
11
- name: string;
12
13
  createdAt: string;
14
+ name: string;
13
15
  updatedAt: string;
14
16
  description: string | null;
15
- projectId: string;
16
- tenantId: string;
17
17
  props: Record<string, unknown> | null;
18
18
  render: {
19
19
  component: string;
@@ -49,13 +49,13 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
49
49
  };
50
50
  }>;
51
51
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
52
+ tenantId: string;
53
+ projectId: string;
52
54
  id: string;
53
- name: string;
54
55
  createdAt: string;
56
+ name: string;
55
57
  updatedAt: string;
56
58
  description: string | null;
57
- projectId: string;
58
- tenantId: string;
59
59
  props: Record<string, unknown> | null;
60
60
  render: {
61
61
  component: string;
@@ -104,11 +104,11 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
104
104
  scopes: SubAgentScopeConfig;
105
105
  artifactComponentId: string;
106
106
  }) => Promise<{
107
+ tenantId: string;
108
+ projectId: string;
107
109
  id: string;
108
110
  createdAt: string;
109
111
  agentId: string;
110
- projectId: string;
111
- tenantId: string;
112
112
  subAgentId: string;
113
113
  artifactComponentId: string;
114
114
  }>;
@@ -147,11 +147,11 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
147
147
  scopes: SubAgentScopeConfig;
148
148
  artifactComponentId: string;
149
149
  }) => Promise<{
150
+ tenantId: string;
151
+ projectId: string;
150
152
  id: string;
151
153
  createdAt: string;
152
154
  agentId: string;
153
- projectId: string;
154
- tenantId: string;
155
155
  subAgentId: string;
156
156
  artifactComponentId: string;
157
157
  } | null>;
@@ -8,26 +8,26 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
8
8
  scopes: AgentScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
+ tenantId: string;
12
+ projectId: string;
11
13
  id: string;
12
14
  createdAt: string;
13
15
  updatedAt: string;
16
+ agentId: string;
14
17
  headersSchema: unknown;
15
18
  contextVariables: Record<string, ContextFetchDefinition> | null;
16
- agentId: string;
17
- projectId: string;
18
- tenantId: string;
19
19
  } | undefined>;
20
20
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
21
21
  scopes: AgentScopeConfig;
22
22
  }) => Promise<{
23
+ tenantId: string;
24
+ projectId: string;
23
25
  id: string;
24
26
  createdAt: string;
25
27
  updatedAt: string;
28
+ agentId: string;
26
29
  headersSchema: unknown;
27
30
  contextVariables: Record<string, ContextFetchDefinition> | null;
28
- agentId: string;
29
- projectId: string;
30
- tenantId: string;
31
31
  }[]>;
32
32
  declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
33
33
  scopes: AgentScopeConfig;
@@ -42,14 +42,14 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
42
42
  };
43
43
  }>;
44
44
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
45
+ tenantId: string;
46
+ projectId: string;
45
47
  id: string;
46
48
  createdAt: string;
47
49
  updatedAt: string;
50
+ agentId: string;
48
51
  headersSchema: unknown;
49
52
  contextVariables: Record<string, ContextFetchDefinition> | null;
50
- agentId: string;
51
- projectId: string;
52
- tenantId: string;
53
53
  }>;
54
54
  declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
55
55
  scopes: AgentScopeConfig;
@@ -82,14 +82,14 @@ declare const countContextConfigs: (db: AgentsManageDatabaseClient) => (params:
82
82
  declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params: {
83
83
  data: ContextConfigInsert;
84
84
  }) => Promise<{
85
+ tenantId: string;
86
+ projectId: string;
85
87
  id: string;
86
88
  createdAt: string;
87
89
  updatedAt: string;
90
+ agentId: string;
88
91
  headersSchema: unknown;
89
92
  contextVariables: Record<string, ContextFetchDefinition> | null;
90
- agentId: string;
91
- projectId: string;
92
- tenantId: string;
93
93
  }>;
94
94
  //#endregion
95
95
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -64,11 +64,11 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
64
64
  scopes: SubAgentScopeConfig;
65
65
  dataComponentId: string;
66
66
  }) => Promise<{
67
+ tenantId: string;
68
+ projectId: string;
67
69
  id: string;
68
70
  createdAt: string;
69
71
  agentId: string;
70
- projectId: string;
71
- tenantId: string;
72
72
  subAgentId: string;
73
73
  dataComponentId: string;
74
74
  }>;
@@ -106,11 +106,11 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
106
106
  scopes: SubAgentScopeConfig;
107
107
  dataComponentId: string;
108
108
  }) => Promise<{
109
+ tenantId: string;
110
+ projectId: string;
109
111
  id: string;
110
112
  createdAt: string;
111
113
  agentId: string;
112
- projectId: string;
113
- tenantId: string;
114
114
  subAgentId: string;
115
115
  dataComponentId: string;
116
116
  } | null>;
@@ -53,15 +53,15 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
+ tenantId: string;
57
+ projectId: string;
56
58
  id: string;
57
- name: string;
58
59
  createdAt: string;
60
+ name: string;
59
61
  updatedAt: string;
60
62
  description: string | null;
61
- agentId: string;
62
- projectId: string;
63
- tenantId: string;
64
63
  functionId: string;
64
+ agentId: string;
65
65
  }>;
66
66
  /**
67
67
  * Update a function tool (agent-scoped)
@@ -95,15 +95,15 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
+ tenantId: string;
99
+ projectId: string;
98
100
  id: string;
99
- name: string;
100
101
  createdAt: string;
102
+ name: string;
101
103
  updatedAt: string;
102
104
  description: string | null;
103
- agentId: string;
104
- projectId: string;
105
- tenantId: string;
106
105
  functionId: string;
106
+ agentId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
109
109
  scopes: {
@@ -152,14 +152,14 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
152
152
  subAgentId: string;
153
153
  functionToolId: string;
154
154
  }) => Promise<{
155
+ tenantId: string;
156
+ projectId: string;
155
157
  id: string;
156
158
  createdAt: string;
157
159
  updatedAt: string;
158
160
  agentId: string;
159
- projectId: string;
160
- tenantId: string;
161
- subAgentId: string;
162
161
  functionToolId: string;
162
+ subAgentId: string;
163
163
  }>;
164
164
  /**
165
165
  * Update an agent-function tool relation
@@ -208,14 +208,14 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
208
208
  subAgentId: string;
209
209
  functionToolId: string;
210
210
  }) => Promise<{
211
+ tenantId: string;
212
+ projectId: string;
211
213
  id: string;
212
214
  createdAt: string;
213
215
  updatedAt: string;
214
216
  agentId: string;
215
- projectId: string;
216
- tenantId: string;
217
- subAgentId: string;
218
217
  functionToolId: string;
218
+ subAgentId: string;
219
219
  }>;
220
220
  //#endregion
221
221
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -8,13 +8,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
8
8
  scopes: SubAgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ tenantId: string;
12
+ projectId: string;
11
13
  id: string;
12
14
  createdAt: string;
13
15
  updatedAt: string;
14
16
  headers: Record<string, string> | null;
15
17
  agentId: string;
16
- projectId: string;
17
- tenantId: string;
18
18
  subAgentId: string;
19
19
  externalAgentId: string;
20
20
  } | undefined>;
@@ -43,26 +43,26 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
43
43
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  scopes: SubAgentScopeConfig;
45
45
  }) => Promise<{
46
+ tenantId: string;
47
+ projectId: string;
46
48
  id: string;
47
49
  createdAt: string;
48
50
  updatedAt: string;
49
51
  headers: Record<string, string> | null;
50
52
  agentId: string;
51
- projectId: string;
52
- tenantId: string;
53
53
  subAgentId: string;
54
54
  externalAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
+ tenantId: string;
60
+ projectId: string;
59
61
  id: string;
60
62
  createdAt: string;
61
63
  updatedAt: string;
62
64
  headers: Record<string, string> | null;
63
65
  agentId: string;
64
- projectId: string;
65
- tenantId: string;
66
66
  subAgentId: string;
67
67
  externalAgentId: string;
68
68
  }[]>;
@@ -179,13 +179,13 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
179
179
  headers?: Record<string, string> | null;
180
180
  };
181
181
  }) => Promise<{
182
+ tenantId: string;
183
+ projectId: string;
182
184
  id: string;
183
185
  createdAt: string;
184
186
  updatedAt: string;
185
187
  headers: Record<string, string> | null;
186
188
  agentId: string;
187
- projectId: string;
188
- tenantId: string;
189
189
  subAgentId: string;
190
190
  externalAgentId: string;
191
191
  }>;
@@ -196,13 +196,13 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
196
196
  scopes: SubAgentScopeConfig;
197
197
  externalAgentId: string;
198
198
  }) => Promise<{
199
+ tenantId: string;
200
+ projectId: string;
199
201
  id: string;
200
202
  createdAt: string;
201
203
  updatedAt: string;
202
204
  headers: Record<string, string> | null;
203
205
  agentId: string;
204
- projectId: string;
205
- tenantId: string;
206
206
  subAgentId: string;
207
207
  externalAgentId: string;
208
208
  } | undefined>;
@@ -217,13 +217,13 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
217
217
  headers?: Record<string, string> | null;
218
218
  };
219
219
  }) => Promise<{
220
+ tenantId: string;
221
+ projectId: string;
220
222
  id: string;
221
223
  createdAt: string;
222
224
  updatedAt: string;
223
225
  headers: Record<string, string> | null;
224
226
  agentId: string;
225
- projectId: string;
226
- tenantId: string;
227
227
  subAgentId: string;
228
228
  externalAgentId: string;
229
229
  }>;
@@ -8,12 +8,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
8
8
  scopes: AgentScopeConfig;
9
9
  relationId: string;
10
10
  }) => Promise<{
11
+ tenantId: string;
12
+ projectId: string;
11
13
  id: string;
12
14
  createdAt: string;
13
15
  updatedAt: string;
14
16
  agentId: string;
15
- projectId: string;
16
- tenantId: string;
17
17
  sourceSubAgentId: string;
18
18
  targetSubAgentId: string | null;
19
19
  relationType: 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
+ tenantId: string;
47
+ projectId: string;
46
48
  id: string;
47
49
  createdAt: string;
48
50
  updatedAt: string;
49
51
  agentId: string;
50
- projectId: string;
51
- tenantId: string;
52
52
  sourceSubAgentId: string;
53
53
  targetSubAgentId: string | null;
54
54
  relationType: 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
+ tenantId: string;
60
+ projectId: string;
59
61
  id: string;
60
62
  createdAt: string;
61
63
  updatedAt: string;
62
64
  agentId: string;
63
- projectId: string;
64
- tenantId: string;
65
65
  sourceSubAgentId: string;
66
66
  targetSubAgentId: string | null;
67
67
  relationType: 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
+ tenantId: string;
129
+ projectId: string;
128
130
  id: string;
129
131
  createdAt: string;
130
132
  updatedAt: string;
131
133
  agentId: string;
132
- projectId: string;
133
- tenantId: string;
134
134
  sourceSubAgentId: string;
135
135
  targetSubAgentId: string | null;
136
136
  relationType: string | null;
@@ -144,12 +144,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
144
144
  targetSubAgentId?: string;
145
145
  relationType: string;
146
146
  }) => Promise<{
147
+ tenantId: string;
148
+ projectId: string;
147
149
  id: string;
148
150
  createdAt: string;
149
151
  updatedAt: string;
150
152
  agentId: string;
151
- projectId: string;
152
- tenantId: string;
153
153
  sourceSubAgentId: string;
154
154
  targetSubAgentId: string | null;
155
155
  relationType: 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
+ tenantId: string;
162
+ projectId: string;
161
163
  id: string;
162
164
  createdAt: string;
163
165
  updatedAt: string;
164
166
  agentId: string;
165
- projectId: string;
166
- tenantId: string;
167
167
  sourceSubAgentId: string;
168
168
  targetSubAgentId: string | null;
169
169
  relationType: string | null;
@@ -203,13 +203,13 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
203
203
  }> | null;
204
204
  };
205
205
  }) => Promise<{
206
+ tenantId: string;
207
+ projectId: string;
206
208
  id: string;
207
209
  createdAt: string;
208
210
  updatedAt: string;
209
211
  headers: Record<string, string> | null;
210
212
  agentId: string;
211
- projectId: string;
212
- tenantId: string;
213
213
  subAgentId: string;
214
214
  toolId: string;
215
215
  selectedTools: string[] | null;
@@ -247,13 +247,13 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
247
247
  scopes: SubAgentScopeConfig;
248
248
  relationId: string;
249
249
  }) => Promise<{
250
+ tenantId: string;
251
+ projectId: string;
250
252
  id: string;
251
253
  createdAt: string;
252
254
  updatedAt: string;
253
255
  headers: Record<string, string> | null;
254
256
  agentId: string;
255
- projectId: string;
256
- tenantId: string;
257
257
  subAgentId: string;
258
258
  toolId: string;
259
259
  selectedTools: string[] | null;