@inkeep/agents-core 0.0.0-dev-20260330201301 → 0.0.0-dev-20260330205052

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" | "member" | "project" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "project" | "invitation" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
9
- actions: better_auth_plugins4.Subset<"organization" | "member" | "project" | "invitation" | "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" | "member" | "project" | "invitation" | "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" | "member" | "project" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "project" | "invitation" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
16
- actions: better_auth_plugins4.Subset<"organization" | "member" | "project" | "invitation" | "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" | "member" | "project" | "invitation" | "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" | "member" | "project" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "project" | "invitation" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
23
- actions: better_auth_plugins4.Subset<"organization" | "member" | "project" | "invitation" | "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" | "member" | "project" | "invitation" | "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,9 +10,12 @@ 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
+ createdAt: string;
16
+ updatedAt: string;
15
17
  description: string | null;
18
+ tenantId: string;
16
19
  models: {
17
20
  base?: {
18
21
  model?: string | undefined;
@@ -30,9 +33,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
30
33
  stopWhen: {
31
34
  transferCountIs?: number | undefined;
32
35
  } | null;
33
- createdAt: string;
34
- updatedAt: string;
35
- tenantId: string;
36
36
  projectId: string;
37
37
  defaultSubAgentId: string | null;
38
38
  contextConfigId: string | null;
@@ -57,9 +57,12 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
57
57
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
- name: string;
61
60
  id: string;
61
+ name: string;
62
+ createdAt: string;
63
+ updatedAt: string;
62
64
  description: string | null;
65
+ tenantId: string;
63
66
  models: {
64
67
  base?: {
65
68
  model?: string | undefined;
@@ -77,9 +80,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
77
80
  stopWhen: {
78
81
  transferCountIs?: number | undefined;
79
82
  } | null;
80
- createdAt: string;
81
- updatedAt: string;
82
- tenantId: string;
83
83
  projectId: string;
84
84
  defaultSubAgentId: string | null;
85
85
  contextConfigId: string | null;
@@ -101,9 +101,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
101
101
  } | null;
102
102
  executionMode: "classic" | "durable";
103
103
  defaultSubAgent: {
104
- name: string;
105
104
  id: string;
105
+ name: string;
106
+ createdAt: string;
107
+ updatedAt: string;
106
108
  description: string | null;
109
+ tenantId: string;
107
110
  models: {
108
111
  base?: {
109
112
  model?: string | undefined;
@@ -121,9 +124,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
121
124
  stopWhen: {
122
125
  stepCountIs?: number | undefined;
123
126
  } | null;
124
- createdAt: string;
125
- updatedAt: string;
126
- tenantId: string;
127
127
  projectId: string;
128
128
  agentId: string;
129
129
  prompt: string | null;
@@ -133,9 +133,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
133
133
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
134
134
  scopes: ProjectScopeConfig;
135
135
  }) => Promise<{
136
- name: string;
137
136
  id: string;
137
+ name: string;
138
+ createdAt: string;
139
+ updatedAt: string;
138
140
  description: string | null;
141
+ tenantId: string;
139
142
  models: {
140
143
  base?: {
141
144
  model?: string | undefined;
@@ -153,9 +156,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
153
156
  stopWhen: {
154
157
  transferCountIs?: number | undefined;
155
158
  } | null;
156
- createdAt: string;
157
- updatedAt: string;
158
- tenantId: string;
159
159
  projectId: string;
160
160
  defaultSubAgentId: string | null;
161
161
  contextConfigId: string | null;
@@ -251,9 +251,12 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
251
251
  projectIds: string[];
252
252
  }): Promise<AvailableAgentInfo[]>;
253
253
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
254
- name: string;
255
254
  id: string;
255
+ name: string;
256
+ createdAt: string;
257
+ updatedAt: string;
256
258
  description: string | null;
259
+ tenantId: string;
257
260
  models: {
258
261
  base?: {
259
262
  model?: string | undefined;
@@ -271,9 +274,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
271
274
  stopWhen: {
272
275
  transferCountIs?: number | undefined;
273
276
  } | null;
274
- createdAt: string;
275
- updatedAt: string;
276
- tenantId: string;
277
277
  projectId: string;
278
278
  defaultSubAgentId: string | null;
279
279
  contextConfigId: string | null;
@@ -9,11 +9,11 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- name: string;
13
12
  id: string;
14
- description: string | null;
13
+ name: string;
15
14
  createdAt: string;
16
15
  updatedAt: string;
16
+ description: string | null;
17
17
  tenantId: string;
18
18
  projectId: string;
19
19
  props: {
@@ -65,11 +65,11 @@ 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;
70
- description: string | null;
69
+ name: string;
71
70
  createdAt: string;
72
71
  updatedAt: string;
72
+ description: string | null;
73
73
  tenantId: string;
74
74
  projectId: string;
75
75
  props: {
@@ -53,11 +53,11 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- name: string;
57
56
  id: string;
58
- description: string | null;
57
+ name: string;
59
58
  createdAt: string;
60
59
  updatedAt: string;
60
+ description: string | null;
61
61
  tenantId: string;
62
62
  projectId: string;
63
63
  agentId: string;
@@ -95,11 +95,11 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- name: string;
99
98
  id: string;
100
- description: string | null;
99
+ name: string;
101
100
  createdAt: string;
102
101
  updatedAt: string;
102
+ description: string | null;
103
103
  tenantId: string;
104
104
  projectId: string;
105
105
  agentId: string;
@@ -8,13 +8,13 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
- name: string;
12
11
  id: string;
13
- description: string;
12
+ name: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- tenantId: string;
17
15
  metadata: Record<string, string> | null;
16
+ description: string;
17
+ tenantId: string;
18
18
  content: string;
19
19
  projectId: string;
20
20
  } | null>;
@@ -41,24 +41,24 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
41
41
  };
42
42
  }>;
43
43
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
44
- name: string;
45
44
  id: string;
46
- description: string;
45
+ name: string;
47
46
  createdAt: string;
48
47
  updatedAt: string;
49
- tenantId: string;
50
48
  metadata: Record<string, string> | null;
49
+ description: string;
50
+ tenantId: string;
51
51
  content: string;
52
52
  projectId: string;
53
53
  }>;
54
54
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
55
- name: string;
56
55
  id: string;
57
- description: string;
56
+ name: string;
58
57
  createdAt: string;
59
58
  updatedAt: string;
60
- tenantId: string;
61
59
  metadata: Record<string, string> | null;
60
+ description: string;
61
+ tenantId: string;
62
62
  content: string;
63
63
  projectId: string;
64
64
  }>;
@@ -12,11 +12,11 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ headers: Record<string, string> | null;
15
16
  tenantId: string;
16
17
  projectId: string;
17
18
  agentId: string;
18
19
  subAgentId: string;
19
- headers: Record<string, string> | null;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -47,11 +47,11 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
+ headers: Record<string, string> | null;
50
51
  tenantId: string;
51
52
  projectId: string;
52
53
  agentId: string;
53
54
  subAgentId: string;
54
- headers: Record<string, string> | null;
55
55
  externalAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -60,11 +60,11 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
+ headers: Record<string, string> | null;
63
64
  tenantId: string;
64
65
  projectId: string;
65
66
  agentId: string;
66
67
  subAgentId: string;
67
- headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -183,11 +183,11 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
183
183
  id: string;
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
+ headers: Record<string, string> | null;
186
187
  tenantId: string;
187
188
  projectId: string;
188
189
  agentId: string;
189
190
  subAgentId: string;
190
- headers: Record<string, string> | null;
191
191
  externalAgentId: string;
192
192
  }>;
193
193
  /**
@@ -200,11 +200,11 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
200
200
  id: string;
201
201
  createdAt: string;
202
202
  updatedAt: string;
203
+ headers: Record<string, string> | null;
203
204
  tenantId: string;
204
205
  projectId: string;
205
206
  agentId: string;
206
207
  subAgentId: string;
207
- headers: Record<string, string> | null;
208
208
  externalAgentId: string;
209
209
  } | undefined>;
210
210
  /**
@@ -221,11 +221,11 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
221
221
  id: string;
222
222
  createdAt: string;
223
223
  updatedAt: string;
224
+ headers: Record<string, string> | null;
224
225
  tenantId: string;
225
226
  projectId: string;
226
227
  agentId: string;
227
228
  subAgentId: string;
228
- headers: Record<string, string> | null;
229
229
  externalAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -207,12 +207,12 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
207
207
  id: string;
208
208
  createdAt: string;
209
209
  updatedAt: string;
210
+ headers: Record<string, string> | null;
210
211
  tenantId: string;
211
212
  projectId: string;
212
213
  agentId: string;
213
214
  subAgentId: string;
214
215
  toolId: string;
215
- headers: Record<string, string> | null;
216
216
  selectedTools: string[] | null;
217
217
  toolPolicies: Record<string, {
218
218
  needsApproval?: boolean;
@@ -251,12 +251,12 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
251
251
  id: string;
252
252
  createdAt: string;
253
253
  updatedAt: string;
254
+ headers: Record<string, string> | null;
254
255
  tenantId: string;
255
256
  projectId: string;
256
257
  agentId: string;
257
258
  subAgentId: string;
258
259
  toolId: string;
259
- headers: Record<string, string> | null;
260
260
  selectedTools: string[] | null;
261
261
  toolPolicies: Record<string, {
262
262
  needsApproval?: boolean;
@@ -12,11 +12,11 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
+ headers: Record<string, string> | null;
15
16
  tenantId: string;
16
17
  projectId: string;
17
18
  agentId: string;
18
19
  subAgentId: string;
19
- headers: Record<string, string> | null;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -47,11 +47,11 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
+ headers: Record<string, string> | null;
50
51
  tenantId: string;
51
52
  projectId: string;
52
53
  agentId: string;
53
54
  subAgentId: string;
54
- headers: Record<string, string> | null;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -60,11 +60,11 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
+ headers: Record<string, string> | null;
63
64
  tenantId: string;
64
65
  projectId: string;
65
66
  agentId: string;
66
67
  subAgentId: string;
67
- headers: Record<string, string> | null;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -213,11 +213,11 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
213
213
  id: string;
214
214
  createdAt: string;
215
215
  updatedAt: string;
216
+ headers: Record<string, string> | null;
216
217
  tenantId: string;
217
218
  projectId: string;
218
219
  agentId: string;
219
220
  subAgentId: string;
220
- headers: Record<string, string> | null;
221
221
  targetAgentId: string;
222
222
  }>;
223
223
  /**
@@ -230,11 +230,11 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
230
230
  id: string;
231
231
  createdAt: string;
232
232
  updatedAt: string;
233
+ headers: Record<string, string> | null;
233
234
  tenantId: string;
234
235
  projectId: string;
235
236
  agentId: string;
236
237
  subAgentId: string;
237
- headers: Record<string, string> | null;
238
238
  targetAgentId: string;
239
239
  } | undefined>;
240
240
  /**
@@ -251,11 +251,11 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
251
251
  id: string;
252
252
  createdAt: string;
253
253
  updatedAt: string;
254
+ headers: Record<string, string> | null;
254
255
  tenantId: string;
255
256
  projectId: string;
256
257
  agentId: string;
257
258
  subAgentId: string;
258
- headers: Record<string, string> | null;
259
259
  targetAgentId: string;
260
260
  }>;
261
261
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,9 +9,12 @@ 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
+ createdAt: string;
15
+ updatedAt: string;
14
16
  description: string | null;
17
+ tenantId: string;
15
18
  models: {
16
19
  base?: {
17
20
  model?: string | undefined;
@@ -29,9 +32,6 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
29
32
  stopWhen: {
30
33
  stepCountIs?: number | undefined;
31
34
  } | null;
32
- createdAt: string;
33
- updatedAt: string;
34
- tenantId: string;
35
35
  projectId: string;
36
36
  agentId: string;
37
37
  prompt: string | null;
@@ -40,9 +40,12 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- name: string;
44
43
  id: string;
44
+ name: string;
45
+ createdAt: string;
46
+ updatedAt: string;
45
47
  description: string | null;
48
+ tenantId: string;
46
49
  models: {
47
50
  base?: {
48
51
  model?: string | undefined;
@@ -60,9 +63,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
60
63
  stopWhen: {
61
64
  stepCountIs?: number | undefined;
62
65
  } | null;
63
- createdAt: string;
64
- updatedAt: string;
65
- tenantId: string;
66
66
  projectId: string;
67
67
  agentId: string;
68
68
  prompt: string | null;
@@ -109,9 +109,12 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- name: string;
113
112
  id: string;
113
+ name: string;
114
+ createdAt: string;
115
+ updatedAt: string;
114
116
  description: string | null;
117
+ tenantId: string;
115
118
  models: {
116
119
  base?: {
117
120
  model?: string | undefined;
@@ -129,9 +132,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
129
132
  stopWhen: {
130
133
  stepCountIs?: number | undefined;
131
134
  } | null;
132
- createdAt: string;
133
- updatedAt: string;
134
- tenantId: string;
135
135
  projectId: string;
136
136
  agentId: string;
137
137
  prompt: string | null;
@@ -20,20 +20,20 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
20
20
  scopes: ProjectScopeConfig;
21
21
  toolId: string;
22
22
  }) => Promise<{
23
- name: string;
24
23
  id: string;
25
- description: string | null;
24
+ name: string;
26
25
  createdAt: string;
27
26
  updatedAt: string;
27
+ description: string | null;
28
+ headers: Record<string, string> | null;
28
29
  tenantId: string;
29
30
  projectId: string;
31
+ credentialReferenceId: string | null;
30
32
  config: {
31
33
  type: "mcp";
32
34
  mcp: ToolMcpConfig;
33
35
  };
34
- credentialReferenceId: string | null;
35
36
  credentialScope: string;
36
- headers: Record<string, string> | null;
37
37
  imageUrl: string | null;
38
38
  capabilities: ToolServerCapabilities | null;
39
39
  lastError: string | null;
@@ -78,20 +78,20 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
78
78
  };
79
79
  }>;
80
80
  declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
81
- name: string;
82
81
  id: string;
83
- description: string | null;
82
+ name: string;
84
83
  createdAt: string;
85
84
  updatedAt: string;
85
+ description: string | null;
86
+ headers: Record<string, string> | null;
86
87
  tenantId: string;
87
88
  projectId: string;
89
+ credentialReferenceId: string | null;
88
90
  config: {
89
91
  type: "mcp";
90
92
  mcp: ToolMcpConfig;
91
93
  };
92
- credentialReferenceId: string | null;
93
94
  credentialScope: string;
94
- headers: Record<string, string> | null;
95
95
  imageUrl: string | null;
96
96
  capabilities: ToolServerCapabilities | null;
97
97
  lastError: string | null;
@@ -138,12 +138,12 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
138
138
  id: string;
139
139
  createdAt: string;
140
140
  updatedAt: string;
141
+ headers: Record<string, string> | null;
141
142
  tenantId: string;
142
143
  projectId: string;
143
144
  agentId: string;
144
145
  subAgentId: string;
145
146
  toolId: string;
146
- headers: Record<string, string> | null;
147
147
  selectedTools: string[] | null;
148
148
  toolPolicies: Record<string, {
149
149
  needsApproval?: boolean;
@@ -157,12 +157,12 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
157
157
  id: string;
158
158
  createdAt: string;
159
159
  updatedAt: string;
160
+ headers: Record<string, string> | null;
160
161
  tenantId: string;
161
162
  projectId: string;
162
163
  agentId: string;
163
164
  subAgentId: string;
164
165
  toolId: string;
165
- headers: Record<string, string> | null;
166
166
  selectedTools: string[] | null;
167
167
  toolPolicies: Record<string, {
168
168
  needsApproval?: boolean;
@@ -185,12 +185,12 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
185
185
  id: string;
186
186
  createdAt: string;
187
187
  updatedAt: string;
188
+ headers: Record<string, string> | null;
188
189
  tenantId: string;
189
190
  projectId: string;
190
191
  agentId: string;
191
192
  subAgentId: string;
192
193
  toolId: string;
193
- headers: Record<string, string> | null;
194
194
  selectedTools: string[] | null;
195
195
  toolPolicies: Record<string, {
196
196
  needsApproval?: boolean;
@@ -202,20 +202,20 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
202
202
  declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
203
203
  data: ToolInsert;
204
204
  }) => Promise<{
205
- name: string;
206
205
  id: string;
207
- description: string | null;
206
+ name: string;
208
207
  createdAt: string;
209
208
  updatedAt: string;
209
+ description: string | null;
210
+ headers: Record<string, string> | null;
210
211
  tenantId: string;
211
212
  projectId: string;
213
+ credentialReferenceId: string | null;
212
214
  config: {
213
215
  type: "mcp";
214
216
  mcp: ToolMcpConfig;
215
217
  };
216
- credentialReferenceId: string | null;
217
218
  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: "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: "header" | "literal" | "body";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;