@inkeep/agents-core 0.0.0-dev-20260406200043 → 0.0.0-dev-20260406234350

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_core0 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_core0.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_core0.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_core0.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_core0.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_core0.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_core0.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_core0.PgColumn<{
1006
1006
  name: "id";
1007
1007
  tableName: "organization";
@@ -1156,7 +1156,7 @@ declare const OrganizationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1156
1156
  generated: undefined;
1157
1157
  }, {}, {}>;
1158
1158
  }, undefined, undefined>;
1159
- declare const OrganizationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1159
+ declare const OrganizationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1160
1160
  id: drizzle_orm_pg_core0.PgColumn<{
1161
1161
  name: "id";
1162
1162
  tableName: "organization";
@@ -1311,7 +1311,7 @@ declare const OrganizationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1311
1311
  generated: undefined;
1312
1312
  }, {}, {}>;
1313
1313
  }, undefined, undefined>;
1314
- declare const MemberSelectSchema: drizzle_zod3.BuildSchema<"select", {
1314
+ declare const MemberSelectSchema: drizzle_zod0.BuildSchema<"select", {
1315
1315
  id: drizzle_orm_pg_core0.PgColumn<{
1316
1316
  name: "id";
1317
1317
  tableName: "member";
@@ -1398,7 +1398,7 @@ declare const MemberSelectSchema: drizzle_zod3.BuildSchema<"select", {
1398
1398
  generated: undefined;
1399
1399
  }, {}, {}>;
1400
1400
  }, undefined, undefined>;
1401
- declare const MemberInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1401
+ declare const MemberInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1402
1402
  id: drizzle_orm_pg_core0.PgColumn<{
1403
1403
  name: "id";
1404
1404
  tableName: "member";
@@ -1485,7 +1485,7 @@ declare const MemberInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1485
1485
  generated: undefined;
1486
1486
  }, {}, {}>;
1487
1487
  }, undefined, undefined>;
1488
- declare const InvitationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1488
+ declare const InvitationSelectSchema: drizzle_zod0.BuildSchema<"select", {
1489
1489
  id: drizzle_orm_pg_core0.PgColumn<{
1490
1490
  name: "id";
1491
1491
  tableName: "invitation";
@@ -1640,7 +1640,7 @@ declare const InvitationSelectSchema: drizzle_zod3.BuildSchema<"select", {
1640
1640
  generated: undefined;
1641
1641
  }, {}, {}>;
1642
1642
  }, undefined, undefined>;
1643
- declare const InvitationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1643
+ declare const InvitationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1644
1644
  id: drizzle_orm_pg_core0.PgColumn<{
1645
1645
  name: "id";
1646
1646
  tableName: "invitation";
@@ -1795,7 +1795,7 @@ declare const InvitationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1795
1795
  generated: undefined;
1796
1796
  }, {}, {}>;
1797
1797
  }, undefined, undefined>;
1798
- declare const DeviceCodeSelectSchema: drizzle_zod3.BuildSchema<"select", {
1798
+ declare const DeviceCodeSelectSchema: drizzle_zod0.BuildSchema<"select", {
1799
1799
  id: drizzle_orm_pg_core0.PgColumn<{
1800
1800
  name: "id";
1801
1801
  tableName: "device_code";
@@ -1967,7 +1967,7 @@ declare const DeviceCodeSelectSchema: drizzle_zod3.BuildSchema<"select", {
1967
1967
  generated: undefined;
1968
1968
  }, {}, {}>;
1969
1969
  }, undefined, undefined>;
1970
- declare const DeviceCodeInsertSchema: drizzle_zod3.BuildSchema<"insert", {
1970
+ declare const DeviceCodeInsertSchema: drizzle_zod0.BuildSchema<"insert", {
1971
1971
  id: drizzle_orm_pg_core0.PgColumn<{
1972
1972
  name: "id";
1973
1973
  tableName: "device_code";
@@ -2139,7 +2139,7 @@ declare const DeviceCodeInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2139
2139
  generated: undefined;
2140
2140
  }, {}, {}>;
2141
2141
  }, undefined, undefined>;
2142
- declare const VerificationSelectSchema: drizzle_zod3.BuildSchema<"select", {
2142
+ declare const VerificationSelectSchema: drizzle_zod0.BuildSchema<"select", {
2143
2143
  id: drizzle_orm_pg_core0.PgColumn<{
2144
2144
  name: "id";
2145
2145
  tableName: "verification";
@@ -2243,7 +2243,7 @@ declare const VerificationSelectSchema: drizzle_zod3.BuildSchema<"select", {
2243
2243
  generated: undefined;
2244
2244
  }, {}, {}>;
2245
2245
  }, undefined, undefined>;
2246
- declare const VerificationInsertSchema: drizzle_zod3.BuildSchema<"insert", {
2246
+ declare const VerificationInsertSchema: drizzle_zod0.BuildSchema<"insert", {
2247
2247
  id: drizzle_orm_pg_core0.PgColumn<{
2248
2248
  name: "id";
2249
2249
  tableName: "verification";
@@ -2,7 +2,7 @@ import { BetterAuthConfig, EmailServiceConfig, OIDCProviderConfig, SAMLProviderC
2
2
  import { extractCookieDomain, hasCredentialAccount } from "./auth-config-utils.js";
3
3
  import * as zod0 from "zod";
4
4
  import * as better_auth0 from "better-auth";
5
- import * as better_auth_plugins20 from "better-auth/plugins";
5
+ import * as better_auth_plugins0 from "better-auth/plugins";
6
6
 
7
7
  //#region src/auth/auth.d.ts
8
8
 
@@ -38,10 +38,10 @@ declare function _inferAuthType(): better_auth0.Auth<{
38
38
  handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
39
39
  }[];
40
40
  };
41
- options: better_auth_plugins20.BearerOptions | undefined;
41
+ options: better_auth_plugins0.BearerOptions | undefined;
42
42
  }, {
43
43
  id: "oauth-proxy";
44
- options: NoInfer<better_auth_plugins20.OAuthProxyOptions>;
44
+ options: NoInfer<better_auth_plugins0.OAuthProxyOptions>;
45
45
  endpoints: {
46
46
  oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
47
47
  method: "GET";
@@ -93,7 +93,7 @@ declare function _inferAuthType(): better_auth0.Auth<{
93
93
  handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
94
94
  }[];
95
95
  };
96
- }, better_auth_plugins20.DefaultOrganizationPlugin<{
96
+ }, better_auth_plugins0.DefaultOrganizationPlugin<{
97
97
  schema: {
98
98
  invitation: {
99
99
  additionalFields: {
@@ -456,8 +456,8 @@ declare function _inferAuthType(): better_auth0.Auth<{
456
456
  AUTHENTICATION_REQUIRED: better_auth0.RawError<"AUTHENTICATION_REQUIRED">;
457
457
  };
458
458
  options: Partial<{
459
- expiresIn: better_auth_plugins20.TimeString;
460
- interval: better_auth_plugins20.TimeString;
459
+ expiresIn: better_auth_plugins0.TimeString;
460
+ interval: better_auth_plugins0.TimeString;
461
461
  deviceCodeLength: number;
462
462
  userCodeLength: number;
463
463
  schema: {
@@ -1,29 +1,29 @@
1
- import * as better_auth_plugins0 from "better-auth/plugins";
1
+ import * as better_auth_plugins4 from "better-auth/plugins";
2
2
  import { AccessControl } from "better-auth/plugins/access";
3
3
  import { organizationClient } from "better-auth/client/plugins";
4
4
 
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" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
9
- actions: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>[key];
8
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
9
+ actions: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
10
10
  connector: "OR" | "AND";
11
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
12
- statements: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>;
11
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins4.AuthorizeResponse;
12
+ statements: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
16
- actions: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>[key];
15
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
16
+ actions: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
17
17
  connector: "OR" | "AND";
18
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
19
- statements: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>;
18
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins4.AuthorizeResponse;
19
+ statements: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
23
- actions: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>[key];
22
+ authorize<K_1 extends "organization" | "member" | "invitation" | "project" | "team" | "ac">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key] | {
23
+ actions: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>[key];
24
24
  connector: "OR" | "AND";
25
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
26
- statements: better_auth_plugins0.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins0.Statements>;
25
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins4.AuthorizeResponse;
26
+ statements: better_auth_plugins4.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins4.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -164,10 +164,10 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
164
164
  projectId: string;
165
165
  tenantId: string;
166
166
  subAgentId: string;
167
- functionToolId: string;
168
167
  toolPolicies: Record<string, {
169
168
  needsApproval?: boolean;
170
169
  }> | null;
170
+ functionToolId: string;
171
171
  }>;
172
172
  /**
173
173
  * Update an agent-function tool relation
@@ -229,10 +229,10 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
229
229
  projectId: string;
230
230
  tenantId: string;
231
231
  subAgentId: string;
232
- functionToolId: string;
233
232
  toolPolicies: Record<string, {
234
233
  needsApproval?: boolean;
235
234
  }> | 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,8 +15,8 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
15
15
  agentId: string;
16
16
  projectId: string;
17
17
  tenantId: string;
18
- subAgentId: string;
19
18
  headers: Record<string, string> | null;
19
+ subAgentId: string;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -50,8 +50,8 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
50
50
  agentId: string;
51
51
  projectId: string;
52
52
  tenantId: string;
53
- subAgentId: string;
54
53
  headers: Record<string, string> | null;
54
+ subAgentId: string;
55
55
  externalAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -63,8 +63,8 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
63
63
  agentId: string;
64
64
  projectId: string;
65
65
  tenantId: string;
66
- subAgentId: string;
67
66
  headers: Record<string, string> | null;
67
+ subAgentId: string;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -192,8 +192,8 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
192
192
  agentId: string;
193
193
  projectId: string;
194
194
  tenantId: string;
195
- subAgentId: string;
196
195
  headers: Record<string, string> | null;
196
+ subAgentId: string;
197
197
  externalAgentId: string;
198
198
  }>;
199
199
  /**
@@ -209,8 +209,8 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
209
209
  agentId: string;
210
210
  projectId: string;
211
211
  tenantId: string;
212
- subAgentId: string;
213
212
  headers: Record<string, string> | null;
213
+ subAgentId: string;
214
214
  externalAgentId: string;
215
215
  } | undefined>;
216
216
  /**
@@ -230,8 +230,8 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
230
230
  agentId: string;
231
231
  projectId: string;
232
232
  tenantId: string;
233
- subAgentId: string;
234
233
  headers: Record<string, string> | null;
234
+ subAgentId: string;
235
235
  externalAgentId: string;
236
236
  }>;
237
237
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -210,8 +210,8 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
210
210
  agentId: string;
211
211
  projectId: string;
212
212
  tenantId: string;
213
- subAgentId: string;
214
213
  headers: Record<string, string> | null;
214
+ subAgentId: string;
215
215
  toolId: string;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
@@ -254,8 +254,8 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
254
254
  agentId: string;
255
255
  projectId: string;
256
256
  tenantId: string;
257
- subAgentId: string;
258
257
  headers: Record<string, string> | null;
258
+ subAgentId: string;
259
259
  toolId: string;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
@@ -15,8 +15,8 @@ declare const getSubAgentTeamAgentRelationById: (db: AgentsManageDatabaseClient)
15
15
  agentId: string;
16
16
  projectId: string;
17
17
  tenantId: string;
18
- subAgentId: string;
19
18
  headers: Record<string, string> | null;
19
+ subAgentId: string;
20
20
  targetAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -50,8 +50,8 @@ declare const getSubAgentTeamAgentRelations: (db: AgentsManageDatabaseClient) =>
50
50
  agentId: string;
51
51
  projectId: string;
52
52
  tenantId: string;
53
- subAgentId: string;
54
53
  headers: Record<string, string> | null;
54
+ subAgentId: string;
55
55
  targetAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -63,8 +63,8 @@ declare const getSubAgentTeamAgentRelationsByAgent: (db: AgentsManageDatabaseCli
63
63
  agentId: string;
64
64
  projectId: string;
65
65
  tenantId: string;
66
- subAgentId: string;
67
66
  headers: Record<string, string> | null;
67
+ subAgentId: string;
68
68
  targetAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentTeamAgentRelationsByTeamAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -228,8 +228,8 @@ declare const createSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
228
228
  agentId: string;
229
229
  projectId: string;
230
230
  tenantId: string;
231
- subAgentId: string;
232
231
  headers: Record<string, string> | null;
232
+ subAgentId: string;
233
233
  targetAgentId: string;
234
234
  }>;
235
235
  /**
@@ -245,8 +245,8 @@ declare const getSubAgentTeamAgentRelationByParams: (db: AgentsManageDatabaseCli
245
245
  agentId: string;
246
246
  projectId: string;
247
247
  tenantId: string;
248
- subAgentId: string;
249
248
  headers: Record<string, string> | null;
249
+ subAgentId: string;
250
250
  targetAgentId: string;
251
251
  } | undefined>;
252
252
  /**
@@ -266,8 +266,8 @@ declare const upsertSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient)
266
266
  agentId: string;
267
267
  projectId: string;
268
268
  tenantId: string;
269
- subAgentId: string;
270
269
  headers: Record<string, string> | null;
270
+ subAgentId: string;
271
271
  targetAgentId: string;
272
272
  }>;
273
273
  declare const updateSubAgentTeamAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -141,8 +141,8 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
141
141
  agentId: string;
142
142
  projectId: string;
143
143
  tenantId: string;
144
- subAgentId: string;
145
144
  headers: Record<string, string> | null;
145
+ subAgentId: string;
146
146
  toolId: string;
147
147
  toolPolicies: Record<string, {
148
148
  needsApproval?: boolean;
@@ -160,8 +160,8 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
160
160
  agentId: string;
161
161
  projectId: string;
162
162
  tenantId: string;
163
- subAgentId: string;
164
163
  headers: Record<string, string> | null;
164
+ subAgentId: string;
165
165
  toolId: string;
166
166
  toolPolicies: Record<string, {
167
167
  needsApproval?: boolean;
@@ -188,8 +188,8 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
188
188
  agentId: string;
189
189
  projectId: string;
190
190
  tenantId: string;
191
- subAgentId: string;
192
191
  headers: Record<string, string> | null;
192
+ subAgentId: string;
193
193
  toolId: string;
194
194
  toolPolicies: Record<string, {
195
195
  needsApproval?: boolean;
@@ -37,16 +37,16 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
37
37
  authentication: unknown;
38
38
  signingSecretCredentialReferenceId: string | null;
39
39
  signatureVerification: {
40
- algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
41
- encoding: "hex" | "base64";
40
+ algorithm: "md5" | "sha256" | "sha512" | "sha384" | "sha1";
41
+ encoding: "base64" | "hex";
42
42
  signature: {
43
- source: "query" | "header" | "body";
43
+ source: "query" | "body" | "header";
44
44
  key: string;
45
45
  prefix?: string | undefined;
46
46
  regex?: string | undefined;
47
47
  };
48
48
  signedComponents: {
49
- source: "literal" | "header" | "body";
49
+ source: "literal" | "body" | "header";
50
50
  required: boolean;
51
51
  key?: string | undefined;
52
52
  value?: string | undefined;
@@ -5,8 +5,6 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
5
5
 
6
6
  //#region src/data-access/runtime/apps.d.ts
7
7
  declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
8
- type: AppType;
9
- enabled: boolean;
10
8
  id: string;
11
9
  name: string;
12
10
  createdAt: string;
@@ -14,6 +12,8 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
14
12
  projectId: string | null;
15
13
  tenantId: string | null;
16
14
  description: string | null;
15
+ type: AppType;
16
+ enabled: boolean;
17
17
  prompt: string | null;
18
18
  config: {
19
19
  type: "web_client";
@@ -61,8 +61,6 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
61
61
  };
62
62
  }>;
63
63
  declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
64
- type: AppType;
65
- enabled: boolean;
66
64
  id: string;
67
65
  name: string;
68
66
  createdAt: string;
@@ -70,6 +68,8 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
70
68
  projectId: string | null;
71
69
  tenantId: string | null;
72
70
  description: string | null;
71
+ type: AppType;
72
+ enabled: boolean;
73
73
  prompt: string | null;
74
74
  config: {
75
75
  type: "web_client";
@@ -58,12 +58,12 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
58
58
  total: number;
59
59
  }>;
60
60
  declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
61
- type: "positive" | "negative";
62
61
  id: string;
63
62
  createdAt: string;
64
63
  updatedAt: string;
65
64
  projectId: string;
66
65
  tenantId: string;
66
+ type: "positive" | "negative";
67
67
  details: string | null;
68
68
  conversationId: string;
69
69
  messageId: string | null;
@@ -87,12 +87,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
87
87
  scopes: ProjectScopeConfig;
88
88
  feedbackId: string;
89
89
  }) => Promise<{
90
- type: "positive" | "negative";
91
90
  id: string;
92
91
  createdAt: string;
93
92
  updatedAt: string;
94
93
  projectId: string;
95
94
  tenantId: string;
95
+ type: "positive" | "negative";
96
96
  details: string | null;
97
97
  conversationId: string;
98
98
  messageId: string | null;
@@ -17,13 +17,13 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
17
17
  tenantId: string;
18
18
  metadata: MessageMetadata | null;
19
19
  content: MessageContent;
20
+ role: string;
20
21
  fromSubAgentId: string | null;
21
22
  toSubAgentId: string | null;
22
23
  fromExternalAgentId: string | null;
23
24
  toExternalAgentId: string | null;
24
25
  taskId: string | null;
25
26
  a2aTaskId: string | null;
26
- role: string;
27
27
  conversationId: string;
28
28
  fromTeamAgentId: string | null;
29
29
  toTeamAgentId: string | null;
@@ -151,13 +151,13 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
151
151
  tenantId: string;
152
152
  metadata: MessageMetadata | null;
153
153
  content: MessageContent;
154
+ role: string;
154
155
  fromSubAgentId: string | null;
155
156
  toSubAgentId: string | null;
156
157
  fromExternalAgentId: string | null;
157
158
  toExternalAgentId: string | null;
158
159
  taskId: string | null;
159
160
  a2aTaskId: string | null;
160
- role: string;
161
161
  conversationId: string;
162
162
  fromTeamAgentId: string | null;
163
163
  toTeamAgentId: string | null;
@@ -204,13 +204,13 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
204
204
  tenantId: string;
205
205
  metadata: MessageMetadata | null;
206
206
  content: MessageContent;
207
+ role: string;
207
208
  fromSubAgentId: string | null;
208
209
  toSubAgentId: string | null;
209
210
  fromExternalAgentId: string | null;
210
211
  toExternalAgentId: string | null;
211
212
  taskId: string | null;
212
213
  a2aTaskId: string | null;
213
- role: string;
214
214
  conversationId: string;
215
215
  fromTeamAgentId: string | null;
216
216
  toTeamAgentId: string | null;
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
40
40
  name: string;
41
41
  hash: string;
42
42
  } | null;
43
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
43
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
44
44
  scheduledFor: string;
45
45
  startedAt: string | null;
46
46
  completedAt: string | null;
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
199
199
  name: string;
200
200
  hash: string;
201
201
  } | null;
202
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
202
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
203
203
  scheduledFor: string;
204
204
  startedAt: string | null;
205
205
  completedAt: string | null;
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
239
239
  name: string;
240
240
  hash: string;
241
241
  } | null;
242
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
242
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
243
243
  scheduledFor: string;
244
244
  startedAt: string | null;
245
245
  completedAt: string | null;
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
292
292
  name: string;
293
293
  hash: string;
294
294
  } | null;
295
- status: "pending" | "failed" | "running" | "completed" | "cancelled";
295
+ status: "pending" | "running" | "completed" | "failed" | "cancelled";
296
296
  scheduledFor: string;
297
297
  startedAt: string | null;
298
298
  completedAt: string | null;
@@ -1,4 +1,4 @@
1
- import * as drizzle_orm_pg_core2211 from "drizzle-orm/pg-core";
1
+ import * as drizzle_orm_pg_core588 from "drizzle-orm/pg-core";
2
2
 
3
3
  //#region src/db/manage/dolt-safe-jsonb.d.ts
4
4
  declare function encodeBackslashes(value: unknown): unknown;
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
7
7
  * Drop-in replacement for drizzle-orm's `jsonb()`.
8
8
  * Encodes backslashes on write and decodes on read to work around the Doltgres bug.
9
9
  */
10
- declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core2211.jsonb>;
10
+ declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core588.jsonb>;
11
11
  //#endregion
12
12
  export { decodeBackslashes, encodeBackslashes, jsonb };