@inkeep/agents-core 0.0.0-dev-20260217234908 → 0.0.0-dev-20260218022048
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.
- package/dist/auth/auth-schema.d.ts +83 -83
- package/dist/auth/auth-validation-schemas.d.ts +148 -148
- package/dist/auth/auth.d.ts +22 -22
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +1 -1
- package/dist/constants/models.d.ts +1 -0
- package/dist/constants/models.js +1 -0
- package/dist/data-access/manage/agents.d.ts +21 -21
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +12 -12
- package/dist/data-access/manage/dataComponents.d.ts +2 -2
- package/dist/data-access/manage/functionTools.d.ts +10 -10
- package/dist/data-access/manage/skills.d.ts +12 -12
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +20 -20
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +15 -15
- package/dist/data-access/manage/tools.d.ts +24 -24
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +8 -8
- package/dist/data-access/runtime/conversations.d.ts +23 -23
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +3 -3
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/manage-schema.d.ts +4 -4
- package/dist/db/runtime/runtime-schema.d.ts +10 -10
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas.d.ts +1707 -1707
- package/package.json +1 -1
package/dist/auth/auth.d.ts
CHANGED
|
@@ -880,25 +880,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
880
880
|
ac: better_auth_plugins0.AccessControl;
|
|
881
881
|
roles: {
|
|
882
882
|
member: {
|
|
883
|
-
authorize<K_1 extends "
|
|
884
|
-
actions: better_auth_plugins0.Subset<"
|
|
883
|
+
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] | {
|
|
884
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
885
885
|
connector: "OR" | "AND";
|
|
886
886
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
887
|
-
statements: better_auth_plugins0.Subset<"
|
|
887
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
888
888
|
};
|
|
889
889
|
admin: {
|
|
890
|
-
authorize<K_1 extends "
|
|
891
|
-
actions: better_auth_plugins0.Subset<"
|
|
890
|
+
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] | {
|
|
891
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
892
892
|
connector: "OR" | "AND";
|
|
893
893
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
894
|
-
statements: better_auth_plugins0.Subset<"
|
|
894
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
895
895
|
};
|
|
896
896
|
owner: {
|
|
897
|
-
authorize<K_1 extends "
|
|
898
|
-
actions: better_auth_plugins0.Subset<"
|
|
897
|
+
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] | {
|
|
898
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
899
899
|
connector: "OR" | "AND";
|
|
900
900
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
901
|
-
statements: better_auth_plugins0.Subset<"
|
|
901
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
902
902
|
};
|
|
903
903
|
};
|
|
904
904
|
creatorRole: "admin";
|
|
@@ -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" | "
|
|
1087
|
+
role: "member" | "admin" | "owner";
|
|
1088
1088
|
status: better_auth_plugins0.InvitationStatus;
|
|
1089
1089
|
inviterId: string;
|
|
1090
1090
|
expiresAt: Date;
|
|
@@ -1094,7 +1094,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1094
1094
|
Member: {
|
|
1095
1095
|
id: string;
|
|
1096
1096
|
organizationId: string;
|
|
1097
|
-
role: "member" | "
|
|
1097
|
+
role: "member" | "admin" | "owner";
|
|
1098
1098
|
createdAt: Date;
|
|
1099
1099
|
userId: string;
|
|
1100
1100
|
user: {
|
|
@@ -1110,7 +1110,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1110
1110
|
members: {
|
|
1111
1111
|
id: string;
|
|
1112
1112
|
organizationId: string;
|
|
1113
|
-
role: "member" | "
|
|
1113
|
+
role: "member" | "admin" | "owner";
|
|
1114
1114
|
createdAt: Date;
|
|
1115
1115
|
userId: string;
|
|
1116
1116
|
user: {
|
|
@@ -1124,7 +1124,7 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1124
1124
|
id: string;
|
|
1125
1125
|
organizationId: string;
|
|
1126
1126
|
email: string;
|
|
1127
|
-
role: "member" | "
|
|
1127
|
+
role: "member" | "admin" | "owner";
|
|
1128
1128
|
status: better_auth_plugins0.InvitationStatus;
|
|
1129
1129
|
inviterId: string;
|
|
1130
1130
|
expiresAt: Date;
|
|
@@ -1203,25 +1203,25 @@ declare function createAuth(config: BetterAuthConfig): better_auth0.Auth<{
|
|
|
1203
1203
|
ac: better_auth_plugins0.AccessControl;
|
|
1204
1204
|
roles: {
|
|
1205
1205
|
member: {
|
|
1206
|
-
authorize<K_1 extends "
|
|
1207
|
-
actions: better_auth_plugins0.Subset<"
|
|
1206
|
+
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] | {
|
|
1207
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
1208
1208
|
connector: "OR" | "AND";
|
|
1209
1209
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1210
|
-
statements: better_auth_plugins0.Subset<"
|
|
1210
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
1211
1211
|
};
|
|
1212
1212
|
admin: {
|
|
1213
|
-
authorize<K_1 extends "
|
|
1214
|
-
actions: better_auth_plugins0.Subset<"
|
|
1213
|
+
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] | {
|
|
1214
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
1215
1215
|
connector: "OR" | "AND";
|
|
1216
1216
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1217
|
-
statements: better_auth_plugins0.Subset<"
|
|
1217
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
1218
1218
|
};
|
|
1219
1219
|
owner: {
|
|
1220
|
-
authorize<K_1 extends "
|
|
1221
|
-
actions: better_auth_plugins0.Subset<"
|
|
1220
|
+
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] | {
|
|
1221
|
+
actions: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>[key];
|
|
1222
1222
|
connector: "OR" | "AND";
|
|
1223
1223
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins0.AuthorizeResponse;
|
|
1224
|
-
statements: better_auth_plugins0.Subset<"
|
|
1224
|
+
statements: better_auth_plugins0.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins0.Statements>;
|
|
1225
1225
|
};
|
|
1226
1226
|
};
|
|
1227
1227
|
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 "
|
|
9
|
-
actions: better_auth_plugins69.Subset<"
|
|
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];
|
|
10
10
|
connector: "OR" | "AND";
|
|
11
11
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
|
|
12
|
-
statements: better_auth_plugins69.Subset<"
|
|
12
|
+
statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
|
|
13
13
|
};
|
|
14
14
|
declare const adminRole: {
|
|
15
|
-
authorize<K_1 extends "
|
|
16
|
-
actions: better_auth_plugins69.Subset<"
|
|
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];
|
|
17
17
|
connector: "OR" | "AND";
|
|
18
18
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
|
|
19
|
-
statements: better_auth_plugins69.Subset<"
|
|
19
|
+
statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
|
|
20
20
|
};
|
|
21
21
|
declare const ownerRole: {
|
|
22
|
-
authorize<K_1 extends "
|
|
23
|
-
actions: better_auth_plugins69.Subset<"
|
|
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];
|
|
24
24
|
connector: "OR" | "AND";
|
|
25
25
|
} | undefined } : never, connector?: "OR" | "AND"): better_auth_plugins69.AuthorizeResponse;
|
|
26
|
-
statements: better_auth_plugins69.Subset<"
|
|
26
|
+
statements: better_auth_plugins69.Subset<"organization" | "member" | "invitation" | "ac" | "project" | "team", better_auth_plugins69.Statements>;
|
|
27
27
|
};
|
|
28
28
|
//#endregion
|
|
29
29
|
export { ac, adminRole, memberRole, organizationClient, ownerRole };
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
20
20
|
id: z.ZodString;
|
|
21
21
|
name: z.ZodString;
|
|
22
22
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
23
24
|
models: z.ZodOptional<z.ZodObject<{
|
|
24
25
|
base: z.ZodOptional<z.ZodObject<{
|
|
25
26
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -45,7 +46,6 @@ declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
|
45
46
|
}>>>>;
|
|
46
47
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
47
48
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
48
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
49
49
|
type: z.ZodLiteral<"internal">;
|
|
50
50
|
canUse: z.ZodArray<z.ZodObject<{
|
|
51
51
|
agentToolRelationId: z.ZodOptional<z.ZodString>;
|
|
@@ -9,6 +9,7 @@ declare const ANTHROPIC_MODELS: {
|
|
|
9
9
|
readonly CLAUDE_OPUS_4_5_20251101: "anthropic/claude-opus-4-5-20251101";
|
|
10
10
|
readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1";
|
|
11
11
|
readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
|
|
12
|
+
readonly CLAUDE_SONNET_4_6: "anthropic/claude-sonnet-4-6";
|
|
12
13
|
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5";
|
|
13
14
|
readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
|
|
14
15
|
readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-0";
|
package/dist/constants/models.js
CHANGED
|
@@ -9,6 +9,7 @@ const ANTHROPIC_MODELS = {
|
|
|
9
9
|
CLAUDE_OPUS_4_5_20251101: "anthropic/claude-opus-4-5-20251101",
|
|
10
10
|
CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
|
|
11
11
|
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
12
|
+
CLAUDE_SONNET_4_6: "anthropic/claude-sonnet-4-6",
|
|
12
13
|
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
|
|
13
14
|
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
14
15
|
CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-0",
|
|
@@ -11,6 +11,10 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
11
11
|
id: string;
|
|
12
12
|
name: string;
|
|
13
13
|
description: string | null;
|
|
14
|
+
defaultSubAgentId: string | null;
|
|
15
|
+
tenantId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
prompt: string | null;
|
|
14
18
|
models: {
|
|
15
19
|
base?: {
|
|
16
20
|
model?: string | undefined;
|
|
@@ -30,10 +34,7 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
30
34
|
} | null;
|
|
31
35
|
createdAt: string;
|
|
32
36
|
updatedAt: string;
|
|
33
|
-
tenantId: string;
|
|
34
|
-
defaultSubAgentId: string | null;
|
|
35
37
|
contextConfigId: string | null;
|
|
36
|
-
prompt: string | null;
|
|
37
38
|
statusUpdates: {
|
|
38
39
|
enabled?: boolean | undefined;
|
|
39
40
|
numEvents?: number | undefined;
|
|
@@ -49,7 +50,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
49
50
|
} | undefined;
|
|
50
51
|
}[] | undefined;
|
|
51
52
|
} | null;
|
|
52
|
-
projectId: string;
|
|
53
53
|
} | null>;
|
|
54
54
|
declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
55
55
|
scopes: AgentScopeConfig;
|
|
@@ -57,6 +57,10 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
57
57
|
id: string;
|
|
58
58
|
name: string;
|
|
59
59
|
description: string | null;
|
|
60
|
+
defaultSubAgentId: string | null;
|
|
61
|
+
tenantId: string;
|
|
62
|
+
projectId: string;
|
|
63
|
+
prompt: string | null;
|
|
60
64
|
models: {
|
|
61
65
|
base?: {
|
|
62
66
|
model?: string | undefined;
|
|
@@ -76,10 +80,7 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
76
80
|
} | null;
|
|
77
81
|
createdAt: string;
|
|
78
82
|
updatedAt: string;
|
|
79
|
-
tenantId: string;
|
|
80
|
-
defaultSubAgentId: string | null;
|
|
81
83
|
contextConfigId: string | null;
|
|
82
|
-
prompt: string | null;
|
|
83
84
|
statusUpdates: {
|
|
84
85
|
enabled?: boolean | undefined;
|
|
85
86
|
numEvents?: number | undefined;
|
|
@@ -95,11 +96,15 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
95
96
|
} | undefined;
|
|
96
97
|
}[] | undefined;
|
|
97
98
|
} | null;
|
|
98
|
-
projectId: string;
|
|
99
99
|
defaultSubAgent: {
|
|
100
100
|
id: string;
|
|
101
101
|
name: string;
|
|
102
102
|
description: string | null;
|
|
103
|
+
tenantId: string;
|
|
104
|
+
projectId: string;
|
|
105
|
+
agentId: string;
|
|
106
|
+
prompt: string | null;
|
|
107
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
103
108
|
models: {
|
|
104
109
|
base?: {
|
|
105
110
|
model?: string | undefined;
|
|
@@ -119,11 +124,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
119
124
|
} | null;
|
|
120
125
|
createdAt: string;
|
|
121
126
|
updatedAt: string;
|
|
122
|
-
tenantId: string;
|
|
123
|
-
prompt: string | null;
|
|
124
|
-
projectId: string;
|
|
125
|
-
agentId: string;
|
|
126
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
127
127
|
} | null;
|
|
128
128
|
} | null>;
|
|
129
129
|
declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -132,6 +132,10 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
132
132
|
id: string;
|
|
133
133
|
name: string;
|
|
134
134
|
description: string | null;
|
|
135
|
+
defaultSubAgentId: string | null;
|
|
136
|
+
tenantId: string;
|
|
137
|
+
projectId: string;
|
|
138
|
+
prompt: string | null;
|
|
135
139
|
models: {
|
|
136
140
|
base?: {
|
|
137
141
|
model?: string | undefined;
|
|
@@ -151,10 +155,7 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
151
155
|
} | null;
|
|
152
156
|
createdAt: string;
|
|
153
157
|
updatedAt: string;
|
|
154
|
-
tenantId: string;
|
|
155
|
-
defaultSubAgentId: string | null;
|
|
156
158
|
contextConfigId: string | null;
|
|
157
|
-
prompt: string | null;
|
|
158
159
|
statusUpdates: {
|
|
159
160
|
enabled?: boolean | undefined;
|
|
160
161
|
numEvents?: number | undefined;
|
|
@@ -170,7 +171,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
170
171
|
} | undefined;
|
|
171
172
|
}[] | undefined;
|
|
172
173
|
} | null;
|
|
173
|
-
projectId: string;
|
|
174
174
|
}[]>;
|
|
175
175
|
declare const listAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
176
176
|
scopes: ProjectScopeConfig;
|
|
@@ -248,6 +248,10 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
|
|
|
248
248
|
id: string;
|
|
249
249
|
name: string;
|
|
250
250
|
description: string | null;
|
|
251
|
+
defaultSubAgentId: string | null;
|
|
252
|
+
tenantId: string;
|
|
253
|
+
projectId: string;
|
|
254
|
+
prompt: string | null;
|
|
251
255
|
models: {
|
|
252
256
|
base?: {
|
|
253
257
|
model?: string | undefined;
|
|
@@ -267,10 +271,7 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
|
|
|
267
271
|
} | null;
|
|
268
272
|
createdAt: string;
|
|
269
273
|
updatedAt: string;
|
|
270
|
-
tenantId: string;
|
|
271
|
-
defaultSubAgentId: string | null;
|
|
272
274
|
contextConfigId: string | null;
|
|
273
|
-
prompt: string | null;
|
|
274
275
|
statusUpdates: {
|
|
275
276
|
enabled?: boolean | undefined;
|
|
276
277
|
numEvents?: number | undefined;
|
|
@@ -286,7 +287,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
|
|
|
286
287
|
} | undefined;
|
|
287
288
|
}[] | undefined;
|
|
288
289
|
} | null;
|
|
289
|
-
projectId: string;
|
|
290
290
|
}>;
|
|
291
291
|
declare const updateAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
292
292
|
scopes: AgentScopeConfig;
|
|
@@ -11,10 +11,10 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
|
|
|
11
11
|
id: string;
|
|
12
12
|
name: string;
|
|
13
13
|
description: string | null;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
14
|
tenantId: string;
|
|
17
15
|
projectId: string;
|
|
16
|
+
createdAt: string;
|
|
17
|
+
updatedAt: string;
|
|
18
18
|
props: {
|
|
19
19
|
[x: string]: unknown;
|
|
20
20
|
type: "object";
|
|
@@ -67,10 +67,10 @@ declare const createArtifactComponent: (db: AgentsManageDatabaseClient) => (para
|
|
|
67
67
|
id: string;
|
|
68
68
|
name: string;
|
|
69
69
|
description: string | null;
|
|
70
|
-
createdAt: string;
|
|
71
|
-
updatedAt: string;
|
|
72
70
|
tenantId: string;
|
|
73
71
|
projectId: string;
|
|
72
|
+
createdAt: string;
|
|
73
|
+
updatedAt: string;
|
|
74
74
|
props: {
|
|
75
75
|
[x: string]: unknown;
|
|
76
76
|
type: "object";
|
|
@@ -141,10 +141,10 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
|
|
|
141
141
|
artifactComponentId: string;
|
|
142
142
|
}) => Promise<{
|
|
143
143
|
id: string;
|
|
144
|
-
createdAt: string;
|
|
145
144
|
tenantId: string;
|
|
146
145
|
projectId: string;
|
|
147
146
|
agentId: string;
|
|
147
|
+
createdAt: string;
|
|
148
148
|
subAgentId: string;
|
|
149
149
|
artifactComponentId: string;
|
|
150
150
|
}>;
|
|
@@ -184,10 +184,10 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
|
|
|
184
184
|
artifactComponentId: string;
|
|
185
185
|
}) => Promise<{
|
|
186
186
|
id: string;
|
|
187
|
-
createdAt: string;
|
|
188
187
|
tenantId: string;
|
|
189
188
|
projectId: string;
|
|
190
189
|
agentId: string;
|
|
190
|
+
createdAt: string;
|
|
191
191
|
subAgentId: string;
|
|
192
192
|
artifactComponentId: string;
|
|
193
193
|
} | null>;
|
|
@@ -9,25 +9,25 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
11
|
id: string;
|
|
12
|
-
createdAt: string;
|
|
13
|
-
updatedAt: string;
|
|
14
12
|
tenantId: string;
|
|
15
13
|
projectId: string;
|
|
14
|
+
agentId: string;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
16
17
|
headersSchema: unknown;
|
|
17
18
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
18
|
-
agentId: string;
|
|
19
19
|
} | undefined>;
|
|
20
20
|
declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
|
|
21
21
|
scopes: AgentScopeConfig;
|
|
22
22
|
}) => Promise<{
|
|
23
23
|
id: string;
|
|
24
|
-
createdAt: string;
|
|
25
|
-
updatedAt: string;
|
|
26
24
|
tenantId: string;
|
|
27
25
|
projectId: string;
|
|
26
|
+
agentId: string;
|
|
27
|
+
createdAt: string;
|
|
28
|
+
updatedAt: string;
|
|
28
29
|
headersSchema: unknown;
|
|
29
30
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
30
|
-
agentId: string;
|
|
31
31
|
}[]>;
|
|
32
32
|
declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
33
33
|
scopes: AgentScopeConfig;
|
|
@@ -43,13 +43,13 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
|
|
|
43
43
|
}>;
|
|
44
44
|
declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
45
45
|
id: string;
|
|
46
|
-
createdAt: string;
|
|
47
|
-
updatedAt: string;
|
|
48
46
|
tenantId: string;
|
|
49
47
|
projectId: string;
|
|
48
|
+
agentId: string;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
updatedAt: string;
|
|
50
51
|
headersSchema: unknown;
|
|
51
52
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
52
|
-
agentId: string;
|
|
53
53
|
}>;
|
|
54
54
|
declare const updateContextConfig: (db: AgentsManageDatabaseClient) => (params: {
|
|
55
55
|
scopes: AgentScopeConfig;
|
|
@@ -83,13 +83,13 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
|
|
|
83
83
|
data: ContextConfigInsert;
|
|
84
84
|
}) => Promise<{
|
|
85
85
|
id: string;
|
|
86
|
-
createdAt: string;
|
|
87
|
-
updatedAt: string;
|
|
88
86
|
tenantId: string;
|
|
89
87
|
projectId: string;
|
|
88
|
+
agentId: string;
|
|
89
|
+
createdAt: string;
|
|
90
|
+
updatedAt: string;
|
|
90
91
|
headersSchema: unknown;
|
|
91
92
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
92
|
-
agentId: string;
|
|
93
93
|
}>;
|
|
94
94
|
//#endregion
|
|
95
95
|
export { countContextConfigs, createContextConfig, deleteContextConfig, getContextConfigById, hasContextConfig, listContextConfigs, listContextConfigsPaginated, updateContextConfig, upsertContextConfig };
|
|
@@ -65,10 +65,10 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
65
65
|
dataComponentId: string;
|
|
66
66
|
}) => Promise<{
|
|
67
67
|
id: string;
|
|
68
|
-
createdAt: string;
|
|
69
68
|
tenantId: string;
|
|
70
69
|
projectId: string;
|
|
71
70
|
agentId: string;
|
|
71
|
+
createdAt: string;
|
|
72
72
|
subAgentId: string;
|
|
73
73
|
dataComponentId: string;
|
|
74
74
|
}>;
|
|
@@ -107,10 +107,10 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
|
|
|
107
107
|
dataComponentId: string;
|
|
108
108
|
}) => Promise<{
|
|
109
109
|
id: string;
|
|
110
|
-
createdAt: string;
|
|
111
110
|
tenantId: string;
|
|
112
111
|
projectId: string;
|
|
113
112
|
agentId: string;
|
|
113
|
+
createdAt: string;
|
|
114
114
|
subAgentId: string;
|
|
115
115
|
dataComponentId: string;
|
|
116
116
|
} | null>;
|
|
@@ -56,11 +56,11 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
56
56
|
id: string;
|
|
57
57
|
name: string;
|
|
58
58
|
description: string | null;
|
|
59
|
-
createdAt: string;
|
|
60
|
-
updatedAt: string;
|
|
61
59
|
tenantId: string;
|
|
62
60
|
projectId: string;
|
|
63
61
|
agentId: string;
|
|
62
|
+
createdAt: string;
|
|
63
|
+
updatedAt: string;
|
|
64
64
|
functionId: string;
|
|
65
65
|
}>;
|
|
66
66
|
/**
|
|
@@ -98,11 +98,11 @@ declare const upsertFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
98
98
|
id: string;
|
|
99
99
|
name: string;
|
|
100
100
|
description: string | null;
|
|
101
|
-
createdAt: string;
|
|
102
|
-
updatedAt: string;
|
|
103
101
|
tenantId: string;
|
|
104
102
|
projectId: string;
|
|
105
103
|
agentId: string;
|
|
104
|
+
createdAt: string;
|
|
105
|
+
updatedAt: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -162,15 +162,15 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
162
162
|
}> | null;
|
|
163
163
|
}) => Promise<{
|
|
164
164
|
id: string;
|
|
165
|
-
createdAt: string;
|
|
166
|
-
updatedAt: string;
|
|
167
165
|
tenantId: string;
|
|
168
166
|
projectId: string;
|
|
169
167
|
agentId: string;
|
|
170
|
-
|
|
168
|
+
createdAt: string;
|
|
169
|
+
updatedAt: string;
|
|
171
170
|
toolPolicies: Record<string, {
|
|
172
171
|
needsApproval?: boolean;
|
|
173
172
|
}> | null;
|
|
173
|
+
subAgentId: string;
|
|
174
174
|
functionToolId: string;
|
|
175
175
|
}>;
|
|
176
176
|
/**
|
|
@@ -227,15 +227,15 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
227
227
|
}> | null;
|
|
228
228
|
}) => Promise<{
|
|
229
229
|
id: string;
|
|
230
|
-
createdAt: string;
|
|
231
|
-
updatedAt: string;
|
|
232
230
|
tenantId: string;
|
|
233
231
|
projectId: string;
|
|
234
232
|
agentId: string;
|
|
235
|
-
|
|
233
|
+
createdAt: string;
|
|
234
|
+
updatedAt: string;
|
|
236
235
|
toolPolicies: Record<string, {
|
|
237
236
|
needsApproval?: boolean;
|
|
238
237
|
}> | null;
|
|
238
|
+
subAgentId: string;
|
|
239
239
|
functionToolId: string;
|
|
240
240
|
}>;
|
|
241
241
|
//#endregion
|
|
@@ -10,12 +10,12 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
10
10
|
id: string;
|
|
11
11
|
name: string;
|
|
12
12
|
description: string;
|
|
13
|
-
createdAt: string;
|
|
14
|
-
updatedAt: string;
|
|
15
13
|
tenantId: string;
|
|
16
14
|
projectId: string;
|
|
17
|
-
|
|
15
|
+
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
18
17
|
metadata: Record<string, string> | null;
|
|
18
|
+
content: string;
|
|
19
19
|
} | null>;
|
|
20
20
|
declare const listSkills: (db: AgentsManageDatabaseClient) => (params: {
|
|
21
21
|
scopes: ProjectScopeConfig;
|
|
@@ -43,23 +43,23 @@ declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillInser
|
|
|
43
43
|
id: string;
|
|
44
44
|
name: string;
|
|
45
45
|
description: string;
|
|
46
|
-
createdAt: string;
|
|
47
|
-
updatedAt: string;
|
|
48
46
|
tenantId: string;
|
|
49
47
|
projectId: string;
|
|
50
|
-
|
|
48
|
+
createdAt: string;
|
|
49
|
+
updatedAt: string;
|
|
51
50
|
metadata: Record<string, string> | null;
|
|
51
|
+
content: string;
|
|
52
52
|
}>;
|
|
53
53
|
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillInsert) => Promise<{
|
|
54
54
|
id: string;
|
|
55
55
|
name: string;
|
|
56
56
|
description: string;
|
|
57
|
-
createdAt: string;
|
|
58
|
-
updatedAt: string;
|
|
59
57
|
tenantId: string;
|
|
60
58
|
projectId: string;
|
|
61
|
-
|
|
59
|
+
createdAt: string;
|
|
60
|
+
updatedAt: string;
|
|
62
61
|
metadata: Record<string, string> | null;
|
|
62
|
+
content: string;
|
|
63
63
|
}>;
|
|
64
64
|
declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
65
65
|
scopes: ProjectScopeConfig;
|
|
@@ -91,14 +91,14 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
91
91
|
alwaysLoaded?: boolean;
|
|
92
92
|
}) => Promise<{
|
|
93
93
|
id: string;
|
|
94
|
-
createdAt: string;
|
|
95
|
-
updatedAt: string;
|
|
96
94
|
tenantId: string;
|
|
97
95
|
projectId: string;
|
|
98
96
|
agentId: string;
|
|
99
|
-
|
|
97
|
+
createdAt: string;
|
|
98
|
+
updatedAt: string;
|
|
100
99
|
index: number;
|
|
101
100
|
alwaysLoaded: boolean;
|
|
101
|
+
skillId: string;
|
|
102
102
|
subAgentId: string;
|
|
103
103
|
}>;
|
|
104
104
|
declare const deleteSubAgentSkill: (db: AgentsManageDatabaseClient) => (params: {
|