@inkeep/agents-core 0.18.1 → 0.19.0

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.
Files changed (42) hide show
  1. package/README.md +4 -4
  2. package/dist/{chunk-E4SFK6AI.js → chunk-3GZBRBXP.js} +84 -87
  3. package/dist/{chunk-JTHQYGCX.js → chunk-3XUV5Q4D.js} +34 -34
  4. package/dist/{chunk-ID4CFGVF.js → chunk-B6F3RF4T.js} +87 -120
  5. package/dist/chunk-E6R6PML7.js +19 -0
  6. package/dist/chunk-HYS7HUYJ.js +27 -0
  7. package/dist/{chunk-H6PMWHNV.js → chunk-SLL6V3AE.js} +12 -12
  8. package/dist/{chunk-R2EERZSW.js → chunk-YECQCT5N.js} +1 -1
  9. package/dist/client-exports.cjs +189 -225
  10. package/dist/client-exports.d.cts +13 -14
  11. package/dist/client-exports.d.ts +13 -14
  12. package/dist/client-exports.js +10 -10
  13. package/dist/constants/models.cjs +31 -0
  14. package/dist/constants/models.d.cts +33 -0
  15. package/dist/constants/models.d.ts +33 -0
  16. package/dist/constants/models.js +1 -0
  17. package/dist/db/schema.cjs +85 -118
  18. package/dist/db/schema.d.cts +2 -3
  19. package/dist/db/schema.d.ts +2 -3
  20. package/dist/db/schema.js +1 -1
  21. package/dist/index.cjs +213931 -1040
  22. package/dist/index.d.cts +209 -208
  23. package/dist/index.d.ts +209 -208
  24. package/dist/index.js +213657 -767
  25. package/dist/{schema-ULFEZCOL.d.cts → schema-Dp-qgdBT.d.ts} +54 -52
  26. package/dist/{schema-wbZXiVWb.d.ts → schema-DrDaCn6H.d.cts} +54 -52
  27. package/dist/{signoz-queries-BuiipZTk.d.cts → signoz-queries-CuWMQh1H.d.cts} +10 -10
  28. package/dist/{signoz-queries-BuiipZTk.d.ts → signoz-queries-CuWMQh1H.d.ts} +10 -10
  29. package/dist/types/index.d.cts +2 -3
  30. package/dist/types/index.d.ts +2 -3
  31. package/dist/{utility-CyPQ1tC_.d.cts → utility-BxbySenH.d.cts} +152 -301
  32. package/dist/{utility-CyPQ1tC_.d.ts → utility-BxbySenH.d.ts} +152 -301
  33. package/dist/utils/schema-conversion.js +1 -1
  34. package/dist/validation/index.cjs +212 -249
  35. package/dist/validation/index.d.cts +12 -13
  36. package/dist/validation/index.d.ts +12 -13
  37. package/dist/validation/index.js +2 -2
  38. package/drizzle/0007_mighty_typhoid_mary.sql +227 -0
  39. package/drizzle/meta/0007_snapshot.json +2766 -0
  40. package/drizzle/meta/_journal.json +7 -0
  41. package/package.json +6 -1
  42. package/dist/chunk-MKBO26DX.js +0 -9
@@ -1,12 +1,11 @@
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';
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-CuWMQh1H.cjs';
2
2
  import { z } from 'zod';
3
- import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-CyPQ1tC_.cjs';
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';
3
+ import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-BxbySenH.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, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-BxbySenH.cjs';
5
5
  export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
6
6
  import 'drizzle-zod';
7
7
  import 'drizzle-orm/sqlite-core';
8
8
  import '@hono/zod-openapi';
9
- import '@modelcontextprotocol/sdk/client/streamableHttp.js';
10
9
 
11
10
  declare const TenantParamsSchema: z.ZodObject<{
12
11
  tenantId: z.ZodString;
@@ -81,7 +80,7 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
81
80
  id: z.ZodString;
82
81
  tenantId: z.ZodString;
83
82
  projectId: z.ZodString;
84
- graphId: z.ZodString;
83
+ agentId: z.ZodString;
85
84
  publicId: z.ZodString;
86
85
  keyHash: z.ZodString;
87
86
  keyPrefix: z.ZodString;
@@ -97,7 +96,7 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
97
96
  id: z.ZodString;
98
97
  tenantId: z.ZodString;
99
98
  projectId: z.ZodString;
100
- graphId: z.ZodString;
99
+ agentId: z.ZodString;
101
100
  publicId: z.ZodString;
102
101
  keyHash: z.ZodString;
103
102
  keyPrefix: z.ZodString;
@@ -153,13 +152,13 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<{
153
152
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
153
  type: z.ZodOptional<z.ZodLiteral<"external">>;
155
154
  }, z.core.$strip>;
156
- declare const AgentGraphApiInsertSchema: z.ZodObject<{
155
+ declare const AgentAgentApiInsertSchema: z.ZodObject<{
157
156
  id: z.ZodOptional<z.ZodString>;
158
157
  name: z.ZodString;
159
158
  description: z.ZodOptional<z.ZodString>;
160
159
  defaultSubAgentId: z.ZodOptional<z.ZodString>;
161
160
  }, z.core.$strip>;
162
- declare const FullGraphDefinitionSchema: z.ZodObject<{
161
+ declare const FullAgentDefinitionSchema: z.ZodObject<{
163
162
  id: z.ZodOptional<z.ZodString>;
164
163
  name: z.ZodString;
165
164
  description: z.ZodOptional<z.ZodString>;
@@ -239,7 +238,7 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
239
238
  stopWhen: z.ZodOptional<z.ZodObject<{
240
239
  transferCountIs: z.ZodOptional<z.ZodNumber>;
241
240
  }, z.core.$strip>>;
242
- graphPrompt: z.ZodOptional<z.ZodString>;
241
+ agentPrompt: z.ZodOptional<z.ZodString>;
243
242
  statusUpdates: z.ZodOptional<z.ZodObject<{
244
243
  enabled: z.ZodOptional<z.ZodBoolean>;
245
244
  numEvents: z.ZodOptional<z.ZodNumber>;
@@ -267,9 +266,9 @@ type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
267
266
  type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
268
267
  type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
269
268
  type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
270
- type AgentGraphApiInsert = z.infer<typeof AgentGraphApiInsertSchema>;
271
- type FullGraphDefinition = z.infer<typeof FullGraphDefinitionSchema>;
272
- type InternalAgentDefinition = z.infer<typeof FullGraphAgentInsertSchema>;
269
+ type AgentAgentApiInsert = z.infer<typeof AgentAgentApiInsertSchema>;
270
+ type FullAgentDefinition = z.infer<typeof FullAgentDefinitionSchema>;
271
+ type InternalAgentDefinition = z.infer<typeof FullAgentAgentInsertSchema>;
273
272
  type ExternalAgentDefinition = z.infer<typeof ExternalAgentApiInsertSchema>;
274
273
  type TenantParams = z.infer<typeof TenantParamsSchema>;
275
274
  type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
@@ -279,6 +278,6 @@ declare const URL_SAFE_ID_PATTERN: RegExp;
279
278
  declare const resourceIdSchema: z.ZodString;
280
279
  declare function generateIdFromName(name: string): string;
281
280
  type ToolInsert = ToolApiInsert;
282
- type AgentGraphInsert = AgentGraphApiInsert;
281
+ type AgentAgentInsert = AgentAgentApiInsert;
283
282
 
284
- export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, 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 FullGraphDefinition, FullGraphDefinitionSchema, 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 };
283
+ 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,12 +1,11 @@
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';
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-CuWMQh1H.js';
2
2
  import { z } from 'zod';
3
- import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-CyPQ1tC_.js';
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';
3
+ import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-BxbySenH.js';
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, l as SandboxConfigSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-BxbySenH.js';
5
5
  export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
6
6
  import 'drizzle-zod';
7
7
  import 'drizzle-orm/sqlite-core';
8
8
  import '@hono/zod-openapi';
9
- import '@modelcontextprotocol/sdk/client/streamableHttp.js';
10
9
 
11
10
  declare const TenantParamsSchema: z.ZodObject<{
12
11
  tenantId: z.ZodString;
@@ -81,7 +80,7 @@ declare const ApiKeyApiSelectSchema: z.ZodObject<{
81
80
  id: z.ZodString;
82
81
  tenantId: z.ZodString;
83
82
  projectId: z.ZodString;
84
- graphId: z.ZodString;
83
+ agentId: z.ZodString;
85
84
  publicId: z.ZodString;
86
85
  keyHash: z.ZodString;
87
86
  keyPrefix: z.ZodString;
@@ -97,7 +96,7 @@ declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
97
96
  id: z.ZodString;
98
97
  tenantId: z.ZodString;
99
98
  projectId: z.ZodString;
100
- graphId: z.ZodString;
99
+ agentId: z.ZodString;
101
100
  publicId: z.ZodString;
102
101
  keyHash: z.ZodString;
103
102
  keyPrefix: z.ZodString;
@@ -153,13 +152,13 @@ declare const ExternalAgentApiInsertSchema: z.ZodObject<{
153
152
  credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
153
  type: z.ZodOptional<z.ZodLiteral<"external">>;
155
154
  }, z.core.$strip>;
156
- declare const AgentGraphApiInsertSchema: z.ZodObject<{
155
+ declare const AgentAgentApiInsertSchema: z.ZodObject<{
157
156
  id: z.ZodOptional<z.ZodString>;
158
157
  name: z.ZodString;
159
158
  description: z.ZodOptional<z.ZodString>;
160
159
  defaultSubAgentId: z.ZodOptional<z.ZodString>;
161
160
  }, z.core.$strip>;
162
- declare const FullGraphDefinitionSchema: z.ZodObject<{
161
+ declare const FullAgentDefinitionSchema: z.ZodObject<{
163
162
  id: z.ZodOptional<z.ZodString>;
164
163
  name: z.ZodString;
165
164
  description: z.ZodOptional<z.ZodString>;
@@ -239,7 +238,7 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
239
238
  stopWhen: z.ZodOptional<z.ZodObject<{
240
239
  transferCountIs: z.ZodOptional<z.ZodNumber>;
241
240
  }, z.core.$strip>>;
242
- graphPrompt: z.ZodOptional<z.ZodString>;
241
+ agentPrompt: z.ZodOptional<z.ZodString>;
243
242
  statusUpdates: z.ZodOptional<z.ZodObject<{
244
243
  enabled: z.ZodOptional<z.ZodBoolean>;
245
244
  numEvents: z.ZodOptional<z.ZodNumber>;
@@ -267,9 +266,9 @@ type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
267
266
  type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
268
267
  type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
269
268
  type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
270
- type AgentGraphApiInsert = z.infer<typeof AgentGraphApiInsertSchema>;
271
- type FullGraphDefinition = z.infer<typeof FullGraphDefinitionSchema>;
272
- type InternalAgentDefinition = z.infer<typeof FullGraphAgentInsertSchema>;
269
+ type AgentAgentApiInsert = z.infer<typeof AgentAgentApiInsertSchema>;
270
+ type FullAgentDefinition = z.infer<typeof FullAgentDefinitionSchema>;
271
+ type InternalAgentDefinition = z.infer<typeof FullAgentAgentInsertSchema>;
273
272
  type ExternalAgentDefinition = z.infer<typeof ExternalAgentApiInsertSchema>;
274
273
  type TenantParams = z.infer<typeof TenantParamsSchema>;
275
274
  type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
@@ -279,6 +278,6 @@ declare const URL_SAFE_ID_PATTERN: RegExp;
279
278
  declare const resourceIdSchema: z.ZodString;
280
279
  declare function generateIdFromName(name: string): string;
281
280
  type ToolInsert = ToolApiInsert;
282
- type AgentGraphInsert = AgentGraphApiInsert;
281
+ type AgentAgentInsert = AgentAgentApiInsert;
283
282
 
284
- export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, 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 FullGraphDefinition, FullGraphDefinitionSchema, 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 };
283
+ 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,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, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE } from './chunk-H6PMWHNV.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-SLL6V3AE.js';
2
+ import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-3GZBRBXP.js';
3
+ export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-3GZBRBXP.js';
4
4
  import { CredentialStoreType } from './chunk-YFHT5M2R.js';
5
5
  export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
6
6
  import { z } from 'zod';
@@ -60,7 +60,7 @@ var ApiKeyApiSelectSchema = z.object({
60
60
  id: z.string(),
61
61
  tenantId: z.string(),
62
62
  projectId: z.string(),
63
- graphId: z.string(),
63
+ agentId: z.string(),
64
64
  publicId: z.string(),
65
65
  keyHash: z.string(),
66
66
  keyPrefix: z.string(),
@@ -107,17 +107,17 @@ var ExternalAgentApiInsertSchema = z.object({
107
107
  credentialReferenceId: z.string().nullable().optional(),
108
108
  type: z.literal("external").optional()
109
109
  });
110
- var AgentGraphApiInsertSchema = z.object({
110
+ var AgentAgentApiInsertSchema = z.object({
111
111
  id: z.string().optional(),
112
112
  name: z.string(),
113
113
  description: z.string().optional(),
114
114
  defaultSubAgentId: z.string().optional()
115
115
  });
116
- var FullGraphDefinitionSchema = AgentGraphApiInsertSchema.extend({
116
+ var FullAgentDefinitionSchema = AgentAgentApiInsertSchema.extend({
117
117
  subAgents: z.record(
118
118
  z.string(),
119
119
  z.union([
120
- FullGraphAgentInsertSchema,
120
+ FullAgentAgentInsertSchema,
121
121
  ExternalAgentApiInsertSchema.extend({
122
122
  id: z.string()
123
123
  })
@@ -125,7 +125,7 @@ var FullGraphDefinitionSchema = AgentGraphApiInsertSchema.extend({
125
125
  ),
126
126
  // Removed project-scoped resources - these are now managed at project level:
127
127
  // tools, credentialReferences, dataComponents, artifactComponents
128
- // Agent relationships to these resources are maintained via agent.tools, agent.dataComponents, etc.
128
+ // Agent relationships to these resources are maintained vian agent.tools, agent.dataComponents, etc.
129
129
  contextConfig: z.optional(ContextConfigApiInsertSchema),
130
130
  models: z.object({
131
131
  base: z.object({
@@ -144,7 +144,7 @@ var FullGraphDefinitionSchema = AgentGraphApiInsertSchema.extend({
144
144
  stopWhen: z.object({
145
145
  transferCountIs: z.number().min(1).max(100).optional()
146
146
  }).optional(),
147
- graphPrompt: z.string().max(5e3).optional(),
147
+ agentPrompt: z.string().max(5e3).optional(),
148
148
  statusUpdates: z.object({
149
149
  enabled: z.boolean().optional(),
150
150
  numEvents: z.number().min(1).max(100).optional(),
@@ -173,4 +173,4 @@ function generateIdFromName(name) {
173
173
  return name.toLowerCase().replace(/[^a-zA-Z0-9]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "").slice(0, MAX_ID_LENGTH);
174
174
  }
175
175
 
176
- export { AgentApiInsertSchema, AgentGraphApiInsertSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiSelectSchema, ArtifactComponentApiInsertSchema2 as ArtifactComponentApiInsertSchema, ContextConfigApiInsertSchema, CredentialReferenceApiInsertSchema, DataComponentApiInsertSchema, ErrorResponseSchema, ExternalAgentApiInsertSchema, FullGraphDefinitionSchema, IdParamsSchema, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, PaginationSchema, SingleResponseSchema, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
176
+ 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,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';