@inkeep/agents-core 0.0.0-chat-to-edit-20251119071712
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/LICENSE.md +56 -0
- package/README.md +458 -0
- package/SUPPLEMENTAL_TERMS.md +40 -0
- package/dist/auth-detection-CGqhPDnj.d.cts +435 -0
- package/dist/auth-detection-CGqhPDnj.d.ts +435 -0
- package/dist/chunk-7CLFCY6J.js +36 -0
- package/dist/chunk-A6JWG7FI.js +1689 -0
- package/dist/chunk-CMNLBV2A.js +39 -0
- package/dist/chunk-E6R6PML7.js +19 -0
- package/dist/chunk-OP3KPT4T.js +442 -0
- package/dist/chunk-TLSKVSBR.js +1234 -0
- package/dist/chunk-WG46C2WU.js +394 -0
- package/dist/chunk-YECQCT5N.js +223 -0
- package/dist/chunk-YFHT5M2R.js +18 -0
- package/dist/client-exports.cjs +3421 -0
- package/dist/client-exports.d.cts +292 -0
- package/dist/client-exports.d.ts +292 -0
- package/dist/client-exports.js +178 -0
- package/dist/constants/models.cjs +40 -0
- package/dist/constants/models.d.cts +42 -0
- package/dist/constants/models.d.ts +42 -0
- package/dist/constants/models.js +1 -0
- package/dist/db/schema.cjs +1686 -0
- package/dist/db/schema.d.cts +7 -0
- package/dist/db/schema.d.ts +7 -0
- package/dist/db/schema.js +1 -0
- package/dist/index.cjs +229792 -0
- package/dist/index.d.cts +5138 -0
- package/dist/index.d.ts +5138 -0
- package/dist/index.js +224908 -0
- package/dist/props-validation-BMR1qNiy.d.cts +15 -0
- package/dist/props-validation-BMR1qNiy.d.ts +15 -0
- package/dist/schema-C90zXlqp.d.ts +8012 -0
- package/dist/schema-keglUDw0.d.cts +8012 -0
- package/dist/types/index.cjs +64 -0
- package/dist/types/index.d.cts +175 -0
- package/dist/types/index.d.ts +175 -0
- package/dist/types/index.js +2 -0
- package/dist/utility-CXEG5391.d.cts +17265 -0
- package/dist/utility-CXEG5391.d.ts +17265 -0
- package/dist/utils/schema-conversion.cjs +236 -0
- package/dist/utils/schema-conversion.d.cts +26 -0
- package/dist/utils/schema-conversion.d.ts +26 -0
- package/dist/utils/schema-conversion.js +1 -0
- package/dist/validation/index.cjs +3521 -0
- package/dist/validation/index.d.cts +279 -0
- package/dist/validation/index.d.ts +279 -0
- package/dist/validation/index.js +2 -0
- package/drizzle/0000_exotic_mysterio.sql +398 -0
- package/drizzle/0001_greedy_the_phantom.sql +4 -0
- package/drizzle/0002_add_evaluation_features.sql +252 -0
- package/drizzle/0003_brave_micromax.sql +2 -0
- package/drizzle/meta/0000_snapshot.json +2519 -0
- package/drizzle/meta/0001_snapshot.json +2892 -0
- package/drizzle/meta/0002_snapshot.json +4485 -0
- package/drizzle/meta/_journal.json +34 -0
- package/package.json +133 -0
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE, detectAuthenticationRequired } from './chunk-OP3KPT4T.js';
|
|
2
|
+
import { ModelSettingsSchema, schemaValidationDefaults, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-TLSKVSBR.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-TLSKVSBR.js';
|
|
4
|
+
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
5
|
+
export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
|
|
8
|
+
var {
|
|
9
|
+
AGENT_EXECUTION_TRANSFER_COUNT_MAX,
|
|
10
|
+
AGENT_EXECUTION_TRANSFER_COUNT_MIN,
|
|
11
|
+
STATUS_UPDATE_MAX_INTERVAL_SECONDS,
|
|
12
|
+
STATUS_UPDATE_MAX_NUM_EVENTS,
|
|
13
|
+
VALIDATION_AGENT_PROMPT_MAX_CHARS,
|
|
14
|
+
VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS
|
|
15
|
+
} = schemaValidationDefaults;
|
|
16
|
+
var TenantParamsSchema = z.object({
|
|
17
|
+
tenantId: z.string()
|
|
18
|
+
});
|
|
19
|
+
var TenantProjectParamsSchema = TenantParamsSchema.extend({
|
|
20
|
+
projectId: z.string()
|
|
21
|
+
});
|
|
22
|
+
var TenantProjectIdParamsSchema = TenantProjectParamsSchema.extend({
|
|
23
|
+
id: z.string()
|
|
24
|
+
});
|
|
25
|
+
var IdParamsSchema = z.object({
|
|
26
|
+
id: z.string()
|
|
27
|
+
});
|
|
28
|
+
var PaginationSchema = z.object({
|
|
29
|
+
page: z.coerce.number().min(1).default(1),
|
|
30
|
+
limit: z.coerce.number().min(1).max(100).default(10),
|
|
31
|
+
total: z.number(),
|
|
32
|
+
pages: z.number()
|
|
33
|
+
});
|
|
34
|
+
var ListResponseSchema = (itemSchema) => z.object({
|
|
35
|
+
data: z.array(itemSchema),
|
|
36
|
+
pagination: PaginationSchema
|
|
37
|
+
});
|
|
38
|
+
var SingleResponseSchema = (itemSchema) => z.object({
|
|
39
|
+
data: itemSchema
|
|
40
|
+
});
|
|
41
|
+
var ErrorResponseSchema = z.object({
|
|
42
|
+
error: z.string(),
|
|
43
|
+
message: z.string().optional(),
|
|
44
|
+
details: z.unknown().optional()
|
|
45
|
+
});
|
|
46
|
+
var AgentApiInsertSchema = z.object({
|
|
47
|
+
id: z.string().optional(),
|
|
48
|
+
name: z.string(),
|
|
49
|
+
description: z.string().optional(),
|
|
50
|
+
prompt: z.string().optional(),
|
|
51
|
+
model: ModelSettingsSchema.optional(),
|
|
52
|
+
tools: z.array(z.string()).optional(),
|
|
53
|
+
dataComponents: z.array(z.string()).optional(),
|
|
54
|
+
artifactComponents: z.array(z.string()).optional(),
|
|
55
|
+
canTransferTo: z.array(z.string()).optional(),
|
|
56
|
+
canDelegateTo: z.array(z.string()).optional(),
|
|
57
|
+
type: z.enum(["internal", "external"]).optional()
|
|
58
|
+
});
|
|
59
|
+
var ToolApiInsertSchema = z.object({
|
|
60
|
+
id: z.string().optional(),
|
|
61
|
+
name: z.string(),
|
|
62
|
+
description: z.string().optional(),
|
|
63
|
+
type: z.enum(["mcp", "hosted"]),
|
|
64
|
+
config: z.record(z.string(), z.unknown()),
|
|
65
|
+
credentialReferenceId: z.string().optional()
|
|
66
|
+
});
|
|
67
|
+
var ApiKeyApiSelectSchema = z.object({
|
|
68
|
+
id: z.string(),
|
|
69
|
+
tenantId: z.string(),
|
|
70
|
+
projectId: z.string(),
|
|
71
|
+
agentId: z.string(),
|
|
72
|
+
publicId: z.string(),
|
|
73
|
+
keyHash: z.string(),
|
|
74
|
+
keyPrefix: z.string(),
|
|
75
|
+
name: z.string().optional(),
|
|
76
|
+
lastUsedAt: z.string().optional(),
|
|
77
|
+
expiresAt: z.string().optional(),
|
|
78
|
+
createdAt: z.string(),
|
|
79
|
+
updatedAt: z.string()
|
|
80
|
+
});
|
|
81
|
+
var ApiKeyApiCreationResponseSchema = z.object({
|
|
82
|
+
data: z.object({
|
|
83
|
+
apiKey: ApiKeyApiSelectSchema,
|
|
84
|
+
key: z.string()
|
|
85
|
+
})
|
|
86
|
+
});
|
|
87
|
+
var CredentialReferenceApiInsertSchema = z.object({
|
|
88
|
+
id: z.string(),
|
|
89
|
+
tenantId: z.string().optional(),
|
|
90
|
+
projectId: z.string().optional(),
|
|
91
|
+
name: z.string(),
|
|
92
|
+
type: z.enum(CredentialStoreType),
|
|
93
|
+
credentialStoreId: z.string(),
|
|
94
|
+
retrievalParams: z.record(z.string(), z.unknown()).nullish()
|
|
95
|
+
});
|
|
96
|
+
var DataComponentApiInsertSchema = z.object({
|
|
97
|
+
id: z.string(),
|
|
98
|
+
name: z.string(),
|
|
99
|
+
description: z.string().optional(),
|
|
100
|
+
props: z.record(z.string(), z.unknown()),
|
|
101
|
+
render: z.object({
|
|
102
|
+
component: z.string(),
|
|
103
|
+
mockData: z.record(z.string(), z.unknown())
|
|
104
|
+
}).nullable().optional()
|
|
105
|
+
});
|
|
106
|
+
var ArtifactComponentApiInsertSchema2 = ArtifactComponentApiInsertSchema;
|
|
107
|
+
var ContextConfigApiInsertSchema = z.object({
|
|
108
|
+
id: z.string().optional(),
|
|
109
|
+
name: z.string().optional(),
|
|
110
|
+
description: z.string().optional(),
|
|
111
|
+
type: z.string().optional(),
|
|
112
|
+
config: z.record(z.string(), z.unknown()).optional()
|
|
113
|
+
});
|
|
114
|
+
var ExternalAgentApiInsertSchema = z.object({
|
|
115
|
+
id: z.string().optional(),
|
|
116
|
+
name: z.string(),
|
|
117
|
+
description: z.string().optional(),
|
|
118
|
+
baseUrl: z.string(),
|
|
119
|
+
headers: z.record(z.string(), z.string()).nullable().optional(),
|
|
120
|
+
credentialReferenceId: z.string().nullable().optional(),
|
|
121
|
+
type: z.literal("external").optional()
|
|
122
|
+
});
|
|
123
|
+
var AgentAgentApiInsertSchema = z.object({
|
|
124
|
+
id: z.string().optional(),
|
|
125
|
+
name: z.string(),
|
|
126
|
+
description: z.string().optional(),
|
|
127
|
+
defaultSubAgentId: z.string().optional()
|
|
128
|
+
});
|
|
129
|
+
var FullAgentDefinitionSchema = AgentAgentApiInsertSchema.extend({
|
|
130
|
+
subAgents: z.record(z.string(), z.union([FullAgentAgentInsertSchema])),
|
|
131
|
+
contextConfig: z.optional(ContextConfigApiInsertSchema),
|
|
132
|
+
models: z.object({
|
|
133
|
+
base: z.object({
|
|
134
|
+
model: z.string(),
|
|
135
|
+
providerOptions: z.record(z.string(), z.record(z.string(), z.unknown())).optional()
|
|
136
|
+
}).optional(),
|
|
137
|
+
structuredOutput: z.object({
|
|
138
|
+
model: z.string(),
|
|
139
|
+
providerOptions: z.record(z.string(), z.record(z.string(), z.unknown())).optional()
|
|
140
|
+
}).optional(),
|
|
141
|
+
summarizer: z.object({
|
|
142
|
+
model: z.string(),
|
|
143
|
+
providerOptions: z.record(z.string(), z.record(z.string(), z.unknown())).optional()
|
|
144
|
+
}).optional()
|
|
145
|
+
}).optional(),
|
|
146
|
+
stopWhen: z.object({
|
|
147
|
+
transferCountIs: z.number().min(AGENT_EXECUTION_TRANSFER_COUNT_MIN).max(AGENT_EXECUTION_TRANSFER_COUNT_MAX).optional()
|
|
148
|
+
}).optional(),
|
|
149
|
+
prompt: z.string().max(VALIDATION_AGENT_PROMPT_MAX_CHARS).optional(),
|
|
150
|
+
statusUpdates: z.object({
|
|
151
|
+
enabled: z.boolean().optional(),
|
|
152
|
+
numEvents: z.number().min(1).max(STATUS_UPDATE_MAX_NUM_EVENTS).optional(),
|
|
153
|
+
timeInSeconds: z.number().min(1).max(STATUS_UPDATE_MAX_INTERVAL_SECONDS).optional(),
|
|
154
|
+
prompt: z.string().max(VALIDATION_SUB_AGENT_PROMPT_MAX_CHARS).optional(),
|
|
155
|
+
statusComponents: z.array(
|
|
156
|
+
z.object({
|
|
157
|
+
type: z.string(),
|
|
158
|
+
description: z.string().optional(),
|
|
159
|
+
detailsSchema: z.object({
|
|
160
|
+
type: z.literal("object"),
|
|
161
|
+
properties: z.record(z.string(), z.any()),
|
|
162
|
+
required: z.array(z.string()).optional()
|
|
163
|
+
}).optional()
|
|
164
|
+
})
|
|
165
|
+
).optional()
|
|
166
|
+
}).optional()
|
|
167
|
+
});
|
|
168
|
+
var MIN_ID_LENGTH = 1;
|
|
169
|
+
var MAX_ID_LENGTH = 255;
|
|
170
|
+
var URL_SAFE_ID_PATTERN = /^[a-zA-Z0-9\-_.]+$/;
|
|
171
|
+
var resourceIdSchema = z.string().min(MIN_ID_LENGTH).max(MAX_ID_LENGTH).regex(URL_SAFE_ID_PATTERN, {
|
|
172
|
+
message: "ID must contain only letters, numbers, hyphens, underscores, and dots"
|
|
173
|
+
});
|
|
174
|
+
function generateIdFromName(name) {
|
|
175
|
+
return name.toLowerCase().replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").slice(0, MAX_ID_LENGTH);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export { AgentAgentApiInsertSchema, AgentApiInsertSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiSelectSchema, ArtifactComponentApiInsertSchema2 as ArtifactComponentApiInsertSchema, ContextConfigApiInsertSchema, CredentialReferenceApiInsertSchema, DataComponentApiInsertSchema, ErrorResponseSchema, ExternalAgentApiInsertSchema, FullAgentDefinitionSchema, IdParamsSchema, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, PaginationSchema, SingleResponseSchema, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
|
|
@@ -0,0 +1,40 @@
|
|
|
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;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 };
|
|
@@ -0,0 +1,42 @@
|
|
|
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 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-7CLFCY6J.js';
|