@inkeep/agents-core 0.14.15 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { FullGraphDefinitionSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-423XYZ6F.js';
1
+ import { FullGraphDefinitionSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-FMCAYVO7.js';
2
2
 
3
3
  // src/validation/graphFull.ts
4
4
  function isInternalAgent(agent) {
@@ -408,9 +408,15 @@ var ContextConfigInsertSchema = createInsertSchema(contextConfigs).extend({
408
408
  updatedAt: true
409
409
  });
410
410
  var ContextConfigUpdateSchema = ContextConfigInsertSchema.partial();
411
- var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema);
412
- var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema);
413
- var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema);
411
+ var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema).omit({
412
+ graphId: true
413
+ });
414
+ var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema).omit({
415
+ graphId: true
416
+ });
417
+ var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema).omit({
418
+ graphId: true
419
+ });
414
420
  var AgentToolRelationSelectSchema = createSelectSchema(agentToolRelations);
415
421
  var AgentToolRelationInsertSchema = createInsertSchema(agentToolRelations).extend({
416
422
  id: resourceIdSchema,
@@ -1224,9 +1224,15 @@ var ContextConfigInsertSchema = drizzleZod.createInsertSchema(contextConfigs).ex
1224
1224
  updatedAt: true
1225
1225
  });
1226
1226
  var ContextConfigUpdateSchema = ContextConfigInsertSchema.partial();
1227
- createApiSchema(ContextConfigSelectSchema);
1228
- var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema);
1229
- createApiUpdateSchema(ContextConfigUpdateSchema);
1227
+ createApiSchema(ContextConfigSelectSchema).omit({
1228
+ graphId: true
1229
+ });
1230
+ var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema).omit({
1231
+ graphId: true
1232
+ });
1233
+ createApiUpdateSchema(ContextConfigUpdateSchema).omit({
1234
+ graphId: true
1235
+ });
1230
1236
  var AgentToolRelationSelectSchema = drizzleZod.createSelectSchema(agentToolRelations);
1231
1237
  var AgentToolRelationInsertSchema = drizzleZod.createInsertSchema(agentToolRelations).extend({
1232
1238
  id: resourceIdSchema,
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-CfjwCzr_.cjs';
3
- export { d as AgentStopWhen, a as AgentStopWhenSchema, f as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, g as MCPTransportType, e as ModelSettings, M as ModelSettingsSchema, b as StopWhen, S as StopWhenSchema } from './utility-CfjwCzr_.cjs';
2
+ import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-BMAHFZX6.cjs';
3
+ export { d as AgentStopWhen, a as AgentStopWhenSchema, f as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, g as MCPTransportType, e as ModelSettings, M as ModelSettingsSchema, b as StopWhen, S as StopWhenSchema } from './utility-BMAHFZX6.cjs';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/sqlite-core';
6
6
  import '@hono/zod-openapi';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-CfjwCzr_.js';
3
- export { d as AgentStopWhen, a as AgentStopWhenSchema, f as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, g as MCPTransportType, e as ModelSettings, M as ModelSettingsSchema, b as StopWhen, S as StopWhenSchema } from './utility-CfjwCzr_.js';
2
+ import { C as ConversationHistoryConfig, A as ApiKeyApiUpdateSchema, F as FullGraphAgentInsertSchema } from './utility-BMAHFZX6.js';
3
+ export { d as AgentStopWhen, a as AgentStopWhenSchema, f as CredentialStoreType, c as GraphStopWhen, G as GraphStopWhenSchema, g as MCPTransportType, e as ModelSettings, M as ModelSettingsSchema, b as StopWhen, S as StopWhenSchema } from './utility-BMAHFZX6.js';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/sqlite-core';
6
6
  import '@hono/zod-openapi';
@@ -1,5 +1,5 @@
1
- import { ModelSettingsSchema, FullGraphAgentInsertSchema } from './chunk-423XYZ6F.js';
2
- export { AgentStopWhenSchema, GraphStopWhenSchema, ModelSettingsSchema, StopWhenSchema } from './chunk-423XYZ6F.js';
1
+ import { ModelSettingsSchema, FullGraphAgentInsertSchema } from './chunk-FMCAYVO7.js';
2
+ export { AgentStopWhenSchema, GraphStopWhenSchema, ModelSettingsSchema, StopWhenSchema } from './chunk-FMCAYVO7.js';
3
3
  import { CredentialStoreType } from './chunk-YFHT5M2R.js';
4
4
  export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
5
5
  import { z } from 'zod';
@@ -1,7 +1,7 @@
1
1
  import 'drizzle-orm';
2
2
  import 'drizzle-orm/sqlite-core';
3
- import '../utility-CfjwCzr_.cjs';
4
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-Mdt3_61i.cjs';
3
+ import '../utility-BMAHFZX6.cjs';
4
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-CTBfyt-o.cjs';
5
5
  import 'zod';
6
6
  import 'drizzle-zod';
7
7
  import '@hono/zod-openapi';
@@ -1,7 +1,7 @@
1
1
  import 'drizzle-orm';
2
2
  import 'drizzle-orm/sqlite-core';
3
- import '../utility-CfjwCzr_.js';
4
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-NJiTVcbN.js';
3
+ import '../utility-BMAHFZX6.js';
4
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from '../schema-D0E2bG9V.js';
5
5
  import 'zod';
6
6
  import 'drizzle-zod';
7
7
  import '@hono/zod-openapi';
package/dist/index.cjs CHANGED
@@ -1483,9 +1483,15 @@ var ContextConfigInsertSchema = drizzleZod.createInsertSchema(contextConfigs).ex
1483
1483
  updatedAt: true
1484
1484
  });
1485
1485
  var ContextConfigUpdateSchema = ContextConfigInsertSchema.partial();
1486
- var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema);
1487
- var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema);
1488
- var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema);
1486
+ var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema).omit({
1487
+ graphId: true
1488
+ });
1489
+ var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema).omit({
1490
+ graphId: true
1491
+ });
1492
+ var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema).omit({
1493
+ graphId: true
1494
+ });
1489
1495
  var AgentToolRelationSelectSchema = drizzleZod.createSelectSchema(agentToolRelations);
1490
1496
  var AgentToolRelationInsertSchema = drizzleZod.createInsertSchema(agentToolRelations).extend({
1491
1497
  id: resourceIdSchema,
@@ -1791,10 +1797,11 @@ var ContextConfigBuilder = class {
1791
1797
  * Set the context (tenantId, projectId, graphId) for this context config
1792
1798
  * Called by graph.setConfig() when the graph is configured
1793
1799
  */
1794
- setContext(tenantId, projectId, graphId) {
1800
+ setContext(tenantId, projectId, graphId, baseURL) {
1795
1801
  this.tenantId = tenantId;
1796
1802
  this.projectId = projectId;
1797
1803
  this.graphId = graphId;
1804
+ this.baseURL = baseURL;
1798
1805
  this.config.tenantId = tenantId;
1799
1806
  this.config.projectId = projectId;
1800
1807
  this.config.graphId = graphId;
@@ -1922,7 +1929,7 @@ var ContextConfigBuilder = class {
1922
1929
  };
1923
1930
  try {
1924
1931
  const updateResponse = await fetch(
1925
- `${this.baseURL}/tenants/${this.tenantId}/crud/context-configs/${this.getId()}`,
1932
+ `${this.baseURL}/tenants/${this.tenantId}/projects/${this.projectId}/graphs/${this.graphId}/context-configs/${this.getId()}`,
1926
1933
  {
1927
1934
  method: "PUT",
1928
1935
  headers: {
@@ -1948,7 +1955,7 @@ var ContextConfigBuilder = class {
1948
1955
  "Context config not found, creating new config"
1949
1956
  );
1950
1957
  const createResponse = await fetch(
1951
- `${this.baseURL}/tenants/${this.tenantId}/crud/context-configs`,
1958
+ `${this.baseURL}/tenants/${this.tenantId}/projects/${this.projectId}/graphs/${this.graphId}/context-configs`,
1952
1959
  {
1953
1960
  method: "POST",
1954
1961
  headers: {
@@ -3098,6 +3105,7 @@ var getContextConfigById = (db) => async (params) => {
3098
3105
  where: drizzleOrm.and(
3099
3106
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3100
3107
  drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3108
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId),
3101
3109
  drizzleOrm.eq(contextConfigs.id, params.id)
3102
3110
  )
3103
3111
  });
@@ -3106,7 +3114,8 @@ var listContextConfigs = (db) => async (params) => {
3106
3114
  return await db.query.contextConfigs.findMany({
3107
3115
  where: drizzleOrm.and(
3108
3116
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3109
- drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId)
3117
+ drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3118
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId)
3110
3119
  ),
3111
3120
  orderBy: [drizzleOrm.desc(contextConfigs.createdAt)]
3112
3121
  });
@@ -3117,7 +3126,8 @@ var listContextConfigsPaginated = (db) => async (params) => {
3117
3126
  const offset = (page - 1) * limit;
3118
3127
  const whereClause = drizzleOrm.and(
3119
3128
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3120
- drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId)
3129
+ drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3130
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId)
3121
3131
  );
3122
3132
  const [contextConfigList, totalResult] = await Promise.all([
3123
3133
  db.select().from(contextConfigs).where(whereClause).limit(limit).offset(offset).orderBy(drizzleOrm.desc(contextConfigs.createdAt)),
@@ -3174,6 +3184,7 @@ var updateContextConfig = (db) => async (params) => {
3174
3184
  drizzleOrm.and(
3175
3185
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3176
3186
  drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3187
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId),
3177
3188
  drizzleOrm.eq(contextConfigs.id, params.id)
3178
3189
  )
3179
3190
  ).returning();
@@ -3185,6 +3196,7 @@ var deleteContextConfig = (db) => async (params) => {
3185
3196
  drizzleOrm.and(
3186
3197
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3187
3198
  drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3199
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId),
3188
3200
  drizzleOrm.eq(contextConfigs.id, params.id)
3189
3201
  )
3190
3202
  ).returning();
@@ -3202,7 +3214,8 @@ var countContextConfigs = (db) => async (params) => {
3202
3214
  const result = await db.select({ count: drizzleOrm.count() }).from(contextConfigs).where(
3203
3215
  drizzleOrm.and(
3204
3216
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3205
- drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId)
3217
+ drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3218
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId)
3206
3219
  )
3207
3220
  );
3208
3221
  const total = result[0]?.count || 0;
@@ -3213,13 +3226,18 @@ var getContextConfigsByName = (db) => async (params) => {
3213
3226
  where: drizzleOrm.and(
3214
3227
  drizzleOrm.eq(contextConfigs.tenantId, params.scopes.tenantId),
3215
3228
  drizzleOrm.eq(contextConfigs.projectId, params.scopes.projectId),
3229
+ drizzleOrm.eq(contextConfigs.graphId, params.scopes.graphId),
3216
3230
  drizzleOrm.eq(contextConfigs.name, params.name)
3217
3231
  ),
3218
3232
  orderBy: [drizzleOrm.desc(contextConfigs.createdAt)]
3219
3233
  });
3220
3234
  };
3221
3235
  var upsertContextConfig = (db) => async (params) => {
3222
- const scopes = { tenantId: params.data.tenantId, projectId: params.data.projectId };
3236
+ const scopes = {
3237
+ tenantId: params.data.tenantId,
3238
+ projectId: params.data.projectId,
3239
+ graphId: params.data.graphId
3240
+ };
3223
3241
  if (params.data.id) {
3224
3242
  const existing = await getContextConfigById(db)({
3225
3243
  scopes,
@@ -3708,7 +3726,7 @@ var getFullGraphDefinition = (db) => async ({
3708
3726
  if (graph.contextConfigId) {
3709
3727
  try {
3710
3728
  contextConfig2 = await getContextConfigById(db)({
3711
- scopes: { tenantId, projectId },
3729
+ scopes: { tenantId, projectId, graphId },
3712
3730
  id: graph.contextConfigId
3713
3731
  });
3714
3732
  } catch (error) {
@@ -6152,6 +6170,7 @@ var createFullGraphServerSide = (db, logger12 = defaultLogger) => async (scopes,
6152
6170
  const contextConfig2 = await upsertContextConfig(db)({
6153
6171
  data: {
6154
6172
  ...typed.contextConfig,
6173
+ graphId: finalGraphId,
6155
6174
  tenantId,
6156
6175
  projectId
6157
6176
  }
@@ -6549,6 +6568,7 @@ var updateFullGraphServerSide = (db, logger12 = defaultLogger) => async (scopes,
6549
6568
  const contextConfig2 = await upsertContextConfig(db)({
6550
6569
  data: {
6551
6570
  ...typedGraphDefinition.contextConfig,
6571
+ graphId: finalGraphId,
6552
6572
  tenantId,
6553
6573
  projectId
6554
6574
  }
@@ -8307,30 +8327,6 @@ var getFullProject = (db, logger12 = defaultLogger2) => async (params) => {
8307
8327
  "Failed to retrieve artifactComponents for project"
8308
8328
  );
8309
8329
  }
8310
- const projectContextConfigs = {};
8311
- try {
8312
- const contextConfigsList = await listContextConfigs(db)({
8313
- scopes: { tenantId, projectId }
8314
- });
8315
- for (const config of contextConfigsList) {
8316
- projectContextConfigs[config.id] = {
8317
- id: config.id,
8318
- name: config.name,
8319
- description: config.description,
8320
- requestContextSchema: config.requestContextSchema,
8321
- contextVariables: config.contextVariables
8322
- };
8323
- }
8324
- logger12.info(
8325
- { tenantId, projectId, count: Object.keys(projectContextConfigs).length },
8326
- "ContextConfigs retrieved for project"
8327
- );
8328
- } catch (error) {
8329
- logger12.warn(
8330
- { tenantId, projectId, error },
8331
- "Failed to retrieve contextConfigs for project"
8332
- );
8333
- }
8334
8330
  const projectCredentialReferences = {};
8335
8331
  try {
8336
8332
  const credentialReferencesList = await listCredentialReferences(db)({
@@ -9301,7 +9297,7 @@ async function validateRequestContext({
9301
9297
  };
9302
9298
  }
9303
9299
  const contextConfig2 = await getContextConfigById(dbClient)({
9304
- scopes: { tenantId, projectId },
9300
+ scopes: { tenantId, projectId, graphId },
9305
9301
  id: agentGraph2.contextConfigId
9306
9302
  });
9307
9303
  if (!contextConfig2) {
@@ -9870,7 +9866,7 @@ async function handleContextResolution({
9870
9866
  );
9871
9867
  trigger = await determineContextTrigger(tenantId, projectId, conversationId, dbClient);
9872
9868
  const contextConfig2 = await getContextConfigById(dbClient)({
9873
- scopes: { tenantId, projectId },
9869
+ scopes: { tenantId, projectId, graphId },
9874
9870
  id: agentGraph2.contextConfigId
9875
9871
  });
9876
9872
  if (!contextConfig2) {
package/dist/index.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { n as CredentialReferenceApiInsert, o as ContextConfigSelect, h as ContextFetchDefinition, g as MCPTransportType, p as MCPToolConfig, q as GraphScopeConfig, C as ConversationHistoryConfig, r as ProjectScopeConfig, s as PaginationConfig, t as AgentGraphInsert, u as AgentGraphUpdate, v as FullGraphDefinition, w as AgentScopeConfig, x as AgentRelationInsert, E as ExternalAgentRelationInsert, y as AgentRelationUpdate, z as AgentToolRelationUpdate, i as ToolMcpConfig, j as ToolServerCapabilities, B as AgentInsert, D as AgentUpdate, H as AgentSelect, I as ApiKeySelect, J as ApiKeyInsert, K as ApiKeyUpdate, L as CreateApiKeyParams, N as ApiKeyCreateResult, O as ArtifactComponentSelect, Q as ArtifactComponentInsert, R as ArtifactComponentUpdate, U as ContextCacheSelect, V as ContextCacheInsert, W as ContextConfigInsert, X as ContextConfigUpdate, Y as ConversationSelect, Z as ConversationInsert, k as ConversationMetadata, _ as ConversationUpdate, $ as CredentialReferenceSelect, a0 as ToolSelect, a1 as CredentialReferenceInsert, a2 as CredentialReferenceUpdate, a3 as DataComponentSelect, a4 as DataComponentInsert, a5 as DataComponentUpdate, a6 as ExternalAgentInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, a9 as Artifact, aa as LedgerArtifactSelect, m as MessageMetadata, l as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as TaskInsert, T as TaskMetadataConfig, am as TaskSelect, an as McpTool, ao as ToolInsert, ap as ToolUpdate, f as CredentialStoreType, aq as ExecutionContext } from './utility-CfjwCzr_.cjs';
3
- export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, dt as AgentApiInsertSchema, bC as AgentApiSelect, ds as AgentApiSelectSchema, bE as AgentApiUpdate, du as AgentApiUpdateSchema, cw as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, cv as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cx as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, ct as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cs as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cu as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, cm as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, co as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ck as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, cj as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cl as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cV as AgentDefinition, bN as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bM as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bO as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bL as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, aA as AgentProvider, bH as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bG as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bI as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bJ as AgentRelationQuery, dB as AgentRelationQuerySchema, bF as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, aB as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cL as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cK as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cM as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cJ as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cI as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cD as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cC as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cE as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, cq as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cp as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cr as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, fp as CanUseItemSchema, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cd as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cf as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, cc as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c8 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c7 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c9 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, c1 as ConversationApiInsert, e3 as ConversationApiInsertSchema, c0 as ConversationApiSelect, e2 as ConversationApiSelectSchema, c2 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d7 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cG as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cH as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ch as DataComponentApiInsert, em as DataComponentApiInsertSchema, cg as DataComponentApiSelect, el as DataComponentApiSelectSchema, ci as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, ax as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cz as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cy as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cA as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bK as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, cb as FetchConfig, f3 as FetchConfigSchema, ca as FetchDefinition, f4 as FetchDefinitionSchema, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aE as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cP as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cR as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cN as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cO as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, de as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dc as McpTransportConfig, dW as McpTransportConfigSchema, aO as Message, c5 as MessageApiInsert, e9 as MessageApiInsertSchema, c4 as MessageApiSelect, e8 as MessageApiSelectSchema, c6 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, e5 as MessageSelectSchema, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, e7 as MessageUpdateSchema, aV as MethodNotFoundError, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, fC as ProjectApiInsertSchema, cX as ProjectApiSelect, fB as ProjectApiSelectSchema, cZ as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d4 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d6 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d5 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, dO as TaskApiInsertSchema, bQ as TaskApiSelect, dN as TaskApiSelectSchema, bS as TaskApiUpdate, dP as TaskApiUpdateSchema, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, dL as TaskInsertSchema, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bW as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bY as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bU as TaskRelationInsert, dR as TaskRelationInsertSchema, bT as TaskRelationSelect, dQ as TaskRelationSelectSchema, bV as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bl as TaskResubscriptionRequest, dK as TaskSelectSchema, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, as as TextPart, b_ as ToolApiInsert, f1 as ToolApiInsertSchema, bZ as ToolApiSelect, f0 as ToolApiSelectSchema, b$ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cW as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema } from './utility-CfjwCzr_.cjs';
2
+ import { n as CredentialReferenceApiInsert, o as ContextConfigSelect, h as ContextFetchDefinition, g as MCPTransportType, p as MCPToolConfig, q as GraphScopeConfig, C as ConversationHistoryConfig, r as ProjectScopeConfig, s as PaginationConfig, t as AgentGraphInsert, u as AgentGraphUpdate, v as FullGraphDefinition, w as AgentScopeConfig, x as AgentRelationInsert, E as ExternalAgentRelationInsert, y as AgentRelationUpdate, z as AgentToolRelationUpdate, i as ToolMcpConfig, j as ToolServerCapabilities, B as AgentInsert, D as AgentUpdate, H as AgentSelect, I as ApiKeySelect, J as ApiKeyInsert, K as ApiKeyUpdate, L as CreateApiKeyParams, N as ApiKeyCreateResult, O as ArtifactComponentSelect, Q as ArtifactComponentInsert, R as ArtifactComponentUpdate, U as ContextCacheSelect, V as ContextCacheInsert, W as ContextConfigInsert, X as ContextConfigUpdate, Y as ConversationSelect, Z as ConversationInsert, k as ConversationMetadata, _ as ConversationUpdate, $ as CredentialReferenceSelect, a0 as ToolSelect, a1 as CredentialReferenceInsert, a2 as CredentialReferenceUpdate, a3 as DataComponentSelect, a4 as DataComponentInsert, a5 as DataComponentUpdate, a6 as ExternalAgentInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, a9 as Artifact, aa as LedgerArtifactSelect, m as MessageMetadata, l as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as TaskInsert, T as TaskMetadataConfig, am as TaskSelect, an as McpTool, ao as ToolInsert, ap as ToolUpdate, f as CredentialStoreType, aq as ExecutionContext } from './utility-BMAHFZX6.cjs';
3
+ export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, dt as AgentApiInsertSchema, bC as AgentApiSelect, ds as AgentApiSelectSchema, bE as AgentApiUpdate, du as AgentApiUpdateSchema, cw as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, cv as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cx as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, ct as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cs as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cu as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, cm as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, co as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ck as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, cj as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cl as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cV as AgentDefinition, bN as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bM as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bO as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bL as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, aA as AgentProvider, bH as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bG as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bI as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bJ as AgentRelationQuery, dB as AgentRelationQuerySchema, bF as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, aB as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cL as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cK as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cM as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cJ as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cI as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cD as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cC as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cE as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, cq as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cp as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cr as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, fp as CanUseItemSchema, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cd as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cf as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, cc as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c8 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c7 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c9 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, c1 as ConversationApiInsert, e3 as ConversationApiInsertSchema, c0 as ConversationApiSelect, e2 as ConversationApiSelectSchema, c2 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d7 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cG as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cH as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ch as DataComponentApiInsert, em as DataComponentApiInsertSchema, cg as DataComponentApiSelect, el as DataComponentApiSelectSchema, ci as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, ax as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cz as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cy as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cA as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bK as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, cb as FetchConfig, f3 as FetchConfigSchema, ca as FetchDefinition, f4 as FetchDefinitionSchema, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aE as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cP as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cR as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cN as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cO as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, de as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dc as McpTransportConfig, dW as McpTransportConfigSchema, aO as Message, c5 as MessageApiInsert, e9 as MessageApiInsertSchema, c4 as MessageApiSelect, e8 as MessageApiSelectSchema, c6 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, e5 as MessageSelectSchema, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, e7 as MessageUpdateSchema, aV as MethodNotFoundError, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, fC as ProjectApiInsertSchema, cX as ProjectApiSelect, fB as ProjectApiSelectSchema, cZ as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d4 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d6 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d5 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, dO as TaskApiInsertSchema, bQ as TaskApiSelect, dN as TaskApiSelectSchema, bS as TaskApiUpdate, dP as TaskApiUpdateSchema, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, dL as TaskInsertSchema, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bW as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bY as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bU as TaskRelationInsert, dR as TaskRelationInsertSchema, bT as TaskRelationSelect, dQ as TaskRelationSelectSchema, bV as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bl as TaskResubscriptionRequest, dK as TaskSelectSchema, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, as as TextPart, b_ as ToolApiInsert, f1 as ToolApiInsertSchema, bZ as ToolApiSelect, f0 as ToolApiSelectSchema, b$ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cW as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema } from './utility-BMAHFZX6.cjs';
4
4
  import { CredentialStore } from './types/index.cjs';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-Mdt3_61i.cjs';
8
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-Mdt3_61i.cjs';
7
+ import { s as schema } from './schema-CTBfyt-o.cjs';
8
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-CTBfyt-o.cjs';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -119,7 +119,7 @@ declare class ContextConfigBuilder<R extends z.ZodTypeAny | undefined, CV extend
119
119
  * Set the context (tenantId, projectId, graphId) for this context config
120
120
  * Called by graph.setConfig() when the graph is configured
121
121
  */
122
- setContext(tenantId: string, projectId: string, graphId: string): void;
122
+ setContext(tenantId: string, projectId: string, graphId: string, baseURL: string): void;
123
123
  /**
124
124
  * Convert the builder to a plain object for database operations
125
125
  */
@@ -2166,7 +2166,7 @@ declare const getContextConfigCacheEntries: (db: DatabaseClient) => (params: {
2166
2166
  }) => Promise<ContextCacheSelect[]>;
2167
2167
 
2168
2168
  declare const getContextConfigById: (db: DatabaseClient) => (params: {
2169
- scopes: ProjectScopeConfig;
2169
+ scopes: GraphScopeConfig;
2170
2170
  id: string;
2171
2171
  }) => Promise<{
2172
2172
  tenantId: string;
@@ -2181,7 +2181,7 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2181
2181
  contextVariables: Record<string, ContextFetchDefinition> | null;
2182
2182
  } | undefined>;
2183
2183
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2184
- scopes: ProjectScopeConfig;
2184
+ scopes: GraphScopeConfig;
2185
2185
  }) => Promise<{
2186
2186
  tenantId: string;
2187
2187
  projectId: string;
@@ -2195,7 +2195,7 @@ declare const listContextConfigs: (db: DatabaseClient) => (params: {
2195
2195
  contextVariables: Record<string, ContextFetchDefinition> | null;
2196
2196
  }[]>;
2197
2197
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2198
- scopes: ProjectScopeConfig;
2198
+ scopes: GraphScopeConfig;
2199
2199
  pagination?: PaginationConfig;
2200
2200
  }) => Promise<{
2201
2201
  data: any[];
@@ -2219,7 +2219,7 @@ declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfi
2219
2219
  contextVariables: Record<string, ContextFetchDefinition> | null;
2220
2220
  }>;
2221
2221
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2222
- scopes: ProjectScopeConfig;
2222
+ scopes: GraphScopeConfig;
2223
2223
  id: string;
2224
2224
  data: Partial<ContextConfigUpdate>;
2225
2225
  }) => Promise<{
@@ -2235,18 +2235,18 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2235
2235
  contextVariables: Record<string, ContextFetchDefinition> | null;
2236
2236
  }>;
2237
2237
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2238
- scopes: ProjectScopeConfig;
2238
+ scopes: GraphScopeConfig;
2239
2239
  id: string;
2240
2240
  }) => Promise<boolean>;
2241
2241
  declare const hasContextConfig: (db: DatabaseClient) => (params: {
2242
- scopes: ProjectScopeConfig;
2242
+ scopes: GraphScopeConfig;
2243
2243
  id: string;
2244
2244
  }) => Promise<boolean>;
2245
2245
  declare const countContextConfigs: (db: DatabaseClient) => (params: {
2246
- scopes: ProjectScopeConfig;
2246
+ scopes: GraphScopeConfig;
2247
2247
  }) => Promise<number>;
2248
2248
  declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2249
- scopes: ProjectScopeConfig;
2249
+ scopes: GraphScopeConfig;
2250
2250
  name: string;
2251
2251
  }) => Promise<{
2252
2252
  tenantId: string;
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { z } from 'zod';
2
- import { n as CredentialReferenceApiInsert, o as ContextConfigSelect, h as ContextFetchDefinition, g as MCPTransportType, p as MCPToolConfig, q as GraphScopeConfig, C as ConversationHistoryConfig, r as ProjectScopeConfig, s as PaginationConfig, t as AgentGraphInsert, u as AgentGraphUpdate, v as FullGraphDefinition, w as AgentScopeConfig, x as AgentRelationInsert, E as ExternalAgentRelationInsert, y as AgentRelationUpdate, z as AgentToolRelationUpdate, i as ToolMcpConfig, j as ToolServerCapabilities, B as AgentInsert, D as AgentUpdate, H as AgentSelect, I as ApiKeySelect, J as ApiKeyInsert, K as ApiKeyUpdate, L as CreateApiKeyParams, N as ApiKeyCreateResult, O as ArtifactComponentSelect, Q as ArtifactComponentInsert, R as ArtifactComponentUpdate, U as ContextCacheSelect, V as ContextCacheInsert, W as ContextConfigInsert, X as ContextConfigUpdate, Y as ConversationSelect, Z as ConversationInsert, k as ConversationMetadata, _ as ConversationUpdate, $ as CredentialReferenceSelect, a0 as ToolSelect, a1 as CredentialReferenceInsert, a2 as CredentialReferenceUpdate, a3 as DataComponentSelect, a4 as DataComponentInsert, a5 as DataComponentUpdate, a6 as ExternalAgentInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, a9 as Artifact, aa as LedgerArtifactSelect, m as MessageMetadata, l as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as TaskInsert, T as TaskMetadataConfig, am as TaskSelect, an as McpTool, ao as ToolInsert, ap as ToolUpdate, f as CredentialStoreType, aq as ExecutionContext } from './utility-CfjwCzr_.js';
3
- export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, dt as AgentApiInsertSchema, bC as AgentApiSelect, ds as AgentApiSelectSchema, bE as AgentApiUpdate, du as AgentApiUpdateSchema, cw as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, cv as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cx as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, ct as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cs as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cu as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, cm as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, co as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ck as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, cj as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cl as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cV as AgentDefinition, bN as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bM as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bO as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bL as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, aA as AgentProvider, bH as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bG as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bI as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bJ as AgentRelationQuery, dB as AgentRelationQuerySchema, bF as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, aB as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cL as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cK as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cM as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cJ as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cI as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cD as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cC as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cE as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, cq as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cp as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cr as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, fp as CanUseItemSchema, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cd as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cf as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, cc as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c8 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c7 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c9 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, c1 as ConversationApiInsert, e3 as ConversationApiInsertSchema, c0 as ConversationApiSelect, e2 as ConversationApiSelectSchema, c2 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d7 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cG as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cH as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ch as DataComponentApiInsert, em as DataComponentApiInsertSchema, cg as DataComponentApiSelect, el as DataComponentApiSelectSchema, ci as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, ax as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cz as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cy as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cA as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bK as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, cb as FetchConfig, f3 as FetchConfigSchema, ca as FetchDefinition, f4 as FetchDefinitionSchema, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aE as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cP as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cR as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cN as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cO as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, de as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dc as McpTransportConfig, dW as McpTransportConfigSchema, aO as Message, c5 as MessageApiInsert, e9 as MessageApiInsertSchema, c4 as MessageApiSelect, e8 as MessageApiSelectSchema, c6 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, e5 as MessageSelectSchema, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, e7 as MessageUpdateSchema, aV as MethodNotFoundError, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, fC as ProjectApiInsertSchema, cX as ProjectApiSelect, fB as ProjectApiSelectSchema, cZ as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d4 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d6 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d5 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, dO as TaskApiInsertSchema, bQ as TaskApiSelect, dN as TaskApiSelectSchema, bS as TaskApiUpdate, dP as TaskApiUpdateSchema, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, dL as TaskInsertSchema, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bW as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bY as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bU as TaskRelationInsert, dR as TaskRelationInsertSchema, bT as TaskRelationSelect, dQ as TaskRelationSelectSchema, bV as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bl as TaskResubscriptionRequest, dK as TaskSelectSchema, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, as as TextPart, b_ as ToolApiInsert, f1 as ToolApiInsertSchema, bZ as ToolApiSelect, f0 as ToolApiSelectSchema, b$ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cW as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema } from './utility-CfjwCzr_.js';
2
+ import { n as CredentialReferenceApiInsert, o as ContextConfigSelect, h as ContextFetchDefinition, g as MCPTransportType, p as MCPToolConfig, q as GraphScopeConfig, C as ConversationHistoryConfig, r as ProjectScopeConfig, s as PaginationConfig, t as AgentGraphInsert, u as AgentGraphUpdate, v as FullGraphDefinition, w as AgentScopeConfig, x as AgentRelationInsert, E as ExternalAgentRelationInsert, y as AgentRelationUpdate, z as AgentToolRelationUpdate, i as ToolMcpConfig, j as ToolServerCapabilities, B as AgentInsert, D as AgentUpdate, H as AgentSelect, I as ApiKeySelect, J as ApiKeyInsert, K as ApiKeyUpdate, L as CreateApiKeyParams, N as ApiKeyCreateResult, O as ArtifactComponentSelect, Q as ArtifactComponentInsert, R as ArtifactComponentUpdate, U as ContextCacheSelect, V as ContextCacheInsert, W as ContextConfigInsert, X as ContextConfigUpdate, Y as ConversationSelect, Z as ConversationInsert, k as ConversationMetadata, _ as ConversationUpdate, $ as CredentialReferenceSelect, a0 as ToolSelect, a1 as CredentialReferenceInsert, a2 as CredentialReferenceUpdate, a3 as DataComponentSelect, a4 as DataComponentInsert, a5 as DataComponentUpdate, a6 as ExternalAgentInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, a9 as Artifact, aa as LedgerArtifactSelect, m as MessageMetadata, l as MessageContent, ab as MessageVisibility, ac as MessageInsert, ad as MessageUpdate, ae as FullProjectDefinition, af as ProjectInfo, ag as ProjectSelect, ah as PaginationResult, ai as ProjectResourceCounts, aj as ProjectInsert, ak as ProjectUpdate, al as TaskInsert, T as TaskMetadataConfig, am as TaskSelect, an as McpTool, ao as ToolInsert, ap as ToolUpdate, f as CredentialStoreType, aq as ExecutionContext } from './utility-BMAHFZX6.js';
3
+ export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, dt as AgentApiInsertSchema, bC as AgentApiSelect, ds as AgentApiSelectSchema, bE as AgentApiUpdate, du as AgentApiUpdateSchema, cw as AgentArtifactComponentApiInsert, eE as AgentArtifactComponentApiInsertSchema, cv as AgentArtifactComponentApiSelect, eD as AgentArtifactComponentApiSelectSchema, cx as AgentArtifactComponentApiUpdate, eF as AgentArtifactComponentApiUpdateSchema, ct as AgentArtifactComponentInsert, eB as AgentArtifactComponentInsertSchema, cs as AgentArtifactComponentSelect, eA as AgentArtifactComponentSelectSchema, cu as AgentArtifactComponentUpdate, eC as AgentArtifactComponentUpdateSchema, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, es as AgentDataComponentApiInsertSchema, cm as AgentDataComponentApiSelect, er as AgentDataComponentApiSelectSchema, co as AgentDataComponentApiUpdate, et as AgentDataComponentApiUpdateSchema, ck as AgentDataComponentInsert, ep as AgentDataComponentInsertSchema, cj as AgentDataComponentSelect, eo as AgentDataComponentSelectSchema, cl as AgentDataComponentUpdate, eq as AgentDataComponentUpdateSchema, cV as AgentDefinition, bN as AgentGraphApiInsert, dI as AgentGraphApiInsertSchema, bM as AgentGraphApiSelect, dH as AgentGraphApiSelectSchema, bO as AgentGraphApiUpdate, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, bL as AgentGraphSelect, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, aA as AgentProvider, bH as AgentRelationApiInsert, dz as AgentRelationApiInsertSchema, bG as AgentRelationApiSelect, dy as AgentRelationApiSelectSchema, bI as AgentRelationApiUpdate, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, bJ as AgentRelationQuery, dB as AgentRelationQuerySchema, bF as AgentRelationSelect, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, aB as AgentSkill, d as AgentStopWhen, a as AgentStopWhenSchema, cL as AgentToolRelationApiInsert, ff as AgentToolRelationApiInsertSchema, cK as AgentToolRelationApiSelect, fe as AgentToolRelationApiSelectSchema, cM as AgentToolRelationApiUpdate, fg as AgentToolRelationApiUpdateSchema, cJ as AgentToolRelationInsert, fc as AgentToolRelationInsertSchema, cI as AgentToolRelationSelect, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, eR as ApiKeyApiCreationResponseSchema, cD as ApiKeyApiInsert, eS as ApiKeyApiInsertSchema, cC as ApiKeyApiSelect, eQ as ApiKeyApiSelectSchema, cE as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, cq as ArtifactComponentApiInsert, ey as ArtifactComponentApiInsertSchema, cp as ArtifactComponentApiSelect, ex as ArtifactComponentApiSelectSchema, cr as ArtifactComponentApiUpdate, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, fp as CanUseItemSchema, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, ef as ContextCacheApiInsertSchema, cd as ContextCacheApiSelect, ee as ContextCacheApiSelectSchema, cf as ContextCacheApiUpdate, eg as ContextCacheApiUpdateSchema, d9 as ContextCacheEntry, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, cc as ContextCacheUpdate, ed as ContextCacheUpdateSchema, c8 as ContextConfigApiInsert, f9 as ContextConfigApiInsertSchema, c7 as ContextConfigApiSelect, f8 as ContextConfigApiSelectSchema, c9 as ContextConfigApiUpdate, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, c1 as ConversationApiInsert, e3 as ConversationApiInsertSchema, c0 as ConversationApiSelect, e2 as ConversationApiSelectSchema, c2 as ConversationApiUpdate, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d7 as ConversationScopeOptions, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, cG as CredentialReferenceApiSelect, eW as CredentialReferenceApiSelectSchema, cH as CredentialReferenceApiUpdate, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, ch as DataComponentApiInsert, em as DataComponentApiInsertSchema, cg as DataComponentApiSelect, el as DataComponentApiSelectSchema, ci as DataComponentApiUpdate, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, ax as DataPart, fv as ErrorResponseSchema, fw as ExistsResponseSchema, cz as ExternalAgentApiInsert, eK as ExternalAgentApiInsertSchema, cy as ExternalAgentApiSelect, eJ as ExternalAgentApiSelectSchema, cA as ExternalAgentApiUpdate, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, bK as ExternalAgentRelationApiInsert, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, cb as FetchConfig, f3 as FetchConfigSchema, ca as FetchDefinition, f4 as FetchDefinitionSchema, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, F as FullGraphAgentInsertSchema, fq as FullGraphDefinitionSchema, fE as FullProjectDefinitionSchema, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, aE as HTTPAuthSecurityScheme, fF as HeadersScopeSchema, fM as IdParamsSchema, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, fl as LedgerArtifactApiInsertSchema, cP as LedgerArtifactApiSelect, fk as LedgerArtifactApiSelectSchema, cR as LedgerArtifactApiUpdate, fm as LedgerArtifactApiUpdateSchema, cN as LedgerArtifactInsert, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, cO as LedgerArtifactUpdate, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, dh as MCPServerType, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, de as McpToolDefinition, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dc as McpTransportConfig, dW as McpTransportConfigSchema, aO as Message, c5 as MessageApiInsert, e9 as MessageApiInsertSchema, c4 as MessageApiSelect, e8 as MessageApiSelectSchema, c6 as MessageApiUpdate, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, e5 as MessageSelectSchema, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, e7 as MessageUpdateSchema, aV as MethodNotFoundError, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, fN as PaginationQueryParamsSchema, fs as PaginationSchema, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, fC as ProjectApiInsertSchema, cX as ProjectApiSelect, fB as ProjectApiSelectSchema, cZ as ProjectApiUpdate, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, d4 as ProjectModels, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, fx as RemovedResponseSchema, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, fu as SingleResponseSchema, d6 as StatusComponent, fn as StatusComponentSchema, fo as StatusUpdateSchema, d5 as StatusUpdateSettings, b as StopWhen, S as StopWhenSchema, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, dO as TaskApiInsertSchema, bQ as TaskApiSelect, dN as TaskApiSelectSchema, bS as TaskApiUpdate, dP as TaskApiUpdateSchema, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, dL as TaskInsertSchema, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, dU as TaskRelationApiInsertSchema, bW as TaskRelationApiSelect, dT as TaskRelationApiSelectSchema, bY as TaskRelationApiUpdate, dV as TaskRelationApiUpdateSchema, bU as TaskRelationInsert, dR as TaskRelationInsertSchema, bT as TaskRelationSelect, dQ as TaskRelationSelectSchema, bV as TaskRelationUpdate, dS as TaskRelationUpdateSchema, bl as TaskResubscriptionRequest, dK as TaskSelectSchema, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, as as TextPart, b_ as ToolApiInsert, f1 as ToolApiInsertSchema, bZ as ToolApiSelect, f0 as ToolApiSelectSchema, b$ as ToolApiUpdate, f2 as ToolApiUpdateSchema, cW as ToolDefinition, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES, dl as resourceIdSchema } from './utility-BMAHFZX6.js';
4
4
  import { CredentialStore } from './types/index.js';
5
5
  export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
6
6
  import { LibSQLDatabase } from 'drizzle-orm/libsql';
7
- import { s as schema } from './schema-NJiTVcbN.js';
8
- export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-NJiTVcbN.js';
7
+ import { s as schema } from './schema-D0E2bG9V.js';
8
+ export { k as agentArtifactComponents, K as agentArtifactComponentsRelations, i as agentDataComponents, M as agentDataComponentsRelations, a as agentGraph, B as agentGraphRelations, e as agentRelations, O as agentRelationsRelations, m as agentToolRelations, E as agentToolRelationsRelations, d as agents, A as agentsRelations, r as apiKeys, D as apiKeysRelations, j as artifactComponents, J as artifactComponentsRelations, b as contextCache, z as contextCacheRelations, c as contextConfigs, y as contextConfigsRelations, n as conversations, H as conversationsRelations, u as credentialReferences, F as credentialReferencesRelations, h as dataComponents, L as dataComponentsRelations, f as externalAgents, C as externalAgentsRelations, q as ledgerArtifacts, N as ledgerArtifactsRelations, o as messages, I as messagesRelations, p as projects, w as projectsRelations, g as taskRelations, x as taskRelationsRelations, t as tasks, v as tasksRelations, l as tools, G as toolsRelations } from './schema-D0E2bG9V.js';
9
9
  import { LoggerOptions, TransportSingleOptions, Logger } from 'pino';
10
10
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
11
11
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
@@ -119,7 +119,7 @@ declare class ContextConfigBuilder<R extends z.ZodTypeAny | undefined, CV extend
119
119
  * Set the context (tenantId, projectId, graphId) for this context config
120
120
  * Called by graph.setConfig() when the graph is configured
121
121
  */
122
- setContext(tenantId: string, projectId: string, graphId: string): void;
122
+ setContext(tenantId: string, projectId: string, graphId: string, baseURL: string): void;
123
123
  /**
124
124
  * Convert the builder to a plain object for database operations
125
125
  */
@@ -2166,7 +2166,7 @@ declare const getContextConfigCacheEntries: (db: DatabaseClient) => (params: {
2166
2166
  }) => Promise<ContextCacheSelect[]>;
2167
2167
 
2168
2168
  declare const getContextConfigById: (db: DatabaseClient) => (params: {
2169
- scopes: ProjectScopeConfig;
2169
+ scopes: GraphScopeConfig;
2170
2170
  id: string;
2171
2171
  }) => Promise<{
2172
2172
  tenantId: string;
@@ -2181,7 +2181,7 @@ declare const getContextConfigById: (db: DatabaseClient) => (params: {
2181
2181
  contextVariables: Record<string, ContextFetchDefinition> | null;
2182
2182
  } | undefined>;
2183
2183
  declare const listContextConfigs: (db: DatabaseClient) => (params: {
2184
- scopes: ProjectScopeConfig;
2184
+ scopes: GraphScopeConfig;
2185
2185
  }) => Promise<{
2186
2186
  tenantId: string;
2187
2187
  projectId: string;
@@ -2195,7 +2195,7 @@ declare const listContextConfigs: (db: DatabaseClient) => (params: {
2195
2195
  contextVariables: Record<string, ContextFetchDefinition> | null;
2196
2196
  }[]>;
2197
2197
  declare const listContextConfigsPaginated: (db: DatabaseClient) => (params: {
2198
- scopes: ProjectScopeConfig;
2198
+ scopes: GraphScopeConfig;
2199
2199
  pagination?: PaginationConfig;
2200
2200
  }) => Promise<{
2201
2201
  data: any[];
@@ -2219,7 +2219,7 @@ declare const createContextConfig: (db: DatabaseClient) => (params: ContextConfi
2219
2219
  contextVariables: Record<string, ContextFetchDefinition> | null;
2220
2220
  }>;
2221
2221
  declare const updateContextConfig: (db: DatabaseClient) => (params: {
2222
- scopes: ProjectScopeConfig;
2222
+ scopes: GraphScopeConfig;
2223
2223
  id: string;
2224
2224
  data: Partial<ContextConfigUpdate>;
2225
2225
  }) => Promise<{
@@ -2235,18 +2235,18 @@ declare const updateContextConfig: (db: DatabaseClient) => (params: {
2235
2235
  contextVariables: Record<string, ContextFetchDefinition> | null;
2236
2236
  }>;
2237
2237
  declare const deleteContextConfig: (db: DatabaseClient) => (params: {
2238
- scopes: ProjectScopeConfig;
2238
+ scopes: GraphScopeConfig;
2239
2239
  id: string;
2240
2240
  }) => Promise<boolean>;
2241
2241
  declare const hasContextConfig: (db: DatabaseClient) => (params: {
2242
- scopes: ProjectScopeConfig;
2242
+ scopes: GraphScopeConfig;
2243
2243
  id: string;
2244
2244
  }) => Promise<boolean>;
2245
2245
  declare const countContextConfigs: (db: DatabaseClient) => (params: {
2246
- scopes: ProjectScopeConfig;
2246
+ scopes: GraphScopeConfig;
2247
2247
  }) => Promise<number>;
2248
2248
  declare const getContextConfigsByName: (db: DatabaseClient) => (params: {
2249
- scopes: ProjectScopeConfig;
2249
+ scopes: GraphScopeConfig;
2250
2250
  name: string;
2251
2251
  }) => Promise<{
2252
2252
  tenantId: string;
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  export { TaskState } from './chunk-H2F72PDA.js';
2
- import { validateAndTypeGraphData, validateGraphStructure, isInternalAgent, isExternalAgent } from './chunk-SPN4Y2C3.js';
3
- export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from './chunk-SPN4Y2C3.js';
4
- import { ContextConfigApiUpdateSchema } from './chunk-423XYZ6F.js';
5
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from './chunk-423XYZ6F.js';
2
+ import { validateAndTypeGraphData, validateGraphStructure, isInternalAgent, isExternalAgent } from './chunk-FLKAMXLV.js';
3
+ export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from './chunk-FLKAMXLV.js';
4
+ import { ContextConfigApiUpdateSchema } from './chunk-FMCAYVO7.js';
5
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from './chunk-FMCAYVO7.js';
6
6
  import { schema_exports, agentRelations, agents, externalAgents, agentToolRelations, tools, contextConfigs, agentGraph, agentDataComponents, agentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, credentialReferences, ledgerArtifacts, tasks, taskRelations } from './chunk-AHSEMW6N.js';
7
7
  export { agentArtifactComponents, agentArtifactComponentsRelations, agentDataComponents, agentDataComponentsRelations, agentGraph, agentGraphRelations, agentRelations, agentRelationsRelations, agentToolRelations, agentToolRelationsRelations, agents, agentsRelations, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-AHSEMW6N.js';
8
8
  import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
@@ -301,10 +301,11 @@ var ContextConfigBuilder = class {
301
301
  * Set the context (tenantId, projectId, graphId) for this context config
302
302
  * Called by graph.setConfig() when the graph is configured
303
303
  */
304
- setContext(tenantId, projectId, graphId) {
304
+ setContext(tenantId, projectId, graphId, baseURL) {
305
305
  this.tenantId = tenantId;
306
306
  this.projectId = projectId;
307
307
  this.graphId = graphId;
308
+ this.baseURL = baseURL;
308
309
  this.config.tenantId = tenantId;
309
310
  this.config.projectId = projectId;
310
311
  this.config.graphId = graphId;
@@ -432,7 +433,7 @@ var ContextConfigBuilder = class {
432
433
  };
433
434
  try {
434
435
  const updateResponse = await fetch(
435
- `${this.baseURL}/tenants/${this.tenantId}/crud/context-configs/${this.getId()}`,
436
+ `${this.baseURL}/tenants/${this.tenantId}/projects/${this.projectId}/graphs/${this.graphId}/context-configs/${this.getId()}`,
436
437
  {
437
438
  method: "PUT",
438
439
  headers: {
@@ -458,7 +459,7 @@ var ContextConfigBuilder = class {
458
459
  "Context config not found, creating new config"
459
460
  );
460
461
  const createResponse = await fetch(
461
- `${this.baseURL}/tenants/${this.tenantId}/crud/context-configs`,
462
+ `${this.baseURL}/tenants/${this.tenantId}/projects/${this.projectId}/graphs/${this.graphId}/context-configs`,
462
463
  {
463
464
  method: "POST",
464
465
  headers: {
@@ -1594,6 +1595,7 @@ var getContextConfigById = (db) => async (params) => {
1594
1595
  where: and(
1595
1596
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1596
1597
  eq(contextConfigs.projectId, params.scopes.projectId),
1598
+ eq(contextConfigs.graphId, params.scopes.graphId),
1597
1599
  eq(contextConfigs.id, params.id)
1598
1600
  )
1599
1601
  });
@@ -1602,7 +1604,8 @@ var listContextConfigs = (db) => async (params) => {
1602
1604
  return await db.query.contextConfigs.findMany({
1603
1605
  where: and(
1604
1606
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1605
- eq(contextConfigs.projectId, params.scopes.projectId)
1607
+ eq(contextConfigs.projectId, params.scopes.projectId),
1608
+ eq(contextConfigs.graphId, params.scopes.graphId)
1606
1609
  ),
1607
1610
  orderBy: [desc(contextConfigs.createdAt)]
1608
1611
  });
@@ -1613,7 +1616,8 @@ var listContextConfigsPaginated = (db) => async (params) => {
1613
1616
  const offset = (page - 1) * limit;
1614
1617
  const whereClause = and(
1615
1618
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1616
- eq(contextConfigs.projectId, params.scopes.projectId)
1619
+ eq(contextConfigs.projectId, params.scopes.projectId),
1620
+ eq(contextConfigs.graphId, params.scopes.graphId)
1617
1621
  );
1618
1622
  const [contextConfigList, totalResult] = await Promise.all([
1619
1623
  db.select().from(contextConfigs).where(whereClause).limit(limit).offset(offset).orderBy(desc(contextConfigs.createdAt)),
@@ -1670,6 +1674,7 @@ var updateContextConfig = (db) => async (params) => {
1670
1674
  and(
1671
1675
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1672
1676
  eq(contextConfigs.projectId, params.scopes.projectId),
1677
+ eq(contextConfigs.graphId, params.scopes.graphId),
1673
1678
  eq(contextConfigs.id, params.id)
1674
1679
  )
1675
1680
  ).returning();
@@ -1681,6 +1686,7 @@ var deleteContextConfig = (db) => async (params) => {
1681
1686
  and(
1682
1687
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1683
1688
  eq(contextConfigs.projectId, params.scopes.projectId),
1689
+ eq(contextConfigs.graphId, params.scopes.graphId),
1684
1690
  eq(contextConfigs.id, params.id)
1685
1691
  )
1686
1692
  ).returning();
@@ -1698,7 +1704,8 @@ var countContextConfigs = (db) => async (params) => {
1698
1704
  const result = await db.select({ count: count() }).from(contextConfigs).where(
1699
1705
  and(
1700
1706
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1701
- eq(contextConfigs.projectId, params.scopes.projectId)
1707
+ eq(contextConfigs.projectId, params.scopes.projectId),
1708
+ eq(contextConfigs.graphId, params.scopes.graphId)
1702
1709
  )
1703
1710
  );
1704
1711
  const total = result[0]?.count || 0;
@@ -1709,13 +1716,18 @@ var getContextConfigsByName = (db) => async (params) => {
1709
1716
  where: and(
1710
1717
  eq(contextConfigs.tenantId, params.scopes.tenantId),
1711
1718
  eq(contextConfigs.projectId, params.scopes.projectId),
1719
+ eq(contextConfigs.graphId, params.scopes.graphId),
1712
1720
  eq(contextConfigs.name, params.name)
1713
1721
  ),
1714
1722
  orderBy: [desc(contextConfigs.createdAt)]
1715
1723
  });
1716
1724
  };
1717
1725
  var upsertContextConfig = (db) => async (params) => {
1718
- const scopes = { tenantId: params.data.tenantId, projectId: params.data.projectId };
1726
+ const scopes = {
1727
+ tenantId: params.data.tenantId,
1728
+ projectId: params.data.projectId,
1729
+ graphId: params.data.graphId
1730
+ };
1719
1731
  if (params.data.id) {
1720
1732
  const existing = await getContextConfigById(db)({
1721
1733
  scopes,
@@ -2204,7 +2216,7 @@ var getFullGraphDefinition = (db) => async ({
2204
2216
  if (graph.contextConfigId) {
2205
2217
  try {
2206
2218
  contextConfig2 = await getContextConfigById(db)({
2207
- scopes: { tenantId, projectId },
2219
+ scopes: { tenantId, projectId, graphId },
2208
2220
  id: graph.contextConfigId
2209
2221
  });
2210
2222
  } catch (error) {
@@ -4535,6 +4547,7 @@ var createFullGraphServerSide = (db, logger12 = defaultLogger) => async (scopes,
4535
4547
  const contextConfig2 = await upsertContextConfig(db)({
4536
4548
  data: {
4537
4549
  ...typed.contextConfig,
4550
+ graphId: finalGraphId,
4538
4551
  tenantId,
4539
4552
  projectId
4540
4553
  }
@@ -4932,6 +4945,7 @@ var updateFullGraphServerSide = (db, logger12 = defaultLogger) => async (scopes,
4932
4945
  const contextConfig2 = await upsertContextConfig(db)({
4933
4946
  data: {
4934
4947
  ...typedGraphDefinition.contextConfig,
4948
+ graphId: finalGraphId,
4935
4949
  tenantId,
4936
4950
  projectId
4937
4951
  }
@@ -6690,30 +6704,6 @@ var getFullProject = (db, logger12 = defaultLogger2) => async (params) => {
6690
6704
  "Failed to retrieve artifactComponents for project"
6691
6705
  );
6692
6706
  }
6693
- const projectContextConfigs = {};
6694
- try {
6695
- const contextConfigsList = await listContextConfigs(db)({
6696
- scopes: { tenantId, projectId }
6697
- });
6698
- for (const config of contextConfigsList) {
6699
- projectContextConfigs[config.id] = {
6700
- id: config.id,
6701
- name: config.name,
6702
- description: config.description,
6703
- requestContextSchema: config.requestContextSchema,
6704
- contextVariables: config.contextVariables
6705
- };
6706
- }
6707
- logger12.info(
6708
- { tenantId, projectId, count: Object.keys(projectContextConfigs).length },
6709
- "ContextConfigs retrieved for project"
6710
- );
6711
- } catch (error) {
6712
- logger12.warn(
6713
- { tenantId, projectId, error },
6714
- "Failed to retrieve contextConfigs for project"
6715
- );
6716
- }
6717
6707
  const projectCredentialReferences = {};
6718
6708
  try {
6719
6709
  const credentialReferencesList = await listCredentialReferences(db)({
@@ -7684,7 +7674,7 @@ async function validateRequestContext({
7684
7674
  };
7685
7675
  }
7686
7676
  const contextConfig2 = await getContextConfigById(dbClient)({
7687
- scopes: { tenantId, projectId },
7677
+ scopes: { tenantId, projectId, graphId },
7688
7678
  id: agentGraph2.contextConfigId
7689
7679
  });
7690
7680
  if (!contextConfig2) {
@@ -8253,7 +8243,7 @@ async function handleContextResolution({
8253
8243
  );
8254
8244
  trigger = await determineContextTrigger(tenantId, projectId, conversationId, dbClient);
8255
8245
  const contextConfig2 = await getContextConfigById(dbClient)({
8256
- scopes: { tenantId, projectId },
8246
+ scopes: { tenantId, projectId, graphId },
8257
8247
  id: agentGraph2.contextConfigId
8258
8248
  });
8259
8249
  if (!contextConfig2) {
@@ -1,6 +1,6 @@
1
1
  import * as drizzle_orm from 'drizzle-orm';
2
2
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
3
- import { h as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, i as ToolMcpConfig, j as ToolServerCapabilities, k as ConversationMetadata, l as MessageContent, m as MessageMetadata, P as Part } from './utility-CfjwCzr_.cjs';
3
+ import { h as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, i as ToolMcpConfig, j as ToolServerCapabilities, k as ConversationMetadata, l as MessageContent, m as MessageMetadata, P as Part } from './utility-BMAHFZX6.cjs';
4
4
 
5
5
  declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6
6
  name: "projects";
@@ -1,6 +1,6 @@
1
1
  import * as drizzle_orm from 'drizzle-orm';
2
2
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
3
- import { h as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, i as ToolMcpConfig, j as ToolServerCapabilities, k as ConversationMetadata, l as MessageContent, m as MessageMetadata, P as Part } from './utility-CfjwCzr_.js';
3
+ import { h as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, i as ToolMcpConfig, j as ToolServerCapabilities, k as ConversationMetadata, l as MessageContent, m as MessageMetadata, P as Part } from './utility-BMAHFZX6.js';
4
4
 
5
5
  declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
6
6
  name: "projects";
@@ -1,5 +1,5 @@
1
- import { f as CredentialStoreType } from '../utility-CfjwCzr_.cjs';
2
- export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, bC as AgentApiSelect, bE as AgentApiUpdate, cw as AgentArtifactComponentApiInsert, cv as AgentArtifactComponentApiSelect, cx as AgentArtifactComponentApiUpdate, ct as AgentArtifactComponentInsert, cs as AgentArtifactComponentSelect, cu as AgentArtifactComponentUpdate, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, cm as AgentDataComponentApiSelect, co as AgentDataComponentApiUpdate, ck as AgentDataComponentInsert, cj as AgentDataComponentSelect, cl as AgentDataComponentUpdate, cV as AgentDefinition, bN as AgentGraphApiInsert, bM as AgentGraphApiSelect, bO as AgentGraphApiUpdate, t as AgentGraphInsert, bL as AgentGraphSelect, u as AgentGraphUpdate, B as AgentInsert, aA as AgentProvider, bH as AgentRelationApiInsert, bG as AgentRelationApiSelect, bI as AgentRelationApiUpdate, x as AgentRelationInsert, bJ as AgentRelationQuery, bF as AgentRelationSelect, y as AgentRelationUpdate, w as AgentScopeConfig, H as AgentSelect, aB as AgentSkill, cL as AgentToolRelationApiInsert, cK as AgentToolRelationApiSelect, cM as AgentToolRelationApiUpdate, cJ as AgentToolRelationInsert, cI as AgentToolRelationSelect, z as AgentToolRelationUpdate, D as AgentUpdate, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, cD as ApiKeyApiInsert, cC as ApiKeyApiSelect, cE as ApiKeyApiUpdate, N as ApiKeyCreateResult, J as ApiKeyInsert, I as ApiKeySelect, K as ApiKeyUpdate, a9 as Artifact, cq as ArtifactComponentApiInsert, cp as ArtifactComponentApiSelect, cr as ArtifactComponentApiUpdate, Q as ArtifactComponentInsert, O as ArtifactComponentSelect, R as ArtifactComponentUpdate, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, cd as ContextCacheApiSelect, cf as ContextCacheApiUpdate, d9 as ContextCacheEntry, V as ContextCacheInsert, U as ContextCacheSelect, cc as ContextCacheUpdate, c8 as ContextConfigApiInsert, c7 as ContextConfigApiSelect, c9 as ContextConfigApiUpdate, W as ContextConfigInsert, o as ContextConfigSelect, X as ContextConfigUpdate, h as ContextFetchDefinition, c1 as ConversationApiInsert, c0 as ConversationApiSelect, c2 as ConversationApiUpdate, C as ConversationHistoryConfig, Z as ConversationInsert, k as ConversationMetadata, d7 as ConversationScopeOptions, Y as ConversationSelect, _ as ConversationUpdate, L as CreateApiKeyParams, n as CredentialReferenceApiInsert, cG as CredentialReferenceApiSelect, cH as CredentialReferenceApiUpdate, a1 as CredentialReferenceInsert, $ as CredentialReferenceSelect, a2 as CredentialReferenceUpdate, ch as DataComponentApiInsert, cg as DataComponentApiSelect, ci as DataComponentApiUpdate, a4 as DataComponentInsert, a3 as DataComponentSelect, a5 as DataComponentUpdate, ax as DataPart, aq as ExecutionContext, cz as ExternalAgentApiInsert, cy as ExternalAgentApiSelect, cA as ExternalAgentApiUpdate, a6 as ExternalAgentInsert, bK as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, cb as FetchConfig, ca as FetchDefinition, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, v as FullGraphDefinition, ae as FullProjectDefinition, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, q as GraphScopeConfig, aE as HTTPAuthSecurityScheme, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, cP as LedgerArtifactApiSelect, cR as LedgerArtifactApiUpdate, cN as LedgerArtifactInsert, aa as LedgerArtifactSelect, cO as LedgerArtifactUpdate, dh as MCPServerType, p as MCPToolConfig, g as MCPTransportType, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, an as McpTool, de as McpToolDefinition, dc as McpTransportConfig, aO as Message, c5 as MessageApiInsert, c4 as MessageApiSelect, c6 as MessageApiUpdate, l as MessageContent, ac as MessageInsert, m as MessageMetadata, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, ad as MessageUpdate, ab as MessageVisibility, aV as MethodNotFoundError, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, s as PaginationConfig, ah as PaginationResult, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, cX as ProjectApiSelect, cZ as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, d4 as ProjectModels, ai as ProjectResourceCounts, r as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, d6 as StatusComponent, d5 as StatusUpdateSettings, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, bQ as TaskApiSelect, bS as TaskApiUpdate, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, al as TaskInsert, T as TaskMetadataConfig, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, bW as TaskRelationApiSelect, bY as TaskRelationApiUpdate, bU as TaskRelationInsert, bT as TaskRelationSelect, bV as TaskRelationUpdate, bl as TaskResubscriptionRequest, am as TaskSelect, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, as as TextPart, b_ as ToolApiInsert, bZ as ToolApiSelect, b$ as ToolApiUpdate, cW as ToolDefinition, ao as ToolInsert, i as ToolMcpConfig, a0 as ToolSelect, j as ToolServerCapabilities, ap as ToolUpdate, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES } from '../utility-CfjwCzr_.cjs';
1
+ import { f as CredentialStoreType } from '../utility-BMAHFZX6.cjs';
2
+ export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, bC as AgentApiSelect, bE as AgentApiUpdate, cw as AgentArtifactComponentApiInsert, cv as AgentArtifactComponentApiSelect, cx as AgentArtifactComponentApiUpdate, ct as AgentArtifactComponentInsert, cs as AgentArtifactComponentSelect, cu as AgentArtifactComponentUpdate, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, cm as AgentDataComponentApiSelect, co as AgentDataComponentApiUpdate, ck as AgentDataComponentInsert, cj as AgentDataComponentSelect, cl as AgentDataComponentUpdate, cV as AgentDefinition, bN as AgentGraphApiInsert, bM as AgentGraphApiSelect, bO as AgentGraphApiUpdate, t as AgentGraphInsert, bL as AgentGraphSelect, u as AgentGraphUpdate, B as AgentInsert, aA as AgentProvider, bH as AgentRelationApiInsert, bG as AgentRelationApiSelect, bI as AgentRelationApiUpdate, x as AgentRelationInsert, bJ as AgentRelationQuery, bF as AgentRelationSelect, y as AgentRelationUpdate, w as AgentScopeConfig, H as AgentSelect, aB as AgentSkill, cL as AgentToolRelationApiInsert, cK as AgentToolRelationApiSelect, cM as AgentToolRelationApiUpdate, cJ as AgentToolRelationInsert, cI as AgentToolRelationSelect, z as AgentToolRelationUpdate, D as AgentUpdate, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, cD as ApiKeyApiInsert, cC as ApiKeyApiSelect, cE as ApiKeyApiUpdate, N as ApiKeyCreateResult, J as ApiKeyInsert, I as ApiKeySelect, K as ApiKeyUpdate, a9 as Artifact, cq as ArtifactComponentApiInsert, cp as ArtifactComponentApiSelect, cr as ArtifactComponentApiUpdate, Q as ArtifactComponentInsert, O as ArtifactComponentSelect, R as ArtifactComponentUpdate, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, cd as ContextCacheApiSelect, cf as ContextCacheApiUpdate, d9 as ContextCacheEntry, V as ContextCacheInsert, U as ContextCacheSelect, cc as ContextCacheUpdate, c8 as ContextConfigApiInsert, c7 as ContextConfigApiSelect, c9 as ContextConfigApiUpdate, W as ContextConfigInsert, o as ContextConfigSelect, X as ContextConfigUpdate, h as ContextFetchDefinition, c1 as ConversationApiInsert, c0 as ConversationApiSelect, c2 as ConversationApiUpdate, C as ConversationHistoryConfig, Z as ConversationInsert, k as ConversationMetadata, d7 as ConversationScopeOptions, Y as ConversationSelect, _ as ConversationUpdate, L as CreateApiKeyParams, n as CredentialReferenceApiInsert, cG as CredentialReferenceApiSelect, cH as CredentialReferenceApiUpdate, a1 as CredentialReferenceInsert, $ as CredentialReferenceSelect, a2 as CredentialReferenceUpdate, ch as DataComponentApiInsert, cg as DataComponentApiSelect, ci as DataComponentApiUpdate, a4 as DataComponentInsert, a3 as DataComponentSelect, a5 as DataComponentUpdate, ax as DataPart, aq as ExecutionContext, cz as ExternalAgentApiInsert, cy as ExternalAgentApiSelect, cA as ExternalAgentApiUpdate, a6 as ExternalAgentInsert, bK as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, cb as FetchConfig, ca as FetchDefinition, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, v as FullGraphDefinition, ae as FullProjectDefinition, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, q as GraphScopeConfig, aE as HTTPAuthSecurityScheme, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, cP as LedgerArtifactApiSelect, cR as LedgerArtifactApiUpdate, cN as LedgerArtifactInsert, aa as LedgerArtifactSelect, cO as LedgerArtifactUpdate, dh as MCPServerType, p as MCPToolConfig, g as MCPTransportType, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, an as McpTool, de as McpToolDefinition, dc as McpTransportConfig, aO as Message, c5 as MessageApiInsert, c4 as MessageApiSelect, c6 as MessageApiUpdate, l as MessageContent, ac as MessageInsert, m as MessageMetadata, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, ad as MessageUpdate, ab as MessageVisibility, aV as MethodNotFoundError, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, s as PaginationConfig, ah as PaginationResult, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, cX as ProjectApiSelect, cZ as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, d4 as ProjectModels, ai as ProjectResourceCounts, r as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, d6 as StatusComponent, d5 as StatusUpdateSettings, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, bQ as TaskApiSelect, bS as TaskApiUpdate, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, al as TaskInsert, T as TaskMetadataConfig, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, bW as TaskRelationApiSelect, bY as TaskRelationApiUpdate, bU as TaskRelationInsert, bT as TaskRelationSelect, bV as TaskRelationUpdate, bl as TaskResubscriptionRequest, am as TaskSelect, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, as as TextPart, b_ as ToolApiInsert, bZ as ToolApiSelect, b$ as ToolApiUpdate, cW as ToolDefinition, ao as ToolInsert, i as ToolMcpConfig, a0 as ToolSelect, j as ToolServerCapabilities, ap as ToolUpdate, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES } from '../utility-BMAHFZX6.cjs';
3
3
  import { Context } from 'hono';
4
4
  import 'zod';
5
5
  import 'drizzle-zod';
@@ -1,5 +1,5 @@
1
- import { f as CredentialStoreType } from '../utility-CfjwCzr_.js';
2
- export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, bC as AgentApiSelect, bE as AgentApiUpdate, cw as AgentArtifactComponentApiInsert, cv as AgentArtifactComponentApiSelect, cx as AgentArtifactComponentApiUpdate, ct as AgentArtifactComponentInsert, cs as AgentArtifactComponentSelect, cu as AgentArtifactComponentUpdate, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, cm as AgentDataComponentApiSelect, co as AgentDataComponentApiUpdate, ck as AgentDataComponentInsert, cj as AgentDataComponentSelect, cl as AgentDataComponentUpdate, cV as AgentDefinition, bN as AgentGraphApiInsert, bM as AgentGraphApiSelect, bO as AgentGraphApiUpdate, t as AgentGraphInsert, bL as AgentGraphSelect, u as AgentGraphUpdate, B as AgentInsert, aA as AgentProvider, bH as AgentRelationApiInsert, bG as AgentRelationApiSelect, bI as AgentRelationApiUpdate, x as AgentRelationInsert, bJ as AgentRelationQuery, bF as AgentRelationSelect, y as AgentRelationUpdate, w as AgentScopeConfig, H as AgentSelect, aB as AgentSkill, cL as AgentToolRelationApiInsert, cK as AgentToolRelationApiSelect, cM as AgentToolRelationApiUpdate, cJ as AgentToolRelationInsert, cI as AgentToolRelationSelect, z as AgentToolRelationUpdate, D as AgentUpdate, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, cD as ApiKeyApiInsert, cC as ApiKeyApiSelect, cE as ApiKeyApiUpdate, N as ApiKeyCreateResult, J as ApiKeyInsert, I as ApiKeySelect, K as ApiKeyUpdate, a9 as Artifact, cq as ArtifactComponentApiInsert, cp as ArtifactComponentApiSelect, cr as ArtifactComponentApiUpdate, Q as ArtifactComponentInsert, O as ArtifactComponentSelect, R as ArtifactComponentUpdate, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, cd as ContextCacheApiSelect, cf as ContextCacheApiUpdate, d9 as ContextCacheEntry, V as ContextCacheInsert, U as ContextCacheSelect, cc as ContextCacheUpdate, c8 as ContextConfigApiInsert, c7 as ContextConfigApiSelect, c9 as ContextConfigApiUpdate, W as ContextConfigInsert, o as ContextConfigSelect, X as ContextConfigUpdate, h as ContextFetchDefinition, c1 as ConversationApiInsert, c0 as ConversationApiSelect, c2 as ConversationApiUpdate, C as ConversationHistoryConfig, Z as ConversationInsert, k as ConversationMetadata, d7 as ConversationScopeOptions, Y as ConversationSelect, _ as ConversationUpdate, L as CreateApiKeyParams, n as CredentialReferenceApiInsert, cG as CredentialReferenceApiSelect, cH as CredentialReferenceApiUpdate, a1 as CredentialReferenceInsert, $ as CredentialReferenceSelect, a2 as CredentialReferenceUpdate, ch as DataComponentApiInsert, cg as DataComponentApiSelect, ci as DataComponentApiUpdate, a4 as DataComponentInsert, a3 as DataComponentSelect, a5 as DataComponentUpdate, ax as DataPart, aq as ExecutionContext, cz as ExternalAgentApiInsert, cy as ExternalAgentApiSelect, cA as ExternalAgentApiUpdate, a6 as ExternalAgentInsert, bK as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, cb as FetchConfig, ca as FetchDefinition, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, v as FullGraphDefinition, ae as FullProjectDefinition, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, q as GraphScopeConfig, aE as HTTPAuthSecurityScheme, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, cP as LedgerArtifactApiSelect, cR as LedgerArtifactApiUpdate, cN as LedgerArtifactInsert, aa as LedgerArtifactSelect, cO as LedgerArtifactUpdate, dh as MCPServerType, p as MCPToolConfig, g as MCPTransportType, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, an as McpTool, de as McpToolDefinition, dc as McpTransportConfig, aO as Message, c5 as MessageApiInsert, c4 as MessageApiSelect, c6 as MessageApiUpdate, l as MessageContent, ac as MessageInsert, m as MessageMetadata, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, ad as MessageUpdate, ab as MessageVisibility, aV as MethodNotFoundError, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, s as PaginationConfig, ah as PaginationResult, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, cX as ProjectApiSelect, cZ as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, d4 as ProjectModels, ai as ProjectResourceCounts, r as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, d6 as StatusComponent, d5 as StatusUpdateSettings, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, bQ as TaskApiSelect, bS as TaskApiUpdate, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, al as TaskInsert, T as TaskMetadataConfig, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, bW as TaskRelationApiSelect, bY as TaskRelationApiUpdate, bU as TaskRelationInsert, bT as TaskRelationSelect, bV as TaskRelationUpdate, bl as TaskResubscriptionRequest, am as TaskSelect, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, as as TextPart, b_ as ToolApiInsert, bZ as ToolApiSelect, b$ as ToolApiUpdate, cW as ToolDefinition, ao as ToolInsert, i as ToolMcpConfig, a0 as ToolSelect, j as ToolServerCapabilities, ap as ToolUpdate, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES } from '../utility-CfjwCzr_.js';
1
+ import { f as CredentialStoreType } from '../utility-BMAHFZX6.js';
2
+ export { b2 as A2AError, by as A2ARequest, bz as A2AResponse, aD as APIKeySecurityScheme, bD as AgentApiInsert, bC as AgentApiSelect, bE as AgentApiUpdate, cw as AgentArtifactComponentApiInsert, cv as AgentArtifactComponentApiSelect, cx as AgentArtifactComponentApiUpdate, ct as AgentArtifactComponentInsert, cs as AgentArtifactComponentSelect, cu as AgentArtifactComponentUpdate, az as AgentCapabilities, aN as AgentCard, d8 as AgentConversationHistoryConfig, cn as AgentDataComponentApiInsert, cm as AgentDataComponentApiSelect, co as AgentDataComponentApiUpdate, ck as AgentDataComponentInsert, cj as AgentDataComponentSelect, cl as AgentDataComponentUpdate, cV as AgentDefinition, bN as AgentGraphApiInsert, bM as AgentGraphApiSelect, bO as AgentGraphApiUpdate, t as AgentGraphInsert, bL as AgentGraphSelect, u as AgentGraphUpdate, B as AgentInsert, aA as AgentProvider, bH as AgentRelationApiInsert, bG as AgentRelationApiSelect, bI as AgentRelationApiUpdate, x as AgentRelationInsert, bJ as AgentRelationQuery, bF as AgentRelationSelect, y as AgentRelationUpdate, w as AgentScopeConfig, H as AgentSelect, aB as AgentSkill, cL as AgentToolRelationApiInsert, cK as AgentToolRelationApiSelect, cM as AgentToolRelationApiUpdate, cJ as AgentToolRelationInsert, cI as AgentToolRelationSelect, z as AgentToolRelationUpdate, D as AgentUpdate, cB as AllAgentSelect, cF as ApiKeyApiCreationResponse, cD as ApiKeyApiInsert, cC as ApiKeyApiSelect, cE as ApiKeyApiUpdate, N as ApiKeyCreateResult, J as ApiKeyInsert, I as ApiKeySelect, K as ApiKeyUpdate, a9 as Artifact, cq as ArtifactComponentApiInsert, cp as ArtifactComponentApiSelect, cr as ArtifactComponentApiUpdate, Q as ArtifactComponentInsert, O as ArtifactComponentSelect, R as ArtifactComponentUpdate, aG as AuthorizationCodeOAuthFlow, cT as CanUseItem, bi as CancelTaskRequest, bt as CancelTaskResponse, bs as CancelTaskSuccessResponse, aH as ClientCredentialsOAuthFlow, b0 as ContentTypeNotSupportedError, ce as ContextCacheApiInsert, cd as ContextCacheApiSelect, cf as ContextCacheApiUpdate, d9 as ContextCacheEntry, V as ContextCacheInsert, U as ContextCacheSelect, cc as ContextCacheUpdate, c8 as ContextConfigApiInsert, c7 as ContextConfigApiSelect, c9 as ContextConfigApiUpdate, W as ContextConfigInsert, o as ContextConfigSelect, X as ContextConfigUpdate, h as ContextFetchDefinition, c1 as ConversationApiInsert, c0 as ConversationApiSelect, c2 as ConversationApiUpdate, C as ConversationHistoryConfig, Z as ConversationInsert, k as ConversationMetadata, d7 as ConversationScopeOptions, Y as ConversationSelect, _ as ConversationUpdate, L as CreateApiKeyParams, n as CredentialReferenceApiInsert, cG as CredentialReferenceApiSelect, cH as CredentialReferenceApiUpdate, a1 as CredentialReferenceInsert, $ as CredentialReferenceSelect, a2 as CredentialReferenceUpdate, ch as DataComponentApiInsert, cg as DataComponentApiSelect, ci as DataComponentApiUpdate, a4 as DataComponentInsert, a3 as DataComponentSelect, a5 as DataComponentUpdate, ax as DataPart, aq as ExecutionContext, cz as ExternalAgentApiInsert, cy as ExternalAgentApiSelect, cA as ExternalAgentApiUpdate, a6 as ExternalAgentInsert, bK as ExternalAgentRelationApiInsert, E as ExternalAgentRelationInsert, a7 as ExternalAgentSelect, a8 as ExternalAgentUpdate, cb as FetchConfig, ca as FetchDefinition, at as FileBase, aw as FilePart, au as FileWithBytes, av as FileWithUri, cS as FullGraphAgentInsert, v as FullGraphDefinition, ae as FullProjectDefinition, bk as GetTaskPushNotificationConfigRequest, bx as GetTaskPushNotificationConfigResponse, bw as GetTaskPushNotificationConfigSuccessResponse, bh as GetTaskRequest, br as GetTaskResponse, bq as GetTaskSuccessResponse, q as GraphScopeConfig, aE as HTTPAuthSecurityScheme, aI as ImplicitOAuthFlow, cU as InternalAgentDefinition, aX as InternalError, b1 as InvalidAgentResponseError, aW as InvalidParamsError, aU as InvalidRequestError, aT as JSONParseError, bc as JSONRPCError, be as JSONRPCErrorResponse, ba as JSONRPCMessage, bb as JSONRPCRequest, bd as JSONRPCResult, cQ as LedgerArtifactApiInsert, cP as LedgerArtifactApiSelect, cR as LedgerArtifactApiUpdate, cN as LedgerArtifactInsert, aa as LedgerArtifactSelect, cO as LedgerArtifactUpdate, dh as MCPServerType, p as MCPToolConfig, g as MCPTransportType, da as McpAuthType, db as McpServerAuth, dd as McpServerCapabilities, an as McpTool, de as McpToolDefinition, dc as McpTransportConfig, aO as Message, c5 as MessageApiInsert, c4 as MessageApiSelect, c6 as MessageApiUpdate, l as MessageContent, ac as MessageInsert, m as MessageMetadata, d2 as MessageMode, bA as MessagePart, d1 as MessageRole, c3 as MessageSelect, b8 as MessageSendConfiguration, b9 as MessageSendParams, d0 as MessageType, ad as MessageUpdate, ab as MessageVisibility, aV as MethodNotFoundError, d3 as Models, aK as OAuth2SecurityScheme, aF as OAuthFlows, aL as OpenIdConnectSecurityScheme, c_ as Pagination, s as PaginationConfig, ah as PaginationResult, P as Part, ar as PartBase, aJ as PasswordOAuthFlow, cY as ProjectApiInsert, cX as ProjectApiSelect, cZ as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, d4 as ProjectModels, ai as ProjectResourceCounts, r as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, b3 as PushNotificationAuthenticationInfo, b4 as PushNotificationConfig, a_ as PushNotificationNotSupportedError, aM as SecurityScheme, aC as SecuritySchemeBase, bf as SendMessageRequest, bn as SendMessageResponse, bm as SendMessageSuccessResponse, bg as SendStreamingMessageRequest, bp as SendStreamingMessageResponse, bo as SendStreamingMessageSuccessResponse, bj as SetTaskPushNotificationConfigRequest, bv as SetTaskPushNotificationConfigResponse, bu as SetTaskPushNotificationConfigSuccessResponse, d6 as StatusComponent, d5 as StatusUpdateSettings, c$ as SummaryEvent, df as TOOL_STATUS_VALUES, aQ as Task, bR as TaskApiInsert, bQ as TaskApiSelect, bS as TaskApiUpdate, bB as TaskArtifact, aS as TaskArtifactUpdateEvent, b6 as TaskIdParams, al as TaskInsert, T as TaskMetadataConfig, aZ as TaskNotCancelableError, aY as TaskNotFoundError, b5 as TaskPushNotificationConfig, b7 as TaskQueryParams, bX as TaskRelationApiInsert, bW as TaskRelationApiSelect, bY as TaskRelationApiUpdate, bU as TaskRelationInsert, bT as TaskRelationSelect, bV as TaskRelationUpdate, bl as TaskResubscriptionRequest, am as TaskSelect, ay as TaskState, aP as TaskStatus, aR as TaskStatusUpdateEvent, bP as TaskUpdate, as as TextPart, b_ as ToolApiInsert, bZ as ToolApiSelect, b$ as ToolApiUpdate, cW as ToolDefinition, ao as ToolInsert, i as ToolMcpConfig, a0 as ToolSelect, j as ToolServerCapabilities, ap as ToolUpdate, a$ as UnsupportedOperationError, dg as VALID_RELATION_TYPES } from '../utility-BMAHFZX6.js';
3
3
  import { Context } from 'hono';
4
4
  import 'zod';
5
5
  import 'drizzle-zod';
@@ -6178,7 +6178,6 @@ declare const ContextConfigApiSelectSchema: z.ZodObject<{
6178
6178
  id: z.ZodString;
6179
6179
  name: z.ZodString;
6180
6180
  description: z.ZodString;
6181
- graphId: z.ZodString;
6182
6181
  createdAt: z.ZodString;
6183
6182
  updatedAt: z.ZodString;
6184
6183
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
@@ -6188,7 +6187,6 @@ declare const ContextConfigApiInsertSchema: z.ZodObject<{
6188
6187
  id: z.ZodString;
6189
6188
  name: z.ZodString;
6190
6189
  description: z.ZodString;
6191
- graphId: z.ZodString;
6192
6190
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6193
6191
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6194
6192
  }, z.core.$strip>;
@@ -6196,7 +6194,6 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6196
6194
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
6195
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6198
6196
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6199
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6200
6197
  requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
6201
6198
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>>;
6202
6199
  }, z.core.$strip>;
@@ -7351,7 +7348,6 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7351
7348
  id: z.ZodString;
7352
7349
  name: z.ZodString;
7353
7350
  description: z.ZodString;
7354
- graphId: z.ZodString;
7355
7351
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7356
7352
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7357
7353
  }, z.core.$strip>>;
@@ -7454,7 +7450,6 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7454
7450
  id: z.ZodString;
7455
7451
  name: z.ZodString;
7456
7452
  description: z.ZodString;
7457
- graphId: z.ZodString;
7458
7453
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7459
7454
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7460
7455
  }, z.core.$strip>>;
@@ -7977,7 +7972,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7977
7972
  id: z.ZodString;
7978
7973
  name: z.ZodString;
7979
7974
  description: z.ZodString;
7980
- graphId: z.ZodString;
7981
7975
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7982
7976
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7983
7977
  }, z.core.$strip>>;
@@ -6178,7 +6178,6 @@ declare const ContextConfigApiSelectSchema: z.ZodObject<{
6178
6178
  id: z.ZodString;
6179
6179
  name: z.ZodString;
6180
6180
  description: z.ZodString;
6181
- graphId: z.ZodString;
6182
6181
  createdAt: z.ZodString;
6183
6182
  updatedAt: z.ZodString;
6184
6183
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
@@ -6188,7 +6187,6 @@ declare const ContextConfigApiInsertSchema: z.ZodObject<{
6188
6187
  id: z.ZodString;
6189
6188
  name: z.ZodString;
6190
6189
  description: z.ZodString;
6191
- graphId: z.ZodString;
6192
6190
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
6193
6191
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
6194
6192
  }, z.core.$strip>;
@@ -6196,7 +6194,6 @@ declare const ContextConfigApiUpdateSchema: z.ZodObject<{
6196
6194
  id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6197
6195
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6198
6196
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6199
- graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6200
6197
  requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
6201
6198
  contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>>;
6202
6199
  }, z.core.$strip>;
@@ -7351,7 +7348,6 @@ declare const FullGraphDefinitionSchema: z.ZodObject<{
7351
7348
  id: z.ZodString;
7352
7349
  name: z.ZodString;
7353
7350
  description: z.ZodString;
7354
- graphId: z.ZodString;
7355
7351
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7356
7352
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7357
7353
  }, z.core.$strip>>;
@@ -7454,7 +7450,6 @@ declare const GraphWithinContextOfProjectSchema: z.ZodObject<{
7454
7450
  id: z.ZodString;
7455
7451
  name: z.ZodString;
7456
7452
  description: z.ZodString;
7457
- graphId: z.ZodString;
7458
7453
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7459
7454
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7460
7455
  }, z.core.$strip>>;
@@ -7977,7 +7972,6 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
7977
7972
  id: z.ZodString;
7978
7973
  name: z.ZodString;
7979
7974
  description: z.ZodString;
7980
- graphId: z.ZodString;
7981
7975
  requestContextSchema: z.ZodOptional<z.ZodUnknown>;
7982
7976
  contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
7983
7977
  }, z.core.$strip>>;
@@ -1224,9 +1224,15 @@ var ContextConfigInsertSchema = drizzleZod.createInsertSchema(contextConfigs).ex
1224
1224
  updatedAt: true
1225
1225
  });
1226
1226
  var ContextConfigUpdateSchema = ContextConfigInsertSchema.partial();
1227
- var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema);
1228
- var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema);
1229
- var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema);
1227
+ var ContextConfigApiSelectSchema = createApiSchema(ContextConfigSelectSchema).omit({
1228
+ graphId: true
1229
+ });
1230
+ var ContextConfigApiInsertSchema = createApiInsertSchema(ContextConfigInsertSchema).omit({
1231
+ graphId: true
1232
+ });
1233
+ var ContextConfigApiUpdateSchema = createApiUpdateSchema(ContextConfigUpdateSchema).omit({
1234
+ graphId: true
1235
+ });
1230
1236
  var AgentToolRelationSelectSchema = drizzleZod.createSelectSchema(agentToolRelations);
1231
1237
  var AgentToolRelationInsertSchema = drizzleZod.createInsertSchema(agentToolRelations).extend({
1232
1238
  id: resourceIdSchema,
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-CfjwCzr_.cjs';
3
- export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-CfjwCzr_.cjs';
2
+ import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-BMAHFZX6.cjs';
3
+ export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-BMAHFZX6.cjs';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/sqlite-core';
6
6
  import '@hono/zod-openapi';
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-CfjwCzr_.js';
3
- export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-CfjwCzr_.js';
2
+ import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-BMAHFZX6.js';
3
+ export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-BMAHFZX6.js';
4
4
  import 'drizzle-zod';
5
5
  import 'drizzle-orm/sqlite-core';
6
6
  import '@hono/zod-openapi';
@@ -1,2 +1,2 @@
1
- export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from '../chunk-SPN4Y2C3.js';
2
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from '../chunk-423XYZ6F.js';
1
+ export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from '../chunk-FLKAMXLV.js';
2
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from '../chunk-FMCAYVO7.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.14.15",
3
+ "version": "0.15.0",
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",