@inkeep/agents-core 0.0.0-dev-20260323182205 → 0.0.0-dev-20260324095902

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  2. package/dist/auth/permissions.d.ts +9 -9
  3. package/dist/client-exports.d.ts +2 -2
  4. package/dist/client-exports.js +2 -2
  5. package/dist/constants/signoz-queries.d.ts +30 -106
  6. package/dist/constants/signoz-queries.js +55 -108
  7. package/dist/data-access/manage/agents.d.ts +15 -15
  8. package/dist/data-access/manage/artifactComponents.d.ts +8 -8
  9. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  10. package/dist/data-access/manage/dataComponents.d.ts +2 -2
  11. package/dist/data-access/manage/functionTools.d.ts +10 -10
  12. package/dist/data-access/manage/skills.d.ts +17 -17
  13. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
  14. package/dist/data-access/manage/subAgentRelations.d.ts +8 -8
  15. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
  16. package/dist/data-access/manage/subAgents.d.ts +9 -9
  17. package/dist/data-access/manage/tools.d.ts +15 -15
  18. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  19. package/dist/data-access/runtime/apps.d.ts +12 -12
  20. package/dist/data-access/runtime/conversations.d.ts +20 -20
  21. package/dist/data-access/runtime/messages.d.ts +9 -9
  22. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
  23. package/dist/data-access/runtime/tasks.d.ts +6 -6
  24. package/dist/db/manage/manage-schema.d.ts +449 -449
  25. package/dist/db/runtime/runtime-schema.d.ts +332 -332
  26. package/dist/index.d.ts +3 -3
  27. package/dist/index.js +3 -3
  28. package/dist/utils/index.d.ts +2 -2
  29. package/dist/utils/index.js +2 -2
  30. package/dist/utils/schema-conversion.d.ts +27 -1
  31. package/dist/utils/schema-conversion.js +68 -1
  32. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  33. package/dist/validation/schemas.d.ts +2008 -2008
  34. package/package.json +1 -1
@@ -10,13 +10,13 @@ import { PgColumn } from "drizzle-orm/pg-core";
10
10
  declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  scopes: AgentScopeConfig;
12
12
  }) => Promise<{
13
- description: string | null;
13
+ name: string;
14
14
  id: string;
15
- tenantId: string;
16
15
  createdAt: string;
17
- name: string;
18
16
  updatedAt: string;
19
17
  projectId: string;
18
+ tenantId: string;
19
+ description: string | null;
20
20
  defaultSubAgentId: string | null;
21
21
  contextConfigId: string | null;
22
22
  models: {
@@ -56,13 +56,13 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
56
56
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
57
57
  scopes: AgentScopeConfig;
58
58
  }) => Promise<{
59
- description: string | null;
59
+ name: string;
60
60
  id: string;
61
- tenantId: string;
62
61
  createdAt: string;
63
- name: string;
64
62
  updatedAt: string;
65
63
  projectId: string;
64
+ tenantId: string;
65
+ description: string | null;
66
66
  defaultSubAgentId: string | null;
67
67
  contextConfigId: string | null;
68
68
  models: {
@@ -99,14 +99,14 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
99
99
  transferCountIs?: number | undefined;
100
100
  } | null;
101
101
  defaultSubAgent: {
102
- description: string | null;
102
+ name: string;
103
103
  id: string;
104
- tenantId: string;
105
104
  createdAt: string;
106
- name: string;
107
105
  updatedAt: string;
108
106
  agentId: string;
109
107
  projectId: string;
108
+ tenantId: string;
109
+ description: string | null;
110
110
  models: {
111
111
  base?: {
112
112
  model?: string | undefined;
@@ -131,13 +131,13 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
131
131
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
132
132
  scopes: ProjectScopeConfig;
133
133
  }) => Promise<{
134
- description: string | null;
134
+ name: string;
135
135
  id: string;
136
- tenantId: string;
137
136
  createdAt: string;
138
- name: string;
139
137
  updatedAt: string;
140
138
  projectId: string;
139
+ tenantId: string;
140
+ description: string | null;
141
141
  defaultSubAgentId: string | null;
142
142
  contextConfigId: string | null;
143
143
  models: {
@@ -247,13 +247,13 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
247
247
  projectIds: string[];
248
248
  }): Promise<AvailableAgentInfo[]>;
249
249
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
250
- description: string | null;
250
+ name: string;
251
251
  id: string;
252
- tenantId: string;
253
252
  createdAt: string;
254
- name: string;
255
253
  updatedAt: string;
256
254
  projectId: string;
255
+ tenantId: string;
256
+ description: string | null;
257
257
  defaultSubAgentId: string | null;
258
258
  contextConfigId: string | null;
259
259
  models: {
@@ -9,13 +9,13 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- description: string | null;
12
+ name: string;
13
13
  id: string;
14
- tenantId: string;
15
14
  createdAt: string;
16
- name: string;
17
15
  updatedAt: string;
18
16
  projectId: string;
17
+ tenantId: 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
- description: string | null;
68
+ name: string;
69
69
  id: string;
70
- tenantId: string;
71
70
  createdAt: string;
72
- name: string;
73
71
  updatedAt: string;
74
72
  projectId: string;
73
+ tenantId: 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
- tenantId: string;
146
145
  createdAt: string;
147
146
  agentId: string;
148
147
  projectId: string;
148
+ tenantId: 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
189
  agentId: string;
191
190
  projectId: string;
191
+ tenantId: 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;
14
- createdAt: string;
15
- updatedAt: string;
16
13
  headersSchema: unknown;
17
14
  contextVariables: Record<string, ContextFetchDefinition> | null;
15
+ createdAt: string;
16
+ updatedAt: string;
18
17
  agentId: string;
19
18
  projectId: string;
19
+ tenantId: 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;
26
- createdAt: string;
27
- updatedAt: string;
28
25
  headersSchema: unknown;
29
26
  contextVariables: Record<string, ContextFetchDefinition> | null;
27
+ createdAt: string;
28
+ updatedAt: string;
30
29
  agentId: string;
31
30
  projectId: string;
31
+ tenantId: 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;
48
- createdAt: string;
49
- updatedAt: string;
50
47
  headersSchema: unknown;
51
48
  contextVariables: Record<string, ContextFetchDefinition> | null;
49
+ createdAt: string;
50
+ updatedAt: string;
52
51
  agentId: string;
53
52
  projectId: string;
53
+ tenantId: 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;
88
- createdAt: string;
89
- updatedAt: string;
90
87
  headersSchema: unknown;
91
88
  contextVariables: Record<string, ContextFetchDefinition> | null;
89
+ createdAt: string;
90
+ updatedAt: string;
92
91
  agentId: string;
93
92
  projectId: string;
93
+ tenantId: 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
- tenantId: string;
70
69
  createdAt: string;
71
70
  agentId: string;
72
71
  projectId: string;
72
+ tenantId: 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
112
  agentId: string;
114
113
  projectId: string;
114
+ tenantId: 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
- description: string | null;
56
+ name: string;
57
57
  id: string;
58
- tenantId: string;
59
58
  createdAt: string;
60
- name: string;
61
59
  updatedAt: string;
62
60
  agentId: string;
63
61
  projectId: string;
62
+ tenantId: string;
63
+ description: string | null;
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
- description: string | null;
98
+ name: string;
99
99
  id: string;
100
- tenantId: string;
101
100
  createdAt: string;
102
- name: string;
103
101
  updatedAt: string;
104
102
  agentId: string;
105
103
  projectId: string;
104
+ tenantId: string;
105
+ description: string | null;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -158,16 +158,16 @@ 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
163
  agentId: string;
165
164
  projectId: string;
165
+ tenantId: string;
166
166
  subAgentId: string;
167
+ functionToolId: string;
167
168
  toolPolicies: Record<string, {
168
169
  needsApproval?: boolean;
169
170
  }> | null;
170
- functionToolId: string;
171
171
  }>;
172
172
  /**
173
173
  * Update an agent-function tool relation
@@ -223,16 +223,16 @@ 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
228
  agentId: string;
230
229
  projectId: string;
230
+ tenantId: string;
231
231
  subAgentId: string;
232
+ functionToolId: string;
232
233
  toolPolicies: Record<string, {
233
234
  needsApproval?: boolean;
234
235
  }> | null;
235
- functionToolId: string;
236
236
  }>;
237
237
  //#endregion
238
238
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -8,15 +8,15 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
- description: string;
11
+ name: string;
12
12
  id: string;
13
- tenantId: string;
14
13
  createdAt: string;
15
- name: string;
16
- metadata: Record<string, string> | null;
17
- content: string;
18
14
  updatedAt: string;
19
15
  projectId: string;
16
+ tenantId: string;
17
+ description: string;
18
+ metadata: Record<string, string> | null;
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
- description: string;
44
+ name: string;
45
45
  id: string;
46
- tenantId: string;
47
46
  createdAt: string;
48
- name: string;
49
- metadata: Record<string, string> | null;
50
- content: string;
51
47
  updatedAt: string;
52
48
  projectId: string;
49
+ tenantId: string;
50
+ description: string;
51
+ metadata: Record<string, string> | null;
52
+ content: string;
53
53
  }>;
54
54
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
55
- description: string;
55
+ name: string;
56
56
  id: string;
57
- tenantId: string;
58
57
  createdAt: string;
59
- name: string;
60
- metadata: Record<string, string> | null;
61
- content: string;
62
58
  updatedAt: string;
63
59
  projectId: string;
60
+ tenantId: string;
61
+ description: string;
62
+ metadata: Record<string, string> | null;
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;
96
95
  createdAt: string;
97
96
  updatedAt: string;
98
97
  agentId: string;
99
98
  projectId: string;
99
+ tenantId: string;
100
100
  subAgentId: string;
101
+ skillId: string;
101
102
  index: number;
102
103
  alwaysLoaded: boolean;
103
- skillId: string;
104
104
  }>;
105
105
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
106
106
  scopes: AgentScopeConfig;
@@ -10,11 +10,11 @@ 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
15
  agentId: string;
17
16
  projectId: string;
17
+ tenantId: string;
18
18
  subAgentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  externalAgentId: string;
@@ -45,11 +45,11 @@ 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
50
  agentId: string;
52
51
  projectId: string;
52
+ tenantId: string;
53
53
  subAgentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  externalAgentId: string;
@@ -58,11 +58,11 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
- tenantId: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
63
  agentId: string;
65
64
  projectId: string;
65
+ tenantId: string;
66
66
  subAgentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  externalAgentId: string;
@@ -181,11 +181,11 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
181
181
  };
182
182
  }) => Promise<{
183
183
  id: string;
184
- tenantId: string;
185
184
  createdAt: string;
186
185
  updatedAt: string;
187
186
  agentId: string;
188
187
  projectId: string;
188
+ tenantId: string;
189
189
  subAgentId: string;
190
190
  headers: Record<string, string> | null;
191
191
  externalAgentId: string;
@@ -198,11 +198,11 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
198
198
  externalAgentId: string;
199
199
  }) => Promise<{
200
200
  id: string;
201
- tenantId: string;
202
201
  createdAt: string;
203
202
  updatedAt: string;
204
203
  agentId: string;
205
204
  projectId: string;
205
+ tenantId: string;
206
206
  subAgentId: string;
207
207
  headers: Record<string, string> | null;
208
208
  externalAgentId: string;
@@ -219,11 +219,11 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
219
219
  };
220
220
  }) => Promise<{
221
221
  id: string;
222
- tenantId: string;
223
222
  createdAt: string;
224
223
  updatedAt: string;
225
224
  agentId: string;
226
225
  projectId: string;
226
+ tenantId: string;
227
227
  subAgentId: string;
228
228
  headers: Record<string, string> | null;
229
229
  externalAgentId: string;
@@ -10,11 +10,11 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
15
  agentId: string;
17
16
  projectId: string;
17
+ tenantId: string;
18
18
  sourceSubAgentId: string;
19
19
  targetSubAgentId: string | null;
20
20
  relationType: string | null;
@@ -45,11 +45,11 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
47
  id: string;
48
- tenantId: string;
49
48
  createdAt: string;
50
49
  updatedAt: string;
51
50
  agentId: string;
52
51
  projectId: string;
52
+ tenantId: string;
53
53
  sourceSubAgentId: string;
54
54
  targetSubAgentId: string | null;
55
55
  relationType: string | null;
@@ -58,11 +58,11 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
- tenantId: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
63
  agentId: string;
65
64
  projectId: string;
65
+ tenantId: string;
66
66
  sourceSubAgentId: string;
67
67
  targetSubAgentId: string | null;
68
68
  relationType: string | null;
@@ -127,11 +127,11 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
127
127
  }>;
128
128
  declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
129
129
  id: string;
130
- tenantId: string;
131
130
  createdAt: string;
132
131
  updatedAt: string;
133
132
  agentId: string;
134
133
  projectId: string;
134
+ tenantId: string;
135
135
  sourceSubAgentId: string;
136
136
  targetSubAgentId: string | null;
137
137
  relationType: string | null;
@@ -146,11 +146,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
146
146
  relationType: string;
147
147
  }) => Promise<{
148
148
  id: string;
149
- tenantId: string;
150
149
  createdAt: string;
151
150
  updatedAt: string;
152
151
  agentId: string;
153
152
  projectId: string;
153
+ tenantId: string;
154
154
  sourceSubAgentId: string;
155
155
  targetSubAgentId: string | null;
156
156
  relationType: string | null;
@@ -160,11 +160,11 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
160
160
  */
161
161
  declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
162
162
  id: string;
163
- tenantId: string;
164
163
  createdAt: string;
165
164
  updatedAt: string;
166
165
  agentId: string;
167
166
  projectId: string;
167
+ tenantId: string;
168
168
  sourceSubAgentId: string;
169
169
  targetSubAgentId: string | null;
170
170
  relationType: string | null;
@@ -205,11 +205,11 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
205
205
  };
206
206
  }) => Promise<{
207
207
  id: string;
208
- tenantId: string;
209
208
  createdAt: string;
210
209
  updatedAt: string;
211
210
  agentId: string;
212
211
  projectId: string;
212
+ tenantId: string;
213
213
  subAgentId: string;
214
214
  toolId: string;
215
215
  headers: Record<string, string> | null;
@@ -249,11 +249,11 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
249
249
  relationId: string;
250
250
  }) => Promise<{
251
251
  id: string;
252
- tenantId: string;
253
252
  createdAt: string;
254
253
  updatedAt: string;
255
254
  agentId: string;
256
255
  projectId: string;
256
+ tenantId: string;
257
257
  subAgentId: string;
258
258
  toolId: string;
259
259
  headers: Record<string, string> | null;
@@ -10,11 +10,11 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
10
10
  relationId: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- tenantId: string;
14
13
  createdAt: string;
15
14
  updatedAt: string;
16
15
  agentId: string;
17
16
  projectId: string;
17
+ tenantId: string;
18
18
  subAgentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  targetAgentId: string;
@@ -45,11 +45,11 @@ declare const getSubAgentTeamAgentRelations: (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
50
  agentId: string;
52
51
  projectId: string;
52
+ tenantId: string;
53
53
  subAgentId: string;
54
54
  headers: Record<string, string> | null;
55
55
  targetAgentId: string;
@@ -58,11 +58,11 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
60
  id: string;
61
- tenantId: string;
62
61
  createdAt: string;
63
62
  updatedAt: string;
64
63
  agentId: string;
65
64
  projectId: string;
65
+ tenantId: string;
66
66
  subAgentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  targetAgentId: string;
@@ -211,11 +211,11 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
211
211
  };
212
212
  }) => Promise<{
213
213
  id: string;
214
- tenantId: string;
215
214
  createdAt: string;
216
215
  updatedAt: string;
217
216
  agentId: string;
218
217
  projectId: string;
218
+ tenantId: string;
219
219
  subAgentId: string;
220
220
  headers: Record<string, string> | null;
221
221
  targetAgentId: string;
@@ -228,11 +228,11 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
228
228
  targetAgentId: string;
229
229
  }) => Promise<{
230
230
  id: string;
231
- tenantId: string;
232
231
  createdAt: string;
233
232
  updatedAt: string;
234
233
  agentId: string;
235
234
  projectId: string;
235
+ tenantId: string;
236
236
  subAgentId: string;
237
237
  headers: Record<string, string> | null;
238
238
  targetAgentId: string;
@@ -249,11 +249,11 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
249
249
  };
250
250
  }) => Promise<{
251
251
  id: string;
252
- tenantId: string;
253
252
  createdAt: string;
254
253
  updatedAt: string;
255
254
  agentId: string;
256
255
  projectId: string;
256
+ tenantId: string;
257
257
  subAgentId: string;
258
258
  headers: Record<string, string> | null;
259
259
  targetAgentId: string;
@@ -9,14 +9,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
9
9
  scopes: AgentScopeConfig;
10
10
  subAgentId: string;
11
11
  }) => Promise<{
12
- description: string | null;
12
+ name: string;
13
13
  id: string;
14
- tenantId: string;
15
14
  createdAt: string;
16
- name: string;
17
15
  updatedAt: string;
18
16
  agentId: string;
19
17
  projectId: string;
18
+ tenantId: string;
19
+ description: string | null;
20
20
  models: {
21
21
  base?: {
22
22
  model?: string | undefined;
@@ -40,14 +40,14 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
40
40
  declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
41
41
  scopes: AgentScopeConfig;
42
42
  }) => Promise<{
43
- description: string | null;
43
+ name: string;
44
44
  id: string;
45
- tenantId: string;
46
45
  createdAt: string;
47
- name: string;
48
46
  updatedAt: string;
49
47
  agentId: string;
50
48
  projectId: string;
49
+ tenantId: string;
50
+ description: string | null;
51
51
  models: {
52
52
  base?: {
53
53
  model?: string | undefined;
@@ -109,14 +109,14 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
109
109
  };
110
110
  }>;
111
111
  declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
112
- description: string | null;
112
+ name: string;
113
113
  id: string;
114
- tenantId: string;
115
114
  createdAt: string;
116
- name: string;
117
115
  updatedAt: string;
118
116
  agentId: string;
119
117
  projectId: string;
118
+ tenantId: string;
119
+ description: string | null;
120
120
  models: {
121
121
  base?: {
122
122
  model?: string | undefined;