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

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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/{chunk-ASA7FU3H.js → chunk-3GZBRBXP.js} +84 -87
  3. package/dist/{chunk-JK3LPVOW.js → chunk-3XUV5Q4D.js} +34 -34
  4. package/dist/{chunk-OEKS3RQI.js → chunk-B6F3RF4T.js} +86 -119
  5. package/dist/{chunk-H6PMWHNV.js → chunk-SLL6V3AE.js} +12 -12
  6. package/dist/client-exports.cjs +189 -225
  7. package/dist/client-exports.d.cts +13 -14
  8. package/dist/client-exports.d.ts +13 -14
  9. package/dist/client-exports.js +10 -10
  10. package/dist/db/schema.cjs +85 -118
  11. package/dist/db/schema.d.cts +2 -3
  12. package/dist/db/schema.d.ts +2 -3
  13. package/dist/db/schema.js +1 -1
  14. package/dist/index.cjs +983 -1038
  15. package/dist/index.d.cts +208 -208
  16. package/dist/index.d.ts +208 -208
  17. package/dist/index.js +744 -762
  18. package/dist/{schema-ULFEZCOL.d.cts → schema-Dp-qgdBT.d.ts} +54 -52
  19. package/dist/{schema-wbZXiVWb.d.ts → schema-DrDaCn6H.d.cts} +54 -52
  20. package/dist/{signoz-queries-BuiipZTk.d.cts → signoz-queries-CuWMQh1H.d.cts} +10 -10
  21. package/dist/{signoz-queries-BuiipZTk.d.ts → signoz-queries-CuWMQh1H.d.ts} +10 -10
  22. package/dist/types/index.d.cts +2 -3
  23. package/dist/types/index.d.ts +2 -3
  24. package/dist/{utility-CyPQ1tC_.d.cts → utility-BxbySenH.d.cts} +152 -301
  25. package/dist/{utility-CyPQ1tC_.d.ts → utility-BxbySenH.d.ts} +152 -301
  26. package/dist/validation/index.cjs +212 -249
  27. package/dist/validation/index.d.cts +12 -13
  28. package/dist/validation/index.d.ts +12 -13
  29. package/dist/validation/index.js +2 -2
  30. package/drizzle/0007_mighty_typhoid_mary.sql +227 -0
  31. package/drizzle/meta/0007_snapshot.json +2766 -0
  32. package/drizzle/meta/_journal.json +7 -0
  33. package/package.json +2 -1
@@ -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-ASA7FU3H.js';
3
- export { SubAgentStopWhenSchema as AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-ASA7FU3H.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 };