@inkeep/agents-core 0.80.6 → 0.80.7
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 +227 -227
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +1 -0
- package/dist/auth/auth.js +1 -0
- package/dist/auth/permissions.d.ts +24 -21
- package/dist/data-access/manage/agents.d.ts +16 -16
- package/dist/data-access/manage/artifactComponents.d.ts +6 -6
- package/dist/data-access/manage/contextConfigs.d.ts +8 -8
- 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 +11 -11
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +18 -18
- package/dist/data-access/manage/subAgents.d.ts +12 -12
- package/dist/data-access/manage/tools.d.ts +21 -21
- package/dist/data-access/manage/triggers.d.ts +4 -4
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/apps.d.ts +15 -15
- package/dist/data-access/runtime/conversations.d.ts +24 -24
- package/dist/data-access/runtime/events.d.ts +4 -4
- package/dist/data-access/runtime/feedback.d.ts +2 -2
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +5 -5
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +2 -2
- package/dist/data-access/runtime/tasks.d.ts +4 -4
- package/dist/db/manage/manage-schema.d.ts +506 -506
- package/dist/db/runtime/runtime-schema.d.ts +460 -460
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/_commonjsHelpers.BFTU3MAI.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/date.Bq6ZW5rf.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/utils.XdZDrNZV.js +1 -1
- package/dist/node_modules/.pnpm/{vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_2c445fac125d61600c1f6965b81d42f1 → vitest@3.2.4_@edge-runtime_vm@3.2.0_@types_debug@4.1.12_@types_node@20.19.27_jiti@2.7.0_7e984a2c608e4e130e672ce3746dabdf}/node_modules/vitest/dist/chunks/vi.bdSIJ99Y.js +1 -1
- package/dist/test-utils/mocks/logger.js +1 -1
- package/dist/utils/error.d.ts +51 -51
- package/dist/validation/drizzle-schema-helpers.d.ts +3 -3
- package/dist/validation/schemas/skills.d.ts +41 -41
- package/dist/validation/schemas.d.ts +2211 -2211
- package/package.json +3 -3
package/dist/auth/auth.d.ts
CHANGED
|
@@ -2705,6 +2705,7 @@ declare function _inferAuthType(): better_auth0.Auth<{
|
|
|
2705
2705
|
ACCESS_DENIED: better_auth0.RawError<"ACCESS_DENIED">;
|
|
2706
2706
|
INVALID_USER_CODE: better_auth0.RawError<"INVALID_USER_CODE">;
|
|
2707
2707
|
DEVICE_CODE_ALREADY_PROCESSED: better_auth0.RawError<"DEVICE_CODE_ALREADY_PROCESSED">;
|
|
2708
|
+
DEVICE_CODE_NOT_CLAIMED: better_auth0.RawError<"DEVICE_CODE_NOT_CLAIMED">;
|
|
2708
2709
|
POLLING_TOO_FREQUENTLY: better_auth0.RawError<"POLLING_TOO_FREQUENTLY">;
|
|
2709
2710
|
INVALID_DEVICE_CODE_STATUS: better_auth0.RawError<"INVALID_DEVICE_CODE_STATUS">;
|
|
2710
2711
|
AUTHENTICATION_REQUIRED: better_auth0.RawError<"AUTHENTICATION_REQUIRED">;
|
package/dist/auth/auth.js
CHANGED
|
@@ -194,6 +194,7 @@ function createAuth(config) {
|
|
|
194
194
|
oAuthProxy({ productionURL: env.OAUTH_PROXY_PRODUCTION_URL || config.baseURL }),
|
|
195
195
|
organization({
|
|
196
196
|
allowUserToCreateOrganization: false,
|
|
197
|
+
requireEmailVerificationOnInvitation: false,
|
|
197
198
|
ac,
|
|
198
199
|
roles: {
|
|
199
200
|
member: memberRole,
|
|
@@ -4,26 +4,29 @@ import { organizationClient } from "better-auth/client/plugins";
|
|
|
4
4
|
|
|
5
5
|
//#region src/auth/permissions.d.ts
|
|
6
6
|
declare const ac: AccessControl;
|
|
7
|
-
declare const memberRole: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
7
|
+
declare const memberRole: better_auth_plugins7.Role<better_auth_plugins7.ExactRoleStatements<{
|
|
8
|
+
readonly organization: readonly [];
|
|
9
|
+
readonly member: readonly [];
|
|
10
|
+
readonly invitation: readonly [];
|
|
11
|
+
readonly team: readonly [];
|
|
12
|
+
readonly ac: readonly ["read"];
|
|
13
|
+
readonly project: ["read"];
|
|
14
|
+
}>, better_auth_plugins7.Statements>;
|
|
15
|
+
declare const adminRole: better_auth_plugins7.Role<better_auth_plugins7.ExactRoleStatements<{
|
|
16
|
+
readonly organization: readonly ["update"];
|
|
17
|
+
readonly invitation: readonly ["create", "cancel"];
|
|
18
|
+
readonly member: readonly ["create", "update", "delete"];
|
|
19
|
+
readonly team: readonly ["create", "update", "delete"];
|
|
20
|
+
readonly ac: readonly ["create", "read", "update", "delete"];
|
|
21
|
+
readonly project: ["create", "read", "update", "delete"];
|
|
22
|
+
}>, better_auth_plugins7.Statements>;
|
|
23
|
+
declare const ownerRole: better_auth_plugins7.Role<better_auth_plugins7.ExactRoleStatements<{
|
|
24
|
+
readonly organization: readonly ["update", "delete"];
|
|
25
|
+
readonly member: readonly ["create", "update", "delete"];
|
|
26
|
+
readonly invitation: readonly ["create", "cancel"];
|
|
27
|
+
readonly team: readonly ["create", "update", "delete"];
|
|
28
|
+
readonly ac: readonly ["create", "read", "update", "delete"];
|
|
29
|
+
readonly project: ["create", "read", "update", "delete"];
|
|
30
|
+
}>, better_auth_plugins7.Statements>;
|
|
28
31
|
//#endregion
|
|
29
32
|
export { ac, adminRole, memberRole, organizationClient, ownerRole };
|
|
@@ -12,11 +12,12 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
12
12
|
}) => Promise<{
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
|
-
description: string | null;
|
|
16
15
|
createdAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
description: string | null;
|
|
18
|
+
prompt: string | null;
|
|
17
19
|
projectId: string;
|
|
18
20
|
tenantId: string;
|
|
19
|
-
updatedAt: string;
|
|
20
21
|
models: {
|
|
21
22
|
base?: {
|
|
22
23
|
model?: string | undefined;
|
|
@@ -40,7 +41,6 @@ declare const getAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
40
41
|
stopWhen: {
|
|
41
42
|
transferCountIs?: number | undefined;
|
|
42
43
|
} | null;
|
|
43
|
-
prompt: string | null;
|
|
44
44
|
defaultSubAgentId: string | null;
|
|
45
45
|
contextConfigId: string | null;
|
|
46
46
|
statusUpdates: {
|
|
@@ -65,11 +65,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
65
65
|
}) => Promise<{
|
|
66
66
|
id: string;
|
|
67
67
|
name: string;
|
|
68
|
-
description: string | null;
|
|
69
68
|
createdAt: string;
|
|
69
|
+
updatedAt: string;
|
|
70
|
+
description: string | null;
|
|
71
|
+
prompt: string | null;
|
|
70
72
|
projectId: string;
|
|
71
73
|
tenantId: string;
|
|
72
|
-
updatedAt: string;
|
|
73
74
|
models: {
|
|
74
75
|
base?: {
|
|
75
76
|
model?: string | undefined;
|
|
@@ -93,7 +94,6 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
93
94
|
stopWhen: {
|
|
94
95
|
transferCountIs?: number | undefined;
|
|
95
96
|
} | null;
|
|
96
|
-
prompt: string | null;
|
|
97
97
|
defaultSubAgentId: string | null;
|
|
98
98
|
contextConfigId: string | null;
|
|
99
99
|
statusUpdates: {
|
|
@@ -115,12 +115,12 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
115
115
|
defaultSubAgent: {
|
|
116
116
|
id: string;
|
|
117
117
|
name: string;
|
|
118
|
-
description: string | null;
|
|
119
118
|
createdAt: string;
|
|
120
|
-
|
|
119
|
+
updatedAt: string;
|
|
120
|
+
description: string | null;
|
|
121
|
+
prompt: string | null;
|
|
121
122
|
projectId: string;
|
|
122
123
|
tenantId: string;
|
|
123
|
-
updatedAt: string;
|
|
124
124
|
models: {
|
|
125
125
|
base?: {
|
|
126
126
|
model?: string | undefined;
|
|
@@ -144,7 +144,7 @@ declare const getAgentWithDefaultSubAgent: (db: AgentsManageDatabaseClient) => (
|
|
|
144
144
|
stopWhen: {
|
|
145
145
|
stepCountIs?: number | undefined;
|
|
146
146
|
} | null;
|
|
147
|
-
|
|
147
|
+
agentId: string;
|
|
148
148
|
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
149
149
|
outputContract: {
|
|
150
150
|
[x: string]: unknown;
|
|
@@ -162,11 +162,12 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
162
162
|
}) => Promise<{
|
|
163
163
|
id: string;
|
|
164
164
|
name: string;
|
|
165
|
-
description: string | null;
|
|
166
165
|
createdAt: string;
|
|
166
|
+
updatedAt: string;
|
|
167
|
+
description: string | null;
|
|
168
|
+
prompt: string | null;
|
|
167
169
|
projectId: string;
|
|
168
170
|
tenantId: string;
|
|
169
|
-
updatedAt: string;
|
|
170
171
|
models: {
|
|
171
172
|
base?: {
|
|
172
173
|
model?: string | undefined;
|
|
@@ -190,7 +191,6 @@ declare const listAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
190
191
|
stopWhen: {
|
|
191
192
|
transferCountIs?: number | undefined;
|
|
192
193
|
} | null;
|
|
193
|
-
prompt: string | null;
|
|
194
194
|
defaultSubAgentId: string | null;
|
|
195
195
|
contextConfigId: string | null;
|
|
196
196
|
statusUpdates: {
|
|
@@ -292,11 +292,12 @@ declare function listAgentsAcrossProjectMainBranches(db: AgentsManageDatabaseCli
|
|
|
292
292
|
declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInsert) => Promise<{
|
|
293
293
|
id: string;
|
|
294
294
|
name: string;
|
|
295
|
-
description: string | null;
|
|
296
295
|
createdAt: string;
|
|
296
|
+
updatedAt: string;
|
|
297
|
+
description: string | null;
|
|
298
|
+
prompt: string | null;
|
|
297
299
|
projectId: string;
|
|
298
300
|
tenantId: string;
|
|
299
|
-
updatedAt: string;
|
|
300
301
|
models: {
|
|
301
302
|
base?: {
|
|
302
303
|
model?: string | undefined;
|
|
@@ -320,7 +321,6 @@ declare const createAgent: (db: AgentsManageDatabaseClient) => (data: AgentInser
|
|
|
320
321
|
stopWhen: {
|
|
321
322
|
transferCountIs?: number | undefined;
|
|
322
323
|
} | null;
|
|
323
|
-
prompt: string | null;
|
|
324
324
|
defaultSubAgentId: string | null;
|
|
325
325
|
contextConfigId: string | null;
|
|
326
326
|
statusUpdates: {
|
|
@@ -11,11 +11,11 @@ declare const getArtifactComponentById: (db: AgentsManageDatabaseClient) => (par
|
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
id: string;
|
|
13
13
|
name: string;
|
|
14
|
-
description: string | null;
|
|
15
14
|
createdAt: string;
|
|
15
|
+
updatedAt: string;
|
|
16
|
+
description: string | null;
|
|
16
17
|
projectId: string;
|
|
17
18
|
tenantId: string;
|
|
18
|
-
updatedAt: string;
|
|
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
|
name: string;
|
|
70
|
-
description: string | null;
|
|
71
70
|
createdAt: string;
|
|
71
|
+
updatedAt: string;
|
|
72
|
+
description: string | null;
|
|
72
73
|
projectId: string;
|
|
73
74
|
tenantId: string;
|
|
74
|
-
updatedAt: string;
|
|
75
75
|
props: {
|
|
76
76
|
[x: string]: unknown;
|
|
77
77
|
type: "object";
|
|
@@ -143,9 +143,9 @@ declare const associateArtifactComponentWithAgent: (db: AgentsManageDatabaseClie
|
|
|
143
143
|
}) => Promise<{
|
|
144
144
|
id: string;
|
|
145
145
|
createdAt: string;
|
|
146
|
-
agentId: string;
|
|
147
146
|
projectId: string;
|
|
148
147
|
tenantId: string;
|
|
148
|
+
agentId: string;
|
|
149
149
|
subAgentId: string;
|
|
150
150
|
artifactComponentId: string;
|
|
151
151
|
}>;
|
|
@@ -186,9 +186,9 @@ declare const upsertAgentArtifactComponentRelation: (db: AgentsManageDatabaseCli
|
|
|
186
186
|
}) => Promise<{
|
|
187
187
|
id: string;
|
|
188
188
|
createdAt: string;
|
|
189
|
-
agentId: string;
|
|
190
189
|
projectId: string;
|
|
191
190
|
tenantId: string;
|
|
191
|
+
agentId: string;
|
|
192
192
|
subAgentId: string;
|
|
193
193
|
artifactComponentId: string;
|
|
194
194
|
} | null>;
|
|
@@ -11,10 +11,10 @@ declare const getContextConfigById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
|
-
|
|
14
|
+
updatedAt: string;
|
|
15
15
|
projectId: string;
|
|
16
16
|
tenantId: string;
|
|
17
|
-
|
|
17
|
+
agentId: string;
|
|
18
18
|
headersSchema: unknown;
|
|
19
19
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
20
20
|
} | undefined>;
|
|
@@ -23,10 +23,10 @@ declare const listContextConfigs: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
23
23
|
}) => Promise<{
|
|
24
24
|
id: string;
|
|
25
25
|
createdAt: string;
|
|
26
|
-
|
|
26
|
+
updatedAt: string;
|
|
27
27
|
projectId: string;
|
|
28
28
|
tenantId: string;
|
|
29
|
-
|
|
29
|
+
agentId: string;
|
|
30
30
|
headersSchema: unknown;
|
|
31
31
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
32
32
|
}[]>;
|
|
@@ -45,10 +45,10 @@ declare const listContextConfigsPaginated: (db: AgentsManageDatabaseClient) => (
|
|
|
45
45
|
declare const createContextConfig: (db: AgentsManageDatabaseClient) => (params: ContextConfigInsert) => Promise<{
|
|
46
46
|
id: string;
|
|
47
47
|
createdAt: string;
|
|
48
|
-
|
|
48
|
+
updatedAt: string;
|
|
49
49
|
projectId: string;
|
|
50
50
|
tenantId: string;
|
|
51
|
-
|
|
51
|
+
agentId: string;
|
|
52
52
|
headersSchema: unknown;
|
|
53
53
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
54
54
|
}>;
|
|
@@ -85,10 +85,10 @@ declare const upsertContextConfig: (db: AgentsManageDatabaseClient) => (params:
|
|
|
85
85
|
}) => Promise<{
|
|
86
86
|
id: string;
|
|
87
87
|
createdAt: string;
|
|
88
|
-
|
|
88
|
+
updatedAt: string;
|
|
89
89
|
projectId: string;
|
|
90
90
|
tenantId: string;
|
|
91
|
-
|
|
91
|
+
agentId: string;
|
|
92
92
|
headersSchema: unknown;
|
|
93
93
|
contextVariables: Record<string, ContextFetchDefinition> | null;
|
|
94
94
|
}>;
|
|
@@ -67,9 +67,9 @@ declare const associateDataComponentWithAgent: (db: AgentsManageDatabaseClient)
|
|
|
67
67
|
}) => Promise<{
|
|
68
68
|
id: string;
|
|
69
69
|
createdAt: string;
|
|
70
|
-
agentId: string;
|
|
71
70
|
projectId: string;
|
|
72
71
|
tenantId: string;
|
|
72
|
+
agentId: string;
|
|
73
73
|
subAgentId: string;
|
|
74
74
|
dataComponentId: string;
|
|
75
75
|
}>;
|
|
@@ -109,9 +109,9 @@ declare const upsertAgentDataComponentRelation: (db: AgentsManageDatabaseClient)
|
|
|
109
109
|
}) => Promise<{
|
|
110
110
|
id: string;
|
|
111
111
|
createdAt: string;
|
|
112
|
-
agentId: string;
|
|
113
112
|
projectId: string;
|
|
114
113
|
tenantId: string;
|
|
114
|
+
agentId: string;
|
|
115
115
|
subAgentId: string;
|
|
116
116
|
dataComponentId: string;
|
|
117
117
|
} | null>;
|
|
@@ -55,12 +55,12 @@ declare const createFunctionTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
55
55
|
}) => Promise<{
|
|
56
56
|
id: string;
|
|
57
57
|
name: string;
|
|
58
|
-
description: string | null;
|
|
59
58
|
createdAt: string;
|
|
60
|
-
|
|
59
|
+
updatedAt: string;
|
|
60
|
+
description: string | null;
|
|
61
61
|
projectId: string;
|
|
62
62
|
tenantId: string;
|
|
63
|
-
|
|
63
|
+
agentId: string;
|
|
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
|
name: string;
|
|
100
|
-
description: string | null;
|
|
101
100
|
createdAt: string;
|
|
102
|
-
|
|
101
|
+
updatedAt: string;
|
|
102
|
+
description: string | null;
|
|
103
103
|
projectId: string;
|
|
104
104
|
tenantId: string;
|
|
105
|
-
|
|
105
|
+
agentId: string;
|
|
106
106
|
functionId: string;
|
|
107
107
|
}>;
|
|
108
108
|
declare const getFunctionToolsForSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -159,11 +159,11 @@ declare const addFunctionToolToSubAgent: (db: AgentsManageDatabaseClient) => (pa
|
|
|
159
159
|
}) => Promise<{
|
|
160
160
|
id: string;
|
|
161
161
|
createdAt: string;
|
|
162
|
-
|
|
162
|
+
updatedAt: string;
|
|
163
163
|
projectId: string;
|
|
164
164
|
tenantId: string;
|
|
165
|
+
agentId: string;
|
|
165
166
|
subAgentId: string;
|
|
166
|
-
updatedAt: string;
|
|
167
167
|
toolPolicies: Record<string, {
|
|
168
168
|
needsApproval?: boolean;
|
|
169
169
|
}> | null;
|
|
@@ -224,11 +224,11 @@ declare const associateFunctionToolWithSubAgent: (db: AgentsManageDatabaseClient
|
|
|
224
224
|
}) => Promise<{
|
|
225
225
|
id: string;
|
|
226
226
|
createdAt: string;
|
|
227
|
-
|
|
227
|
+
updatedAt: string;
|
|
228
228
|
projectId: string;
|
|
229
229
|
tenantId: string;
|
|
230
|
+
agentId: string;
|
|
230
231
|
subAgentId: string;
|
|
231
|
-
updatedAt: string;
|
|
232
232
|
toolPolicies: Record<string, {
|
|
233
233
|
needsApproval?: boolean;
|
|
234
234
|
}> | null;
|
|
@@ -17,13 +17,13 @@ declare const getSkillById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
17
17
|
}) => Promise<{
|
|
18
18
|
id: string;
|
|
19
19
|
name: string;
|
|
20
|
-
description: string;
|
|
21
20
|
createdAt: string;
|
|
22
|
-
|
|
23
|
-
tenantId: string;
|
|
21
|
+
updatedAt: string;
|
|
24
22
|
metadata: Record<string, string> | null;
|
|
23
|
+
description: string;
|
|
25
24
|
content: string;
|
|
26
|
-
|
|
25
|
+
projectId: string;
|
|
26
|
+
tenantId: string;
|
|
27
27
|
} | null>;
|
|
28
28
|
declare const getSkillByIdWithFiles: (db: AgentsManageDatabaseClient) => (params: {
|
|
29
29
|
scopes: ProjectScopeConfig;
|
|
@@ -112,13 +112,13 @@ declare const createSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiIn
|
|
|
112
112
|
declare const upsertSkill: (db: AgentsManageDatabaseClient) => (data: SkillApiInsert & WithTenantIdProjectId) => Promise<{
|
|
113
113
|
id: string;
|
|
114
114
|
name: string;
|
|
115
|
-
description: string;
|
|
116
115
|
createdAt: string;
|
|
117
|
-
|
|
118
|
-
tenantId: string;
|
|
116
|
+
updatedAt: string;
|
|
119
117
|
metadata: Record<string, string> | null;
|
|
118
|
+
description: string;
|
|
120
119
|
content: string;
|
|
121
|
-
|
|
120
|
+
projectId: string;
|
|
121
|
+
tenantId: string;
|
|
122
122
|
}>;
|
|
123
123
|
declare const updateSkill: (db: AgentsManageDatabaseClient) => (params: {
|
|
124
124
|
scopes: ProjectScopeConfig;
|
|
@@ -141,12 +141,12 @@ declare const upsertSubAgentSkill: (db: AgentsManageDatabaseClient) => (params:
|
|
|
141
141
|
}) => Promise<{
|
|
142
142
|
id: string;
|
|
143
143
|
createdAt: string;
|
|
144
|
-
|
|
144
|
+
updatedAt: string;
|
|
145
|
+
skillId: string;
|
|
145
146
|
projectId: string;
|
|
146
147
|
tenantId: string;
|
|
148
|
+
agentId: string;
|
|
147
149
|
subAgentId: string;
|
|
148
|
-
updatedAt: string;
|
|
149
|
-
skillId: string;
|
|
150
150
|
index: number;
|
|
151
151
|
alwaysLoaded: boolean;
|
|
152
152
|
}>;
|
|
@@ -11,12 +11,12 @@ declare const getSubAgentExternalAgentRelationById: (db: AgentsManageDatabaseCli
|
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
|
-
|
|
14
|
+
updatedAt: string;
|
|
15
|
+
headers: Record<string, string> | null;
|
|
15
16
|
projectId: string;
|
|
16
17
|
tenantId: string;
|
|
18
|
+
agentId: string;
|
|
17
19
|
subAgentId: string;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
headers: Record<string, string> | null;
|
|
20
20
|
externalAgentId: string;
|
|
21
21
|
} | undefined>;
|
|
22
22
|
declare const listSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -46,12 +46,12 @@ declare const getSubAgentExternalAgentRelations: (db: AgentsManageDatabaseClient
|
|
|
46
46
|
}) => Promise<{
|
|
47
47
|
id: string;
|
|
48
48
|
createdAt: string;
|
|
49
|
-
|
|
49
|
+
updatedAt: string;
|
|
50
|
+
headers: Record<string, string> | null;
|
|
50
51
|
projectId: string;
|
|
51
52
|
tenantId: string;
|
|
53
|
+
agentId: string;
|
|
52
54
|
subAgentId: string;
|
|
53
|
-
updatedAt: string;
|
|
54
|
-
headers: Record<string, string> | null;
|
|
55
55
|
externalAgentId: string;
|
|
56
56
|
}[]>;
|
|
57
57
|
declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -59,12 +59,12 @@ declare const getSubAgentExternalAgentRelationsByAgent: (db: AgentsManageDatabas
|
|
|
59
59
|
}) => Promise<{
|
|
60
60
|
id: string;
|
|
61
61
|
createdAt: string;
|
|
62
|
-
|
|
62
|
+
updatedAt: string;
|
|
63
|
+
headers: Record<string, string> | null;
|
|
63
64
|
projectId: string;
|
|
64
65
|
tenantId: string;
|
|
66
|
+
agentId: string;
|
|
65
67
|
subAgentId: string;
|
|
66
|
-
updatedAt: string;
|
|
67
|
-
headers: Record<string, string> | null;
|
|
68
68
|
externalAgentId: string;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const getSubAgentExternalAgentRelationsByExternalAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -188,12 +188,12 @@ declare const createSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
188
188
|
}) => Promise<{
|
|
189
189
|
id: string;
|
|
190
190
|
createdAt: string;
|
|
191
|
-
|
|
191
|
+
updatedAt: string;
|
|
192
|
+
headers: Record<string, string> | null;
|
|
192
193
|
projectId: string;
|
|
193
194
|
tenantId: string;
|
|
195
|
+
agentId: string;
|
|
194
196
|
subAgentId: string;
|
|
195
|
-
updatedAt: string;
|
|
196
|
-
headers: Record<string, string> | null;
|
|
197
197
|
externalAgentId: string;
|
|
198
198
|
}>;
|
|
199
199
|
/**
|
|
@@ -205,12 +205,12 @@ declare const getSubAgentExternalAgentRelationByParams: (db: AgentsManageDatabas
|
|
|
205
205
|
}) => Promise<{
|
|
206
206
|
id: string;
|
|
207
207
|
createdAt: string;
|
|
208
|
-
|
|
208
|
+
updatedAt: string;
|
|
209
|
+
headers: Record<string, string> | null;
|
|
209
210
|
projectId: string;
|
|
210
211
|
tenantId: string;
|
|
212
|
+
agentId: string;
|
|
211
213
|
subAgentId: string;
|
|
212
|
-
updatedAt: string;
|
|
213
|
-
headers: Record<string, string> | null;
|
|
214
214
|
externalAgentId: string;
|
|
215
215
|
} | undefined>;
|
|
216
216
|
/**
|
|
@@ -226,12 +226,12 @@ declare const upsertSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClie
|
|
|
226
226
|
}) => Promise<{
|
|
227
227
|
id: string;
|
|
228
228
|
createdAt: string;
|
|
229
|
-
|
|
229
|
+
updatedAt: string;
|
|
230
|
+
headers: Record<string, string> | null;
|
|
230
231
|
projectId: string;
|
|
231
232
|
tenantId: string;
|
|
233
|
+
agentId: string;
|
|
232
234
|
subAgentId: string;
|
|
233
|
-
updatedAt: string;
|
|
234
|
-
headers: Record<string, string> | null;
|
|
235
235
|
externalAgentId: string;
|
|
236
236
|
}>;
|
|
237
237
|
declare const updateSubAgentExternalAgentRelation: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -11,10 +11,10 @@ declare const getAgentRelationById: (db: AgentsManageDatabaseClient) => (params:
|
|
|
11
11
|
}) => Promise<{
|
|
12
12
|
id: string;
|
|
13
13
|
createdAt: string;
|
|
14
|
-
|
|
14
|
+
updatedAt: string;
|
|
15
15
|
projectId: string;
|
|
16
16
|
tenantId: string;
|
|
17
|
-
|
|
17
|
+
agentId: string;
|
|
18
18
|
sourceSubAgentId: string;
|
|
19
19
|
targetSubAgentId: string | null;
|
|
20
20
|
relationType: string | null;
|
|
@@ -46,10 +46,10 @@ declare const getAgentRelations: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
46
46
|
}) => Promise<{
|
|
47
47
|
id: string;
|
|
48
48
|
createdAt: string;
|
|
49
|
-
|
|
49
|
+
updatedAt: string;
|
|
50
50
|
projectId: string;
|
|
51
51
|
tenantId: string;
|
|
52
|
-
|
|
52
|
+
agentId: string;
|
|
53
53
|
sourceSubAgentId: string;
|
|
54
54
|
targetSubAgentId: string | null;
|
|
55
55
|
relationType: string | null;
|
|
@@ -59,10 +59,10 @@ declare const getAgentRelationsByAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
59
59
|
}) => Promise<{
|
|
60
60
|
id: string;
|
|
61
61
|
createdAt: string;
|
|
62
|
-
|
|
62
|
+
updatedAt: string;
|
|
63
63
|
projectId: string;
|
|
64
64
|
tenantId: string;
|
|
65
|
-
|
|
65
|
+
agentId: string;
|
|
66
66
|
sourceSubAgentId: string;
|
|
67
67
|
targetSubAgentId: string | null;
|
|
68
68
|
relationType: string | null;
|
|
@@ -128,10 +128,10 @@ declare const getRelatedAgentsForAgent: (db: AgentsManageDatabaseClient) => (par
|
|
|
128
128
|
declare const createSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
129
129
|
id: string;
|
|
130
130
|
createdAt: string;
|
|
131
|
-
|
|
131
|
+
updatedAt: string;
|
|
132
132
|
projectId: string;
|
|
133
133
|
tenantId: string;
|
|
134
|
-
|
|
134
|
+
agentId: string;
|
|
135
135
|
sourceSubAgentId: string;
|
|
136
136
|
targetSubAgentId: string | null;
|
|
137
137
|
relationType: string | null;
|
|
@@ -147,10 +147,10 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
147
147
|
}) => Promise<{
|
|
148
148
|
id: string;
|
|
149
149
|
createdAt: string;
|
|
150
|
-
|
|
150
|
+
updatedAt: string;
|
|
151
151
|
projectId: string;
|
|
152
152
|
tenantId: string;
|
|
153
|
-
|
|
153
|
+
agentId: string;
|
|
154
154
|
sourceSubAgentId: string;
|
|
155
155
|
targetSubAgentId: string | null;
|
|
156
156
|
relationType: string | null;
|
|
@@ -161,10 +161,10 @@ declare const getAgentRelationByParams: (db: AgentsManageDatabaseClient) => (par
|
|
|
161
161
|
declare const upsertSubAgentRelation: (db: AgentsManageDatabaseClient) => (params: SubAgentRelationInsert) => Promise<{
|
|
162
162
|
id: string;
|
|
163
163
|
createdAt: string;
|
|
164
|
-
|
|
164
|
+
updatedAt: string;
|
|
165
165
|
projectId: string;
|
|
166
166
|
tenantId: string;
|
|
167
|
-
|
|
167
|
+
agentId: string;
|
|
168
168
|
sourceSubAgentId: string;
|
|
169
169
|
targetSubAgentId: string | null;
|
|
170
170
|
relationType: string | null;
|
|
@@ -206,13 +206,13 @@ declare const createAgentToolRelation: (db: AgentsManageDatabaseClient) => (para
|
|
|
206
206
|
}) => Promise<{
|
|
207
207
|
id: string;
|
|
208
208
|
createdAt: string;
|
|
209
|
-
|
|
209
|
+
updatedAt: string;
|
|
210
|
+
headers: Record<string, string> | null;
|
|
210
211
|
projectId: string;
|
|
211
212
|
tenantId: string;
|
|
213
|
+
agentId: string;
|
|
212
214
|
subAgentId: string;
|
|
213
215
|
toolId: string;
|
|
214
|
-
updatedAt: string;
|
|
215
|
-
headers: Record<string, string> | null;
|
|
216
216
|
selectedTools: string[] | null;
|
|
217
217
|
toolPolicies: Record<string, {
|
|
218
218
|
needsApproval?: boolean;
|
|
@@ -250,13 +250,13 @@ declare const getAgentToolRelationById: (db: AgentsManageDatabaseClient) => (par
|
|
|
250
250
|
}) => Promise<{
|
|
251
251
|
id: string;
|
|
252
252
|
createdAt: string;
|
|
253
|
-
|
|
253
|
+
updatedAt: string;
|
|
254
|
+
headers: Record<string, string> | null;
|
|
254
255
|
projectId: string;
|
|
255
256
|
tenantId: string;
|
|
257
|
+
agentId: string;
|
|
256
258
|
subAgentId: string;
|
|
257
259
|
toolId: string;
|
|
258
|
-
updatedAt: string;
|
|
259
|
-
headers: Record<string, string> | null;
|
|
260
260
|
selectedTools: string[] | null;
|
|
261
261
|
toolPolicies: Record<string, {
|
|
262
262
|
needsApproval?: boolean;
|