@inkeep/agents-core 0.0.0-dev-20251010204118 → 0.0.0-dev-20251012022558

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,4 +1,4 @@
1
- import { subAgents, subAgentRelations, agentGraph, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, functionTools, functions, contextConfigs, subAgentToolRelations, ledgerArtifacts, projects } from './chunk-ID4CFGVF.js';
1
+ import { subAgents, subAgentRelations, agentGraph, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, functionTools, functions, contextConfigs, subAgentToolRelations, ledgerArtifacts, projects } from './chunk-OEKS3RQI.js';
2
2
  import { VALID_RELATION_TYPES, MCPTransportType, TOOL_STATUS_VALUES, CredentialStoreType, MCPServerType } from './chunk-YFHT5M2R.js';
3
3
  import { z } from '@hono/zod-openapi';
4
4
  import { createSelectSchema, createInsertSchema } from 'drizzle-zod';
@@ -0,0 +1,19 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropNames = Object.getOwnPropertyNames;
3
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
5
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
6
+ }) : x)(function(x) {
7
+ if (typeof require !== "undefined") return require.apply(this, arguments);
8
+ throw Error('Dynamic require of "' + x + '" is not supported');
9
+ });
10
+ var __commonJS = (cb, mod) => function __require2() {
11
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
12
+ };
13
+ var __export = (target, all) => {
14
+ for (var name in all)
15
+ __defProp(target, name, { get: all[name], enumerable: true });
16
+ };
17
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
18
+
19
+ export { __commonJS, __export, __publicField, __require };
@@ -9,7 +9,8 @@ var SPAN_NAMES = {
9
9
  CONTEXT_RESOLUTION: "context-resolver.resolve_single_fetch_definition",
10
10
  CONTEXT_HANDLE: "context.handle_context_resolution",
11
11
  AGENT_GENERATION: "agent.generate",
12
- CONTEXT_FETCHER: "context-fetcher.http-request"
12
+ CONTEXT_FETCHER: "context-fetcher.http-request",
13
+ ARTIFACT_PROCESSING: "graph_session.process_artifact"
13
14
  };
14
15
  var AI_OPERATIONS = {
15
16
  GENERATE_TEXT: "ai.generateText.doGenerate",
@@ -78,7 +79,15 @@ var SPAN_KEYS = {
78
79
  // Core attributes
79
80
  NAME: "name",
80
81
  PARENT_SPAN_ID: "parentSpanID",
81
- CONVERSATION_ID: "conversation.id"
82
+ CONVERSATION_ID: "conversation.id",
83
+ // Artifact processing attributes
84
+ ARTIFACT_ID: "artifact.id",
85
+ ARTIFACT_TYPE: "artifact.type",
86
+ ARTIFACT_AGENT_ID: "artifact.agent_id",
87
+ ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id",
88
+ ARTIFACT_DATA: "artifact.data",
89
+ ARTIFACT_NAME: "artifact.name",
90
+ ARTIFACT_DESCRIPTION: "artifact.description"
82
91
  };
83
92
  var UNKNOWN_VALUE = "unknown";
84
93
  var ACTIVITY_TYPES = {
@@ -109,9 +118,6 @@ var ACTIVITY_NAMES = {
109
118
  UNKNOWN_AGENT: "Unknown Agent",
110
119
  USER: "User"
111
120
  };
112
- var TOOL_NAMES = {
113
- SAVE_TOOL_RESULT: "save_tool_result"
114
- };
115
121
  var AI_TOOL_TYPES = {
116
122
  MCP: "mcp",
117
123
  TRANSFER: "transfer",
@@ -218,7 +224,8 @@ var QUERY_EXPRESSIONS = {
218
224
  CONTEXT_FETCHERS: "contextFetchers",
219
225
  DURATION_SPANS: "durationSpans",
220
226
  AGENT_GENERATIONS: "agentGenerations",
221
- SPANS_WITH_ERRORS: "spansWithErrors"
227
+ SPANS_WITH_ERRORS: "spansWithErrors",
228
+ ARTIFACT_PROCESSING: "artifactProcessing"
222
229
  };
223
230
  var REDUCE_OPERATIONS = {
224
231
  SUM: "sum",
@@ -268,4 +275,4 @@ var QUERY_DEFAULTS = {
268
275
  EMPTY_GROUP_BY: []
269
276
  };
270
277
 
271
- 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, TOOL_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE };
278
+ 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 };
@@ -0,0 +1,27 @@
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-20250531",
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 };
@@ -1,4 +1,4 @@
1
- import { GraphWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-E4SFK6AI.js';
1
+ import { GraphWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-ASA7FU3H.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  var TransferDataSchema = z.object({
@@ -1,4 +1,4 @@
1
- import { __export } from './chunk-MKBO26DX.js';
1
+ import { __export } from './chunk-E6R6PML7.js';
2
2
  import { relations, sql } from 'drizzle-orm';
3
3
  import { sqliteTable, text, primaryKey, foreignKey, blob, integer, index, unique } from 'drizzle-orm/sqlite-core';
4
4
 
@@ -1,4 +1,4 @@
1
- import { __publicField } from './chunk-MKBO26DX.js';
1
+ import { __publicField } from './chunk-E6R6PML7.js';
2
2
  import { z } from 'zod';
3
3
  import pino from 'pino';
4
4
  import pinoPretty from 'pino-pretty';
@@ -1696,7 +1696,8 @@ var SPAN_NAMES = {
1696
1696
  CONTEXT_RESOLUTION: "context-resolver.resolve_single_fetch_definition",
1697
1697
  CONTEXT_HANDLE: "context.handle_context_resolution",
1698
1698
  AGENT_GENERATION: "agent.generate",
1699
- CONTEXT_FETCHER: "context-fetcher.http-request"
1699
+ CONTEXT_FETCHER: "context-fetcher.http-request",
1700
+ ARTIFACT_PROCESSING: "graph_session.process_artifact"
1700
1701
  };
1701
1702
  var AI_OPERATIONS = {
1702
1703
  GENERATE_TEXT: "ai.generateText.doGenerate",
@@ -1765,7 +1766,15 @@ var SPAN_KEYS = {
1765
1766
  // Core attributes
1766
1767
  NAME: "name",
1767
1768
  PARENT_SPAN_ID: "parentSpanID",
1768
- CONVERSATION_ID: "conversation.id"
1769
+ CONVERSATION_ID: "conversation.id",
1770
+ // Artifact processing attributes
1771
+ ARTIFACT_ID: "artifact.id",
1772
+ ARTIFACT_TYPE: "artifact.type",
1773
+ ARTIFACT_AGENT_ID: "artifact.agent_id",
1774
+ ARTIFACT_TOOL_CALL_ID: "artifact.tool_call_id",
1775
+ ARTIFACT_DATA: "artifact.data",
1776
+ ARTIFACT_NAME: "artifact.name",
1777
+ ARTIFACT_DESCRIPTION: "artifact.description"
1769
1778
  };
1770
1779
  var UNKNOWN_VALUE = "unknown";
1771
1780
  var ACTIVITY_TYPES = {
@@ -1796,9 +1805,6 @@ var ACTIVITY_NAMES = {
1796
1805
  UNKNOWN_AGENT: "Unknown Agent",
1797
1806
  USER: "User"
1798
1807
  };
1799
- var TOOL_NAMES = {
1800
- SAVE_TOOL_RESULT: "save_tool_result"
1801
- };
1802
1808
  var AI_TOOL_TYPES = {
1803
1809
  MCP: "mcp",
1804
1810
  TRANSFER: "transfer",
@@ -1905,7 +1911,8 @@ var QUERY_EXPRESSIONS = {
1905
1911
  CONTEXT_FETCHERS: "contextFetchers",
1906
1912
  DURATION_SPANS: "durationSpans",
1907
1913
  AGENT_GENERATIONS: "agentGenerations",
1908
- SPANS_WITH_ERRORS: "spansWithErrors"
1914
+ SPANS_WITH_ERRORS: "spansWithErrors",
1915
+ ARTIFACT_PROCESSING: "artifactProcessing"
1909
1916
  };
1910
1917
  var REDUCE_OPERATIONS = {
1911
1918
  SUM: "sum",
@@ -2174,7 +2181,6 @@ exports.SPAN_NAMES = SPAN_NAMES;
2174
2181
  exports.SandboxConfigSchema = SandboxConfigSchema;
2175
2182
  exports.SingleResponseSchema = SingleResponseSchema;
2176
2183
  exports.StopWhenSchema = StopWhenSchema;
2177
- exports.TOOL_NAMES = TOOL_NAMES;
2178
2184
  exports.TRANSFER_FROM_SUB_AGENT_ID = TRANSFER_FROM_SUB_AGENT_ID;
2179
2185
  exports.TRANSFER_TO_SUB_AGENT_ID = TRANSFER_TO_SUB_AGENT_ID;
2180
2186
  exports.TenantParamsSchema = TenantParamsSchema2;
@@ -1,4 +1,4 @@
1
- export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g 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, d as SPAN_KEYS, S as SPAN_NAMES, i as TOOL_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-CifqdbnO.cjs';
1
+ export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j 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, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d 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 } from './signoz-queries-BuiipZTk.cjs';
2
2
  import { z } from 'zod';
3
3
  import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-CyPQ1tC_.cjs';
4
4
  export { e as AgentStopWhen, b as AgentStopWhenSchema, g as CredentialStoreType, i as FunctionApiSelectSchema, j as FunctionApiUpdateSchema, d as GraphStopWhen, G as GraphStopWhenSchema, h as MCPTransportType, f as ModelSettings, M as ModelSettingsSchema, k as SandboxConfigSchema, c as StopWhen, S as StopWhenSchema } from './utility-CyPQ1tC_.cjs';
@@ -1,4 +1,4 @@
1
- export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g 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, d as SPAN_KEYS, S as SPAN_NAMES, i as TOOL_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE } from './signoz-queries-CifqdbnO.js';
1
+ export { h as ACTIVITY_NAMES, f as ACTIVITY_STATUS, e as ACTIVITY_TYPES, g as AGENT_IDS, o as AGGREGATE_OPERATORS, A as AI_OPERATIONS, i as AI_TOOL_TYPES, n as DATA_SOURCES, j 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, l as ORDER_DIRECTIONS, P as PANEL_TYPES, p as QUERY_DEFAULTS, k as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, m as QUERY_TYPES, R as REDUCE_OPERATIONS, d 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 } from './signoz-queries-BuiipZTk.js';
2
2
  import { z } from 'zod';
3
3
  import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-CyPQ1tC_.js';
4
4
  export { e as AgentStopWhen, b as AgentStopWhenSchema, g as CredentialStoreType, i as FunctionApiSelectSchema, j as FunctionApiUpdateSchema, d as GraphStopWhen, G as GraphStopWhenSchema, h as MCPTransportType, f as ModelSettings, M as ModelSettingsSchema, k as SandboxConfigSchema, c as StopWhen, S as StopWhenSchema } from './utility-CyPQ1tC_.js';
@@ -1,6 +1,6 @@
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, TOOL_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-TCLX6C3C.js';
2
- import { ModelSettingsSchema, FullGraphAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-E4SFK6AI.js';
3
- export { SubAgentStopWhenSchema as AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-E4SFK6AI.js';
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-H6PMWHNV.js';
2
+ import { ModelSettingsSchema, FullGraphAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-ASA7FU3H.js';
3
+ export { SubAgentStopWhenSchema as AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-ASA7FU3H.js';
4
4
  import { CredentialStoreType } from './chunk-YFHT5M2R.js';
5
5
  export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
6
6
  import { z } from 'zod';
@@ -0,0 +1,31 @@
1
+ 'use strict';
2
+
3
+ // src/constants/models.ts
4
+ var ANTHROPIC_MODELS = {
5
+ CLAUDE_OPUS_4_1: "anthropic/claude-opus-4-1-20250805",
6
+ CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4.5-20250531",
7
+ CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514",
8
+ CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022",
9
+ CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022"
10
+ };
11
+ var OPENAI_MODELS = {
12
+ GPT_5: "openai/gpt-5-2025-08-07",
13
+ GPT_5_MINI: "openai/gpt-5-mini-2025-08-07",
14
+ GPT_5_NANO: "openai/gpt-5-nano-2025-08-07",
15
+ GPT_4_1: "openai/gpt-4.1-2025-04-14",
16
+ GPT_4_1_MINI: "openai/gpt-4.1-mini-2025-04-14",
17
+ GPT_4_1_NANO: "openai/gpt-4.1-nano-2025-04-14",
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"
22
+ };
23
+ var GOOGLE_MODELS = {
24
+ GEMINI_2_5_PRO: "google/gemini-2.5-pro",
25
+ GEMINI_2_5_FLASH: "google/gemini-2.5-flash",
26
+ GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite"
27
+ };
28
+
29
+ exports.ANTHROPIC_MODELS = ANTHROPIC_MODELS;
30
+ exports.GOOGLE_MODELS = GOOGLE_MODELS;
31
+ exports.OPENAI_MODELS = OPENAI_MODELS;
@@ -0,0 +1,33 @@
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-20250805";
6
+ readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4.5-20250531";
7
+ readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514";
8
+ readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022";
9
+ readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022";
10
+ };
11
+ declare const OPENAI_MODELS: {
12
+ readonly GPT_5: "openai/gpt-5-2025-08-07";
13
+ readonly GPT_5_MINI: "openai/gpt-5-mini-2025-08-07";
14
+ readonly GPT_5_NANO: "openai/gpt-5-nano-2025-08-07";
15
+ readonly GPT_4_1: "openai/gpt-4.1-2025-04-14";
16
+ readonly GPT_4_1_MINI: "openai/gpt-4.1-mini-2025-04-14";
17
+ readonly GPT_4_1_NANO: "openai/gpt-4.1-nano-2025-04-14";
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";
22
+ };
23
+ declare const GOOGLE_MODELS: {
24
+ readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
25
+ readonly GEMINI_2_5_FLASH: "google/gemini-2.5-flash";
26
+ readonly GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite";
27
+ };
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];
31
+ type ModelName = AnthropicModel | OpenAIModel | GoogleModel;
32
+
33
+ export { ANTHROPIC_MODELS, type AnthropicModel, GOOGLE_MODELS, type GoogleModel, type ModelName, OPENAI_MODELS, type OpenAIModel };
@@ -0,0 +1,33 @@
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-20250805";
6
+ readonly CLAUDE_SONNET_4_5: "anthropic/claude-sonnet-4.5-20250531";
7
+ readonly CLAUDE_SONNET_4: "anthropic/claude-sonnet-4-20250514";
8
+ readonly CLAUDE_3_5_SONNET: "anthropic/claude-3-5-sonnet-20241022";
9
+ readonly CLAUDE_3_5_HAIKU: "anthropic/claude-3-5-haiku-20241022";
10
+ };
11
+ declare const OPENAI_MODELS: {
12
+ readonly GPT_5: "openai/gpt-5-2025-08-07";
13
+ readonly GPT_5_MINI: "openai/gpt-5-mini-2025-08-07";
14
+ readonly GPT_5_NANO: "openai/gpt-5-nano-2025-08-07";
15
+ readonly GPT_4_1: "openai/gpt-4.1-2025-04-14";
16
+ readonly GPT_4_1_MINI: "openai/gpt-4.1-mini-2025-04-14";
17
+ readonly GPT_4_1_NANO: "openai/gpt-4.1-nano-2025-04-14";
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";
22
+ };
23
+ declare const GOOGLE_MODELS: {
24
+ readonly GEMINI_2_5_PRO: "google/gemini-2.5-pro";
25
+ readonly GEMINI_2_5_FLASH: "google/gemini-2.5-flash";
26
+ readonly GEMINI_2_5_FLASH_LITE: "google/gemini-2.5-flash-lite";
27
+ };
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];
31
+ type ModelName = AnthropicModel | OpenAIModel | GoogleModel;
32
+
33
+ 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-HYS7HUYJ.js';
package/dist/db/schema.js CHANGED
@@ -1 +1 @@
1
- export { agentFunctionToolRelations, agentFunctionToolRelationsRelations, agentGraph, agentGraphRelations, agentToolRelationsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-ID4CFGVF.js';
1
+ export { agentFunctionToolRelations, agentFunctionToolRelationsRelations, agentGraph, agentGraphRelations, agentToolRelationsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-OEKS3RQI.js';