@inkeep/agents-core 0.0.0-dev-20260415131100 → 0.0.0-dev-20260415134917

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 (30) hide show
  1. package/dist/auth/auth-validation-schemas.d.ts +17 -17
  2. package/dist/auth/auth.d.ts +9 -9
  3. package/dist/auth/permissions.d.ts +13 -13
  4. package/dist/data-access/manage/agents.d.ts +42 -42
  5. package/dist/data-access/manage/artifactComponents.d.ts +10 -10
  6. package/dist/data-access/manage/contextConfigs.d.ts +12 -12
  7. package/dist/data-access/manage/dataComponents.d.ts +4 -4
  8. package/dist/data-access/manage/functionTools.d.ts +16 -16
  9. package/dist/data-access/manage/skills.d.ts +14 -14
  10. package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
  11. package/dist/data-access/manage/subAgentRelations.d.ts +34 -34
  12. package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
  13. package/dist/data-access/manage/subAgents.d.ts +18 -18
  14. package/dist/data-access/manage/tools.d.ts +27 -27
  15. package/dist/data-access/manage/triggers.d.ts +4 -4
  16. package/dist/data-access/runtime/apiKeys.d.ts +12 -12
  17. package/dist/data-access/runtime/apps.d.ts +19 -19
  18. package/dist/data-access/runtime/conversations.d.ts +20 -20
  19. package/dist/data-access/runtime/feedback.d.ts +6 -6
  20. package/dist/data-access/runtime/messages.d.ts +12 -12
  21. package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
  22. package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
  23. package/dist/data-access/runtime/tasks.d.ts +5 -5
  24. package/dist/db/manage/manage-schema.d.ts +457 -457
  25. package/dist/db/runtime/runtime-schema.d.ts +421 -421
  26. package/dist/utils/error.d.ts +51 -51
  27. package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
  28. package/dist/validation/schemas/skills.d.ts +54 -54
  29. package/dist/validation/schemas.d.ts +2187 -2187
  30. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import { z } from "@hono/zod-openapi";
2
2
  import * as drizzle_orm_pg_core161 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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.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_core161.PgColumn<{
2248
2248
  name: "id";
2249
2249
  tableName: "verification";
@@ -4,7 +4,7 @@ import * as jose0 from "jose";
4
4
  import * as zod0 from "zod";
5
5
  import * as better_auth0 from "better-auth";
6
6
  import * as _better_auth_oauth_provider0 from "@better-auth/oauth-provider";
7
- import * as better_auth_plugins20 from "better-auth/plugins";
7
+ import * as better_auth_plugins0 from "better-auth/plugins";
8
8
 
9
9
  //#region src/auth/auth.d.ts
10
10
 
@@ -40,10 +40,10 @@ declare function _inferAuthType(): better_auth0.Auth<{
40
40
  handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
41
41
  }[];
42
42
  };
43
- options: better_auth_plugins20.BearerOptions | undefined;
43
+ options: better_auth_plugins0.BearerOptions | undefined;
44
44
  }, {
45
45
  id: "oauth-proxy";
46
- options: NoInfer<better_auth_plugins20.OAuthProxyOptions>;
46
+ options: NoInfer<better_auth_plugins0.OAuthProxyOptions>;
47
47
  endpoints: {
48
48
  oAuthProxy: better_auth0.StrictEndpoint<"/oauth-proxy-callback", {
49
49
  method: "GET";
@@ -97,7 +97,7 @@ declare function _inferAuthType(): better_auth0.Auth<{
97
97
  };
98
98
  }, {
99
99
  id: "jwt";
100
- options: NoInfer<better_auth_plugins20.JwtOptions>;
100
+ options: NoInfer<better_auth_plugins0.JwtOptions>;
101
101
  endpoints: {
102
102
  getJwks: better_auth0.StrictEndpoint<string, {
103
103
  method: "GET";
@@ -234,7 +234,7 @@ declare function _inferAuthType(): better_auth0.Auth<{
234
234
  $Infer: {
235
235
  body: {
236
236
  payload: jose0.JWTPayload;
237
- overrideOptions?: better_auth_plugins20.JwtOptions | undefined;
237
+ overrideOptions?: better_auth_plugins0.JwtOptions | undefined;
238
238
  };
239
239
  };
240
240
  };
@@ -331,7 +331,7 @@ declare function _inferAuthType(): better_auth0.Auth<{
331
331
  SERVER_ONLY: true;
332
332
  };
333
333
  }, Omit<_better_auth_oauth_provider0.OIDCMetadata, "id_token_signing_alg_values_supported"> & {
334
- id_token_signing_alg_values_supported: better_auth_plugins20.JWSAlgorithms[] | ["HS256"];
334
+ id_token_signing_alg_values_supported: better_auth_plugins0.JWSAlgorithms[] | ["HS256"];
335
335
  }>;
336
336
  oauth2Authorize: better_auth0.StrictEndpoint<"/oauth2/authorize", {
337
337
  method: "GET";
@@ -2324,7 +2324,7 @@ declare function _inferAuthType(): better_auth0.Auth<{
2324
2324
  window: number;
2325
2325
  max: number;
2326
2326
  })[];
2327
- }, better_auth_plugins20.DefaultOrganizationPlugin<{
2327
+ }, better_auth_plugins0.DefaultOrganizationPlugin<{
2328
2328
  schema: {
2329
2329
  invitation: {
2330
2330
  additionalFields: {
@@ -2687,8 +2687,8 @@ declare function _inferAuthType(): better_auth0.Auth<{
2687
2687
  AUTHENTICATION_REQUIRED: better_auth0.RawError<"AUTHENTICATION_REQUIRED">;
2688
2688
  };
2689
2689
  options: Partial<{
2690
- expiresIn: better_auth_plugins20.TimeString;
2691
- interval: better_auth_plugins20.TimeString;
2690
+ expiresIn: better_auth_plugins0.TimeString;
2691
+ interval: better_auth_plugins0.TimeString;
2692
2692
  deviceCodeLength: number;
2693
2693
  userCodeLength: number;
2694
2694
  schema: {
@@ -1,29 +1,29 @@
1
- import * as better_auth_plugins0 from "better-auth/plugins";
1
+ import * as better_auth_plugins7 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" | "member" | "team" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
9
- actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "team" | "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_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
9
+ actions: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.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" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>;
11
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins7.AuthorizeResponse;
12
+ statements: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "project" | "organization" | "member" | "team" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
16
- actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "team" | "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_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
16
+ actions: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.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" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>;
18
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins7.AuthorizeResponse;
19
+ statements: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "project" | "organization" | "member" | "team" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"project" | "organization" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>[key] | {
23
- actions: better_auth_plugins0.Subset<"project" | "organization" | "member" | "team" | "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_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>[key] | {
23
+ actions: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.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" | "member" | "team" | "ac" | "invitation", better_auth_plugins0.Statements>;
25
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins7.AuthorizeResponse;
26
+ statements: better_auth_plugins7.Subset<"organization" | "member" | "invitation" | "project" | "team" | "ac", better_auth_plugins7.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -10,15 +10,14 @@ import { PgColumn } from "drizzle-orm/pg-core";
10
10
  declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  scopes: AgentScopeConfig;
12
12
  }) => Promise<{
13
- tenantId: string;
14
- projectId: string;
15
13
  id: string;
16
14
  name: string;
17
- description: string | null;
18
15
  createdAt: string;
19
16
  updatedAt: string;
20
- defaultSubAgentId: string | null;
21
- contextConfigId: string | null;
17
+ description: string | null;
18
+ prompt: string | null;
19
+ tenantId: string;
20
+ projectId: string;
22
21
  models: {
23
22
  base?: {
24
23
  model?: string | undefined;
@@ -39,7 +38,11 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
39
38
  allowedProviders?: string[] | undefined;
40
39
  } | undefined;
41
40
  } | null;
42
- prompt: string | null;
41
+ stopWhen: {
42
+ transferCountIs?: number | undefined;
43
+ } | null;
44
+ defaultSubAgentId: string | null;
45
+ contextConfigId: string | null;
43
46
  statusUpdates: {
44
47
  enabled?: boolean | undefined;
45
48
  numEvents?: number | undefined;
@@ -55,23 +58,19 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
55
58
  } | undefined;
56
59
  }[] | undefined;
57
60
  } | null;
58
- stopWhen: {
59
- transferCountIs?: number | undefined;
60
- } | null;
61
61
  executionMode: "classic" | "durable";
62
62
  } | null>;
63
63
  declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
64
64
  scopes: AgentScopeConfig;
65
65
  }) => Promise<{
66
- tenantId: string;
67
- projectId: string;
68
66
  id: string;
69
67
  name: string;
70
- description: string | null;
71
68
  createdAt: string;
72
69
  updatedAt: string;
73
- defaultSubAgentId: string | null;
74
- contextConfigId: string | null;
70
+ description: string | null;
71
+ prompt: string | null;
72
+ tenantId: string;
73
+ projectId: string;
75
74
  models: {
76
75
  base?: {
77
76
  model?: string | undefined;
@@ -92,7 +91,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
92
91
  allowedProviders?: string[] | undefined;
93
92
  } | undefined;
94
93
  } | null;
95
- prompt: string | null;
94
+ stopWhen: {
95
+ transferCountIs?: number | undefined;
96
+ } | null;
97
+ defaultSubAgentId: string | null;
98
+ contextConfigId: string | null;
96
99
  statusUpdates: {
97
100
  enabled?: boolean | undefined;
98
101
  numEvents?: number | undefined;
@@ -108,19 +111,18 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
108
111
  } | undefined;
109
112
  }[] | undefined;
110
113
  } | null;
111
- stopWhen: {
112
- transferCountIs?: number | undefined;
113
- } | null;
114
114
  executionMode: "classic" | "durable";
115
115
  defaultSubAgent: {
116
- tenantId: string;
117
- projectId: string;
118
116
  id: string;
119
117
  name: string;
120
- description: string | null;
121
- agentId: string;
122
118
  createdAt: string;
123
119
  updatedAt: string;
120
+ description: string | null;
121
+ prompt: string | null;
122
+ tenantId: string;
123
+ projectId: string;
124
+ agentId: string;
125
+ conversationHistoryConfig: ConversationHistoryConfig | null;
124
126
  models: {
125
127
  base?: {
126
128
  model?: string | undefined;
@@ -141,25 +143,22 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
141
143
  allowedProviders?: string[] | undefined;
142
144
  } | undefined;
143
145
  } | null;
144
- prompt: string | null;
145
146
  stopWhen: {
146
147
  stepCountIs?: number | undefined;
147
148
  } | null;
148
- conversationHistoryConfig: ConversationHistoryConfig | null;
149
149
  } | null;
150
150
  } | null>;
151
151
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
152
152
  scopes: ProjectScopeConfig;
153
153
  }) => Promise<{
154
- tenantId: string;
155
- projectId: string;
156
154
  id: string;
157
155
  name: string;
158
- description: string | null;
159
156
  createdAt: string;
160
157
  updatedAt: string;
161
- defaultSubAgentId: string | null;
162
- contextConfigId: string | null;
158
+ description: string | null;
159
+ prompt: string | null;
160
+ tenantId: string;
161
+ projectId: string;
163
162
  models: {
164
163
  base?: {
165
164
  model?: string | undefined;
@@ -180,7 +179,11 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
180
179
  allowedProviders?: string[] | undefined;
181
180
  } | undefined;
182
181
  } | null;
183
- prompt: string | null;
182
+ stopWhen: {
183
+ transferCountIs?: number | undefined;
184
+ } | null;
185
+ defaultSubAgentId: string | null;
186
+ contextConfigId: string | null;
184
187
  statusUpdates: {
185
188
  enabled?: boolean | undefined;
186
189
  numEvents?: number | undefined;
@@ -196,9 +199,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
196
199
  } | undefined;
197
200
  }[] | undefined;
198
201
  } | null;
199
- stopWhen: {
200
- transferCountIs?: number | undefined;
201
- } | null;
202
202
  executionMode: "classic" | "durable";
203
203
  }[]>;
204
204
  declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
@@ -281,15 +281,14 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
281
281
  projectIds: string[];
282
282
  }): Promise<AvailableAgentInfo[]>;
283
283
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
284
- tenantId: string;
285
- projectId: string;
286
284
  id: string;
287
285
  name: string;
288
- description: string | null;
289
286
  createdAt: string;
290
287
  updatedAt: string;
291
- defaultSubAgentId: string | null;
292
- contextConfigId: string | null;
288
+ description: string | null;
289
+ prompt: string | null;
290
+ tenantId: string;
291
+ projectId: string;
293
292
  models: {
294
293
  base?: {
295
294
  model?: string | undefined;
@@ -310,7 +309,11 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
310
309
  allowedProviders?: string[] | undefined;
311
310
  } | undefined;
312
311
  } | null;
313
- prompt: string | null;
312
+ stopWhen: {
313
+ transferCountIs?: number | undefined;
314
+ } | null;
315
+ defaultSubAgentId: string | null;
316
+ contextConfigId: string | null;
314
317
  statusUpdates: {
315
318
  enabled?: boolean | undefined;
316
319
  numEvents?: number | undefined;
@@ -326,9 +329,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
326
329
  } | undefined;
327
330
  }[] | undefined;
328
331
  } | null;
329
- stopWhen: {
330
- transferCountIs?: number | undefined;
331
- } | null;
332
332
  executionMode: "classic" | "durable";
333
333
  }>;
334
334
  declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,13 +9,13 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  scopes: ProjectScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- projectId: string;
14
12
  id: string;
15
13
  name: string;
16
- description: string | null;
17
14
  createdAt: string;
18
15
  updatedAt: string;
16
+ description: string | null;
17
+ tenantId: string;
18
+ projectId: string;
19
19
  props: {
20
20
  [x: string]: unknown;
21
21
  type: "object";
@@ -65,13 +65,13 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
65
65
  };
66
66
  }>;
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
- tenantId: string;
69
- projectId: string;
70
68
  id: string;
71
69
  name: string;
72
- description: string | null;
73
70
  createdAt: string;
74
71
  updatedAt: string;
72
+ description: string | null;
73
+ tenantId: string;
74
+ projectId: string;
75
75
  props: {
76
76
  [x: string]: unknown;
77
77
  type: "object";
@@ -141,12 +141,12 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
141
141
  scopes: SubAgentScopeConfig;
142
142
  artifactComponentId: string;
143
143
  }) => Promise<{
144
+ id: string;
145
+ createdAt: string;
144
146
  tenantId: string;
145
147
  projectId: string;
146
- id: string;
147
148
  agentId: string;
148
149
  subAgentId: string;
149
- createdAt: 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
+ id: string;
188
+ createdAt: string;
187
189
  tenantId: string;
188
190
  projectId: string;
189
- id: string;
190
191
  agentId: string;
191
192
  subAgentId: string;
192
- createdAt: string;
193
193
  artifactComponentId: string;
194
194
  } | null>;
195
195
  /**
@@ -9,24 +9,24 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
9
9
  scopes: AgentScopeConfig;
10
10
  id: string;
11
11
  }) => Promise<{
12
- tenantId: string;
13
- projectId: string;
14
12
  id: string;
15
- agentId: string;
16
13
  createdAt: string;
17
14
  updatedAt: string;
15
+ tenantId: string;
16
+ projectId: string;
17
+ agentId: string;
18
18
  headersSchema: unknown;
19
19
  contextVariables: Record<string, ContextFetchDefinition> | null;
20
20
  } | undefined>;
21
21
  declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
- tenantId: string;
25
- projectId: string;
26
24
  id: string;
27
- agentId: string;
28
25
  createdAt: string;
29
26
  updatedAt: string;
27
+ tenantId: string;
28
+ projectId: string;
29
+ agentId: string;
30
30
  headersSchema: unknown;
31
31
  contextVariables: Record<string, ContextFetchDefinition> | null;
32
32
  }[]>;
@@ -43,12 +43,12 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
43
43
  };
44
44
  }>;
45
45
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
46
- tenantId: string;
47
- projectId: string;
48
46
  id: string;
49
- agentId: string;
50
47
  createdAt: string;
51
48
  updatedAt: string;
49
+ tenantId: string;
50
+ projectId: string;
51
+ agentId: string;
52
52
  headersSchema: unknown;
53
53
  contextVariables: Record<string, ContextFetchDefinition> | null;
54
54
  }>;
@@ -83,12 +83,12 @@ declare const countContextConfigs: (db: AgentsManageDatabaseClient) => (params:
83
83
  declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params: {
84
84
  data: ContextConfigInsert;
85
85
  }) => Promise<{
86
- tenantId: string;
87
- projectId: string;
88
86
  id: string;
89
- agentId: string;
90
87
  createdAt: string;
91
88
  updatedAt: string;
89
+ tenantId: string;
90
+ projectId: string;
91
+ agentId: string;
92
92
  headersSchema: unknown;
93
93
  contextVariables: Record<string, ContextFetchDefinition> | null;
94
94
  }>;
@@ -65,12 +65,12 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
65
65
  scopes: SubAgentScopeConfig;
66
66
  dataComponentId: string;
67
67
  }) => Promise<{
68
+ id: string;
69
+ createdAt: string;
68
70
  tenantId: string;
69
71
  projectId: string;
70
- id: string;
71
72
  agentId: string;
72
73
  subAgentId: string;
73
- createdAt: 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
+ id: string;
111
+ createdAt: string;
110
112
  tenantId: string;
111
113
  projectId: string;
112
- id: string;
113
114
  agentId: string;
114
115
  subAgentId: string;
115
- createdAt: string;
116
116
  dataComponentId: string;
117
117
  } | null>;
118
118
  /**