@inkeep/agents-core 0.0.0-dev-20260320225026 → 0.0.0-dev-20260323133357

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" | "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];
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" | "project" | "invitation" | "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" | "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];
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" | "project" | "invitation" | "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" | "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];
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" | "project" | "invitation" | "team" | "ac", better_auth_plugins4.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -10,13 +10,15 @@ 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;
13
+ description: string | null;
14
14
  id: string;
15
+ tenantId: string;
15
16
  createdAt: string;
17
+ name: string;
16
18
  updatedAt: string;
17
- tenantId: string;
18
19
  projectId: string;
19
- description: string | null;
20
+ defaultSubAgentId: string | null;
21
+ contextConfigId: string | null;
20
22
  models: {
21
23
  base?: {
22
24
  model?: string | undefined;
@@ -31,12 +33,7 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
31
33
  providerOptions?: Record<string, any> | undefined;
32
34
  } | undefined;
33
35
  } | null;
34
- stopWhen: {
35
- transferCountIs?: number | undefined;
36
- } | null;
37
36
  prompt: string | null;
38
- defaultSubAgentId: string | null;
39
- contextConfigId: string | null;
40
37
  statusUpdates: {
41
38
  enabled?: boolean | undefined;
42
39
  numEvents?: number | undefined;
@@ -52,17 +49,22 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
52
49
  } | undefined;
53
50
  }[] | undefined;
54
51
  } | null;
52
+ stopWhen: {
53
+ transferCountIs?: number | undefined;
54
+ } | null;
55
55
  } | null>;
56
56
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
- name: string;
59
+ description: string | null;
60
60
  id: string;
61
+ tenantId: string;
61
62
  createdAt: string;
63
+ name: string;
62
64
  updatedAt: string;
63
- tenantId: string;
64
65
  projectId: string;
65
- description: string | null;
66
+ defaultSubAgentId: string | null;
67
+ contextConfigId: string | null;
66
68
  models: {
67
69
  base?: {
68
70
  model?: string | undefined;
@@ -77,12 +79,7 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
77
79
  providerOptions?: Record<string, any> | undefined;
78
80
  } | undefined;
79
81
  } | null;
80
- stopWhen: {
81
- transferCountIs?: number | undefined;
82
- } | null;
83
82
  prompt: string | null;
84
- defaultSubAgentId: string | null;
85
- contextConfigId: string | null;
86
83
  statusUpdates: {
87
84
  enabled?: boolean | undefined;
88
85
  numEvents?: number | undefined;
@@ -98,15 +95,18 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
98
95
  } | undefined;
99
96
  }[] | undefined;
100
97
  } | null;
98
+ stopWhen: {
99
+ transferCountIs?: number | undefined;
100
+ } | null;
101
101
  defaultSubAgent: {
102
- name: string;
102
+ description: string | null;
103
103
  id: string;
104
+ tenantId: string;
104
105
  createdAt: string;
106
+ name: string;
105
107
  updatedAt: string;
106
- tenantId: string;
107
- projectId: string;
108
108
  agentId: string;
109
- description: string | null;
109
+ projectId: string;
110
110
  models: {
111
111
  base?: {
112
112
  model?: string | undefined;
@@ -121,23 +121,25 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
121
121
  providerOptions?: Record<string, any> | undefined;
122
122
  } | undefined;
123
123
  } | null;
124
+ prompt: string | null;
124
125
  stopWhen: {
125
126
  stepCountIs?: number | undefined;
126
127
  } | null;
127
- prompt: string | null;
128
128
  conversationHistoryConfig: ConversationHistoryConfig | null;
129
129
  } | null;
130
130
  } | null>;
131
131
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
132
132
  scopes: ProjectScopeConfig;
133
133
  }) => Promise<{
134
- name: string;
134
+ description: string | null;
135
135
  id: string;
136
+ tenantId: string;
136
137
  createdAt: string;
138
+ name: string;
137
139
  updatedAt: string;
138
- tenantId: string;
139
140
  projectId: string;
140
- description: string | null;
141
+ defaultSubAgentId: string | null;
142
+ contextConfigId: string | null;
141
143
  models: {
142
144
  base?: {
143
145
  model?: string | undefined;
@@ -152,12 +154,7 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
154
  providerOptions?: Record<string, any> | undefined;
153
155
  } | undefined;
154
156
  } | null;
155
- stopWhen: {
156
- transferCountIs?: number | undefined;
157
- } | null;
158
157
  prompt: string | null;
159
- defaultSubAgentId: string | null;
160
- contextConfigId: string | null;
161
158
  statusUpdates: {
162
159
  enabled?: boolean | undefined;
163
160
  numEvents?: number | undefined;
@@ -173,6 +170,9 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
173
170
  } | undefined;
174
171
  }[] | undefined;
175
172
  } | null;
173
+ stopWhen: {
174
+ transferCountIs?: number | undefined;
175
+ } | null;
176
176
  }[]>;
177
177
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
178
178
  scopes: ProjectScopeConfig;
@@ -247,13 +247,15 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
247
247
  projectIds: string[];
248
248
  }): Promise<AvailableAgentInfo[]>;
249
249
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
250
- name: string;
250
+ description: string | null;
251
251
  id: string;
252
+ tenantId: string;
252
253
  createdAt: string;
254
+ name: string;
253
255
  updatedAt: string;
254
- tenantId: string;
255
256
  projectId: string;
256
- description: string | null;
257
+ defaultSubAgentId: string | null;
258
+ contextConfigId: string | null;
257
259
  models: {
258
260
  base?: {
259
261
  model?: string | undefined;
@@ -268,12 +270,7 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
268
270
  providerOptions?: Record<string, any> | undefined;
269
271
  } | undefined;
270
272
  } | null;
271
- stopWhen: {
272
- transferCountIs?: number | undefined;
273
- } | null;
274
273
  prompt: string | null;
275
- defaultSubAgentId: string | null;
276
- contextConfigId: string | null;
277
274
  statusUpdates: {
278
275
  enabled?: boolean | undefined;
279
276
  numEvents?: number | undefined;
@@ -289,6 +286,9 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
289
286
  } | undefined;
290
287
  }[] | undefined;
291
288
  } | null;
289
+ stopWhen: {
290
+ transferCountIs?: number | undefined;
291
+ } | null;
292
292
  }>;
293
293
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
294
294
  scopes: AgentScopeConfig;
@@ -9,13 +9,13 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- name: string;
12
+ description: string | null;
13
13
  id: string;
14
+ tenantId: string;
14
15
  createdAt: string;
16
+ name: string;
15
17
  updatedAt: string;
16
- tenantId: string;
17
18
  projectId: string;
18
- description: string | null;
19
19
  props: {
20
20
  [x: string]: unknown;
21
21
  type: "object";
@@ -65,13 +65,13 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
65
65
  };
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
- name: string;
68
+ description: string | null;
69
69
  id: string;
70
+ tenantId: string;
70
71
  createdAt: string;
72
+ name: string;
71
73
  updatedAt: string;
72
- tenantId: string;
73
74
  projectId: string;
74
- description: string | null;
75
75
  props: {
76
76
  [x: string]: unknown;
77
77
  type: "object";
@@ -142,10 +142,10 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
142
142
  artifactComponentId: string;
143
143
  }) => Promise<{
144
144
  id: string;
145
- createdAt: string;
146
145
  tenantId: string;
147
- projectId: string;
146
+ createdAt: 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
- createdAt: string;
189
188
  tenantId: string;
190
- projectId: string;
189
+ createdAt: string;
191
190
  agentId: string;
191
+ projectId: string;
192
192
  subAgentId: string;
193
193
  artifactComponentId: string;
194
194
  } | null>;
@@ -10,25 +10,25 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
10
10
  id: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
+ tenantId: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- tenantId: string;
16
- projectId: string;
17
- agentId: string;
18
16
  headersSchema: unknown;
19
17
  contextVariables: Record<string, ContextFetchDefinition> | null;
18
+ agentId: string;
19
+ projectId: string;
20
20
  } | undefined>;
21
21
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
24
  id: string;
25
+ tenantId: string;
25
26
  createdAt: string;
26
27
  updatedAt: string;
27
- tenantId: string;
28
- projectId: string;
29
- agentId: string;
30
28
  headersSchema: unknown;
31
29
  contextVariables: Record<string, ContextFetchDefinition> | null;
30
+ agentId: string;
31
+ projectId: string;
32
32
  }[]>;
33
33
  declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
34
34
  scopes: AgentScopeConfig;
@@ -44,13 +44,13 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
44
44
  }>;
45
45
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
46
46
  id: string;
47
+ tenantId: string;
47
48
  createdAt: string;
48
49
  updatedAt: string;
49
- tenantId: string;
50
- projectId: string;
51
- agentId: string;
52
50
  headersSchema: unknown;
53
51
  contextVariables: Record<string, ContextFetchDefinition> | null;
52
+ agentId: string;
53
+ projectId: string;
54
54
  }>;
55
55
  declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
56
56
  scopes: AgentScopeConfig;
@@ -84,13 +84,13 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
84
84
  data: ContextConfigInsert;
85
85
  }) => Promise<{
86
86
  id: string;
87
+ tenantId: string;
87
88
  createdAt: string;
88
89
  updatedAt: string;
89
- tenantId: string;
90
- projectId: string;
91
- agentId: string;
92
90
  headersSchema: unknown;
93
91
  contextVariables: Record<string, ContextFetchDefinition> | null;
92
+ agentId: string;
93
+ projectId: string;
94
94
  }>;
95
95
  //#endregion
96
96
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -66,10 +66,10 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
66
66
  dataComponentId: string;
67
67
  }) => Promise<{
68
68
  id: string;
69
- createdAt: string;
70
69
  tenantId: string;
71
- projectId: string;
70
+ createdAt: 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
- createdAt: string;
112
111
  tenantId: string;
113
- projectId: string;
112
+ createdAt: string;
114
113
  agentId: string;
114
+ projectId: string;
115
115
  subAgentId: string;
116
116
  dataComponentId: string;
117
117
  } | null>;
@@ -53,14 +53,14 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- name: string;
56
+ description: string | null;
57
57
  id: string;
58
+ tenantId: string;
58
59
  createdAt: string;
60
+ name: string;
59
61
  updatedAt: string;
60
- tenantId: string;
61
- projectId: string;
62
62
  agentId: string;
63
- description: string | null;
63
+ projectId: string;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -95,14 +95,14 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- name: string;
98
+ description: string | null;
99
99
  id: string;
100
+ tenantId: string;
100
101
  createdAt: string;
102
+ name: string;
101
103
  updatedAt: string;
102
- tenantId: string;
103
- projectId: string;
104
104
  agentId: string;
105
- description: string | null;
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;
161
162
  createdAt: string;
162
163
  updatedAt: string;
163
- tenantId: string;
164
- projectId: 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;
226
227
  createdAt: string;
227
228
  updatedAt: string;
228
- tenantId: string;
229
- projectId: string;
230
229
  agentId: string;
230
+ projectId: string;
231
231
  subAgentId: string;
232
232
  toolPolicies: Record<string, {
233
233
  needsApproval?: boolean;
@@ -8,15 +8,15 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
- metadata: Record<string, string> | null;
12
- name: string;
11
+ description: string;
13
12
  id: string;
13
+ tenantId: string;
14
14
  createdAt: string;
15
+ name: string;
16
+ metadata: Record<string, string> | null;
17
+ content: string;
15
18
  updatedAt: string;
16
- tenantId: string;
17
19
  projectId: string;
18
- description: 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
- metadata: Record<string, string> | null;
45
- name: string;
44
+ description: string;
46
45
  id: string;
46
+ tenantId: string;
47
47
  createdAt: string;
48
+ name: string;
49
+ metadata: Record<string, string> | null;
50
+ content: string;
48
51
  updatedAt: string;
49
- tenantId: string;
50
52
  projectId: string;
51
- description: string;
52
- content: string;
53
53
  }>;
54
54
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
55
- metadata: Record<string, string> | null;
56
- name: string;
55
+ description: string;
57
56
  id: string;
57
+ tenantId: string;
58
58
  createdAt: string;
59
+ name: string;
60
+ metadata: Record<string, string> | null;
61
+ content: string;
59
62
  updatedAt: string;
60
- tenantId: string;
61
63
  projectId: string;
62
- description: string;
63
- content: string;
64
64
  }>;
65
65
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
66
66
  scopes: ProjectScopeConfig;
@@ -92,15 +92,15 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
92
92
  alwaysLoaded?: boolean;
93
93
  }) => Promise<{
94
94
  id: string;
95
+ tenantId: string;
95
96
  createdAt: string;
96
97
  updatedAt: string;
97
- tenantId: string;
98
- projectId: string;
99
98
  agentId: string;
99
+ projectId: string;
100
100
  subAgentId: string;
101
- skillId: 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
- headers: Record<string, string> | null;
13
12
  id: string;
13
+ tenantId: string;
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
- tenantId: string;
17
- projectId: string;
18
16
  agentId: string;
17
+ projectId: 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,27 +44,27 @@ 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;
48
+ tenantId: string;
49
49
  createdAt: string;
50
50
  updatedAt: string;
51
- tenantId: string;
52
- projectId: string;
53
51
  agentId: string;
52
+ projectId: 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;
61
+ tenantId: string;
62
62
  createdAt: string;
63
63
  updatedAt: string;
64
- tenantId: string;
65
- projectId: string;
66
64
  agentId: string;
65
+ projectId: 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: {
@@ -180,14 +180,14 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
180
180
  headers?: Record<string, string> | null;
181
181
  };
182
182
  }) => Promise<{
183
- headers: Record<string, string> | null;
184
183
  id: string;
184
+ tenantId: string;
185
185
  createdAt: string;
186
186
  updatedAt: string;
187
- tenantId: string;
188
- projectId: string;
189
187
  agentId: string;
188
+ projectId: string;
190
189
  subAgentId: string;
190
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
201
200
  id: string;
201
+ tenantId: string;
202
202
  createdAt: string;
203
203
  updatedAt: string;
204
- tenantId: string;
205
- projectId: string;
206
204
  agentId: string;
205
+ projectId: string;
207
206
  subAgentId: string;
207
+ headers: Record<string, string> | null;
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
- headers: Record<string, string> | null;
222
221
  id: string;
222
+ tenantId: string;
223
223
  createdAt: string;
224
224
  updatedAt: string;
225
- tenantId: string;
226
- projectId: string;
227
225
  agentId: string;
226
+ projectId: string;
228
227
  subAgentId: string;
228
+ headers: Record<string, string> | null;
229
229
  externalAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {