@inkeep/agents-core 0.0.0-dev-20260331135509 → 0.0.0-dev-20260331174912

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 (31) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +17 -17
  2. package/dist/data-access/manage/agents.d.ts +27 -27
  3. package/dist/data-access/manage/artifactComponents.d.ts +6 -6
  4. package/dist/data-access/manage/contextConfigs.d.ts +8 -8
  5. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  6. package/dist/data-access/manage/functionTools.d.ts +10 -10
  7. package/dist/data-access/manage/skills.d.ts +7 -7
  8. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
  9. package/dist/data-access/manage/subAgentRelations.d.ts +26 -26
  10. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
  11. package/dist/data-access/manage/subAgents.d.ts +9 -9
  12. package/dist/data-access/manage/tools.d.ts +18 -18
  13. package/dist/data-access/manage/triggers.d.ts +2 -2
  14. package/dist/data-access/runtime/apiKeys.d.ts +8 -8
  15. package/dist/data-access/runtime/apps.d.ts +6 -6
  16. package/dist/data-access/runtime/conversations.d.ts +12 -12
  17. package/dist/data-access/runtime/messages.d.ts +15 -15
  18. package/dist/data-access/runtime/tasks.d.ts +2 -2
  19. package/dist/db/manage/manage-schema.d.ts +341 -557
  20. package/dist/db/manage/manage-schema.js +2 -128
  21. package/dist/db/runtime/runtime-schema.d.ts +374 -374
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.js +2 -2
  24. package/dist/middleware/no-auth.d.ts +2 -2
  25. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  26. package/dist/validation/schemas/skills.d.ts +29 -29
  27. package/dist/validation/schemas.d.ts +1719 -1719
  28. package/drizzle/manage/0016_complex_klaw.sql +2 -0
  29. package/drizzle/manage/meta/0016_snapshot.json +3530 -0
  30. package/drizzle/manage/meta/_journal.json +7 -0
  31. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { z } from "@hono/zod-openapi";
2
2
  import * as drizzle_orm_pg_core84 from "drizzle-orm/pg-core";
3
- import * as drizzle_zod0 from "drizzle-zod";
3
+ import * as drizzle_zod3 from "drizzle-zod";
4
4
 
5
5
  //#region src/auth/auth-validation-schemas.d.ts
6
- declare const UserSelectSchema: drizzle_zod0.BuildSchema<"select", {
6
+ declare const UserSelectSchema: drizzle_zod3.BuildSchema<"select", {
7
7
  id: drizzle_orm_pg_core84.PgColumn<{
8
8
  name: "id";
9
9
  tableName: "user";
@@ -124,7 +124,7 @@ declare const UserSelectSchema: drizzle_zod0.BuildSchema<"select", {
124
124
  generated: undefined;
125
125
  }, {}, {}>;
126
126
  }, undefined, undefined>;
127
- declare const UserInsertSchema: drizzle_zod0.BuildSchema<"insert", {
127
+ declare const UserInsertSchema: drizzle_zod3.BuildSchema<"insert", {
128
128
  id: drizzle_orm_pg_core84.PgColumn<{
129
129
  name: "id";
130
130
  tableName: "user";
@@ -245,7 +245,7 @@ declare const UserInsertSchema: drizzle_zod0.BuildSchema<"insert", {
245
245
  generated: undefined;
246
246
  }, {}, {}>;
247
247
  }, undefined, undefined>;
248
- declare const SessionSelectSchema: drizzle_zod0.BuildSchema<"select", {
248
+ declare const SessionSelectSchema: drizzle_zod3.BuildSchema<"select", {
249
249
  id: drizzle_orm_pg_core84.PgColumn<{
250
250
  name: "id";
251
251
  tableName: "session";
@@ -400,7 +400,7 @@ declare const SessionSelectSchema: drizzle_zod0.BuildSchema<"select", {
400
400
  generated: undefined;
401
401
  }, {}, {}>;
402
402
  }, undefined, undefined>;
403
- declare const SessionInsertSchema: drizzle_zod0.BuildSchema<"insert", {
403
+ declare const SessionInsertSchema: drizzle_zod3.BuildSchema<"insert", {
404
404
  id: drizzle_orm_pg_core84.PgColumn<{
405
405
  name: "id";
406
406
  tableName: "session";
@@ -555,7 +555,7 @@ declare const SessionInsertSchema: drizzle_zod0.BuildSchema<"insert", {
555
555
  generated: undefined;
556
556
  }, {}, {}>;
557
557
  }, undefined, undefined>;
558
- declare const AccountSelectSchema: drizzle_zod0.BuildSchema<"select", {
558
+ declare const AccountSelectSchema: drizzle_zod3.BuildSchema<"select", {
559
559
  id: drizzle_orm_pg_core84.PgColumn<{
560
560
  name: "id";
561
561
  tableName: "account";
@@ -778,7 +778,7 @@ declare const AccountSelectSchema: drizzle_zod0.BuildSchema<"select", {
778
778
  generated: undefined;
779
779
  }, {}, {}>;
780
780
  }, undefined, undefined>;
781
- declare const AccountInsertSchema: drizzle_zod0.BuildSchema<"insert", {
781
+ declare const AccountInsertSchema: drizzle_zod3.BuildSchema<"insert", {
782
782
  id: drizzle_orm_pg_core84.PgColumn<{
783
783
  name: "id";
784
784
  tableName: "account";
@@ -1001,7 +1001,7 @@ declare const AccountInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1001
1001
  generated: undefined;
1002
1002
  }, {}, {}>;
1003
1003
  }, undefined, undefined>;
1004
- declare const OrganizationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1004
+ declare const OrganizationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1005
1005
  id: drizzle_orm_pg_core84.PgColumn<{
1006
1006
  name: "id";
1007
1007
  tableName: "organization";
@@ -1156,7 +1156,7 @@ declare const OrganizationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1156
1156
  generated: undefined;
1157
1157
  }, {}, {}>;
1158
1158
  }, undefined, undefined>;
1159
- declare const OrganizationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1159
+ declare const OrganizationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1160
1160
  id: drizzle_orm_pg_core84.PgColumn<{
1161
1161
  name: "id";
1162
1162
  tableName: "organization";
@@ -1311,7 +1311,7 @@ declare const OrganizationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1311
1311
  generated: undefined;
1312
1312
  }, {}, {}>;
1313
1313
  }, undefined, undefined>;
1314
- declare const MemberSelectSchema: drizzle_zod0.BuildSchema<"select", {
1314
+ declare const MemberSelectSchema: drizzle_zod3.BuildSchema<"select", {
1315
1315
  id: drizzle_orm_pg_core84.PgColumn<{
1316
1316
  name: "id";
1317
1317
  tableName: "member";
@@ -1398,7 +1398,7 @@ declare const MemberSelectSchema: drizzle_zod0.BuildSchema<"select", {
1398
1398
  generated: undefined;
1399
1399
  }, {}, {}>;
1400
1400
  }, undefined, undefined>;
1401
- declare const MemberInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1401
+ declare const MemberInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1402
1402
  id: drizzle_orm_pg_core84.PgColumn<{
1403
1403
  name: "id";
1404
1404
  tableName: "member";
@@ -1485,7 +1485,7 @@ declare const MemberInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1485
1485
  generated: undefined;
1486
1486
  }, {}, {}>;
1487
1487
  }, undefined, undefined>;
1488
- declare const InvitationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1488
+ declare const InvitationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1489
1489
  id: drizzle_orm_pg_core84.PgColumn<{
1490
1490
  name: "id";
1491
1491
  tableName: "invitation";
@@ -1640,7 +1640,7 @@ declare const InvitationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1640
1640
  generated: undefined;
1641
1641
  }, {}, {}>;
1642
1642
  }, undefined, undefined>;
1643
- declare const InvitationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1643
+ declare const InvitationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1644
1644
  id: drizzle_orm_pg_core84.PgColumn<{
1645
1645
  name: "id";
1646
1646
  tableName: "invitation";
@@ -1795,7 +1795,7 @@ declare const InvitationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1795
1795
  generated: undefined;
1796
1796
  }, {}, {}>;
1797
1797
  }, undefined, undefined>;
1798
- declare const DeviceCodeSelectSchema: drizzle_zod0.BuildSchema<"select", {
1798
+ declare const DeviceCodeSelectSchema: drizzle_zod3.BuildSchema<"select", {
1799
1799
  id: drizzle_orm_pg_core84.PgColumn<{
1800
1800
  name: "id";
1801
1801
  tableName: "device_code";
@@ -1967,7 +1967,7 @@ declare const DeviceCodeSelectSchema: drizzle_zod0.BuildSchema<"select", {
1967
1967
  generated: undefined;
1968
1968
  }, {}, {}>;
1969
1969
  }, undefined, undefined>;
1970
- declare const DeviceCodeInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1970
+ declare const DeviceCodeInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1971
1971
  id: drizzle_orm_pg_core84.PgColumn<{
1972
1972
  name: "id";
1973
1973
  tableName: "device_code";
@@ -2139,7 +2139,7 @@ declare const DeviceCodeInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2139
2139
  generated: undefined;
2140
2140
  }, {}, {}>;
2141
2141
  }, undefined, undefined>;
2142
- declare const VerificationSelectSchema: drizzle_zod0.BuildSchema<"select", {
2142
+ declare const VerificationSelectSchema: drizzle_zod3.BuildSchema<"select", {
2143
2143
  id: drizzle_orm_pg_core84.PgColumn<{
2144
2144
  name: "id";
2145
2145
  tableName: "verification";
@@ -2243,7 +2243,7 @@ declare const VerificationSelectSchema: drizzle_zod0.BuildSchema<"select", {
2243
2243
  generated: undefined;
2244
2244
  }, {}, {}>;
2245
2245
  }, undefined, undefined>;
2246
- declare const VerificationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2246
+ declare const VerificationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2247
2247
  id: drizzle_orm_pg_core84.PgColumn<{
2248
2248
  name: "id";
2249
2249
  tableName: "verification";
@@ -15,10 +15,8 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
15
15
  createdAt: string;
16
16
  updatedAt: string;
17
17
  description: string | null;
18
- projectId: string;
19
18
  tenantId: string;
20
- defaultSubAgentId: string | null;
21
- contextConfigId: string | null;
19
+ projectId: string;
22
20
  models: {
23
21
  base?: {
24
22
  model?: string | undefined;
@@ -33,6 +31,11 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
33
31
  providerOptions?: Record<string, unknown> | undefined;
34
32
  } | undefined;
35
33
  } | null;
34
+ stopWhen: {
35
+ transferCountIs?: number | undefined;
36
+ } | null;
37
+ defaultSubAgentId: string | null;
38
+ contextConfigId: string | null;
36
39
  prompt: string | null;
37
40
  statusUpdates: {
38
41
  enabled?: boolean | undefined;
@@ -49,9 +52,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
49
52
  } | undefined;
50
53
  }[] | undefined;
51
54
  } | null;
52
- stopWhen: {
53
- transferCountIs?: number | undefined;
54
- } | null;
55
55
  executionMode: "classic" | "durable";
56
56
  } | null>;
57
57
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -62,10 +62,8 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
62
62
  createdAt: string;
63
63
  updatedAt: string;
64
64
  description: string | null;
65
- projectId: string;
66
65
  tenantId: string;
67
- defaultSubAgentId: string | null;
68
- contextConfigId: string | null;
66
+ projectId: string;
69
67
  models: {
70
68
  base?: {
71
69
  model?: string | undefined;
@@ -80,6 +78,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
80
78
  providerOptions?: Record<string, unknown> | undefined;
81
79
  } | undefined;
82
80
  } | null;
81
+ stopWhen: {
82
+ transferCountIs?: number | undefined;
83
+ } | null;
84
+ defaultSubAgentId: string | null;
85
+ contextConfigId: string | null;
83
86
  prompt: string | null;
84
87
  statusUpdates: {
85
88
  enabled?: boolean | undefined;
@@ -96,9 +99,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
96
99
  } | undefined;
97
100
  }[] | undefined;
98
101
  } | null;
99
- stopWhen: {
100
- transferCountIs?: number | undefined;
101
- } | null;
102
102
  executionMode: "classic" | "durable";
103
103
  defaultSubAgent: {
104
104
  id: string;
@@ -106,9 +106,8 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
106
106
  createdAt: string;
107
107
  updatedAt: string;
108
108
  description: string | null;
109
- agentId: string;
110
- projectId: string;
111
109
  tenantId: string;
110
+ projectId: string;
112
111
  models: {
113
112
  base?: {
114
113
  model?: string | undefined;
@@ -123,10 +122,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
123
122
  providerOptions?: Record<string, unknown> | undefined;
124
123
  } | undefined;
125
124
  } | null;
126
- prompt: string | null;
127
125
  stopWhen: {
128
126
  stepCountIs?: number | undefined;
129
127
  } | null;
128
+ agentId: string;
129
+ prompt: string | null;
130
130
  conversationHistoryConfig: ConversationHistoryConfig | null;
131
131
  } | null;
132
132
  } | null>;
@@ -138,10 +138,8 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
138
138
  createdAt: string;
139
139
  updatedAt: string;
140
140
  description: string | null;
141
- projectId: string;
142
141
  tenantId: string;
143
- defaultSubAgentId: string | null;
144
- contextConfigId: string | null;
142
+ projectId: string;
145
143
  models: {
146
144
  base?: {
147
145
  model?: string | undefined;
@@ -156,6 +154,11 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
156
154
  providerOptions?: Record<string, unknown> | undefined;
157
155
  } | undefined;
158
156
  } | null;
157
+ stopWhen: {
158
+ transferCountIs?: number | undefined;
159
+ } | null;
160
+ defaultSubAgentId: string | null;
161
+ contextConfigId: string | null;
159
162
  prompt: string | null;
160
163
  statusUpdates: {
161
164
  enabled?: boolean | undefined;
@@ -172,9 +175,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
172
175
  } | undefined;
173
176
  }[] | undefined;
174
177
  } | null;
175
- stopWhen: {
176
- transferCountIs?: number | undefined;
177
- } | null;
178
178
  executionMode: "classic" | "durable";
179
179
  }[]>;
180
180
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -256,10 +256,8 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
256
256
  createdAt: string;
257
257
  updatedAt: string;
258
258
  description: string | null;
259
- projectId: string;
260
259
  tenantId: string;
261
- defaultSubAgentId: string | null;
262
- contextConfigId: string | null;
260
+ projectId: string;
263
261
  models: {
264
262
  base?: {
265
263
  model?: string | undefined;
@@ -274,6 +272,11 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
274
272
  providerOptions?: Record<string, unknown> | undefined;
275
273
  } | undefined;
276
274
  } | null;
275
+ stopWhen: {
276
+ transferCountIs?: number | undefined;
277
+ } | null;
278
+ defaultSubAgentId: string | null;
279
+ contextConfigId: string | null;
277
280
  prompt: string | null;
278
281
  statusUpdates: {
279
282
  enabled?: boolean | undefined;
@@ -290,9 +293,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
290
293
  } | undefined;
291
294
  }[] | undefined;
292
295
  } | null;
293
- stopWhen: {
294
- transferCountIs?: number | undefined;
295
- } | null;
296
296
  executionMode: "classic" | "durable";
297
297
  }>;
298
298
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -14,8 +14,8 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
14
14
  createdAt: string;
15
15
  updatedAt: string;
16
16
  description: string | null;
17
- projectId: string;
18
17
  tenantId: string;
18
+ projectId: string;
19
19
  props: {
20
20
  [x: string]: unknown;
21
21
  type: "object";
@@ -70,8 +70,8 @@ declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (para
70
70
  createdAt: string;
71
71
  updatedAt: string;
72
72
  description: string | null;
73
- projectId: string;
74
73
  tenantId: string;
74
+ projectId: string;
75
75
  props: {
76
76
  [x: string]: unknown;
77
77
  type: "object";
@@ -143,10 +143,10 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
143
143
  }) => Promise<{
144
144
  id: string;
145
145
  createdAt: string;
146
- agentId: string;
147
- projectId: string;
148
146
  tenantId: string;
147
+ projectId: string;
149
148
  subAgentId: string;
149
+ agentId: string;
150
150
  artifactComponentId: string;
151
151
  }>;
152
152
  declare const removeArtifactComponentFromAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -186,10 +186,10 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
186
186
  }) => Promise<{
187
187
  id: string;
188
188
  createdAt: string;
189
- agentId: string;
190
- projectId: string;
191
189
  tenantId: string;
190
+ projectId: string;
192
191
  subAgentId: string;
192
+ agentId: 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
+ projectId: string;
15
17
  headersSchema: unknown;
16
18
  contextVariables: Record<string, ContextFetchDefinition> | null;
17
19
  agentId: string;
18
- projectId: string;
19
- tenantId: 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
+ projectId: string;
27
29
  headersSchema: unknown;
28
30
  contextVariables: Record<string, ContextFetchDefinition> | null;
29
31
  agentId: string;
30
- projectId: string;
31
- tenantId: 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
+ projectId: string;
49
51
  headersSchema: unknown;
50
52
  contextVariables: Record<string, ContextFetchDefinition> | null;
51
53
  agentId: string;
52
- projectId: string;
53
- tenantId: 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
+ projectId: string;
89
91
  headersSchema: unknown;
90
92
  contextVariables: Record<string, ContextFetchDefinition> | null;
91
93
  agentId: string;
92
- projectId: string;
93
- tenantId: string;
94
94
  }>;
95
95
  //#endregion
96
96
  export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
@@ -67,10 +67,10 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
67
67
  }) => Promise<{
68
68
  id: string;
69
69
  createdAt: string;
70
- agentId: string;
71
- projectId: string;
72
70
  tenantId: string;
71
+ projectId: string;
73
72
  subAgentId: string;
73
+ agentId: string;
74
74
  dataComponentId: string;
75
75
  }>;
76
76
  /**
@@ -109,10 +109,10 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
109
109
  }) => Promise<{
110
110
  id: string;
111
111
  createdAt: string;
112
- agentId: string;
113
- projectId: string;
114
112
  tenantId: string;
113
+ projectId: string;
115
114
  subAgentId: string;
115
+ agentId: string;
116
116
  dataComponentId: string;
117
117
  } | null>;
118
118
  /**
@@ -58,9 +58,9 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
58
58
  createdAt: string;
59
59
  updatedAt: string;
60
60
  description: string | null;
61
- agentId: string;
62
- projectId: string;
63
61
  tenantId: string;
62
+ projectId: string;
63
+ agentId: string;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -100,9 +100,9 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
100
100
  createdAt: string;
101
101
  updatedAt: string;
102
102
  description: string | null;
103
- agentId: string;
104
- projectId: string;
105
103
  tenantId: string;
104
+ projectId: string;
105
+ agentId: string;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -160,14 +160,14 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
160
160
  id: string;
161
161
  createdAt: string;
162
162
  updatedAt: string;
163
- agentId: string;
164
- projectId: string;
165
163
  tenantId: string;
164
+ projectId: string;
166
165
  subAgentId: string;
166
+ agentId: 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
@@ -225,14 +225,14 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
225
225
  id: string;
226
226
  createdAt: string;
227
227
  updatedAt: string;
228
- agentId: string;
229
- projectId: string;
230
228
  tenantId: string;
229
+ projectId: string;
231
230
  subAgentId: string;
231
+ agentId: 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 };
@@ -21,9 +21,9 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
21
21
  updatedAt: string;
22
22
  metadata: Record<string, string> | null;
23
23
  description: string;
24
- projectId: string;
25
- tenantId: string;
26
24
  content: string;
25
+ tenantId: string;
26
+ projectId: string;
27
27
  } | null>;
28
28
  declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
29
29
  scopes: ProjectScopeConfig;
@@ -116,9 +116,9 @@ declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiIn
116
116
  updatedAt: string;
117
117
  metadata: Record<string, string> | null;
118
118
  description: string;
119
- projectId: string;
120
- tenantId: string;
121
119
  content: string;
120
+ tenantId: string;
121
+ projectId: string;
122
122
  }>;
123
123
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
124
124
  scopes: ProjectScopeConfig;
@@ -142,13 +142,13 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
142
142
  id: string;
143
143
  createdAt: string;
144
144
  updatedAt: string;
145
- agentId: string;
146
- projectId: string;
147
145
  tenantId: string;
146
+ projectId: string;
148
147
  subAgentId: string;
149
- skillId: string;
148
+ agentId: 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;
@@ -12,11 +12,11 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
12
12
  id: string;
13
13
  createdAt: string;
14
14
  updatedAt: string;
15
- headers: Record<string, string> | null;
16
- agentId: string;
17
- projectId: string;
18
15
  tenantId: string;
16
+ projectId: string;
19
17
  subAgentId: string;
18
+ agentId: string;
19
+ headers: Record<string, string> | null;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -47,11 +47,11 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
47
47
  id: string;
48
48
  createdAt: string;
49
49
  updatedAt: string;
50
- headers: Record<string, string> | null;
51
- agentId: string;
52
- projectId: string;
53
50
  tenantId: string;
51
+ projectId: string;
54
52
  subAgentId: string;
53
+ agentId: string;
54
+ headers: Record<string, string> | null;
55
55
  externalAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -60,11 +60,11 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
60
60
  id: string;
61
61
  createdAt: string;
62
62
  updatedAt: string;
63
- headers: Record<string, string> | null;
64
- agentId: string;
65
- projectId: string;
66
63
  tenantId: string;
64
+ projectId: string;
67
65
  subAgentId: string;
66
+ agentId: string;
67
+ headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -183,11 +183,11 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
183
183
  id: string;
184
184
  createdAt: string;
185
185
  updatedAt: string;
186
- headers: Record<string, string> | null;
187
- agentId: string;
188
- projectId: string;
189
186
  tenantId: string;
187
+ projectId: string;
190
188
  subAgentId: string;
189
+ agentId: string;
190
+ headers: Record<string, string> | null;
191
191
  externalAgentId: string;
192
192
  }>;
193
193
  /**
@@ -200,11 +200,11 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
200
200
  id: string;
201
201
  createdAt: string;
202
202
  updatedAt: string;
203
- headers: Record<string, string> | null;
204
- agentId: string;
205
- projectId: string;
206
203
  tenantId: string;
204
+ projectId: string;
207
205
  subAgentId: string;
206
+ agentId: string;
207
+ headers: Record<string, string> | null;
208
208
  externalAgentId: string;
209
209
  } | undefined>;
210
210
  /**
@@ -221,11 +221,11 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
221
221
  id: string;
222
222
  createdAt: string;
223
223
  updatedAt: string;
224
- headers: Record<string, string> | null;
225
- agentId: string;
226
- projectId: string;
227
224
  tenantId: string;
225
+ projectId: string;
228
226
  subAgentId: string;
227
+ agentId: string;
228
+ headers: Record<string, string> | null;
229
229
  externalAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {