@inkeep/agents-core 0.0.0-dev-20260203023016 → 0.0.0-dev-20260203033642

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.
@@ -852,25 +852,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
852
852
  ac: better_auth_plugins0.AccessControl;
853
853
  roles: {
854
854
  member: {
855
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
856
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
855
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
856
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
857
857
  connector: "OR" | "AND";
858
858
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
859
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
859
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
860
860
  };
861
861
  admin: {
862
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
863
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
862
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
863
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
864
864
  connector: "OR" | "AND";
865
865
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
866
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
866
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
867
867
  };
868
868
  owner: {
869
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
870
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
869
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
870
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
871
871
  connector: "OR" | "AND";
872
872
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
873
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
873
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
874
874
  };
875
875
  };
876
876
  creatorRole: "admin";
@@ -1045,7 +1045,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1045
1045
  id: string;
1046
1046
  organizationId: string;
1047
1047
  email: string;
1048
- role: "member" | "admin" | "owner";
1048
+ role: "owner" | "admin" | "member";
1049
1049
  status: better_auth_plugins0.InvitationStatus;
1050
1050
  inviterId: string;
1051
1051
  expiresAt: Date;
@@ -1054,7 +1054,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1054
1054
  Member: {
1055
1055
  id: string;
1056
1056
  organizationId: string;
1057
- role: "member" | "admin" | "owner";
1057
+ role: "owner" | "admin" | "member";
1058
1058
  createdAt: Date;
1059
1059
  userId: string;
1060
1060
  user: {
@@ -1070,7 +1070,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1070
1070
  members: {
1071
1071
  id: string;
1072
1072
  organizationId: string;
1073
- role: "member" | "admin" | "owner";
1073
+ role: "owner" | "admin" | "member";
1074
1074
  createdAt: Date;
1075
1075
  userId: string;
1076
1076
  user: {
@@ -1084,7 +1084,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1084
1084
  id: string;
1085
1085
  organizationId: string;
1086
1086
  email: string;
1087
- role: "member" | "admin" | "owner";
1087
+ role: "owner" | "admin" | "member";
1088
1088
  status: better_auth_plugins0.InvitationStatus;
1089
1089
  inviterId: string;
1090
1090
  expiresAt: Date;
@@ -1162,25 +1162,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1162
1162
  ac: better_auth_plugins0.AccessControl;
1163
1163
  roles: {
1164
1164
  member: {
1165
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1166
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1165
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
1166
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
1167
1167
  connector: "OR" | "AND";
1168
1168
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1169
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1169
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
1170
1170
  };
1171
1171
  admin: {
1172
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1173
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1172
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
1173
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
1174
1174
  connector: "OR" | "AND";
1175
1175
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1176
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1176
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
1177
1177
  };
1178
1178
  owner: {
1179
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key] | {
1180
- actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
1179
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key] | {
1180
+ actions: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>[key];
1181
1181
  connector: "OR" | "AND";
1182
1182
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1183
- statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
1183
+ statements: better_auth_plugins0.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins0.Statements>;
1184
1184
  };
1185
1185
  };
1186
1186
  creatorRole: "admin";
@@ -5,25 +5,25 @@ import { organizationClient } from "better-auth/client/plugins";
5
5
  //#region src/auth/permissions.d.ts
6
6
  declare const ac: AccessControl;
7
7
  declare const memberRole: {
8
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
9
- actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
8
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>[key] | {
9
+ actions: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>[key];
10
10
  connector: "OR" | "AND";
11
11
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
12
- statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
12
+ statements: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>;
13
13
  };
14
14
  declare const adminRole: {
15
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
16
- actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
15
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>[key] | {
16
+ actions: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>[key];
17
17
  connector: "OR" | "AND";
18
18
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
19
- statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
19
+ statements: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>;
20
20
  };
21
21
  declare const ownerRole: {
22
- authorize<K_1 extends "organization" | "member" | "invitation" | "ac" | "project" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key] | {
23
- actions: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>[key];
22
+ authorize<K_1 extends "organization" | "project" | "member" | "invitation" | "ac" | "team">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>[key] | {
23
+ actions: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>[key];
24
24
  connector: "OR" | "AND";
25
25
  } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
26
- statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
26
+ statements: better_auth_plugins69.Subset<"organization" | "project" | "member" | "invitation" | "ac" | "team", better_auth_plugins69.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -193,19 +193,9 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
193
193
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
194
194
  id: z.ZodString;
195
195
  name: z.ZodString;
196
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
197
  createdAt: z.ZodOptional<z.ZodString>;
197
198
  updatedAt: z.ZodOptional<z.ZodString>;
198
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
199
- stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
200
- stepCountIs?: number | undefined;
201
- }, {
202
- stepCountIs?: number | undefined;
203
- }, z.core.$ZodTypeInternals<{
204
- stepCountIs?: number | undefined;
205
- }, {
206
- stepCountIs?: number | undefined;
207
- }>>>>;
208
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
209
199
  models: z.ZodOptional<z.ZodObject<{
210
200
  base: z.ZodOptional<z.ZodObject<{
211
201
  model: z.ZodOptional<z.ZodString>;
@@ -220,6 +210,16 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
220
210
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
221
211
  }, z.core.$strip>>;
222
212
  }, z.core.$strip>>;
213
+ stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
214
+ stepCountIs?: number | undefined;
215
+ }, {
216
+ stepCountIs?: number | undefined;
217
+ }, z.core.$ZodTypeInternals<{
218
+ stepCountIs?: number | undefined;
219
+ }, {
220
+ stepCountIs?: number | undefined;
221
+ }>>>>;
222
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
223
223
  type: z.ZodLiteral<"internal">;
224
224
  canUse: z.ZodArray<z.ZodObject<{
225
225
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -10,15 +10,11 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
10
10
  }) => Promise<{
11
11
  id: string;
12
12
  name: string;
13
+ description: string | null;
13
14
  createdAt: string;
14
15
  updatedAt: string;
15
- description: string | null;
16
- tenantId: string;
17
16
  projectId: string;
18
- stopWhen: {
19
- transferCountIs?: number | undefined;
20
- } | null;
21
- prompt: string | null;
17
+ tenantId: string;
22
18
  models: {
23
19
  base?: {
24
20
  model?: string | undefined;
@@ -33,6 +29,10 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
33
29
  providerOptions?: Record<string, any> | undefined;
34
30
  } | undefined;
35
31
  } | null;
32
+ stopWhen: {
33
+ transferCountIs?: number | undefined;
34
+ } | null;
35
+ prompt: string | null;
36
36
  defaultSubAgentId: string | null;
37
37
  contextConfigId: string | null;
38
38
  statusUpdates: {
@@ -56,15 +56,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
56
56
  }) => Promise<{
57
57
  id: string;
58
58
  name: string;
59
+ description: string | null;
59
60
  createdAt: string;
60
61
  updatedAt: string;
61
- description: string | null;
62
- tenantId: string;
63
62
  projectId: string;
64
- stopWhen: {
65
- transferCountIs?: number | undefined;
66
- } | null;
67
- prompt: string | null;
63
+ tenantId: string;
68
64
  models: {
69
65
  base?: {
70
66
  model?: string | undefined;
@@ -79,6 +75,10 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
79
75
  providerOptions?: Record<string, any> | undefined;
80
76
  } | undefined;
81
77
  } | null;
78
+ stopWhen: {
79
+ transferCountIs?: number | undefined;
80
+ } | null;
81
+ prompt: string | null;
82
82
  defaultSubAgentId: string | null;
83
83
  contextConfigId: string | null;
84
84
  statusUpdates: {
@@ -99,16 +99,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
99
99
  defaultSubAgent: {
100
100
  id: string;
101
101
  name: string;
102
+ description: string | null;
102
103
  createdAt: string;
103
104
  updatedAt: string;
104
- description: string | null;
105
- tenantId: string;
106
105
  projectId: string;
107
- stopWhen: {
108
- stepCountIs?: number | undefined;
109
- } | null;
110
- prompt: string | null;
111
- conversationHistoryConfig: ConversationHistoryConfig | null;
106
+ tenantId: string;
112
107
  models: {
113
108
  base?: {
114
109
  model?: string | undefined;
@@ -123,7 +118,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
123
118
  providerOptions?: Record<string, any> | undefined;
124
119
  } | undefined;
125
120
  } | null;
121
+ stopWhen: {
122
+ stepCountIs?: number | undefined;
123
+ } | null;
126
124
  agentId: string;
125
+ prompt: string | null;
126
+ conversationHistoryConfig: ConversationHistoryConfig | null;
127
127
  } | null;
128
128
  } | null>;
129
129
  declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
@@ -131,15 +131,11 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
131
131
  }) => Promise<{
132
132
  id: string;
133
133
  name: string;
134
+ description: string | null;
134
135
  createdAt: string;
135
136
  updatedAt: string;
136
- description: string | null;
137
- tenantId: string;
138
137
  projectId: string;
139
- stopWhen: {
140
- transferCountIs?: number | undefined;
141
- } | null;
142
- prompt: string | null;
138
+ tenantId: string;
143
139
  models: {
144
140
  base?: {
145
141
  model?: string | undefined;
@@ -154,6 +150,10 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
154
150
  providerOptions?: Record<string, any> | undefined;
155
151
  } | undefined;
156
152
  } | null;
153
+ stopWhen: {
154
+ transferCountIs?: number | undefined;
155
+ } | null;
156
+ prompt: string | null;
157
157
  defaultSubAgentId: string | null;
158
158
  contextConfigId: string | null;
159
159
  statusUpdates: {
@@ -230,15 +230,11 @@ declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params:
230
230
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
231
231
  id: string;
232
232
  name: string;
233
+ description: string | null;
233
234
  createdAt: string;
234
235
  updatedAt: string;
235
- description: string | null;
236
- tenantId: string;
237
236
  projectId: string;
238
- stopWhen: {
239
- transferCountIs?: number | undefined;
240
- } | null;
241
- prompt: string | null;
237
+ tenantId: string;
242
238
  models: {
243
239
  base?: {
244
240
  model?: string | undefined;
@@ -253,6 +249,10 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
253
249
  providerOptions?: Record<string, any> | undefined;
254
250
  } | undefined;
255
251
  } | null;
252
+ stopWhen: {
253
+ transferCountIs?: number | undefined;
254
+ } | null;
255
+ prompt: string | null;
256
256
  defaultSubAgentId: string | null;
257
257
  contextConfigId: string | null;
258
258
  statusUpdates: {
@@ -9,16 +9,16 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
9
9
  }) => Promise<{
10
10
  id: string;
11
11
  name: string;
12
- createdAt: string;
13
- updatedAt: string;
14
12
  description: string | null;
15
- tenantId: string;
16
- projectId: string;
17
13
  props: Record<string, unknown> | null;
18
14
  render: {
19
15
  component: string;
20
16
  mockData: Record<string, unknown>;
21
17
  } | null;
18
+ createdAt: string;
19
+ updatedAt: string;
20
+ projectId: string;
21
+ tenantId: string;
22
22
  } | undefined>;
23
23
  declare const listArtifactComponents: (db: AgentsManageDatabaseClient) => (params: {
24
24
  scopes: ProjectScopeConfig;
@@ -51,16 +51,16 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
51
51
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
52
52
  id: string;
53
53
  name: string;
54
- createdAt: string;
55
- updatedAt: string;
56
54
  description: string | null;
57
- tenantId: string;
58
- projectId: string;
59
55
  props: Record<string, unknown> | null;
60
56
  render: {
61
57
  component: string;
62
58
  mockData: Record<string, unknown>;
63
59
  } | null;
60
+ createdAt: string;
61
+ updatedAt: string;
62
+ projectId: string;
63
+ tenantId: string;
64
64
  }>;
65
65
  declare const updateArtifactComponent: (db: AgentsManageDatabaseClient) => (params: {
66
66
  scopes: ProjectScopeConfig;
@@ -106,8 +106,8 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
106
106
  }) => Promise<{
107
107
  id: string;
108
108
  createdAt: string;
109
- tenantId: string;
110
109
  projectId: string;
110
+ tenantId: string;
111
111
  subAgentId: string;
112
112
  agentId: string;
113
113
  artifactComponentId: string;
@@ -149,8 +149,8 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
149
149
  }) => Promise<{
150
150
  id: string;
151
151
  createdAt: string;
152
- tenantId: string;
153
152
  projectId: string;
153
+ tenantId: string;
154
154
  subAgentId: string;
155
155
  agentId: string;
156
156
  artifactComponentId: string;
@@ -11,8 +11,8 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- tenantId: string;
15
14
  projectId: string;
15
+ tenantId: string;
16
16
  agentId: string;
17
17
  headersSchema: unknown;
18
18
  contextVariables: Record<string, ContextFetchDefinition> | null;
@@ -23,8 +23,8 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
23
23
  id: string;
24
24
  createdAt: string;
25
25
  updatedAt: string;
26
- tenantId: string;
27
26
  projectId: string;
27
+ tenantId: string;
28
28
  agentId: string;
29
29
  headersSchema: unknown;
30
30
  contextVariables: Record<string, ContextFetchDefinition> | null;
@@ -45,8 +45,8 @@ declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params:
45
45
  id: string;
46
46
  createdAt: string;
47
47
  updatedAt: string;
48
- tenantId: string;
49
48
  projectId: string;
49
+ tenantId: string;
50
50
  agentId: string;
51
51
  headersSchema: unknown;
52
52
  contextVariables: Record<string, ContextFetchDefinition> | null;
@@ -85,8 +85,8 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
85
85
  id: string;
86
86
  createdAt: string;
87
87
  updatedAt: string;
88
- tenantId: string;
89
88
  projectId: string;
89
+ tenantId: string;
90
90
  agentId: string;
91
91
  headersSchema: unknown;
92
92
  contextVariables: Record<string, ContextFetchDefinition> | null;
@@ -66,11 +66,11 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
66
66
  }) => Promise<{
67
67
  id: string;
68
68
  createdAt: string;
69
- tenantId: string;
70
69
  projectId: string;
70
+ tenantId: string;
71
+ dataComponentId: string;
71
72
  subAgentId: string;
72
73
  agentId: string;
73
- dataComponentId: string;
74
74
  }>;
75
75
  /**
76
76
  * Remove association between data component and agent
@@ -108,11 +108,11 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
108
108
  }) => Promise<{
109
109
  id: string;
110
110
  createdAt: string;
111
- tenantId: string;
112
111
  projectId: string;
112
+ tenantId: string;
113
+ dataComponentId: string;
113
114
  subAgentId: string;
114
115
  agentId: string;
115
- dataComponentId: string;
116
116
  } | null>;
117
117
  /**
118
118
  * Count data components for a tenant/project
@@ -55,11 +55,11 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
55
55
  }) => Promise<{
56
56
  id: string;
57
57
  name: string;
58
+ description: string | null;
58
59
  createdAt: string;
59
60
  updatedAt: string;
60
- description: string | null;
61
- tenantId: string;
62
61
  projectId: string;
62
+ tenantId: string;
63
63
  agentId: string;
64
64
  functionId: string;
65
65
  }>;
@@ -97,11 +97,11 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
97
97
  }) => Promise<{
98
98
  id: string;
99
99
  name: string;
100
+ description: string | null;
100
101
  createdAt: string;
101
102
  updatedAt: string;
102
- description: string | null;
103
- tenantId: string;
104
103
  projectId: string;
104
+ tenantId: string;
105
105
  agentId: string;
106
106
  functionId: string;
107
107
  }>;
@@ -164,14 +164,14 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
164
164
  id: string;
165
165
  createdAt: string;
166
166
  updatedAt: string;
167
- tenantId: string;
168
167
  projectId: string;
168
+ tenantId: string;
169
169
  subAgentId: string;
170
170
  agentId: string;
171
- functionToolId: string;
172
171
  toolPolicies: Record<string, {
173
172
  needsApproval?: boolean;
174
173
  }> | null;
174
+ functionToolId: string;
175
175
  }>;
176
176
  /**
177
177
  * Update an agent-function tool relation
@@ -229,14 +229,14 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
229
229
  id: string;
230
230
  createdAt: string;
231
231
  updatedAt: string;
232
- tenantId: string;
233
232
  projectId: string;
233
+ tenantId: string;
234
234
  subAgentId: string;
235
235
  agentId: string;
236
- functionToolId: string;
237
236
  toolPolicies: Record<string, {
238
237
  needsApproval?: boolean;
239
238
  }> | null;
239
+ functionToolId: string;
240
240
  }>;
241
241
  //#endregion
242
242
  export { addFunctionToolToSubAgent, associateFunctionToolWithSubAgent, createFunctionTool, deleteFunctionTool, getFunctionToolById, getFunctionToolsForSubAgent, getSubAgentsUsingFunctionTool, isFunctionToolAssociatedWithSubAgent, listFunctionTools, removeFunctionToolFromSubAgent, updateFunctionTool, updateSubAgentFunctionToolRelation, upsertFunctionTool, upsertSubAgentFunctionToolRelation };
@@ -11,11 +11,11 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
11
11
  id: string;
12
12
  createdAt: string;
13
13
  updatedAt: string;
14
- tenantId: string;
15
14
  projectId: string;
15
+ tenantId: string;
16
16
  subAgentId: string;
17
- headers: Record<string, string> | null;
18
17
  agentId: string;
18
+ headers: Record<string, string> | null;
19
19
  externalAgentId: string;
20
20
  } | undefined>;
21
21
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -46,11 +46,11 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
46
46
  id: string;
47
47
  createdAt: string;
48
48
  updatedAt: string;
49
- tenantId: string;
50
49
  projectId: string;
50
+ tenantId: string;
51
51
  subAgentId: string;
52
- headers: Record<string, string> | null;
53
52
  agentId: string;
53
+ headers: Record<string, string> | null;
54
54
  externalAgentId: string;
55
55
  }[]>;
56
56
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -59,11 +59,11 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
59
59
  id: string;
60
60
  createdAt: string;
61
61
  updatedAt: string;
62
- tenantId: string;
63
62
  projectId: string;
63
+ tenantId: string;
64
64
  subAgentId: string;
65
- headers: Record<string, string> | null;
66
65
  agentId: string;
66
+ headers: Record<string, string> | null;
67
67
  externalAgentId: string;
68
68
  }[]>;
69
69
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -182,11 +182,11 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
182
182
  id: string;
183
183
  createdAt: string;
184
184
  updatedAt: string;
185
- tenantId: string;
186
185
  projectId: string;
186
+ tenantId: string;
187
187
  subAgentId: string;
188
- headers: Record<string, string> | null;
189
188
  agentId: string;
189
+ headers: Record<string, string> | null;
190
190
  externalAgentId: string;
191
191
  }>;
192
192
  /**
@@ -199,11 +199,11 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
199
199
  id: string;
200
200
  createdAt: string;
201
201
  updatedAt: string;
202
- tenantId: string;
203
202
  projectId: string;
203
+ tenantId: string;
204
204
  subAgentId: string;
205
- headers: Record<string, string> | null;
206
205
  agentId: string;
206
+ headers: Record<string, string> | null;
207
207
  externalAgentId: string;
208
208
  } | undefined>;
209
209
  /**
@@ -220,11 +220,11 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
220
220
  id: string;
221
221
  createdAt: string;
222
222
  updatedAt: string;
223
- tenantId: string;
224
223
  projectId: string;
224
+ tenantId: string;
225
225
  subAgentId: string;
226
- headers: Record<string, string> | null;
227
226
  agentId: string;
227
+ headers: Record<string, string> | null;
228
228
  externalAgentId: string;
229
229
  }>;
230
230
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {