@inkeep/agents-core 0.48.4 → 0.48.6
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 +131 -131
- package/dist/auth/auth.d.ts +18 -18
- package/dist/auth/permissions.d.ts +9 -9
- package/dist/client-exports.d.ts +2 -2
- package/dist/constants/models.d.ts +1 -0
- package/dist/constants/models.js +1 -0
- package/dist/data-access/manage/agents.d.ts +31 -31
- package/dist/data-access/manage/artifactComponents.d.ts +4 -4
- package/dist/data-access/manage/functionTools.d.ts +6 -6
- package/dist/data-access/manage/skills.d.ts +9 -9
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgentRelations.d.ts +2 -2
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +6 -6
- package/dist/data-access/manage/subAgents.d.ts +21 -21
- package/dist/data-access/manage/tools.d.ts +12 -12
- 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 +19 -19
- package/dist/data-access/runtime/messages.d.ts +6 -6
- package/dist/data-access/runtime/tasks.d.ts +5 -5
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +294 -294
- package/dist/validation/dolt-schemas.d.ts +1 -1
- package/dist/validation/schemas.d.ts +393 -393
- package/package.json +1 -1
|
@@ -9,8 +9,15 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
9
9
|
subAgentId: string;
|
|
10
10
|
}) => Promise<{
|
|
11
11
|
id: string;
|
|
12
|
+
createdAt: string;
|
|
13
|
+
updatedAt: string;
|
|
12
14
|
name: string;
|
|
13
15
|
description: string | null;
|
|
16
|
+
tenantId: string;
|
|
17
|
+
projectId: string;
|
|
18
|
+
agentId: string;
|
|
19
|
+
prompt: string | null;
|
|
20
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
14
21
|
models: {
|
|
15
22
|
base?: {
|
|
16
23
|
model?: string | undefined;
|
|
@@ -28,20 +35,20 @@ declare const getSubAgentById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
28
35
|
stopWhen: {
|
|
29
36
|
stepCountIs?: number | undefined;
|
|
30
37
|
} | null;
|
|
31
|
-
createdAt: string;
|
|
32
|
-
updatedAt: string;
|
|
33
|
-
tenantId: string;
|
|
34
|
-
projectId: string;
|
|
35
|
-
prompt: string | null;
|
|
36
|
-
agentId: string;
|
|
37
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
40
40
|
scopes: AgentScopeConfig;
|
|
41
41
|
}) => Promise<{
|
|
42
42
|
id: string;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
43
45
|
name: string;
|
|
44
46
|
description: string | null;
|
|
47
|
+
tenantId: string;
|
|
48
|
+
projectId: string;
|
|
49
|
+
agentId: string;
|
|
50
|
+
prompt: string | null;
|
|
51
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
45
52
|
models: {
|
|
46
53
|
base?: {
|
|
47
54
|
model?: string | undefined;
|
|
@@ -59,13 +66,6 @@ declare const listSubAgents: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
59
66
|
stopWhen: {
|
|
60
67
|
stepCountIs?: number | undefined;
|
|
61
68
|
} | null;
|
|
62
|
-
createdAt: string;
|
|
63
|
-
updatedAt: string;
|
|
64
|
-
tenantId: string;
|
|
65
|
-
projectId: string;
|
|
66
|
-
prompt: string | null;
|
|
67
|
-
agentId: string;
|
|
68
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
69
69
|
}[]>;
|
|
70
70
|
declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (params: {
|
|
71
71
|
scopes: AgentScopeConfig;
|
|
@@ -109,8 +109,15 @@ declare const listSubAgentsPaginated: (db: AgentsManageDatabaseClient) => (param
|
|
|
109
109
|
}>;
|
|
110
110
|
declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAgentInsert) => Promise<{
|
|
111
111
|
id: string;
|
|
112
|
+
createdAt: string;
|
|
113
|
+
updatedAt: string;
|
|
112
114
|
name: string;
|
|
113
115
|
description: string | null;
|
|
116
|
+
tenantId: string;
|
|
117
|
+
projectId: string;
|
|
118
|
+
agentId: string;
|
|
119
|
+
prompt: string | null;
|
|
120
|
+
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
114
121
|
models: {
|
|
115
122
|
base?: {
|
|
116
123
|
model?: string | undefined;
|
|
@@ -128,13 +135,6 @@ declare const createSubAgent: (db: AgentsManageDatabaseClient) => (params: SubAg
|
|
|
128
135
|
stopWhen: {
|
|
129
136
|
stepCountIs?: number | undefined;
|
|
130
137
|
} | null;
|
|
131
|
-
createdAt: string;
|
|
132
|
-
updatedAt: string;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
projectId: string;
|
|
135
|
-
prompt: string | null;
|
|
136
|
-
agentId: string;
|
|
137
|
-
conversationHistoryConfig: ConversationHistoryConfig | null;
|
|
138
138
|
}>;
|
|
139
139
|
declare const updateSubAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
140
140
|
scopes: AgentScopeConfig;
|
|
@@ -18,14 +18,14 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
18
18
|
scopes: ProjectScopeConfig;
|
|
19
19
|
toolId: string;
|
|
20
20
|
}) => Promise<{
|
|
21
|
+
headers: Record<string, string> | null;
|
|
21
22
|
id: string;
|
|
22
|
-
name: string;
|
|
23
|
-
description: string | null;
|
|
24
23
|
createdAt: string;
|
|
25
24
|
updatedAt: string;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string | null;
|
|
26
27
|
tenantId: string;
|
|
27
28
|
projectId: string;
|
|
28
|
-
headers: Record<string, string> | null;
|
|
29
29
|
config: {
|
|
30
30
|
type: "mcp";
|
|
31
31
|
mcp: ToolMcpConfig;
|
|
@@ -76,14 +76,14 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
76
76
|
};
|
|
77
77
|
}>;
|
|
78
78
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
79
|
+
headers: Record<string, string> | null;
|
|
79
80
|
id: string;
|
|
80
|
-
name: string;
|
|
81
|
-
description: string | null;
|
|
82
81
|
createdAt: string;
|
|
83
82
|
updatedAt: string;
|
|
83
|
+
name: string;
|
|
84
|
+
description: string | null;
|
|
84
85
|
tenantId: string;
|
|
85
86
|
projectId: string;
|
|
86
|
-
headers: Record<string, string> | null;
|
|
87
87
|
config: {
|
|
88
88
|
type: "mcp";
|
|
89
89
|
mcp: ToolMcpConfig;
|
|
@@ -133,6 +133,7 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
133
133
|
needsApproval?: boolean;
|
|
134
134
|
}> | null;
|
|
135
135
|
}) => Promise<{
|
|
136
|
+
headers: Record<string, string> | null;
|
|
136
137
|
id: string;
|
|
137
138
|
createdAt: string;
|
|
138
139
|
updatedAt: string;
|
|
@@ -140,7 +141,6 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
140
141
|
projectId: string;
|
|
141
142
|
agentId: string;
|
|
142
143
|
toolId: string;
|
|
143
|
-
headers: Record<string, string> | null;
|
|
144
144
|
toolPolicies: Record<string, {
|
|
145
145
|
needsApproval?: boolean;
|
|
146
146
|
}> | null;
|
|
@@ -152,6 +152,7 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
152
152
|
subAgentId: string;
|
|
153
153
|
toolId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
headers: Record<string, string> | null;
|
|
155
156
|
id: string;
|
|
156
157
|
createdAt: string;
|
|
157
158
|
updatedAt: string;
|
|
@@ -159,7 +160,6 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
159
160
|
projectId: string;
|
|
160
161
|
agentId: string;
|
|
161
162
|
toolId: string;
|
|
162
|
-
headers: Record<string, string> | null;
|
|
163
163
|
toolPolicies: Record<string, {
|
|
164
164
|
needsApproval?: boolean;
|
|
165
165
|
}> | null;
|
|
@@ -180,6 +180,7 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
180
180
|
}> | null;
|
|
181
181
|
relationId?: string;
|
|
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 upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
187
188
|
projectId: string;
|
|
188
189
|
agentId: string;
|
|
189
190
|
toolId: string;
|
|
190
|
-
headers: Record<string, string> | null;
|
|
191
191
|
toolPolicies: Record<string, {
|
|
192
192
|
needsApproval?: boolean;
|
|
193
193
|
}> | null;
|
|
@@ -200,14 +200,14 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
200
200
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
201
201
|
data: ToolInsert;
|
|
202
202
|
}) => Promise<{
|
|
203
|
+
headers: Record<string, string> | null;
|
|
203
204
|
id: string;
|
|
204
|
-
name: string;
|
|
205
|
-
description: string | null;
|
|
206
205
|
createdAt: string;
|
|
207
206
|
updatedAt: string;
|
|
207
|
+
name: string;
|
|
208
|
+
description: string | null;
|
|
208
209
|
tenantId: string;
|
|
209
210
|
projectId: string;
|
|
210
|
-
headers: Record<string, string> | null;
|
|
211
211
|
config: {
|
|
212
212
|
type: "mcp";
|
|
213
213
|
mcp: ToolMcpConfig;
|
|
@@ -40,13 +40,13 @@ declare const listTriggersPaginated: (db: AgentsManageDatabaseClient) => (params
|
|
|
40
40
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
41
41
|
encoding: "hex" | "base64";
|
|
42
42
|
signature: {
|
|
43
|
-
source: "
|
|
43
|
+
source: "body" | "query" | "header";
|
|
44
44
|
key: string;
|
|
45
45
|
prefix?: string | undefined;
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "
|
|
49
|
+
source: "body" | "header" | "literal";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -8,13 +8,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
8
8
|
id: string;
|
|
9
9
|
}) => Promise<{
|
|
10
10
|
id: string;
|
|
11
|
-
name: string | null;
|
|
12
11
|
createdAt: string;
|
|
13
12
|
updatedAt: string;
|
|
13
|
+
name: string | null;
|
|
14
|
+
expiresAt: string | null;
|
|
14
15
|
tenantId: string;
|
|
15
16
|
projectId: string;
|
|
16
17
|
agentId: string;
|
|
17
|
-
expiresAt: string | null;
|
|
18
18
|
publicId: string;
|
|
19
19
|
keyHash: string;
|
|
20
20
|
keyPrefix: string;
|
|
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
22
22
|
} | undefined>;
|
|
23
23
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
24
24
|
id: string;
|
|
25
|
-
name: string | null;
|
|
26
25
|
createdAt: string;
|
|
27
26
|
updatedAt: string;
|
|
27
|
+
name: string | null;
|
|
28
|
+
expiresAt: string | null;
|
|
28
29
|
tenantId: string;
|
|
29
30
|
projectId: string;
|
|
30
31
|
agentId: string;
|
|
31
|
-
expiresAt: string | null;
|
|
32
32
|
publicId: string;
|
|
33
33
|
keyHash: string;
|
|
34
34
|
keyPrefix: string;
|
|
@@ -39,13 +39,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
39
39
|
agentId?: string;
|
|
40
40
|
}) => Promise<{
|
|
41
41
|
id: string;
|
|
42
|
-
name: string | null;
|
|
43
42
|
createdAt: string;
|
|
44
43
|
updatedAt: string;
|
|
44
|
+
name: string | null;
|
|
45
|
+
expiresAt: string | null;
|
|
45
46
|
tenantId: string;
|
|
46
47
|
projectId: string;
|
|
47
48
|
agentId: string;
|
|
48
|
-
expiresAt: string | null;
|
|
49
49
|
publicId: string;
|
|
50
50
|
keyHash: string;
|
|
51
51
|
keyPrefix: string;
|
|
@@ -66,13 +66,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
66
66
|
}>;
|
|
67
67
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
68
68
|
id: string;
|
|
69
|
-
name: string | null;
|
|
70
69
|
createdAt: string;
|
|
71
70
|
updatedAt: string;
|
|
71
|
+
name: string | null;
|
|
72
|
+
expiresAt: string | null;
|
|
72
73
|
tenantId: string;
|
|
73
74
|
projectId: string;
|
|
74
75
|
agentId: string;
|
|
75
|
-
expiresAt: string | null;
|
|
76
76
|
publicId: string;
|
|
77
77
|
keyHash: string;
|
|
78
78
|
keyPrefix: string;
|
|
@@ -15,17 +15,17 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
+
metadata: ConversationMetadata | null;
|
|
18
19
|
id: string;
|
|
19
|
-
|
|
20
|
+
userId: string | null;
|
|
20
21
|
createdAt: string;
|
|
21
22
|
updatedAt: string;
|
|
22
23
|
tenantId: string;
|
|
23
24
|
projectId: string;
|
|
24
|
-
metadata: ConversationMetadata | null;
|
|
25
25
|
agentId: string | null;
|
|
26
|
-
|
|
26
|
+
title: string | null;
|
|
27
27
|
ref: {
|
|
28
|
-
type: "
|
|
28
|
+
type: "tag" | "commit" | "branch";
|
|
29
29
|
name: string;
|
|
30
30
|
hash: string;
|
|
31
31
|
} | null;
|
|
@@ -43,7 +43,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
43
43
|
agentId: string | null;
|
|
44
44
|
activeSubAgentId: string;
|
|
45
45
|
ref: {
|
|
46
|
-
type: "
|
|
46
|
+
type: "tag" | "commit" | "branch";
|
|
47
47
|
name: string;
|
|
48
48
|
hash: string;
|
|
49
49
|
} | null;
|
|
@@ -69,7 +69,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
69
69
|
agentId: string | null;
|
|
70
70
|
activeSubAgentId: string;
|
|
71
71
|
ref: {
|
|
72
|
-
type: "
|
|
72
|
+
type: "tag" | "commit" | "branch";
|
|
73
73
|
name: string;
|
|
74
74
|
hash: string;
|
|
75
75
|
} | null;
|
|
@@ -84,17 +84,17 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
+
metadata: ConversationMetadata | null;
|
|
87
88
|
id: string;
|
|
88
|
-
|
|
89
|
+
userId: string | null;
|
|
89
90
|
createdAt: string;
|
|
90
91
|
updatedAt: string;
|
|
91
92
|
tenantId: string;
|
|
92
93
|
projectId: string;
|
|
93
|
-
metadata: ConversationMetadata | null;
|
|
94
94
|
agentId: string | null;
|
|
95
|
-
|
|
95
|
+
title: string | null;
|
|
96
96
|
ref: {
|
|
97
|
-
type: "
|
|
97
|
+
type: "tag" | "commit" | "branch";
|
|
98
98
|
name: string;
|
|
99
99
|
hash: string;
|
|
100
100
|
} | null;
|
|
@@ -107,7 +107,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
107
107
|
tenantId: string;
|
|
108
108
|
id: string;
|
|
109
109
|
ref: {
|
|
110
|
-
type: "
|
|
110
|
+
type: "tag" | "commit" | "branch";
|
|
111
111
|
name: string;
|
|
112
112
|
hash: string;
|
|
113
113
|
};
|
|
@@ -120,17 +120,17 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
+
metadata: ConversationMetadata | null;
|
|
123
124
|
id: string;
|
|
124
|
-
|
|
125
|
+
userId: string | null;
|
|
125
126
|
createdAt: string;
|
|
126
127
|
updatedAt: string;
|
|
127
128
|
tenantId: string;
|
|
128
129
|
projectId: string;
|
|
129
|
-
metadata: ConversationMetadata | null;
|
|
130
130
|
agentId: string | null;
|
|
131
|
-
|
|
131
|
+
title: string | null;
|
|
132
132
|
ref: {
|
|
133
|
-
type: "
|
|
133
|
+
type: "tag" | "commit" | "branch";
|
|
134
134
|
name: string;
|
|
135
135
|
hash: string;
|
|
136
136
|
} | null;
|
|
@@ -152,17 +152,17 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
metadata: ConversationMetadata | null;
|
|
155
156
|
id: string;
|
|
156
|
-
|
|
157
|
+
userId: string | null;
|
|
157
158
|
createdAt: string;
|
|
158
159
|
updatedAt: string;
|
|
159
160
|
tenantId: string;
|
|
160
161
|
projectId: string;
|
|
161
|
-
metadata: ConversationMetadata | null;
|
|
162
162
|
agentId: string | null;
|
|
163
|
-
|
|
163
|
+
title: string | null;
|
|
164
164
|
ref: {
|
|
165
|
-
type: "
|
|
165
|
+
type: "tag" | "commit" | "branch";
|
|
166
166
|
name: string;
|
|
167
167
|
hash: string;
|
|
168
168
|
} | null;
|
|
@@ -9,14 +9,14 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
9
9
|
scopes: ProjectScopeConfig;
|
|
10
10
|
messageId: string;
|
|
11
11
|
}) => Promise<{
|
|
12
|
+
metadata: MessageMetadata | null;
|
|
12
13
|
id: string;
|
|
14
|
+
role: string;
|
|
13
15
|
createdAt: string;
|
|
14
16
|
updatedAt: string;
|
|
15
17
|
tenantId: string;
|
|
16
18
|
projectId: string;
|
|
17
|
-
metadata: MessageMetadata | null;
|
|
18
19
|
content: MessageContent;
|
|
19
|
-
role: string;
|
|
20
20
|
fromSubAgentId: string | null;
|
|
21
21
|
toSubAgentId: string | null;
|
|
22
22
|
fromExternalAgentId: string | null;
|
|
@@ -140,14 +140,14 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
140
140
|
id: string;
|
|
141
141
|
}[]>;
|
|
142
142
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
143
|
+
metadata: MessageMetadata | null;
|
|
143
144
|
id: string;
|
|
145
|
+
role: string;
|
|
144
146
|
createdAt: string;
|
|
145
147
|
updatedAt: string;
|
|
146
148
|
tenantId: string;
|
|
147
149
|
projectId: string;
|
|
148
|
-
metadata: MessageMetadata | null;
|
|
149
150
|
content: MessageContent;
|
|
150
|
-
role: string;
|
|
151
151
|
fromSubAgentId: string | null;
|
|
152
152
|
toSubAgentId: string | null;
|
|
153
153
|
fromExternalAgentId: string | null;
|
|
@@ -193,14 +193,14 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
193
193
|
scopes: ProjectScopeConfig;
|
|
194
194
|
messageId: string;
|
|
195
195
|
}) => Promise<{
|
|
196
|
+
metadata: MessageMetadata | null;
|
|
196
197
|
id: string;
|
|
198
|
+
role: string;
|
|
197
199
|
createdAt: string;
|
|
198
200
|
updatedAt: string;
|
|
199
201
|
tenantId: string;
|
|
200
202
|
projectId: string;
|
|
201
|
-
metadata: MessageMetadata | null;
|
|
202
203
|
content: MessageContent;
|
|
203
|
-
role: string;
|
|
204
204
|
fromSubAgentId: string | null;
|
|
205
205
|
toSubAgentId: string | null;
|
|
206
206
|
fromExternalAgentId: string | null;
|
|
@@ -6,20 +6,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
6
6
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
|
+
metadata: TaskMetadataConfig | null;
|
|
9
10
|
id: string;
|
|
10
11
|
createdAt: string;
|
|
11
12
|
updatedAt: string;
|
|
13
|
+
status: string;
|
|
12
14
|
tenantId: string;
|
|
13
15
|
projectId: string;
|
|
14
|
-
metadata: TaskMetadataConfig | null;
|
|
15
16
|
agentId: string;
|
|
16
|
-
subAgentId: string;
|
|
17
|
-
status: string;
|
|
18
17
|
ref: {
|
|
19
|
-
type: "
|
|
18
|
+
type: "tag" | "commit" | "branch";
|
|
20
19
|
name: string;
|
|
21
20
|
hash: string;
|
|
22
21
|
} | null;
|
|
22
|
+
subAgentId: string;
|
|
23
23
|
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -36,7 +36,7 @@ declare const updateTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
36
36
|
updatedAt: string;
|
|
37
37
|
contextId: string;
|
|
38
38
|
ref: {
|
|
39
|
-
type: "
|
|
39
|
+
type: "tag" | "commit" | "branch";
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|