@inkeep/agents-core 0.0.0-dev-20260406183632 → 0.0.0-dev-20260406185511
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 +86 -86
- package/dist/auth/auth-validation-schemas.d.ts +154 -154
- package/dist/auth/auth.d.ts +6 -6
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/data-access/manage/agents.d.ts +42 -42
- package/dist/data-access/manage/artifactComponents.d.ts +16 -16
- package/dist/data-access/manage/contextConfigs.d.ts +20 -20
- package/dist/data-access/manage/dataComponents.d.ts +8 -8
- package/dist/data-access/manage/functionTools.d.ts +20 -20
- package/dist/data-access/manage/skills.d.ts +17 -17
- package/dist/data-access/manage/subAgentExternalAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgentRelations.d.ts +36 -36
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +18 -18
- package/dist/data-access/manage/tools.d.ts +33 -33
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +16 -16
- package/dist/data-access/runtime/apps.d.ts +20 -20
- package/dist/data-access/runtime/conversations.d.ts +20 -20
- package/dist/data-access/runtime/feedback.d.ts +6 -6
- package/dist/data-access/runtime/messages.d.ts +15 -15
- package/dist/data-access/runtime/scheduledTriggerInvocations.d.ts +4 -4
- package/dist/data-access/runtime/scheduledTriggerUsers.d.ts +1 -1
- package/dist/data-access/runtime/tasks.d.ts +6 -6
- package/dist/db/manage/dolt-safe-jsonb.d.ts +2 -2
- package/dist/db/manage/manage-schema.d.ts +449 -449
- package/dist/db/runtime/runtime-schema.d.ts +407 -407
- package/dist/middleware/no-auth.d.ts +2 -2
- 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 +62 -62
- package/dist/validation/schemas.d.ts +2569 -2569
- package/package.json +1 -1
|
@@ -8,13 +8,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
|
|
11
|
+
tenantId: string;
|
|
12
|
+
projectId: string;
|
|
13
|
+
agentId: string;
|
|
12
14
|
name: string | null;
|
|
15
|
+
id: string;
|
|
13
16
|
createdAt: string;
|
|
14
17
|
updatedAt: string;
|
|
15
|
-
agentId: string;
|
|
16
|
-
projectId: string;
|
|
17
|
-
tenantId: string;
|
|
18
18
|
expiresAt: string | null;
|
|
19
19
|
publicId: string;
|
|
20
20
|
keyHash: string;
|
|
@@ -22,13 +22,13 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
22
22
|
lastUsedAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
|
-
|
|
25
|
+
tenantId: string;
|
|
26
|
+
projectId: string;
|
|
27
|
+
agentId: string;
|
|
26
28
|
name: string | null;
|
|
29
|
+
id: string;
|
|
27
30
|
createdAt: string;
|
|
28
31
|
updatedAt: string;
|
|
29
|
-
agentId: string;
|
|
30
|
-
projectId: string;
|
|
31
|
-
tenantId: string;
|
|
32
32
|
expiresAt: string | null;
|
|
33
33
|
publicId: string;
|
|
34
34
|
keyHash: string;
|
|
@@ -39,13 +39,13 @@ declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
40
40
|
agentId?: string;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
|
|
42
|
+
tenantId: string;
|
|
43
|
+
projectId: string;
|
|
44
|
+
agentId: string;
|
|
43
45
|
name: string | null;
|
|
46
|
+
id: string;
|
|
44
47
|
createdAt: string;
|
|
45
48
|
updatedAt: string;
|
|
46
|
-
agentId: string;
|
|
47
|
-
projectId: string;
|
|
48
|
-
tenantId: string;
|
|
49
49
|
expiresAt: string | null;
|
|
50
50
|
publicId: string;
|
|
51
51
|
keyHash: string;
|
|
@@ -66,13 +66,13 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
66
66
|
};
|
|
67
67
|
}>;
|
|
68
68
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
69
|
-
|
|
69
|
+
tenantId: string;
|
|
70
|
+
projectId: string;
|
|
71
|
+
agentId: string;
|
|
70
72
|
name: string | null;
|
|
73
|
+
id: string;
|
|
71
74
|
createdAt: string;
|
|
72
75
|
updatedAt: string;
|
|
73
|
-
agentId: string;
|
|
74
|
-
projectId: string;
|
|
75
|
-
tenantId: string;
|
|
76
76
|
expiresAt: string | null;
|
|
77
77
|
publicId: string;
|
|
78
78
|
keyHash: string;
|
|
@@ -5,19 +5,14 @@ import { AppInsert, AppSelect, AppUpdate } from "../../types/entities.js";
|
|
|
5
5
|
|
|
6
6
|
//#region src/data-access/runtime/apps.d.ts
|
|
7
7
|
declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promise<{
|
|
8
|
-
|
|
8
|
+
type: AppType;
|
|
9
|
+
description: string | null;
|
|
10
|
+
tenantId: string | null;
|
|
11
|
+
projectId: string | null;
|
|
9
12
|
name: string;
|
|
13
|
+
id: string;
|
|
10
14
|
createdAt: string;
|
|
11
15
|
updatedAt: string;
|
|
12
|
-
projectId: string | null;
|
|
13
|
-
tenantId: string | null;
|
|
14
|
-
description: string | null;
|
|
15
|
-
type: AppType;
|
|
16
|
-
enabled: boolean;
|
|
17
|
-
prompt: string | null;
|
|
18
|
-
lastUsedAt: string | null;
|
|
19
|
-
defaultProjectId: string | null;
|
|
20
|
-
defaultAgentId: string | null;
|
|
21
16
|
config: {
|
|
22
17
|
type: "web_client";
|
|
23
18
|
webClient: {
|
|
@@ -35,6 +30,11 @@ declare const getAppById: (db: AgentsRunDatabaseClient) => (id: string) => Promi
|
|
|
35
30
|
type: "api";
|
|
36
31
|
api: Record<string, never>;
|
|
37
32
|
};
|
|
33
|
+
enabled: boolean;
|
|
34
|
+
prompt: string | null;
|
|
35
|
+
lastUsedAt: string | null;
|
|
36
|
+
defaultProjectId: string | null;
|
|
37
|
+
defaultAgentId: string | null;
|
|
38
38
|
} | undefined>;
|
|
39
39
|
declare const updateAppLastUsed: (db: AgentsRunDatabaseClient) => (id: string) => Promise<void>;
|
|
40
40
|
declare const getAppByIdForTenant: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -61,19 +61,14 @@ declare const listAppsPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
61
61
|
};
|
|
62
62
|
}>;
|
|
63
63
|
declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) => Promise<{
|
|
64
|
-
|
|
64
|
+
type: AppType;
|
|
65
|
+
description: string | null;
|
|
66
|
+
tenantId: string | null;
|
|
67
|
+
projectId: string | null;
|
|
65
68
|
name: string;
|
|
69
|
+
id: string;
|
|
66
70
|
createdAt: string;
|
|
67
71
|
updatedAt: string;
|
|
68
|
-
projectId: string | null;
|
|
69
|
-
tenantId: string | null;
|
|
70
|
-
description: string | null;
|
|
71
|
-
type: AppType;
|
|
72
|
-
enabled: boolean;
|
|
73
|
-
prompt: string | null;
|
|
74
|
-
lastUsedAt: string | null;
|
|
75
|
-
defaultProjectId: string | null;
|
|
76
|
-
defaultAgentId: string | null;
|
|
77
72
|
config: {
|
|
78
73
|
type: "web_client";
|
|
79
74
|
webClient: {
|
|
@@ -91,6 +86,11 @@ declare const createApp: (db: AgentsRunDatabaseClient) => (params: AppInsert) =>
|
|
|
91
86
|
type: "api";
|
|
92
87
|
api: Record<string, never>;
|
|
93
88
|
};
|
|
89
|
+
enabled: boolean;
|
|
90
|
+
prompt: string | null;
|
|
91
|
+
lastUsedAt: string | null;
|
|
92
|
+
defaultProjectId: string | null;
|
|
93
|
+
defaultAgentId: string | null;
|
|
94
94
|
}>;
|
|
95
95
|
declare const updateAppForTenant: (db: AgentsRunDatabaseClient) => (params: {
|
|
96
96
|
scopes: TenantScopeConfig;
|
|
@@ -15,7 +15,12 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
15
15
|
total: number;
|
|
16
16
|
}>;
|
|
17
17
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
18
|
+
title: string | null;
|
|
19
|
+
tenantId: string;
|
|
20
|
+
projectId: string;
|
|
21
|
+
agentId: string | null;
|
|
18
22
|
id: string;
|
|
23
|
+
metadata: ConversationMetadata | null;
|
|
19
24
|
ref: {
|
|
20
25
|
type: "commit" | "tag" | "branch";
|
|
21
26
|
name: string;
|
|
@@ -23,11 +28,6 @@ declare const createConversation: (db: AgentsRunDatabaseClient) => (params: Conv
|
|
|
23
28
|
} | null;
|
|
24
29
|
createdAt: string;
|
|
25
30
|
updatedAt: string;
|
|
26
|
-
agentId: string | null;
|
|
27
|
-
projectId: string;
|
|
28
|
-
tenantId: string;
|
|
29
|
-
title: string | null;
|
|
30
|
-
metadata: ConversationMetadata | null;
|
|
31
31
|
userId: string | null;
|
|
32
32
|
activeSubAgentId: string;
|
|
33
33
|
lastContextResolution: string | null;
|
|
@@ -84,7 +84,12 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
84
84
|
scopes: ProjectScopeConfig;
|
|
85
85
|
conversationId: string;
|
|
86
86
|
}) => Promise<{
|
|
87
|
+
title: string | null;
|
|
88
|
+
tenantId: string;
|
|
89
|
+
projectId: string;
|
|
90
|
+
agentId: string | null;
|
|
87
91
|
id: string;
|
|
92
|
+
metadata: ConversationMetadata | null;
|
|
88
93
|
ref: {
|
|
89
94
|
type: "commit" | "tag" | "branch";
|
|
90
95
|
name: string;
|
|
@@ -92,11 +97,6 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
92
97
|
} | null;
|
|
93
98
|
createdAt: string;
|
|
94
99
|
updatedAt: string;
|
|
95
|
-
agentId: string | null;
|
|
96
|
-
projectId: string;
|
|
97
|
-
tenantId: string;
|
|
98
|
-
title: string | null;
|
|
99
|
-
metadata: ConversationMetadata | null;
|
|
100
100
|
userId: string | null;
|
|
101
101
|
activeSubAgentId: string;
|
|
102
102
|
lastContextResolution: string | null;
|
|
@@ -120,7 +120,12 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
120
120
|
metadata?: ConversationMetadata | null | undefined;
|
|
121
121
|
contextConfigId?: string | undefined;
|
|
122
122
|
} | {
|
|
123
|
+
title: string | null;
|
|
124
|
+
tenantId: string;
|
|
125
|
+
projectId: string;
|
|
126
|
+
agentId: string | null;
|
|
123
127
|
id: string;
|
|
128
|
+
metadata: ConversationMetadata | null;
|
|
124
129
|
ref: {
|
|
125
130
|
type: "commit" | "tag" | "branch";
|
|
126
131
|
name: string;
|
|
@@ -128,11 +133,6 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
128
133
|
} | null;
|
|
129
134
|
createdAt: string;
|
|
130
135
|
updatedAt: string;
|
|
131
|
-
agentId: string | null;
|
|
132
|
-
projectId: string;
|
|
133
|
-
tenantId: string;
|
|
134
|
-
title: string | null;
|
|
135
|
-
metadata: ConversationMetadata | null;
|
|
136
136
|
userId: string | null;
|
|
137
137
|
activeSubAgentId: string;
|
|
138
138
|
lastContextResolution: string | null;
|
|
@@ -152,7 +152,12 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
152
152
|
scopes: ProjectScopeConfig;
|
|
153
153
|
conversationId: string;
|
|
154
154
|
}) => Promise<{
|
|
155
|
+
title: string | null;
|
|
156
|
+
tenantId: string;
|
|
157
|
+
projectId: string;
|
|
158
|
+
agentId: string | null;
|
|
155
159
|
id: string;
|
|
160
|
+
metadata: ConversationMetadata | null;
|
|
156
161
|
ref: {
|
|
157
162
|
type: "commit" | "tag" | "branch";
|
|
158
163
|
name: string;
|
|
@@ -160,11 +165,6 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
160
165
|
} | null;
|
|
161
166
|
createdAt: string;
|
|
162
167
|
updatedAt: string;
|
|
163
|
-
agentId: string | null;
|
|
164
|
-
projectId: string;
|
|
165
|
-
tenantId: string;
|
|
166
|
-
title: string | null;
|
|
167
|
-
metadata: ConversationMetadata | null;
|
|
168
168
|
userId: string | null;
|
|
169
169
|
activeSubAgentId: string;
|
|
170
170
|
lastContextResolution: string | null;
|
|
@@ -58,12 +58,12 @@ declare const listFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
58
58
|
total: number;
|
|
59
59
|
}>;
|
|
60
60
|
declare const createFeedback: (db: AgentsRunDatabaseClient) => (params: FeedbackInsert) => Promise<{
|
|
61
|
+
type: "positive" | "negative";
|
|
62
|
+
tenantId: string;
|
|
63
|
+
projectId: string;
|
|
61
64
|
id: string;
|
|
62
65
|
createdAt: string;
|
|
63
66
|
updatedAt: string;
|
|
64
|
-
projectId: string;
|
|
65
|
-
tenantId: string;
|
|
66
|
-
type: "positive" | "negative";
|
|
67
67
|
details: string | null;
|
|
68
68
|
conversationId: string;
|
|
69
69
|
messageId: string | null;
|
|
@@ -87,12 +87,12 @@ declare const deleteFeedback: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
87
87
|
scopes: ProjectScopeConfig;
|
|
88
88
|
feedbackId: string;
|
|
89
89
|
}) => Promise<{
|
|
90
|
+
type: "positive" | "negative";
|
|
91
|
+
tenantId: string;
|
|
92
|
+
projectId: string;
|
|
90
93
|
id: string;
|
|
91
94
|
createdAt: string;
|
|
92
95
|
updatedAt: string;
|
|
93
|
-
projectId: string;
|
|
94
|
-
tenantId: string;
|
|
95
|
-
type: "positive" | "negative";
|
|
96
96
|
details: string | null;
|
|
97
97
|
conversationId: string;
|
|
98
98
|
messageId: string | null;
|
|
@@ -10,20 +10,20 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
10
10
|
scopes: ProjectScopeConfig;
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
|
-
id: string;
|
|
14
|
-
createdAt: string;
|
|
15
|
-
updatedAt: string;
|
|
16
|
-
projectId: string;
|
|
17
13
|
tenantId: string;
|
|
14
|
+
projectId: string;
|
|
15
|
+
id: string;
|
|
18
16
|
metadata: MessageMetadata | null;
|
|
19
17
|
content: MessageContent;
|
|
20
|
-
|
|
18
|
+
createdAt: string;
|
|
19
|
+
updatedAt: string;
|
|
21
20
|
fromSubAgentId: string | null;
|
|
22
21
|
toSubAgentId: string | null;
|
|
23
22
|
fromExternalAgentId: string | null;
|
|
24
23
|
toExternalAgentId: string | null;
|
|
25
24
|
taskId: string | null;
|
|
26
25
|
a2aTaskId: string | null;
|
|
26
|
+
role: string;
|
|
27
27
|
conversationId: string;
|
|
28
28
|
fromTeamAgentId: string | null;
|
|
29
29
|
toTeamAgentId: string | null;
|
|
@@ -144,20 +144,20 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
144
144
|
scopes: ProjectScopeConfig;
|
|
145
145
|
data: Omit<MessageInsert, "tenantId" | "projectId">;
|
|
146
146
|
}) => Promise<{
|
|
147
|
-
id: string;
|
|
148
|
-
createdAt: string;
|
|
149
|
-
updatedAt: string;
|
|
150
|
-
projectId: string;
|
|
151
147
|
tenantId: string;
|
|
148
|
+
projectId: string;
|
|
149
|
+
id: string;
|
|
152
150
|
metadata: MessageMetadata | null;
|
|
153
151
|
content: MessageContent;
|
|
154
|
-
|
|
152
|
+
createdAt: string;
|
|
153
|
+
updatedAt: string;
|
|
155
154
|
fromSubAgentId: string | null;
|
|
156
155
|
toSubAgentId: string | null;
|
|
157
156
|
fromExternalAgentId: string | null;
|
|
158
157
|
toExternalAgentId: string | null;
|
|
159
158
|
taskId: string | null;
|
|
160
159
|
a2aTaskId: string | null;
|
|
160
|
+
role: string;
|
|
161
161
|
conversationId: string;
|
|
162
162
|
fromTeamAgentId: string | null;
|
|
163
163
|
toTeamAgentId: string | null;
|
|
@@ -197,20 +197,20 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
197
197
|
scopes: ProjectScopeConfig;
|
|
198
198
|
messageId: string;
|
|
199
199
|
}) => Promise<{
|
|
200
|
-
id: string;
|
|
201
|
-
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
|
-
projectId: string;
|
|
204
200
|
tenantId: string;
|
|
201
|
+
projectId: string;
|
|
202
|
+
id: string;
|
|
205
203
|
metadata: MessageMetadata | null;
|
|
206
204
|
content: MessageContent;
|
|
207
|
-
|
|
205
|
+
createdAt: string;
|
|
206
|
+
updatedAt: string;
|
|
208
207
|
fromSubAgentId: string | null;
|
|
209
208
|
toSubAgentId: string | null;
|
|
210
209
|
fromExternalAgentId: string | null;
|
|
211
210
|
toExternalAgentId: string | null;
|
|
212
211
|
taskId: string | null;
|
|
213
212
|
a2aTaskId: string | null;
|
|
213
|
+
role: string;
|
|
214
214
|
conversationId: string;
|
|
215
215
|
fromTeamAgentId: string | null;
|
|
216
216
|
toTeamAgentId: string | null;
|
|
@@ -40,7 +40,7 @@ declare const listScheduledTriggerInvocationsPaginated: (db: AgentsRunDatabaseCl
|
|
|
40
40
|
name: string;
|
|
41
41
|
hash: string;
|
|
42
42
|
} | null;
|
|
43
|
-
status: "pending" | "
|
|
43
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
44
44
|
scheduledFor: string;
|
|
45
45
|
startedAt: string | null;
|
|
46
46
|
completedAt: string | null;
|
|
@@ -199,7 +199,7 @@ declare const listUpcomingInvocationsForAgentPaginated: (db: AgentsRunDatabaseCl
|
|
|
199
199
|
name: string;
|
|
200
200
|
hash: string;
|
|
201
201
|
} | null;
|
|
202
|
-
status: "pending" | "
|
|
202
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
203
203
|
scheduledFor: string;
|
|
204
204
|
startedAt: string | null;
|
|
205
205
|
completedAt: string | null;
|
|
@@ -239,7 +239,7 @@ declare const listProjectScheduledTriggerInvocationsPaginated: (db: AgentsRunDat
|
|
|
239
239
|
name: string;
|
|
240
240
|
hash: string;
|
|
241
241
|
} | null;
|
|
242
|
-
status: "pending" | "
|
|
242
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
243
243
|
scheduledFor: string;
|
|
244
244
|
startedAt: string | null;
|
|
245
245
|
completedAt: string | null;
|
|
@@ -292,7 +292,7 @@ declare const listScheduledTriggerInvocationsByTriggerId: (db: AgentsRunDatabase
|
|
|
292
292
|
name: string;
|
|
293
293
|
hash: string;
|
|
294
294
|
} | null;
|
|
295
|
-
status: "pending" | "
|
|
295
|
+
status: "pending" | "failed" | "running" | "completed" | "cancelled";
|
|
296
296
|
scheduledFor: string;
|
|
297
297
|
startedAt: string | null;
|
|
298
298
|
completedAt: string | null;
|
|
@@ -15,8 +15,8 @@ declare const createScheduledTriggerUser: (db: AgentsRunDatabaseClient) => (para
|
|
|
15
15
|
scheduledTriggerId: string;
|
|
16
16
|
userId: string;
|
|
17
17
|
}) => Promise<{
|
|
18
|
-
createdAt: string;
|
|
19
18
|
tenantId: string;
|
|
19
|
+
createdAt: string;
|
|
20
20
|
userId: string;
|
|
21
21
|
scheduledTriggerId: string;
|
|
22
22
|
}>;
|
|
@@ -7,7 +7,13 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
|
|
8
8
|
//#region src/data-access/runtime/tasks.d.ts
|
|
9
9
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
10
|
+
tenantId: string;
|
|
11
|
+
projectId: string;
|
|
12
|
+
agentId: string;
|
|
13
|
+
subAgentId: string;
|
|
10
14
|
id: string;
|
|
15
|
+
metadata: TaskMetadataConfig | null;
|
|
16
|
+
status: string;
|
|
11
17
|
ref: {
|
|
12
18
|
type: "commit" | "tag" | "branch";
|
|
13
19
|
name: string;
|
|
@@ -15,12 +21,6 @@ declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert)
|
|
|
15
21
|
} | null;
|
|
16
22
|
createdAt: string;
|
|
17
23
|
updatedAt: string;
|
|
18
|
-
agentId: string;
|
|
19
|
-
projectId: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
metadata: TaskMetadataConfig | null;
|
|
22
|
-
status: string;
|
|
23
|
-
subAgentId: string;
|
|
24
24
|
contextId: string;
|
|
25
25
|
}>;
|
|
26
26
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as drizzle_orm_pg_core1342 from "drizzle-orm/pg-core";
|
|
2
2
|
|
|
3
3
|
//#region src/db/manage/dolt-safe-jsonb.d.ts
|
|
4
4
|
declare function encodeBackslashes(value: unknown): unknown;
|
|
@@ -7,6 +7,6 @@ declare function decodeBackslashes(value: unknown): unknown;
|
|
|
7
7
|
* Drop-in replacement for drizzle-orm's `jsonb()`.
|
|
8
8
|
* Encodes backslashes on write and decodes on read to work around the Doltgres bug.
|
|
9
9
|
*/
|
|
10
|
-
declare function jsonb(name: string): ReturnType<typeof
|
|
10
|
+
declare function jsonb(name: string): ReturnType<typeof drizzle_orm_pg_core1342.jsonb>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { decodeBackslashes, encodeBackslashes, jsonb };
|