@inkeep/agents-core 0.0.0-dev-20251014172127 → 0.0.0-dev-20251014185355

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.
@@ -1,17 +1,28 @@
1
1
  // src/constants/models.ts
2
2
  var ANTHROPIC_MODELS = {
3
+ CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
3
4
  CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
5
+ CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
4
6
  CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
7
+ CLAUDE_SONNET_4: "anthropic/claude-sonnet-4",
5
8
  CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
9
+ CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet",
6
10
  CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
11
+ CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku",
7
12
  CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
8
13
  };
9
14
  var OPENAI_MODELS = {
15
+ GPT_5: "openai/gpt-5",
10
16
  GPT_5_20250807: "openai/gpt-5-2025-08-07",
17
+ GPT_5_MINI: "openai/gpt-5-mini",
11
18
  GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
19
+ GPT_5_NANO: "openai/gpt-5-nano",
12
20
  GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
21
+ GPT_4_1: "openai/gpt-4.1",
13
22
  GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
23
+ GPT_4_1_MINI: "openai/gpt-4.1-mini",
14
24
  GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
25
+ GPT_4_1_NANO: "openai/gpt-4.1-nano",
15
26
  GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
16
27
  };
17
28
  var GOOGLE_MODELS = {
@@ -2,18 +2,29 @@
2
2
 
3
3
  // src/constants/models.ts
4
4
  var ANTHROPIC_MODELS = {
5
+ CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
5
6
  CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
7
+ CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
6
8
  CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
9
+ CLAUDE_SONNET_4: "anthropic/claude-sonnet-4",
7
10
  CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
11
+ CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet",
8
12
  CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
13
+ CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku",
9
14
  CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
10
15
  };
11
16
  var OPENAI_MODELS = {
17
+ GPT_5: "openai/gpt-5",
12
18
  GPT_5_20250807: "openai/gpt-5-2025-08-07",
19
+ GPT_5_MINI: "openai/gpt-5-mini",
13
20
  GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
21
+ GPT_5_NANO: "openai/gpt-5-nano",
14
22
  GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
23
+ GPT_4_1: "openai/gpt-4.1",
15
24
  GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
25
+ GPT_4_1_MINI: "openai/gpt-4.1-mini",
16
26
  GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
27
+ GPT_4_1_NANO: "openai/gpt-4.1-nano",
17
28
  GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
18
29
  };
19
30
  var GOOGLE_MODELS = {
@@ -2,18 +2,29 @@
2
2
  * Model name constants used throughout the Inkeep Agents SDK
3
3
  */
4
4
  declare const ANTHROPIC_MODELS: {
5
+ readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1";
5
6
  readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
7
+ readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5";
6
8
  readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
9
+ readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4";
7
10
  readonly CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514";
11
+ readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet";
8
12
  readonly CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022";
13
+ readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku";
9
14
  readonly CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022";
10
15
  };
11
16
  declare const OPENAI_MODELS: {
17
+ readonly GPT_5: "openai/gpt-5";
12
18
  readonly GPT_5_20250807: "openai/gpt-5-2025-08-07";
19
+ readonly GPT_5_MINI: "openai/gpt-5-mini";
13
20
  readonly GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07";
21
+ readonly GPT_5_NANO: "openai/gpt-5-nano";
14
22
  readonly GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07";
23
+ readonly GPT_4_1: "openai/gpt-4.1";
15
24
  readonly GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14";
25
+ readonly GPT_4_1_MINI: "openai/gpt-4.1-mini";
16
26
  readonly GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14";
27
+ readonly GPT_4_1_NANO: "openai/gpt-4.1-nano";
17
28
  readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
18
29
  };
19
30
  declare const GOOGLE_MODELS: {
@@ -2,18 +2,29 @@
2
2
  * Model name constants used throughout the Inkeep Agents SDK
3
3
  */
4
4
  declare const ANTHROPIC_MODELS: {
5
+ readonly CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1";
5
6
  readonly CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805";
7
+ readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5";
6
8
  readonly CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929";
9
+ readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4";
7
10
  readonly CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514";
11
+ readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet";
8
12
  readonly CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022";
13
+ readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku";
9
14
  readonly CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022";
10
15
  };
11
16
  declare const OPENAI_MODELS: {
17
+ readonly GPT_5: "openai/gpt-5";
12
18
  readonly GPT_5_20250807: "openai/gpt-5-2025-08-07";
19
+ readonly GPT_5_MINI: "openai/gpt-5-mini";
13
20
  readonly GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07";
21
+ readonly GPT_5_NANO: "openai/gpt-5-nano";
14
22
  readonly GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07";
23
+ readonly GPT_4_1: "openai/gpt-4.1";
15
24
  readonly GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14";
25
+ readonly GPT_4_1_MINI: "openai/gpt-4.1-mini";
16
26
  readonly GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14";
27
+ readonly GPT_4_1_NANO: "openai/gpt-4.1-nano";
17
28
  readonly GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14";
18
29
  };
19
30
  declare const GOOGLE_MODELS: {
@@ -1 +1 @@
1
- export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-LZJWVTQ2.js';
1
+ export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from '../chunk-TTIPV5QP.js';
package/dist/index.cjs CHANGED
@@ -212899,18 +212899,29 @@ async function apiFetch(url, options = {}) {
212899
212899
 
212900
212900
  // src/constants/models.ts
212901
212901
  var ANTHROPIC_MODELS = {
212902
+ CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1",
212902
212903
  CLAUDE_OPUS_4_1_20250805: "anthropic/claude-opus-4-1-20250805",
212904
+ CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4-5",
212903
212905
  CLAUDE_SONNET_4_5_20250929: "anthropic/claude-sonnet-4-5-20250929",
212906
+ CLAUDE_SONNET_4: "anthropic/claude-sonnet-4",
212904
212907
  CLAUDE_SONNET_4_20250514: "anthropic/claude-sonnet-4-20250514",
212908
+ CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet",
212905
212909
  CLAUDE_3_5_SONNET_20241022: "anthropic/claude-3-5-sonnet-20241022",
212910
+ CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku",
212906
212911
  CLAUDE_3_5_HAIKU_20241022: "anthropic/claude-3-5-haiku-20241022"
212907
212912
  };
212908
212913
  var OPENAI_MODELS = {
212914
+ GPT_5: "openai/gpt-5",
212909
212915
  GPT_5_20250807: "openai/gpt-5-2025-08-07",
212916
+ GPT_5_MINI: "openai/gpt-5-mini",
212910
212917
  GPT_5_MINI_20250807: "openai/gpt-5-mini-2025-08-07",
212918
+ GPT_5_NANO: "openai/gpt-5-nano",
212911
212919
  GPT_5_NANO_20250807: "openai/gpt-5-nano-2025-08-07",
212920
+ GPT_4_1: "openai/gpt-4.1",
212912
212921
  GPT_4_1_20250414: "openai/gpt-4.1-2025-04-14",
212922
+ GPT_4_1_MINI: "openai/gpt-4.1-mini",
212913
212923
  GPT_4_1_MINI_20250414: "openai/gpt-4.1-mini-2025-04-14",
212924
+ GPT_4_1_NANO: "openai/gpt-4.1-nano",
212914
212925
  GPT_4_1_NANO_20250414: "openai/gpt-4.1-nano-2025-04-14"
212915
212926
  };
212916
212927
  var GOOGLE_MODELS = {
package/dist/index.d.cts CHANGED
@@ -3491,14 +3491,7 @@ declare function isValidHttpRequest(obj: any): obj is ParsedHttpRequest;
3491
3491
  declare function getCachedValidator(schema: Record<string, unknown>): ValidateFunction;
3492
3492
  declare function validationHelper(jsonSchema: Record<string, unknown>): ValidateFunction<unknown>;
3493
3493
  declare function validateAgainstJsonSchema(jsonSchema: Record<string, unknown>, context: unknown): boolean;
3494
- /**
3495
- * Validates HTTP request headers against schema
3496
- */
3497
3494
  declare function validateHttpRequestHeaders(headersSchema: any, httpRequest: ParsedHttpRequest): Promise<ContextValidationResult>;
3498
- /**
3499
- * Validates headers against the JSON Schema stored in context configuration
3500
- * Supports both legacy simple schemas and new comprehensive HTTP request schemas
3501
- */
3502
3495
  declare function validateHeaders({ tenantId, projectId, agentId, conversationId, parsedRequest, dbClient, credentialStores, }: {
3503
3496
  tenantId: string;
3504
3497
  projectId: string;
@@ -3508,9 +3501,6 @@ declare function validateHeaders({ tenantId, projectId, agentId, conversationId,
3508
3501
  dbClient: DatabaseClient;
3509
3502
  credentialStores?: CredentialStoreRegistry;
3510
3503
  }): Promise<ContextValidationResult>;
3511
- /**
3512
- * Hono middleware for context validation
3513
- */
3514
3504
  declare function contextValidationMiddleware(dbClient: DatabaseClient): (c: Context, next: Next) => Promise<void>;
3515
3505
 
3516
3506
  type ApiKeyGenerationResult = {
package/dist/index.d.ts CHANGED
@@ -3491,14 +3491,7 @@ declare function isValidHttpRequest(obj: any): obj is ParsedHttpRequest;
3491
3491
  declare function getCachedValidator(schema: Record<string, unknown>): ValidateFunction;
3492
3492
  declare function validationHelper(jsonSchema: Record<string, unknown>): ValidateFunction<unknown>;
3493
3493
  declare function validateAgainstJsonSchema(jsonSchema: Record<string, unknown>, context: unknown): boolean;
3494
- /**
3495
- * Validates HTTP request headers against schema
3496
- */
3497
3494
  declare function validateHttpRequestHeaders(headersSchema: any, httpRequest: ParsedHttpRequest): Promise<ContextValidationResult>;
3498
- /**
3499
- * Validates headers against the JSON Schema stored in context configuration
3500
- * Supports both legacy simple schemas and new comprehensive HTTP request schemas
3501
- */
3502
3495
  declare function validateHeaders({ tenantId, projectId, agentId, conversationId, parsedRequest, dbClient, credentialStores, }: {
3503
3496
  tenantId: string;
3504
3497
  projectId: string;
@@ -3508,9 +3501,6 @@ declare function validateHeaders({ tenantId, projectId, agentId, conversationId,
3508
3501
  dbClient: DatabaseClient;
3509
3502
  credentialStores?: CredentialStoreRegistry;
3510
3503
  }): Promise<ContextValidationResult>;
3511
- /**
3512
- * Hono middleware for context validation
3513
- */
3514
3504
  declare function contextValidationMiddleware(dbClient: DatabaseClient): (c: Context, next: Next) => Promise<void>;
3515
3505
 
3516
3506
  type ApiKeyGenerationResult = {
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
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-QFIITHNT.js';
2
- export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-LZJWVTQ2.js';
2
+ export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-TTIPV5QP.js';
3
3
  export { TaskState } from './chunk-H2F72PDA.js';
4
4
  import { getLogger, convertZodToJsonSchema } from './chunk-YECQCT5N.js';
5
5
  export { PinoLogger, convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, getLogger, isZodSchema, loggerFactory, preview } from './chunk-YECQCT5N.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20251014172127",
3
+ "version": "0.0.0-dev-20251014185355",
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",