@inkeep/agents-core 0.0.0-dev-20260310174107 → 0.0.0-dev-20260310195924

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.
@@ -4,7 +4,7 @@ import * as zod0 from "zod";
4
4
  import * as better_auth0 from "better-auth";
5
5
  import { BetterAuthAdvancedOptions } from "better-auth";
6
6
  import * as _better_auth_sso0 from "@better-auth/sso";
7
- import * as better_auth_plugins20 from "better-auth/plugins";
7
+ import * as better_auth_plugins0 from "better-auth/plugins";
8
8
  import { GoogleOptions } from "better-auth/social-providers";
9
9
 
10
10
  //#region src/auth/auth.d.ts
@@ -277,7 +277,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
277
277
  handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
278
278
  }[];
279
279
  };
280
- options: better_auth_plugins20.BearerOptions | undefined;
280
+ options: better_auth_plugins0.BearerOptions | undefined;
281
281
  }, {
282
282
  id: "sso";
283
283
  endpoints: {
@@ -1268,30 +1268,30 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1268
1268
  handler: (inputContext: better_auth0.MiddlewareInputContext<better_auth0.MiddlewareOptions>) => Promise<void>;
1269
1269
  }[];
1270
1270
  };
1271
- }, better_auth_plugins20.DefaultOrganizationPlugin<{
1271
+ }, better_auth_plugins0.DefaultOrganizationPlugin<{
1272
1272
  allowUserToCreateOrganization: true;
1273
- ac: better_auth_plugins20.AccessControl;
1273
+ ac: better_auth_plugins0.AccessControl;
1274
1274
  roles: {
1275
1275
  member: {
1276
- authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>[key] | {
1277
- actions: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>[key];
1276
+ authorize<K_1 extends "organization" | "ac" | "member" | "project" | "team" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>[key] | {
1277
+ actions: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>[key];
1278
1278
  connector: "OR" | "AND";
1279
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1280
- statements: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>;
1279
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1280
+ statements: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>;
1281
1281
  };
1282
1282
  admin: {
1283
- authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>[key] | {
1284
- actions: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>[key];
1283
+ authorize<K_1 extends "organization" | "ac" | "member" | "project" | "team" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>[key] | {
1284
+ actions: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>[key];
1285
1285
  connector: "OR" | "AND";
1286
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1287
- statements: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>;
1286
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1287
+ statements: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>;
1288
1288
  };
1289
1289
  owner: {
1290
- authorize<K_1 extends "project" | "organization" | "team" | "member" | "ac" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>[key] | {
1291
- actions: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>[key];
1290
+ authorize<K_1 extends "organization" | "ac" | "member" | "project" | "team" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>[key] | {
1291
+ actions: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>[key];
1292
1292
  connector: "OR" | "AND";
1293
- } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins20.AuthorizeResponse;
1294
- statements: better_auth_plugins20.Subset<"project" | "organization" | "team" | "member" | "ac" | "invitation", better_auth_plugins20.Statements>;
1293
+ } | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
1294
+ statements: better_auth_plugins0.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins0.Statements>;
1295
1295
  };
1296
1296
  };
1297
1297
  creatorRole: "admin";
@@ -1302,9 +1302,9 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1302
1302
  id: string;
1303
1303
  role: string;
1304
1304
  email: string;
1305
- organization: better_auth_plugins20.Organization;
1306
- invitation: better_auth_plugins20.Invitation;
1307
- inviter: better_auth_plugins20.Member & {
1305
+ organization: better_auth_plugins0.Organization;
1306
+ invitation: better_auth_plugins0.Invitation;
1307
+ inviter: better_auth_plugins0.Member & {
1308
1308
  user: better_auth0.User;
1309
1309
  };
1310
1310
  }): Promise<void>;
@@ -1339,28 +1339,28 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1339
1339
  user,
1340
1340
  organization: org
1341
1341
  }: {
1342
- invitation: better_auth_plugins20.Invitation & Record<string, any>;
1343
- member: better_auth_plugins20.Member & Record<string, any>;
1342
+ invitation: better_auth_plugins0.Invitation & Record<string, any>;
1343
+ member: better_auth_plugins0.Member & Record<string, any>;
1344
1344
  user: better_auth0.User & Record<string, any>;
1345
- organization: better_auth_plugins20.Organization & Record<string, any>;
1345
+ organization: better_auth_plugins0.Organization & Record<string, any>;
1346
1346
  }) => Promise<void>;
1347
1347
  beforeUpdateMemberRole: ({
1348
1348
  member,
1349
1349
  organization: org,
1350
1350
  newRole
1351
1351
  }: {
1352
- member: better_auth_plugins20.Member & Record<string, any>;
1352
+ member: better_auth_plugins0.Member & Record<string, any>;
1353
1353
  newRole: string;
1354
1354
  user: better_auth0.User & Record<string, any>;
1355
- organization: better_auth_plugins20.Organization & Record<string, any>;
1355
+ organization: better_auth_plugins0.Organization & Record<string, any>;
1356
1356
  }) => Promise<void>;
1357
1357
  beforeRemoveMember: ({
1358
1358
  member,
1359
1359
  organization: org
1360
1360
  }: {
1361
- member: better_auth_plugins20.Member & Record<string, any>;
1361
+ member: better_auth_plugins0.Member & Record<string, any>;
1362
1362
  user: better_auth0.User & Record<string, any>;
1363
- organization: better_auth_plugins20.Organization & Record<string, any>;
1363
+ organization: better_auth_plugins0.Organization & Record<string, any>;
1364
1364
  }) => Promise<void>;
1365
1365
  };
1366
1366
  }>, {
@@ -1701,8 +1701,8 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
1701
1701
  readonly AUTHENTICATION_REQUIRED: "Authentication required";
1702
1702
  };
1703
1703
  options: Partial<{
1704
- expiresIn: better_auth_plugins20.TimeString;
1705
- interval: better_auth_plugins20.TimeString;
1704
+ expiresIn: better_auth_plugins0.TimeString;
1705
+ interval: better_auth_plugins0.TimeString;
1706
1706
  deviceCodeLength: number;
1707
1707
  userCodeLength: number;
1708
1708
  schema: {
@@ -1,29 +1,29 @@
1
- import * as better_auth_plugins0 from "better-auth/plugins";
1
+ import * as better_auth_plugins35 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" | "ac" | "member" | "project" | "team" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.Statements>[key] | {
9
+ actions: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.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_plugins35.AuthorizeResponse;
12
+ statements: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.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" | "ac" | "member" | "project" | "team" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.Statements>[key] | {
16
+ actions: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.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_plugins35.AuthorizeResponse;
19
+ statements: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.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" | "ac" | "member" | "project" | "team" | "invitation">(request: K_1 extends infer T extends K ? { [key in T]?: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.Statements>[key] | {
23
+ actions: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.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_plugins35.AuthorizeResponse;
26
+ statements: better_auth_plugins35.Subset<"organization" | "ac" | "member" | "project" | "team" | "invitation", better_auth_plugins35.Statements>;
27
27
  };
28
28
  //#endregion
29
29
  export { ac, adminRole, memberRole, organizationClient, ownerRole };
@@ -18,9 +18,10 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
18
18
  defaultSubAgentId: z.ZodOptional<z.ZodString>;
19
19
  subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
20
20
  id: z.ZodString;
21
+ createdAt: z.ZodOptional<z.ZodString>;
22
+ updatedAt: z.ZodOptional<z.ZodString>;
21
23
  name: z.ZodString;
22
24
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
- conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
24
25
  models: z.ZodOptional<z.ZodObject<{
25
26
  base: z.ZodOptional<z.ZodObject<{
26
27
  model: z.ZodOptional<z.ZodString>;
@@ -35,8 +36,7 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
35
36
  providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
36
37
  }, z.core.$strip>>;
37
38
  }, z.core.$strip>>;
38
- createdAt: z.ZodOptional<z.ZodString>;
39
- updatedAt: z.ZodOptional<z.ZodString>;
39
+ conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
40
40
  type: z.ZodLiteral<"internal">;
41
41
  canUse: z.ZodArray<z.ZodObject<{
42
42
  agentToolRelationId: z.ZodOptional<z.ZodString>;
@@ -111,6 +111,28 @@ declare const SPAN_KEYS: {
111
111
  readonly CONTEXT_BREAKDOWN_THINKING_PREPARATION: "context.breakdown.thinking_preparation_tokens";
112
112
  readonly CONTEXT_BREAKDOWN_CONVERSATION_HISTORY: "context.breakdown.conversation_history_tokens";
113
113
  readonly CONTEXT_BREAKDOWN_TOTAL: "context.breakdown.total_tokens";
114
+ readonly COMPRESSION_TYPE: "compression.type";
115
+ readonly COMPRESSION_SESSION_ID: "compression.session_id";
116
+ readonly COMPRESSION_MESSAGE_COUNT: "compression.message_count";
117
+ readonly COMPRESSION_BASE_CONTEXT_TOKENS: "compression.base_context_tokens";
118
+ readonly COMPRESSION_GENERATED_TOKENS: "compression.generated_tokens";
119
+ readonly COMPRESSION_TOTAL_CONTEXT_TOKENS: "compression.total_context_tokens";
120
+ readonly COMPRESSION_HARD_LIMIT: "compression.hard_limit";
121
+ readonly COMPRESSION_TRIGGER_AT: "compression.trigger_at";
122
+ readonly COMPRESSION_SAFETY_BUFFER: "compression.safety_buffer";
123
+ readonly COMPRESSION_OVERAGE: "compression.overage";
124
+ readonly COMPRESSION_SUCCESS: "compression.success";
125
+ readonly COMPRESSION_ERROR: "compression.error";
126
+ readonly COMPRESSION_RESULT_ARTIFACT_COUNT: "compression.result.artifact_count";
127
+ readonly COMPRESSION_RESULT_ARTIFACT_IDS: "compression.result.artifact_ids";
128
+ readonly COMPRESSION_RESULT_OUTPUT_TOKENS: "compression.result.output_tokens";
129
+ readonly COMPRESSION_RESULT_COMPRESSION_RATIO: "compression.result.compression_ratio";
130
+ readonly COMPRESSION_RESULT_HIGH_LEVEL: "compression.result.high_level";
131
+ readonly COMPRESSION_RESULT_USER_INTENT: "compression.result.user_intent";
132
+ readonly COMPRESSION_RESULT_DECISIONS_COUNT: "compression.result.decisions_count";
133
+ readonly COMPRESSION_RESULT_NEXT_STEPS_FOR_AGENT_COUNT: "compression.result.next_steps_for_agent_count";
134
+ readonly COMPRESSION_RESULT_OPEN_QUESTIONS_COUNT: "compression.result.open_questions_count";
135
+ readonly COMPRESSION_RESULT_RELATED_ARTIFACT_COUNT: "compression.result.related_artifact_count";
114
136
  readonly AGENT_MAX_STEPS_REACHED: "agent.max_steps_reached";
115
137
  readonly AGENT_STEPS_COMPLETED: "agent.steps_completed";
116
138
  readonly AGENT_MAX_STEPS: "agent.max_steps";
@@ -111,6 +111,28 @@ const SPAN_KEYS = {
111
111
  CONTEXT_BREAKDOWN_THINKING_PREPARATION: "context.breakdown.thinking_preparation_tokens",
112
112
  CONTEXT_BREAKDOWN_CONVERSATION_HISTORY: "context.breakdown.conversation_history_tokens",
113
113
  CONTEXT_BREAKDOWN_TOTAL: "context.breakdown.total_tokens",
114
+ COMPRESSION_TYPE: "compression.type",
115
+ COMPRESSION_SESSION_ID: "compression.session_id",
116
+ COMPRESSION_MESSAGE_COUNT: "compression.message_count",
117
+ COMPRESSION_BASE_CONTEXT_TOKENS: "compression.base_context_tokens",
118
+ COMPRESSION_GENERATED_TOKENS: "compression.generated_tokens",
119
+ COMPRESSION_TOTAL_CONTEXT_TOKENS: "compression.total_context_tokens",
120
+ COMPRESSION_HARD_LIMIT: "compression.hard_limit",
121
+ COMPRESSION_TRIGGER_AT: "compression.trigger_at",
122
+ COMPRESSION_SAFETY_BUFFER: "compression.safety_buffer",
123
+ COMPRESSION_OVERAGE: "compression.overage",
124
+ COMPRESSION_SUCCESS: "compression.success",
125
+ COMPRESSION_ERROR: "compression.error",
126
+ COMPRESSION_RESULT_ARTIFACT_COUNT: "compression.result.artifact_count",
127
+ COMPRESSION_RESULT_ARTIFACT_IDS: "compression.result.artifact_ids",
128
+ COMPRESSION_RESULT_OUTPUT_TOKENS: "compression.result.output_tokens",
129
+ COMPRESSION_RESULT_COMPRESSION_RATIO: "compression.result.compression_ratio",
130
+ COMPRESSION_RESULT_HIGH_LEVEL: "compression.result.high_level",
131
+ COMPRESSION_RESULT_USER_INTENT: "compression.result.user_intent",
132
+ COMPRESSION_RESULT_DECISIONS_COUNT: "compression.result.decisions_count",
133
+ COMPRESSION_RESULT_NEXT_STEPS_FOR_AGENT_COUNT: "compression.result.next_steps_for_agent_count",
134
+ COMPRESSION_RESULT_OPEN_QUESTIONS_COUNT: "compression.result.open_questions_count",
135
+ COMPRESSION_RESULT_RELATED_ARTIFACT_COUNT: "compression.result.related_artifact_count",
114
136
  AGENT_MAX_STEPS_REACHED: "agent.max_steps_reached",
115
137
  AGENT_STEPS_COMPLETED: "agent.steps_completed",
116
138
  AGENT_MAX_STEPS: "agent.max_steps",
@@ -11,11 +11,11 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  createdAt: string;
14
- name: string;
15
14
  updatedAt: string;
15
+ name: string;
16
+ description: string | null;
16
17
  projectId: string;
17
18
  tenantId: string;
18
- description: string | null;
19
19
  defaultSubAgentId: string | null;
20
20
  contextConfigId: string | null;
21
21
  models: {
@@ -57,11 +57,11 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
57
57
  }) => Promise<{
58
58
  id: string;
59
59
  createdAt: string;
60
- name: string;
61
60
  updatedAt: string;
61
+ name: string;
62
+ description: string | null;
62
63
  projectId: string;
63
64
  tenantId: string;
64
- description: string | null;
65
65
  defaultSubAgentId: string | null;
66
66
  contextConfigId: string | null;
67
67
  models: {
@@ -100,12 +100,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
100
100
  defaultSubAgent: {
101
101
  id: string;
102
102
  createdAt: string;
103
- name: string;
104
103
  updatedAt: string;
104
+ name: string;
105
+ description: string | null;
105
106
  agentId: string;
106
107
  projectId: string;
107
108
  tenantId: string;
108
- description: string | null;
109
109
  models: {
110
110
  base?: {
111
111
  model?: string | undefined;
@@ -132,11 +132,11 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
132
132
  }) => Promise<{
133
133
  id: string;
134
134
  createdAt: string;
135
- name: string;
136
135
  updatedAt: string;
136
+ name: string;
137
+ description: string | null;
137
138
  projectId: string;
138
139
  tenantId: string;
139
- description: string | null;
140
140
  defaultSubAgentId: string | null;
141
141
  contextConfigId: string | null;
142
142
  models: {
@@ -248,11 +248,11 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
248
248
  declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
249
249
  id: string;
250
250
  createdAt: string;
251
- name: string;
252
251
  updatedAt: string;
252
+ name: string;
253
+ description: string | null;
253
254
  projectId: string;
254
255
  tenantId: string;
255
- description: string | null;
256
256
  defaultSubAgentId: string | null;
257
257
  contextConfigId: string | null;
258
258
  models: {
@@ -11,11 +11,11 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
11
11
  }) => Promise<{
12
12
  id: string;
13
13
  createdAt: string;
14
- name: string;
15
14
  updatedAt: string;
15
+ name: string;
16
+ description: string | null;
16
17
  projectId: string;
17
18
  tenantId: string;
18
- description: string | null;
19
19
  props: {
20
20
  [x: string]: unknown;
21
21
  type: "object";
@@ -67,11 +67,11 @@ declare const listArtifactComponentsPaginated: (db: AgentsManageDatabaseClient)
67
67
  declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (params: ArtifactComponentInsert) => Promise<{
68
68
  id: string;
69
69
  createdAt: string;
70
- name: string;
71
70
  updatedAt: string;
71
+ name: string;
72
+ description: string | null;
72
73
  projectId: string;
73
74
  tenantId: string;
74
- description: string | null;
75
75
  props: {
76
76
  [x: string]: unknown;
77
77
  type: "object";
@@ -10,10 +10,10 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
10
10
  id: string;
11
11
  }) => Promise<{
12
12
  id: string;
13
- headersSchema: unknown;
14
- contextVariables: Record<string, ContextFetchDefinition> | null;
15
13
  createdAt: string;
16
14
  updatedAt: string;
15
+ headersSchema: unknown;
16
+ contextVariables: Record<string, ContextFetchDefinition> | null;
17
17
  agentId: string;
18
18
  projectId: string;
19
19
  tenantId: string;
@@ -22,10 +22,10 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
22
22
  scopes: AgentScopeConfig;
23
23
  }) => Promise<{
24
24
  id: string;
25
- headersSchema: unknown;
26
- contextVariables: Record<string, ContextFetchDefinition> | null;
27
25
  createdAt: string;
28
26
  updatedAt: string;
27
+ headersSchema: unknown;
28
+ contextVariables: Record<string, ContextFetchDefinition> | null;
29
29
  agentId: string;
30
30
  projectId: string;
31
31
  tenantId: string;
@@ -44,10 +44,10 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
44
44
  }>;
45
45
  declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
46
46
  id: string;
47
- headersSchema: unknown;
48
- contextVariables: Record<string, ContextFetchDefinition> | null;
49
47
  createdAt: string;
50
48
  updatedAt: string;
49
+ headersSchema: unknown;
50
+ contextVariables: Record<string, ContextFetchDefinition> | null;
51
51
  agentId: string;
52
52
  projectId: string;
53
53
  tenantId: string;
@@ -84,10 +84,10 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
84
84
  data: ContextConfigInsert;
85
85
  }) => Promise<{
86
86
  id: string;
87
- headersSchema: unknown;
88
- contextVariables: Record<string, ContextFetchDefinition> | null;
89
87
  createdAt: string;
90
88
  updatedAt: string;
89
+ headersSchema: unknown;
90
+ contextVariables: Record<string, ContextFetchDefinition> | null;
91
91
  agentId: string;
92
92
  projectId: string;
93
93
  tenantId: string;
@@ -55,12 +55,12 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
55
55
  }) => Promise<{
56
56
  id: string;
57
57
  createdAt: string;
58
- name: string;
59
58
  updatedAt: string;
59
+ name: string;
60
+ description: string | null;
60
61
  agentId: string;
61
62
  projectId: string;
62
63
  tenantId: string;
63
- description: string | null;
64
64
  functionId: string;
65
65
  }>;
66
66
  /**
@@ -97,12 +97,12 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
97
97
  }) => Promise<{
98
98
  id: string;
99
99
  createdAt: string;
100
- name: string;
101
100
  updatedAt: string;
101
+ name: string;
102
+ description: string | null;
102
103
  agentId: string;
103
104
  projectId: string;
104
105
  tenantId: string;
105
- description: string | null;
106
106
  functionId: string;
107
107
  }>;
108
108
  declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -8,14 +8,14 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
8
8
  scopes: ProjectScopeConfig;
9
9
  skillId: string;
10
10
  }) => Promise<{
11
+ metadata: Record<string, string> | null;
11
12
  id: string;
12
13
  createdAt: string;
13
- name: string;
14
14
  updatedAt: string;
15
+ name: string;
16
+ description: string;
15
17
  projectId: string;
16
18
  tenantId: string;
17
- description: string;
18
- metadata: Record<string, string> | null;
19
19
  content: string;
20
20
  } | null>;
21
21
  declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
@@ -41,25 +41,25 @@ declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
41
41
  };
42
42
  }>;
43
43
  declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
44
+ metadata: Record<string, string> | null;
44
45
  id: string;
45
46
  createdAt: string;
46
- name: string;
47
47
  updatedAt: string;
48
+ name: string;
49
+ description: string;
48
50
  projectId: string;
49
51
  tenantId: string;
50
- description: string;
51
- metadata: Record<string, string> | null;
52
52
  content: string;
53
53
  }>;
54
54
  declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
55
+ metadata: Record<string, string> | null;
55
56
  id: string;
56
57
  createdAt: string;
57
- name: string;
58
58
  updatedAt: string;
59
+ name: string;
60
+ description: string;
59
61
  projectId: string;
60
62
  tenantId: string;
61
- description: string;
62
- metadata: Record<string, string> | null;
63
63
  content: string;
64
64
  }>;
65
65
  declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
@@ -9,6 +9,7 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
9
9
  scopes: SubAgentScopeConfig;
10
10
  relationId: string;
11
11
  }) => Promise<{
12
+ headers: Record<string, string> | null;
12
13
  id: string;
13
14
  createdAt: string;
14
15
  updatedAt: string;
@@ -16,7 +17,6 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
16
17
  projectId: string;
17
18
  tenantId: string;
18
19
  subAgentId: string;
19
- headers: Record<string, string> | null;
20
20
  externalAgentId: string;
21
21
  } | undefined>;
22
22
  declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
@@ -44,6 +44,7 @@ declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClien
44
44
  declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
45
45
  scopes: SubAgentScopeConfig;
46
46
  }) => Promise<{
47
+ headers: Record<string, string> | null;
47
48
  id: string;
48
49
  createdAt: string;
49
50
  updatedAt: string;
@@ -51,12 +52,12 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
51
52
  projectId: string;
52
53
  tenantId: string;
53
54
  subAgentId: string;
54
- headers: Record<string, string> | null;
55
55
  externalAgentId: string;
56
56
  }[]>;
57
57
  declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
58
58
  scopes: AgentScopeConfig;
59
59
  }) => Promise<{
60
+ headers: Record<string, string> | null;
60
61
  id: string;
61
62
  createdAt: string;
62
63
  updatedAt: string;
@@ -64,7 +65,6 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
64
65
  projectId: string;
65
66
  tenantId: string;
66
67
  subAgentId: string;
67
- headers: Record<string, string> | null;
68
68
  externalAgentId: string;
69
69
  }[]>;
70
70
  declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
@@ -180,6 +180,7 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
180
180
  headers?: Record<string, string> | null;
181
181
  };
182
182
  }) => Promise<{
183
+ headers: Record<string, string> | null;
183
184
  id: string;
184
185
  createdAt: string;
185
186
  updatedAt: string;
@@ -187,7 +188,6 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
187
188
  projectId: string;
188
189
  tenantId: string;
189
190
  subAgentId: string;
190
- headers: Record<string, string> | null;
191
191
  externalAgentId: string;
192
192
  }>;
193
193
  /**
@@ -197,6 +197,7 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
197
197
  scopes: SubAgentScopeConfig;
198
198
  externalAgentId: string;
199
199
  }) => Promise<{
200
+ headers: Record<string, string> | null;
200
201
  id: string;
201
202
  createdAt: string;
202
203
  updatedAt: string;
@@ -204,7 +205,6 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
204
205
  projectId: string;
205
206
  tenantId: string;
206
207
  subAgentId: string;
207
- headers: Record<string, string> | null;
208
208
  externalAgentId: string;
209
209
  } | undefined>;
210
210
  /**
@@ -218,6 +218,7 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
218
218
  headers?: Record<string, string> | null;
219
219
  };
220
220
  }) => Promise<{
221
+ headers: Record<string, string> | null;
221
222
  id: string;
222
223
  createdAt: string;
223
224
  updatedAt: string;
@@ -225,7 +226,6 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
225
226
  projectId: string;
226
227
  tenantId: string;
227
228
  subAgentId: string;
228
- headers: Record<string, string> | null;
229
229
  externalAgentId: string;
230
230
  }>;
231
231
  declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
@@ -204,15 +204,15 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
204
204
  }> | null;
205
205
  };
206
206
  }) => Promise<{
207
+ headers: Record<string, string> | null;
207
208
  id: string;
208
209
  createdAt: string;
209
210
  updatedAt: string;
210
211
  agentId: string;
211
212
  projectId: string;
212
213
  tenantId: string;
213
- subAgentId: string;
214
214
  toolId: string;
215
- headers: Record<string, string> | null;
215
+ subAgentId: string;
216
216
  toolPolicies: Record<string, {
217
217
  needsApproval?: boolean;
218
218
  }> | null;
@@ -248,15 +248,15 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
248
248
  scopes: SubAgentScopeConfig;
249
249
  relationId: string;
250
250
  }) => Promise<{
251
+ headers: Record<string, string> | null;
251
252
  id: string;
252
253
  createdAt: string;
253
254
  updatedAt: string;
254
255
  agentId: string;
255
256
  projectId: string;
256
257
  tenantId: string;
257
- subAgentId: string;
258
258
  toolId: string;
259
- headers: Record<string, string> | null;
259
+ subAgentId: string;
260
260
  toolPolicies: Record<string, {
261
261
  needsApproval?: boolean;
262
262
  }> | null;