@inkeep/agents-core 0.0.0-dev-20251014185934 → 0.0.0-dev-20251014190820

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 { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-RCE4G7BW.js';
1
+ import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-XKJPMUGE.js';
2
2
  import { z } from 'zod';
3
3
 
4
4
  var TransferDataSchema = z.object({
@@ -81,11 +81,8 @@ var projects = sqliteTable(
81
81
  {
82
82
  ...tenantScoped,
83
83
  ...uiProperties,
84
- // Project-level default model settings that can be inherited by agents
85
84
  models: text("models", { mode: "json" }).$type(),
86
- // Project-level stopWhen configuration that can be inherited by agents
87
85
  stopWhen: text("stop_when", { mode: "json" }).$type(),
88
- // Project-level sandbox configuration for function execution
89
86
  sandboxConfig: text("sandbox_config", { mode: "json" }).$type(),
90
87
  ...timestamps
91
88
  },
@@ -118,9 +115,7 @@ var contextConfigs = sqliteTable(
118
115
  "context_configs",
119
116
  {
120
117
  ...agentScoped,
121
- // Developer-defined Zod schema for validating incoming request context
122
118
  headersSchema: blob("headers_schema", { mode: "json" }).$type(),
123
- // Object mapping template keys to fetch definitions that use request context data
124
119
  contextVariables: blob("context_variables", { mode: "json" }).$type(),
125
120
  ...timestamps
126
121
  },
@@ -137,15 +132,11 @@ var contextCache = sqliteTable(
137
132
  "context_cache",
138
133
  {
139
134
  ...projectScoped,
140
- // Always scoped to conversation for complete data isolation
141
135
  conversationId: text("conversation_id").notNull(),
142
- // Reference to the context config and specific fetch definition
143
136
  contextConfigId: text("context_config_id").notNull(),
144
137
  contextVariableKey: text("context_variable_key").notNull(),
145
138
  value: blob("value", { mode: "json" }).$type().notNull(),
146
- // Request hash for cache invalidation based on context changes
147
139
  requestHash: text("request_hash"),
148
- // Metadata for monitoring and debugging
149
140
  fetchedAt: text("fetched_at").notNull(),
150
141
  fetchSource: text("fetch_source"),
151
142
  fetchDurationMs: integer("fetch_duration_ms"),
@@ -192,9 +183,7 @@ var subAgentRelations = sqliteTable(
192
183
  {
193
184
  ...agentScoped,
194
185
  sourceSubAgentId: text("source_sub_agent_id").notNull(),
195
- // For internal relationships
196
186
  targetSubAgentId: text("target_sub_agent_id"),
197
- // For external relationships
198
187
  externalSubAgentId: text("external_sub_agent_id"),
199
188
  relationType: text("relation_type"),
200
189
  ...timestamps
@@ -363,9 +352,7 @@ var tools = sqliteTable(
363
352
  config: blob("config", { mode: "json" }).$type().notNull(),
364
353
  credentialReferenceId: text("credential_reference_id"),
365
354
  headers: blob("headers", { mode: "json" }).$type(),
366
- // Image URL for custom tool icon (supports regular URLs and base64 encoded images)
367
355
  imageUrl: text("image_url"),
368
- // Server capabilities and status (only for MCP tools)
369
356
  capabilities: blob("capabilities", { mode: "json" }).$type(),
370
357
  lastError: text("last_error"),
371
358
  ...timestamps
@@ -395,7 +382,6 @@ var functionTools = sqliteTable(
395
382
  foreignColumns: [agents.tenantId, agents.projectId, agents.id],
396
383
  name: "function_tools_agent_fk"
397
384
  }).onDelete("cascade"),
398
- // Foreign key constraint to functions table
399
385
  foreignKey({
400
386
  columns: [table.tenantId, table.projectId, table.functionId],
401
387
  foreignColumns: [functions.tenantId, functions.projectId, functions.id],
@@ -453,13 +439,11 @@ var subAgentFunctionToolRelations = sqliteTable(
453
439
  },
454
440
  (table) => [
455
441
  primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
456
- // Foreign key constraint to sub_agents table
457
442
  foreignKey({
458
443
  columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
459
444
  foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
460
445
  name: "sub_agent_function_tool_relations_sub_agent_fk"
461
446
  }).onDelete("cascade"),
462
- // Foreign key constraint to functionTools table
463
447
  foreignKey({
464
448
  columns: [table.tenantId, table.projectId, table.agentId, table.functionToolId],
465
449
  foreignColumns: [
@@ -497,26 +481,18 @@ var messages = sqliteTable(
497
481
  {
498
482
  ...projectScoped,
499
483
  conversationId: text("conversation_id").notNull(),
500
- // Role mapping: user, agent, system (unified for both formats)
501
484
  role: text("role").notNull(),
502
- // Agent sender/recipient tracking (nullable - only populated when relevant)
503
485
  fromSubAgentId: text("from_sub_agent_id"),
504
486
  toSubAgentId: text("to_sub_agent_id"),
505
- // External agent sender tracking
506
487
  fromExternalAgentId: text("from_external_sub_agent_id"),
507
- // External agent recipient tracking
508
488
  toExternalAgentId: text("to_external_sub_agent_id"),
509
- // Message content stored as JSON to support both formats
510
489
  content: blob("content", { mode: "json" }).$type().notNull(),
511
- // Message classification and filtering
512
490
  visibility: text("visibility").notNull().default("user-facing"),
513
491
  messageType: text("message_type").notNull().default("chat"),
514
492
  taskId: text("task_id"),
515
493
  parentMessageId: text("parent_message_id"),
516
- // A2A specific fields
517
494
  a2aTaskId: text("a2a_task_id"),
518
495
  a2aSessionId: text("a2a_session_id"),
519
- // Metadata for extensions
520
496
  metadata: blob("metadata", { mode: "json" }).$type(),
521
497
  ...timestamps
522
498
  },
@@ -533,17 +509,14 @@ var ledgerArtifacts = sqliteTable(
533
509
  "ledger_artifacts",
534
510
  {
535
511
  ...projectScoped,
536
- // Links
537
512
  taskId: text("task_id").notNull(),
538
513
  toolCallId: text("tool_call_id"),
539
514
  contextId: text("context_id").notNull(),
540
- // Core Artifact fields
541
515
  type: text("type").notNull().default("source"),
542
516
  name: text("name"),
543
517
  description: text("description"),
544
518
  parts: blob("parts", { mode: "json" }).$type(),
545
519
  metadata: blob("metadata", { mode: "json" }).$type(),
546
- // Extra ledger information (not part of the Artifact spec – kept optional)
547
520
  summary: text("summary"),
548
521
  mime: blob("mime", { mode: "json" }).$type(),
549
522
  visibility: text("visibility").default("context"),
@@ -1,4 +1,4 @@
1
- import { subAgents, subAgentRelations, agents, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, functionTools, functions, contextConfigs, subAgentToolRelations, ledgerArtifacts, projects } from './chunk-7GKB2SDR.js';
1
+ import { subAgents, subAgentRelations, agents, tasks, taskRelations, tools, conversations, messages, contextCache, dataComponents, subAgentDataComponents, artifactComponents, subAgentArtifactComponents, externalAgents, apiKeys, credentialReferences, functionTools, functions, contextConfigs, subAgentToolRelations, ledgerArtifacts, projects } from './chunk-TNHJH73I.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';
@@ -58,11 +58,8 @@ var projects = sqliteCore.sqliteTable(
58
58
  {
59
59
  ...tenantScoped,
60
60
  ...uiProperties,
61
- // Project-level default model settings that can be inherited by agents
62
61
  models: sqliteCore.text("models", { mode: "json" }).$type(),
63
- // Project-level stopWhen configuration that can be inherited by agents
64
62
  stopWhen: sqliteCore.text("stop_when", { mode: "json" }).$type(),
65
- // Project-level sandbox configuration for function execution
66
63
  sandboxConfig: sqliteCore.text("sandbox_config", { mode: "json" }).$type(),
67
64
  ...timestamps
68
65
  },
@@ -95,9 +92,7 @@ var contextConfigs = sqliteCore.sqliteTable(
95
92
  "context_configs",
96
93
  {
97
94
  ...agentScoped,
98
- // Developer-defined Zod schema for validating incoming request context
99
95
  headersSchema: sqliteCore.blob("headers_schema", { mode: "json" }).$type(),
100
- // Object mapping template keys to fetch definitions that use request context data
101
96
  contextVariables: sqliteCore.blob("context_variables", { mode: "json" }).$type(),
102
97
  ...timestamps
103
98
  },
@@ -114,15 +109,11 @@ var contextCache = sqliteCore.sqliteTable(
114
109
  "context_cache",
115
110
  {
116
111
  ...projectScoped,
117
- // Always scoped to conversation for complete data isolation
118
112
  conversationId: sqliteCore.text("conversation_id").notNull(),
119
- // Reference to the context config and specific fetch definition
120
113
  contextConfigId: sqliteCore.text("context_config_id").notNull(),
121
114
  contextVariableKey: sqliteCore.text("context_variable_key").notNull(),
122
115
  value: sqliteCore.blob("value", { mode: "json" }).$type().notNull(),
123
- // Request hash for cache invalidation based on context changes
124
116
  requestHash: sqliteCore.text("request_hash"),
125
- // Metadata for monitoring and debugging
126
117
  fetchedAt: sqliteCore.text("fetched_at").notNull(),
127
118
  fetchSource: sqliteCore.text("fetch_source"),
128
119
  fetchDurationMs: sqliteCore.integer("fetch_duration_ms"),
@@ -169,9 +160,7 @@ var subAgentRelations = sqliteCore.sqliteTable(
169
160
  {
170
161
  ...agentScoped,
171
162
  sourceSubAgentId: sqliteCore.text("source_sub_agent_id").notNull(),
172
- // For internal relationships
173
163
  targetSubAgentId: sqliteCore.text("target_sub_agent_id"),
174
- // For external relationships
175
164
  externalSubAgentId: sqliteCore.text("external_sub_agent_id"),
176
165
  relationType: sqliteCore.text("relation_type"),
177
166
  ...timestamps
@@ -340,9 +329,7 @@ var tools = sqliteCore.sqliteTable(
340
329
  config: sqliteCore.blob("config", { mode: "json" }).$type().notNull(),
341
330
  credentialReferenceId: sqliteCore.text("credential_reference_id"),
342
331
  headers: sqliteCore.blob("headers", { mode: "json" }).$type(),
343
- // Image URL for custom tool icon (supports regular URLs and base64 encoded images)
344
332
  imageUrl: sqliteCore.text("image_url"),
345
- // Server capabilities and status (only for MCP tools)
346
333
  capabilities: sqliteCore.blob("capabilities", { mode: "json" }).$type(),
347
334
  lastError: sqliteCore.text("last_error"),
348
335
  ...timestamps
@@ -372,7 +359,6 @@ var functionTools = sqliteCore.sqliteTable(
372
359
  foreignColumns: [agents.tenantId, agents.projectId, agents.id],
373
360
  name: "function_tools_agent_fk"
374
361
  }).onDelete("cascade"),
375
- // Foreign key constraint to functions table
376
362
  sqliteCore.foreignKey({
377
363
  columns: [table.tenantId, table.projectId, table.functionId],
378
364
  foreignColumns: [functions.tenantId, functions.projectId, functions.id],
@@ -430,13 +416,11 @@ var subAgentFunctionToolRelations = sqliteCore.sqliteTable(
430
416
  },
431
417
  (table) => [
432
418
  sqliteCore.primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
433
- // Foreign key constraint to sub_agents table
434
419
  sqliteCore.foreignKey({
435
420
  columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
436
421
  foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
437
422
  name: "sub_agent_function_tool_relations_sub_agent_fk"
438
423
  }).onDelete("cascade"),
439
- // Foreign key constraint to functionTools table
440
424
  sqliteCore.foreignKey({
441
425
  columns: [table.tenantId, table.projectId, table.agentId, table.functionToolId],
442
426
  foreignColumns: [
@@ -474,26 +458,18 @@ var messages = sqliteCore.sqliteTable(
474
458
  {
475
459
  ...projectScoped,
476
460
  conversationId: sqliteCore.text("conversation_id").notNull(),
477
- // Role mapping: user, agent, system (unified for both formats)
478
461
  role: sqliteCore.text("role").notNull(),
479
- // Agent sender/recipient tracking (nullable - only populated when relevant)
480
462
  fromSubAgentId: sqliteCore.text("from_sub_agent_id"),
481
463
  toSubAgentId: sqliteCore.text("to_sub_agent_id"),
482
- // External agent sender tracking
483
464
  fromExternalAgentId: sqliteCore.text("from_external_sub_agent_id"),
484
- // External agent recipient tracking
485
465
  toExternalAgentId: sqliteCore.text("to_external_sub_agent_id"),
486
- // Message content stored as JSON to support both formats
487
466
  content: sqliteCore.blob("content", { mode: "json" }).$type().notNull(),
488
- // Message classification and filtering
489
467
  visibility: sqliteCore.text("visibility").notNull().default("user-facing"),
490
468
  messageType: sqliteCore.text("message_type").notNull().default("chat"),
491
469
  taskId: sqliteCore.text("task_id"),
492
470
  parentMessageId: sqliteCore.text("parent_message_id"),
493
- // A2A specific fields
494
471
  a2aTaskId: sqliteCore.text("a2a_task_id"),
495
472
  a2aSessionId: sqliteCore.text("a2a_session_id"),
496
- // Metadata for extensions
497
473
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
498
474
  ...timestamps
499
475
  },
@@ -510,17 +486,14 @@ var ledgerArtifacts = sqliteCore.sqliteTable(
510
486
  "ledger_artifacts",
511
487
  {
512
488
  ...projectScoped,
513
- // Links
514
489
  taskId: sqliteCore.text("task_id").notNull(),
515
490
  toolCallId: sqliteCore.text("tool_call_id"),
516
491
  contextId: sqliteCore.text("context_id").notNull(),
517
- // Core Artifact fields
518
492
  type: sqliteCore.text("type").notNull().default("source"),
519
493
  name: sqliteCore.text("name"),
520
494
  description: sqliteCore.text("description"),
521
495
  parts: sqliteCore.blob("parts", { mode: "json" }).$type(),
522
496
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
523
- // Extra ledger information (not part of the Artifact spec – kept optional)
524
497
  summary: sqliteCore.text("summary"),
525
498
  mime: sqliteCore.blob("mime", { mode: "json" }).$type(),
526
499
  visibility: sqliteCore.text("visibility").default("context"),
@@ -1,6 +1,6 @@
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
- import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-RCE4G7BW.js';
3
- export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-RCE4G7BW.js';
2
+ import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-XKJPMUGE.js';
3
+ export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, SandboxConfigSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-XKJPMUGE.js';
4
4
  import { CredentialStoreType } from './chunk-YFHT5M2R.js';
5
5
  export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
6
6
  import { z } from 'zod';
@@ -33,11 +33,8 @@ var projects = sqliteCore.sqliteTable(
33
33
  {
34
34
  ...tenantScoped,
35
35
  ...uiProperties,
36
- // Project-level default model settings that can be inherited by agents
37
36
  models: sqliteCore.text("models", { mode: "json" }).$type(),
38
- // Project-level stopWhen configuration that can be inherited by agents
39
37
  stopWhen: sqliteCore.text("stop_when", { mode: "json" }).$type(),
40
- // Project-level sandbox configuration for function execution
41
38
  sandboxConfig: sqliteCore.text("sandbox_config", { mode: "json" }).$type(),
42
39
  ...timestamps
43
40
  },
@@ -70,9 +67,7 @@ var contextConfigs = sqliteCore.sqliteTable(
70
67
  "context_configs",
71
68
  {
72
69
  ...agentScoped,
73
- // Developer-defined Zod schema for validating incoming request context
74
70
  headersSchema: sqliteCore.blob("headers_schema", { mode: "json" }).$type(),
75
- // Object mapping template keys to fetch definitions that use request context data
76
71
  contextVariables: sqliteCore.blob("context_variables", { mode: "json" }).$type(),
77
72
  ...timestamps
78
73
  },
@@ -89,15 +84,11 @@ var contextCache = sqliteCore.sqliteTable(
89
84
  "context_cache",
90
85
  {
91
86
  ...projectScoped,
92
- // Always scoped to conversation for complete data isolation
93
87
  conversationId: sqliteCore.text("conversation_id").notNull(),
94
- // Reference to the context config and specific fetch definition
95
88
  contextConfigId: sqliteCore.text("context_config_id").notNull(),
96
89
  contextVariableKey: sqliteCore.text("context_variable_key").notNull(),
97
90
  value: sqliteCore.blob("value", { mode: "json" }).$type().notNull(),
98
- // Request hash for cache invalidation based on context changes
99
91
  requestHash: sqliteCore.text("request_hash"),
100
- // Metadata for monitoring and debugging
101
92
  fetchedAt: sqliteCore.text("fetched_at").notNull(),
102
93
  fetchSource: sqliteCore.text("fetch_source"),
103
94
  fetchDurationMs: sqliteCore.integer("fetch_duration_ms"),
@@ -144,9 +135,7 @@ var subAgentRelations = sqliteCore.sqliteTable(
144
135
  {
145
136
  ...agentScoped,
146
137
  sourceSubAgentId: sqliteCore.text("source_sub_agent_id").notNull(),
147
- // For internal relationships
148
138
  targetSubAgentId: sqliteCore.text("target_sub_agent_id"),
149
- // For external relationships
150
139
  externalSubAgentId: sqliteCore.text("external_sub_agent_id"),
151
140
  relationType: sqliteCore.text("relation_type"),
152
141
  ...timestamps
@@ -315,9 +304,7 @@ var tools = sqliteCore.sqliteTable(
315
304
  config: sqliteCore.blob("config", { mode: "json" }).$type().notNull(),
316
305
  credentialReferenceId: sqliteCore.text("credential_reference_id"),
317
306
  headers: sqliteCore.blob("headers", { mode: "json" }).$type(),
318
- // Image URL for custom tool icon (supports regular URLs and base64 encoded images)
319
307
  imageUrl: sqliteCore.text("image_url"),
320
- // Server capabilities and status (only for MCP tools)
321
308
  capabilities: sqliteCore.blob("capabilities", { mode: "json" }).$type(),
322
309
  lastError: sqliteCore.text("last_error"),
323
310
  ...timestamps
@@ -347,7 +334,6 @@ var functionTools = sqliteCore.sqliteTable(
347
334
  foreignColumns: [agents.tenantId, agents.projectId, agents.id],
348
335
  name: "function_tools_agent_fk"
349
336
  }).onDelete("cascade"),
350
- // Foreign key constraint to functions table
351
337
  sqliteCore.foreignKey({
352
338
  columns: [table.tenantId, table.projectId, table.functionId],
353
339
  foreignColumns: [functions.tenantId, functions.projectId, functions.id],
@@ -405,13 +391,11 @@ var subAgentFunctionToolRelations = sqliteCore.sqliteTable(
405
391
  },
406
392
  (table) => [
407
393
  sqliteCore.primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
408
- // Foreign key constraint to sub_agents table
409
394
  sqliteCore.foreignKey({
410
395
  columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
411
396
  foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
412
397
  name: "sub_agent_function_tool_relations_sub_agent_fk"
413
398
  }).onDelete("cascade"),
414
- // Foreign key constraint to functionTools table
415
399
  sqliteCore.foreignKey({
416
400
  columns: [table.tenantId, table.projectId, table.agentId, table.functionToolId],
417
401
  foreignColumns: [
@@ -449,26 +433,18 @@ var messages = sqliteCore.sqliteTable(
449
433
  {
450
434
  ...projectScoped,
451
435
  conversationId: sqliteCore.text("conversation_id").notNull(),
452
- // Role mapping: user, agent, system (unified for both formats)
453
436
  role: sqliteCore.text("role").notNull(),
454
- // Agent sender/recipient tracking (nullable - only populated when relevant)
455
437
  fromSubAgentId: sqliteCore.text("from_sub_agent_id"),
456
438
  toSubAgentId: sqliteCore.text("to_sub_agent_id"),
457
- // External agent sender tracking
458
439
  fromExternalAgentId: sqliteCore.text("from_external_sub_agent_id"),
459
- // External agent recipient tracking
460
440
  toExternalAgentId: sqliteCore.text("to_external_sub_agent_id"),
461
- // Message content stored as JSON to support both formats
462
441
  content: sqliteCore.blob("content", { mode: "json" }).$type().notNull(),
463
- // Message classification and filtering
464
442
  visibility: sqliteCore.text("visibility").notNull().default("user-facing"),
465
443
  messageType: sqliteCore.text("message_type").notNull().default("chat"),
466
444
  taskId: sqliteCore.text("task_id"),
467
445
  parentMessageId: sqliteCore.text("parent_message_id"),
468
- // A2A specific fields
469
446
  a2aTaskId: sqliteCore.text("a2a_task_id"),
470
447
  a2aSessionId: sqliteCore.text("a2a_session_id"),
471
- // Metadata for extensions
472
448
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
473
449
  ...timestamps
474
450
  },
@@ -485,17 +461,14 @@ var ledgerArtifacts = sqliteCore.sqliteTable(
485
461
  "ledger_artifacts",
486
462
  {
487
463
  ...projectScoped,
488
- // Links
489
464
  taskId: sqliteCore.text("task_id").notNull(),
490
465
  toolCallId: sqliteCore.text("tool_call_id"),
491
466
  contextId: sqliteCore.text("context_id").notNull(),
492
- // Core Artifact fields
493
467
  type: sqliteCore.text("type").notNull().default("source"),
494
468
  name: sqliteCore.text("name"),
495
469
  description: sqliteCore.text("description"),
496
470
  parts: sqliteCore.blob("parts", { mode: "json" }).$type(),
497
471
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
498
- // Extra ledger information (not part of the Artifact spec – kept optional)
499
472
  summary: sqliteCore.text("summary"),
500
473
  mime: sqliteCore.blob("mime", { mode: "json" }).$type(),
501
474
  visibility: sqliteCore.text("visibility").default("context"),
package/dist/db/schema.js CHANGED
@@ -1 +1 @@
1
- export { agentRelations, agentToolRelationsRelations, agents, 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, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-7GKB2SDR.js';
1
+ export { agentRelations, agentToolRelationsRelations, agents, 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, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from '../chunk-TNHJH73I.js';
package/dist/index.cjs CHANGED
@@ -213509,11 +213509,8 @@ var projects = sqliteCore.sqliteTable(
213509
213509
  {
213510
213510
  ...tenantScoped,
213511
213511
  ...uiProperties,
213512
- // Project-level default model settings that can be inherited by agents
213513
213512
  models: sqliteCore.text("models", { mode: "json" }).$type(),
213514
- // Project-level stopWhen configuration that can be inherited by agents
213515
213513
  stopWhen: sqliteCore.text("stop_when", { mode: "json" }).$type(),
213516
- // Project-level sandbox configuration for function execution
213517
213514
  sandboxConfig: sqliteCore.text("sandbox_config", { mode: "json" }).$type(),
213518
213515
  ...timestamps
213519
213516
  },
@@ -213546,9 +213543,7 @@ var contextConfigs = sqliteCore.sqliteTable(
213546
213543
  "context_configs",
213547
213544
  {
213548
213545
  ...agentScoped,
213549
- // Developer-defined Zod schema for validating incoming request context
213550
213546
  headersSchema: sqliteCore.blob("headers_schema", { mode: "json" }).$type(),
213551
- // Object mapping template keys to fetch definitions that use request context data
213552
213547
  contextVariables: sqliteCore.blob("context_variables", { mode: "json" }).$type(),
213553
213548
  ...timestamps
213554
213549
  },
@@ -213565,15 +213560,11 @@ var contextCache = sqliteCore.sqliteTable(
213565
213560
  "context_cache",
213566
213561
  {
213567
213562
  ...projectScoped,
213568
- // Always scoped to conversation for complete data isolation
213569
213563
  conversationId: sqliteCore.text("conversation_id").notNull(),
213570
- // Reference to the context config and specific fetch definition
213571
213564
  contextConfigId: sqliteCore.text("context_config_id").notNull(),
213572
213565
  contextVariableKey: sqliteCore.text("context_variable_key").notNull(),
213573
213566
  value: sqliteCore.blob("value", { mode: "json" }).$type().notNull(),
213574
- // Request hash for cache invalidation based on context changes
213575
213567
  requestHash: sqliteCore.text("request_hash"),
213576
- // Metadata for monitoring and debugging
213577
213568
  fetchedAt: sqliteCore.text("fetched_at").notNull(),
213578
213569
  fetchSource: sqliteCore.text("fetch_source"),
213579
213570
  fetchDurationMs: sqliteCore.integer("fetch_duration_ms"),
@@ -213620,9 +213611,7 @@ var subAgentRelations = sqliteCore.sqliteTable(
213620
213611
  {
213621
213612
  ...agentScoped,
213622
213613
  sourceSubAgentId: sqliteCore.text("source_sub_agent_id").notNull(),
213623
- // For internal relationships
213624
213614
  targetSubAgentId: sqliteCore.text("target_sub_agent_id"),
213625
- // For external relationships
213626
213615
  externalSubAgentId: sqliteCore.text("external_sub_agent_id"),
213627
213616
  relationType: sqliteCore.text("relation_type"),
213628
213617
  ...timestamps
@@ -213791,9 +213780,7 @@ var tools = sqliteCore.sqliteTable(
213791
213780
  config: sqliteCore.blob("config", { mode: "json" }).$type().notNull(),
213792
213781
  credentialReferenceId: sqliteCore.text("credential_reference_id"),
213793
213782
  headers: sqliteCore.blob("headers", { mode: "json" }).$type(),
213794
- // Image URL for custom tool icon (supports regular URLs and base64 encoded images)
213795
213783
  imageUrl: sqliteCore.text("image_url"),
213796
- // Server capabilities and status (only for MCP tools)
213797
213784
  capabilities: sqliteCore.blob("capabilities", { mode: "json" }).$type(),
213798
213785
  lastError: sqliteCore.text("last_error"),
213799
213786
  ...timestamps
@@ -213823,7 +213810,6 @@ var functionTools = sqliteCore.sqliteTable(
213823
213810
  foreignColumns: [agents.tenantId, agents.projectId, agents.id],
213824
213811
  name: "function_tools_agent_fk"
213825
213812
  }).onDelete("cascade"),
213826
- // Foreign key constraint to functions table
213827
213813
  sqliteCore.foreignKey({
213828
213814
  columns: [table.tenantId, table.projectId, table.functionId],
213829
213815
  foreignColumns: [functions.tenantId, functions.projectId, functions.id],
@@ -213881,13 +213867,11 @@ var subAgentFunctionToolRelations = sqliteCore.sqliteTable(
213881
213867
  },
213882
213868
  (table) => [
213883
213869
  sqliteCore.primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
213884
- // Foreign key constraint to sub_agents table
213885
213870
  sqliteCore.foreignKey({
213886
213871
  columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
213887
213872
  foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
213888
213873
  name: "sub_agent_function_tool_relations_sub_agent_fk"
213889
213874
  }).onDelete("cascade"),
213890
- // Foreign key constraint to functionTools table
213891
213875
  sqliteCore.foreignKey({
213892
213876
  columns: [table.tenantId, table.projectId, table.agentId, table.functionToolId],
213893
213877
  foreignColumns: [
@@ -213925,26 +213909,18 @@ var messages = sqliteCore.sqliteTable(
213925
213909
  {
213926
213910
  ...projectScoped,
213927
213911
  conversationId: sqliteCore.text("conversation_id").notNull(),
213928
- // Role mapping: user, agent, system (unified for both formats)
213929
213912
  role: sqliteCore.text("role").notNull(),
213930
- // Agent sender/recipient tracking (nullable - only populated when relevant)
213931
213913
  fromSubAgentId: sqliteCore.text("from_sub_agent_id"),
213932
213914
  toSubAgentId: sqliteCore.text("to_sub_agent_id"),
213933
- // External agent sender tracking
213934
213915
  fromExternalAgentId: sqliteCore.text("from_external_sub_agent_id"),
213935
- // External agent recipient tracking
213936
213916
  toExternalAgentId: sqliteCore.text("to_external_sub_agent_id"),
213937
- // Message content stored as JSON to support both formats
213938
213917
  content: sqliteCore.blob("content", { mode: "json" }).$type().notNull(),
213939
- // Message classification and filtering
213940
213918
  visibility: sqliteCore.text("visibility").notNull().default("user-facing"),
213941
213919
  messageType: sqliteCore.text("message_type").notNull().default("chat"),
213942
213920
  taskId: sqliteCore.text("task_id"),
213943
213921
  parentMessageId: sqliteCore.text("parent_message_id"),
213944
- // A2A specific fields
213945
213922
  a2aTaskId: sqliteCore.text("a2a_task_id"),
213946
213923
  a2aSessionId: sqliteCore.text("a2a_session_id"),
213947
- // Metadata for extensions
213948
213924
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
213949
213925
  ...timestamps
213950
213926
  },
@@ -213961,17 +213937,14 @@ var ledgerArtifacts = sqliteCore.sqliteTable(
213961
213937
  "ledger_artifacts",
213962
213938
  {
213963
213939
  ...projectScoped,
213964
- // Links
213965
213940
  taskId: sqliteCore.text("task_id").notNull(),
213966
213941
  toolCallId: sqliteCore.text("tool_call_id"),
213967
213942
  contextId: sqliteCore.text("context_id").notNull(),
213968
- // Core Artifact fields
213969
213943
  type: sqliteCore.text("type").notNull().default("source"),
213970
213944
  name: sqliteCore.text("name"),
213971
213945
  description: sqliteCore.text("description"),
213972
213946
  parts: sqliteCore.blob("parts", { mode: "json" }).$type(),
213973
213947
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
213974
- // Extra ledger information (not part of the Artifact spec – kept optional)
213975
213948
  summary: sqliteCore.text("summary"),
213976
213949
  mime: sqliteCore.blob("mime", { mode: "json" }).$type(),
213977
213950
  visibility: sqliteCore.text("visibility").default("context"),
@@ -222580,8 +222553,6 @@ var getFullProject = (db, logger14 = defaultLogger2) => async (params) => {
222580
222553
  imageUrl: tool2.imageUrl || void 0,
222581
222554
  capabilities: tool2.capabilities || void 0,
222582
222555
  lastError: tool2.lastError || void 0
222583
- // Don't include runtime fields in configuration
222584
- // status, lastHealthCheck, availableTools, activeTools, lastToolsSync are all runtime
222585
222556
  };
222586
222557
  }
222587
222558
  logger14.info(
package/dist/index.js CHANGED
@@ -1,16 +1,16 @@
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
2
  export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-TTIPV5QP.js';
3
+ import { getLogger, convertZodToJsonSchema } from './chunk-YECQCT5N.js';
4
+ export { PinoLogger, convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, getLogger, isZodSchema, loggerFactory, preview } from './chunk-YECQCT5N.js';
3
5
  export { TaskState } from './chunk-H2F72PDA.js';
4
- import { validateAndTypeAgentData, validateAgentStructure, isInternalAgent, isExternalAgent } from './chunk-VTNB6CCI.js';
5
- export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from './chunk-VTNB6CCI.js';
6
- import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-RCE4G7BW.js';
7
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SandboxConfigSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from './chunk-RCE4G7BW.js';
8
- import { schema_exports, contextConfigs, externalAgents, functions, functionTools, subAgentFunctionToolRelations, subAgentRelations, subAgents, subAgentToolRelations, tools, credentialReferences, agents, subAgentDataComponents, subAgentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, ledgerArtifacts, tasks, taskRelations } from './chunk-7GKB2SDR.js';
9
- export { agentRelations, agentToolRelationsRelations, agents, 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, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-7GKB2SDR.js';
6
+ import { validateAndTypeAgentData, validateAgentStructure, isInternalAgent, isExternalAgent } from './chunk-QEXLYPVZ.js';
7
+ export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from './chunk-QEXLYPVZ.js';
8
+ import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-XKJPMUGE.js';
9
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SandboxConfigSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from './chunk-XKJPMUGE.js';
10
+ import { schema_exports, contextConfigs, externalAgents, functions, functionTools, subAgentFunctionToolRelations, subAgentRelations, subAgents, subAgentToolRelations, tools, credentialReferences, agents, subAgentDataComponents, subAgentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, ledgerArtifacts, tasks, taskRelations } from './chunk-TNHJH73I.js';
11
+ export { agentRelations, agentToolRelationsRelations, agents, 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, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-TNHJH73I.js';
10
12
  import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
11
13
  export { CredentialStoreType, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from './chunk-YFHT5M2R.js';
12
- import { getLogger, convertZodToJsonSchema } from './chunk-YECQCT5N.js';
13
- export { PinoLogger, convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, getLogger, isZodSchema, loggerFactory, preview } from './chunk-YECQCT5N.js';
14
14
  import { __commonJS, __require, __publicField } from './chunk-E6R6PML7.js';
15
15
  import { z as z$1 } from 'zod';
16
16
  import { customAlphabet, nanoid } from 'nanoid';
@@ -220061,8 +220061,6 @@ var getFullProject = (db, logger13 = defaultLogger2) => async (params) => {
220061
220061
  imageUrl: tool2.imageUrl || void 0,
220062
220062
  capabilities: tool2.capabilities || void 0,
220063
220063
  lastError: tool2.lastError || void 0
220064
- // Don't include runtime fields in configuration
220065
- // status, lastHealthCheck, availableTools, activeTools, lastToolsSync are all runtime
220066
220064
  };
220067
220065
  }
220068
220066
  logger13.info(
@@ -78,11 +78,8 @@ var projects = sqliteCore.sqliteTable(
78
78
  {
79
79
  ...tenantScoped,
80
80
  ...uiProperties,
81
- // Project-level default model settings that can be inherited by agents
82
81
  models: sqliteCore.text("models", { mode: "json" }).$type(),
83
- // Project-level stopWhen configuration that can be inherited by agents
84
82
  stopWhen: sqliteCore.text("stop_when", { mode: "json" }).$type(),
85
- // Project-level sandbox configuration for function execution
86
83
  sandboxConfig: sqliteCore.text("sandbox_config", { mode: "json" }).$type(),
87
84
  ...timestamps
88
85
  },
@@ -115,9 +112,7 @@ var contextConfigs = sqliteCore.sqliteTable(
115
112
  "context_configs",
116
113
  {
117
114
  ...agentScoped,
118
- // Developer-defined Zod schema for validating incoming request context
119
115
  headersSchema: sqliteCore.blob("headers_schema", { mode: "json" }).$type(),
120
- // Object mapping template keys to fetch definitions that use request context data
121
116
  contextVariables: sqliteCore.blob("context_variables", { mode: "json" }).$type(),
122
117
  ...timestamps
123
118
  },
@@ -134,15 +129,11 @@ var contextCache = sqliteCore.sqliteTable(
134
129
  "context_cache",
135
130
  {
136
131
  ...projectScoped,
137
- // Always scoped to conversation for complete data isolation
138
132
  conversationId: sqliteCore.text("conversation_id").notNull(),
139
- // Reference to the context config and specific fetch definition
140
133
  contextConfigId: sqliteCore.text("context_config_id").notNull(),
141
134
  contextVariableKey: sqliteCore.text("context_variable_key").notNull(),
142
135
  value: sqliteCore.blob("value", { mode: "json" }).$type().notNull(),
143
- // Request hash for cache invalidation based on context changes
144
136
  requestHash: sqliteCore.text("request_hash"),
145
- // Metadata for monitoring and debugging
146
137
  fetchedAt: sqliteCore.text("fetched_at").notNull(),
147
138
  fetchSource: sqliteCore.text("fetch_source"),
148
139
  fetchDurationMs: sqliteCore.integer("fetch_duration_ms"),
@@ -189,9 +180,7 @@ var subAgentRelations = sqliteCore.sqliteTable(
189
180
  {
190
181
  ...agentScoped,
191
182
  sourceSubAgentId: sqliteCore.text("source_sub_agent_id").notNull(),
192
- // For internal relationships
193
183
  targetSubAgentId: sqliteCore.text("target_sub_agent_id"),
194
- // For external relationships
195
184
  externalSubAgentId: sqliteCore.text("external_sub_agent_id"),
196
185
  relationType: sqliteCore.text("relation_type"),
197
186
  ...timestamps
@@ -360,9 +349,7 @@ var tools = sqliteCore.sqliteTable(
360
349
  config: sqliteCore.blob("config", { mode: "json" }).$type().notNull(),
361
350
  credentialReferenceId: sqliteCore.text("credential_reference_id"),
362
351
  headers: sqliteCore.blob("headers", { mode: "json" }).$type(),
363
- // Image URL for custom tool icon (supports regular URLs and base64 encoded images)
364
352
  imageUrl: sqliteCore.text("image_url"),
365
- // Server capabilities and status (only for MCP tools)
366
353
  capabilities: sqliteCore.blob("capabilities", { mode: "json" }).$type(),
367
354
  lastError: sqliteCore.text("last_error"),
368
355
  ...timestamps
@@ -392,7 +379,6 @@ var functionTools = sqliteCore.sqliteTable(
392
379
  foreignColumns: [agents.tenantId, agents.projectId, agents.id],
393
380
  name: "function_tools_agent_fk"
394
381
  }).onDelete("cascade"),
395
- // Foreign key constraint to functions table
396
382
  sqliteCore.foreignKey({
397
383
  columns: [table.tenantId, table.projectId, table.functionId],
398
384
  foreignColumns: [functions.tenantId, functions.projectId, functions.id],
@@ -450,13 +436,11 @@ var subAgentFunctionToolRelations = sqliteCore.sqliteTable(
450
436
  },
451
437
  (table) => [
452
438
  sqliteCore.primaryKey({ columns: [table.tenantId, table.projectId, table.agentId, table.id] }),
453
- // Foreign key constraint to sub_agents table
454
439
  sqliteCore.foreignKey({
455
440
  columns: [table.tenantId, table.projectId, table.agentId, table.subAgentId],
456
441
  foreignColumns: [subAgents.tenantId, subAgents.projectId, subAgents.agentId, subAgents.id],
457
442
  name: "sub_agent_function_tool_relations_sub_agent_fk"
458
443
  }).onDelete("cascade"),
459
- // Foreign key constraint to functionTools table
460
444
  sqliteCore.foreignKey({
461
445
  columns: [table.tenantId, table.projectId, table.agentId, table.functionToolId],
462
446
  foreignColumns: [
@@ -494,26 +478,18 @@ var messages = sqliteCore.sqliteTable(
494
478
  {
495
479
  ...projectScoped,
496
480
  conversationId: sqliteCore.text("conversation_id").notNull(),
497
- // Role mapping: user, agent, system (unified for both formats)
498
481
  role: sqliteCore.text("role").notNull(),
499
- // Agent sender/recipient tracking (nullable - only populated when relevant)
500
482
  fromSubAgentId: sqliteCore.text("from_sub_agent_id"),
501
483
  toSubAgentId: sqliteCore.text("to_sub_agent_id"),
502
- // External agent sender tracking
503
484
  fromExternalAgentId: sqliteCore.text("from_external_sub_agent_id"),
504
- // External agent recipient tracking
505
485
  toExternalAgentId: sqliteCore.text("to_external_sub_agent_id"),
506
- // Message content stored as JSON to support both formats
507
486
  content: sqliteCore.blob("content", { mode: "json" }).$type().notNull(),
508
- // Message classification and filtering
509
487
  visibility: sqliteCore.text("visibility").notNull().default("user-facing"),
510
488
  messageType: sqliteCore.text("message_type").notNull().default("chat"),
511
489
  taskId: sqliteCore.text("task_id"),
512
490
  parentMessageId: sqliteCore.text("parent_message_id"),
513
- // A2A specific fields
514
491
  a2aTaskId: sqliteCore.text("a2a_task_id"),
515
492
  a2aSessionId: sqliteCore.text("a2a_session_id"),
516
- // Metadata for extensions
517
493
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
518
494
  ...timestamps
519
495
  },
@@ -530,17 +506,14 @@ var ledgerArtifacts = sqliteCore.sqliteTable(
530
506
  "ledger_artifacts",
531
507
  {
532
508
  ...projectScoped,
533
- // Links
534
509
  taskId: sqliteCore.text("task_id").notNull(),
535
510
  toolCallId: sqliteCore.text("tool_call_id"),
536
511
  contextId: sqliteCore.text("context_id").notNull(),
537
- // Core Artifact fields
538
512
  type: sqliteCore.text("type").notNull().default("source"),
539
513
  name: sqliteCore.text("name"),
540
514
  description: sqliteCore.text("description"),
541
515
  parts: sqliteCore.blob("parts", { mode: "json" }).$type(),
542
516
  metadata: sqliteCore.blob("metadata", { mode: "json" }).$type(),
543
- // Extra ledger information (not part of the Artifact spec – kept optional)
544
517
  summary: sqliteCore.text("summary"),
545
518
  mime: sqliteCore.blob("mime", { mode: "json" }).$type(),
546
519
  visibility: sqliteCore.text("visibility").default("context"),
@@ -1,2 +1,2 @@
1
- export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from '../chunk-VTNB6CCI.js';
2
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SandboxConfigSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-RCE4G7BW.js';
1
+ export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateToolReferences } from '../chunk-QEXLYPVZ.js';
2
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SandboxConfigSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-XKJPMUGE.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20251014185934",
3
+ "version": "0.0.0-dev-20251014190820",
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",