@inkeep/agents-core 0.0.0-dev-20260403190627 → 0.0.0-dev-20260403194639

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 (32) hide show
  1. package/dist/auth/auth-schema.d.ts +108 -108
  2. package/dist/auth/auth-validation-schemas.d.ts +154 -154
  3. package/dist/auth/permissions.d.ts +9 -9
  4. package/dist/data-access/manage/agents.d.ts +25 -25
  5. package/dist/data-access/manage/artifactComponents.d.ts +14 -14
  6. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  7. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +12 -12
  9. package/dist/data-access/manage/skills.d.ts +11 -11
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +12 -12
  11. package/dist/data-access/manage/subAgentRelations.d.ts +14 -14
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +12 -12
  13. package/dist/data-access/manage/subAgents.d.ts +15 -15
  14. package/dist/data-access/manage/tools.d.ts +27 -27
  15. package/dist/data-access/manage/tools.js +1 -1
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/apps.d.ts +10 -10
  18. package/dist/data-access/runtime/conversations.d.ts +24 -24
  19. package/dist/data-access/runtime/messages.d.ts +27 -27
  20. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  21. package/dist/data-access/runtime/tasks.d.ts +5 -5
  22. package/dist/db/manage/dolt-safe-jsonb.d.ts +12 -0
  23. package/dist/db/manage/dolt-safe-jsonb.js +61 -0
  24. package/dist/db/manage/manage-schema.d.ts +483 -483
  25. package/dist/db/manage/manage-schema.js +40 -39
  26. package/dist/db/runtime/runtime-schema.d.ts +376 -376
  27. package/dist/middleware/no-auth.d.ts +2 -2
  28. package/dist/utils/error.d.ts +51 -51
  29. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  30. package/dist/validation/schemas/skills.d.ts +45 -45
  31. package/dist/validation/schemas.d.ts +2312 -2312
  32. package/package.json +1 -1
@@ -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" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
9
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
8
+ authorize<K_1 extends "organization" | "project" | "member" | "team" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
9
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key];
10
10
  connector: "OR" | "AND";
11
11
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
12
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
12
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
16
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
15
+ authorize<K_1 extends "organization" | "project" | "member" | "team" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
16
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key];
17
17
  connector: "OR" | "AND";
18
18
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
19
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
19
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
23
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>[key];
22
+ authorize<K_1 extends "organization" | "project" | "member" | "team" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
23
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key];
24
24
  connector: "OR" | "AND";
25
25
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
26
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins0.Statements>;
26
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -10,11 +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
- id: string;
14
13
  name: string;
14
+ description: string | null;
15
+ id: string;
15
16
  createdAt: string;
16
17
  updatedAt: string;
17
- description: string | null;
18
+ projectId: string;
19
+ tenantId: string;
18
20
  models: {
19
21
  base?: {
20
22
  model?: string | undefined;
@@ -38,10 +40,9 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
38
40
  stopWhen: {
39
41
  transferCountIs?: number | undefined;
40
42
  } | null;
41
- tenantId: string;
43
+ prompt: string | null;
42
44
  defaultSubAgentId: string | null;
43
45
  contextConfigId: string | null;
44
- prompt: string | null;
45
46
  statusUpdates: {
46
47
  enabled?: boolean | undefined;
47
48
  numEvents?: number | undefined;
@@ -58,16 +59,17 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
58
59
  }[] | undefined;
59
60
  } | null;
60
61
  executionMode: "classic" | "durable";
61
- projectId: string;
62
62
  } | null>;
63
63
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
64
64
  scopes: AgentScopeConfig;
65
65
  }) => Promise<{
66
- id: string;
67
66
  name: string;
67
+ description: string | null;
68
+ id: string;
68
69
  createdAt: string;
69
70
  updatedAt: string;
70
- description: string | null;
71
+ projectId: string;
72
+ tenantId: string;
71
73
  models: {
72
74
  base?: {
73
75
  model?: string | undefined;
@@ -91,10 +93,9 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
91
93
  stopWhen: {
92
94
  transferCountIs?: number | undefined;
93
95
  } | null;
94
- tenantId: string;
96
+ prompt: string | null;
95
97
  defaultSubAgentId: string | null;
96
98
  contextConfigId: string | null;
97
- prompt: string | null;
98
99
  statusUpdates: {
99
100
  enabled?: boolean | undefined;
100
101
  numEvents?: number | undefined;
@@ -111,13 +112,14 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
111
112
  }[] | undefined;
112
113
  } | null;
113
114
  executionMode: "classic" | "durable";
114
- projectId: string;
115
115
  defaultSubAgent: {
116
- id: string;
117
116
  name: string;
117
+ description: string | null;
118
+ id: string;
118
119
  createdAt: string;
119
120
  updatedAt: string;
120
- description: string | null;
121
+ projectId: string;
122
+ tenantId: string;
121
123
  models: {
122
124
  base?: {
123
125
  model?: string | undefined;
@@ -141,21 +143,21 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
141
143
  stopWhen: {
142
144
  stepCountIs?: number | undefined;
143
145
  } | null;
144
- tenantId: string;
145
146
  prompt: string | null;
146
- projectId: string;
147
- agentId: string;
148
147
  conversationHistoryConfig: ConversationHistoryConfig | null;
148
+ agentId: string;
149
149
  } | null;
150
150
  } | null>;
151
151
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
152
  scopes: ProjectScopeConfig;
153
153
  }) => Promise<{
154
- id: string;
155
154
  name: string;
155
+ description: string | null;
156
+ id: string;
156
157
  createdAt: string;
157
158
  updatedAt: string;
158
- description: string | null;
159
+ projectId: string;
160
+ tenantId: string;
159
161
  models: {
160
162
  base?: {
161
163
  model?: string | undefined;
@@ -179,10 +181,9 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
179
181
  stopWhen: {
180
182
  transferCountIs?: number | undefined;
181
183
  } | null;
182
- tenantId: string;
184
+ prompt: string | null;
183
185
  defaultSubAgentId: string | null;
184
186
  contextConfigId: string | null;
185
- prompt: string | null;
186
187
  statusUpdates: {
187
188
  enabled?: boolean | undefined;
188
189
  numEvents?: number | undefined;
@@ -199,7 +200,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
199
200
  }[] | undefined;
200
201
  } | null;
201
202
  executionMode: "classic" | "durable";
202
- projectId: string;
203
203
  }[]>;
204
204
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
205
205
  scopes: ProjectScopeConfig;
@@ -281,11 +281,13 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
281
281
  projectIds: string[];
282
282
  }): Promise<AvailableAgentInfo[]>;
283
283
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
284
- id: string;
285
284
  name: string;
285
+ description: string | null;
286
+ id: string;
286
287
  createdAt: string;
287
288
  updatedAt: string;
288
- description: string | null;
289
+ projectId: string;
290
+ tenantId: string;
289
291
  models: {
290
292
  base?: {
291
293
  model?: string | undefined;
@@ -309,10 +311,9 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
309
311
  stopWhen: {
310
312
  transferCountIs?: number | undefined;
311
313
  } | null;
312
- tenantId: string;
314
+ prompt: string | null;
313
315
  defaultSubAgentId: string | null;
314
316
  contextConfigId: string | null;
315
- prompt: string | null;
316
317
  statusUpdates: {
317
318
  enabled?: boolean | undefined;
318
319
  numEvents?: number | undefined;
@@ -329,7 +330,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
329
330
  }[] | undefined;
330
331
  } | null;
331
332
  executionMode: "classic" | "durable";
332
- projectId: string;
333
333
  }>;
334
334
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
335
335
  scopes: AgentScopeConfig;
@@ -9,13 +9,9 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- id: string;
13
12
  name: string;
14
- createdAt: string;
15
- updatedAt: string;
16
13
  description: string | null;
17
- tenantId: string;
18
- projectId: string;
14
+ id: string;
19
15
  props: {
20
16
  [x: string]: unknown;
21
17
  type: "object";
@@ -28,6 +24,10 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
28
24
  component: string;
29
25
  mockData: Record<string, unknown>;
30
26
  } | null;
27
+ createdAt: string;
28
+ updatedAt: string;
29
+ projectId: string;
30
+ tenantId: string;
31
31
  } | undefined>;
32
32
  declare const listArtifactComponents: (db: AgentsManageDatabaseClient) => (params: {
33
33
  scopes: ProjectScopeConfig;
@@ -65,13 +65,9 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
65
65
  };
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
- id: string;
69
68
  name: string;
70
- createdAt: string;
71
- updatedAt: string;
72
69
  description: string | null;
73
- tenantId: string;
74
- projectId: string;
70
+ id: string;
75
71
  props: {
76
72
  [x: string]: unknown;
77
73
  type: "object";
@@ -84,6 +80,10 @@ declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (para
84
80
  component: string;
85
81
  mockData: Record<string, unknown>;
86
82
  } | null;
83
+ createdAt: string;
84
+ updatedAt: string;
85
+ projectId: string;
86
+ tenantId: string;
87
87
  }>;
88
88
  declare const updateArtifactComponent: (db: AgentsManageDatabaseClient) => (params: {
89
89
  scopes: ProjectScopeConfig;
@@ -141,12 +141,12 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
141
141
  scopes: SubAgentScopeConfig;
142
142
  artifactComponentId: string;
143
143
  }) => Promise<{
144
+ subAgentId: string;
144
145
  id: string;
145
146
  createdAt: string;
146
- tenantId: string;
147
147
  projectId: string;
148
+ tenantId: string;
148
149
  agentId: string;
149
- subAgentId: string;
150
150
  artifactComponentId: string;
151
151
  }>;
152
152
  declare const removeArtifactComponentFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -184,12 +184,12 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
184
184
  scopes: SubAgentScopeConfig;
185
185
  artifactComponentId: string;
186
186
  }) => Promise<{
187
+ subAgentId: string;
187
188
  id: string;
188
189
  createdAt: string;
189
- tenantId: string;
190
190
  projectId: string;
191
+ tenantId: string;
191
192
  agentId: string;
192
- subAgentId: string;
193
193
  artifactComponentId: string;
194
194
  } | null>;
195
195
  /**
@@ -12,11 +12,11 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- tenantId: string;
16
15
  projectId: string;
16
+ tenantId: string;
17
+ agentId: string;
17
18
  headersSchema: unknown;
18
19
  contextVariables: Record<string, ContextFetchDefinition> | null;
19
- agentId: string;
20
20
  } | undefined>;
21
21
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
@@ -24,11 +24,11 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
24
24
  id: string;
25
25
  createdAt: string;
26
26
  updatedAt: string;
27
- tenantId: string;
28
27
  projectId: string;
28
+ tenantId: string;
29
+ agentId: string;
29
30
  headersSchema: unknown;
30
31
  contextVariables: Record<string, ContextFetchDefinition> | null;
31
- agentId: string;
32
32
  }[]>;
33
33
  declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
34
34
  scopes: AgentScopeConfig;
@@ -46,11 +46,11 @@ declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params:
46
46
  id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- tenantId: string;
50
49
  projectId: string;
50
+ tenantId: string;
51
+ agentId: string;
51
52
  headersSchema: unknown;
52
53
  contextVariables: Record<string, ContextFetchDefinition> | null;
53
- agentId: string;
54
54
  }>;
55
55
  declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
56
56
  scopes: AgentScopeConfig;
@@ -86,11 +86,11 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
86
86
  id: string;
87
87
  createdAt: string;
88
88
  updatedAt: string;
89
- tenantId: string;
90
89
  projectId: string;
90
+ tenantId: string;
91
+ agentId: string;
91
92
  headersSchema: unknown;
92
93
  contextVariables: Record<string, ContextFetchDefinition> | null;
93
- agentId: string;
94
94
  }>;
95
95
  //#endregion
96
96
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -65,12 +65,12 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
65
65
  scopes: SubAgentScopeConfig;
66
66
  dataComponentId: string;
67
67
  }) => Promise<{
68
+ subAgentId: string;
68
69
  id: string;
69
70
  createdAt: string;
70
- tenantId: string;
71
71
  projectId: string;
72
+ tenantId: string;
72
73
  agentId: string;
73
- subAgentId: string;
74
74
  dataComponentId: string;
75
75
  }>;
76
76
  /**
@@ -107,12 +107,12 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
107
107
  scopes: SubAgentScopeConfig;
108
108
  dataComponentId: string;
109
109
  }) => Promise<{
110
+ subAgentId: string;
110
111
  id: string;
111
112
  createdAt: string;
112
- tenantId: string;
113
113
  projectId: string;
114
+ tenantId: string;
114
115
  agentId: string;
115
- subAgentId: string;
116
116
  dataComponentId: string;
117
117
  } | null>;
118
118
  /**
@@ -53,13 +53,13 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
53
53
  data: FunctionToolApiInsert;
54
54
  scopes: AgentScopeConfig;
55
55
  }) => Promise<{
56
- id: string;
57
56
  name: string;
57
+ description: string | null;
58
+ id: string;
58
59
  createdAt: string;
59
60
  updatedAt: string;
60
- description: string | null;
61
- tenantId: string;
62
61
  projectId: string;
62
+ tenantId: string;
63
63
  agentId: string;
64
64
  functionId: string;
65
65
  }>;
@@ -95,13 +95,13 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
95
95
  data: FunctionToolApiInsert;
96
96
  scopes: AgentScopeConfig;
97
97
  }) => Promise<{
98
- id: string;
99
98
  name: string;
99
+ description: string | null;
100
+ id: string;
100
101
  createdAt: string;
101
102
  updatedAt: string;
102
- description: string | null;
103
- tenantId: string;
104
103
  projectId: string;
104
+ tenantId: string;
105
105
  agentId: string;
106
106
  functionId: string;
107
107
  }>;
@@ -157,17 +157,17 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
157
157
  needsApproval?: boolean;
158
158
  }> | null;
159
159
  }) => Promise<{
160
+ subAgentId: string;
160
161
  id: string;
161
162
  createdAt: string;
162
163
  updatedAt: string;
163
- tenantId: string;
164
164
  projectId: string;
165
+ tenantId: string;
165
166
  agentId: string;
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
@@ -222,17 +222,17 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
222
222
  needsApproval?: boolean;
223
223
  }> | null;
224
224
  }) => Promise<{
225
+ subAgentId: string;
225
226
  id: string;
226
227
  createdAt: string;
227
228
  updatedAt: string;
228
- tenantId: string;
229
229
  projectId: string;
230
+ tenantId: string;
230
231
  agentId: string;
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 };
@@ -15,14 +15,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  scopes: ProjectScopeConfig;
16
16
  skillId: string;
17
17
  }) => Promise<{
18
- id: string;
19
18
  name: string;
19
+ description: string;
20
+ id: string;
20
21
  createdAt: string;
21
22
  updatedAt: string;
22
- metadata: Record<string, string> | null;
23
- description: string;
24
- tenantId: string;
25
23
  projectId: string;
24
+ tenantId: string;
25
+ metadata: Record<string, string> | null;
26
26
  content: string;
27
27
  } | null>;
28
28
  declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
@@ -110,14 +110,14 @@ interface WithTenantIdProjectId {
110
110
  }
111
111
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<SkillRecordWithFiles>;
112
112
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
113
- id: string;
114
113
  name: string;
114
+ description: string;
115
+ id: string;
115
116
  createdAt: string;
116
117
  updatedAt: string;
117
- metadata: Record<string, string> | null;
118
- description: string;
119
- tenantId: string;
120
118
  projectId: string;
119
+ tenantId: string;
120
+ metadata: Record<string, string> | null;
121
121
  content: string;
122
122
  }>;
123
123
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -139,16 +139,16 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
139
139
  index: number;
140
140
  alwaysLoaded?: boolean;
141
141
  }) => Promise<{
142
+ subAgentId: string;
142
143
  id: string;
143
144
  createdAt: string;
144
145
  updatedAt: string;
145
- tenantId: string;
146
146
  projectId: string;
147
+ tenantId: string;
147
148
  agentId: string;
148
- skillId: string;
149
149
  index: number;
150
150
  alwaysLoaded: boolean;
151
- subAgentId: string;
151
+ skillId: string;
152
152
  }>;
153
153
  declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
154
154
  scopes: AgentScopeConfig;
@@ -9,13 +9,13 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ subAgentId: string;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- tenantId: string;
16
16
  projectId: string;
17
+ tenantId: string;
17
18
  agentId: string;
18
- subAgentId: string;
19
19
  headers: Record<string, string> | null;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
@@ -44,26 +44,26 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ subAgentId: string;
47
48
  id: string;
48
49
  createdAt: string;
49
50
  updatedAt: string;
50
- tenantId: string;
51
51
  projectId: string;
52
+ tenantId: string;
52
53
  agentId: string;
53
- subAgentId: string;
54
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
+ subAgentId: string;
60
61
  id: string;
61
62
  createdAt: string;
62
63
  updatedAt: string;
63
- tenantId: string;
64
64
  projectId: string;
65
+ tenantId: string;
65
66
  agentId: string;
66
- subAgentId: string;
67
67
  headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
@@ -186,13 +186,13 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
186
186
  headers?: Record<string, string> | null;
187
187
  };
188
188
  }) => Promise<{
189
+ subAgentId: string;
189
190
  id: string;
190
191
  createdAt: string;
191
192
  updatedAt: string;
192
- tenantId: string;
193
193
  projectId: string;
194
+ tenantId: string;
194
195
  agentId: string;
195
- subAgentId: string;
196
196
  headers: Record<string, string> | null;
197
197
  externalAgentId: string;
198
198
  }>;
@@ -203,13 +203,13 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
203
203
  scopes: SubAgentScopeConfig;
204
204
  externalAgentId: string;
205
205
  }) => Promise<{
206
+ subAgentId: string;
206
207
  id: string;
207
208
  createdAt: string;
208
209
  updatedAt: string;
209
- tenantId: string;
210
210
  projectId: string;
211
+ tenantId: string;
211
212
  agentId: string;
212
- subAgentId: string;
213
213
  headers: Record<string, string> | null;
214
214
  externalAgentId: string;
215
215
  } | undefined>;
@@ -224,13 +224,13 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
224
224
  headers?: Record<string, string> | null;
225
225
  };
226
226
  }) => Promise<{
227
+ subAgentId: string;
227
228
  id: string;
228
229
  createdAt: string;
229
230
  updatedAt: string;
230
- tenantId: string;
231
231
  projectId: string;
232
+ tenantId: string;
232
233
  agentId: string;
233
- subAgentId: string;
234
234
  headers: Record<string, string> | null;
235
235
  externalAgentId: string;
236
236
  }>;