@inkeep/agents-core 0.35.0 → 0.35.2
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 +1097 -0
- package/dist/auth/auth-schema.js +1 -0
- package/dist/auth/auth-validation-schemas.d.ts +1881 -0
- package/dist/auth/auth-validation-schemas.js +39 -0
- package/dist/auth/auth.d.ts +118 -0
- package/dist/auth/auth.js +95 -0
- package/dist/auth/permissions.d.ts +273 -0
- package/dist/auth/permissions.js +1 -0
- package/dist/chunk-4JZT4QEE.js +162 -0
- package/dist/chunk-F5WWOOIX.js +62 -0
- package/dist/{chunk-YZ5ZBVHJ.js → chunk-NFYCSHD3.js} +3 -81
- package/dist/chunk-NOPEANIU.js +82 -0
- package/dist/{chunk-J5AHY6M2.js → chunk-SPRTYWRV.js} +1 -1
- package/dist/{chunk-OP3KPT4T.js → chunk-TGESM3JG.js} +1 -160
- package/dist/{chunk-DYGTCLJO.js → chunk-VBCCPAZK.js} +1 -1
- package/dist/chunk-ZYSTJ4XY.js +948 -0
- package/dist/client-CPYOMZF2.d.ts +19 -0
- package/dist/client-exports.d.ts +5 -5
- package/dist/client-exports.js +4 -3
- package/dist/db/schema.d.ts +3 -2
- package/dist/db/schema.js +2 -1
- package/dist/index.d.ts +253 -398
- package/dist/index.js +1566 -2499
- package/dist/{schema-DQBYINXB.d.cts → schema-5N2lPWNV.d.ts} +3 -1096
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-Ct1UMzr_.d.cts → utility-DbltUp2Q.d.ts} +295 -295
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +17 -1
- package/dist/auth-detection-CGqhPDnj.d.cts +0 -435
- package/dist/client-exports.cjs +0 -2833
- package/dist/client-exports.d.cts +0 -289
- package/dist/constants/models.cjs +0 -40
- package/dist/constants/models.d.cts +0 -42
- package/dist/db/schema.cjs +0 -1090
- package/dist/db/schema.d.cts +0 -7
- package/dist/index.cjs +0 -227898
- package/dist/index.d.cts +0 -4893
- package/dist/props-validation-BMR1qNiy.d.cts +0 -15
- package/dist/schema-DlcSfZRM.d.ts +0 -6352
- package/dist/types/index.cjs +0 -39
- package/dist/types/index.d.cts +0 -132
- package/dist/utility-Ct1UMzr_.d.ts +0 -17079
- package/dist/utils/schema-conversion.cjs +0 -232
- package/dist/utils/schema-conversion.d.cts +0 -26
- package/dist/validation/index.cjs +0 -2930
- package/dist/validation/index.d.cts +0 -279
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired } from './auth-detection-CGqhPDnj.cjs';
|
|
2
|
-
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-Ct1UMzr_.cjs';
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-Ct1UMzr_.cjs';
|
|
5
|
-
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
|
|
6
|
-
import 'pino';
|
|
7
|
-
import 'drizzle-zod';
|
|
8
|
-
import 'drizzle-orm/pg-core';
|
|
9
|
-
import '@hono/zod-openapi';
|
|
10
|
-
|
|
11
|
-
declare const TenantParamsSchema: z.ZodObject<{
|
|
12
|
-
tenantId: z.ZodString;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
declare const TenantProjectParamsSchema: z.ZodObject<{
|
|
15
|
-
tenantId: z.ZodString;
|
|
16
|
-
projectId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>;
|
|
18
|
-
declare const TenantProjectIdParamsSchema: z.ZodObject<{
|
|
19
|
-
tenantId: z.ZodString;
|
|
20
|
-
projectId: z.ZodString;
|
|
21
|
-
id: z.ZodString;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
declare const IdParamsSchema: z.ZodObject<{
|
|
24
|
-
id: z.ZodString;
|
|
25
|
-
}, z.core.$strip>;
|
|
26
|
-
declare const PaginationSchema: z.ZodObject<{
|
|
27
|
-
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
28
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
29
|
-
total: z.ZodNumber;
|
|
30
|
-
pages: z.ZodNumber;
|
|
31
|
-
}, z.core.$strip>;
|
|
32
|
-
declare const ListResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
|
|
33
|
-
data: z.ZodArray<T>;
|
|
34
|
-
pagination: z.ZodObject<{
|
|
35
|
-
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
36
|
-
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
37
|
-
total: z.ZodNumber;
|
|
38
|
-
pages: z.ZodNumber;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
}, z.core.$strip>;
|
|
41
|
-
declare const SingleResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
|
|
42
|
-
data: T;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
declare const ErrorResponseSchema: z.ZodObject<{
|
|
45
|
-
error: z.ZodString;
|
|
46
|
-
message: z.ZodOptional<z.ZodString>;
|
|
47
|
-
details: z.ZodOptional<z.ZodUnknown>;
|
|
48
|
-
}, z.core.$strip>;
|
|
49
|
-
|
|
50
|
-
declare const AgentApiInsertSchema: z.ZodObject<{
|
|
51
|
-
id: z.ZodOptional<z.ZodString>;
|
|
52
|
-
name: z.ZodString;
|
|
53
|
-
description: z.ZodOptional<z.ZodString>;
|
|
54
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
55
|
-
model: z.ZodOptional<z.ZodObject<{
|
|
56
|
-
model: z.ZodOptional<z.ZodString>;
|
|
57
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
58
|
-
}, z.core.$strip>>;
|
|
59
|
-
tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
-
dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
61
|
-
artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
62
|
-
canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
63
|
-
canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
65
|
-
internal: "internal";
|
|
66
|
-
external: "external";
|
|
67
|
-
}>>;
|
|
68
|
-
}, z.core.$strip>;
|
|
69
|
-
declare const ToolApiInsertSchema: z.ZodObject<{
|
|
70
|
-
id: z.ZodOptional<z.ZodString>;
|
|
71
|
-
name: z.ZodString;
|
|
72
|
-
description: z.ZodOptional<z.ZodString>;
|
|
73
|
-
type: z.ZodEnum<{
|
|
74
|
-
mcp: "mcp";
|
|
75
|
-
hosted: "hosted";
|
|
76
|
-
}>;
|
|
77
|
-
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78
|
-
credentialReferenceId: z.ZodOptional<z.ZodString>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
81
|
-
id: z.ZodString;
|
|
82
|
-
tenantId: z.ZodString;
|
|
83
|
-
projectId: z.ZodString;
|
|
84
|
-
agentId: z.ZodString;
|
|
85
|
-
publicId: z.ZodString;
|
|
86
|
-
keyHash: z.ZodString;
|
|
87
|
-
keyPrefix: z.ZodString;
|
|
88
|
-
name: z.ZodOptional<z.ZodString>;
|
|
89
|
-
lastUsedAt: z.ZodOptional<z.ZodString>;
|
|
90
|
-
expiresAt: z.ZodOptional<z.ZodString>;
|
|
91
|
-
createdAt: z.ZodString;
|
|
92
|
-
updatedAt: z.ZodString;
|
|
93
|
-
}, z.core.$strip>;
|
|
94
|
-
declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
95
|
-
data: z.ZodObject<{
|
|
96
|
-
apiKey: z.ZodObject<{
|
|
97
|
-
id: z.ZodString;
|
|
98
|
-
tenantId: z.ZodString;
|
|
99
|
-
projectId: z.ZodString;
|
|
100
|
-
agentId: z.ZodString;
|
|
101
|
-
publicId: z.ZodString;
|
|
102
|
-
keyHash: z.ZodString;
|
|
103
|
-
keyPrefix: z.ZodString;
|
|
104
|
-
name: z.ZodOptional<z.ZodString>;
|
|
105
|
-
lastUsedAt: z.ZodOptional<z.ZodString>;
|
|
106
|
-
expiresAt: z.ZodOptional<z.ZodString>;
|
|
107
|
-
createdAt: z.ZodString;
|
|
108
|
-
updatedAt: z.ZodString;
|
|
109
|
-
}, z.core.$strip>;
|
|
110
|
-
key: z.ZodString;
|
|
111
|
-
}, z.core.$strip>;
|
|
112
|
-
}, z.core.$strip>;
|
|
113
|
-
declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
114
|
-
id: z.ZodString;
|
|
115
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
116
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
117
|
-
name: z.ZodString;
|
|
118
|
-
type: z.ZodEnum<{
|
|
119
|
-
readonly memory: "memory";
|
|
120
|
-
readonly keychain: "keychain";
|
|
121
|
-
readonly nango: "nango";
|
|
122
|
-
}>;
|
|
123
|
-
credentialStoreId: z.ZodString;
|
|
124
|
-
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
125
|
-
}, z.core.$strip>;
|
|
126
|
-
declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
127
|
-
id: z.ZodString;
|
|
128
|
-
name: z.ZodString;
|
|
129
|
-
description: z.ZodOptional<z.ZodString>;
|
|
130
|
-
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
131
|
-
render: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
132
|
-
component: z.ZodString;
|
|
133
|
-
mockData: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
134
|
-
}, z.core.$strip>>>;
|
|
135
|
-
}, z.core.$strip>;
|
|
136
|
-
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
137
|
-
name: z.ZodString;
|
|
138
|
-
id: z.ZodString;
|
|
139
|
-
description: z.ZodString;
|
|
140
|
-
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
141
|
-
}, {
|
|
142
|
-
out: {};
|
|
143
|
-
in: {};
|
|
144
|
-
}>;
|
|
145
|
-
declare const ContextConfigApiInsertSchema: z.ZodObject<{
|
|
146
|
-
id: z.ZodOptional<z.ZodString>;
|
|
147
|
-
name: z.ZodOptional<z.ZodString>;
|
|
148
|
-
description: z.ZodOptional<z.ZodString>;
|
|
149
|
-
type: z.ZodOptional<z.ZodString>;
|
|
150
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
declare const ExternalAgentApiInsertSchema: z.ZodObject<{
|
|
153
|
-
id: z.ZodOptional<z.ZodString>;
|
|
154
|
-
name: z.ZodString;
|
|
155
|
-
description: z.ZodOptional<z.ZodString>;
|
|
156
|
-
baseUrl: z.ZodString;
|
|
157
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
158
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
159
|
-
type: z.ZodOptional<z.ZodLiteral<"external">>;
|
|
160
|
-
}, z.core.$strip>;
|
|
161
|
-
declare const AgentAgentApiInsertSchema: z.ZodObject<{
|
|
162
|
-
id: z.ZodOptional<z.ZodString>;
|
|
163
|
-
name: z.ZodString;
|
|
164
|
-
description: z.ZodOptional<z.ZodString>;
|
|
165
|
-
defaultSubAgentId: z.ZodOptional<z.ZodString>;
|
|
166
|
-
}, z.core.$strip>;
|
|
167
|
-
declare const FullAgentDefinitionSchema: z.ZodObject<{
|
|
168
|
-
id: z.ZodOptional<z.ZodString>;
|
|
169
|
-
name: z.ZodString;
|
|
170
|
-
description: z.ZodOptional<z.ZodString>;
|
|
171
|
-
defaultSubAgentId: z.ZodOptional<z.ZodString>;
|
|
172
|
-
subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
173
|
-
name: z.ZodString;
|
|
174
|
-
id: z.ZodString;
|
|
175
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
176
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
177
|
-
description: z.ZodString;
|
|
178
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
179
|
-
base: z.ZodOptional<z.ZodObject<{
|
|
180
|
-
model: z.ZodOptional<z.ZodString>;
|
|
181
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
182
|
-
}, z.core.$strip>>;
|
|
183
|
-
structuredOutput: z.ZodOptional<z.ZodObject<{
|
|
184
|
-
model: z.ZodOptional<z.ZodString>;
|
|
185
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
186
|
-
}, z.core.$strip>>;
|
|
187
|
-
summarizer: z.ZodOptional<z.ZodObject<{
|
|
188
|
-
model: z.ZodOptional<z.ZodString>;
|
|
189
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
190
|
-
}, z.core.$strip>>;
|
|
191
|
-
}, z.core.$strip>>;
|
|
192
|
-
stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
193
|
-
stepCountIs?: number | undefined;
|
|
194
|
-
}, {
|
|
195
|
-
stepCountIs?: number | undefined;
|
|
196
|
-
}, z.core.$ZodTypeInternals<{
|
|
197
|
-
stepCountIs?: number | undefined;
|
|
198
|
-
}, {
|
|
199
|
-
stepCountIs?: number | undefined;
|
|
200
|
-
}>>>>;
|
|
201
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
202
|
-
type: z.ZodLiteral<"internal">;
|
|
203
|
-
canUse: z.ZodArray<z.ZodObject<{
|
|
204
|
-
agentToolRelationId: z.ZodOptional<z.ZodString>;
|
|
205
|
-
toolId: z.ZodString;
|
|
206
|
-
toolSelection: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
207
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
208
|
-
}, z.core.$strip>>;
|
|
209
|
-
dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
|
-
artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
211
|
-
canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
212
|
-
prompt: z.ZodString;
|
|
213
|
-
canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
214
|
-
externalAgentId: z.ZodString;
|
|
215
|
-
subAgentExternalAgentRelationId: z.ZodOptional<z.ZodString>;
|
|
216
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
217
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
218
|
-
agentId: z.ZodString;
|
|
219
|
-
subAgentTeamAgentRelationId: z.ZodOptional<z.ZodString>;
|
|
220
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
221
|
-
}, z.core.$strip>]>>>;
|
|
222
|
-
}, z.core.$strip>]>>;
|
|
223
|
-
contextConfig: z.ZodOptional<z.ZodObject<{
|
|
224
|
-
id: z.ZodOptional<z.ZodString>;
|
|
225
|
-
name: z.ZodOptional<z.ZodString>;
|
|
226
|
-
description: z.ZodOptional<z.ZodString>;
|
|
227
|
-
type: z.ZodOptional<z.ZodString>;
|
|
228
|
-
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
229
|
-
}, z.core.$strip>>;
|
|
230
|
-
models: z.ZodOptional<z.ZodObject<{
|
|
231
|
-
base: z.ZodOptional<z.ZodObject<{
|
|
232
|
-
model: z.ZodString;
|
|
233
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
234
|
-
}, z.core.$strip>>;
|
|
235
|
-
structuredOutput: z.ZodOptional<z.ZodObject<{
|
|
236
|
-
model: z.ZodString;
|
|
237
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
238
|
-
}, z.core.$strip>>;
|
|
239
|
-
summarizer: z.ZodOptional<z.ZodObject<{
|
|
240
|
-
model: z.ZodString;
|
|
241
|
-
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
242
|
-
}, z.core.$strip>>;
|
|
243
|
-
}, z.core.$strip>>;
|
|
244
|
-
stopWhen: z.ZodOptional<z.ZodObject<{
|
|
245
|
-
transferCountIs: z.ZodOptional<z.ZodNumber>;
|
|
246
|
-
}, z.core.$strip>>;
|
|
247
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
248
|
-
statusUpdates: z.ZodOptional<z.ZodObject<{
|
|
249
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
250
|
-
numEvents: z.ZodOptional<z.ZodNumber>;
|
|
251
|
-
timeInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
252
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
253
|
-
statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
254
|
-
type: z.ZodString;
|
|
255
|
-
description: z.ZodOptional<z.ZodString>;
|
|
256
|
-
detailsSchema: z.ZodOptional<z.ZodObject<{
|
|
257
|
-
type: z.ZodLiteral<"object">;
|
|
258
|
-
properties: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
259
|
-
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
260
|
-
}, z.core.$strip>>;
|
|
261
|
-
}, z.core.$strip>>>;
|
|
262
|
-
}, z.core.$strip>>;
|
|
263
|
-
}, z.core.$strip>;
|
|
264
|
-
type AgentApiInsert = z.infer<typeof AgentApiInsertSchema>;
|
|
265
|
-
type ToolApiInsert = z.infer<typeof ToolApiInsertSchema>;
|
|
266
|
-
type FunctionApiInsert = z.infer<typeof FunctionApiInsertSchema>;
|
|
267
|
-
type ApiKeyApiSelect = z.infer<typeof ApiKeyApiSelectSchema>;
|
|
268
|
-
type ApiKeyApiCreationResponse = z.infer<typeof ApiKeyApiCreationResponseSchema>;
|
|
269
|
-
type ApiKeyApiUpdateResponse = z.infer<typeof ApiKeyApiUpdateSchema>;
|
|
270
|
-
type CredentialReferenceApiInsert = z.infer<typeof CredentialReferenceApiInsertSchema>;
|
|
271
|
-
type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
|
|
272
|
-
type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
|
|
273
|
-
type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
|
|
274
|
-
type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
|
|
275
|
-
type AgentAgentApiInsert = z.infer<typeof AgentAgentApiInsertSchema>;
|
|
276
|
-
type FullAgentDefinition = z.infer<typeof FullAgentDefinitionSchema>;
|
|
277
|
-
type InternalAgentDefinition = z.infer<typeof FullAgentAgentInsertSchema>;
|
|
278
|
-
type ExternalAgentDefinition = z.infer<typeof ExternalAgentApiInsertSchema>;
|
|
279
|
-
type TenantParams = z.infer<typeof TenantParamsSchema>;
|
|
280
|
-
type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
281
|
-
declare const MIN_ID_LENGTH = 1;
|
|
282
|
-
declare const MAX_ID_LENGTH = 255;
|
|
283
|
-
declare const URL_SAFE_ID_PATTERN: RegExp;
|
|
284
|
-
declare const resourceIdSchema: z.ZodString;
|
|
285
|
-
declare function generateIdFromName(name: string): string;
|
|
286
|
-
type ToolInsert = ToolApiInsert;
|
|
287
|
-
type AgentAgentInsert = AgentAgentApiInsert;
|
|
288
|
-
|
|
289
|
-
export { type AgentAgentApiInsert, AgentAgentApiInsertSchema, type AgentAgentInsert, type AgentApiInsert, AgentApiInsertSchema, type ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, type ApiKeyApiSelect, ApiKeyApiSelectSchema, type ApiKeyApiUpdateResponse, type ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, type ContextConfigApiInsert, ContextConfigApiInsertSchema, type CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, type DataComponentApiInsert, DataComponentApiInsertSchema, type ErrorResponse, ErrorResponseSchema, type ExternalAgentApiInsert, ExternalAgentApiInsertSchema, type ExternalAgentDefinition, type FullAgentDefinition, FullAgentDefinitionSchema, type FunctionApiInsert, FunctionApiInsertSchema, IdParamsSchema, type InternalAgentDefinition, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, PaginationSchema, SingleResponseSchema, type TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, type ToolApiInsert, ToolApiInsertSchema, type ToolInsert, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// src/constants/models.ts
|
|
4
|
-
var ANTHROPIC_MODELS = {
|
|
5
|
-
CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
|
|
6
|
-
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
7
|
-
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
|
|
8
|
-
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
9
|
-
CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-0",
|
|
10
|
-
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
11
|
-
CLAUDE_HAIKU_4_5: "anthropic/claude-haiku-4-5",
|
|
12
|
-
CLAUDE_HAIKU_4_5_20251001: "anthropic/claude-haiku-4-5-20251001",
|
|
13
|
-
CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-latest",
|
|
14
|
-
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
|
|
15
|
-
};
|
|
16
|
-
var OPENAI_MODELS = {
|
|
17
|
-
GPT_5_1: "openai/gpt-5.1",
|
|
18
|
-
GPT_5: "openai/gpt-5",
|
|
19
|
-
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
20
|
-
GPT_5_MINI: "openai/gpt-5-mini",
|
|
21
|
-
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
22
|
-
GPT_5_NANO: "openai/gpt-5-nano",
|
|
23
|
-
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
24
|
-
GPT_4_1: "openai/gpt-4.1",
|
|
25
|
-
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
26
|
-
GPT_4_1_MINI: "openai/gpt-4.1-mini",
|
|
27
|
-
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
28
|
-
GPT_4_1_NANO: "openai/gpt-4.1-nano",
|
|
29
|
-
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
30
|
-
};
|
|
31
|
-
var GOOGLE_MODELS = {
|
|
32
|
-
GEMINI_3_PRO_PREVIEW: "google/gemini-3-pro-preview",
|
|
33
|
-
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
|
34
|
-
GEMINI_2_5_FLASH: "google/gemini-2.5-flash",
|
|
35
|
-
GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite"
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
exports.ANTHROPIC_MODELS = ANTHROPIC_MODELS;
|
|
39
|
-
exports.GOOGLE_MODELS = GOOGLE_MODELS;
|
|
40
|
-
exports.OPENAI_MODELS = OPENAI_MODELS;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Model name constants used throughout the Inkeep Agents SDK
|
|
3
|
-
*/
|
|
4
|
-
declare const ANTHROPIC_MODELS: {
|
|
5
|
-
readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1";
|
|
6
|
-
readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
|
|
7
|
-
readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5";
|
|
8
|
-
readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
|
|
9
|
-
readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-0";
|
|
10
|
-
readonly CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514";
|
|
11
|
-
readonly CLAUDE_HAIKU_4_5: "anthropic/claude-haiku-4-5";
|
|
12
|
-
readonly CLAUDE_HAIKU_4_5_20251001: "anthropic/claude-haiku-4-5-20251001";
|
|
13
|
-
readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-latest";
|
|
14
|
-
readonly CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022";
|
|
15
|
-
};
|
|
16
|
-
declare const OPENAI_MODELS: {
|
|
17
|
-
readonly GPT_5_1: "openai/gpt-5.1";
|
|
18
|
-
readonly GPT_5: "openai/gpt-5";
|
|
19
|
-
readonly GPT_5_20250807: "openai/gpt-5-2025-08-07";
|
|
20
|
-
readonly GPT_5_MINI: "openai/gpt-5-mini";
|
|
21
|
-
readonly GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07";
|
|
22
|
-
readonly GPT_5_NANO: "openai/gpt-5-nano";
|
|
23
|
-
readonly GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07";
|
|
24
|
-
readonly GPT_4_1: "openai/gpt-4.1";
|
|
25
|
-
readonly GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14";
|
|
26
|
-
readonly GPT_4_1_MINI: "openai/gpt-4.1-mini";
|
|
27
|
-
readonly GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14";
|
|
28
|
-
readonly GPT_4_1_NANO: "openai/gpt-4.1-nano";
|
|
29
|
-
readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
|
|
30
|
-
};
|
|
31
|
-
declare const GOOGLE_MODELS: {
|
|
32
|
-
readonly GEMINI_3_PRO_PREVIEW: "google/gemini-3-pro-preview";
|
|
33
|
-
readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
|
|
34
|
-
readonly GEMINI_2_5_FLASH: "google/gemini-2.5-flash";
|
|
35
|
-
readonly GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite";
|
|
36
|
-
};
|
|
37
|
-
type AnthropicModel = (typeof ANTHROPIC_MODELS)[keyof typeof ANTHROPIC_MODELS];
|
|
38
|
-
type OpenAIModel = (typeof OPENAI_MODELS)[keyof typeof OPENAI_MODELS];
|
|
39
|
-
type GoogleModel = (typeof GOOGLE_MODELS)[keyof typeof GOOGLE_MODELS];
|
|
40
|
-
type ModelName = AnthropicModel | OpenAIModel | GoogleModel;
|
|
41
|
-
|
|
42
|
-
export { ANTHROPIC_MODELS, type AnthropicModel, GOOGLE_MODELS, type GoogleModel, type ModelName, OPENAI_MODELS, type OpenAIModel };
|