@inkeep/agents-core 0.19.2 → 0.19.3
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/chunk-LZJWVTQ2.js +23 -0
- package/dist/constants/models.cjs +11 -15
- package/dist/constants/models.d.cts +14 -18
- package/dist/constants/models.d.ts +14 -18
- package/dist/constants/models.js +1 -1
- package/dist/index.cjs +11 -15
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-4VEUH2FG.js +0 -27
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/constants/models.ts
|
|
2
|
+
var ANTHROPIC_MODELS = {
|
|
3
|
+
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
4
|
+
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
5
|
+
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
6
|
+
CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
|
|
7
|
+
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
|
|
8
|
+
};
|
|
9
|
+
var OPENAI_MODELS = {
|
|
10
|
+
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
11
|
+
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
12
|
+
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
13
|
+
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
14
|
+
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
15
|
+
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
16
|
+
};
|
|
17
|
+
var GOOGLE_MODELS = {
|
|
18
|
+
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
|
19
|
+
GEMINI_2_5_FLASH: "google/gemini-2.5-flash",
|
|
20
|
+
GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite"
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS };
|
|
@@ -2,23 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
// src/constants/models.ts
|
|
4
4
|
var ANTHROPIC_MODELS = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
6
|
+
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
7
|
+
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
8
|
+
CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
|
|
9
|
+
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
|
|
10
10
|
};
|
|
11
11
|
var OPENAI_MODELS = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
GPT_4O: "gpt-4o",
|
|
19
|
-
GPT_4O_MINI: "gpt-4o-mini",
|
|
20
|
-
GPT_4_TURBO: "gpt-4-turbo",
|
|
21
|
-
GPT_3_5_TURBO: "gpt-3.5-turbo"
|
|
12
|
+
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
13
|
+
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
14
|
+
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
15
|
+
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
16
|
+
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
17
|
+
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
22
18
|
};
|
|
23
19
|
var GOOGLE_MODELS = {
|
|
24
20
|
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
|
@@ -2,32 +2,28 @@
|
|
|
2
2
|
* Model name constants used throughout the Inkeep Agents SDK
|
|
3
3
|
*/
|
|
4
4
|
declare const ANTHROPIC_MODELS: {
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
5
|
+
readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
|
|
6
|
+
readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
|
|
7
|
+
readonly CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514";
|
|
8
|
+
readonly CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022";
|
|
9
|
+
readonly CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022";
|
|
10
10
|
};
|
|
11
11
|
declare const OPENAI_MODELS: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly GPT_4O: "gpt-4o";
|
|
19
|
-
readonly GPT_4O_MINI: "gpt-4o-mini";
|
|
20
|
-
readonly GPT_4_TURBO: "gpt-4-turbo";
|
|
21
|
-
readonly GPT_3_5_TURBO: "gpt-3.5-turbo";
|
|
12
|
+
readonly GPT_5_20250807: "openai/gpt-5-2025-08-07";
|
|
13
|
+
readonly GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07";
|
|
14
|
+
readonly GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07";
|
|
15
|
+
readonly GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14";
|
|
16
|
+
readonly GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14";
|
|
17
|
+
readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
|
|
22
18
|
};
|
|
23
19
|
declare const GOOGLE_MODELS: {
|
|
24
20
|
readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
|
|
25
21
|
readonly GEMINI_2_5_FLASH: "google/gemini-2.5-flash";
|
|
26
22
|
readonly GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite";
|
|
27
23
|
};
|
|
28
|
-
type AnthropicModel = typeof ANTHROPIC_MODELS[keyof typeof ANTHROPIC_MODELS];
|
|
29
|
-
type OpenAIModel = typeof OPENAI_MODELS[keyof typeof OPENAI_MODELS];
|
|
30
|
-
type GoogleModel = typeof GOOGLE_MODELS[keyof typeof GOOGLE_MODELS];
|
|
24
|
+
type AnthropicModel = (typeof ANTHROPIC_MODELS)[keyof typeof ANTHROPIC_MODELS];
|
|
25
|
+
type OpenAIModel = (typeof OPENAI_MODELS)[keyof typeof OPENAI_MODELS];
|
|
26
|
+
type GoogleModel = (typeof GOOGLE_MODELS)[keyof typeof GOOGLE_MODELS];
|
|
31
27
|
type ModelName = AnthropicModel | OpenAIModel | GoogleModel;
|
|
32
28
|
|
|
33
29
|
export { ANTHROPIC_MODELS, type AnthropicModel, GOOGLE_MODELS, type GoogleModel, type ModelName, OPENAI_MODELS, type OpenAIModel };
|
|
@@ -2,32 +2,28 @@
|
|
|
2
2
|
* Model name constants used throughout the Inkeep Agents SDK
|
|
3
3
|
*/
|
|
4
4
|
declare const ANTHROPIC_MODELS: {
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
5
|
+
readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
|
|
6
|
+
readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
|
|
7
|
+
readonly CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514";
|
|
8
|
+
readonly CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022";
|
|
9
|
+
readonly CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022";
|
|
10
10
|
};
|
|
11
11
|
declare const OPENAI_MODELS: {
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly GPT_4O: "gpt-4o";
|
|
19
|
-
readonly GPT_4O_MINI: "gpt-4o-mini";
|
|
20
|
-
readonly GPT_4_TURBO: "gpt-4-turbo";
|
|
21
|
-
readonly GPT_3_5_TURBO: "gpt-3.5-turbo";
|
|
12
|
+
readonly GPT_5_20250807: "openai/gpt-5-2025-08-07";
|
|
13
|
+
readonly GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07";
|
|
14
|
+
readonly GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07";
|
|
15
|
+
readonly GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14";
|
|
16
|
+
readonly GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14";
|
|
17
|
+
readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
|
|
22
18
|
};
|
|
23
19
|
declare const GOOGLE_MODELS: {
|
|
24
20
|
readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
|
|
25
21
|
readonly GEMINI_2_5_FLASH: "google/gemini-2.5-flash";
|
|
26
22
|
readonly GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite";
|
|
27
23
|
};
|
|
28
|
-
type AnthropicModel = typeof ANTHROPIC_MODELS[keyof typeof ANTHROPIC_MODELS];
|
|
29
|
-
type OpenAIModel = typeof OPENAI_MODELS[keyof typeof OPENAI_MODELS];
|
|
30
|
-
type GoogleModel = typeof GOOGLE_MODELS[keyof typeof GOOGLE_MODELS];
|
|
24
|
+
type AnthropicModel = (typeof ANTHROPIC_MODELS)[keyof typeof ANTHROPIC_MODELS];
|
|
25
|
+
type OpenAIModel = (typeof OPENAI_MODELS)[keyof typeof OPENAI_MODELS];
|
|
26
|
+
type GoogleModel = (typeof GOOGLE_MODELS)[keyof typeof GOOGLE_MODELS];
|
|
31
27
|
type ModelName = AnthropicModel | OpenAIModel | GoogleModel;
|
|
32
28
|
|
|
33
29
|
export { ANTHROPIC_MODELS, type AnthropicModel, GOOGLE_MODELS, type GoogleModel, type ModelName, OPENAI_MODELS, type OpenAIModel };
|
package/dist/constants/models.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-
|
|
1
|
+
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-LZJWVTQ2.js';
|
package/dist/index.cjs
CHANGED
|
@@ -212899,23 +212899,19 @@ async function apiFetch(url, options = {}) {
|
|
|
212899
212899
|
|
|
212900
212900
|
// src/constants/models.ts
|
|
212901
212901
|
var ANTHROPIC_MODELS = {
|
|
212902
|
-
|
|
212903
|
-
|
|
212904
|
-
|
|
212905
|
-
|
|
212906
|
-
|
|
212902
|
+
CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
|
|
212903
|
+
CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
|
|
212904
|
+
CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
|
|
212905
|
+
CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
|
|
212906
|
+
CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
|
|
212907
212907
|
};
|
|
212908
212908
|
var OPENAI_MODELS = {
|
|
212909
|
-
|
|
212910
|
-
|
|
212911
|
-
|
|
212912
|
-
|
|
212913
|
-
|
|
212914
|
-
|
|
212915
|
-
GPT_4O: "gpt-4o",
|
|
212916
|
-
GPT_4O_MINI: "gpt-4o-mini",
|
|
212917
|
-
GPT_4_TURBO: "gpt-4-turbo",
|
|
212918
|
-
GPT_3_5_TURBO: "gpt-3.5-turbo"
|
|
212909
|
+
GPT_5_20250807: "openai/gpt-5-2025-08-07",
|
|
212910
|
+
GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
|
|
212911
|
+
GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
|
|
212912
|
+
GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
|
|
212913
|
+
GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
|
|
212914
|
+
GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
|
|
212919
212915
|
};
|
|
212920
212916
|
var GOOGLE_MODELS = {
|
|
212921
212917
|
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
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 } from './chunk-SLL6V3AE.js';
|
|
2
|
-
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-
|
|
2
|
+
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-LZJWVTQ2.js';
|
|
3
|
+
export { TaskState } from './chunk-H2F72PDA.js';
|
|
3
4
|
import { getLogger, convertZodToJsonSchema } from './chunk-YECQCT5N.js';
|
|
4
5
|
export { PinoLogger, convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, getLogger, isZodSchema, loggerFactory, preview } from './chunk-YECQCT5N.js';
|
|
5
|
-
export { TaskState } from './chunk-H2F72PDA.js';
|
|
6
6
|
import { validateAndTypeAgentData, validateAgentStructure, isInternalAgent, isExternalAgent } from './chunk-4FMDWUE4.js';
|
|
7
7
|
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from './chunk-4FMDWUE4.js';
|
|
8
8
|
import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-VICWT3WO.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.3",
|
|
4
4
|
"description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.md",
|
package/dist/chunk-4VEUH2FG.js
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// src/constants/models.ts
|
|
2
|
-
var ANTHROPIC_MODELS = {
|
|
3
|
-
CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1-20250805",
|
|
4
|
-
CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5-20250929",
|
|
5
|
-
CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514",
|
|
6
|
-
CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022",
|
|
7
|
-
CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022"
|
|
8
|
-
};
|
|
9
|
-
var OPENAI_MODELS = {
|
|
10
|
-
GPT_5: "openai/gpt-5-2025-08-07",
|
|
11
|
-
GPT_5_MINI: "openai/gpt-5-mini-2025-08-07",
|
|
12
|
-
GPT_5_NANO: "openai/gpt-5-nano-2025-08-07",
|
|
13
|
-
GPT_4_1: "openai/gpt-4.1-2025-04-14",
|
|
14
|
-
GPT_4_1_MINI: "openai/gpt-4.1-mini-2025-04-14",
|
|
15
|
-
GPT_4_1_NANO: "openai/gpt-4.1-nano-2025-04-14",
|
|
16
|
-
GPT_4O: "gpt-4o",
|
|
17
|
-
GPT_4O_MINI: "gpt-4o-mini",
|
|
18
|
-
GPT_4_TURBO: "gpt-4-turbo",
|
|
19
|
-
GPT_3_5_TURBO: "gpt-3.5-turbo"
|
|
20
|
-
};
|
|
21
|
-
var GOOGLE_MODELS = {
|
|
22
|
-
GEMINI_2_5_PRO: "google/gemini-2.5-pro",
|
|
23
|
-
GEMINI_2_5_FLASH: "google/gemini-2.5-flash",
|
|
24
|
-
GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite"
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS };
|