@inkeep/agents-core 0.53.7 → 0.53.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/dist/auth/auth-schema.d.ts +85 -85
  2. package/dist/auth/auth-validation-schemas.d.ts +152 -152
  3. package/dist/auth/auth.d.ts +28 -28
  4. package/dist/auth/permissions.d.ts +13 -13
  5. package/dist/client-exports.d.ts +3 -3
  6. package/dist/constants/otel-attributes.d.ts +1 -0
  7. package/dist/constants/otel-attributes.js +1 -0
  8. package/dist/data-access/manage/agents.d.ts +25 -25
  9. package/dist/data-access/manage/artifactComponents.d.ts +16 -16
  10. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  11. package/dist/data-access/manage/dataComponents.d.ts +6 -6
  12. package/dist/data-access/manage/functionTools.d.ts +20 -20
  13. package/dist/data-access/manage/skills.d.ts +19 -19
  14. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  15. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  16. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  17. package/dist/data-access/manage/subAgents.d.ts +15 -15
  18. package/dist/data-access/manage/tools.d.ts +24 -24
  19. package/dist/data-access/manage/triggers.d.ts +2 -2
  20. package/dist/data-access/runtime/apiKeys.d.ts +20 -20
  21. package/dist/data-access/runtime/conversations.d.ts +31 -31
  22. package/dist/data-access/runtime/messages.d.ts +15 -15
  23. package/dist/data-access/runtime/tasks.d.ts +9 -9
  24. package/dist/db/manage/manage-schema.d.ts +449 -449
  25. package/dist/db/runtime/runtime-schema.d.ts +298 -298
  26. package/dist/validation/dolt-schemas.d.ts +1 -1
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas.d.ts +1886 -1886
  29. package/package.json +1 -1
@@ -8,15 +8,15 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
- projectId: string;
12
- tenantId: string;
13
- description: string;
14
- name: string;
15
- content: string;
16
11
  id: string;
12
+ name: string;
17
13
  createdAt: string;
18
14
  updatedAt: string;
19
15
  metadata: Record<string, string> | null;
16
+ description: string;
17
+ projectId: string;
18
+ tenantId: string;
19
+ content: string;
20
20
  } | null>;
21
21
  declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: ProjectScopeConfig;
@@ -41,26 +41,26 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
41
41
  };
42
42
  }>;
43
43
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
44
- projectId: string;
45
- tenantId: string;
46
- description: string;
47
- name: string;
48
- content: string;
49
44
  id: string;
45
+ name: string;
50
46
  createdAt: string;
51
47
  updatedAt: string;
52
48
  metadata: Record<string, string> | null;
53
- }>;
54
- declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
49
+ description: string;
55
50
  projectId: string;
56
51
  tenantId: string;
57
- description: string;
58
- name: string;
59
52
  content: string;
53
+ }>;
54
+ declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
60
55
  id: string;
56
+ name: string;
61
57
  createdAt: string;
62
58
  updatedAt: string;
63
59
  metadata: Record<string, string> | null;
60
+ description: string;
61
+ projectId: string;
62
+ tenantId: string;
63
+ content: string;
64
64
  }>;
65
65
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
66
66
  scopes: ProjectScopeConfig;
@@ -91,16 +91,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
91
91
  index: number;
92
92
  alwaysLoaded?: boolean;
93
93
  }) => Promise<{
94
- agentId: string;
95
- projectId: string;
96
- tenantId: string;
97
- subAgentId: string;
98
94
  id: string;
99
95
  createdAt: string;
100
96
  updatedAt: string;
101
- skillId: string;
97
+ projectId: string;
98
+ tenantId: string;
99
+ agentId: string;
100
+ subAgentId: string;
102
101
  index: number;
103
102
  alwaysLoaded: boolean;
103
+ skillId: string;
104
104
  }>;
105
105
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
106
106
  scopes: AgentScopeConfig;
@@ -9,14 +9,14 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- agentId: string;
13
- projectId: string;
14
- tenantId: string;
15
- subAgentId: string;
16
12
  id: string;
17
13
  createdAt: string;
18
14
  updatedAt: string;
19
15
  headers: Record<string, string> | null;
16
+ projectId: string;
17
+ tenantId: string;
18
+ agentId: string;
19
+ subAgentId: string;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -44,27 +44,27 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
50
- subAgentId: string;
51
47
  id: string;
52
48
  createdAt: string;
53
49
  updatedAt: string;
54
50
  headers: Record<string, string> | null;
51
+ projectId: string;
52
+ tenantId: string;
53
+ agentId: string;
54
+ subAgentId: string;
55
55
  externalAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- agentId: string;
61
- projectId: string;
62
- tenantId: string;
63
- subAgentId: string;
64
60
  id: string;
65
61
  createdAt: string;
66
62
  updatedAt: string;
67
63
  headers: Record<string, string> | null;
64
+ projectId: string;
65
+ tenantId: string;
66
+ agentId: string;
67
+ subAgentId: string;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -180,14 +180,14 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
180
180
  headers?: Record<string, string> | null;
181
181
  };
182
182
  }) => Promise<{
183
- agentId: string;
184
- projectId: string;
185
- tenantId: string;
186
- subAgentId: string;
187
183
  id: string;
188
184
  createdAt: string;
189
185
  updatedAt: string;
190
186
  headers: Record<string, string> | null;
187
+ projectId: string;
188
+ tenantId: string;
189
+ agentId: string;
190
+ subAgentId: string;
191
191
  externalAgentId: string;
192
192
  }>;
193
193
  /**
@@ -197,14 +197,14 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
197
197
  scopes: SubAgentScopeConfig;
198
198
  externalAgentId: string;
199
199
  }) => Promise<{
200
- agentId: string;
201
- projectId: string;
202
- tenantId: string;
203
- subAgentId: string;
204
200
  id: string;
205
201
  createdAt: string;
206
202
  updatedAt: string;
207
203
  headers: Record<string, string> | null;
204
+ projectId: string;
205
+ tenantId: string;
206
+ agentId: string;
207
+ subAgentId: string;
208
208
  externalAgentId: string;
209
209
  } | undefined>;
210
210
  /**
@@ -218,14 +218,14 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
218
218
  headers?: Record<string, string> | null;
219
219
  };
220
220
  }) => Promise<{
221
- agentId: string;
222
- projectId: string;
223
- tenantId: string;
224
- subAgentId: string;
225
221
  id: string;
226
222
  createdAt: string;
227
223
  updatedAt: string;
228
224
  headers: Record<string, string> | null;
225
+ projectId: string;
226
+ tenantId: string;
227
+ agentId: string;
228
+ subAgentId: string;
229
229
  externalAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,12 +9,12 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- agentId: string;
13
- projectId: string;
14
- tenantId: string;
15
12
  id: string;
16
13
  createdAt: string;
17
14
  updatedAt: string;
15
+ projectId: string;
16
+ tenantId: string;
17
+ agentId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -44,12 +44,12 @@ declare const listAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
44
44
  declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
50
47
  id: string;
51
48
  createdAt: string;
52
49
  updatedAt: string;
50
+ projectId: string;
51
+ tenantId: string;
52
+ agentId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -57,12 +57,12 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
57
57
  declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- agentId: string;
61
- projectId: string;
62
- tenantId: string;
63
60
  id: string;
64
61
  createdAt: string;
65
62
  updatedAt: string;
63
+ projectId: string;
64
+ tenantId: string;
65
+ agentId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -126,12 +126,12 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
126
126
  }[];
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
- agentId: string;
130
- projectId: string;
131
- tenantId: string;
132
129
  id: string;
133
130
  createdAt: string;
134
131
  updatedAt: string;
132
+ projectId: string;
133
+ tenantId: string;
134
+ agentId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -145,12 +145,12 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
145
145
  targetSubAgentId?: string;
146
146
  relationType: string;
147
147
  }) => Promise<{
148
- agentId: string;
149
- projectId: string;
150
- tenantId: string;
151
148
  id: string;
152
149
  createdAt: string;
153
150
  updatedAt: string;
151
+ projectId: string;
152
+ tenantId: string;
153
+ agentId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -159,12 +159,12 @@ 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
- agentId: string;
163
- projectId: string;
164
- tenantId: string;
165
162
  id: string;
166
163
  createdAt: string;
167
164
  updatedAt: string;
165
+ projectId: string;
166
+ tenantId: string;
167
+ agentId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -204,15 +204,15 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
- agentId: string;
208
- projectId: string;
209
- tenantId: string;
210
- subAgentId: string;
211
207
  id: string;
212
208
  createdAt: string;
213
209
  updatedAt: string;
214
210
  headers: Record<string, string> | null;
215
211
  toolId: string;
212
+ projectId: string;
213
+ tenantId: string;
214
+ agentId: string;
215
+ subAgentId: string;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
218
218
  }> | null;
@@ -248,15 +248,15 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
- agentId: string;
252
- projectId: string;
253
- tenantId: string;
254
- subAgentId: string;
255
251
  id: string;
256
252
  createdAt: string;
257
253
  updatedAt: string;
258
254
  headers: Record<string, string> | null;
259
255
  toolId: string;
256
+ projectId: string;
257
+ tenantId: string;
258
+ agentId: string;
259
+ subAgentId: string;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
262
262
  }> | null;
@@ -9,14 +9,14 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- agentId: string;
13
- projectId: string;
14
- tenantId: string;
15
- subAgentId: string;
16
12
  id: string;
17
13
  createdAt: string;
18
14
  updatedAt: string;
19
15
  headers: Record<string, string> | null;
16
+ projectId: string;
17
+ tenantId: string;
18
+ agentId: string;
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
- agentId: string;
48
- projectId: string;
49
- tenantId: string;
50
- subAgentId: string;
51
47
  id: string;
52
48
  createdAt: string;
53
49
  updatedAt: string;
54
50
  headers: Record<string, string> | null;
51
+ projectId: string;
52
+ tenantId: string;
53
+ agentId: string;
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
- agentId: string;
61
- projectId: string;
62
- tenantId: string;
63
- subAgentId: string;
64
60
  id: string;
65
61
  createdAt: string;
66
62
  updatedAt: string;
67
63
  headers: Record<string, string> | null;
64
+ projectId: string;
65
+ tenantId: string;
66
+ agentId: string;
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
- agentId: string;
214
- projectId: string;
215
- tenantId: string;
216
- subAgentId: string;
217
213
  id: string;
218
214
  createdAt: string;
219
215
  updatedAt: string;
220
216
  headers: Record<string, string> | null;
217
+ projectId: string;
218
+ tenantId: string;
219
+ agentId: string;
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
- agentId: string;
231
- projectId: string;
232
- tenantId: string;
233
- subAgentId: string;
234
230
  id: string;
235
231
  createdAt: string;
236
232
  updatedAt: string;
237
233
  headers: Record<string, string> | null;
234
+ projectId: string;
235
+ tenantId: string;
236
+ agentId: string;
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
- agentId: string;
252
- projectId: string;
253
- tenantId: string;
254
- subAgentId: string;
255
251
  id: string;
256
252
  createdAt: string;
257
253
  updatedAt: string;
258
254
  headers: Record<string, string> | null;
255
+ projectId: string;
256
+ tenantId: string;
257
+ agentId: string;
258
+ subAgentId: string;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,14 +9,13 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- agentId: string;
13
- projectId: string;
14
- tenantId: string;
15
- description: string | null;
16
- name: string;
17
12
  id: string;
13
+ name: string;
18
14
  createdAt: string;
19
15
  updatedAt: string;
16
+ description: string | null;
17
+ projectId: string;
18
+ tenantId: string;
20
19
  models: {
21
20
  base?: {
22
21
  model?: string | undefined;
@@ -34,20 +33,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
34
33
  stopWhen: {
35
34
  stepCountIs?: number | undefined;
36
35
  } | null;
36
+ agentId: string;
37
37
  prompt: string | null;
38
38
  conversationHistoryConfig: ConversationHistoryConfig | null;
39
39
  } | undefined>;
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- agentId: string;
44
- projectId: string;
45
- tenantId: string;
46
- description: string | null;
47
- name: string;
48
43
  id: string;
44
+ name: string;
49
45
  createdAt: string;
50
46
  updatedAt: string;
47
+ description: string | null;
48
+ projectId: string;
49
+ tenantId: string;
51
50
  models: {
52
51
  base?: {
53
52
  model?: string | undefined;
@@ -65,6 +64,7 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
65
64
  stopWhen: {
66
65
  stepCountIs?: number | undefined;
67
66
  } | null;
67
+ agentId: string;
68
68
  prompt: string | null;
69
69
  conversationHistoryConfig: ConversationHistoryConfig | null;
70
70
  }[]>;
@@ -109,14 +109,13 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- agentId: string;
113
- projectId: string;
114
- tenantId: string;
115
- description: string | null;
116
- name: string;
117
112
  id: string;
113
+ name: string;
118
114
  createdAt: string;
119
115
  updatedAt: string;
116
+ description: string | null;
117
+ projectId: string;
118
+ tenantId: string;
120
119
  models: {
121
120
  base?: {
122
121
  model?: string | undefined;
@@ -134,6 +133,7 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
134
133
  stopWhen: {
135
134
  stepCountIs?: number | undefined;
136
135
  } | null;
136
+ agentId: string;
137
137
  prompt: string | null;
138
138
  conversationHistoryConfig: ConversationHistoryConfig | null;
139
139
  }>;
@@ -19,14 +19,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
19
19
  scopes: ProjectScopeConfig;
20
20
  toolId: string;
21
21
  }) => Promise<{
22
- projectId: string;
23
- tenantId: string;
24
- description: string | null;
25
- name: string;
26
22
  id: string;
23
+ name: string;
27
24
  createdAt: string;
28
25
  updatedAt: string;
26
+ description: string | null;
29
27
  headers: Record<string, string> | null;
28
+ projectId: string;
29
+ tenantId: string;
30
30
  config: {
31
31
  type: "mcp";
32
32
  mcp: ToolMcpConfig;
@@ -77,14 +77,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
77
77
  };
78
78
  }>;
79
79
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
80
- projectId: string;
81
- tenantId: string;
82
- description: string | null;
83
- name: string;
84
80
  id: string;
81
+ name: string;
85
82
  createdAt: string;
86
83
  updatedAt: string;
84
+ description: string | null;
87
85
  headers: Record<string, string> | null;
86
+ projectId: string;
87
+ tenantId: string;
88
88
  config: {
89
89
  type: "mcp";
90
90
  mcp: ToolMcpConfig;
@@ -134,15 +134,15 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
134
134
  needsApproval?: boolean;
135
135
  }> | null;
136
136
  }) => Promise<{
137
- agentId: string;
138
- projectId: string;
139
- tenantId: string;
140
- subAgentId: string;
141
137
  id: string;
142
138
  createdAt: string;
143
139
  updatedAt: string;
144
140
  headers: Record<string, string> | null;
145
141
  toolId: string;
142
+ projectId: string;
143
+ tenantId: string;
144
+ agentId: string;
145
+ subAgentId: string;
146
146
  toolPolicies: Record<string, {
147
147
  needsApproval?: boolean;
148
148
  }> | null;
@@ -153,15 +153,15 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
153
153
  subAgentId: string;
154
154
  toolId: string;
155
155
  }) => Promise<{
156
- agentId: string;
157
- projectId: string;
158
- tenantId: string;
159
- subAgentId: string;
160
156
  id: string;
161
157
  createdAt: string;
162
158
  updatedAt: string;
163
159
  headers: Record<string, string> | null;
164
160
  toolId: string;
161
+ projectId: string;
162
+ tenantId: string;
163
+ agentId: string;
164
+ subAgentId: string;
165
165
  toolPolicies: Record<string, {
166
166
  needsApproval?: boolean;
167
167
  }> | null;
@@ -181,15 +181,15 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
181
181
  }> | null;
182
182
  relationId?: string;
183
183
  }) => Promise<{
184
- agentId: string;
185
- projectId: string;
186
- tenantId: string;
187
- subAgentId: string;
188
184
  id: string;
189
185
  createdAt: string;
190
186
  updatedAt: string;
191
187
  headers: Record<string, string> | null;
192
188
  toolId: string;
189
+ projectId: string;
190
+ tenantId: string;
191
+ agentId: string;
192
+ subAgentId: string;
193
193
  toolPolicies: Record<string, {
194
194
  needsApproval?: boolean;
195
195
  }> | null;
@@ -201,14 +201,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
201
201
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
202
202
  data: ToolInsert;
203
203
  }) => Promise<{
204
- projectId: string;
205
- tenantId: string;
206
- description: string | null;
207
- name: string;
208
204
  id: string;
205
+ name: string;
209
206
  createdAt: string;
210
207
  updatedAt: string;
208
+ description: string | null;
211
209
  headers: Record<string, string> | null;
210
+ projectId: string;
211
+ tenantId: string;
212
212
  config: {
213
213
  type: "mcp";
214
214
  mcp: ToolMcpConfig;
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
40
40
  algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
41
  encoding: "hex" | "base64";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;