@inkeep/agents-core 0.58.5 → 0.58.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 +85 -85
- package/dist/auth/auth-validation-schemas.d.ts +152 -152
- package/dist/auth/auth.d.ts +28 -28
- package/dist/auth/permissions.d.ts +13 -13
- package/dist/client-exports.d.ts +4 -4
- package/dist/constants/otel-attributes.d.ts +22 -0
- package/dist/constants/otel-attributes.js +22 -0
- package/dist/data-access/manage/agents.d.ts +48 -48
- package/dist/data-access/manage/artifactComponents.d.ts +14 -14
- package/dist/data-access/manage/contextConfigs.d.ts +20 -20
- package/dist/data-access/manage/dataComponents.d.ts +6 -6
- 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 +28 -28
- package/dist/data-access/manage/subAgentTeamAgentRelations.d.ts +24 -24
- package/dist/data-access/manage/subAgents.d.ts +24 -24
- package/dist/data-access/manage/tools.d.ts +27 -27
- package/dist/data-access/manage/triggers.d.ts +2 -2
- package/dist/data-access/runtime/apiKeys.d.ts +20 -20
- package/dist/data-access/runtime/conversations.d.ts +27 -27
- package/dist/data-access/runtime/messages.d.ts +9 -9
- package/dist/data-access/runtime/tasks.d.ts +8 -8
- package/dist/db/manage/manage-schema.d.ts +4 -4
- package/dist/db/runtime/runtime-schema.d.ts +8 -8
- package/dist/middleware/no-auth.d.ts +2 -2
- package/dist/utils/error.d.ts +51 -51
- 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 +2020 -2020
- package/package.json +3 -3
|
@@ -19,13 +19,13 @@ declare const getToolById: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
19
19
|
scopes: ProjectScopeConfig;
|
|
20
20
|
toolId: string;
|
|
21
21
|
}) => Promise<{
|
|
22
|
-
id: string;
|
|
23
22
|
name: string;
|
|
24
|
-
|
|
25
|
-
tenantId: string;
|
|
26
|
-
projectId: string;
|
|
23
|
+
id: string;
|
|
27
24
|
createdAt: string;
|
|
28
25
|
updatedAt: string;
|
|
26
|
+
projectId: string;
|
|
27
|
+
tenantId: string;
|
|
28
|
+
description: string | null;
|
|
29
29
|
headers: Record<string, string> | null;
|
|
30
30
|
config: {
|
|
31
31
|
type: "mcp";
|
|
@@ -77,13 +77,13 @@ declare const listTools: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
77
77
|
};
|
|
78
78
|
}>;
|
|
79
79
|
declare const createTool: (db: AgentsManageDatabaseClient) => (params: ToolInsert) => Promise<{
|
|
80
|
-
id: string;
|
|
81
80
|
name: string;
|
|
82
|
-
|
|
83
|
-
tenantId: string;
|
|
84
|
-
projectId: string;
|
|
81
|
+
id: string;
|
|
85
82
|
createdAt: string;
|
|
86
83
|
updatedAt: string;
|
|
84
|
+
projectId: string;
|
|
85
|
+
tenantId: string;
|
|
86
|
+
description: string | null;
|
|
87
87
|
headers: Record<string, string> | null;
|
|
88
88
|
config: {
|
|
89
89
|
type: "mcp";
|
|
@@ -135,17 +135,17 @@ declare const addToolToAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
|
135
135
|
}> | null;
|
|
136
136
|
}) => Promise<{
|
|
137
137
|
id: string;
|
|
138
|
-
tenantId: string;
|
|
139
|
-
projectId: string;
|
|
140
|
-
agentId: string;
|
|
141
138
|
createdAt: string;
|
|
142
139
|
updatedAt: string;
|
|
143
|
-
|
|
140
|
+
agentId: string;
|
|
141
|
+
projectId: string;
|
|
142
|
+
tenantId: string;
|
|
143
|
+
subAgentId: string;
|
|
144
144
|
headers: Record<string, string> | null;
|
|
145
|
+
toolId: string;
|
|
145
146
|
toolPolicies: Record<string, {
|
|
146
147
|
needsApproval?: boolean;
|
|
147
148
|
}> | null;
|
|
148
|
-
subAgentId: string;
|
|
149
149
|
selectedTools: string[] | null;
|
|
150
150
|
}>;
|
|
151
151
|
declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params: {
|
|
@@ -154,17 +154,17 @@ declare const removeToolFromAgent: (db: AgentsManageDatabaseClient) => (params:
|
|
|
154
154
|
toolId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
156
|
id: string;
|
|
157
|
-
tenantId: string;
|
|
158
|
-
projectId: string;
|
|
159
|
-
agentId: string;
|
|
160
157
|
createdAt: string;
|
|
161
158
|
updatedAt: string;
|
|
162
|
-
|
|
159
|
+
agentId: string;
|
|
160
|
+
projectId: string;
|
|
161
|
+
tenantId: string;
|
|
162
|
+
subAgentId: string;
|
|
163
163
|
headers: Record<string, string> | null;
|
|
164
|
+
toolId: string;
|
|
164
165
|
toolPolicies: Record<string, {
|
|
165
166
|
needsApproval?: boolean;
|
|
166
167
|
}> | null;
|
|
167
|
-
subAgentId: string;
|
|
168
168
|
selectedTools: string[] | null;
|
|
169
169
|
}>;
|
|
170
170
|
/**
|
|
@@ -182,17 +182,17 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
182
182
|
relationId?: string;
|
|
183
183
|
}) => Promise<{
|
|
184
184
|
id: string;
|
|
185
|
-
tenantId: string;
|
|
186
|
-
projectId: string;
|
|
187
|
-
agentId: string;
|
|
188
185
|
createdAt: string;
|
|
189
186
|
updatedAt: string;
|
|
190
|
-
|
|
187
|
+
agentId: string;
|
|
188
|
+
projectId: string;
|
|
189
|
+
tenantId: string;
|
|
190
|
+
subAgentId: string;
|
|
191
191
|
headers: Record<string, string> | null;
|
|
192
|
+
toolId: string;
|
|
192
193
|
toolPolicies: Record<string, {
|
|
193
194
|
needsApproval?: boolean;
|
|
194
195
|
}> | null;
|
|
195
|
-
subAgentId: string;
|
|
196
196
|
selectedTools: string[] | null;
|
|
197
197
|
}>;
|
|
198
198
|
/**
|
|
@@ -201,13 +201,13 @@ declare const upsertSubAgentToolRelation: (db: AgentsManageDatabaseClient) => (p
|
|
|
201
201
|
declare const upsertTool: (db: AgentsManageDatabaseClient) => (params: {
|
|
202
202
|
data: ToolInsert;
|
|
203
203
|
}) => Promise<{
|
|
204
|
-
id: string;
|
|
205
204
|
name: string;
|
|
206
|
-
|
|
207
|
-
tenantId: string;
|
|
208
|
-
projectId: string;
|
|
205
|
+
id: string;
|
|
209
206
|
createdAt: string;
|
|
210
207
|
updatedAt: string;
|
|
208
|
+
projectId: string;
|
|
209
|
+
tenantId: string;
|
|
210
|
+
description: string | null;
|
|
211
211
|
headers: Record<string, string> | null;
|
|
212
212
|
config: {
|
|
213
213
|
type: "mcp";
|
|
@@ -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: "query" | "
|
|
43
|
+
source: "query" | "header" | "body";
|
|
44
44
|
key: string;
|
|
45
45
|
prefix?: string | undefined;
|
|
46
46
|
regex?: string | undefined;
|
|
47
47
|
};
|
|
48
48
|
signedComponents: {
|
|
49
|
-
source: "literal" | "
|
|
49
|
+
source: "literal" | "header" | "body";
|
|
50
50
|
required: boolean;
|
|
51
51
|
key?: string | undefined;
|
|
52
52
|
value?: string | undefined;
|
|
@@ -8,49 +8,49 @@ declare const getApiKeyById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
8
8
|
scopes: ProjectScopeConfig;
|
|
9
9
|
id: string;
|
|
10
10
|
}) => Promise<{
|
|
11
|
-
id: string;
|
|
12
11
|
name: string | null;
|
|
13
|
-
|
|
14
|
-
projectId: string;
|
|
15
|
-
agentId: string;
|
|
12
|
+
id: string;
|
|
16
13
|
createdAt: string;
|
|
17
14
|
updatedAt: string;
|
|
18
|
-
|
|
15
|
+
agentId: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
19
18
|
publicId: string;
|
|
20
19
|
keyHash: string;
|
|
21
20
|
keyPrefix: string;
|
|
22
21
|
lastUsedAt: string | null;
|
|
22
|
+
expiresAt: string | null;
|
|
23
23
|
} | undefined>;
|
|
24
24
|
declare const getApiKeyByPublicId: (db: AgentsRunDatabaseClient) => (publicId: string) => Promise<{
|
|
25
|
-
id: string;
|
|
26
25
|
name: string | null;
|
|
27
|
-
|
|
28
|
-
projectId: string;
|
|
29
|
-
agentId: string;
|
|
26
|
+
id: string;
|
|
30
27
|
createdAt: string;
|
|
31
28
|
updatedAt: string;
|
|
32
|
-
|
|
29
|
+
agentId: string;
|
|
30
|
+
projectId: string;
|
|
31
|
+
tenantId: string;
|
|
33
32
|
publicId: string;
|
|
34
33
|
keyHash: string;
|
|
35
34
|
keyPrefix: string;
|
|
36
35
|
lastUsedAt: string | null;
|
|
36
|
+
expiresAt: string | null;
|
|
37
37
|
} | undefined>;
|
|
38
38
|
declare const listApiKeys: (db: AgentsRunDatabaseClient) => (params: {
|
|
39
39
|
scopes: ProjectScopeConfig;
|
|
40
40
|
agentId?: string;
|
|
41
41
|
}) => Promise<{
|
|
42
|
-
id: string;
|
|
43
42
|
name: string | null;
|
|
44
|
-
|
|
45
|
-
projectId: string;
|
|
46
|
-
agentId: string;
|
|
43
|
+
id: string;
|
|
47
44
|
createdAt: string;
|
|
48
45
|
updatedAt: string;
|
|
49
|
-
|
|
46
|
+
agentId: string;
|
|
47
|
+
projectId: string;
|
|
48
|
+
tenantId: string;
|
|
50
49
|
publicId: string;
|
|
51
50
|
keyHash: string;
|
|
52
51
|
keyPrefix: string;
|
|
53
52
|
lastUsedAt: string | null;
|
|
53
|
+
expiresAt: string | null;
|
|
54
54
|
}[]>;
|
|
55
55
|
declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
56
56
|
scopes: ProjectScopeConfig;
|
|
@@ -66,18 +66,18 @@ declare const listApiKeysPaginated: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
66
66
|
};
|
|
67
67
|
}>;
|
|
68
68
|
declare const createApiKey: (db: AgentsRunDatabaseClient) => (params: ApiKeyInsert) => Promise<{
|
|
69
|
-
id: string;
|
|
70
69
|
name: string | null;
|
|
71
|
-
|
|
72
|
-
projectId: string;
|
|
73
|
-
agentId: string;
|
|
70
|
+
id: string;
|
|
74
71
|
createdAt: string;
|
|
75
72
|
updatedAt: string;
|
|
76
|
-
|
|
73
|
+
agentId: string;
|
|
74
|
+
projectId: string;
|
|
75
|
+
tenantId: string;
|
|
77
76
|
publicId: string;
|
|
78
77
|
keyHash: string;
|
|
79
78
|
keyPrefix: string;
|
|
80
79
|
lastUsedAt: string | null;
|
|
80
|
+
expiresAt: string | null;
|
|
81
81
|
}>;
|
|
82
82
|
declare const updateApiKey: (db: AgentsRunDatabaseClient) => (params: {
|
|
83
83
|
scopes: ProjectScopeConfig;
|
|
@@ -17,19 +17,19 @@ declare const listConversations: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
17
17
|
}>;
|
|
18
18
|
declare const createConversation: (db: AgentsRunDatabaseClient) => (params: ConversationInsert) => Promise<{
|
|
19
19
|
id: string;
|
|
20
|
-
tenantId: string;
|
|
21
|
-
projectId: string;
|
|
22
|
-
agentId: string | null;
|
|
23
|
-
title: string | null;
|
|
24
20
|
createdAt: string;
|
|
25
21
|
updatedAt: string;
|
|
22
|
+
agentId: string | null;
|
|
23
|
+
projectId: string;
|
|
24
|
+
tenantId: string;
|
|
25
|
+
title: string | null;
|
|
26
26
|
metadata: ConversationMetadata | null;
|
|
27
|
+
userId: string | null;
|
|
27
28
|
ref: {
|
|
28
|
-
type: "
|
|
29
|
+
type: "tag" | "commit" | "branch";
|
|
29
30
|
name: string;
|
|
30
31
|
hash: string;
|
|
31
32
|
} | null;
|
|
32
|
-
userId: string | null;
|
|
33
33
|
activeSubAgentId: string;
|
|
34
34
|
lastContextResolution: string | null;
|
|
35
35
|
}>;
|
|
@@ -44,7 +44,7 @@ declare const updateConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
44
44
|
agentId: string | null;
|
|
45
45
|
activeSubAgentId: string;
|
|
46
46
|
ref: {
|
|
47
|
-
type: "
|
|
47
|
+
type: "tag" | "commit" | "branch";
|
|
48
48
|
name: string;
|
|
49
49
|
hash: string;
|
|
50
50
|
} | null;
|
|
@@ -70,7 +70,7 @@ declare const updateConversationActiveSubAgent: (db: AgentsRunDatabaseClient) =>
|
|
|
70
70
|
agentId: string | null;
|
|
71
71
|
activeSubAgentId: string;
|
|
72
72
|
ref: {
|
|
73
|
-
type: "
|
|
73
|
+
type: "tag" | "commit" | "branch";
|
|
74
74
|
name: string;
|
|
75
75
|
hash: string;
|
|
76
76
|
} | null;
|
|
@@ -86,19 +86,19 @@ declare const getConversation: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
86
86
|
conversationId: string;
|
|
87
87
|
}) => Promise<{
|
|
88
88
|
id: string;
|
|
89
|
-
tenantId: string;
|
|
90
|
-
projectId: string;
|
|
91
|
-
agentId: string | null;
|
|
92
|
-
title: string | null;
|
|
93
89
|
createdAt: string;
|
|
94
90
|
updatedAt: string;
|
|
91
|
+
agentId: string | null;
|
|
92
|
+
projectId: string;
|
|
93
|
+
tenantId: string;
|
|
94
|
+
title: string | null;
|
|
95
95
|
metadata: ConversationMetadata | null;
|
|
96
|
+
userId: string | null;
|
|
96
97
|
ref: {
|
|
97
|
-
type: "
|
|
98
|
+
type: "tag" | "commit" | "branch";
|
|
98
99
|
name: string;
|
|
99
100
|
hash: string;
|
|
100
101
|
} | null;
|
|
101
|
-
userId: string | null;
|
|
102
102
|
activeSubAgentId: string;
|
|
103
103
|
lastContextResolution: string | null;
|
|
104
104
|
} | undefined>;
|
|
@@ -108,7 +108,7 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
108
108
|
tenantId: string;
|
|
109
109
|
id: string;
|
|
110
110
|
ref: {
|
|
111
|
-
type: "
|
|
111
|
+
type: "tag" | "commit" | "branch";
|
|
112
112
|
name: string;
|
|
113
113
|
hash: string;
|
|
114
114
|
};
|
|
@@ -122,19 +122,19 @@ declare const createOrGetConversation: (db: AgentsRunDatabaseClient) => (input:
|
|
|
122
122
|
contextConfigId?: string | undefined;
|
|
123
123
|
} | {
|
|
124
124
|
id: string;
|
|
125
|
-
tenantId: string;
|
|
126
|
-
projectId: string;
|
|
127
|
-
agentId: string | null;
|
|
128
|
-
title: string | null;
|
|
129
125
|
createdAt: string;
|
|
130
126
|
updatedAt: string;
|
|
127
|
+
agentId: string | null;
|
|
128
|
+
projectId: string;
|
|
129
|
+
tenantId: string;
|
|
130
|
+
title: string | null;
|
|
131
131
|
metadata: ConversationMetadata | null;
|
|
132
|
+
userId: string | null;
|
|
132
133
|
ref: {
|
|
133
|
-
type: "
|
|
134
|
+
type: "tag" | "commit" | "branch";
|
|
134
135
|
name: string;
|
|
135
136
|
hash: string;
|
|
136
137
|
} | null;
|
|
137
|
-
userId: string | null;
|
|
138
138
|
activeSubAgentId: string;
|
|
139
139
|
lastContextResolution: string | null;
|
|
140
140
|
}>;
|
|
@@ -154,19 +154,19 @@ declare const getActiveAgentForConversation: (db: AgentsRunDatabaseClient) => (p
|
|
|
154
154
|
conversationId: string;
|
|
155
155
|
}) => Promise<{
|
|
156
156
|
id: string;
|
|
157
|
-
tenantId: string;
|
|
158
|
-
projectId: string;
|
|
159
|
-
agentId: string | null;
|
|
160
|
-
title: string | null;
|
|
161
157
|
createdAt: string;
|
|
162
158
|
updatedAt: string;
|
|
159
|
+
agentId: string | null;
|
|
160
|
+
projectId: string;
|
|
161
|
+
tenantId: string;
|
|
162
|
+
title: string | null;
|
|
163
163
|
metadata: ConversationMetadata | null;
|
|
164
|
+
userId: string | null;
|
|
164
165
|
ref: {
|
|
165
|
-
type: "
|
|
166
|
+
type: "tag" | "commit" | "branch";
|
|
166
167
|
name: string;
|
|
167
168
|
hash: string;
|
|
168
169
|
} | null;
|
|
169
|
-
userId: string | null;
|
|
170
170
|
activeSubAgentId: string;
|
|
171
171
|
lastContextResolution: string | null;
|
|
172
172
|
} | undefined>;
|
|
@@ -11,13 +11,12 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
11
11
|
messageId: string;
|
|
12
12
|
}) => Promise<{
|
|
13
13
|
id: string;
|
|
14
|
-
tenantId: string;
|
|
15
|
-
projectId: string;
|
|
16
14
|
createdAt: string;
|
|
17
15
|
updatedAt: string;
|
|
16
|
+
projectId: string;
|
|
17
|
+
tenantId: string;
|
|
18
18
|
metadata: MessageMetadata | null;
|
|
19
19
|
content: MessageContent;
|
|
20
|
-
role: string;
|
|
21
20
|
fromSubAgentId: string | null;
|
|
22
21
|
toSubAgentId: string | null;
|
|
23
22
|
fromExternalAgentId: string | null;
|
|
@@ -25,6 +24,7 @@ declare const getMessageById: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
25
24
|
taskId: string | null;
|
|
26
25
|
a2aTaskId: string | null;
|
|
27
26
|
conversationId: string;
|
|
27
|
+
role: string;
|
|
28
28
|
fromTeamAgentId: string | null;
|
|
29
29
|
toTeamAgentId: string | null;
|
|
30
30
|
visibility: string;
|
|
@@ -142,13 +142,12 @@ declare const getVisibleMessages: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
142
142
|
}[]>;
|
|
143
143
|
declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageInsert) => Promise<{
|
|
144
144
|
id: string;
|
|
145
|
-
tenantId: string;
|
|
146
|
-
projectId: string;
|
|
147
145
|
createdAt: string;
|
|
148
146
|
updatedAt: string;
|
|
147
|
+
projectId: string;
|
|
148
|
+
tenantId: string;
|
|
149
149
|
metadata: MessageMetadata | null;
|
|
150
150
|
content: MessageContent;
|
|
151
|
-
role: string;
|
|
152
151
|
fromSubAgentId: string | null;
|
|
153
152
|
toSubAgentId: string | null;
|
|
154
153
|
fromExternalAgentId: string | null;
|
|
@@ -156,6 +155,7 @@ declare const createMessage: (db: AgentsRunDatabaseClient) => (params: MessageIn
|
|
|
156
155
|
taskId: string | null;
|
|
157
156
|
a2aTaskId: string | null;
|
|
158
157
|
conversationId: string;
|
|
158
|
+
role: string;
|
|
159
159
|
fromTeamAgentId: string | null;
|
|
160
160
|
toTeamAgentId: string | null;
|
|
161
161
|
visibility: string;
|
|
@@ -195,13 +195,12 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
195
195
|
messageId: string;
|
|
196
196
|
}) => Promise<{
|
|
197
197
|
id: string;
|
|
198
|
-
tenantId: string;
|
|
199
|
-
projectId: string;
|
|
200
198
|
createdAt: string;
|
|
201
199
|
updatedAt: string;
|
|
200
|
+
projectId: string;
|
|
201
|
+
tenantId: string;
|
|
202
202
|
metadata: MessageMetadata | null;
|
|
203
203
|
content: MessageContent;
|
|
204
|
-
role: string;
|
|
205
204
|
fromSubAgentId: string | null;
|
|
206
205
|
toSubAgentId: string | null;
|
|
207
206
|
fromExternalAgentId: string | null;
|
|
@@ -209,6 +208,7 @@ declare const deleteMessage: (db: AgentsRunDatabaseClient) => (params: {
|
|
|
209
208
|
taskId: string | null;
|
|
210
209
|
a2aTaskId: string | null;
|
|
211
210
|
conversationId: string;
|
|
211
|
+
role: string;
|
|
212
212
|
fromTeamAgentId: string | null;
|
|
213
213
|
toTeamAgentId: string | null;
|
|
214
214
|
visibility: string;
|
|
@@ -7,20 +7,20 @@ import { TaskInsert, TaskSelect } from "../../types/entities.js";
|
|
|
7
7
|
//#region src/data-access/runtime/tasks.d.ts
|
|
8
8
|
declare const createTask: (db: AgentsRunDatabaseClient) => (params: TaskInsert) => Promise<{
|
|
9
9
|
id: string;
|
|
10
|
-
tenantId: string;
|
|
11
|
-
projectId: string;
|
|
12
|
-
agentId: string;
|
|
13
10
|
createdAt: string;
|
|
14
11
|
updatedAt: string;
|
|
12
|
+
agentId: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
tenantId: string;
|
|
15
15
|
metadata: TaskMetadataConfig | null;
|
|
16
|
+
status: string;
|
|
17
|
+
subAgentId: string;
|
|
18
|
+
contextId: string;
|
|
16
19
|
ref: {
|
|
17
|
-
type: "
|
|
20
|
+
type: "tag" | "commit" | "branch";
|
|
18
21
|
name: string;
|
|
19
22
|
hash: string;
|
|
20
23
|
} | null;
|
|
21
|
-
status: string;
|
|
22
|
-
subAgentId: string;
|
|
23
|
-
contextId: string;
|
|
24
24
|
}>;
|
|
25
25
|
declare const getTask: (db: AgentsRunDatabaseClient) => (params: {
|
|
26
26
|
id: string;
|
|
@@ -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;
|
|
@@ -814,13 +814,13 @@ declare const triggers: drizzle_orm_pg_core1842.PgTableWithColumns<{
|
|
|
814
814
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
815
815
|
encoding: "hex" | "base64";
|
|
816
816
|
signature: {
|
|
817
|
-
source: "query" | "
|
|
817
|
+
source: "query" | "header" | "body";
|
|
818
818
|
key: string;
|
|
819
819
|
prefix?: string | undefined;
|
|
820
820
|
regex?: string | undefined;
|
|
821
821
|
};
|
|
822
822
|
signedComponents: {
|
|
823
|
-
source: "literal" | "
|
|
823
|
+
source: "literal" | "header" | "body";
|
|
824
824
|
required: boolean;
|
|
825
825
|
key?: string | undefined;
|
|
826
826
|
value?: string | undefined;
|
|
@@ -851,13 +851,13 @@ declare const triggers: drizzle_orm_pg_core1842.PgTableWithColumns<{
|
|
|
851
851
|
algorithm: "sha256" | "sha512" | "sha384" | "sha1" | "md5";
|
|
852
852
|
encoding: "hex" | "base64";
|
|
853
853
|
signature: {
|
|
854
|
-
source: "query" | "
|
|
854
|
+
source: "query" | "header" | "body";
|
|
855
855
|
key: string;
|
|
856
856
|
prefix?: string | undefined;
|
|
857
857
|
regex?: string | undefined;
|
|
858
858
|
};
|
|
859
859
|
signedComponents: {
|
|
860
|
-
source: "literal" | "
|
|
860
|
+
source: "literal" | "header" | "body";
|
|
861
861
|
required: boolean;
|
|
862
862
|
key?: string | undefined;
|
|
863
863
|
value?: string | undefined;
|
|
@@ -216,7 +216,7 @@ declare const conversations: drizzle_orm_pg_core1563.PgTableWithColumns<{
|
|
|
216
216
|
dataType: "json";
|
|
217
217
|
columnType: "PgJsonb";
|
|
218
218
|
data: {
|
|
219
|
-
type: "
|
|
219
|
+
type: "tag" | "commit" | "branch";
|
|
220
220
|
name: string;
|
|
221
221
|
hash: string;
|
|
222
222
|
};
|
|
@@ -232,7 +232,7 @@ declare const conversations: drizzle_orm_pg_core1563.PgTableWithColumns<{
|
|
|
232
232
|
generated: undefined;
|
|
233
233
|
}, {}, {
|
|
234
234
|
$type: {
|
|
235
|
-
type: "
|
|
235
|
+
type: "tag" | "commit" | "branch";
|
|
236
236
|
name: string;
|
|
237
237
|
hash: string;
|
|
238
238
|
};
|
|
@@ -413,7 +413,7 @@ declare const tasks: drizzle_orm_pg_core1563.PgTableWithColumns<{
|
|
|
413
413
|
dataType: "json";
|
|
414
414
|
columnType: "PgJsonb";
|
|
415
415
|
data: {
|
|
416
|
-
type: "
|
|
416
|
+
type: "tag" | "commit" | "branch";
|
|
417
417
|
name: string;
|
|
418
418
|
hash: string;
|
|
419
419
|
};
|
|
@@ -429,7 +429,7 @@ declare const tasks: drizzle_orm_pg_core1563.PgTableWithColumns<{
|
|
|
429
429
|
generated: undefined;
|
|
430
430
|
}, {}, {
|
|
431
431
|
$type: {
|
|
432
|
-
type: "
|
|
432
|
+
type: "tag" | "commit" | "branch";
|
|
433
433
|
name: string;
|
|
434
434
|
hash: string;
|
|
435
435
|
};
|
|
@@ -3083,7 +3083,7 @@ declare const contextCache: drizzle_orm_pg_core1563.PgTableWithColumns<{
|
|
|
3083
3083
|
dataType: "json";
|
|
3084
3084
|
columnType: "PgJsonb";
|
|
3085
3085
|
data: {
|
|
3086
|
-
type: "
|
|
3086
|
+
type: "tag" | "commit" | "branch";
|
|
3087
3087
|
name: string;
|
|
3088
3088
|
hash: string;
|
|
3089
3089
|
};
|
|
@@ -3099,7 +3099,7 @@ declare const contextCache: drizzle_orm_pg_core1563.PgTableWithColumns<{
|
|
|
3099
3099
|
generated: undefined;
|
|
3100
3100
|
}, {}, {
|
|
3101
3101
|
$type: {
|
|
3102
|
-
type: "
|
|
3102
|
+
type: "tag" | "commit" | "branch";
|
|
3103
3103
|
name: string;
|
|
3104
3104
|
hash: string;
|
|
3105
3105
|
};
|
|
@@ -4117,7 +4117,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1563.PgTableWithCol
|
|
|
4117
4117
|
tableName: "work_app_github_installations";
|
|
4118
4118
|
dataType: "string";
|
|
4119
4119
|
columnType: "PgVarchar";
|
|
4120
|
-
data: "
|
|
4120
|
+
data: "User" | "Organization";
|
|
4121
4121
|
driverParam: string;
|
|
4122
4122
|
notNull: true;
|
|
4123
4123
|
hasDefault: false;
|
|
@@ -4130,7 +4130,7 @@ declare const workAppGitHubInstallations: drizzle_orm_pg_core1563.PgTableWithCol
|
|
|
4130
4130
|
generated: undefined;
|
|
4131
4131
|
}, {}, {
|
|
4132
4132
|
length: 20;
|
|
4133
|
-
$type: "
|
|
4133
|
+
$type: "User" | "Organization";
|
|
4134
4134
|
}>;
|
|
4135
4135
|
status: drizzle_orm_pg_core1563.PgColumn<{
|
|
4136
4136
|
name: "status";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as hono0 from "hono";
|
|
2
2
|
|
|
3
3
|
//#region src/middleware/no-auth.d.ts
|
|
4
|
-
declare const noAuth: () =>
|
|
4
|
+
declare const noAuth: () => hono0.MiddlewareHandler<any, string, {}, Response>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { noAuth };
|