@inkeep/agents-core 0.0.0-dev-20260409021932 → 0.0.0-dev-20260409191739

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.
@@ -5,25 +5,25 @@ import { organizationClient } from "better-auth/client/plugins";
5
5
  //#region src/auth/permissions.d.ts
6
6
  declare const ac: AccessControl;
7
7
  declare const memberRole: {
8
- authorize<K_1 extends "organization" | "invitation" | "member" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
9
- actions: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
8
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
9
+ actions: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
10
10
  connector: "OR" | "AND";
11
11
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins4.AuthorizeResponse;
12
- statements: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
12
+ statements: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "organization" | "invitation" | "member" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
16
- actions: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
15
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
16
+ actions: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
17
17
  connector: "OR" | "AND";
18
18
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins4.AuthorizeResponse;
19
- statements: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
19
+ statements: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "organization" | "invitation" | "member" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
23
- actions: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
22
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
23
+ actions: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
24
24
  connector: "OR" | "AND";
25
25
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins4.AuthorizeResponse;
26
- statements: better_auth_plugins4.Subset<"organization" | "invitation" | "member" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
26
+ statements: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -10,8 +10,8 @@ import { PgColumn } from "drizzle-orm/pg-core";
10
10
  declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  scopes: AgentScopeConfig;
12
12
  }) => Promise<{
13
- name: string;
14
13
  id: string;
14
+ name: string;
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
17
  description: string | null;
@@ -63,8 +63,8 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
63
63
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
64
64
  scopes: AgentScopeConfig;
65
65
  }) => Promise<{
66
- name: string;
67
66
  id: string;
67
+ name: string;
68
68
  createdAt: string;
69
69
  updatedAt: string;
70
70
  description: string | null;
@@ -113,8 +113,8 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
113
113
  executionMode: "classic" | "durable";
114
114
  projectId: string;
115
115
  defaultSubAgent: {
116
- name: string;
117
116
  id: string;
117
+ name: string;
118
118
  createdAt: string;
119
119
  updatedAt: string;
120
120
  description: string | null;
@@ -151,8 +151,8 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
151
151
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
152
  scopes: ProjectScopeConfig;
153
153
  }) => Promise<{
154
- name: string;
155
154
  id: string;
155
+ name: string;
156
156
  createdAt: string;
157
157
  updatedAt: string;
158
158
  description: string | null;
@@ -281,8 +281,8 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
281
281
  projectIds: string[];
282
282
  }): Promise<AvailableAgentInfo[]>;
283
283
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
284
- name: string;
285
284
  id: string;
285
+ name: string;
286
286
  createdAt: string;
287
287
  updatedAt: string;
288
288
  description: string | null;
@@ -9,8 +9,8 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- name: string;
13
12
  id: string;
13
+ name: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
16
  description: string | null;
@@ -65,8 +65,8 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
65
65
  };
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
- name: string;
69
68
  id: string;
69
+ name: string;
70
70
  createdAt: string;
71
71
  updatedAt: string;
72
72
  description: string | null;
@@ -53,8 +53,8 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- name: string;
57
56
  id: string;
57
+ name: string;
58
58
  createdAt: string;
59
59
  updatedAt: string;
60
60
  description: string | null;
@@ -95,8 +95,8 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- name: string;
99
98
  id: string;
99
+ name: string;
100
100
  createdAt: string;
101
101
  updatedAt: string;
102
102
  description: string | null;
@@ -15,15 +15,15 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  scopes: ProjectScopeConfig;
16
16
  skillId: string;
17
17
  }) => Promise<{
18
- metadata: Record<string, string> | null;
19
- name: string;
20
18
  id: string;
19
+ name: string;
21
20
  createdAt: string;
22
21
  updatedAt: string;
22
+ metadata: Record<string, string> | null;
23
23
  description: string;
24
- content: string;
25
24
  tenantId: string;
26
25
  projectId: string;
26
+ content: string;
27
27
  } | null>;
28
28
  declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
29
29
  scopes: ProjectScopeConfig;
@@ -110,15 +110,15 @@ interface WithTenantIdProjectId {
110
110
  }
111
111
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
112
112
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
113
- metadata: Record<string, string> | null;
114
- name: string;
115
113
  id: string;
114
+ name: string;
116
115
  createdAt: string;
117
116
  updatedAt: string;
117
+ metadata: Record<string, string> | null;
118
118
  description: string;
119
- content: string;
120
119
  tenantId: string;
121
120
  projectId: string;
121
+ content: string;
122
122
  }>;
123
123
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
124
124
  scopes: ProjectScopeConfig;
@@ -9,7 +9,6 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- headers: Record<string, string> | null;
13
12
  id: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
@@ -17,6 +16,7 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
17
16
  projectId: string;
18
17
  agentId: string;
19
18
  subAgentId: string;
19
+ headers: Record<string, string> | null;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -44,7 +44,6 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- headers: Record<string, string> | null;
48
47
  id: string;
49
48
  createdAt: string;
50
49
  updatedAt: string;
@@ -52,12 +51,12 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
52
51
  projectId: string;
53
52
  agentId: string;
54
53
  subAgentId: string;
54
+ headers: Record<string, string> | null;
55
55
  externalAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- headers: Record<string, string> | null;
61
60
  id: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
@@ -65,6 +64,7 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
65
64
  projectId: string;
66
65
  agentId: string;
67
66
  subAgentId: string;
67
+ headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -186,7 +186,6 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
186
186
  headers?: Record<string, string> | null;
187
187
  };
188
188
  }) => Promise<{
189
- headers: Record<string, string> | null;
190
189
  id: string;
191
190
  createdAt: string;
192
191
  updatedAt: string;
@@ -194,6 +193,7 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
194
193
  projectId: string;
195
194
  agentId: string;
196
195
  subAgentId: string;
196
+ headers: Record<string, string> | null;
197
197
  externalAgentId: string;
198
198
  }>;
199
199
  /**
@@ -203,7 +203,6 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
203
203
  scopes: SubAgentScopeConfig;
204
204
  externalAgentId: string;
205
205
  }) => Promise<{
206
- headers: Record<string, string> | null;
207
206
  id: string;
208
207
  createdAt: string;
209
208
  updatedAt: string;
@@ -211,6 +210,7 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
211
210
  projectId: string;
212
211
  agentId: string;
213
212
  subAgentId: string;
213
+ headers: Record<string, string> | null;
214
214
  externalAgentId: string;
215
215
  } | undefined>;
216
216
  /**
@@ -224,7 +224,6 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
224
224
  headers?: Record<string, string> | null;
225
225
  };
226
226
  }) => Promise<{
227
- headers: Record<string, string> | null;
228
227
  id: string;
229
228
  createdAt: string;
230
229
  updatedAt: string;
@@ -232,6 +231,7 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
232
231
  projectId: string;
233
232
  agentId: string;
234
233
  subAgentId: string;
234
+ headers: Record<string, string> | null;
235
235
  externalAgentId: string;
236
236
  }>;
237
237
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -204,7 +204,6 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
- headers: Record<string, string> | null;
208
207
  id: string;
209
208
  createdAt: string;
210
209
  updatedAt: string;
@@ -213,6 +212,7 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
213
212
  agentId: string;
214
213
  toolId: string;
215
214
  subAgentId: string;
215
+ headers: Record<string, string> | null;
216
216
  selectedTools: string[] | null;
217
217
  toolPolicies: Record<string, {
218
218
  needsApproval?: boolean;
@@ -248,7 +248,6 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
- headers: Record<string, string> | null;
252
251
  id: string;
253
252
  createdAt: string;
254
253
  updatedAt: string;
@@ -257,6 +256,7 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
257
256
  agentId: string;
258
257
  toolId: string;
259
258
  subAgentId: string;
259
+ headers: Record<string, string> | null;
260
260
  selectedTools: string[] | null;
261
261
  toolPolicies: Record<string, {
262
262
  needsApproval?: boolean;
@@ -9,7 +9,6 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
- headers: Record<string, string> | null;
13
12
  id: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
@@ -17,6 +16,7 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
17
16
  projectId: string;
18
17
  agentId: string;
19
18
  subAgentId: string;
19
+ headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -44,7 +44,6 @@ declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =
44
44
  declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
- headers: Record<string, string> | null;
48
47
  id: string;
49
48
  createdAt: string;
50
49
  updatedAt: string;
@@ -52,12 +51,12 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
52
51
  projectId: string;
53
52
  agentId: string;
54
53
  subAgentId: string;
54
+ headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- headers: Record<string, string> | null;
61
60
  id: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
@@ -65,6 +64,7 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
65
64
  projectId: string;
66
65
  agentId: string;
67
66
  subAgentId: string;
67
+ headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -222,7 +222,6 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
222
222
  headers?: Record<string, string> | null;
223
223
  };
224
224
  }) => Promise<{
225
- headers: Record<string, string> | null;
226
225
  id: string;
227
226
  createdAt: string;
228
227
  updatedAt: string;
@@ -230,6 +229,7 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
230
229
  projectId: string;
231
230
  agentId: string;
232
231
  subAgentId: string;
232
+ headers: Record<string, string> | null;
233
233
  targetAgentId: string;
234
234
  }>;
235
235
  /**
@@ -239,7 +239,6 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
239
239
  scopes: SubAgentScopeConfig;
240
240
  targetAgentId: string;
241
241
  }) => Promise<{
242
- headers: Record<string, string> | null;
243
242
  id: string;
244
243
  createdAt: string;
245
244
  updatedAt: string;
@@ -247,6 +246,7 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
247
246
  projectId: string;
248
247
  agentId: string;
249
248
  subAgentId: string;
249
+ headers: Record<string, string> | null;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
252
252
  /**
@@ -260,7 +260,6 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
260
260
  headers?: Record<string, string> | null;
261
261
  };
262
262
  }) => Promise<{
263
- headers: Record<string, string> | null;
264
263
  id: string;
265
264
  createdAt: string;
266
265
  updatedAt: string;
@@ -268,6 +267,7 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
268
267
  projectId: string;
269
268
  agentId: string;
270
269
  subAgentId: string;
270
+ headers: Record<string, string> | null;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,8 +9,8 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- name: string;
13
12
  id: string;
13
+ name: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
16
  description: string | null;
@@ -46,8 +46,8 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
46
46
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
47
47
  scopes: AgentScopeConfig;
48
48
  }) => Promise<{
49
- name: string;
50
49
  id: string;
50
+ name: string;
51
51
  createdAt: string;
52
52
  updatedAt: string;
53
53
  description: string | null;
@@ -127,8 +127,8 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
127
127
  };
128
128
  }>;
129
129
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
130
- name: string;
131
130
  id: string;
131
+ name: string;
132
132
  createdAt: string;
133
133
  updatedAt: string;
134
134
  description: string | null;
@@ -20,9 +20,8 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
- headers: Record<string, string> | null;
24
- name: string;
25
23
  id: string;
24
+ name: string;
26
25
  createdAt: string;
27
26
  updatedAt: string;
28
27
  description: string | null;
@@ -34,6 +33,7 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
34
33
  mcp: ToolMcpConfig;
35
34
  };
36
35
  credentialScope: string;
36
+ headers: Record<string, string> | null;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
39
39
  lastError: string | null;
@@ -78,9 +78,8 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
- headers: Record<string, string> | null;
82
- name: string;
83
81
  id: string;
82
+ name: string;
84
83
  createdAt: string;
85
84
  updatedAt: string;
86
85
  description: string | null;
@@ -92,6 +91,7 @@ declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInser
92
91
  mcp: ToolMcpConfig;
93
92
  };
94
93
  credentialScope: string;
94
+ headers: Record<string, string> | null;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
97
97
  lastError: string | null;
@@ -135,7 +135,6 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
135
135
  needsApproval?: boolean;
136
136
  }> | null;
137
137
  }) => Promise<{
138
- headers: Record<string, string> | null;
139
138
  id: string;
140
139
  createdAt: string;
141
140
  updatedAt: string;
@@ -144,6 +143,7 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
144
143
  agentId: string;
145
144
  toolId: string;
146
145
  subAgentId: string;
146
+ headers: Record<string, string> | null;
147
147
  selectedTools: string[] | null;
148
148
  toolPolicies: Record<string, {
149
149
  needsApproval?: boolean;
@@ -154,7 +154,6 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
154
154
  subAgentId: string;
155
155
  toolId: string;
156
156
  }) => Promise<{
157
- headers: Record<string, string> | null;
158
157
  id: string;
159
158
  createdAt: string;
160
159
  updatedAt: string;
@@ -163,6 +162,7 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
163
162
  agentId: string;
164
163
  toolId: string;
165
164
  subAgentId: string;
165
+ headers: Record<string, string> | null;
166
166
  selectedTools: string[] | null;
167
167
  toolPolicies: Record<string, {
168
168
  needsApproval?: boolean;
@@ -182,7 +182,6 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
182
182
  }> | null;
183
183
  relationId?: string;
184
184
  }) => Promise<{
185
- headers: Record<string, string> | null;
186
185
  id: string;
187
186
  createdAt: string;
188
187
  updatedAt: string;
@@ -191,6 +190,7 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
191
190
  agentId: string;
192
191
  toolId: string;
193
192
  subAgentId: string;
193
+ headers: Record<string, string> | null;
194
194
  selectedTools: string[] | null;
195
195
  toolPolicies: Record<string, {
196
196
  needsApproval?: boolean;
@@ -202,9 +202,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
- headers: Record<string, string> | null;
206
- name: string;
207
205
  id: string;
206
+ name: string;
208
207
  createdAt: string;
209
208
  updatedAt: string;
210
209
  description: string | null;
@@ -216,6 +215,7 @@ declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
216
215
  mcp: ToolMcpConfig;
217
216
  };
218
217
  credentialScope: string;
218
+ headers: Record<string, string> | null;
219
219
  imageUrl: string | null;
220
220
  capabilities: ToolServerCapabilities | null;
221
221
  lastError: string | null;
@@ -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: "body" | "query" | "header";
43
+ source: "query" | "header" | "body";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "body" | "header" | "literal";
49
+ source: "literal" | "header" | "body";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -8,11 +8,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  id: string;
10
10
  }) => Promise<{
11
- name: string | null;
12
11
  id: string;
12
+ name: string | null;
13
13
  createdAt: string;
14
- expiresAt: string | null;
15
14
  updatedAt: string;
15
+ expiresAt: string | null;
16
16
  tenantId: string;
17
17
  projectId: string;
18
18
  agentId: string;
@@ -22,11 +22,11 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
22
22
  lastUsedAt: string | null;
23
23
  } | undefined>;
24
24
  declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
25
- name: string | null;
26
25
  id: string;
26
+ name: string | null;
27
27
  createdAt: string;
28
- expiresAt: string | null;
29
28
  updatedAt: string;
29
+ expiresAt: string | null;
30
30
  tenantId: string;
31
31
  projectId: string;
32
32
  agentId: string;
@@ -39,11 +39,11 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
39
39
  scopes: ProjectScopeConfig;
40
40
  agentId?: string;
41
41
  }) => Promise<{
42
- name: string | null;
43
42
  id: string;
43
+ name: string | null;
44
44
  createdAt: string;
45
- expiresAt: string | null;
46
45
  updatedAt: string;
46
+ expiresAt: string | null;
47
47
  tenantId: string;
48
48
  projectId: string;
49
49
  agentId: 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
- name: string | null;
70
69
  id: string;
70
+ name: string | null;
71
71
  createdAt: string;
72
- expiresAt: string | null;
73
72
  updatedAt: string;
73
+ expiresAt: string | null;
74
74
  tenantId: string;
75
75
  projectId: string;
76
76
  agentId: string;
@@ -6,8 +6,8 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
8
  type: AppType;
9
- name: string;
10
9
  id: string;
10
+ name: string;
11
11
  createdAt: string;
12
12
  updatedAt: string;
13
13
  description: string | null;
@@ -62,8 +62,8 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
64
  type: AppType;
65
- name: string;
66
65
  id: string;
66
+ name: string;
67
67
  createdAt: string;
68
68
  updatedAt: string;
69
69
  description: string | null;