@inkeep/agents-core 0.29.10 → 0.30.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.
- package/dist/{chunk-C2QU7WTO.js → chunk-37BY2EHU.js} +1 -0
- package/dist/{chunk-QEY2ACBE.js → chunk-4FQG5A4Z.js} +1 -1
- package/dist/client-exports.cjs +1 -0
- package/dist/client-exports.d.cts +2 -2
- package/dist/client-exports.d.ts +2 -2
- package/dist/client-exports.js +2 -2
- package/dist/db/schema.d.cts +2 -2
- package/dist/db/schema.d.ts +2 -2
- package/dist/index.cjs +53 -14
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +57 -21
- package/dist/{schema-BQf2wGSE.d.ts → schema-DfnCgRwo.d.ts} +1 -1
- package/dist/{schema-C-rqra-r.d.cts → schema-DgEdaA4i.d.cts} +1 -1
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/dist/{utility-C5D70uSj.d.cts → utility-eADYCyd-.d.cts} +8 -0
- package/dist/{utility-C5D70uSj.d.ts → utility-eADYCyd-.d.ts} +8 -0
- package/dist/validation/index.cjs +1 -0
- package/dist/validation/index.d.cts +2 -2
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/index.js +2 -2
- package/package.json +1 -1
|
@@ -675,6 +675,7 @@ var ProjectApiUpdateSchema = ProjectUpdateSchema.omit({ tenantId: true }).openap
|
|
|
675
675
|
var FullProjectDefinitionSchema = ProjectApiInsertSchema.extend({
|
|
676
676
|
agents: z.record(z.string(), AgentWithinContextOfProjectSchema),
|
|
677
677
|
tools: z.record(z.string(), ToolApiInsertSchema),
|
|
678
|
+
functionTools: z.record(z.string(), FunctionToolApiInsertSchema).optional(),
|
|
678
679
|
functions: z.record(z.string(), FunctionApiInsertSchema).optional(),
|
|
679
680
|
dataComponents: z.record(z.string(), DataComponentApiInsertSchema).optional(),
|
|
680
681
|
artifactComponents: z.record(z.string(), ArtifactComponentApiInsertSchema).optional(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-
|
|
1
|
+
import { AgentWithinContextOfProjectSchema, resourceIdSchema, MAX_ID_LENGTH } from './chunk-37BY2EHU.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
// src/validation/agentFull.ts
|
package/dist/client-exports.cjs
CHANGED
|
@@ -1626,6 +1626,7 @@ ProjectUpdateSchema.omit({ tenantId: true }).openapi(
|
|
|
1626
1626
|
ProjectApiInsertSchema.extend({
|
|
1627
1627
|
agents: zodOpenapi.z.record(zodOpenapi.z.string(), AgentWithinContextOfProjectSchema),
|
|
1628
1628
|
tools: zodOpenapi.z.record(zodOpenapi.z.string(), ToolApiInsertSchema),
|
|
1629
|
+
functionTools: zodOpenapi.z.record(zodOpenapi.z.string(), FunctionToolApiInsertSchema).optional(),
|
|
1629
1630
|
functions: zodOpenapi.z.record(zodOpenapi.z.string(), FunctionApiInsertSchema).optional(),
|
|
1630
1631
|
dataComponents: zodOpenapi.z.record(zodOpenapi.z.string(), DataComponentApiInsertSchema).optional(),
|
|
1631
1632
|
artifactComponents: zodOpenapi.z.record(zodOpenapi.z.string(), ArtifactComponentApiInsertSchema).optional(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired } from './auth-detection-DtO-n2WD.cjs';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-eADYCyd-.cjs';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-eADYCyd-.cjs';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.cjs';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import 'drizzle-zod';
|
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired } from './auth-detection-DtO-n2WD.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-
|
|
4
|
-
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-
|
|
3
|
+
import { C as ConversationHistoryConfig, F as FunctionApiInsertSchema, A as ApiKeyApiUpdateSchema, a as FullAgentAgentInsertSchema } from './utility-eADYCyd-.js';
|
|
4
|
+
export { e as AgentStopWhen, b as AgentStopWhenSchema, h as CredentialStoreType, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, i as MCPTransportType, g as ModelSettings, M as ModelSettingsSchema, d as StopWhen, S as StopWhenSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema } from './utility-eADYCyd-.js';
|
|
5
5
|
export { v as validatePropsAsJsonSchema } from './props-validation-BMR1qNiy.js';
|
|
6
6
|
import 'pino';
|
|
7
7
|
import 'drizzle-zod';
|
package/dist/client-exports.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE, detectAuthenticationRequired } from './chunk-FGRAVXBC.js';
|
|
2
|
-
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-
|
|
3
|
-
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-
|
|
2
|
+
import { ModelSettingsSchema, FullAgentAgentInsertSchema, ArtifactComponentApiInsertSchema } from './chunk-37BY2EHU.js';
|
|
3
|
+
export { AgentStopWhenSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, ModelSettingsSchema, StopWhenSchema, SubAgentStopWhenSchema, validatePropsAsJsonSchema } from './chunk-37BY2EHU.js';
|
|
4
4
|
import { CredentialStoreType } from './chunk-YFHT5M2R.js';
|
|
5
5
|
export { CredentialStoreType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
6
6
|
import { z } from 'zod';
|
package/dist/db/schema.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
-
import '../utility-
|
|
4
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-eADYCyd-.cjs';
|
|
4
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-DgEdaA4i.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|
package/dist/db/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'drizzle-orm';
|
|
2
2
|
import 'drizzle-orm/sqlite-core';
|
|
3
|
-
import '../utility-
|
|
4
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-
|
|
3
|
+
import '../utility-eADYCyd-.js';
|
|
4
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from '../schema-DfnCgRwo.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import 'drizzle-zod';
|
|
7
7
|
import '@hono/zod-openapi';
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
|
-
var nanoid = require('nanoid');
|
|
5
4
|
var pino = require('pino');
|
|
6
5
|
var pinoPretty = require('pino-pretty');
|
|
7
6
|
var zodOpenapi = require('@hono/zod-openapi');
|
|
@@ -11,6 +10,7 @@ var sqliteCore = require('drizzle-orm/sqlite-core');
|
|
|
11
10
|
var jmespath = require('jmespath');
|
|
12
11
|
var client = require('@libsql/client');
|
|
13
12
|
var libsql = require('drizzle-orm/libsql');
|
|
13
|
+
var nanoid = require('nanoid');
|
|
14
14
|
var crypto = require('crypto');
|
|
15
15
|
var util = require('util');
|
|
16
16
|
var auth_js = require('@modelcontextprotocol/sdk/client/auth.js');
|
|
@@ -2520,7 +2520,7 @@ var require_typescript = __commonJS({
|
|
|
2520
2520
|
affectsEmitOptionDeclarations: () => affectsEmitOptionDeclarations,
|
|
2521
2521
|
allKeysStartWithDot: () => allKeysStartWithDot,
|
|
2522
2522
|
altDirectorySeparator: () => altDirectorySeparator,
|
|
2523
|
-
and: () =>
|
|
2523
|
+
and: () => and23,
|
|
2524
2524
|
append: () => append,
|
|
2525
2525
|
appendIfUnique: () => appendIfUnique,
|
|
2526
2526
|
arrayFrom: () => arrayFrom,
|
|
@@ -5971,7 +5971,7 @@ var require_typescript = __commonJS({
|
|
|
5971
5971
|
function isPatternMatch({ prefix, suffix }, candidate) {
|
|
5972
5972
|
return candidate.length >= prefix.length + suffix.length && startsWith(candidate, prefix) && endsWith(candidate, suffix);
|
|
5973
5973
|
}
|
|
5974
|
-
function
|
|
5974
|
+
function and23(f, g) {
|
|
5975
5975
|
return (arg) => f(arg) && g(arg);
|
|
5976
5976
|
}
|
|
5977
5977
|
function or(...fs2) {
|
|
@@ -56966,7 +56966,7 @@ ${lanes.join("\n")}
|
|
|
56966
56966
|
SignatureCheckMode3[SignatureCheckMode3["Callback"] = 3] = "Callback";
|
|
56967
56967
|
return SignatureCheckMode3;
|
|
56968
56968
|
})(SignatureCheckMode || {});
|
|
56969
|
-
var isNotOverloadAndNotAccessor =
|
|
56969
|
+
var isNotOverloadAndNotAccessor = and23(isNotOverload, isNotAccessor);
|
|
56970
56970
|
var intrinsicTypeKinds = new Map(Object.entries({
|
|
56971
56971
|
Uppercase: 0,
|
|
56972
56972
|
Lowercase: 1,
|
|
@@ -99777,7 +99777,7 @@ ${lanes.join("\n")}
|
|
|
99777
99777
|
if (flags & (1920 | 384)) {
|
|
99778
99778
|
return;
|
|
99779
99779
|
}
|
|
99780
|
-
const exportedDeclarationsCount = countWhere(declarations,
|
|
99780
|
+
const exportedDeclarationsCount = countWhere(declarations, and23(isNotOverloadAndNotAccessor, not2(isInterfaceDeclaration)));
|
|
99781
99781
|
if (flags & 524288 && exportedDeclarationsCount <= 2) {
|
|
99782
99782
|
return;
|
|
99783
99783
|
}
|
|
@@ -170565,7 +170565,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
170565
170565
|
const maybeHeritageClauseSymbol = getHeritageClauseSymbolTable(classDeclaration, checker);
|
|
170566
170566
|
const implementedType = checker.getTypeAtLocation(implementedTypeNode);
|
|
170567
170567
|
const implementedTypeSymbols = checker.getPropertiesOfType(implementedType);
|
|
170568
|
-
const nonPrivateAndNotExistedInHeritageClauseMembers = implementedTypeSymbols.filter(
|
|
170568
|
+
const nonPrivateAndNotExistedInHeritageClauseMembers = implementedTypeSymbols.filter(and23(symbolPointsToNonPrivateMember, (symbol) => !maybeHeritageClauseSymbol.has(symbol.escapedName)));
|
|
170569
170569
|
const classType = checker.getTypeAtLocation(classDeclaration);
|
|
170570
170570
|
const constructor = find(classDeclaration.members, (m) => isConstructorDeclaration(m));
|
|
170571
170571
|
if (!classType.getNumberIndexType()) {
|
|
@@ -185222,8 +185222,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
185222
185222
|
function isAmbientModuleDeclaration(node) {
|
|
185223
185223
|
return node.kind === 268 && node.name.kind === 11;
|
|
185224
185224
|
}
|
|
185225
|
-
function isExternalModuleImportEquals(
|
|
185226
|
-
return
|
|
185225
|
+
function isExternalModuleImportEquals(eq23) {
|
|
185226
|
+
return eq23.moduleReference.kind === 284 && eq23.moduleReference.expression.kind === 11;
|
|
185227
185227
|
}
|
|
185228
185228
|
var DefinitionKind = /* @__PURE__ */ ((DefinitionKind2) => {
|
|
185229
185229
|
DefinitionKind2[DefinitionKind2["Symbol"] = 0] = "Symbol";
|
|
@@ -197855,7 +197855,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
197855
197855
|
affectsEmitOptionDeclarations: () => affectsEmitOptionDeclarations,
|
|
197856
197856
|
allKeysStartWithDot: () => allKeysStartWithDot,
|
|
197857
197857
|
altDirectorySeparator: () => altDirectorySeparator,
|
|
197858
|
-
and: () =>
|
|
197858
|
+
and: () => and23,
|
|
197859
197859
|
append: () => append,
|
|
197860
197860
|
appendIfUnique: () => appendIfUnique,
|
|
197861
197861
|
arrayFrom: () => arrayFrom,
|
|
@@ -213211,10 +213211,6 @@ var QUERY_DEFAULTS = {
|
|
|
213211
213211
|
LIMIT_UNLIMITED: 1e10,
|
|
213212
213212
|
EMPTY_GROUP_BY: []
|
|
213213
213213
|
};
|
|
213214
|
-
var generateId = nanoid.customAlphabet("abcdefghijklmnopqrstuvwxyz0123456789", 21);
|
|
213215
|
-
function getConversationId() {
|
|
213216
|
-
return generateId();
|
|
213217
|
-
}
|
|
213218
213214
|
var PinoLogger = class {
|
|
213219
213215
|
constructor(name, config = {}) {
|
|
213220
213216
|
this.name = name;
|
|
@@ -215104,6 +215100,7 @@ var ProjectApiUpdateSchema = ProjectUpdateSchema.omit({ tenantId: true }).openap
|
|
|
215104
215100
|
var FullProjectDefinitionSchema = ProjectApiInsertSchema.extend({
|
|
215105
215101
|
agents: zodOpenapi.z.record(zodOpenapi.z.string(), AgentWithinContextOfProjectSchema),
|
|
215106
215102
|
tools: zodOpenapi.z.record(zodOpenapi.z.string(), ToolApiInsertSchema),
|
|
215103
|
+
functionTools: zodOpenapi.z.record(zodOpenapi.z.string(), FunctionToolApiInsertSchema).optional(),
|
|
215107
215104
|
functions: zodOpenapi.z.record(zodOpenapi.z.string(), FunctionApiInsertSchema).optional(),
|
|
215108
215105
|
dataComponents: zodOpenapi.z.record(zodOpenapi.z.string(), DataComponentApiInsertSchema).optional(),
|
|
215109
215106
|
artifactComponents: zodOpenapi.z.record(zodOpenapi.z.string(), ArtifactComponentApiInsertSchema).optional(),
|
|
@@ -215322,8 +215319,11 @@ var ContextConfigBuilder = class {
|
|
|
215322
215319
|
);
|
|
215323
215320
|
}
|
|
215324
215321
|
}
|
|
215322
|
+
if (!options.id) {
|
|
215323
|
+
throw new Error("contextConfig requires an explicit id field");
|
|
215324
|
+
}
|
|
215325
215325
|
this.config = {
|
|
215326
|
-
id: options.id
|
|
215326
|
+
id: options.id,
|
|
215327
215327
|
tenantId: this.tenantId,
|
|
215328
215328
|
projectId: this.projectId,
|
|
215329
215329
|
headersSchema: headers2,
|
|
@@ -215945,6 +215945,10 @@ function createInMemoryDatabaseClient() {
|
|
|
215945
215945
|
const db = createDatabaseClient({ url: ":memory:" });
|
|
215946
215946
|
return db;
|
|
215947
215947
|
}
|
|
215948
|
+
var generateId = nanoid.customAlphabet("abcdefghijklmnopqrstuvwxyz0123456789", 21);
|
|
215949
|
+
function getConversationId() {
|
|
215950
|
+
return generateId();
|
|
215951
|
+
}
|
|
215948
215952
|
|
|
215949
215953
|
// src/validation/agentFull.ts
|
|
215950
215954
|
function validateAndTypeAgentData(data) {
|
|
@@ -223945,6 +223949,7 @@ var getFullProject = (db, logger15 = defaultLogger2) => async (params) => {
|
|
|
223945
223949
|
for (const credential of credentialReferencesList) {
|
|
223946
223950
|
projectCredentialReferences[credential.id] = {
|
|
223947
223951
|
id: credential.id,
|
|
223952
|
+
name: credential.name,
|
|
223948
223953
|
type: credential.type,
|
|
223949
223954
|
credentialStoreId: credential.credentialStoreId,
|
|
223950
223955
|
retrievalParams: credential.retrievalParams
|
|
@@ -223960,6 +223965,39 @@ var getFullProject = (db, logger15 = defaultLogger2) => async (params) => {
|
|
|
223960
223965
|
"Failed to retrieve credentialReferences for project"
|
|
223961
223966
|
);
|
|
223962
223967
|
}
|
|
223968
|
+
const projectFunctions = {};
|
|
223969
|
+
try {
|
|
223970
|
+
const functionToolsWithFunctions = await db.select({
|
|
223971
|
+
functionToolId: functionTools.id,
|
|
223972
|
+
functionToolName: functionTools.name,
|
|
223973
|
+
functionToolDescription: functionTools.description,
|
|
223974
|
+
functionId: functions.id,
|
|
223975
|
+
inputSchema: functions.inputSchema,
|
|
223976
|
+
executeCode: functions.executeCode,
|
|
223977
|
+
dependencies: functions.dependencies
|
|
223978
|
+
}).from(functionTools).innerJoin(functions, drizzleOrm.eq(functionTools.functionId, functions.id)).where(
|
|
223979
|
+
drizzleOrm.and(
|
|
223980
|
+
drizzleOrm.eq(functionTools.tenantId, tenantId),
|
|
223981
|
+
drizzleOrm.eq(functionTools.projectId, projectId)
|
|
223982
|
+
)
|
|
223983
|
+
);
|
|
223984
|
+
for (const item of functionToolsWithFunctions) {
|
|
223985
|
+
projectFunctions[item.functionToolId] = {
|
|
223986
|
+
id: item.functionId,
|
|
223987
|
+
name: item.functionToolName,
|
|
223988
|
+
description: item.functionToolDescription,
|
|
223989
|
+
inputSchema: item.inputSchema,
|
|
223990
|
+
executeCode: item.executeCode,
|
|
223991
|
+
dependencies: item.dependencies
|
|
223992
|
+
};
|
|
223993
|
+
}
|
|
223994
|
+
logger15.info(
|
|
223995
|
+
{ tenantId, projectId, functionCount: Object.keys(projectFunctions).length },
|
|
223996
|
+
"Function tools with function data retrieved for project"
|
|
223997
|
+
);
|
|
223998
|
+
} catch (error) {
|
|
223999
|
+
logger15.warn({ tenantId, projectId, error }, "Failed to retrieve function tools for project");
|
|
224000
|
+
}
|
|
223963
224001
|
const agents2 = {};
|
|
223964
224002
|
if (agentList.length > 0) {
|
|
223965
224003
|
const agentPromises = agentList.map(async (agent) => {
|
|
@@ -224002,6 +224040,7 @@ var getFullProject = (db, logger15 = defaultLogger2) => async (params) => {
|
|
|
224002
224040
|
stopWhen: project.stopWhen || void 0,
|
|
224003
224041
|
agents: agents2,
|
|
224004
224042
|
tools: projectTools,
|
|
224043
|
+
functions: projectFunctions,
|
|
224005
224044
|
externalAgents: projectExternalAgents,
|
|
224006
224045
|
dataComponents: projectDataComponents,
|
|
224007
224046
|
artifactComponents: projectArtifactComponents,
|
package/dist/index.d.cts
CHANGED
|
@@ -2,13 +2,13 @@ export { ANTHROPIC_MODELS, AnthropicModel, GOOGLE_MODELS, GoogleModel, ModelName
|
|
|
2
2
|
import { r as PinoLogger, s as getLogger } from './auth-detection-DtO-n2WD.cjs';
|
|
3
3
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, L as LoggerFactoryConfig, M as McpOAuthFlowResult, u as McpTokenExchangeResult, t as OAuthConfig, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, x as PinoLoggerConfig, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired, w as exchangeMcpAuthorizationCode, v as initiateMcpOAuthFlow, y as loggerFactory } from './auth-detection-DtO-n2WD.cjs';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, q as MessageMetadata, p 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 SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext } from './utility-
|
|
6
|
-
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e6 as AgentApiInsertSchema, bU as AgentApiSelect, e5 as AgentApiSelectSchema, bW as AgentApiUpdate, e7 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, e3 as AgentInsertSchema, gI as AgentListResponse, aI as AgentProvider, gs as AgentResponse, e2 as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, gc as AgentWithinContextOfProjectSchema, fa as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, ff as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fg as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fe as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eY as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eX as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, g8 as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eF as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eE as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eG as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, cq as ContextCacheUpdate, eD as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fI as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fH as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, cf as ConversationApiInsert, et as ConversationApiInsertSchema, ce as ConversationApiSelect, es as ConversationApiSelectSchema, cg as ConversationApiUpdate, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, dw as ConversationScopeOptions, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fk as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, cv as DataComponentApiInsert, eM as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eL as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, aF as DataPart, gg as ErrorResponseSchema, gh as ExistsResponseSchema, cN as ExternalAgentApiInsert, f8 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f7 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, e1 as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, e0 as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fC as FetchConfigSchema, co as FetchDefinition, fD as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, c8 as FunctionSelect, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, ca as FunctionUpdate, fB as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, g_ as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g4 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g3 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g5 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, dG as MCPServerType, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, em as McpToolDefinitionSchema, fn as McpToolSchema, dB as McpTransportConfig, ek as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ez as MessageApiInsertSchema, ci as MessageApiSelect, ey as MessageApiSelectSchema, ck as MessageApiUpdate, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, dr as MessageMode, bI as MessagePart, gF as MessageResponse, dq as MessageRole, ch as MessageSelect, ev as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ex as MessageUpdateSchema, b1 as MethodNotFoundError, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gn as ProjectApiInsertSchema, dj as ProjectApiSelect, gm as ProjectApiSelectSchema, dl as ProjectApiUpdate, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, dt as ProjectModels, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, gi as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gf as SingleResponseSchema, dv as StatusComponent, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dT as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dS as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dU as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, f2 as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, f1 as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, f3 as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, e_ as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, f0 as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eS as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eR as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eT as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eO as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eQ as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fU as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fT as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, c$ as SubAgentExternalAgentRelationSelect, fQ as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, bP as SubAgentRelationApiInsert, dZ as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dY as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, bR as SubAgentRelationQuery, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, bN as SubAgentRelationSelect, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, f_ as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, fZ as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, d4 as SubAgentTeamAgentRelationSelect, fW as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, fY as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fO as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fN as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fP as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, ec as TaskApiInsertSchema, bY as TaskApiSelect, eb as TaskApiSelectSchema, b_ as TaskApiUpdate, ed as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e9 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ei as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, eh as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ej as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, ef as TaskRelationInsertSchema, b$ as TaskRelationSelect, ee as TaskRelationSelectSchema, c1 as TaskRelationUpdate, eg as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e8 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fr as ToolApiInsertSchema, c5 as ToolApiSelect, fq as ToolApiSelectSchema, c7 as ToolApiUpdate, fs as ToolApiUpdateSchema, di as ToolDefinition, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from './utility-C5D70uSj.cjs';
|
|
5
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, q as MessageMetadata, p 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 SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext } from './utility-eADYCyd-.cjs';
|
|
6
|
+
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e6 as AgentApiInsertSchema, bU as AgentApiSelect, e5 as AgentApiSelectSchema, bW as AgentApiUpdate, e7 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, e3 as AgentInsertSchema, gI as AgentListResponse, aI as AgentProvider, gs as AgentResponse, e2 as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, gc as AgentWithinContextOfProjectSchema, fa as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, ff as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fg as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fe as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eY as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eX as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, g8 as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eF as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eE as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eG as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, cq as ContextCacheUpdate, eD as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fI as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fH as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, cf as ConversationApiInsert, et as ConversationApiInsertSchema, ce as ConversationApiSelect, es as ConversationApiSelectSchema, cg as ConversationApiUpdate, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, dw as ConversationScopeOptions, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fk as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, cv as DataComponentApiInsert, eM as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eL as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, aF as DataPart, gg as ErrorResponseSchema, gh as ExistsResponseSchema, cN as ExternalAgentApiInsert, f8 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f7 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, e1 as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, e0 as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fC as FetchConfigSchema, co as FetchDefinition, fD as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, c8 as FunctionSelect, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, ca as FunctionUpdate, fB as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, g_ as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g4 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g3 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g5 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, dG as MCPServerType, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, em as McpToolDefinitionSchema, fn as McpToolSchema, dB as McpTransportConfig, ek as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ez as MessageApiInsertSchema, ci as MessageApiSelect, ey as MessageApiSelectSchema, ck as MessageApiUpdate, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, dr as MessageMode, bI as MessagePart, gF as MessageResponse, dq as MessageRole, ch as MessageSelect, ev as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ex as MessageUpdateSchema, b1 as MethodNotFoundError, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gn as ProjectApiInsertSchema, dj as ProjectApiSelect, gm as ProjectApiSelectSchema, dl as ProjectApiUpdate, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, dt as ProjectModels, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, gi as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gf as SingleResponseSchema, dv as StatusComponent, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dT as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dS as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dU as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, f2 as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, f1 as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, f3 as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, e_ as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, f0 as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eS as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eR as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eT as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eO as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eQ as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fU as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fT as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, c$ as SubAgentExternalAgentRelationSelect, fQ as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, bP as SubAgentRelationApiInsert, dZ as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dY as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, bR as SubAgentRelationQuery, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, bN as SubAgentRelationSelect, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, f_ as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, fZ as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, d4 as SubAgentTeamAgentRelationSelect, fW as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, fY as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fO as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fN as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fP as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, ec as TaskApiInsertSchema, bY as TaskApiSelect, eb as TaskApiSelectSchema, b_ as TaskApiUpdate, ed as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e9 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ei as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, eh as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ej as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, ef as TaskRelationInsertSchema, b$ as TaskRelationSelect, ee as TaskRelationSelectSchema, c1 as TaskRelationUpdate, eg as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e8 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fr as ToolApiInsertSchema, c5 as ToolApiSelect, fq as ToolApiSelectSchema, c7 as ToolApiUpdate, fs as ToolApiUpdateSchema, di as ToolDefinition, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from './utility-eADYCyd-.cjs';
|
|
7
7
|
import { CredentialStore } from './types/index.cjs';
|
|
8
8
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.cjs';
|
|
9
9
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
10
|
-
import { s as schema } from './schema-
|
|
11
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-
|
|
10
|
+
import { s as schema } from './schema-DgEdaA4i.cjs';
|
|
11
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-DgEdaA4i.cjs';
|
|
12
12
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
13
13
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
14
14
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
@@ -100,7 +100,7 @@ type builderFetchDefinition<R extends z.ZodTypeAny> = {
|
|
|
100
100
|
credentialReference?: CredentialReferenceApiInsert;
|
|
101
101
|
};
|
|
102
102
|
interface ContextConfigBuilderOptions<R extends z.ZodTypeAny | undefined = undefined, CV = Record<string, builderFetchDefinition<z.ZodTypeAny>>> {
|
|
103
|
-
id
|
|
103
|
+
id: string;
|
|
104
104
|
headers?: R | HeadersSchemaBuilder<R extends z.ZodTypeAny ? R : z.ZodTypeAny>;
|
|
105
105
|
contextVariables?: CV;
|
|
106
106
|
tenantId?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2,13 +2,13 @@ export { ANTHROPIC_MODELS, AnthropicModel, GOOGLE_MODELS, GoogleModel, ModelName
|
|
|
2
2
|
import { r as PinoLogger, s as getLogger } from './auth-detection-DtO-n2WD.js';
|
|
3
3
|
export { i as ACTIVITY_NAMES, g as ACTIVITY_STATUS, f as ACTIVITY_TYPES, h as AGENT_IDS, p as AGGREGATE_OPERATORS, A as AI_OPERATIONS, j as AI_TOOL_TYPES, o as DATA_SOURCES, k as DATA_TYPES, D as DELEGATION_FROM_SUB_AGENT_ID, b as DELEGATION_ID, a as DELEGATION_TO_SUB_AGENT_ID, F as FIELD_TYPES, L as LoggerFactoryConfig, M as McpOAuthFlowResult, u as McpTokenExchangeResult, t as OAuthConfig, O as OPERATORS, m as ORDER_DIRECTIONS, P as PANEL_TYPES, x as PinoLoggerConfig, q as QUERY_DEFAULTS, l as QUERY_EXPRESSIONS, Q as QUERY_FIELD_CONFIGS, n as QUERY_TYPES, R as REDUCE_OPERATIONS, e as SPAN_KEYS, S as SPAN_NAMES, T as TRANSFER_FROM_SUB_AGENT_ID, c as TRANSFER_TO_SUB_AGENT_ID, U as UNKNOWN_VALUE, d as detectAuthenticationRequired, w as exchangeMcpAuthorizationCode, v as initiateMcpOAuthFlow, y as loggerFactory } from './auth-detection-DtO-n2WD.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
-
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, q as MessageMetadata, p 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 SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext } from './utility-
|
|
6
|
-
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e6 as AgentApiInsertSchema, bU as AgentApiSelect, e5 as AgentApiSelectSchema, bW as AgentApiUpdate, e7 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, e3 as AgentInsertSchema, gI as AgentListResponse, aI as AgentProvider, gs as AgentResponse, e2 as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, gc as AgentWithinContextOfProjectSchema, fa as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, ff as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fg as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fe as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eY as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eX as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, g8 as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eF as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eE as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eG as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, cq as ContextCacheUpdate, eD as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fI as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fH as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, cf as ConversationApiInsert, et as ConversationApiInsertSchema, ce as ConversationApiSelect, es as ConversationApiSelectSchema, cg as ConversationApiUpdate, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, dw as ConversationScopeOptions, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fk as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, cv as DataComponentApiInsert, eM as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eL as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, aF as DataPart, gg as ErrorResponseSchema, gh as ExistsResponseSchema, cN as ExternalAgentApiInsert, f8 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f7 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, e1 as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, e0 as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fC as FetchConfigSchema, co as FetchDefinition, fD as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, c8 as FunctionSelect, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, ca as FunctionUpdate, fB as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, g_ as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g4 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g3 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g5 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, dG as MCPServerType, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, em as McpToolDefinitionSchema, fn as McpToolSchema, dB as McpTransportConfig, ek as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ez as MessageApiInsertSchema, ci as MessageApiSelect, ey as MessageApiSelectSchema, ck as MessageApiUpdate, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, dr as MessageMode, bI as MessagePart, gF as MessageResponse, dq as MessageRole, ch as MessageSelect, ev as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ex as MessageUpdateSchema, b1 as MethodNotFoundError, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gn as ProjectApiInsertSchema, dj as ProjectApiSelect, gm as ProjectApiSelectSchema, dl as ProjectApiUpdate, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, dt as ProjectModels, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, gi as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gf as SingleResponseSchema, dv as StatusComponent, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dT as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dS as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dU as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, f2 as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, f1 as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, f3 as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, e_ as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, f0 as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eS as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eR as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eT as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eO as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eQ as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fU as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fT as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, c$ as SubAgentExternalAgentRelationSelect, fQ as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, bP as SubAgentRelationApiInsert, dZ as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dY as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, bR as SubAgentRelationQuery, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, bN as SubAgentRelationSelect, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, f_ as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, fZ as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, d4 as SubAgentTeamAgentRelationSelect, fW as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, fY as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fO as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fN as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fP as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, ec as TaskApiInsertSchema, bY as TaskApiSelect, eb as TaskApiSelectSchema, b_ as TaskApiUpdate, ed as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e9 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ei as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, eh as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ej as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, ef as TaskRelationInsertSchema, b$ as TaskRelationSelect, ee as TaskRelationSelectSchema, c1 as TaskRelationUpdate, eg as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e8 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fr as ToolApiInsertSchema, c5 as ToolApiSelect, fq as ToolApiSelectSchema, c7 as ToolApiUpdate, fs as ToolApiUpdateSchema, di as ToolDefinition, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from './utility-C5D70uSj.js';
|
|
5
|
+
import { r as CredentialReferenceApiInsert, s as ContextConfigSelect, l as ContextFetchDefinition, i as MCPTransportType, t as MCPToolConfig, u as ProjectScopeConfig, v as FullAgentDefinition, w as AgentScopeConfig, C as ConversationHistoryConfig, x as PaginationConfig, y as AgentInsert, z as AgentUpdate, B as AgentSelect, D as ApiKeySelect, E as ApiKeyInsert, G as ApiKeyUpdate, H as CreateApiKeyParams, I as ApiKeyCreateResult, J as ArtifactComponentSelect, K as ArtifactComponentInsert, L as ArtifactComponentUpdate, N as SubAgentScopeConfig, O as ContextCacheSelect, Q as ContextCacheInsert, R as ContextConfigInsert, U as ContextConfigUpdate, V as ConversationSelect, W as ConversationInsert, o as ConversationMetadata, X as ConversationUpdate, Y as CredentialReferenceSelect, Z as ToolSelect, _ as ExternalAgentSelect, $ as CredentialReferenceInsert, a0 as CredentialReferenceUpdate, a1 as DataComponentSelect, a2 as DataComponentInsert, a3 as DataComponentUpdate, a4 as ExternalAgentInsert, a5 as ExternalAgentUpdate, a6 as FunctionApiInsert, a7 as FunctionToolApiInsert, a8 as FunctionToolApiUpdate, a9 as Artifact, aa as LedgerArtifactSelect, q as MessageMetadata, p 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 SubAgentExternalAgentRelationInsert, am as SubAgentRelationInsert, an as SubAgentRelationUpdate, ao as SubAgentToolRelationUpdate, m as ToolMcpConfig, n as ToolServerCapabilities, ap as SubAgentInsert, aq as SubAgentUpdate, ar as SubAgentSelect, as as SubAgentTeamAgentRelationInsert, at as TaskInsert, T as TaskMetadataConfig, au as TaskSelect, av as McpTool, aw as ToolInsert, ax as ToolUpdate, h as CredentialStoreType, ay as ExecutionContext } from './utility-eADYCyd-.js';
|
|
6
|
+
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, e6 as AgentApiInsertSchema, bU as AgentApiSelect, e5 as AgentApiSelectSchema, bW as AgentApiUpdate, e7 as AgentApiUpdateSchema, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, e3 as AgentInsertSchema, gI as AgentListResponse, aI as AgentProvider, gs as AgentResponse, e2 as AgentSelectSchema, aJ as AgentSkill, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, gc as AgentWithinContextOfProjectSchema, fa as AllAgentSchema, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, ff as ApiKeyApiCreationResponseSchema, cR as ApiKeyApiInsert, fg as ApiKeyApiInsertSchema, cQ as ApiKeyApiSelect, fe as ApiKeyApiSelectSchema, cS as ApiKeyApiUpdate, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, cE as ArtifactComponentApiInsert, eY as ArtifactComponentApiInsertSchema, cD as ArtifactComponentApiSelect, eX as ArtifactComponentApiSelectSchema, cF as ArtifactComponentApiUpdate, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, g8 as CanUseItemSchema, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, eF as ContextCacheApiInsertSchema, cr as ContextCacheApiSelect, eE as ContextCacheApiSelectSchema, ct as ContextCacheApiUpdate, eG as ContextCacheApiUpdateSchema, dy as ContextCacheEntry, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, cq as ContextCacheUpdate, eD as ContextCacheUpdateSchema, cm as ContextConfigApiInsert, fI as ContextConfigApiInsertSchema, cl as ContextConfigApiSelect, fH as ContextConfigApiSelectSchema, cn as ContextConfigApiUpdate, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, cf as ConversationApiInsert, et as ConversationApiInsertSchema, ce as ConversationApiSelect, es as ConversationApiSelectSchema, cg as ConversationApiUpdate, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, dw as ConversationScopeOptions, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, cU as CredentialReferenceApiSelect, fk as CredentialReferenceApiSelectSchema, cV as CredentialReferenceApiUpdate, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, cv as DataComponentApiInsert, eM as DataComponentApiInsertSchema, cu as DataComponentApiSelect, eL as DataComponentApiSelectSchema, cw as DataComponentApiUpdate, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, aF as DataPart, gg as ErrorResponseSchema, gh as ExistsResponseSchema, cN as ExternalAgentApiInsert, f8 as ExternalAgentApiInsertSchema, cM as ExternalAgentApiSelect, f7 as ExternalAgentApiSelectSchema, cO as ExternalAgentApiUpdate, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, bT as ExternalSubAgentRelationApiInsert, e1 as ExternalSubAgentRelationApiInsertSchema, bS as ExternalSubAgentRelationInsert, e0 as ExternalSubAgentRelationInsertSchema, cp as FetchConfig, fC as FetchConfigSchema, co as FetchDefinition, fD as FetchDefinitionSchema, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, cb as FunctionApiSelect, j as FunctionApiSelectSchema, cc as FunctionApiUpdate, k as FunctionApiUpdateSchema, c9 as FunctionInsert, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, c8 as FunctionSelect, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, cd as FunctionToolApiSelect, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, ca as FunctionUpdate, fB as FunctionUpdateSchema, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, g_ as HeadersScopeSchema, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, g4 as LedgerArtifactApiInsertSchema, db as LedgerArtifactApiSelect, g3 as LedgerArtifactApiSelectSchema, dd as LedgerArtifactApiUpdate, g5 as LedgerArtifactApiUpdateSchema, d9 as LedgerArtifactInsert, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, da as LedgerArtifactUpdate, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, dG as MCPServerType, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, dD as McpToolDefinition, em as McpToolDefinitionSchema, fn as McpToolSchema, dB as McpTransportConfig, ek as McpTransportConfigSchema, aW as Message, cj as MessageApiInsert, ez as MessageApiInsertSchema, ci as MessageApiSelect, ey as MessageApiSelectSchema, ck as MessageApiUpdate, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, dr as MessageMode, bI as MessagePart, gF as MessageResponse, dq as MessageRole, ch as MessageSelect, ev as MessageSelectSchema, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ex as MessageUpdateSchema, b1 as MethodNotFoundError, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, gn as ProjectApiInsertSchema, dj as ProjectApiSelect, gm as ProjectApiSelectSchema, dl as ProjectApiUpdate, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, dt as ProjectModels, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, gi as RemovedResponseSchema, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, gf as SingleResponseSchema, dv as StatusComponent, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, du as StatusUpdateSettings, d as StopWhen, S as StopWhenSchema, bL as SubAgentApiInsert, dT as SubAgentApiInsertSchema, bK as SubAgentApiSelect, dS as SubAgentApiSelectSchema, bM as SubAgentApiUpdate, dU as SubAgentApiUpdateSchema, cK as SubAgentArtifactComponentApiInsert, f2 as SubAgentArtifactComponentApiInsertSchema, cJ as SubAgentArtifactComponentApiSelect, f1 as SubAgentArtifactComponentApiSelectSchema, cL as SubAgentArtifactComponentApiUpdate, f3 as SubAgentArtifactComponentApiUpdateSchema, cH as SubAgentArtifactComponentInsert, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, cG as SubAgentArtifactComponentSelect, e_ as SubAgentArtifactComponentSelectSchema, cI as SubAgentArtifactComponentUpdate, f0 as SubAgentArtifactComponentUpdateSchema, cB as SubAgentDataComponentApiInsert, eS as SubAgentDataComponentApiInsertSchema, cA as SubAgentDataComponentApiSelect, eR as SubAgentDataComponentApiSelectSchema, cC as SubAgentDataComponentApiUpdate, eT as SubAgentDataComponentApiUpdateSchema, cy as SubAgentDataComponentInsert, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, cx as SubAgentDataComponentSelect, eO as SubAgentDataComponentSelectSchema, cz as SubAgentDataComponentUpdate, eQ as SubAgentDataComponentUpdateSchema, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, fU as SubAgentExternalAgentRelationApiInsertSchema, d1 as SubAgentExternalAgentRelationApiSelect, fT as SubAgentExternalAgentRelationApiSelectSchema, d3 as SubAgentExternalAgentRelationApiUpdate, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, c$ as SubAgentExternalAgentRelationSelect, fQ as SubAgentExternalAgentRelationSelectSchema, d0 as SubAgentExternalAgentRelationUpdate, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, bP as SubAgentRelationApiInsert, dZ as SubAgentRelationApiInsertSchema, bO as SubAgentRelationApiSelect, dY as SubAgentRelationApiSelectSchema, bQ as SubAgentRelationApiUpdate, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, bR as SubAgentRelationQuery, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, bN as SubAgentRelationSelect, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, d7 as SubAgentTeamAgentRelationApiInsert, f_ as SubAgentTeamAgentRelationApiInsertSchema, d6 as SubAgentTeamAgentRelationApiSelect, fZ as SubAgentTeamAgentRelationApiSelectSchema, d8 as SubAgentTeamAgentRelationApiUpdate, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, d4 as SubAgentTeamAgentRelationSelect, fW as SubAgentTeamAgentRelationSelectSchema, d5 as SubAgentTeamAgentRelationUpdate, fY as SubAgentTeamAgentRelationUpdateSchema, cZ as SubAgentToolRelationApiInsert, fO as SubAgentToolRelationApiInsertSchema, cY as SubAgentToolRelationApiSelect, fN as SubAgentToolRelationApiSelectSchema, c_ as SubAgentToolRelationApiUpdate, fP as SubAgentToolRelationApiUpdateSchema, cX as SubAgentToolRelationInsert, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, cW as SubAgentToolRelationSelect, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, ec as TaskApiInsertSchema, bY as TaskApiSelect, eb as TaskApiSelectSchema, b_ as TaskApiUpdate, ed as TaskApiUpdateSchema, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, e9 as TaskInsertSchema, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, ei as TaskRelationApiInsertSchema, c2 as TaskRelationApiSelect, eh as TaskRelationApiSelectSchema, c4 as TaskRelationApiUpdate, ej as TaskRelationApiUpdateSchema, c0 as TaskRelationInsert, ef as TaskRelationInsertSchema, b$ as TaskRelationSelect, ee as TaskRelationSelectSchema, c1 as TaskRelationUpdate, eg as TaskRelationUpdateSchema, bt as TaskResubscriptionRequest, e8 as TaskSelectSchema, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, aA as TextPart, c6 as ToolApiInsert, fr as ToolApiInsertSchema, c5 as ToolApiSelect, fq as ToolApiSelectSchema, c7 as ToolApiUpdate, fs as ToolApiUpdateSchema, di as ToolDefinition, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from './utility-eADYCyd-.js';
|
|
7
7
|
import { CredentialStore } from './types/index.js';
|
|
8
8
|
export { CorsConfig, ServerConfig, ServerOptions } from './types/index.js';
|
|
9
9
|
import { LibSQLDatabase } from 'drizzle-orm/libsql';
|
|
10
|
-
import { s as schema } from './schema-
|
|
11
|
-
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-
|
|
10
|
+
import { s as schema } from './schema-DfnCgRwo.js';
|
|
11
|
+
export { G as agentRelations, J as agentToolRelationsRelations, a as agents, y as apiKeys, I as apiKeysRelations, j as artifactComponents, O as artifactComponentsRelations, b as contextCache, E as contextCacheRelations, c as contextConfigs, D as contextConfigsRelations, v as conversations, M as conversationsRelations, z as credentialReferences, K as credentialReferencesRelations, h as dataComponents, Q as dataComponentsRelations, f as externalAgents, H as externalAgentsRelations, m as functionTools, V as functionToolsRelations, n as functions, T as functionsRelations, x as ledgerArtifacts, S as ledgerArtifactsRelations, w as messages, N as messagesRelations, p as projects, B as projectsRelations, k as subAgentArtifactComponents, P as subAgentArtifactComponentsRelations, i as subAgentDataComponents, R as subAgentDataComponentsRelations, q as subAgentExternalAgentRelations, X as subAgentExternalAgentRelationsRelations, u as subAgentFunctionToolRelations, W as subAgentFunctionToolRelationsRelations, e as subAgentRelations, U as subAgentRelationsRelations, r as subAgentTeamAgentRelations, Y as subAgentTeamAgentRelationsRelations, o as subAgentToolRelations, d as subAgents, F as subAgentsRelations, g as taskRelations, C as taskRelationsRelations, t as tasks, A as tasksRelations, l as tools, L as toolsRelations } from './schema-DfnCgRwo.js';
|
|
12
12
|
import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
|
|
13
13
|
import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
14
14
|
import { ClientCapabilities } from '@modelcontextprotocol/sdk/types.js';
|
|
@@ -100,7 +100,7 @@ type builderFetchDefinition<R extends z.ZodTypeAny> = {
|
|
|
100
100
|
credentialReference?: CredentialReferenceApiInsert;
|
|
101
101
|
};
|
|
102
102
|
interface ContextConfigBuilderOptions<R extends z.ZodTypeAny | undefined = undefined, CV = Record<string, builderFetchDefinition<z.ZodTypeAny>>> {
|
|
103
|
-
id
|
|
103
|
+
id: string;
|
|
104
104
|
headers?: R | HeadersSchemaBuilder<R extends z.ZodTypeAny ? R : z.ZodTypeAny>;
|
|
105
105
|
contextVariables?: CV;
|
|
106
106
|
tenantId?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { detectAuthenticationRequired } from './chunk-FGRAVXBC.js';
|
|
2
2
|
export { ACTIVITY_NAMES, ACTIVITY_STATUS, ACTIVITY_TYPES, AGENT_IDS, AGGREGATE_OPERATORS, AI_OPERATIONS, AI_TOOL_TYPES, DATA_SOURCES, DATA_TYPES, DELEGATION_FROM_SUB_AGENT_ID, DELEGATION_ID, DELEGATION_TO_SUB_AGENT_ID, FIELD_TYPES, OPERATORS, ORDER_DIRECTIONS, PANEL_TYPES, QUERY_DEFAULTS, QUERY_EXPRESSIONS, QUERY_FIELD_CONFIGS, QUERY_TYPES, REDUCE_OPERATIONS, SPAN_KEYS, SPAN_NAMES, TRANSFER_FROM_SUB_AGENT_ID, TRANSFER_TO_SUB_AGENT_ID, UNKNOWN_VALUE, detectAuthenticationRequired, exchangeMcpAuthorizationCode, initiateMcpOAuthFlow } from './chunk-FGRAVXBC.js';
|
|
3
3
|
export { ANTHROPIC_MODELS, GOOGLE_MODELS, OPENAI_MODELS } from './chunk-MQTANAMG.js';
|
|
4
|
-
export { TaskState } from './chunk-H2F72PDA.js';
|
|
5
4
|
import { getLogger, convertZodToJsonSchema } from './chunk-YECQCT5N.js';
|
|
6
5
|
export { PinoLogger, convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, getLogger, isZodSchema, loggerFactory, preview } from './chunk-YECQCT5N.js';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
export { TaskState } from './chunk-H2F72PDA.js';
|
|
7
|
+
import { validateRender, validateAndTypeAgentData, validateAgentStructure } from './chunk-4FQG5A4Z.js';
|
|
8
|
+
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from './chunk-4FQG5A4Z.js';
|
|
9
|
+
import { ContextConfigApiUpdateSchema, validatePropsAsJsonSchema } from './chunk-37BY2EHU.js';
|
|
10
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from './chunk-37BY2EHU.js';
|
|
11
11
|
import { schema_exports, contextConfigs, externalAgents, functions, functionTools, subAgentFunctionToolRelations, subAgentExternalAgentRelations, subAgents, subAgentRelations, subAgentToolRelations, tools, subAgentTeamAgentRelations, agents, credentialReferences, subAgentDataComponents, subAgentArtifactComponents, dataComponents, artifactComponents, projects, apiKeys, contextCache, conversations, messages, ledgerArtifacts, tasks, taskRelations } from './chunk-T5TTDZ6L.js';
|
|
12
12
|
export { agentRelations, agentToolRelationsRelations, agents, apiKeys, apiKeysRelations, artifactComponents, artifactComponentsRelations, contextCache, contextCacheRelations, contextConfigs, contextConfigsRelations, conversations, conversationsRelations, credentialReferences, credentialReferencesRelations, dataComponents, dataComponentsRelations, externalAgents, externalAgentsRelations, functionTools, functionToolsRelations, functions, functionsRelations, ledgerArtifacts, ledgerArtifactsRelations, messages, messagesRelations, projects, projectsRelations, subAgentArtifactComponents, subAgentArtifactComponentsRelations, subAgentDataComponents, subAgentDataComponentsRelations, subAgentExternalAgentRelations, subAgentExternalAgentRelationsRelations, subAgentFunctionToolRelations, subAgentFunctionToolRelationsRelations, subAgentRelations, subAgentRelationsRelations, subAgentTeamAgentRelations, subAgentTeamAgentRelationsRelations, subAgentToolRelations, subAgents, subAgentsRelations, taskRelations, taskRelationsRelations, tasks, tasksRelations, tools, toolsRelations } from './chunk-T5TTDZ6L.js';
|
|
13
13
|
import { CredentialStoreType, MCPServerType, MCPTransportType } from './chunk-YFHT5M2R.js';
|
|
14
14
|
export { CredentialStoreType, MCPServerType, MCPTransportType, TOOL_STATUS_VALUES, VALID_RELATION_TYPES } from './chunk-YFHT5M2R.js';
|
|
15
15
|
import { __commonJS, __require, __publicField } from './chunk-E6R6PML7.js';
|
|
16
16
|
import { z as z$1 } from 'zod';
|
|
17
|
-
import { customAlphabet, nanoid } from 'nanoid';
|
|
18
17
|
import jmespath from 'jmespath';
|
|
19
18
|
import { createClient } from '@libsql/client';
|
|
20
19
|
import { drizzle } from 'drizzle-orm/libsql';
|
|
21
20
|
import { and, eq, desc, sql, count, asc, isNotNull, inArray, not } from 'drizzle-orm';
|
|
21
|
+
import { customAlphabet, nanoid } from 'nanoid';
|
|
22
22
|
import crypto, { scrypt, randomBytes, timingSafeEqual } from 'crypto';
|
|
23
23
|
import { promisify } from 'util';
|
|
24
24
|
import { z } from '@hono/zod-openapi';
|
|
@@ -2498,7 +2498,7 @@ var require_typescript = __commonJS({
|
|
|
2498
2498
|
affectsEmitOptionDeclarations: () => affectsEmitOptionDeclarations,
|
|
2499
2499
|
allKeysStartWithDot: () => allKeysStartWithDot,
|
|
2500
2500
|
altDirectorySeparator: () => altDirectorySeparator,
|
|
2501
|
-
and: () =>
|
|
2501
|
+
and: () => and23,
|
|
2502
2502
|
append: () => append,
|
|
2503
2503
|
appendIfUnique: () => appendIfUnique,
|
|
2504
2504
|
arrayFrom: () => arrayFrom,
|
|
@@ -5949,7 +5949,7 @@ var require_typescript = __commonJS({
|
|
|
5949
5949
|
function isPatternMatch({ prefix, suffix }, candidate) {
|
|
5950
5950
|
return candidate.length >= prefix.length + suffix.length && startsWith(candidate, prefix) && endsWith(candidate, suffix);
|
|
5951
5951
|
}
|
|
5952
|
-
function
|
|
5952
|
+
function and23(f, g) {
|
|
5953
5953
|
return (arg) => f(arg) && g(arg);
|
|
5954
5954
|
}
|
|
5955
5955
|
function or(...fs2) {
|
|
@@ -56944,7 +56944,7 @@ ${lanes.join("\n")}
|
|
|
56944
56944
|
SignatureCheckMode3[SignatureCheckMode3["Callback"] = 3] = "Callback";
|
|
56945
56945
|
return SignatureCheckMode3;
|
|
56946
56946
|
})(SignatureCheckMode || {});
|
|
56947
|
-
var isNotOverloadAndNotAccessor =
|
|
56947
|
+
var isNotOverloadAndNotAccessor = and23(isNotOverload, isNotAccessor);
|
|
56948
56948
|
var intrinsicTypeKinds = new Map(Object.entries({
|
|
56949
56949
|
Uppercase: 0,
|
|
56950
56950
|
Lowercase: 1,
|
|
@@ -99755,7 +99755,7 @@ ${lanes.join("\n")}
|
|
|
99755
99755
|
if (flags & (1920 | 384)) {
|
|
99756
99756
|
return;
|
|
99757
99757
|
}
|
|
99758
|
-
const exportedDeclarationsCount = countWhere(declarations,
|
|
99758
|
+
const exportedDeclarationsCount = countWhere(declarations, and23(isNotOverloadAndNotAccessor, not2(isInterfaceDeclaration)));
|
|
99759
99759
|
if (flags & 524288 && exportedDeclarationsCount <= 2) {
|
|
99760
99760
|
return;
|
|
99761
99761
|
}
|
|
@@ -170543,7 +170543,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
170543
170543
|
const maybeHeritageClauseSymbol = getHeritageClauseSymbolTable(classDeclaration, checker);
|
|
170544
170544
|
const implementedType = checker.getTypeAtLocation(implementedTypeNode);
|
|
170545
170545
|
const implementedTypeSymbols = checker.getPropertiesOfType(implementedType);
|
|
170546
|
-
const nonPrivateAndNotExistedInHeritageClauseMembers = implementedTypeSymbols.filter(
|
|
170546
|
+
const nonPrivateAndNotExistedInHeritageClauseMembers = implementedTypeSymbols.filter(and23(symbolPointsToNonPrivateMember, (symbol) => !maybeHeritageClauseSymbol.has(symbol.escapedName)));
|
|
170547
170547
|
const classType = checker.getTypeAtLocation(classDeclaration);
|
|
170548
170548
|
const constructor = find(classDeclaration.members, (m) => isConstructorDeclaration(m));
|
|
170549
170549
|
if (!classType.getNumberIndexType()) {
|
|
@@ -185200,8 +185200,8 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
185200
185200
|
function isAmbientModuleDeclaration(node) {
|
|
185201
185201
|
return node.kind === 268 && node.name.kind === 11;
|
|
185202
185202
|
}
|
|
185203
|
-
function isExternalModuleImportEquals(
|
|
185204
|
-
return
|
|
185203
|
+
function isExternalModuleImportEquals(eq23) {
|
|
185204
|
+
return eq23.moduleReference.kind === 284 && eq23.moduleReference.expression.kind === 11;
|
|
185205
185205
|
}
|
|
185206
185206
|
var DefinitionKind = /* @__PURE__ */ ((DefinitionKind2) => {
|
|
185207
185207
|
DefinitionKind2[DefinitionKind2["Symbol"] = 0] = "Symbol";
|
|
@@ -197833,7 +197833,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
197833
197833
|
affectsEmitOptionDeclarations: () => affectsEmitOptionDeclarations,
|
|
197834
197834
|
allKeysStartWithDot: () => allKeysStartWithDot,
|
|
197835
197835
|
altDirectorySeparator: () => altDirectorySeparator,
|
|
197836
|
-
and: () =>
|
|
197836
|
+
and: () => and23,
|
|
197837
197837
|
append: () => append,
|
|
197838
197838
|
appendIfUnique: () => appendIfUnique,
|
|
197839
197839
|
arrayFrom: () => arrayFrom,
|
|
@@ -212876,12 +212876,6 @@ async function apiFetch(url, options = {}) {
|
|
|
212876
212876
|
headers: headers2
|
|
212877
212877
|
});
|
|
212878
212878
|
}
|
|
212879
|
-
var generateId = customAlphabet("abcdefghijklmnopqrstuvwxyz0123456789", 21);
|
|
212880
|
-
function getConversationId() {
|
|
212881
|
-
return generateId();
|
|
212882
|
-
}
|
|
212883
|
-
|
|
212884
|
-
// src/context/ContextConfig.ts
|
|
212885
212879
|
var logger = getLogger("context-config");
|
|
212886
212880
|
var HeadersSchemaBuilder = class {
|
|
212887
212881
|
constructor(options) {
|
|
@@ -212941,8 +212935,11 @@ var ContextConfigBuilder = class {
|
|
|
212941
212935
|
);
|
|
212942
212936
|
}
|
|
212943
212937
|
}
|
|
212938
|
+
if (!options.id) {
|
|
212939
|
+
throw new Error("contextConfig requires an explicit id field");
|
|
212940
|
+
}
|
|
212944
212941
|
this.config = {
|
|
212945
|
-
id: options.id
|
|
212942
|
+
id: options.id,
|
|
212946
212943
|
tenantId: this.tenantId,
|
|
212947
212944
|
projectId: this.projectId,
|
|
212948
212945
|
headersSchema: headers2,
|
|
@@ -213550,6 +213547,10 @@ function createInMemoryDatabaseClient() {
|
|
|
213550
213547
|
const db = createDatabaseClient({ url: ":memory:" });
|
|
213551
213548
|
return db;
|
|
213552
213549
|
}
|
|
213550
|
+
var generateId = customAlphabet("abcdefghijklmnopqrstuvwxyz0123456789", 21);
|
|
213551
|
+
function getConversationId() {
|
|
213552
|
+
return generateId();
|
|
213553
|
+
}
|
|
213553
213554
|
var getContextConfigById = (db) => async (params) => {
|
|
213554
213555
|
return await db.query.contextConfigs.findFirst({
|
|
213555
213556
|
where: and(
|
|
@@ -221049,6 +221050,7 @@ var getFullProject = (db, logger14 = defaultLogger2) => async (params) => {
|
|
|
221049
221050
|
for (const credential of credentialReferencesList) {
|
|
221050
221051
|
projectCredentialReferences[credential.id] = {
|
|
221051
221052
|
id: credential.id,
|
|
221053
|
+
name: credential.name,
|
|
221052
221054
|
type: credential.type,
|
|
221053
221055
|
credentialStoreId: credential.credentialStoreId,
|
|
221054
221056
|
retrievalParams: credential.retrievalParams
|
|
@@ -221064,6 +221066,39 @@ var getFullProject = (db, logger14 = defaultLogger2) => async (params) => {
|
|
|
221064
221066
|
"Failed to retrieve credentialReferences for project"
|
|
221065
221067
|
);
|
|
221066
221068
|
}
|
|
221069
|
+
const projectFunctions = {};
|
|
221070
|
+
try {
|
|
221071
|
+
const functionToolsWithFunctions = await db.select({
|
|
221072
|
+
functionToolId: functionTools.id,
|
|
221073
|
+
functionToolName: functionTools.name,
|
|
221074
|
+
functionToolDescription: functionTools.description,
|
|
221075
|
+
functionId: functions.id,
|
|
221076
|
+
inputSchema: functions.inputSchema,
|
|
221077
|
+
executeCode: functions.executeCode,
|
|
221078
|
+
dependencies: functions.dependencies
|
|
221079
|
+
}).from(functionTools).innerJoin(functions, eq(functionTools.functionId, functions.id)).where(
|
|
221080
|
+
and(
|
|
221081
|
+
eq(functionTools.tenantId, tenantId),
|
|
221082
|
+
eq(functionTools.projectId, projectId)
|
|
221083
|
+
)
|
|
221084
|
+
);
|
|
221085
|
+
for (const item of functionToolsWithFunctions) {
|
|
221086
|
+
projectFunctions[item.functionToolId] = {
|
|
221087
|
+
id: item.functionId,
|
|
221088
|
+
name: item.functionToolName,
|
|
221089
|
+
description: item.functionToolDescription,
|
|
221090
|
+
inputSchema: item.inputSchema,
|
|
221091
|
+
executeCode: item.executeCode,
|
|
221092
|
+
dependencies: item.dependencies
|
|
221093
|
+
};
|
|
221094
|
+
}
|
|
221095
|
+
logger14.info(
|
|
221096
|
+
{ tenantId, projectId, functionCount: Object.keys(projectFunctions).length },
|
|
221097
|
+
"Function tools with function data retrieved for project"
|
|
221098
|
+
);
|
|
221099
|
+
} catch (error) {
|
|
221100
|
+
logger14.warn({ tenantId, projectId, error }, "Failed to retrieve function tools for project");
|
|
221101
|
+
}
|
|
221067
221102
|
const agents2 = {};
|
|
221068
221103
|
if (agentList.length > 0) {
|
|
221069
221104
|
const agentPromises = agentList.map(async (agent) => {
|
|
@@ -221106,6 +221141,7 @@ var getFullProject = (db, logger14 = defaultLogger2) => async (params) => {
|
|
|
221106
221141
|
stopWhen: project.stopWhen || void 0,
|
|
221107
221142
|
agents: agents2,
|
|
221108
221143
|
tools: projectTools,
|
|
221144
|
+
functions: projectFunctions,
|
|
221109
221145
|
externalAgents: projectExternalAgents,
|
|
221110
221146
|
dataComponents: projectDataComponents,
|
|
221111
221147
|
artifactComponents: projectArtifactComponents,
|
|
@@ -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 { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-
|
|
3
|
+
import { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-eADYCyd-.js';
|
|
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 { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-
|
|
3
|
+
import { l as ContextFetchDefinition, C as ConversationHistoryConfig, T as TaskMetadataConfig, m as ToolMcpConfig, n as ToolServerCapabilities, o as ConversationMetadata, p as MessageContent, q as MessageMetadata, P as Part } from './utility-eADYCyd-.cjs';
|
|
4
4
|
|
|
5
5
|
declare const projects: drizzle_orm_sqlite_core.SQLiteTableWithColumns<{
|
|
6
6
|
name: "projects";
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as CredentialStoreType } from '../utility-
|
|
2
|
-
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, bU as AgentApiSelect, bW as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, cR as ApiKeyApiInsert, cQ as ApiKeyApiSelect, cS as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cE as ArtifactComponentApiInsert, cD as ArtifactComponentApiSelect, cF as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, cr as ContextCacheApiSelect, ct as ContextCacheApiUpdate, dy as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cq as ContextCacheUpdate, cm as ContextConfigApiInsert, cl as ContextConfigApiSelect, cn as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cf as ConversationApiInsert, ce as ConversationApiSelect, cg as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dw as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cU as CredentialReferenceApiSelect, cV as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cv as DataComponentApiInsert, cu as DataComponentApiSelect, cw as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cN as ExternalAgentApiInsert, cM as ExternalAgentApiSelect, cO as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bT as ExternalSubAgentRelationApiInsert, bS as ExternalSubAgentRelationInsert, cp as FetchConfig, co as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cb as FunctionApiSelect, cc as FunctionApiUpdate, c9 as FunctionInsert, c8 as FunctionSelect, a7 as FunctionToolApiInsert, cd as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, ca as FunctionUpdate, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, db as LedgerArtifactApiSelect, dd as LedgerArtifactApiUpdate, d9 as LedgerArtifactInsert, aa as LedgerArtifactSelect, da as LedgerArtifactUpdate, dG as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, av as McpTool, dD as McpToolDefinition, dB as McpTransportConfig, aW as Message, cj as MessageApiInsert, ci as MessageApiSelect, ck as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, dr as MessageMode, bI as MessagePart, dq as MessageRole, ch as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ad as MessageUpdate, ab as MessageVisibility, b1 as MethodNotFoundError, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, dj as ProjectApiSelect, dl as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dt as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, dv as StatusComponent, du as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cK as SubAgentArtifactComponentApiInsert, cJ as SubAgentArtifactComponentApiSelect, cL as SubAgentArtifactComponentApiUpdate, cH as SubAgentArtifactComponentInsert, cG as SubAgentArtifactComponentSelect, cI as SubAgentArtifactComponentUpdate, cB as SubAgentDataComponentApiInsert, cA as SubAgentDataComponentApiSelect, cC as SubAgentDataComponentApiUpdate, cy as SubAgentDataComponentInsert, cx as SubAgentDataComponentSelect, cz as SubAgentDataComponentUpdate, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, d1 as SubAgentExternalAgentRelationApiSelect, d3 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, c$ as SubAgentExternalAgentRelationSelect, d0 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d7 as SubAgentTeamAgentRelationApiInsert, d6 as SubAgentTeamAgentRelationApiSelect, d8 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d4 as SubAgentTeamAgentRelationSelect, d5 as SubAgentTeamAgentRelationUpdate, cZ as SubAgentToolRelationApiInsert, cY as SubAgentToolRelationApiSelect, c_ as SubAgentToolRelationApiUpdate, cX as SubAgentToolRelationInsert, cW as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, bY as TaskApiSelect, b_ as TaskApiUpdate, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, c2 as TaskRelationApiSelect, c4 as TaskRelationApiUpdate, c0 as TaskRelationInsert, b$ as TaskRelationSelect, c1 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, aA as TextPart, c6 as ToolApiInsert, c5 as ToolApiSelect, c7 as ToolApiUpdate, di as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES } from '../utility-
|
|
1
|
+
import { h as CredentialStoreType } from '../utility-eADYCyd-.cjs';
|
|
2
|
+
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, bU as AgentApiSelect, bW as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, cR as ApiKeyApiInsert, cQ as ApiKeyApiSelect, cS as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cE as ArtifactComponentApiInsert, cD as ArtifactComponentApiSelect, cF as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, cr as ContextCacheApiSelect, ct as ContextCacheApiUpdate, dy as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cq as ContextCacheUpdate, cm as ContextConfigApiInsert, cl as ContextConfigApiSelect, cn as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cf as ConversationApiInsert, ce as ConversationApiSelect, cg as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dw as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cU as CredentialReferenceApiSelect, cV as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cv as DataComponentApiInsert, cu as DataComponentApiSelect, cw as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cN as ExternalAgentApiInsert, cM as ExternalAgentApiSelect, cO as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bT as ExternalSubAgentRelationApiInsert, bS as ExternalSubAgentRelationInsert, cp as FetchConfig, co as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cb as FunctionApiSelect, cc as FunctionApiUpdate, c9 as FunctionInsert, c8 as FunctionSelect, a7 as FunctionToolApiInsert, cd as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, ca as FunctionUpdate, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, db as LedgerArtifactApiSelect, dd as LedgerArtifactApiUpdate, d9 as LedgerArtifactInsert, aa as LedgerArtifactSelect, da as LedgerArtifactUpdate, dG as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, av as McpTool, dD as McpToolDefinition, dB as McpTransportConfig, aW as Message, cj as MessageApiInsert, ci as MessageApiSelect, ck as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, dr as MessageMode, bI as MessagePart, dq as MessageRole, ch as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ad as MessageUpdate, ab as MessageVisibility, b1 as MethodNotFoundError, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, dj as ProjectApiSelect, dl as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dt as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, dv as StatusComponent, du as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cK as SubAgentArtifactComponentApiInsert, cJ as SubAgentArtifactComponentApiSelect, cL as SubAgentArtifactComponentApiUpdate, cH as SubAgentArtifactComponentInsert, cG as SubAgentArtifactComponentSelect, cI as SubAgentArtifactComponentUpdate, cB as SubAgentDataComponentApiInsert, cA as SubAgentDataComponentApiSelect, cC as SubAgentDataComponentApiUpdate, cy as SubAgentDataComponentInsert, cx as SubAgentDataComponentSelect, cz as SubAgentDataComponentUpdate, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, d1 as SubAgentExternalAgentRelationApiSelect, d3 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, c$ as SubAgentExternalAgentRelationSelect, d0 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d7 as SubAgentTeamAgentRelationApiInsert, d6 as SubAgentTeamAgentRelationApiSelect, d8 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d4 as SubAgentTeamAgentRelationSelect, d5 as SubAgentTeamAgentRelationUpdate, cZ as SubAgentToolRelationApiInsert, cY as SubAgentToolRelationApiSelect, c_ as SubAgentToolRelationApiUpdate, cX as SubAgentToolRelationInsert, cW as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, bY as TaskApiSelect, b_ as TaskApiUpdate, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, c2 as TaskRelationApiSelect, c4 as TaskRelationApiUpdate, c0 as TaskRelationInsert, b$ as TaskRelationSelect, c1 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, aA as TextPart, c6 as ToolApiInsert, c5 as ToolApiSelect, c7 as ToolApiUpdate, di as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES } from '../utility-eADYCyd-.cjs';
|
|
3
3
|
import { Context } from 'hono';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'drizzle-zod';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as CredentialStoreType } from '../utility-
|
|
2
|
-
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, bU as AgentApiSelect, bW as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, cR as ApiKeyApiInsert, cQ as ApiKeyApiSelect, cS as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cE as ArtifactComponentApiInsert, cD as ArtifactComponentApiSelect, cF as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, cr as ContextCacheApiSelect, ct as ContextCacheApiUpdate, dy as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cq as ContextCacheUpdate, cm as ContextConfigApiInsert, cl as ContextConfigApiSelect, cn as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cf as ConversationApiInsert, ce as ConversationApiSelect, cg as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dw as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cU as CredentialReferenceApiSelect, cV as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cv as DataComponentApiInsert, cu as DataComponentApiSelect, cw as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cN as ExternalAgentApiInsert, cM as ExternalAgentApiSelect, cO as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bT as ExternalSubAgentRelationApiInsert, bS as ExternalSubAgentRelationInsert, cp as FetchConfig, co as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cb as FunctionApiSelect, cc as FunctionApiUpdate, c9 as FunctionInsert, c8 as FunctionSelect, a7 as FunctionToolApiInsert, cd as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, ca as FunctionUpdate, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, db as LedgerArtifactApiSelect, dd as LedgerArtifactApiUpdate, d9 as LedgerArtifactInsert, aa as LedgerArtifactSelect, da as LedgerArtifactUpdate, dG as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, av as McpTool, dD as McpToolDefinition, dB as McpTransportConfig, aW as Message, cj as MessageApiInsert, ci as MessageApiSelect, ck as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, dr as MessageMode, bI as MessagePart, dq as MessageRole, ch as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ad as MessageUpdate, ab as MessageVisibility, b1 as MethodNotFoundError, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, dj as ProjectApiSelect, dl as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dt as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, dv as StatusComponent, du as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cK as SubAgentArtifactComponentApiInsert, cJ as SubAgentArtifactComponentApiSelect, cL as SubAgentArtifactComponentApiUpdate, cH as SubAgentArtifactComponentInsert, cG as SubAgentArtifactComponentSelect, cI as SubAgentArtifactComponentUpdate, cB as SubAgentDataComponentApiInsert, cA as SubAgentDataComponentApiSelect, cC as SubAgentDataComponentApiUpdate, cy as SubAgentDataComponentInsert, cx as SubAgentDataComponentSelect, cz as SubAgentDataComponentUpdate, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, d1 as SubAgentExternalAgentRelationApiSelect, d3 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, c$ as SubAgentExternalAgentRelationSelect, d0 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d7 as SubAgentTeamAgentRelationApiInsert, d6 as SubAgentTeamAgentRelationApiSelect, d8 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d4 as SubAgentTeamAgentRelationSelect, d5 as SubAgentTeamAgentRelationUpdate, cZ as SubAgentToolRelationApiInsert, cY as SubAgentToolRelationApiSelect, c_ as SubAgentToolRelationApiUpdate, cX as SubAgentToolRelationInsert, cW as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, bY as TaskApiSelect, b_ as TaskApiUpdate, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, c2 as TaskRelationApiSelect, c4 as TaskRelationApiUpdate, c0 as TaskRelationInsert, b$ as TaskRelationSelect, c1 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, aA as TextPart, c6 as ToolApiInsert, c5 as ToolApiSelect, c7 as ToolApiUpdate, di as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES } from '../utility-
|
|
1
|
+
import { h as CredentialStoreType } from '../utility-eADYCyd-.js';
|
|
2
|
+
export { ba as A2AError, bG as A2ARequest, bH as A2AResponse, aL as APIKeySecurityScheme, bV as AgentApiInsert, bU as AgentApiSelect, bW as AgentApiUpdate, aH as AgentCapabilities, aV as AgentCard, dx as AgentConversationHistoryConfig, y as AgentInsert, aI as AgentProvider, w as AgentScopeConfig, B as AgentSelect, aJ as AgentSkill, z as AgentUpdate, cP as AllAgentSelect, cT as ApiKeyApiCreationResponse, cR as ApiKeyApiInsert, cQ as ApiKeyApiSelect, cS as ApiKeyApiUpdate, I as ApiKeyCreateResult, E as ApiKeyInsert, D as ApiKeySelect, G as ApiKeyUpdate, a9 as Artifact, cE as ArtifactComponentApiInsert, cD as ArtifactComponentApiSelect, cF as ArtifactComponentApiUpdate, K as ArtifactComponentInsert, J as ArtifactComponentSelect, L as ArtifactComponentUpdate, aO as AuthorizationCodeOAuthFlow, dg as CanDelegateToExternalAgent, df as CanUseItem, bq as CancelTaskRequest, bB as CancelTaskResponse, bA as CancelTaskSuccessResponse, aP as ClientCredentialsOAuthFlow, b8 as ContentTypeNotSupportedError, cs as ContextCacheApiInsert, cr as ContextCacheApiSelect, ct as ContextCacheApiUpdate, dy as ContextCacheEntry, Q as ContextCacheInsert, O as ContextCacheSelect, cq as ContextCacheUpdate, cm as ContextConfigApiInsert, cl as ContextConfigApiSelect, cn as ContextConfigApiUpdate, R as ContextConfigInsert, s as ContextConfigSelect, U as ContextConfigUpdate, l as ContextFetchDefinition, cf as ConversationApiInsert, ce as ConversationApiSelect, cg as ConversationApiUpdate, C as ConversationHistoryConfig, W as ConversationInsert, o as ConversationMetadata, dw as ConversationScopeOptions, V as ConversationSelect, X as ConversationUpdate, H as CreateApiKeyParams, r as CredentialReferenceApiInsert, cU as CredentialReferenceApiSelect, cV as CredentialReferenceApiUpdate, $ as CredentialReferenceInsert, Y as CredentialReferenceSelect, a0 as CredentialReferenceUpdate, cv as DataComponentApiInsert, cu as DataComponentApiSelect, cw as DataComponentApiUpdate, a2 as DataComponentInsert, a1 as DataComponentSelect, a3 as DataComponentUpdate, aF as DataPart, ay as ExecutionContext, cN as ExternalAgentApiInsert, cM as ExternalAgentApiSelect, cO as ExternalAgentApiUpdate, a4 as ExternalAgentInsert, _ as ExternalAgentSelect, a5 as ExternalAgentUpdate, bT as ExternalSubAgentRelationApiInsert, bS as ExternalSubAgentRelationInsert, cp as FetchConfig, co as FetchDefinition, aB as FileBase, aE as FilePart, aC as FileWithBytes, aD as FileWithUri, de as FullAgentAgentInsert, v as FullAgentDefinition, ae as FullProjectDefinition, a6 as FunctionApiInsert, cb as FunctionApiSelect, cc as FunctionApiUpdate, c9 as FunctionInsert, c8 as FunctionSelect, a7 as FunctionToolApiInsert, cd as FunctionToolApiSelect, a8 as FunctionToolApiUpdate, ca as FunctionUpdate, bs as GetTaskPushNotificationConfigRequest, bF as GetTaskPushNotificationConfigResponse, bE as GetTaskPushNotificationConfigSuccessResponse, bp as GetTaskRequest, bz as GetTaskResponse, by as GetTaskSuccessResponse, aM as HTTPAuthSecurityScheme, aQ as ImplicitOAuthFlow, b3 as InternalError, b9 as InvalidAgentResponseError, b2 as InvalidParamsError, b0 as InvalidRequestError, a$ as JSONParseError, bk as JSONRPCError, bm as JSONRPCErrorResponse, bi as JSONRPCMessage, bj as JSONRPCRequest, bl as JSONRPCResult, dc as LedgerArtifactApiInsert, db as LedgerArtifactApiSelect, dd as LedgerArtifactApiUpdate, d9 as LedgerArtifactInsert, aa as LedgerArtifactSelect, da as LedgerArtifactUpdate, dG as MCPServerType, t as MCPToolConfig, i as MCPTransportType, dz as McpAuthType, dA as McpServerAuth, dC as McpServerCapabilities, av as McpTool, dD as McpToolDefinition, dB as McpTransportConfig, aW as Message, cj as MessageApiInsert, ci as MessageApiSelect, ck as MessageApiUpdate, p as MessageContent, ac as MessageInsert, q as MessageMetadata, dr as MessageMode, bI as MessagePart, dq as MessageRole, ch as MessageSelect, bg as MessageSendConfiguration, bh as MessageSendParams, dp as MessageType, ad as MessageUpdate, ab as MessageVisibility, b1 as MethodNotFoundError, ds as Models, aS as OAuth2SecurityScheme, aN as OAuthFlows, aT as OpenIdConnectSecurityScheme, dm as Pagination, x as PaginationConfig, ah as PaginationResult, P as Part, az as PartBase, aR as PasswordOAuthFlow, dk as ProjectApiInsert, dj as ProjectApiSelect, dl as ProjectApiUpdate, af as ProjectInfo, aj as ProjectInsert, dt as ProjectModels, ai as ProjectResourceCounts, u as ProjectScopeConfig, ag as ProjectSelect, ak as ProjectUpdate, bb as PushNotificationAuthenticationInfo, bc as PushNotificationConfig, b6 as PushNotificationNotSupportedError, aU as SecurityScheme, aK as SecuritySchemeBase, bn as SendMessageRequest, bv as SendMessageResponse, bu as SendMessageSuccessResponse, bo as SendStreamingMessageRequest, bx as SendStreamingMessageResponse, bw as SendStreamingMessageSuccessResponse, br as SetTaskPushNotificationConfigRequest, bD as SetTaskPushNotificationConfigResponse, bC as SetTaskPushNotificationConfigSuccessResponse, dv as StatusComponent, du as StatusUpdateSettings, bL as SubAgentApiInsert, bK as SubAgentApiSelect, bM as SubAgentApiUpdate, cK as SubAgentArtifactComponentApiInsert, cJ as SubAgentArtifactComponentApiSelect, cL as SubAgentArtifactComponentApiUpdate, cH as SubAgentArtifactComponentInsert, cG as SubAgentArtifactComponentSelect, cI as SubAgentArtifactComponentUpdate, cB as SubAgentDataComponentApiInsert, cA as SubAgentDataComponentApiSelect, cC as SubAgentDataComponentApiUpdate, cy as SubAgentDataComponentInsert, cx as SubAgentDataComponentSelect, cz as SubAgentDataComponentUpdate, dh as SubAgentDefinition, d2 as SubAgentExternalAgentRelationApiInsert, d1 as SubAgentExternalAgentRelationApiSelect, d3 as SubAgentExternalAgentRelationApiUpdate, al as SubAgentExternalAgentRelationInsert, c$ as SubAgentExternalAgentRelationSelect, d0 as SubAgentExternalAgentRelationUpdate, ap as SubAgentInsert, bP as SubAgentRelationApiInsert, bO as SubAgentRelationApiSelect, bQ as SubAgentRelationApiUpdate, am as SubAgentRelationInsert, bR as SubAgentRelationQuery, bN as SubAgentRelationSelect, an as SubAgentRelationUpdate, N as SubAgentScopeConfig, ar as SubAgentSelect, d7 as SubAgentTeamAgentRelationApiInsert, d6 as SubAgentTeamAgentRelationApiSelect, d8 as SubAgentTeamAgentRelationApiUpdate, as as SubAgentTeamAgentRelationInsert, d4 as SubAgentTeamAgentRelationSelect, d5 as SubAgentTeamAgentRelationUpdate, cZ as SubAgentToolRelationApiInsert, cY as SubAgentToolRelationApiSelect, c_ as SubAgentToolRelationApiUpdate, cX as SubAgentToolRelationInsert, cW as SubAgentToolRelationSelect, ao as SubAgentToolRelationUpdate, aq as SubAgentUpdate, dn as SummaryEvent, dE as TOOL_STATUS_VALUES, aY as Task, bZ as TaskApiInsert, bY as TaskApiSelect, b_ as TaskApiUpdate, bJ as TaskArtifact, a_ as TaskArtifactUpdateEvent, be as TaskIdParams, at as TaskInsert, T as TaskMetadataConfig, b5 as TaskNotCancelableError, b4 as TaskNotFoundError, bd as TaskPushNotificationConfig, bf as TaskQueryParams, c3 as TaskRelationApiInsert, c2 as TaskRelationApiSelect, c4 as TaskRelationApiUpdate, c0 as TaskRelationInsert, b$ as TaskRelationSelect, c1 as TaskRelationUpdate, bt as TaskResubscriptionRequest, au as TaskSelect, aG as TaskState, aX as TaskStatus, aZ as TaskStatusUpdateEvent, bX as TaskUpdate, aA as TextPart, c6 as ToolApiInsert, c5 as ToolApiSelect, c7 as ToolApiUpdate, di as ToolDefinition, aw as ToolInsert, m as ToolMcpConfig, Z as ToolSelect, n as ToolServerCapabilities, ax as ToolUpdate, b7 as UnsupportedOperationError, dF as VALID_RELATION_TYPES } from '../utility-eADYCyd-.js';
|
|
3
3
|
import { Context } from 'hono';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import 'drizzle-zod';
|
|
@@ -9126,6 +9126,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
9126
9126
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
9127
9127
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9128
9128
|
}, z.core.$strip>>;
|
|
9129
|
+
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9130
|
+
id: z.ZodString;
|
|
9131
|
+
name: z.ZodString;
|
|
9132
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9133
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
9134
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9135
|
+
functionId: z.ZodString;
|
|
9136
|
+
}, z.core.$strip>>>;
|
|
9129
9137
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9130
9138
|
id: z.ZodString;
|
|
9131
9139
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -9126,6 +9126,14 @@ declare const FullProjectDefinitionSchema: z.ZodObject<{
|
|
|
9126
9126
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
9127
9127
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9128
9128
|
}, z.core.$strip>>;
|
|
9129
|
+
functionTools: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9130
|
+
id: z.ZodString;
|
|
9131
|
+
name: z.ZodString;
|
|
9132
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9133
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
9134
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
9135
|
+
functionId: z.ZodString;
|
|
9136
|
+
}, z.core.$strip>>>;
|
|
9129
9137
|
functions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
9130
9138
|
id: z.ZodString;
|
|
9131
9139
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1632,6 +1632,7 @@ var ProjectApiUpdateSchema = ProjectUpdateSchema.omit({ tenantId: true }).openap
|
|
|
1632
1632
|
var FullProjectDefinitionSchema = ProjectApiInsertSchema.extend({
|
|
1633
1633
|
agents: zodOpenapi.z.record(zodOpenapi.z.string(), AgentWithinContextOfProjectSchema),
|
|
1634
1634
|
tools: zodOpenapi.z.record(zodOpenapi.z.string(), ToolApiInsertSchema),
|
|
1635
|
+
functionTools: zodOpenapi.z.record(zodOpenapi.z.string(), FunctionToolApiInsertSchema).optional(),
|
|
1635
1636
|
functions: zodOpenapi.z.record(zodOpenapi.z.string(), FunctionApiInsertSchema).optional(),
|
|
1636
1637
|
dataComponents: zodOpenapi.z.record(zodOpenapi.z.string(), DataComponentApiInsertSchema).optional(),
|
|
1637
1638
|
artifactComponents: zodOpenapi.z.record(zodOpenapi.z.string(), ArtifactComponentApiInsertSchema).optional(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { gc as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-
|
|
3
|
-
export { e6 as AgentApiInsertSchema, e5 as AgentApiSelectSchema, e7 as AgentApiUpdateSchema, e3 as AgentInsertSchema, gI as AgentListResponse, gs as AgentResponse, e2 as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, fa as AllAgentSchema, ff as ApiKeyApiCreationResponseSchema, fg as ApiKeyApiInsertSchema, fe as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, eY as ArtifactComponentApiInsertSchema, eX as ArtifactComponentApiSelectSchema, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, g8 as CanUseItemSchema, eF as ContextCacheApiInsertSchema, eE as ContextCacheApiSelectSchema, eG as ContextCacheApiUpdateSchema, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, eD as ContextCacheUpdateSchema, fI as ContextConfigApiInsertSchema, fH as ContextConfigApiSelectSchema, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, et as ConversationApiInsertSchema, es as ConversationApiSelectSchema, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, fk as CredentialReferenceApiSelectSchema, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, eM as DataComponentApiInsertSchema, eL as DataComponentApiSelectSchema, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, gg as ErrorResponseSchema, gh as ExistsResponseSchema, f8 as ExternalAgentApiInsertSchema, f7 as ExternalAgentApiSelectSchema, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, e1 as ExternalSubAgentRelationApiInsertSchema, e0 as ExternalSubAgentRelationInsertSchema, fC as FetchConfigSchema, fD as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, fB as FunctionUpdateSchema, g_ as HeadersScopeSchema, g4 as LedgerArtifactApiInsertSchema, g3 as LedgerArtifactApiSelectSchema, g5 as LedgerArtifactApiUpdateSchema, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, em as McpToolDefinitionSchema, fn as McpToolSchema, ek as McpTransportConfigSchema, ez as MessageApiInsertSchema, ey as MessageApiSelectSchema, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, gF as MessageResponse, ev as MessageSelectSchema, ex as MessageUpdateSchema, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, gn as ProjectApiInsertSchema, gm as ProjectApiSelectSchema, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, gi as RemovedResponseSchema, gf as SingleResponseSchema, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dT as SubAgentApiInsertSchema, dS as SubAgentApiSelectSchema, dU as SubAgentApiUpdateSchema, f2 as SubAgentArtifactComponentApiInsertSchema, f1 as SubAgentArtifactComponentApiSelectSchema, f3 as SubAgentArtifactComponentApiUpdateSchema, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, e_ as SubAgentArtifactComponentSelectSchema, f0 as SubAgentArtifactComponentUpdateSchema, eS as SubAgentDataComponentApiInsertSchema, eR as SubAgentDataComponentApiSelectSchema, eT as SubAgentDataComponentApiUpdateSchema, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, eO as SubAgentDataComponentSelectSchema, eQ as SubAgentDataComponentUpdateSchema, fU as SubAgentExternalAgentRelationApiInsertSchema, fT as SubAgentExternalAgentRelationApiSelectSchema, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, fQ as SubAgentExternalAgentRelationSelectSchema, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, dZ as SubAgentRelationApiInsertSchema, dY as SubAgentRelationApiSelectSchema, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, f_ as SubAgentTeamAgentRelationApiInsertSchema, fZ as SubAgentTeamAgentRelationApiSelectSchema, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, fW as SubAgentTeamAgentRelationSelectSchema, fY as SubAgentTeamAgentRelationUpdateSchema, fO as SubAgentToolRelationApiInsertSchema, fN as SubAgentToolRelationApiSelectSchema, fP as SubAgentToolRelationApiUpdateSchema, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, ec as TaskApiInsertSchema, eb as TaskApiSelectSchema, ed as TaskApiUpdateSchema, e9 as TaskInsertSchema, ei as TaskRelationApiInsertSchema, eh as TaskRelationApiSelectSchema, ej as TaskRelationApiUpdateSchema, ef as TaskRelationInsertSchema, ee as TaskRelationSelectSchema, eg as TaskRelationUpdateSchema, e8 as TaskSelectSchema, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, fr as ToolApiInsertSchema, fq as ToolApiSelectSchema, fs as ToolApiUpdateSchema, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from '../utility-
|
|
2
|
+
import { gc as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-eADYCyd-.cjs';
|
|
3
|
+
export { e6 as AgentApiInsertSchema, e5 as AgentApiSelectSchema, e7 as AgentApiUpdateSchema, e3 as AgentInsertSchema, gI as AgentListResponse, gs as AgentResponse, e2 as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, fa as AllAgentSchema, ff as ApiKeyApiCreationResponseSchema, fg as ApiKeyApiInsertSchema, fe as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, eY as ArtifactComponentApiInsertSchema, eX as ArtifactComponentApiSelectSchema, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, g8 as CanUseItemSchema, eF as ContextCacheApiInsertSchema, eE as ContextCacheApiSelectSchema, eG as ContextCacheApiUpdateSchema, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, eD as ContextCacheUpdateSchema, fI as ContextConfigApiInsertSchema, fH as ContextConfigApiSelectSchema, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, et as ConversationApiInsertSchema, es as ConversationApiSelectSchema, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, fk as CredentialReferenceApiSelectSchema, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, eM as DataComponentApiInsertSchema, eL as DataComponentApiSelectSchema, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, gg as ErrorResponseSchema, gh as ExistsResponseSchema, f8 as ExternalAgentApiInsertSchema, f7 as ExternalAgentApiSelectSchema, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, e1 as ExternalSubAgentRelationApiInsertSchema, e0 as ExternalSubAgentRelationInsertSchema, fC as FetchConfigSchema, fD as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, fB as FunctionUpdateSchema, g_ as HeadersScopeSchema, g4 as LedgerArtifactApiInsertSchema, g3 as LedgerArtifactApiSelectSchema, g5 as LedgerArtifactApiUpdateSchema, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, em as McpToolDefinitionSchema, fn as McpToolSchema, ek as McpTransportConfigSchema, ez as MessageApiInsertSchema, ey as MessageApiSelectSchema, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, gF as MessageResponse, ev as MessageSelectSchema, ex as MessageUpdateSchema, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, gn as ProjectApiInsertSchema, gm as ProjectApiSelectSchema, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, gi as RemovedResponseSchema, gf as SingleResponseSchema, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dT as SubAgentApiInsertSchema, dS as SubAgentApiSelectSchema, dU as SubAgentApiUpdateSchema, f2 as SubAgentArtifactComponentApiInsertSchema, f1 as SubAgentArtifactComponentApiSelectSchema, f3 as SubAgentArtifactComponentApiUpdateSchema, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, e_ as SubAgentArtifactComponentSelectSchema, f0 as SubAgentArtifactComponentUpdateSchema, eS as SubAgentDataComponentApiInsertSchema, eR as SubAgentDataComponentApiSelectSchema, eT as SubAgentDataComponentApiUpdateSchema, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, eO as SubAgentDataComponentSelectSchema, eQ as SubAgentDataComponentUpdateSchema, fU as SubAgentExternalAgentRelationApiInsertSchema, fT as SubAgentExternalAgentRelationApiSelectSchema, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, fQ as SubAgentExternalAgentRelationSelectSchema, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, dZ as SubAgentRelationApiInsertSchema, dY as SubAgentRelationApiSelectSchema, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, f_ as SubAgentTeamAgentRelationApiInsertSchema, fZ as SubAgentTeamAgentRelationApiSelectSchema, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, fW as SubAgentTeamAgentRelationSelectSchema, fY as SubAgentTeamAgentRelationUpdateSchema, fO as SubAgentToolRelationApiInsertSchema, fN as SubAgentToolRelationApiSelectSchema, fP as SubAgentToolRelationApiUpdateSchema, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, ec as TaskApiInsertSchema, eb as TaskApiSelectSchema, ed as TaskApiUpdateSchema, e9 as TaskInsertSchema, ei as TaskRelationApiInsertSchema, eh as TaskRelationApiSelectSchema, ej as TaskRelationApiUpdateSchema, ef as TaskRelationInsertSchema, ee as TaskRelationSelectSchema, eg as TaskRelationUpdateSchema, e8 as TaskSelectSchema, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, fr as ToolApiInsertSchema, fq as ToolApiSelectSchema, fs as ToolApiUpdateSchema, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from '../utility-eADYCyd-.cjs';
|
|
4
4
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.cjs';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { gc as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-
|
|
3
|
-
export { e6 as AgentApiInsertSchema, e5 as AgentApiSelectSchema, e7 as AgentApiUpdateSchema, e3 as AgentInsertSchema, gI as AgentListResponse, gs as AgentResponse, e2 as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, fa as AllAgentSchema, ff as ApiKeyApiCreationResponseSchema, fg as ApiKeyApiInsertSchema, fe as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, eY as ArtifactComponentApiInsertSchema, eX as ArtifactComponentApiSelectSchema, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, g8 as CanUseItemSchema, eF as ContextCacheApiInsertSchema, eE as ContextCacheApiSelectSchema, eG as ContextCacheApiUpdateSchema, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, eD as ContextCacheUpdateSchema, fI as ContextConfigApiInsertSchema, fH as ContextConfigApiSelectSchema, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, et as ConversationApiInsertSchema, es as ConversationApiSelectSchema, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, fk as CredentialReferenceApiSelectSchema, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, eM as DataComponentApiInsertSchema, eL as DataComponentApiSelectSchema, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, gg as ErrorResponseSchema, gh as ExistsResponseSchema, f8 as ExternalAgentApiInsertSchema, f7 as ExternalAgentApiSelectSchema, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, e1 as ExternalSubAgentRelationApiInsertSchema, e0 as ExternalSubAgentRelationInsertSchema, fC as FetchConfigSchema, fD as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, fB as FunctionUpdateSchema, g_ as HeadersScopeSchema, g4 as LedgerArtifactApiInsertSchema, g3 as LedgerArtifactApiSelectSchema, g5 as LedgerArtifactApiUpdateSchema, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, em as McpToolDefinitionSchema, fn as McpToolSchema, ek as McpTransportConfigSchema, ez as MessageApiInsertSchema, ey as MessageApiSelectSchema, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, gF as MessageResponse, ev as MessageSelectSchema, ex as MessageUpdateSchema, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, gn as ProjectApiInsertSchema, gm as ProjectApiSelectSchema, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, gi as RemovedResponseSchema, gf as SingleResponseSchema, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dT as SubAgentApiInsertSchema, dS as SubAgentApiSelectSchema, dU as SubAgentApiUpdateSchema, f2 as SubAgentArtifactComponentApiInsertSchema, f1 as SubAgentArtifactComponentApiSelectSchema, f3 as SubAgentArtifactComponentApiUpdateSchema, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, e_ as SubAgentArtifactComponentSelectSchema, f0 as SubAgentArtifactComponentUpdateSchema, eS as SubAgentDataComponentApiInsertSchema, eR as SubAgentDataComponentApiSelectSchema, eT as SubAgentDataComponentApiUpdateSchema, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, eO as SubAgentDataComponentSelectSchema, eQ as SubAgentDataComponentUpdateSchema, fU as SubAgentExternalAgentRelationApiInsertSchema, fT as SubAgentExternalAgentRelationApiSelectSchema, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, fQ as SubAgentExternalAgentRelationSelectSchema, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, dZ as SubAgentRelationApiInsertSchema, dY as SubAgentRelationApiSelectSchema, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, f_ as SubAgentTeamAgentRelationApiInsertSchema, fZ as SubAgentTeamAgentRelationApiSelectSchema, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, fW as SubAgentTeamAgentRelationSelectSchema, fY as SubAgentTeamAgentRelationUpdateSchema, fO as SubAgentToolRelationApiInsertSchema, fN as SubAgentToolRelationApiSelectSchema, fP as SubAgentToolRelationApiUpdateSchema, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, ec as TaskApiInsertSchema, eb as TaskApiSelectSchema, ed as TaskApiUpdateSchema, e9 as TaskInsertSchema, ei as TaskRelationApiInsertSchema, eh as TaskRelationApiSelectSchema, ej as TaskRelationApiUpdateSchema, ef as TaskRelationInsertSchema, ee as TaskRelationSelectSchema, eg as TaskRelationUpdateSchema, e8 as TaskSelectSchema, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, fr as ToolApiInsertSchema, fq as ToolApiSelectSchema, fs as ToolApiUpdateSchema, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from '../utility-
|
|
2
|
+
import { gc as AgentWithinContextOfProjectSchema, v as FullAgentDefinition } from '../utility-eADYCyd-.js';
|
|
3
|
+
export { e6 as AgentApiInsertSchema, e5 as AgentApiSelectSchema, e7 as AgentApiUpdateSchema, e3 as AgentInsertSchema, gI as AgentListResponse, gs as AgentResponse, e2 as AgentSelectSchema, e as AgentStopWhen, b as AgentStopWhenSchema, e4 as AgentUpdateSchema, fa as AllAgentSchema, ff as ApiKeyApiCreationResponseSchema, fg as ApiKeyApiInsertSchema, fe as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, fc as ApiKeyInsertSchema, gM as ApiKeyListResponse, gw as ApiKeyResponse, fb as ApiKeySelectSchema, fd as ApiKeyUpdateSchema, eY as ArtifactComponentApiInsertSchema, eX as ArtifactComponentApiSelectSchema, eZ as ArtifactComponentApiUpdateSchema, eV as ArtifactComponentInsertSchema, gR as ArtifactComponentListResponse, gB as ArtifactComponentResponse, eU as ArtifactComponentSelectSchema, eW as ArtifactComponentUpdateSchema, g8 as CanUseItemSchema, eF as ContextCacheApiInsertSchema, eE as ContextCacheApiSelectSchema, eG as ContextCacheApiUpdateSchema, eC as ContextCacheInsertSchema, eB as ContextCacheSelectSchema, eD as ContextCacheUpdateSchema, fI as ContextConfigApiInsertSchema, fH as ContextConfigApiSelectSchema, fJ as ContextConfigApiUpdateSchema, fF as ContextConfigInsertSchema, gL as ContextConfigListResponse, gv as ContextConfigResponse, fE as ContextConfigSelectSchema, fG as ContextConfigUpdateSchema, et as ConversationApiInsertSchema, es as ConversationApiSelectSchema, eu as ConversationApiUpdateSchema, eq as ConversationInsertSchema, gU as ConversationListResponse, gE as ConversationResponse, ep as ConversationSelectSchema, er as ConversationUpdateSchema, fl as CredentialReferenceApiInsertSchema, fk as CredentialReferenceApiSelectSchema, fm as CredentialReferenceApiUpdateSchema, fi as CredentialReferenceInsertSchema, gN as CredentialReferenceListResponse, gx as CredentialReferenceResponse, fh as CredentialReferenceSelectSchema, fj as CredentialReferenceUpdateSchema, eM as DataComponentApiInsertSchema, eL as DataComponentApiSelectSchema, eN as DataComponentApiUpdateSchema, eJ as DataComponentBaseSchema, eI as DataComponentInsertSchema, gQ as DataComponentListResponse, gA as DataComponentResponse, eH as DataComponentSelectSchema, eK as DataComponentUpdateSchema, gg as ErrorResponseSchema, gh as ExistsResponseSchema, f8 as ExternalAgentApiInsertSchema, f7 as ExternalAgentApiSelectSchema, f9 as ExternalAgentApiUpdateSchema, f5 as ExternalAgentInsertSchema, gK as ExternalAgentListResponse, gu as ExternalAgentResponse, f4 as ExternalAgentSelectSchema, f6 as ExternalAgentUpdateSchema, e1 as ExternalSubAgentRelationApiInsertSchema, e0 as ExternalSubAgentRelationInsertSchema, fC as FetchConfigSchema, fD as FetchDefinitionSchema, a as FullAgentAgentInsertSchema, gp as FullProjectDefinitionSchema, F as FunctionApiInsertSchema, j as FunctionApiSelectSchema, k as FunctionApiUpdateSchema, fA as FunctionInsertSchema, gO as FunctionListResponse, gy as FunctionResponse, fz as FunctionSelectSchema, fx as FunctionToolApiInsertSchema, fw as FunctionToolApiSelectSchema, fy as FunctionToolApiUpdateSchema, dO as FunctionToolConfig, dN as FunctionToolConfigSchema, fu as FunctionToolInsertSchema, gP as FunctionToolListResponse, gz as FunctionToolResponse, ft as FunctionToolSelectSchema, fv as FunctionToolUpdateSchema, fB as FunctionUpdateSchema, g_ as HeadersScopeSchema, g4 as LedgerArtifactApiInsertSchema, g3 as LedgerArtifactApiSelectSchema, g5 as LedgerArtifactApiUpdateSchema, g1 as LedgerArtifactInsertSchema, g0 as LedgerArtifactSelectSchema, g2 as LedgerArtifactUpdateSchema, ge as ListResponseSchema, dI as MAX_ID_LENGTH, fo as MCPToolConfigSchema, dH as MIN_ID_LENGTH, em as McpToolDefinitionSchema, fn as McpToolSchema, ek as McpTransportConfigSchema, ez as MessageApiInsertSchema, ey as MessageApiSelectSchema, eA as MessageApiUpdateSchema, ew as MessageInsertSchema, gV as MessageListResponse, gF as MessageResponse, ev as MessageSelectSchema, ex as MessageUpdateSchema, dL as ModelSchema, g as ModelSettings, M as ModelSettingsSchema, h7 as PaginationQueryParamsSchema, gd as PaginationSchema, gn as ProjectApiInsertSchema, gm as ProjectApiSelectSchema, go as ProjectApiUpdateSchema, gk as ProjectInsertSchema, gG as ProjectListResponse, dM as ProjectModelSchema, gq as ProjectResponse, gj as ProjectSelectSchema, gl as ProjectUpdateSchema, gi as RemovedResponseSchema, gf as SingleResponseSchema, g6 as StatusComponentSchema, g7 as StatusUpdateSchema, d as StopWhen, S as StopWhenSchema, dT as SubAgentApiInsertSchema, dS as SubAgentApiSelectSchema, dU as SubAgentApiUpdateSchema, f2 as SubAgentArtifactComponentApiInsertSchema, f1 as SubAgentArtifactComponentApiSelectSchema, f3 as SubAgentArtifactComponentApiUpdateSchema, e$ as SubAgentArtifactComponentInsertSchema, gZ as SubAgentArtifactComponentListResponse, gX as SubAgentArtifactComponentResponse, e_ as SubAgentArtifactComponentSelectSchema, f0 as SubAgentArtifactComponentUpdateSchema, eS as SubAgentDataComponentApiInsertSchema, eR as SubAgentDataComponentApiSelectSchema, eT as SubAgentDataComponentApiUpdateSchema, eP as SubAgentDataComponentInsertSchema, gY as SubAgentDataComponentListResponse, gW as SubAgentDataComponentResponse, eO as SubAgentDataComponentSelectSchema, eQ as SubAgentDataComponentUpdateSchema, fU as SubAgentExternalAgentRelationApiInsertSchema, fT as SubAgentExternalAgentRelationApiSelectSchema, fV as SubAgentExternalAgentRelationApiUpdateSchema, fR as SubAgentExternalAgentRelationInsertSchema, fQ as SubAgentExternalAgentRelationSelectSchema, fS as SubAgentExternalAgentRelationUpdateSchema, dQ as SubAgentInsertSchema, gH as SubAgentListResponse, dZ as SubAgentRelationApiInsertSchema, dY as SubAgentRelationApiSelectSchema, d_ as SubAgentRelationApiUpdateSchema, dW as SubAgentRelationInsertSchema, gS as SubAgentRelationListResponse, d$ as SubAgentRelationQuerySchema, gC as SubAgentRelationResponse, dV as SubAgentRelationSelectSchema, dX as SubAgentRelationUpdateSchema, gr as SubAgentResponse, dP as SubAgentSelectSchema, f as SubAgentStopWhen, c as SubAgentStopWhenSchema, f_ as SubAgentTeamAgentRelationApiInsertSchema, fZ as SubAgentTeamAgentRelationApiSelectSchema, f$ as SubAgentTeamAgentRelationApiUpdateSchema, fX as SubAgentTeamAgentRelationInsertSchema, fW as SubAgentTeamAgentRelationSelectSchema, fY as SubAgentTeamAgentRelationUpdateSchema, fO as SubAgentToolRelationApiInsertSchema, fN as SubAgentToolRelationApiSelectSchema, fP as SubAgentToolRelationApiUpdateSchema, fL as SubAgentToolRelationInsertSchema, gT as SubAgentToolRelationListResponse, gD as SubAgentToolRelationResponse, fK as SubAgentToolRelationSelectSchema, fM as SubAgentToolRelationUpdateSchema, dR as SubAgentUpdateSchema, ec as TaskApiInsertSchema, eb as TaskApiSelectSchema, ed as TaskApiUpdateSchema, e9 as TaskInsertSchema, ei as TaskRelationApiInsertSchema, eh as TaskRelationApiSelectSchema, ej as TaskRelationApiUpdateSchema, ef as TaskRelationInsertSchema, ee as TaskRelationSelectSchema, eg as TaskRelationUpdateSchema, e8 as TaskSelectSchema, ea as TaskUpdateSchema, gb as TeamAgentSchema, h0 as TenantIdParamsSchema, g$ as TenantParamsSchema, h4 as TenantProjectAgentIdParamsSchema, h3 as TenantProjectAgentParamsSchema, h6 as TenantProjectAgentSubAgentIdParamsSchema, h5 as TenantProjectAgentSubAgentParamsSchema, h2 as TenantProjectIdParamsSchema, h1 as TenantProjectParamsSchema, fr as ToolApiInsertSchema, fq as ToolApiSelectSchema, fs as ToolApiUpdateSchema, eo as ToolInsertSchema, gJ as ToolListResponse, gt as ToolResponse, en as ToolSelectSchema, el as ToolStatusSchema, fp as ToolUpdateSchema, dJ as URL_SAFE_ID_PATTERN, g9 as canDelegateToExternalAgentSchema, ga as canDelegateToTeamAgentSchema, dK as resourceIdSchema } from '../utility-eADYCyd-.js';
|
|
4
4
|
export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.js';
|
|
5
5
|
import 'drizzle-zod';
|
|
6
6
|
import 'drizzle-orm/sqlite-core';
|
package/dist/validation/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-
|
|
2
|
-
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-
|
|
1
|
+
export { A2AMessageMetadataSchema, DataOperationDetailsSchema, DataOperationEventSchema, DelegationReturnedDataSchema, DelegationSentDataSchema, TransferDataSchema, generateIdFromName, isValidResourceId, validateAgentRelationships, validateAgentStructure, validateAndTypeAgentData, validateArtifactComponentReferences, validateDataComponentReferences, validateRender, validateSubAgentExternalAgentRelations, validateToolReferences } from '../chunk-4FQG5A4Z.js';
|
|
2
|
+
export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentInsertSchema, AgentListResponse, AgentResponse, AgentSelectSchema, AgentStopWhenSchema, AgentUpdateSchema, AgentWithinContextOfProjectSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeyListResponse, ApiKeyResponse, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentListResponse, ArtifactComponentResponse, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigListResponse, ContextConfigResponse, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationListResponse, ConversationResponse, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceListResponse, CredentialReferenceResponse, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentListResponse, DataComponentResponse, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentListResponse, ExternalAgentResponse, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, ExternalSubAgentRelationApiInsertSchema, ExternalSubAgentRelationInsertSchema, FetchConfigSchema, FetchDefinitionSchema, FullAgentAgentInsertSchema, FullProjectDefinitionSchema, FunctionApiInsertSchema, FunctionApiSelectSchema, FunctionApiUpdateSchema, FunctionInsertSchema, FunctionListResponse, FunctionResponse, FunctionSelectSchema, FunctionToolApiInsertSchema, FunctionToolApiSelectSchema, FunctionToolApiUpdateSchema, FunctionToolConfigSchema, FunctionToolInsertSchema, FunctionToolListResponse, FunctionToolResponse, FunctionToolSelectSchema, FunctionToolUpdateSchema, FunctionUpdateSchema, HeadersScopeSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageListResponse, MessageResponse, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectListResponse, ProjectModelSchema, ProjectResponse, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, SubAgentApiInsertSchema, SubAgentApiSelectSchema, SubAgentApiUpdateSchema, SubAgentArtifactComponentApiInsertSchema, SubAgentArtifactComponentApiSelectSchema, SubAgentArtifactComponentApiUpdateSchema, SubAgentArtifactComponentInsertSchema, SubAgentArtifactComponentListResponse, SubAgentArtifactComponentResponse, SubAgentArtifactComponentSelectSchema, SubAgentArtifactComponentUpdateSchema, SubAgentDataComponentApiInsertSchema, SubAgentDataComponentApiSelectSchema, SubAgentDataComponentApiUpdateSchema, SubAgentDataComponentInsertSchema, SubAgentDataComponentListResponse, SubAgentDataComponentResponse, SubAgentDataComponentSelectSchema, SubAgentDataComponentUpdateSchema, SubAgentExternalAgentRelationApiInsertSchema, SubAgentExternalAgentRelationApiSelectSchema, SubAgentExternalAgentRelationApiUpdateSchema, SubAgentExternalAgentRelationInsertSchema, SubAgentExternalAgentRelationSelectSchema, SubAgentExternalAgentRelationUpdateSchema, SubAgentInsertSchema, SubAgentListResponse, SubAgentRelationApiInsertSchema, SubAgentRelationApiSelectSchema, SubAgentRelationApiUpdateSchema, SubAgentRelationInsertSchema, SubAgentRelationListResponse, SubAgentRelationQuerySchema, SubAgentRelationResponse, SubAgentRelationSelectSchema, SubAgentRelationUpdateSchema, SubAgentResponse, SubAgentSelectSchema, SubAgentStopWhenSchema, SubAgentTeamAgentRelationApiInsertSchema, SubAgentTeamAgentRelationApiSelectSchema, SubAgentTeamAgentRelationApiUpdateSchema, SubAgentTeamAgentRelationInsertSchema, SubAgentTeamAgentRelationSelectSchema, SubAgentTeamAgentRelationUpdateSchema, SubAgentToolRelationApiInsertSchema, SubAgentToolRelationApiSelectSchema, SubAgentToolRelationApiUpdateSchema, SubAgentToolRelationInsertSchema, SubAgentToolRelationListResponse, SubAgentToolRelationResponse, SubAgentToolRelationSelectSchema, SubAgentToolRelationUpdateSchema, SubAgentUpdateSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TeamAgentSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectAgentIdParamsSchema, TenantProjectAgentParamsSchema, TenantProjectAgentSubAgentIdParamsSchema, TenantProjectAgentSubAgentParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolListResponse, ToolResponse, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, canDelegateToExternalAgentSchema, canDelegateToTeamAgentSchema, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-37BY2EHU.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.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",
|