@inkeep/agents-core 0.0.0-dev-20260121145510 → 0.0.0-dev-20260121155340

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.
@@ -1,9 +1,9 @@
1
1
  import { z } from "@hono/zod-openapi";
2
2
  import * as drizzle_orm_pg_core80 from "drizzle-orm/pg-core";
3
- import * as drizzle_zod3 from "drizzle-zod";
3
+ import * as drizzle_zod0 from "drizzle-zod";
4
4
 
5
5
  //#region src/auth/auth-validation-schemas.d.ts
6
- declare const UserSelectSchema: drizzle_zod3.BuildSchema<"select", {
6
+ declare const UserSelectSchema: drizzle_zod0.BuildSchema<"select", {
7
7
  id: drizzle_orm_pg_core80.PgColumn<{
8
8
  name: "id";
9
9
  tableName: "user";
@@ -124,7 +124,7 @@ declare const UserSelectSchema: drizzle_zod3.BuildSchema<"select", {
124
124
  generated: undefined;
125
125
  }, {}, {}>;
126
126
  }, undefined, undefined>;
127
- declare const UserInsertSchema: drizzle_zod3.BuildSchema<"insert", {
127
+ declare const UserInsertSchema: drizzle_zod0.BuildSchema<"insert", {
128
128
  id: drizzle_orm_pg_core80.PgColumn<{
129
129
  name: "id";
130
130
  tableName: "user";
@@ -245,7 +245,7 @@ declare const UserInsertSchema: drizzle_zod3.BuildSchema<"insert", {
245
245
  generated: undefined;
246
246
  }, {}, {}>;
247
247
  }, undefined, undefined>;
248
- declare const SessionSelectSchema: drizzle_zod3.BuildSchema<"select", {
248
+ declare const SessionSelectSchema: drizzle_zod0.BuildSchema<"select", {
249
249
  id: drizzle_orm_pg_core80.PgColumn<{
250
250
  name: "id";
251
251
  tableName: "session";
@@ -400,7 +400,7 @@ declare const SessionSelectSchema: drizzle_zod3.BuildSchema<"select", {
400
400
  generated: undefined;
401
401
  }, {}, {}>;
402
402
  }, undefined, undefined>;
403
- declare const SessionInsertSchema: drizzle_zod3.BuildSchema<"insert", {
403
+ declare const SessionInsertSchema: drizzle_zod0.BuildSchema<"insert", {
404
404
  id: drizzle_orm_pg_core80.PgColumn<{
405
405
  name: "id";
406
406
  tableName: "session";
@@ -555,7 +555,7 @@ declare const SessionInsertSchema: drizzle_zod3.BuildSchema<"insert", {
555
555
  generated: undefined;
556
556
  }, {}, {}>;
557
557
  }, undefined, undefined>;
558
- declare const AccountSelectSchema: drizzle_zod3.BuildSchema<"select", {
558
+ declare const AccountSelectSchema: drizzle_zod0.BuildSchema<"select", {
559
559
  id: drizzle_orm_pg_core80.PgColumn<{
560
560
  name: "id";
561
561
  tableName: "account";
@@ -778,7 +778,7 @@ declare const AccountSelectSchema: drizzle_zod3.BuildSchema<"select", {
778
778
  generated: undefined;
779
779
  }, {}, {}>;
780
780
  }, undefined, undefined>;
781
- declare const AccountInsertSchema: drizzle_zod3.BuildSchema<"insert", {
781
+ declare const AccountInsertSchema: drizzle_zod0.BuildSchema<"insert", {
782
782
  id: drizzle_orm_pg_core80.PgColumn<{
783
783
  name: "id";
784
784
  tableName: "account";
@@ -1001,7 +1001,7 @@ declare const AccountInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1001
1001
  generated: undefined;
1002
1002
  }, {}, {}>;
1003
1003
  }, undefined, undefined>;
1004
- declare const OrganizationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1004
+ declare const OrganizationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1005
1005
  id: drizzle_orm_pg_core80.PgColumn<{
1006
1006
  name: "id";
1007
1007
  tableName: "organization";
@@ -1105,7 +1105,7 @@ declare const OrganizationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1105
1105
  generated: undefined;
1106
1106
  }, {}, {}>;
1107
1107
  }, undefined, undefined>;
1108
- declare const OrganizationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1108
+ declare const OrganizationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1109
1109
  id: drizzle_orm_pg_core80.PgColumn<{
1110
1110
  name: "id";
1111
1111
  tableName: "organization";
@@ -1209,7 +1209,7 @@ declare const OrganizationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1209
1209
  generated: undefined;
1210
1210
  }, {}, {}>;
1211
1211
  }, undefined, undefined>;
1212
- declare const MemberSelectSchema: drizzle_zod3.BuildSchema<"select", {
1212
+ declare const MemberSelectSchema: drizzle_zod0.BuildSchema<"select", {
1213
1213
  id: drizzle_orm_pg_core80.PgColumn<{
1214
1214
  name: "id";
1215
1215
  tableName: "member";
@@ -1296,7 +1296,7 @@ declare const MemberSelectSchema: drizzle_zod3.BuildSchema<"select", {
1296
1296
  generated: undefined;
1297
1297
  }, {}, {}>;
1298
1298
  }, undefined, undefined>;
1299
- declare const MemberInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1299
+ declare const MemberInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1300
1300
  id: drizzle_orm_pg_core80.PgColumn<{
1301
1301
  name: "id";
1302
1302
  tableName: "member";
@@ -1383,7 +1383,7 @@ declare const MemberInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1383
1383
  generated: undefined;
1384
1384
  }, {}, {}>;
1385
1385
  }, undefined, undefined>;
1386
- declare const InvitationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1386
+ declare const InvitationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1387
1387
  id: drizzle_orm_pg_core80.PgColumn<{
1388
1388
  name: "id";
1389
1389
  tableName: "invitation";
@@ -1521,7 +1521,7 @@ declare const InvitationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1521
1521
  generated: undefined;
1522
1522
  }, {}, {}>;
1523
1523
  }, undefined, undefined>;
1524
- declare const InvitationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1524
+ declare const InvitationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1525
1525
  id: drizzle_orm_pg_core80.PgColumn<{
1526
1526
  name: "id";
1527
1527
  tableName: "invitation";
@@ -1659,7 +1659,7 @@ declare const InvitationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1659
1659
  generated: undefined;
1660
1660
  }, {}, {}>;
1661
1661
  }, undefined, undefined>;
1662
- declare const DeviceCodeSelectSchema: drizzle_zod3.BuildSchema<"select", {
1662
+ declare const DeviceCodeSelectSchema: drizzle_zod0.BuildSchema<"select", {
1663
1663
  id: drizzle_orm_pg_core80.PgColumn<{
1664
1664
  name: "id";
1665
1665
  tableName: "device_code";
@@ -1831,7 +1831,7 @@ declare const DeviceCodeSelectSchema: drizzle_zod3.BuildSchema<"select", {
1831
1831
  generated: undefined;
1832
1832
  }, {}, {}>;
1833
1833
  }, undefined, undefined>;
1834
- declare const DeviceCodeInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1834
+ declare const DeviceCodeInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1835
1835
  id: drizzle_orm_pg_core80.PgColumn<{
1836
1836
  name: "id";
1837
1837
  tableName: "device_code";
@@ -2003,7 +2003,7 @@ declare const DeviceCodeInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2003
2003
  generated: undefined;
2004
2004
  }, {}, {}>;
2005
2005
  }, undefined, undefined>;
2006
- declare const VerificationSelectSchema: drizzle_zod3.BuildSchema<"select", {
2006
+ declare const VerificationSelectSchema: drizzle_zod0.BuildSchema<"select", {
2007
2007
  id: drizzle_orm_pg_core80.PgColumn<{
2008
2008
  name: "id";
2009
2009
  tableName: "verification";
@@ -2107,7 +2107,7 @@ declare const VerificationSelectSchema: drizzle_zod3.BuildSchema<"select", {
2107
2107
  generated: undefined;
2108
2108
  }, {}, {}>;
2109
2109
  }, undefined, undefined>;
2110
- declare const VerificationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2110
+ declare const VerificationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2111
2111
  id: drizzle_orm_pg_core80.PgColumn<{
2112
2112
  name: "id";
2113
2113
  tableName: "verification";
@@ -81,6 +81,12 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
81
81
  requireEmailVerification: false;
82
82
  autoSignIn: true;
83
83
  };
84
+ account: {
85
+ accountLinking: {
86
+ enabled: true;
87
+ trustedProviders: ("google" | "email-password" | "auth0")[];
88
+ };
89
+ };
84
90
  databaseHooks: {
85
91
  session: {
86
92
  create: {
@@ -846,25 +852,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
846
852
  ac: better_auth_plugins20.AccessControl;
847
853
  roles: {
848
854
  member: {
849
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
850
- actions: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
855
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
856
+ actions: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
851
857
  connector: "OR" | "AND";
852
858
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
853
- statements: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
859
+ statements: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
854
860
  };
855
861
  admin: {
856
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
857
- actions: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
862
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
863
+ actions: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
858
864
  connector: "OR" | "AND";
859
865
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
860
- statements: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
866
+ statements: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
861
867
  };
862
868
  owner: {
863
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
864
- actions: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
869
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
870
+ actions: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
865
871
  connector: "OR" | "AND";
866
872
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
867
- statements: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
873
+ statements: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
868
874
  };
869
875
  };
870
876
  membershipLimit: number;
@@ -1155,25 +1161,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1155
1161
  ac: better_auth_plugins20.AccessControl;
1156
1162
  roles: {
1157
1163
  member: {
1158
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
1159
- actions: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
1164
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
1165
+ actions: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
1160
1166
  connector: "OR" | "AND";
1161
1167
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1162
- statements: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
1168
+ statements: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
1163
1169
  };
1164
1170
  admin: {
1165
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
1166
- actions: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
1171
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
1172
+ actions: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
1167
1173
  connector: "OR" | "AND";
1168
1174
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1169
- statements: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
1175
+ statements: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
1170
1176
  };
1171
1177
  owner: {
1172
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
1173
- actions: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
1178
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key] | {
1179
+ actions: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>[key];
1174
1180
  connector: "OR" | "AND";
1175
1181
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1176
- statements: better_auth_plugins20.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
1182
+ statements: better_auth_plugins20.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins20.Statements>;
1177
1183
  };
1178
1184
  };
1179
1185
  membershipLimit: number;
package/dist/auth/auth.js CHANGED
@@ -76,6 +76,14 @@ function createAuth(config) {
76
76
  requireEmailVerification: false,
77
77
  autoSignIn: true
78
78
  },
79
+ account: { accountLinking: {
80
+ enabled: true,
81
+ trustedProviders: [
82
+ "auth0",
83
+ "google",
84
+ "email-password"
85
+ ]
86
+ } },
79
87
  databaseHooks: { session: { create: { before: async (session) => {
80
88
  const organization$1 = await getInitialOrganization(config.dbClient, session.userId);
81
89
  return { data: {
@@ -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 "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
9
- actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key];
8
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
9
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", 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<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>;
12
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
16
- actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key];
15
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
16
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", 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<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>;
19
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "project" | "organization" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
23
- actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key];
22
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>[key] | {
23
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", 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<"project" | "organization" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>;
26
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "team" | "ac", better_auth_plugins0.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -156,8 +156,8 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
156
156
  agentId: string;
157
157
  createdAt: string;
158
158
  updatedAt: string;
159
- subAgentId: string;
160
159
  functionToolId: string;
160
+ subAgentId: string;
161
161
  }>;
162
162
  /**
163
163
  * Update an agent-function tool relation
@@ -212,8 +212,8 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
212
212
  agentId: string;
213
213
  createdAt: string;
214
214
  updatedAt: string;
215
- subAgentId: string;
216
215
  functionToolId: string;
216
+ subAgentId: string;
217
217
  }>;
218
218
  //#endregion
219
219
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };