@inkeep/agents-core 0.0.0-dev-20260413140955 → 0.0.0-dev-20260414135348

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" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
9
- actions: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.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_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
9
+ actions: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key];
10
10
  connector: "OR" | "AND";
11
11
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins7.AuthorizeResponse;
12
- statements: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.Statements>;
12
+ statements: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
16
- actions: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.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_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
16
+ actions: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key];
17
17
  connector: "OR" | "AND";
18
18
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins7.AuthorizeResponse;
19
- statements: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.Statements>;
19
+ statements: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
23
- actions: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.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_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
23
+ actions: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key];
24
24
  connector: "OR" | "AND";
25
25
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins7.AuthorizeResponse;
26
- statements: better_auth_plugins7.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins7.Statements>;
26
+ statements: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -11,10 +11,15 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  scopes: AgentScopeConfig;
12
12
  }) => Promise<{
13
13
  id: string;
14
- tenantId: string;
15
- createdAt: string;
16
14
  name: string;
15
+ createdAt: string;
16
+ updatedAt: string;
17
17
  description: string | null;
18
+ prompt: string | null;
19
+ tenantId: string;
20
+ projectId: string;
21
+ defaultSubAgentId: string | null;
22
+ contextConfigId: string | null;
18
23
  models: {
19
24
  base?: {
20
25
  model?: string | undefined;
@@ -35,14 +40,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
35
40
  allowedProviders?: string[] | undefined;
36
41
  } | undefined;
37
42
  } | null;
38
- stopWhen: {
39
- transferCountIs?: number | undefined;
40
- } | null;
41
- updatedAt: string;
42
- projectId: string;
43
- prompt: string | null;
44
- defaultSubAgentId: string | null;
45
- contextConfigId: string | null;
46
43
  statusUpdates: {
47
44
  enabled?: boolean | undefined;
48
45
  numEvents?: number | undefined;
@@ -58,16 +55,24 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
58
55
  } | undefined;
59
56
  }[] | undefined;
60
57
  } | null;
58
+ stopWhen: {
59
+ transferCountIs?: number | undefined;
60
+ } | null;
61
61
  executionMode: "classic" | "durable";
62
62
  } | null>;
63
63
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
64
64
  scopes: AgentScopeConfig;
65
65
  }) => Promise<{
66
66
  id: string;
67
- tenantId: string;
68
- createdAt: string;
69
67
  name: string;
68
+ createdAt: string;
69
+ updatedAt: string;
70
70
  description: string | null;
71
+ prompt: string | null;
72
+ tenantId: string;
73
+ projectId: string;
74
+ defaultSubAgentId: string | null;
75
+ contextConfigId: string | null;
71
76
  models: {
72
77
  base?: {
73
78
  model?: string | undefined;
@@ -88,14 +93,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
88
93
  allowedProviders?: string[] | undefined;
89
94
  } | undefined;
90
95
  } | null;
91
- stopWhen: {
92
- transferCountIs?: number | undefined;
93
- } | null;
94
- updatedAt: string;
95
- projectId: string;
96
- prompt: string | null;
97
- defaultSubAgentId: string | null;
98
- contextConfigId: string | null;
99
96
  statusUpdates: {
100
97
  enabled?: boolean | undefined;
101
98
  numEvents?: number | undefined;
@@ -111,13 +108,20 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
111
108
  } | undefined;
112
109
  }[] | undefined;
113
110
  } | null;
111
+ stopWhen: {
112
+ transferCountIs?: number | undefined;
113
+ } | null;
114
114
  executionMode: "classic" | "durable";
115
115
  defaultSubAgent: {
116
116
  id: string;
117
- tenantId: string;
118
- createdAt: string;
119
117
  name: string;
118
+ createdAt: string;
119
+ updatedAt: string;
120
120
  description: string | null;
121
+ prompt: string | null;
122
+ tenantId: string;
123
+ agentId: string;
124
+ projectId: string;
121
125
  models: {
122
126
  base?: {
123
127
  model?: string | undefined;
@@ -141,10 +145,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
141
145
  stopWhen: {
142
146
  stepCountIs?: number | undefined;
143
147
  } | null;
144
- updatedAt: string;
145
- projectId: string;
146
- agentId: string;
147
- prompt: string | null;
148
148
  conversationHistoryConfig: ConversationHistoryConfig | null;
149
149
  } | null;
150
150
  } | null>;
@@ -152,10 +152,15 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
152
  scopes: ProjectScopeConfig;
153
153
  }) => Promise<{
154
154
  id: string;
155
- tenantId: string;
156
- createdAt: string;
157
155
  name: string;
156
+ createdAt: string;
157
+ updatedAt: string;
158
158
  description: string | null;
159
+ prompt: string | null;
160
+ tenantId: string;
161
+ projectId: string;
162
+ defaultSubAgentId: string | null;
163
+ contextConfigId: string | null;
159
164
  models: {
160
165
  base?: {
161
166
  model?: string | undefined;
@@ -176,14 +181,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
176
181
  allowedProviders?: string[] | undefined;
177
182
  } | undefined;
178
183
  } | null;
179
- stopWhen: {
180
- transferCountIs?: number | undefined;
181
- } | null;
182
- updatedAt: string;
183
- projectId: string;
184
- prompt: string | null;
185
- defaultSubAgentId: string | null;
186
- contextConfigId: string | null;
187
184
  statusUpdates: {
188
185
  enabled?: boolean | undefined;
189
186
  numEvents?: number | undefined;
@@ -199,6 +196,9 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
199
196
  } | undefined;
200
197
  }[] | undefined;
201
198
  } | null;
199
+ stopWhen: {
200
+ transferCountIs?: number | undefined;
201
+ } | null;
202
202
  executionMode: "classic" | "durable";
203
203
  }[]>;
204
204
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -282,10 +282,15 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
282
282
  }): Promise<AvailableAgentInfo[]>;
283
283
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
284
284
  id: string;
285
- tenantId: string;
286
- createdAt: string;
287
285
  name: string;
286
+ createdAt: string;
287
+ updatedAt: string;
288
288
  description: string | null;
289
+ prompt: string | null;
290
+ tenantId: string;
291
+ projectId: string;
292
+ defaultSubAgentId: string | null;
293
+ contextConfigId: string | null;
289
294
  models: {
290
295
  base?: {
291
296
  model?: string | undefined;
@@ -306,14 +311,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
306
311
  allowedProviders?: string[] | undefined;
307
312
  } | undefined;
308
313
  } | null;
309
- stopWhen: {
310
- transferCountIs?: number | undefined;
311
- } | null;
312
- updatedAt: string;
313
- projectId: string;
314
- prompt: string | null;
315
- defaultSubAgentId: string | null;
316
- contextConfigId: string | null;
317
314
  statusUpdates: {
318
315
  enabled?: boolean | undefined;
319
316
  numEvents?: number | undefined;
@@ -329,6 +326,9 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
329
326
  } | undefined;
330
327
  }[] | undefined;
331
328
  } | null;
329
+ stopWhen: {
330
+ transferCountIs?: number | undefined;
331
+ } | null;
332
332
  executionMode: "classic" | "durable";
333
333
  }>;
334
334
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -10,11 +10,11 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
10
10
  id: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
- createdAt: string;
15
13
  name: string;
16
- description: string | null;
14
+ createdAt: string;
17
15
  updatedAt: string;
16
+ description: string | null;
17
+ tenantId: string;
18
18
  projectId: string;
19
19
  props: {
20
20
  [x: string]: unknown;
@@ -66,11 +66,11 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
68
  id: string;
69
- tenantId: string;
70
- createdAt: string;
71
69
  name: string;
72
- description: string | null;
70
+ createdAt: string;
73
71
  updatedAt: string;
72
+ description: string | null;
73
+ tenantId: string;
74
74
  projectId: string;
75
75
  props: {
76
76
  [x: string]: unknown;
@@ -142,10 +142,10 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
142
142
  artifactComponentId: string;
143
143
  }) => Promise<{
144
144
  id: string;
145
- tenantId: string;
146
145
  createdAt: string;
147
- projectId: string;
146
+ tenantId: string;
148
147
  agentId: string;
148
+ projectId: string;
149
149
  subAgentId: string;
150
150
  artifactComponentId: string;
151
151
  }>;
@@ -185,10 +185,10 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
185
185
  artifactComponentId: string;
186
186
  }) => Promise<{
187
187
  id: string;
188
- tenantId: string;
189
188
  createdAt: string;
190
- projectId: string;
189
+ tenantId: string;
191
190
  agentId: string;
191
+ projectId: string;
192
192
  subAgentId: string;
193
193
  artifactComponentId: string;
194
194
  } | null>;
@@ -10,11 +10,11 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
10
10
  id: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- projectId: string;
15
+ tenantId: string;
17
16
  agentId: string;
17
+ projectId: string;
18
18
  headersSchema: unknown;
19
19
  contextVariables: Record<string, ContextFetchDefinition> | null;
20
20
  } | undefined>;
@@ -22,11 +22,11 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
24
  id: string;
25
- tenantId: string;
26
25
  createdAt: string;
27
26
  updatedAt: string;
28
- projectId: string;
27
+ tenantId: string;
29
28
  agentId: string;
29
+ projectId: string;
30
30
  headersSchema: unknown;
31
31
  contextVariables: Record<string, ContextFetchDefinition> | null;
32
32
  }[]>;
@@ -44,11 +44,11 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
44
44
  }>;
45
45
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
46
46
  id: string;
47
- tenantId: string;
48
47
  createdAt: string;
49
48
  updatedAt: string;
50
- projectId: string;
49
+ tenantId: string;
51
50
  agentId: string;
51
+ projectId: string;
52
52
  headersSchema: unknown;
53
53
  contextVariables: Record<string, ContextFetchDefinition> | null;
54
54
  }>;
@@ -84,11 +84,11 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
84
84
  data: ContextConfigInsert;
85
85
  }) => Promise<{
86
86
  id: string;
87
- tenantId: string;
88
87
  createdAt: string;
89
88
  updatedAt: string;
90
- projectId: string;
89
+ tenantId: string;
91
90
  agentId: string;
91
+ projectId: string;
92
92
  headersSchema: unknown;
93
93
  contextVariables: Record<string, ContextFetchDefinition> | null;
94
94
  }>;
@@ -66,10 +66,10 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
66
66
  dataComponentId: string;
67
67
  }) => Promise<{
68
68
  id: string;
69
- tenantId: string;
70
69
  createdAt: string;
71
- projectId: string;
70
+ tenantId: string;
72
71
  agentId: string;
72
+ projectId: string;
73
73
  subAgentId: string;
74
74
  dataComponentId: string;
75
75
  }>;
@@ -108,10 +108,10 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
108
108
  dataComponentId: string;
109
109
  }) => Promise<{
110
110
  id: string;
111
- tenantId: string;
112
111
  createdAt: string;
113
- projectId: string;
112
+ tenantId: string;
114
113
  agentId: string;
114
+ projectId: string;
115
115
  subAgentId: string;
116
116
  dataComponentId: string;
117
117
  } | null>;
@@ -54,13 +54,13 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
56
  id: string;
57
- tenantId: string;
58
- createdAt: string;
59
57
  name: string;
60
- description: string | null;
58
+ createdAt: string;
61
59
  updatedAt: string;
62
- projectId: string;
60
+ description: string | null;
61
+ tenantId: string;
63
62
  agentId: string;
63
+ projectId: string;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -96,13 +96,13 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
98
  id: string;
99
- tenantId: string;
100
- createdAt: string;
101
99
  name: string;
102
- description: string | null;
100
+ createdAt: string;
103
101
  updatedAt: string;
104
- projectId: string;
102
+ description: string | null;
103
+ tenantId: string;
105
104
  agentId: string;
105
+ projectId: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -158,11 +158,11 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
158
158
  }> | null;
159
159
  }) => Promise<{
160
160
  id: string;
161
- tenantId: string;
162
161
  createdAt: string;
163
162
  updatedAt: string;
164
- projectId: string;
163
+ tenantId: string;
165
164
  agentId: string;
165
+ projectId: string;
166
166
  subAgentId: string;
167
167
  toolPolicies: Record<string, {
168
168
  needsApproval?: boolean;
@@ -223,11 +223,11 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
223
223
  }> | null;
224
224
  }) => Promise<{
225
225
  id: string;
226
- tenantId: string;
227
226
  createdAt: string;
228
227
  updatedAt: string;
229
- projectId: string;
228
+ tenantId: string;
230
229
  agentId: string;
230
+ projectId: string;
231
231
  subAgentId: string;
232
232
  toolPolicies: Record<string, {
233
233
  needsApproval?: boolean;
@@ -16,13 +16,13 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
16
16
  skillId: string;
17
17
  }) => Promise<{
18
18
  id: string;
19
- tenantId: string;
20
- createdAt: string;
21
19
  name: string;
20
+ createdAt: string;
21
+ updatedAt: string;
22
22
  metadata: Record<string, string> | null;
23
23
  description: string;
24
+ tenantId: string;
24
25
  content: string;
25
- updatedAt: string;
26
26
  projectId: string;
27
27
  } | null>;
28
28
  declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
@@ -111,13 +111,13 @@ interface WithTenantIdProjectId {
111
111
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
112
112
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
113
113
  id: string;
114
- tenantId: string;
115
- createdAt: string;
116
114
  name: string;
115
+ createdAt: string;
116
+ updatedAt: string;
117
117
  metadata: Record<string, string> | null;
118
118
  description: string;
119
+ tenantId: string;
119
120
  content: string;
120
- updatedAt: string;
121
121
  projectId: string;
122
122
  }>;
123
123
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -140,15 +140,15 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
140
140
  alwaysLoaded?: boolean;
141
141
  }) => Promise<{
142
142
  id: string;
143
- tenantId: string;
144
143
  createdAt: string;
145
144
  updatedAt: string;
146
- projectId: string;
145
+ tenantId: string;
147
146
  agentId: string;
147
+ projectId: string;
148
148
  subAgentId: string;
149
- skillId: string;
150
149
  index: number;
151
150
  alwaysLoaded: boolean;
151
+ skillId: string;
152
152
  }>;
153
153
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
154
154
  scopes: AgentScopeConfig;
@@ -10,13 +10,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
- projectId: string;
15
+ headers: Record<string, string> | null;
16
+ tenantId: string;
17
17
  agentId: string;
18
+ projectId: 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: {
@@ -45,26 +45,26 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
- tenantId: string;
49
48
  createdAt: string;
50
49
  updatedAt: string;
51
- projectId: string;
50
+ headers: Record<string, string> | null;
51
+ tenantId: string;
52
52
  agentId: string;
53
+ projectId: 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: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
- tenantId: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
- projectId: string;
63
+ headers: Record<string, string> | null;
64
+ tenantId: string;
65
65
  agentId: string;
66
+ projectId: 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: {
@@ -187,13 +187,13 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
187
187
  };
188
188
  }) => Promise<{
189
189
  id: string;
190
- tenantId: string;
191
190
  createdAt: string;
192
191
  updatedAt: string;
193
- projectId: string;
192
+ headers: Record<string, string> | null;
193
+ tenantId: string;
194
194
  agentId: string;
195
+ projectId: string;
195
196
  subAgentId: string;
196
- headers: Record<string, string> | null;
197
197
  externalAgentId: string;
198
198
  }>;
199
199
  /**
@@ -204,13 +204,13 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
204
204
  externalAgentId: string;
205
205
  }) => Promise<{
206
206
  id: string;
207
- tenantId: string;
208
207
  createdAt: string;
209
208
  updatedAt: string;
210
- projectId: string;
209
+ headers: Record<string, string> | null;
210
+ tenantId: string;
211
211
  agentId: string;
212
+ projectId: string;
212
213
  subAgentId: string;
213
- headers: Record<string, string> | null;
214
214
  externalAgentId: string;
215
215
  } | undefined>;
216
216
  /**
@@ -225,13 +225,13 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
225
225
  };
226
226
  }) => Promise<{
227
227
  id: string;
228
- tenantId: string;
229
228
  createdAt: string;
230
229
  updatedAt: string;
231
- projectId: string;
230
+ headers: Record<string, string> | null;
231
+ tenantId: string;
232
232
  agentId: string;
233
+ projectId: string;
233
234
  subAgentId: string;
234
- headers: Record<string, string> | null;
235
235
  externalAgentId: string;
236
236
  }>;
237
237
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {