@inkeep/agents-core 0.17.0 → 0.18.1

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 (36) hide show
  1. package/README.md +2 -2
  2. package/dist/{chunk-TO2HNKGP.js → chunk-E4SFK6AI.js} +143 -157
  3. package/dist/chunk-H6PMWHNV.js +278 -0
  4. package/dist/{chunk-VPJ6Z5QZ.js → chunk-ID4CFGVF.js} +202 -131
  5. package/dist/chunk-JTHQYGCX.js +173 -0
  6. package/dist/client-exports.cjs +628 -272
  7. package/dist/client-exports.d.cts +6 -5
  8. package/dist/client-exports.d.ts +6 -5
  9. package/dist/client-exports.js +5 -4
  10. package/dist/db/schema.cjs +201 -130
  11. package/dist/db/schema.d.cts +2 -2
  12. package/dist/db/schema.d.ts +2 -2
  13. package/dist/db/schema.js +1 -1
  14. package/dist/index.cjs +2740 -1831
  15. package/dist/index.d.cts +1664 -1544
  16. package/dist/index.d.ts +1664 -1544
  17. package/dist/index.js +1953 -1467
  18. package/dist/{schema-Ct2NlO81.d.cts → schema-ULFEZCOL.d.cts} +475 -174
  19. package/dist/{schema-BQk_FMBV.d.ts → schema-wbZXiVWb.d.ts} +475 -174
  20. package/dist/signoz-queries-BuiipZTk.d.cts +274 -0
  21. package/dist/signoz-queries-BuiipZTk.d.ts +274 -0
  22. package/dist/types/index.d.cts +2 -2
  23. package/dist/types/index.d.ts +2 -2
  24. package/dist/{utility-s9c5CVOe.d.cts → utility-CyPQ1tC_.d.cts} +591 -390
  25. package/dist/{utility-s9c5CVOe.d.ts → utility-CyPQ1tC_.d.ts} +591 -390
  26. package/dist/validation/index.cjs +429 -325
  27. package/dist/validation/index.d.cts +76 -4
  28. package/dist/validation/index.d.ts +76 -4
  29. package/dist/validation/index.js +2 -2
  30. package/drizzle/0005_wide_shriek.sql +127 -0
  31. package/drizzle/0006_damp_lenny_balinger.sql +52 -0
  32. package/drizzle/meta/0005_snapshot.json +2558 -0
  33. package/drizzle/meta/0006_snapshot.json +2751 -0
  34. package/drizzle/meta/_journal.json +14 -0
  35. package/package.json +1 -1
  36. package/dist/chunk-L53XWAYG.js +0 -134
@@ -1,6 +1,7 @@
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
2
  import { z } from 'zod';
2
- import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-s9c5CVOe.cjs';
3
- 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-s9c5CVOe.cjs';
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';
4
5
  export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
5
6
  import 'drizzle-zod';
6
7
  import 'drizzle-orm/sqlite-core';
@@ -156,14 +157,14 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
156
157
  id: z.ZodOptional<z.ZodString>;
157
158
  name: z.ZodString;
158
159
  description: z.ZodOptional<z.ZodString>;
159
- defaultAgentId: z.ZodOptional<z.ZodString>;
160
+ defaultSubAgentId: z.ZodOptional<z.ZodString>;
160
161
  }, z.core.$strip>;
161
162
  declare const FullGraphDefinitionSchema: z.ZodObject<{
162
163
  id: z.ZodOptional<z.ZodString>;
163
164
  name: z.ZodString;
164
165
  description: z.ZodOptional<z.ZodString>;
165
- defaultAgentId: z.ZodOptional<z.ZodString>;
166
- agents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
166
+ defaultSubAgentId: z.ZodOptional<z.ZodString>;
167
+ subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
167
168
  id: z.ZodString;
168
169
  name: z.ZodString;
169
170
  description: z.ZodString;
@@ -1,6 +1,7 @@
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
2
  import { z } from 'zod';
2
- import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullGraphAgentInsertSchema } from './utility-s9c5CVOe.js';
3
- 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-s9c5CVOe.js';
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';
4
5
  export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
5
6
  import 'drizzle-zod';
6
7
  import 'drizzle-orm/sqlite-core';
@@ -156,14 +157,14 @@ declare const AgentGraphApiInsertSchema: z.ZodObject<{
156
157
  id: z.ZodOptional<z.ZodString>;
157
158
  name: z.ZodString;
158
159
  description: z.ZodOptional<z.ZodString>;
159
- defaultAgentId: z.ZodOptional<z.ZodString>;
160
+ defaultSubAgentId: z.ZodOptional<z.ZodString>;
160
161
  }, z.core.$strip>;
161
162
  declare const FullGraphDefinitionSchema: z.ZodObject<{
162
163
  id: z.ZodOptional<z.ZodString>;
163
164
  name: z.ZodString;
164
165
  description: z.ZodOptional<z.ZodString>;
165
- defaultAgentId: z.ZodOptional<z.ZodString>;
166
- agents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
166
+ defaultSubAgentId: z.ZodOptional<z.ZodString>;
167
+ subAgents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
167
168
  id: z.ZodString;
168
169
  name: z.ZodString;
169
170
  description: z.ZodString;
@@ -1,5 +1,6 @@
1
- import { ModelSettingsSchema, FullGraphAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-TO2HNKGP.js';
2
- export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-TO2HNKGP.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-E4SFK6AI.js';
3
+ export { SubAgentStopWhenSchema as AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, GraphStopWhenSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, validatePropsAsJsonSchema } from './chunk-E4SFK6AI.js';
3
4
  import { CredentialStoreType } from './chunk-YFHT5M2R.js';
4
5
  export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
5
6
  import { z } from 'zod';
@@ -110,10 +111,10 @@ var AgentGraphApiInsertSchema = z.object({
110
111
  id: z.string().optional(),
111
112
  name: z.string(),
112
113
  description: z.string().optional(),
113
- defaultAgentId: z.string().optional()
114
+ defaultSubAgentId: z.string().optional()
114
115
  });
115
116
  var FullGraphDefinitionSchema = AgentGraphApiInsertSchema.extend({
116
- agents: z.record(
117
+ subAgents: z.record(
117
118
  z.string(),
118
119
  z.union([
119
120
  FullGraphAgentInsertSchema,