@inkeep/agents-core 0.0.0-dev-20250910233133 → 0.0.0-dev-20250910233441
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-BIIFENNH.js +11 -0
- package/dist/chunk-H2F72PDA.js +15 -0
- package/dist/chunk-MKBO26DX.js +9 -0
- package/dist/chunk-RFWSE64N.js +665 -0
- package/dist/chunk-TSPWAF64.js +821 -0
- package/dist/client-exports.cjs +232 -0
- package/dist/client-exports.d.cts +302 -0
- package/dist/client-exports.d.ts +46 -43
- package/dist/client-exports.js +200 -247
- package/dist/db/schema.cjs +818 -0
- package/dist/db/schema.d.cts +7 -0
- package/dist/db/schema.d.ts +7 -4335
- package/dist/db/schema.js +1 -696
- package/dist/index.cjs +9809 -0
- package/dist/index.d.cts +3992 -0
- package/dist/index.d.ts +3992 -12
- package/dist/index.js +7807 -13
- package/dist/schema-B5YbTpz8.d.ts +4382 -0
- package/dist/schema-E0ulMd3k.d.cts +4382 -0
- package/dist/types/index.cjs +29 -0
- package/dist/types/index.d.cts +123 -0
- package/dist/types/index.d.ts +123 -5
- package/dist/types/index.js +2 -6
- package/dist/{validation/schemas.d.ts → utility-D2Lb-YAS.d.cts} +1350 -617
- package/dist/utility-D2Lb-YAS.d.ts +7946 -0
- package/dist/validation/index.cjs +1617 -0
- package/dist/validation/index.d.cts +63 -0
- package/dist/validation/index.d.ts +63 -4
- package/dist/validation/index.js +1 -5
- package/package.json +2 -2
- package/dist/__tests__/integration/helpers.d.ts +0 -5
- package/dist/__tests__/integration/helpers.d.ts.map +0 -1
- package/dist/__tests__/integration/helpers.js +0 -37
- package/dist/__tests__/integration/helpers.js.map +0 -1
- package/dist/__tests__/setup.d.ts +0 -3
- package/dist/__tests__/setup.d.ts.map +0 -1
- package/dist/__tests__/setup.js +0 -29
- package/dist/__tests__/setup.js.map +0 -1
- package/dist/client-exports.d.ts.map +0 -1
- package/dist/client-exports.js.map +0 -1
- package/dist/context/ContextConfig.d.ts +0 -54
- package/dist/context/ContextConfig.d.ts.map +0 -1
- package/dist/context/ContextConfig.js +0 -302
- package/dist/context/ContextConfig.js.map +0 -1
- package/dist/context/ContextFetcher.d.ts +0 -64
- package/dist/context/ContextFetcher.d.ts.map +0 -1
- package/dist/context/ContextFetcher.js +0 -325
- package/dist/context/ContextFetcher.js.map +0 -1
- package/dist/context/ContextResolver.d.ts +0 -52
- package/dist/context/ContextResolver.d.ts.map +0 -1
- package/dist/context/ContextResolver.js +0 -298
- package/dist/context/ContextResolver.js.map +0 -1
- package/dist/context/TemplateEngine.d.ts +0 -46
- package/dist/context/TemplateEngine.d.ts.map +0 -1
- package/dist/context/TemplateEngine.js +0 -175
- package/dist/context/TemplateEngine.js.map +0 -1
- package/dist/context/context.d.ts +0 -8
- package/dist/context/context.d.ts.map +0 -1
- package/dist/context/context.js +0 -157
- package/dist/context/context.js.map +0 -1
- package/dist/context/contextCache.d.ts +0 -50
- package/dist/context/contextCache.d.ts.map +0 -1
- package/dist/context/contextCache.js +0 -175
- package/dist/context/contextCache.js.map +0 -1
- package/dist/context/index.d.ts +0 -11
- package/dist/context/index.d.ts.map +0 -1
- package/dist/context/index.js +0 -8
- package/dist/context/index.js.map +0 -1
- package/dist/credential-stores/CredentialStoreRegistry.d.ts +0 -39
- package/dist/credential-stores/CredentialStoreRegistry.d.ts.map +0 -1
- package/dist/credential-stores/CredentialStoreRegistry.js +0 -65
- package/dist/credential-stores/CredentialStoreRegistry.js.map +0 -1
- package/dist/credential-stores/defaults.d.ts +0 -6
- package/dist/credential-stores/defaults.d.ts.map +0 -1
- package/dist/credential-stores/defaults.js +0 -22
- package/dist/credential-stores/defaults.js.map +0 -1
- package/dist/credential-stores/index.d.ts +0 -6
- package/dist/credential-stores/index.d.ts.map +0 -1
- package/dist/credential-stores/index.js +0 -6
- package/dist/credential-stores/index.js.map +0 -1
- package/dist/credential-stores/keychain-store.d.ts +0 -100
- package/dist/credential-stores/keychain-store.d.ts.map +0 -1
- package/dist/credential-stores/keychain-store.js +0 -225
- package/dist/credential-stores/keychain-store.js.map +0 -1
- package/dist/credential-stores/memory-store.d.ts +0 -39
- package/dist/credential-stores/memory-store.d.ts.map +0 -1
- package/dist/credential-stores/memory-store.js +0 -58
- package/dist/credential-stores/memory-store.js.map +0 -1
- package/dist/credential-stores/nango-store.d.ts +0 -59
- package/dist/credential-stores/nango-store.d.ts.map +0 -1
- package/dist/credential-stores/nango-store.js +0 -264
- package/dist/credential-stores/nango-store.js.map +0 -1
- package/dist/credential-stuffer/CredentialStuffer.d.ts +0 -80
- package/dist/credential-stuffer/CredentialStuffer.d.ts.map +0 -1
- package/dist/credential-stuffer/CredentialStuffer.js +0 -186
- package/dist/credential-stuffer/CredentialStuffer.js.map +0 -1
- package/dist/credential-stuffer/index.d.ts +0 -2
- package/dist/credential-stuffer/index.d.ts.map +0 -1
- package/dist/credential-stuffer/index.js +0 -2
- package/dist/credential-stuffer/index.js.map +0 -1
- package/dist/data-access/agentDataComponents.d.ts +0 -1
- package/dist/data-access/agentDataComponents.d.ts.map +0 -1
- package/dist/data-access/agentDataComponents.js +0 -2
- package/dist/data-access/agentDataComponents.js.map +0 -1
- package/dist/data-access/agentGraphs.d.ts +0 -399
- package/dist/data-access/agentGraphs.d.ts.map +0 -1
- package/dist/data-access/agentGraphs.js +0 -551
- package/dist/data-access/agentGraphs.js.map +0 -1
- package/dist/data-access/agentRelations.d.ts +0 -456
- package/dist/data-access/agentRelations.d.ts.map +0 -1
- package/dist/data-access/agentRelations.js +0 -471
- package/dist/data-access/agentRelations.js.map +0 -1
- package/dist/data-access/agents.d.ts +0 -218
- package/dist/data-access/agents.d.ts.map +0 -1
- package/dist/data-access/agents.js +0 -130
- package/dist/data-access/agents.js.map +0 -1
- package/dist/data-access/apiKeys.d.ts +0 -114
- package/dist/data-access/apiKeys.d.ts.map +0 -1
- package/dist/data-access/apiKeys.js +0 -185
- package/dist/data-access/apiKeys.js.map +0 -1
- package/dist/data-access/artifactComponents.d.ts +0 -152
- package/dist/data-access/artifactComponents.d.ts.map +0 -1
- package/dist/data-access/artifactComponents.js +0 -214
- package/dist/data-access/artifactComponents.js.map +0 -1
- package/dist/data-access/contextCache.d.ts +0 -68
- package/dist/data-access/contextCache.d.ts.map +0 -1
- package/dist/data-access/contextCache.js +0 -135
- package/dist/data-access/contextCache.js.map +0 -1
- package/dist/data-access/contextConfigs.d.ts +0 -110
- package/dist/data-access/contextConfigs.d.ts.map +0 -1
- package/dist/data-access/contextConfigs.js +0 -156
- package/dist/data-access/contextConfigs.js.map +0 -1
- package/dist/data-access/conversations.d.ts +0 -125
- package/dist/data-access/conversations.d.ts.map +0 -1
- package/dist/data-access/conversations.js +0 -244
- package/dist/data-access/conversations.js.map +0 -1
- package/dist/data-access/credentialReferences.d.ts +0 -86
- package/dist/data-access/credentialReferences.d.ts.map +0 -1
- package/dist/data-access/credentialReferences.js +0 -175
- package/dist/data-access/credentialReferences.js.map +0 -1
- package/dist/data-access/dataComponents.d.ts +0 -129
- package/dist/data-access/dataComponents.d.ts.map +0 -1
- package/dist/data-access/dataComponents.js +0 -213
- package/dist/data-access/dataComponents.js.map +0 -1
- package/dist/data-access/externalAgents.d.ts +0 -83
- package/dist/data-access/externalAgents.d.ts.map +0 -1
- package/dist/data-access/externalAgents.js +0 -163
- package/dist/data-access/externalAgents.js.map +0 -1
- package/dist/data-access/graphFull.d.ts +0 -32
- package/dist/data-access/graphFull.d.ts.map +0 -1
- package/dist/data-access/graphFull.js +0 -996
- package/dist/data-access/graphFull.js.map +0 -1
- package/dist/data-access/index.d.ts +0 -21
- package/dist/data-access/index.d.ts.map +0 -1
- package/dist/data-access/index.js +0 -22
- package/dist/data-access/index.js.map +0 -1
- package/dist/data-access/ledgerArtifacts.d.ts +0 -49
- package/dist/data-access/ledgerArtifacts.d.ts.map +0 -1
- package/dist/data-access/ledgerArtifacts.js +0 -112
- package/dist/data-access/ledgerArtifacts.js.map +0 -1
- package/dist/data-access/messages.d.ts +0 -209
- package/dist/data-access/messages.d.ts.map +0 -1
- package/dist/data-access/messages.js +0 -100
- package/dist/data-access/messages.js.map +0 -1
- package/dist/data-access/projects.d.ts +0 -67
- package/dist/data-access/projects.d.ts.map +0 -1
- package/dist/data-access/projects.js +0 -337
- package/dist/data-access/projects.js.map +0 -1
- package/dist/data-access/tasks.d.ts +0 -37
- package/dist/data-access/tasks.d.ts.map +0 -1
- package/dist/data-access/tasks.js +0 -40
- package/dist/data-access/tasks.js.map +0 -1
- package/dist/data-access/tools.d.ts +0 -277
- package/dist/data-access/tools.d.ts.map +0 -1
- package/dist/data-access/tools.js +0 -183
- package/dist/data-access/tools.js.map +0 -1
- package/dist/data-access/validation.d.ts +0 -17
- package/dist/data-access/validation.d.ts.map +0 -1
- package/dist/data-access/validation.js +0 -52
- package/dist/data-access/validation.js.map +0 -1
- package/dist/db/clean.d.ts +0 -6
- package/dist/db/clean.d.ts.map +0 -1
- package/dist/db/clean.js +0 -81
- package/dist/db/clean.js.map +0 -1
- package/dist/db/client.d.ts +0 -19
- package/dist/db/client.d.ts.map +0 -1
- package/dist/db/client.js +0 -24
- package/dist/db/client.js.map +0 -1
- package/dist/db/schema.d.ts.map +0 -1
- package/dist/db/schema.js.map +0 -1
- package/dist/db/test-client.d.ts +0 -25
- package/dist/db/test-client.d.ts.map +0 -1
- package/dist/db/test-client.js +0 -136
- package/dist/db/test-client.js.map +0 -1
- package/dist/env.d.ts +0 -19
- package/dist/env.d.ts.map +0 -1
- package/dist/env.js +0 -49
- package/dist/env.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/middleware/contextValidation.d.ts +0 -49
- package/dist/middleware/contextValidation.d.ts.map +0 -1
- package/dist/middleware/contextValidation.js +0 -473
- package/dist/middleware/contextValidation.js.map +0 -1
- package/dist/middleware/index.d.ts +0 -2
- package/dist/middleware/index.d.ts.map +0 -1
- package/dist/middleware/index.js +0 -2
- package/dist/middleware/index.js.map +0 -1
- package/dist/types/a2a.d.ts +0 -373
- package/dist/types/a2a.d.ts.map +0 -1
- package/dist/types/a2a.js +0 -14
- package/dist/types/a2a.js.map +0 -1
- package/dist/types/entities.d.ts +0 -147
- package/dist/types/entities.d.ts.map +0 -1
- package/dist/types/entities.js +0 -2
- package/dist/types/entities.js.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/index.js.map +0 -1
- package/dist/types/server.d.ts +0 -116
- package/dist/types/server.d.ts.map +0 -1
- package/dist/types/server.js +0 -2
- package/dist/types/server.js.map +0 -1
- package/dist/types/utility.d.ts +0 -213
- package/dist/types/utility.d.ts.map +0 -1
- package/dist/types/utility.js +0 -9
- package/dist/types/utility.js.map +0 -1
- package/dist/utils/apiKeys.d.ts +0 -32
- package/dist/utils/apiKeys.d.ts.map +0 -1
- package/dist/utils/apiKeys.js +0 -117
- package/dist/utils/apiKeys.js.map +0 -1
- package/dist/utils/auth-detection.d.ts +0 -23
- package/dist/utils/auth-detection.d.ts.map +0 -1
- package/dist/utils/auth-detection.js +0 -148
- package/dist/utils/auth-detection.js.map +0 -1
- package/dist/utils/credential-store-utils.d.ts +0 -11
- package/dist/utils/credential-store-utils.d.ts.map +0 -1
- package/dist/utils/credential-store-utils.js +0 -19
- package/dist/utils/credential-store-utils.js.map +0 -1
- package/dist/utils/error.d.ts +0 -526
- package/dist/utils/error.d.ts.map +0 -1
- package/dist/utils/error.js +0 -282
- package/dist/utils/error.js.map +0 -1
- package/dist/utils/execution.d.ts +0 -18
- package/dist/utils/execution.d.ts.map +0 -1
- package/dist/utils/execution.js +0 -25
- package/dist/utils/execution.js.map +0 -1
- package/dist/utils/index.d.ts +0 -9
- package/dist/utils/index.d.ts.map +0 -1
- package/dist/utils/index.js +0 -9
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/logger.d.ts +0 -79
- package/dist/utils/logger.d.ts.map +0 -1
- package/dist/utils/logger.js +0 -102
- package/dist/utils/logger.js.map +0 -1
- package/dist/utils/logging.d.ts +0 -11
- package/dist/utils/logging.d.ts.map +0 -1
- package/dist/utils/logging.js +0 -6
- package/dist/utils/logging.js.map +0 -1
- package/dist/utils/mcp-client.d.ts +0 -48
- package/dist/utils/mcp-client.d.ts.map +0 -1
- package/dist/utils/mcp-client.js +0 -174
- package/dist/utils/mcp-client.js.map +0 -1
- package/dist/utils/tracer.d.ts +0 -24
- package/dist/utils/tracer.d.ts.map +0 -1
- package/dist/utils/tracer.js +0 -110
- package/dist/utils/tracer.js.map +0 -1
- package/dist/validation/graphFull.d.ts +0 -36
- package/dist/validation/graphFull.d.ts.map +0 -1
- package/dist/validation/graphFull.js +0 -128
- package/dist/validation/graphFull.js.map +0 -1
- package/dist/validation/id-validation.d.ts +0 -38
- package/dist/validation/id-validation.d.ts.map +0 -1
- package/dist/validation/id-validation.js +0 -60
- package/dist/validation/id-validation.js.map +0 -1
- package/dist/validation/index.d.ts.map +0 -1
- package/dist/validation/index.js.map +0 -1
- package/dist/validation/schemas.d.ts.map +0 -1
- package/dist/validation/schemas.js +0 -576
- package/dist/validation/schemas.js.map +0 -1
|
@@ -1,13 +1,390 @@
|
|
|
1
|
+
import { z as z$1 } from 'zod';
|
|
2
|
+
import * as drizzle_zod from 'drizzle-zod';
|
|
3
|
+
import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
|
|
1
4
|
import { z } from '@hono/zod-openapi';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
|
|
6
|
+
interface PartBase {
|
|
7
|
+
metadata?: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
interface TextPart extends PartBase {
|
|
12
|
+
kind: 'text';
|
|
13
|
+
text: string;
|
|
14
|
+
}
|
|
15
|
+
interface FileBase {
|
|
16
|
+
name?: string;
|
|
17
|
+
mimeType?: string;
|
|
18
|
+
}
|
|
19
|
+
interface FileWithBytes extends FileBase {
|
|
20
|
+
bytes: string;
|
|
21
|
+
uri?: never;
|
|
22
|
+
}
|
|
23
|
+
interface FileWithUri extends FileBase {
|
|
24
|
+
uri: string;
|
|
25
|
+
bytes?: never;
|
|
26
|
+
}
|
|
27
|
+
interface FilePart extends PartBase {
|
|
28
|
+
kind: 'file';
|
|
29
|
+
file: FileWithBytes | FileWithUri;
|
|
30
|
+
}
|
|
31
|
+
interface DataPart extends PartBase {
|
|
32
|
+
kind: 'data';
|
|
33
|
+
data: {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
type Part = TextPart | FilePart | DataPart;
|
|
38
|
+
declare enum TaskState {
|
|
39
|
+
Submitted = "submitted",
|
|
40
|
+
Working = "working",
|
|
41
|
+
InputRequired = "input-required",
|
|
42
|
+
Completed = "completed",
|
|
43
|
+
Canceled = "canceled",
|
|
44
|
+
Failed = "failed",
|
|
45
|
+
Rejected = "rejected",
|
|
46
|
+
AuthRequired = "auth-required",
|
|
47
|
+
Unknown = "unknown"
|
|
48
|
+
}
|
|
49
|
+
interface AgentCapabilities {
|
|
50
|
+
streaming?: boolean;
|
|
51
|
+
pushNotifications?: boolean;
|
|
52
|
+
stateTransitionHistory?: boolean;
|
|
53
|
+
}
|
|
54
|
+
interface AgentProvider {
|
|
55
|
+
organization: string;
|
|
56
|
+
url: string;
|
|
57
|
+
}
|
|
58
|
+
interface AgentSkill {
|
|
59
|
+
id: string;
|
|
60
|
+
name: string;
|
|
61
|
+
description: string;
|
|
62
|
+
tags: string[];
|
|
63
|
+
examples?: string[];
|
|
64
|
+
inputModes?: string[];
|
|
65
|
+
outputModes?: string[];
|
|
66
|
+
}
|
|
67
|
+
interface SecuritySchemeBase {
|
|
68
|
+
description?: string;
|
|
69
|
+
}
|
|
70
|
+
interface APIKeySecurityScheme extends SecuritySchemeBase {
|
|
71
|
+
type: 'apiKey';
|
|
72
|
+
in: 'query' | 'header' | 'cookie';
|
|
73
|
+
name: string;
|
|
74
|
+
}
|
|
75
|
+
interface HTTPAuthSecurityScheme extends SecuritySchemeBase {
|
|
76
|
+
type: 'http';
|
|
77
|
+
scheme: string;
|
|
78
|
+
bearerFormat?: string;
|
|
79
|
+
}
|
|
80
|
+
interface OAuthFlows {
|
|
81
|
+
authorizationCode?: AuthorizationCodeOAuthFlow;
|
|
82
|
+
clientCredentials?: ClientCredentialsOAuthFlow;
|
|
83
|
+
implicit?: ImplicitOAuthFlow;
|
|
84
|
+
password?: PasswordOAuthFlow;
|
|
85
|
+
}
|
|
86
|
+
interface AuthorizationCodeOAuthFlow {
|
|
87
|
+
authorizationUrl: string;
|
|
88
|
+
tokenUrl: string;
|
|
89
|
+
refreshUrl?: string;
|
|
90
|
+
scopes: {
|
|
91
|
+
[name: string]: string;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
interface ClientCredentialsOAuthFlow {
|
|
95
|
+
tokenUrl: string;
|
|
96
|
+
refreshUrl?: string;
|
|
97
|
+
scopes: {
|
|
98
|
+
[name: string]: string;
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
interface ImplicitOAuthFlow {
|
|
102
|
+
authorizationUrl: string;
|
|
103
|
+
refreshUrl?: string;
|
|
104
|
+
scopes: {
|
|
105
|
+
[name: string]: string;
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
interface PasswordOAuthFlow {
|
|
109
|
+
tokenUrl: string;
|
|
110
|
+
refreshUrl?: string;
|
|
111
|
+
scopes: {
|
|
112
|
+
[name: string]: string;
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
interface OAuth2SecurityScheme extends SecuritySchemeBase {
|
|
116
|
+
type: 'oauth2';
|
|
117
|
+
flows: OAuthFlows;
|
|
118
|
+
}
|
|
119
|
+
interface OpenIdConnectSecurityScheme extends SecuritySchemeBase {
|
|
120
|
+
type: 'openIdConnect';
|
|
121
|
+
openIdConnectUrl: string;
|
|
122
|
+
}
|
|
123
|
+
type SecurityScheme = APIKeySecurityScheme | HTTPAuthSecurityScheme | OAuth2SecurityScheme | OpenIdConnectSecurityScheme;
|
|
124
|
+
interface AgentCard {
|
|
125
|
+
name: string;
|
|
126
|
+
description: string;
|
|
127
|
+
url: string;
|
|
128
|
+
provider?: AgentProvider;
|
|
129
|
+
version: string;
|
|
130
|
+
documentationUrl?: string;
|
|
131
|
+
capabilities: AgentCapabilities;
|
|
132
|
+
securitySchemes?: {
|
|
133
|
+
[scheme: string]: SecurityScheme;
|
|
134
|
+
};
|
|
135
|
+
security?: {
|
|
136
|
+
[scheme: string]: string[];
|
|
137
|
+
}[];
|
|
138
|
+
defaultInputModes: string[];
|
|
139
|
+
defaultOutputModes: string[];
|
|
140
|
+
skills: AgentSkill[];
|
|
141
|
+
supportsAuthenticatedExtendedCard?: boolean;
|
|
142
|
+
}
|
|
143
|
+
interface Artifact {
|
|
144
|
+
artifactId: string;
|
|
145
|
+
name?: string;
|
|
146
|
+
description?: string;
|
|
147
|
+
type?: string;
|
|
148
|
+
parts: Part[];
|
|
149
|
+
taskId?: string;
|
|
150
|
+
metadata?: {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
interface Message {
|
|
155
|
+
role: 'user' | 'agent';
|
|
156
|
+
parts: Part[];
|
|
157
|
+
metadata?: {
|
|
158
|
+
[key: string]: any;
|
|
159
|
+
};
|
|
160
|
+
referenceTaskIds?: string[];
|
|
161
|
+
messageId: string;
|
|
162
|
+
taskId?: string;
|
|
163
|
+
contextId?: string;
|
|
164
|
+
kind: 'message';
|
|
165
|
+
}
|
|
166
|
+
interface TaskStatus {
|
|
167
|
+
state: TaskState;
|
|
168
|
+
message?: Message;
|
|
169
|
+
timestamp?: string;
|
|
170
|
+
}
|
|
171
|
+
interface Task {
|
|
172
|
+
id: string;
|
|
173
|
+
contextId: string;
|
|
174
|
+
status: TaskStatus;
|
|
175
|
+
history?: Message[];
|
|
176
|
+
artifacts?: Artifact[];
|
|
177
|
+
metadata?: {
|
|
178
|
+
[key: string]: any;
|
|
179
|
+
};
|
|
180
|
+
kind: 'task';
|
|
181
|
+
}
|
|
182
|
+
interface TaskStatusUpdateEvent {
|
|
183
|
+
taskId: string;
|
|
184
|
+
contextId: string;
|
|
185
|
+
kind: 'status-update';
|
|
186
|
+
status: TaskStatus;
|
|
187
|
+
final: boolean;
|
|
188
|
+
metadata?: {
|
|
189
|
+
[key: string]: any;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
interface TaskArtifactUpdateEvent {
|
|
193
|
+
taskId: string;
|
|
194
|
+
contextId: string;
|
|
195
|
+
kind: 'artifact-update';
|
|
196
|
+
artifact: Artifact;
|
|
197
|
+
append?: boolean;
|
|
198
|
+
lastChunk?: boolean;
|
|
199
|
+
metadata?: {
|
|
200
|
+
[key: string]: any;
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
interface JSONParseError extends JSONRPCError {
|
|
204
|
+
code: -32700;
|
|
205
|
+
message: string;
|
|
206
|
+
}
|
|
207
|
+
interface InvalidRequestError extends JSONRPCError {
|
|
208
|
+
code: -32600;
|
|
209
|
+
message: string;
|
|
210
|
+
}
|
|
211
|
+
interface MethodNotFoundError extends JSONRPCError {
|
|
212
|
+
code: -32601;
|
|
213
|
+
message: string;
|
|
214
|
+
}
|
|
215
|
+
interface InvalidParamsError extends JSONRPCError {
|
|
216
|
+
code: -32602;
|
|
217
|
+
message: string;
|
|
218
|
+
}
|
|
219
|
+
interface InternalError extends JSONRPCError {
|
|
220
|
+
code: -32603;
|
|
221
|
+
message: string;
|
|
222
|
+
}
|
|
223
|
+
interface TaskNotFoundError extends JSONRPCError {
|
|
224
|
+
code: -32001;
|
|
225
|
+
message: string;
|
|
226
|
+
}
|
|
227
|
+
interface TaskNotCancelableError extends JSONRPCError {
|
|
228
|
+
code: -32002;
|
|
229
|
+
message: string;
|
|
230
|
+
}
|
|
231
|
+
interface PushNotificationNotSupportedError extends JSONRPCError {
|
|
232
|
+
code: -32003;
|
|
233
|
+
message: string;
|
|
234
|
+
}
|
|
235
|
+
interface UnsupportedOperationError extends JSONRPCError {
|
|
236
|
+
code: -32004;
|
|
237
|
+
message: string;
|
|
238
|
+
}
|
|
239
|
+
interface ContentTypeNotSupportedError extends JSONRPCError {
|
|
240
|
+
code: -32005;
|
|
241
|
+
message: string;
|
|
242
|
+
}
|
|
243
|
+
interface InvalidAgentResponseError extends JSONRPCError {
|
|
244
|
+
code: -32006;
|
|
245
|
+
message: string;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* Union of all A2A specific and standard JSON-RPC errors.
|
|
249
|
+
*/
|
|
250
|
+
type A2AError = JSONParseError | InvalidRequestError | MethodNotFoundError | InvalidParamsError | InternalError | TaskNotFoundError | TaskNotCancelableError | PushNotificationNotSupportedError | UnsupportedOperationError | ContentTypeNotSupportedError | InvalidAgentResponseError;
|
|
251
|
+
interface PushNotificationAuthenticationInfo {
|
|
252
|
+
schemes: string[];
|
|
253
|
+
credentials?: string;
|
|
254
|
+
}
|
|
255
|
+
interface PushNotificationConfig {
|
|
256
|
+
url: string;
|
|
257
|
+
token?: string;
|
|
258
|
+
authentication?: PushNotificationAuthenticationInfo;
|
|
259
|
+
}
|
|
260
|
+
interface TaskPushNotificationConfig {
|
|
261
|
+
taskId: string;
|
|
262
|
+
pushNotificationConfig: PushNotificationConfig;
|
|
263
|
+
}
|
|
264
|
+
interface TaskIdParams {
|
|
265
|
+
id: string;
|
|
266
|
+
metadata?: {
|
|
267
|
+
[key: string]: any;
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
interface TaskQueryParams extends TaskIdParams {
|
|
271
|
+
historyLength?: number;
|
|
272
|
+
}
|
|
273
|
+
interface MessageSendConfiguration {
|
|
274
|
+
acceptedOutputModes: string[];
|
|
275
|
+
historyLength?: number;
|
|
276
|
+
pushNotificationConfig?: PushNotificationConfig;
|
|
277
|
+
blocking?: boolean;
|
|
278
|
+
}
|
|
279
|
+
interface MessageSendParams {
|
|
280
|
+
message: Message;
|
|
281
|
+
configuration?: MessageSendConfiguration;
|
|
282
|
+
metadata?: {
|
|
283
|
+
[key: string]: any;
|
|
284
|
+
};
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Base interface for all JSON-RPC messages (Requests and Responses).
|
|
288
|
+
*/
|
|
289
|
+
interface JSONRPCMessage {
|
|
290
|
+
id?: number | string | null;
|
|
291
|
+
readonly jsonrpc: '2.0';
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* Represents a JSON-RPC request object base structure.
|
|
295
|
+
*/
|
|
296
|
+
interface JSONRPCRequest extends JSONRPCMessage {
|
|
297
|
+
method: string;
|
|
298
|
+
params?: {
|
|
299
|
+
[key: string]: any;
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* Represents a JSON-RPC 2.0 Error object.
|
|
304
|
+
*/
|
|
305
|
+
interface JSONRPCError {
|
|
306
|
+
code: number;
|
|
307
|
+
message: string;
|
|
308
|
+
data?: any;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Represents a JSON-RPC 2.0 Result object (for successful responses).
|
|
312
|
+
* @template R Type of the result field.
|
|
313
|
+
*/
|
|
314
|
+
interface JSONRPCResult<R = any> extends JSONRPCMessage {
|
|
315
|
+
result: R;
|
|
316
|
+
error?: never;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* Represents a JSON-RPC 2.0 Error Response object.
|
|
320
|
+
*/
|
|
321
|
+
interface JSONRPCErrorResponse extends JSONRPCMessage {
|
|
322
|
+
result?: never;
|
|
323
|
+
error: JSONRPCError | A2AError;
|
|
324
|
+
}
|
|
325
|
+
interface SendMessageRequest extends JSONRPCRequest {
|
|
326
|
+
method: 'message/send';
|
|
327
|
+
params: MessageSendParams;
|
|
328
|
+
}
|
|
329
|
+
interface SendStreamingMessageRequest extends JSONRPCRequest {
|
|
330
|
+
method: 'message/stream';
|
|
331
|
+
params: MessageSendParams;
|
|
332
|
+
}
|
|
333
|
+
interface GetTaskRequest extends JSONRPCRequest {
|
|
334
|
+
method: 'tasks/get';
|
|
335
|
+
params: TaskQueryParams;
|
|
336
|
+
}
|
|
337
|
+
interface CancelTaskRequest extends JSONRPCRequest {
|
|
338
|
+
method: 'tasks/cancel';
|
|
339
|
+
params: TaskIdParams;
|
|
340
|
+
}
|
|
341
|
+
interface SetTaskPushNotificationConfigRequest extends JSONRPCRequest {
|
|
342
|
+
method: 'tasks/pushNotificationConfig/set';
|
|
343
|
+
params: TaskPushNotificationConfig;
|
|
344
|
+
}
|
|
345
|
+
interface GetTaskPushNotificationConfigRequest extends JSONRPCRequest {
|
|
346
|
+
method: 'tasks/pushNotificationConfig/get';
|
|
347
|
+
params: TaskIdParams;
|
|
348
|
+
}
|
|
349
|
+
interface TaskResubscriptionRequest extends JSONRPCRequest {
|
|
350
|
+
method: 'tasks/resubscribe';
|
|
351
|
+
params: TaskIdParams;
|
|
352
|
+
}
|
|
353
|
+
interface SendMessageSuccessResponse extends JSONRPCResult<Message | Task> {
|
|
354
|
+
}
|
|
355
|
+
type SendMessageResponse = SendMessageSuccessResponse | JSONRPCErrorResponse;
|
|
356
|
+
interface SendStreamingMessageSuccessResponse extends JSONRPCResult<Message | Task | TaskStatusUpdateEvent | TaskArtifactUpdateEvent> {
|
|
357
|
+
}
|
|
358
|
+
type SendStreamingMessageResponse = SendStreamingMessageSuccessResponse | JSONRPCErrorResponse;
|
|
359
|
+
interface GetTaskSuccessResponse extends JSONRPCResult<Task> {
|
|
360
|
+
}
|
|
361
|
+
type GetTaskResponse = GetTaskSuccessResponse | JSONRPCErrorResponse;
|
|
362
|
+
interface CancelTaskSuccessResponse extends JSONRPCResult<Task> {
|
|
363
|
+
}
|
|
364
|
+
type CancelTaskResponse = CancelTaskSuccessResponse | JSONRPCErrorResponse;
|
|
365
|
+
interface SetTaskPushNotificationConfigSuccessResponse extends JSONRPCResult<TaskPushNotificationConfig> {
|
|
366
|
+
}
|
|
367
|
+
type SetTaskPushNotificationConfigResponse = SetTaskPushNotificationConfigSuccessResponse | JSONRPCErrorResponse;
|
|
368
|
+
interface GetTaskPushNotificationConfigSuccessResponse extends JSONRPCResult<TaskPushNotificationConfig> {
|
|
369
|
+
}
|
|
370
|
+
type GetTaskPushNotificationConfigResponse = GetTaskPushNotificationConfigSuccessResponse | JSONRPCErrorResponse;
|
|
371
|
+
type A2ARequest = SendMessageRequest | SendStreamingMessageRequest | GetTaskRequest | CancelTaskRequest | SetTaskPushNotificationConfigRequest | GetTaskPushNotificationConfigRequest | TaskResubscriptionRequest;
|
|
372
|
+
/**
|
|
373
|
+
* Represents any valid JSON-RPC response defined in the A2A protocol.
|
|
374
|
+
*/
|
|
375
|
+
type A2AResponse = SendMessageResponse | SendStreamingMessageResponse | GetTaskResponse | CancelTaskResponse | SetTaskPushNotificationConfigResponse | GetTaskPushNotificationConfigResponse | JSONRPCErrorResponse;
|
|
376
|
+
type MessagePart = Part;
|
|
377
|
+
type TaskArtifact = Artifact;
|
|
378
|
+
|
|
379
|
+
declare const MIN_ID_LENGTH = 1;
|
|
380
|
+
declare const MAX_ID_LENGTH = 255;
|
|
381
|
+
declare const URL_SAFE_ID_PATTERN: RegExp;
|
|
382
|
+
declare const resourceIdSchema: z.ZodString;
|
|
383
|
+
declare const ModelSettingsSchema: z.ZodObject<{
|
|
7
384
|
model: z.ZodOptional<z.ZodString>;
|
|
8
385
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
9
386
|
}, z.core.$strip>;
|
|
10
|
-
|
|
387
|
+
declare const ModelSchema: z.ZodObject<{
|
|
11
388
|
base: z.ZodOptional<z.ZodObject<{
|
|
12
389
|
model: z.ZodOptional<z.ZodString>;
|
|
13
390
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -21,8 +398,8 @@ export declare const ModelSchema: z.ZodObject<{
|
|
|
21
398
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
22
399
|
}, z.core.$strip>>;
|
|
23
400
|
}, z.core.$strip>;
|
|
24
|
-
|
|
25
|
-
tenantId:
|
|
401
|
+
declare const AgentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
402
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
26
403
|
name: "tenant_id";
|
|
27
404
|
tableName: "agents";
|
|
28
405
|
dataType: "string";
|
|
@@ -41,7 +418,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
41
418
|
}, {}, {
|
|
42
419
|
length: number | undefined;
|
|
43
420
|
}>;
|
|
44
|
-
projectId:
|
|
421
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
45
422
|
name: "project_id";
|
|
46
423
|
tableName: "agents";
|
|
47
424
|
dataType: "string";
|
|
@@ -60,7 +437,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
60
437
|
}, {}, {
|
|
61
438
|
length: number | undefined;
|
|
62
439
|
}>;
|
|
63
|
-
id:
|
|
440
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
64
441
|
name: "id";
|
|
65
442
|
tableName: "agents";
|
|
66
443
|
dataType: "string";
|
|
@@ -79,7 +456,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
79
456
|
}, {}, {
|
|
80
457
|
length: number | undefined;
|
|
81
458
|
}>;
|
|
82
|
-
name:
|
|
459
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
83
460
|
name: "name";
|
|
84
461
|
tableName: "agents";
|
|
85
462
|
dataType: "string";
|
|
@@ -98,7 +475,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
98
475
|
}, {}, {
|
|
99
476
|
length: number | undefined;
|
|
100
477
|
}>;
|
|
101
|
-
description:
|
|
478
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
102
479
|
name: "description";
|
|
103
480
|
tableName: "agents";
|
|
104
481
|
dataType: "string";
|
|
@@ -117,7 +494,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
117
494
|
}, {}, {
|
|
118
495
|
length: number | undefined;
|
|
119
496
|
}>;
|
|
120
|
-
prompt:
|
|
497
|
+
prompt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
121
498
|
name: "prompt";
|
|
122
499
|
tableName: "agents";
|
|
123
500
|
dataType: "string";
|
|
@@ -136,12 +513,12 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
136
513
|
}, {}, {
|
|
137
514
|
length: number | undefined;
|
|
138
515
|
}>;
|
|
139
|
-
conversationHistoryConfig:
|
|
516
|
+
conversationHistoryConfig: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
140
517
|
name: "conversation_history_config";
|
|
141
518
|
tableName: "agents";
|
|
142
519
|
dataType: "json";
|
|
143
520
|
columnType: "SQLiteTextJson";
|
|
144
|
-
data:
|
|
521
|
+
data: ConversationHistoryConfig;
|
|
145
522
|
driverParam: string;
|
|
146
523
|
notNull: false;
|
|
147
524
|
hasDefault: false;
|
|
@@ -153,9 +530,9 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
153
530
|
identity: undefined;
|
|
154
531
|
generated: undefined;
|
|
155
532
|
}, {}, {
|
|
156
|
-
$type:
|
|
533
|
+
$type: ConversationHistoryConfig;
|
|
157
534
|
}>;
|
|
158
|
-
models:
|
|
535
|
+
models: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
159
536
|
name: "models";
|
|
160
537
|
tableName: "agents";
|
|
161
538
|
dataType: "json";
|
|
@@ -200,7 +577,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
200
577
|
} | undefined;
|
|
201
578
|
};
|
|
202
579
|
}>;
|
|
203
|
-
stopWhen:
|
|
580
|
+
stopWhen: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
204
581
|
name: "stop_when";
|
|
205
582
|
tableName: "agents";
|
|
206
583
|
dataType: "json";
|
|
@@ -223,7 +600,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
223
600
|
stepCountIs?: number;
|
|
224
601
|
};
|
|
225
602
|
}>;
|
|
226
|
-
createdAt:
|
|
603
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
227
604
|
name: "created_at";
|
|
228
605
|
tableName: "agents";
|
|
229
606
|
dataType: "string";
|
|
@@ -242,7 +619,7 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
242
619
|
}, {}, {
|
|
243
620
|
length: number | undefined;
|
|
244
621
|
}>;
|
|
245
|
-
updatedAt:
|
|
622
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
246
623
|
name: "updated_at";
|
|
247
624
|
tableName: "agents";
|
|
248
625
|
dataType: "string";
|
|
@@ -262,13 +639,13 @@ export declare const AgentSelectSchema: import("drizzle-zod").BuildSchema<"selec
|
|
|
262
639
|
length: number | undefined;
|
|
263
640
|
}>;
|
|
264
641
|
}, undefined, undefined>;
|
|
265
|
-
|
|
642
|
+
declare const AgentInsertSchema: z.ZodObject<{
|
|
266
643
|
tenantId: z.ZodString;
|
|
267
644
|
projectId: z.ZodString;
|
|
268
645
|
name: z.ZodString;
|
|
269
646
|
description: z.ZodString;
|
|
270
647
|
prompt: z.ZodString;
|
|
271
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
648
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
272
649
|
stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
273
650
|
stepCountIs?: number;
|
|
274
651
|
}, {
|
|
@@ -299,13 +676,13 @@ export declare const AgentInsertSchema: z.ZodObject<{
|
|
|
299
676
|
out: {};
|
|
300
677
|
in: {};
|
|
301
678
|
}>;
|
|
302
|
-
|
|
679
|
+
declare const AgentUpdateSchema: z.ZodObject<{
|
|
303
680
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
304
681
|
projectId: z.ZodOptional<z.ZodString>;
|
|
305
682
|
name: z.ZodOptional<z.ZodString>;
|
|
306
683
|
description: z.ZodOptional<z.ZodString>;
|
|
307
684
|
prompt: z.ZodOptional<z.ZodString>;
|
|
308
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
685
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>;
|
|
309
686
|
stopWhen: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
310
687
|
stepCountIs?: number;
|
|
311
688
|
}, {
|
|
@@ -336,11 +713,11 @@ export declare const AgentUpdateSchema: z.ZodObject<{
|
|
|
336
713
|
out: {};
|
|
337
714
|
in: {};
|
|
338
715
|
}>;
|
|
339
|
-
|
|
340
|
-
id: z.ZodString;
|
|
716
|
+
declare const AgentApiSelectSchema: z.ZodObject<{
|
|
341
717
|
name: z.ZodString;
|
|
342
|
-
description: z.ZodString;
|
|
343
718
|
prompt: z.ZodString;
|
|
719
|
+
description: z.ZodString;
|
|
720
|
+
id: z.ZodString;
|
|
344
721
|
createdAt: z.ZodString;
|
|
345
722
|
updatedAt: z.ZodString;
|
|
346
723
|
models: z.ZodNullable<z.ZodType<{
|
|
@@ -405,13 +782,13 @@ export declare const AgentApiSelectSchema: z.ZodObject<{
|
|
|
405
782
|
}, {
|
|
406
783
|
stepCountIs?: number;
|
|
407
784
|
}>>>;
|
|
408
|
-
conversationHistoryConfig: z.ZodNullable<z.ZodType<
|
|
785
|
+
conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
|
|
409
786
|
}, z.core.$strip>;
|
|
410
|
-
|
|
411
|
-
id: z.ZodString;
|
|
787
|
+
declare const AgentApiInsertSchema: z.ZodObject<{
|
|
412
788
|
name: z.ZodString;
|
|
413
|
-
description: z.ZodString;
|
|
414
789
|
prompt: z.ZodString;
|
|
790
|
+
description: z.ZodString;
|
|
791
|
+
id: z.ZodString;
|
|
415
792
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
416
793
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
417
794
|
models: z.ZodOptional<z.ZodObject<{
|
|
@@ -437,13 +814,13 @@ export declare const AgentApiInsertSchema: z.ZodObject<{
|
|
|
437
814
|
}, {
|
|
438
815
|
stepCountIs?: number;
|
|
439
816
|
}>>>>;
|
|
440
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
817
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
441
818
|
}, z.core.$strip>;
|
|
442
|
-
|
|
443
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
819
|
+
declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
444
820
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
445
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
446
821
|
prompt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
822
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
823
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
447
824
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
448
825
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
449
826
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
@@ -469,10 +846,10 @@ export declare const AgentApiUpdateSchema: z.ZodObject<{
|
|
|
469
846
|
}, {
|
|
470
847
|
stepCountIs?: number;
|
|
471
848
|
}>>>>>>;
|
|
472
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
849
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>>>;
|
|
473
850
|
}, z.core.$strip>;
|
|
474
|
-
|
|
475
|
-
tenantId:
|
|
851
|
+
declare const AgentRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
852
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
476
853
|
name: "tenant_id";
|
|
477
854
|
tableName: "agent_relations";
|
|
478
855
|
dataType: "string";
|
|
@@ -491,7 +868,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
491
868
|
}, {}, {
|
|
492
869
|
length: number | undefined;
|
|
493
870
|
}>;
|
|
494
|
-
projectId:
|
|
871
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
495
872
|
name: "project_id";
|
|
496
873
|
tableName: "agent_relations";
|
|
497
874
|
dataType: "string";
|
|
@@ -510,7 +887,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
510
887
|
}, {}, {
|
|
511
888
|
length: number | undefined;
|
|
512
889
|
}>;
|
|
513
|
-
id:
|
|
890
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
514
891
|
name: "id";
|
|
515
892
|
tableName: "agent_relations";
|
|
516
893
|
dataType: "string";
|
|
@@ -529,7 +906,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
529
906
|
}, {}, {
|
|
530
907
|
length: number | undefined;
|
|
531
908
|
}>;
|
|
532
|
-
graphId:
|
|
909
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
533
910
|
name: "graph_id";
|
|
534
911
|
tableName: "agent_relations";
|
|
535
912
|
dataType: "string";
|
|
@@ -548,7 +925,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
548
925
|
}, {}, {
|
|
549
926
|
length: number | undefined;
|
|
550
927
|
}>;
|
|
551
|
-
sourceAgentId:
|
|
928
|
+
sourceAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
552
929
|
name: "source_agent_id";
|
|
553
930
|
tableName: "agent_relations";
|
|
554
931
|
dataType: "string";
|
|
@@ -567,7 +944,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
567
944
|
}, {}, {
|
|
568
945
|
length: number | undefined;
|
|
569
946
|
}>;
|
|
570
|
-
targetAgentId:
|
|
947
|
+
targetAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
571
948
|
name: "target_agent_id";
|
|
572
949
|
tableName: "agent_relations";
|
|
573
950
|
dataType: "string";
|
|
@@ -586,7 +963,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
586
963
|
}, {}, {
|
|
587
964
|
length: number | undefined;
|
|
588
965
|
}>;
|
|
589
|
-
externalAgentId:
|
|
966
|
+
externalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
590
967
|
name: "external_agent_id";
|
|
591
968
|
tableName: "agent_relations";
|
|
592
969
|
dataType: "string";
|
|
@@ -605,7 +982,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
605
982
|
}, {}, {
|
|
606
983
|
length: number | undefined;
|
|
607
984
|
}>;
|
|
608
|
-
relationType:
|
|
985
|
+
relationType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
609
986
|
name: "relation_type";
|
|
610
987
|
tableName: "agent_relations";
|
|
611
988
|
dataType: "string";
|
|
@@ -624,7 +1001,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
624
1001
|
}, {}, {
|
|
625
1002
|
length: number | undefined;
|
|
626
1003
|
}>;
|
|
627
|
-
createdAt:
|
|
1004
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
628
1005
|
name: "created_at";
|
|
629
1006
|
tableName: "agent_relations";
|
|
630
1007
|
dataType: "string";
|
|
@@ -643,7 +1020,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
643
1020
|
}, {}, {
|
|
644
1021
|
length: number | undefined;
|
|
645
1022
|
}>;
|
|
646
|
-
updatedAt:
|
|
1023
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
647
1024
|
name: "updated_at";
|
|
648
1025
|
tableName: "agent_relations";
|
|
649
1026
|
dataType: "string";
|
|
@@ -663,7 +1040,7 @@ export declare const AgentRelationSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
663
1040
|
length: number | undefined;
|
|
664
1041
|
}>;
|
|
665
1042
|
}, undefined, undefined>;
|
|
666
|
-
|
|
1043
|
+
declare const AgentRelationInsertSchema: z.ZodObject<{
|
|
667
1044
|
tenantId: z.ZodString;
|
|
668
1045
|
projectId: z.ZodString;
|
|
669
1046
|
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -678,7 +1055,7 @@ export declare const AgentRelationInsertSchema: z.ZodObject<{
|
|
|
678
1055
|
out: {};
|
|
679
1056
|
in: {};
|
|
680
1057
|
}>;
|
|
681
|
-
|
|
1058
|
+
declare const AgentRelationUpdateSchema: z.ZodObject<{
|
|
682
1059
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
683
1060
|
projectId: z.ZodOptional<z.ZodString>;
|
|
684
1061
|
relationType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -693,7 +1070,7 @@ export declare const AgentRelationUpdateSchema: z.ZodObject<{
|
|
|
693
1070
|
out: {};
|
|
694
1071
|
in: {};
|
|
695
1072
|
}>;
|
|
696
|
-
|
|
1073
|
+
declare const AgentRelationApiSelectSchema: z.ZodObject<{
|
|
697
1074
|
id: z.ZodString;
|
|
698
1075
|
graphId: z.ZodString;
|
|
699
1076
|
createdAt: z.ZodString;
|
|
@@ -703,7 +1080,7 @@ export declare const AgentRelationApiSelectSchema: z.ZodObject<{
|
|
|
703
1080
|
externalAgentId: z.ZodNullable<z.ZodString>;
|
|
704
1081
|
relationType: z.ZodNullable<z.ZodString>;
|
|
705
1082
|
}, z.core.$strip>;
|
|
706
|
-
|
|
1083
|
+
declare const AgentRelationApiInsertSchema: z.ZodObject<{
|
|
707
1084
|
id: z.ZodString;
|
|
708
1085
|
graphId: z.ZodString;
|
|
709
1086
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -716,7 +1093,7 @@ export declare const AgentRelationApiInsertSchema: z.ZodObject<{
|
|
|
716
1093
|
delegate: "delegate";
|
|
717
1094
|
}>;
|
|
718
1095
|
}, z.core.$strip>;
|
|
719
|
-
|
|
1096
|
+
declare const AgentRelationApiUpdateSchema: z.ZodObject<{
|
|
720
1097
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
721
1098
|
graphId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
722
1099
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
@@ -729,12 +1106,12 @@ export declare const AgentRelationApiUpdateSchema: z.ZodObject<{
|
|
|
729
1106
|
delegate: "delegate";
|
|
730
1107
|
}>>;
|
|
731
1108
|
}, z.core.$strip>;
|
|
732
|
-
|
|
1109
|
+
declare const AgentRelationQuerySchema: z.ZodObject<{
|
|
733
1110
|
sourceAgentId: z.ZodOptional<z.ZodString>;
|
|
734
1111
|
targetAgentId: z.ZodOptional<z.ZodString>;
|
|
735
1112
|
externalAgentId: z.ZodOptional<z.ZodString>;
|
|
736
1113
|
}, z.core.$strip>;
|
|
737
|
-
|
|
1114
|
+
declare const ExternalAgentRelationInsertSchema: z.ZodObject<{
|
|
738
1115
|
tenantId: z.ZodString;
|
|
739
1116
|
projectId: z.ZodString;
|
|
740
1117
|
targetAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -749,7 +1126,7 @@ export declare const ExternalAgentRelationInsertSchema: z.ZodObject<{
|
|
|
749
1126
|
out: {};
|
|
750
1127
|
in: {};
|
|
751
1128
|
}>;
|
|
752
|
-
|
|
1129
|
+
declare const ExternalAgentRelationApiInsertSchema: z.ZodObject<{
|
|
753
1130
|
id: z.ZodString;
|
|
754
1131
|
graphId: z.ZodString;
|
|
755
1132
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -759,8 +1136,8 @@ export declare const ExternalAgentRelationApiInsertSchema: z.ZodObject<{
|
|
|
759
1136
|
externalAgentId: z.ZodString;
|
|
760
1137
|
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
1138
|
}, z.core.$strip>;
|
|
762
|
-
|
|
763
|
-
tenantId:
|
|
1139
|
+
declare const AgentGraphSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
1140
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
764
1141
|
name: "tenant_id";
|
|
765
1142
|
tableName: "agent_graph";
|
|
766
1143
|
dataType: "string";
|
|
@@ -779,7 +1156,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
779
1156
|
}, {}, {
|
|
780
1157
|
length: number | undefined;
|
|
781
1158
|
}>;
|
|
782
|
-
projectId:
|
|
1159
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
783
1160
|
name: "project_id";
|
|
784
1161
|
tableName: "agent_graph";
|
|
785
1162
|
dataType: "string";
|
|
@@ -798,7 +1175,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
798
1175
|
}, {}, {
|
|
799
1176
|
length: number | undefined;
|
|
800
1177
|
}>;
|
|
801
|
-
id:
|
|
1178
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
802
1179
|
name: "id";
|
|
803
1180
|
tableName: "agent_graph";
|
|
804
1181
|
dataType: "string";
|
|
@@ -817,7 +1194,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
817
1194
|
}, {}, {
|
|
818
1195
|
length: number | undefined;
|
|
819
1196
|
}>;
|
|
820
|
-
name:
|
|
1197
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
821
1198
|
name: "name";
|
|
822
1199
|
tableName: "agent_graph";
|
|
823
1200
|
dataType: "string";
|
|
@@ -836,7 +1213,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
836
1213
|
}, {}, {
|
|
837
1214
|
length: number | undefined;
|
|
838
1215
|
}>;
|
|
839
|
-
description:
|
|
1216
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
840
1217
|
name: "description";
|
|
841
1218
|
tableName: "agent_graph";
|
|
842
1219
|
dataType: "string";
|
|
@@ -855,7 +1232,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
855
1232
|
}, {}, {
|
|
856
1233
|
length: number | undefined;
|
|
857
1234
|
}>;
|
|
858
|
-
defaultAgentId:
|
|
1235
|
+
defaultAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
859
1236
|
name: "default_agent_id";
|
|
860
1237
|
tableName: "agent_graph";
|
|
861
1238
|
dataType: "string";
|
|
@@ -874,7 +1251,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
874
1251
|
}, {}, {
|
|
875
1252
|
length: number | undefined;
|
|
876
1253
|
}>;
|
|
877
|
-
contextConfigId:
|
|
1254
|
+
contextConfigId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
878
1255
|
name: "context_config_id";
|
|
879
1256
|
tableName: "agent_graph";
|
|
880
1257
|
dataType: "string";
|
|
@@ -893,7 +1270,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
893
1270
|
}, {}, {
|
|
894
1271
|
length: number | undefined;
|
|
895
1272
|
}>;
|
|
896
|
-
models:
|
|
1273
|
+
models: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
897
1274
|
name: "models";
|
|
898
1275
|
tableName: "agent_graph";
|
|
899
1276
|
dataType: "json";
|
|
@@ -938,7 +1315,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
938
1315
|
} | undefined;
|
|
939
1316
|
};
|
|
940
1317
|
}>;
|
|
941
|
-
statusUpdates:
|
|
1318
|
+
statusUpdates: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
942
1319
|
name: "status_updates";
|
|
943
1320
|
tableName: "agent_graph";
|
|
944
1321
|
dataType: "json";
|
|
@@ -985,7 +1362,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
985
1362
|
}[] | undefined;
|
|
986
1363
|
};
|
|
987
1364
|
}>;
|
|
988
|
-
graphPrompt:
|
|
1365
|
+
graphPrompt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
989
1366
|
name: "graph_prompt";
|
|
990
1367
|
tableName: "agent_graph";
|
|
991
1368
|
dataType: "string";
|
|
@@ -1004,7 +1381,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
1004
1381
|
}, {}, {
|
|
1005
1382
|
length: number | undefined;
|
|
1006
1383
|
}>;
|
|
1007
|
-
stopWhen:
|
|
1384
|
+
stopWhen: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1008
1385
|
name: "stop_when";
|
|
1009
1386
|
tableName: "agent_graph";
|
|
1010
1387
|
dataType: "json";
|
|
@@ -1027,7 +1404,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
1027
1404
|
transferCountIs?: number;
|
|
1028
1405
|
};
|
|
1029
1406
|
}>;
|
|
1030
|
-
createdAt:
|
|
1407
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1031
1408
|
name: "created_at";
|
|
1032
1409
|
tableName: "agent_graph";
|
|
1033
1410
|
dataType: "string";
|
|
@@ -1046,7 +1423,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
1046
1423
|
}, {}, {
|
|
1047
1424
|
length: number | undefined;
|
|
1048
1425
|
}>;
|
|
1049
|
-
updatedAt:
|
|
1426
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1050
1427
|
name: "updated_at";
|
|
1051
1428
|
tableName: "agent_graph";
|
|
1052
1429
|
dataType: "string";
|
|
@@ -1066,7 +1443,7 @@ export declare const AgentGraphSelectSchema: import("drizzle-zod").BuildSchema<"
|
|
|
1066
1443
|
length: number | undefined;
|
|
1067
1444
|
}>;
|
|
1068
1445
|
}, undefined, undefined>;
|
|
1069
|
-
|
|
1446
|
+
declare const AgentGraphInsertSchema: z.ZodObject<{
|
|
1070
1447
|
tenantId: z.ZodString;
|
|
1071
1448
|
projectId: z.ZodString;
|
|
1072
1449
|
name: z.ZodString;
|
|
@@ -1200,7 +1577,7 @@ export declare const AgentGraphInsertSchema: z.ZodObject<{
|
|
|
1200
1577
|
out: {};
|
|
1201
1578
|
in: {};
|
|
1202
1579
|
}>;
|
|
1203
|
-
|
|
1580
|
+
declare const AgentGraphUpdateSchema: z.ZodObject<{
|
|
1204
1581
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1205
1582
|
projectId: z.ZodOptional<z.ZodString>;
|
|
1206
1583
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1334,13 +1711,14 @@ export declare const AgentGraphUpdateSchema: z.ZodObject<{
|
|
|
1334
1711
|
out: {};
|
|
1335
1712
|
in: {};
|
|
1336
1713
|
}>;
|
|
1337
|
-
|
|
1338
|
-
id: z.ZodString;
|
|
1714
|
+
declare const AgentGraphApiSelectSchema: z.ZodObject<{
|
|
1339
1715
|
name: z.ZodString;
|
|
1340
1716
|
description: z.ZodNullable<z.ZodString>;
|
|
1717
|
+
id: z.ZodString;
|
|
1341
1718
|
createdAt: z.ZodString;
|
|
1342
1719
|
updatedAt: z.ZodString;
|
|
1343
1720
|
defaultAgentId: z.ZodString;
|
|
1721
|
+
contextConfigId: z.ZodNullable<z.ZodString>;
|
|
1344
1722
|
models: z.ZodNullable<z.ZodType<{
|
|
1345
1723
|
base?: {
|
|
1346
1724
|
model?: string | undefined;
|
|
@@ -1394,16 +1772,6 @@ export declare const AgentGraphApiSelectSchema: z.ZodObject<{
|
|
|
1394
1772
|
providerOptions?: Record<string, unknown> | undefined;
|
|
1395
1773
|
} | undefined;
|
|
1396
1774
|
}>>>;
|
|
1397
|
-
stopWhen: z.ZodNullable<z.ZodType<{
|
|
1398
|
-
transferCountIs?: number;
|
|
1399
|
-
}, {
|
|
1400
|
-
transferCountIs?: number;
|
|
1401
|
-
}, z.core.$ZodTypeInternals<{
|
|
1402
|
-
transferCountIs?: number;
|
|
1403
|
-
}, {
|
|
1404
|
-
transferCountIs?: number;
|
|
1405
|
-
}>>>;
|
|
1406
|
-
graphPrompt: z.ZodNullable<z.ZodString>;
|
|
1407
1775
|
statusUpdates: z.ZodNullable<z.ZodType<{
|
|
1408
1776
|
enabled?: boolean | undefined;
|
|
1409
1777
|
numEvents?: number | undefined;
|
|
@@ -1461,14 +1829,24 @@ export declare const AgentGraphApiSelectSchema: z.ZodObject<{
|
|
|
1461
1829
|
} | undefined;
|
|
1462
1830
|
}[] | undefined;
|
|
1463
1831
|
}>>>;
|
|
1464
|
-
|
|
1832
|
+
graphPrompt: z.ZodNullable<z.ZodString>;
|
|
1833
|
+
stopWhen: z.ZodNullable<z.ZodType<{
|
|
1834
|
+
transferCountIs?: number;
|
|
1835
|
+
}, {
|
|
1836
|
+
transferCountIs?: number;
|
|
1837
|
+
}, z.core.$ZodTypeInternals<{
|
|
1838
|
+
transferCountIs?: number;
|
|
1839
|
+
}, {
|
|
1840
|
+
transferCountIs?: number;
|
|
1841
|
+
}>>>;
|
|
1465
1842
|
}, z.core.$strip>;
|
|
1466
|
-
|
|
1843
|
+
declare const AgentGraphApiInsertSchema: z.ZodObject<{
|
|
1467
1844
|
name: z.ZodString;
|
|
1468
1845
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1469
1846
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1470
1847
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1471
1848
|
defaultAgentId: z.ZodString;
|
|
1849
|
+
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1472
1850
|
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1473
1851
|
base?: {
|
|
1474
1852
|
model?: string | undefined;
|
|
@@ -1522,16 +1900,6 @@ export declare const AgentGraphApiInsertSchema: z.ZodObject<{
|
|
|
1522
1900
|
providerOptions?: Record<string, unknown> | undefined;
|
|
1523
1901
|
} | undefined;
|
|
1524
1902
|
}>>>>;
|
|
1525
|
-
stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1526
|
-
transferCountIs?: number;
|
|
1527
|
-
}, {
|
|
1528
|
-
transferCountIs?: number;
|
|
1529
|
-
}, z.core.$ZodTypeInternals<{
|
|
1530
|
-
transferCountIs?: number;
|
|
1531
|
-
}, {
|
|
1532
|
-
transferCountIs?: number;
|
|
1533
|
-
}>>>>;
|
|
1534
|
-
graphPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1535
1903
|
statusUpdates: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1536
1904
|
enabled?: boolean | undefined;
|
|
1537
1905
|
numEvents?: number | undefined;
|
|
@@ -1589,16 +1957,26 @@ export declare const AgentGraphApiInsertSchema: z.ZodObject<{
|
|
|
1589
1957
|
} | undefined;
|
|
1590
1958
|
}[] | undefined;
|
|
1591
1959
|
}>>>>;
|
|
1592
|
-
|
|
1960
|
+
graphPrompt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1961
|
+
stopWhen: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1962
|
+
transferCountIs?: number;
|
|
1963
|
+
}, {
|
|
1964
|
+
transferCountIs?: number;
|
|
1965
|
+
}, z.core.$ZodTypeInternals<{
|
|
1966
|
+
transferCountIs?: number;
|
|
1967
|
+
}, {
|
|
1968
|
+
transferCountIs?: number;
|
|
1969
|
+
}>>>>;
|
|
1593
1970
|
id: z.ZodOptional<z.ZodString>;
|
|
1594
1971
|
}, z.core.$strip>;
|
|
1595
|
-
|
|
1596
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1972
|
+
declare const AgentGraphApiUpdateSchema: z.ZodObject<{
|
|
1597
1973
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1598
1974
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1975
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1599
1976
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1600
1977
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1601
1978
|
defaultAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1979
|
+
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1602
1980
|
models: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1603
1981
|
base?: {
|
|
1604
1982
|
model?: string | undefined;
|
|
@@ -1652,16 +2030,6 @@ export declare const AgentGraphApiUpdateSchema: z.ZodObject<{
|
|
|
1652
2030
|
providerOptions?: Record<string, unknown> | undefined;
|
|
1653
2031
|
} | undefined;
|
|
1654
2032
|
}>>>>>>;
|
|
1655
|
-
stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1656
|
-
transferCountIs?: number;
|
|
1657
|
-
}, {
|
|
1658
|
-
transferCountIs?: number;
|
|
1659
|
-
}, z.core.$ZodTypeInternals<{
|
|
1660
|
-
transferCountIs?: number;
|
|
1661
|
-
}, {
|
|
1662
|
-
transferCountIs?: number;
|
|
1663
|
-
}>>>>>>;
|
|
1664
|
-
graphPrompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
1665
2033
|
statusUpdates: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
1666
2034
|
enabled?: boolean | undefined;
|
|
1667
2035
|
numEvents?: number | undefined;
|
|
@@ -1719,10 +2087,19 @@ export declare const AgentGraphApiUpdateSchema: z.ZodObject<{
|
|
|
1719
2087
|
} | undefined;
|
|
1720
2088
|
}[] | undefined;
|
|
1721
2089
|
}>>>>>>;
|
|
1722
|
-
|
|
2090
|
+
graphPrompt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
2091
|
+
stopWhen: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
2092
|
+
transferCountIs?: number;
|
|
2093
|
+
}, {
|
|
2094
|
+
transferCountIs?: number;
|
|
2095
|
+
}, z.core.$ZodTypeInternals<{
|
|
2096
|
+
transferCountIs?: number;
|
|
2097
|
+
}, {
|
|
2098
|
+
transferCountIs?: number;
|
|
2099
|
+
}>>>>>>;
|
|
1723
2100
|
}, z.core.$strip>;
|
|
1724
|
-
|
|
1725
|
-
tenantId:
|
|
2101
|
+
declare const TaskSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2102
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1726
2103
|
name: "tenant_id";
|
|
1727
2104
|
tableName: "tasks";
|
|
1728
2105
|
dataType: "string";
|
|
@@ -1741,7 +2118,7 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1741
2118
|
}, {}, {
|
|
1742
2119
|
length: number | undefined;
|
|
1743
2120
|
}>;
|
|
1744
|
-
projectId:
|
|
2121
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1745
2122
|
name: "project_id";
|
|
1746
2123
|
tableName: "tasks";
|
|
1747
2124
|
dataType: "string";
|
|
@@ -1760,7 +2137,7 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1760
2137
|
}, {}, {
|
|
1761
2138
|
length: number | undefined;
|
|
1762
2139
|
}>;
|
|
1763
|
-
id:
|
|
2140
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1764
2141
|
name: "id";
|
|
1765
2142
|
tableName: "tasks";
|
|
1766
2143
|
dataType: "string";
|
|
@@ -1779,7 +2156,7 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1779
2156
|
}, {}, {
|
|
1780
2157
|
length: number | undefined;
|
|
1781
2158
|
}>;
|
|
1782
|
-
contextId:
|
|
2159
|
+
contextId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1783
2160
|
name: "context_id";
|
|
1784
2161
|
tableName: "tasks";
|
|
1785
2162
|
dataType: "string";
|
|
@@ -1798,7 +2175,7 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1798
2175
|
}, {}, {
|
|
1799
2176
|
length: number | undefined;
|
|
1800
2177
|
}>;
|
|
1801
|
-
status:
|
|
2178
|
+
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1802
2179
|
name: "status";
|
|
1803
2180
|
tableName: "tasks";
|
|
1804
2181
|
dataType: "string";
|
|
@@ -1817,12 +2194,12 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1817
2194
|
}, {}, {
|
|
1818
2195
|
length: number | undefined;
|
|
1819
2196
|
}>;
|
|
1820
|
-
metadata:
|
|
2197
|
+
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1821
2198
|
name: "metadata";
|
|
1822
2199
|
tableName: "tasks";
|
|
1823
2200
|
dataType: "json";
|
|
1824
2201
|
columnType: "SQLiteBlobJson";
|
|
1825
|
-
data:
|
|
2202
|
+
data: TaskMetadataConfig;
|
|
1826
2203
|
driverParam: Buffer<ArrayBufferLike>;
|
|
1827
2204
|
notNull: false;
|
|
1828
2205
|
hasDefault: false;
|
|
@@ -1834,9 +2211,9 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1834
2211
|
identity: undefined;
|
|
1835
2212
|
generated: undefined;
|
|
1836
2213
|
}, {}, {
|
|
1837
|
-
$type:
|
|
2214
|
+
$type: TaskMetadataConfig;
|
|
1838
2215
|
}>;
|
|
1839
|
-
agentId:
|
|
2216
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1840
2217
|
name: "agent_id";
|
|
1841
2218
|
tableName: "tasks";
|
|
1842
2219
|
dataType: "string";
|
|
@@ -1855,7 +2232,7 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1855
2232
|
}, {}, {
|
|
1856
2233
|
length: number | undefined;
|
|
1857
2234
|
}>;
|
|
1858
|
-
createdAt:
|
|
2235
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1859
2236
|
name: "created_at";
|
|
1860
2237
|
tableName: "tasks";
|
|
1861
2238
|
dataType: "string";
|
|
@@ -1874,7 +2251,7 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1874
2251
|
}, {}, {
|
|
1875
2252
|
length: number | undefined;
|
|
1876
2253
|
}>;
|
|
1877
|
-
updatedAt:
|
|
2254
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1878
2255
|
name: "updated_at";
|
|
1879
2256
|
tableName: "tasks";
|
|
1880
2257
|
dataType: "string";
|
|
@@ -1894,12 +2271,12 @@ export declare const TaskSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
1894
2271
|
length: number | undefined;
|
|
1895
2272
|
}>;
|
|
1896
2273
|
}, undefined, undefined>;
|
|
1897
|
-
|
|
2274
|
+
declare const TaskInsertSchema: z.ZodObject<{
|
|
1898
2275
|
tenantId: z.ZodString;
|
|
1899
2276
|
projectId: z.ZodString;
|
|
1900
2277
|
contextId: z.ZodString;
|
|
1901
2278
|
status: z.ZodString;
|
|
1902
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
2279
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
1903
2280
|
agentId: z.ZodString;
|
|
1904
2281
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1905
2282
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1909,12 +2286,12 @@ export declare const TaskInsertSchema: z.ZodObject<{
|
|
|
1909
2286
|
out: {};
|
|
1910
2287
|
in: {};
|
|
1911
2288
|
}>;
|
|
1912
|
-
|
|
2289
|
+
declare const TaskUpdateSchema: z.ZodObject<{
|
|
1913
2290
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
1914
2291
|
projectId: z.ZodOptional<z.ZodString>;
|
|
1915
2292
|
contextId: z.ZodOptional<z.ZodString>;
|
|
1916
2293
|
status: z.ZodOptional<z.ZodString>;
|
|
1917
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
2294
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>;
|
|
1918
2295
|
agentId: z.ZodOptional<z.ZodString>;
|
|
1919
2296
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1920
2297
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -1924,37 +2301,37 @@ export declare const TaskUpdateSchema: z.ZodObject<{
|
|
|
1924
2301
|
out: {};
|
|
1925
2302
|
in: {};
|
|
1926
2303
|
}>;
|
|
1927
|
-
|
|
2304
|
+
declare const TaskApiSelectSchema: z.ZodObject<{
|
|
1928
2305
|
id: z.ZodString;
|
|
1929
2306
|
createdAt: z.ZodString;
|
|
1930
2307
|
updatedAt: z.ZodString;
|
|
1931
2308
|
contextId: z.ZodString;
|
|
1932
2309
|
status: z.ZodString;
|
|
1933
|
-
metadata: z.ZodNullable<z.ZodType<
|
|
2310
|
+
metadata: z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>;
|
|
1934
2311
|
agentId: z.ZodString;
|
|
1935
2312
|
}, z.core.$strip>;
|
|
1936
|
-
|
|
2313
|
+
declare const TaskApiInsertSchema: z.ZodObject<{
|
|
1937
2314
|
id: z.ZodString;
|
|
1938
2315
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1939
2316
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1940
2317
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
1941
2318
|
contextId: z.ZodString;
|
|
1942
2319
|
status: z.ZodString;
|
|
1943
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
2320
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>;
|
|
1944
2321
|
agentId: z.ZodString;
|
|
1945
2322
|
}, z.core.$strip>;
|
|
1946
|
-
|
|
2323
|
+
declare const TaskApiUpdateSchema: z.ZodObject<{
|
|
1947
2324
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1948
2325
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1949
2326
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1950
2327
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
1951
2328
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1952
2329
|
status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1953
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
2330
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<TaskMetadataConfig, TaskMetadataConfig, z.core.$ZodTypeInternals<TaskMetadataConfig, TaskMetadataConfig>>>>>>;
|
|
1954
2331
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1955
2332
|
}, z.core.$strip>;
|
|
1956
|
-
|
|
1957
|
-
tenantId:
|
|
2333
|
+
declare const TaskRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2334
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1958
2335
|
name: "tenant_id";
|
|
1959
2336
|
tableName: "task_relations";
|
|
1960
2337
|
dataType: "string";
|
|
@@ -1973,7 +2350,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
1973
2350
|
}, {}, {
|
|
1974
2351
|
length: number | undefined;
|
|
1975
2352
|
}>;
|
|
1976
|
-
projectId:
|
|
2353
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1977
2354
|
name: "project_id";
|
|
1978
2355
|
tableName: "task_relations";
|
|
1979
2356
|
dataType: "string";
|
|
@@ -1992,7 +2369,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
1992
2369
|
}, {}, {
|
|
1993
2370
|
length: number | undefined;
|
|
1994
2371
|
}>;
|
|
1995
|
-
id:
|
|
2372
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
1996
2373
|
name: "id";
|
|
1997
2374
|
tableName: "task_relations";
|
|
1998
2375
|
dataType: "string";
|
|
@@ -2011,7 +2388,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2011
2388
|
}, {}, {
|
|
2012
2389
|
length: number | undefined;
|
|
2013
2390
|
}>;
|
|
2014
|
-
parentTaskId:
|
|
2391
|
+
parentTaskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2015
2392
|
name: "parent_task_id";
|
|
2016
2393
|
tableName: "task_relations";
|
|
2017
2394
|
dataType: "string";
|
|
@@ -2030,7 +2407,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2030
2407
|
}, {}, {
|
|
2031
2408
|
length: number | undefined;
|
|
2032
2409
|
}>;
|
|
2033
|
-
childTaskId:
|
|
2410
|
+
childTaskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2034
2411
|
name: "child_task_id";
|
|
2035
2412
|
tableName: "task_relations";
|
|
2036
2413
|
dataType: "string";
|
|
@@ -2049,7 +2426,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2049
2426
|
}, {}, {
|
|
2050
2427
|
length: number | undefined;
|
|
2051
2428
|
}>;
|
|
2052
|
-
relationType:
|
|
2429
|
+
relationType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2053
2430
|
name: "relation_type";
|
|
2054
2431
|
tableName: "task_relations";
|
|
2055
2432
|
dataType: "string";
|
|
@@ -2068,7 +2445,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2068
2445
|
}, {}, {
|
|
2069
2446
|
length: number | undefined;
|
|
2070
2447
|
}>;
|
|
2071
|
-
createdAt:
|
|
2448
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2072
2449
|
name: "created_at";
|
|
2073
2450
|
tableName: "task_relations";
|
|
2074
2451
|
dataType: "string";
|
|
@@ -2087,7 +2464,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2087
2464
|
}, {}, {
|
|
2088
2465
|
length: number | undefined;
|
|
2089
2466
|
}>;
|
|
2090
|
-
updatedAt:
|
|
2467
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2091
2468
|
name: "updated_at";
|
|
2092
2469
|
tableName: "task_relations";
|
|
2093
2470
|
dataType: "string";
|
|
@@ -2107,7 +2484,7 @@ export declare const TaskRelationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2107
2484
|
length: number | undefined;
|
|
2108
2485
|
}>;
|
|
2109
2486
|
}, undefined, undefined>;
|
|
2110
|
-
|
|
2487
|
+
declare const TaskRelationInsertSchema: z.ZodObject<{
|
|
2111
2488
|
tenantId: z.ZodString;
|
|
2112
2489
|
projectId: z.ZodString;
|
|
2113
2490
|
relationType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2120,7 +2497,7 @@ export declare const TaskRelationInsertSchema: z.ZodObject<{
|
|
|
2120
2497
|
out: {};
|
|
2121
2498
|
in: {};
|
|
2122
2499
|
}>;
|
|
2123
|
-
|
|
2500
|
+
declare const TaskRelationUpdateSchema: z.ZodObject<{
|
|
2124
2501
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
2125
2502
|
projectId: z.ZodOptional<z.ZodString>;
|
|
2126
2503
|
relationType: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -2133,7 +2510,7 @@ export declare const TaskRelationUpdateSchema: z.ZodObject<{
|
|
|
2133
2510
|
out: {};
|
|
2134
2511
|
in: {};
|
|
2135
2512
|
}>;
|
|
2136
|
-
|
|
2513
|
+
declare const TaskRelationApiSelectSchema: z.ZodObject<{
|
|
2137
2514
|
id: z.ZodString;
|
|
2138
2515
|
createdAt: z.ZodString;
|
|
2139
2516
|
updatedAt: z.ZodString;
|
|
@@ -2141,7 +2518,7 @@ export declare const TaskRelationApiSelectSchema: z.ZodObject<{
|
|
|
2141
2518
|
parentTaskId: z.ZodString;
|
|
2142
2519
|
childTaskId: z.ZodString;
|
|
2143
2520
|
}, z.core.$strip>;
|
|
2144
|
-
|
|
2521
|
+
declare const TaskRelationApiInsertSchema: z.ZodObject<{
|
|
2145
2522
|
id: z.ZodString;
|
|
2146
2523
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2147
2524
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2149,7 +2526,7 @@ export declare const TaskRelationApiInsertSchema: z.ZodObject<{
|
|
|
2149
2526
|
parentTaskId: z.ZodString;
|
|
2150
2527
|
childTaskId: z.ZodString;
|
|
2151
2528
|
}, z.core.$strip>;
|
|
2152
|
-
|
|
2529
|
+
declare const TaskRelationApiUpdateSchema: z.ZodObject<{
|
|
2153
2530
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2154
2531
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
2155
2532
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
@@ -2157,7 +2534,7 @@ export declare const TaskRelationApiUpdateSchema: z.ZodObject<{
|
|
|
2157
2534
|
parentTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2158
2535
|
childTaskId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2159
2536
|
}, z.core.$strip>;
|
|
2160
|
-
|
|
2537
|
+
declare const McpTransportConfigSchema: z.ZodObject<{
|
|
2161
2538
|
type: z.ZodEnum<{
|
|
2162
2539
|
streamable_http: "streamable_http";
|
|
2163
2540
|
sse: "sse";
|
|
@@ -2167,20 +2544,20 @@ export declare const McpTransportConfigSchema: z.ZodObject<{
|
|
|
2167
2544
|
reconnectionOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2168
2545
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
2169
2546
|
}, z.core.$strip>;
|
|
2170
|
-
|
|
2547
|
+
declare const ToolStatusSchema: z.ZodEnum<{
|
|
2171
2548
|
unknown: "unknown";
|
|
2172
2549
|
healthy: "healthy";
|
|
2173
2550
|
unhealthy: "unhealthy";
|
|
2174
2551
|
disabled: "disabled";
|
|
2175
2552
|
needs_auth: "needs_auth";
|
|
2176
2553
|
}>;
|
|
2177
|
-
|
|
2554
|
+
declare const McpToolDefinitionSchema: z.ZodObject<{
|
|
2178
2555
|
name: z.ZodString;
|
|
2179
2556
|
description: z.ZodOptional<z.ZodString>;
|
|
2180
2557
|
inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2181
2558
|
}, z.core.$strip>;
|
|
2182
|
-
|
|
2183
|
-
tenantId:
|
|
2559
|
+
declare const ToolSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2560
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2184
2561
|
name: "tenant_id";
|
|
2185
2562
|
tableName: "tools";
|
|
2186
2563
|
dataType: "string";
|
|
@@ -2199,7 +2576,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2199
2576
|
}, {}, {
|
|
2200
2577
|
length: number | undefined;
|
|
2201
2578
|
}>;
|
|
2202
|
-
projectId:
|
|
2579
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2203
2580
|
name: "project_id";
|
|
2204
2581
|
tableName: "tools";
|
|
2205
2582
|
dataType: "string";
|
|
@@ -2218,7 +2595,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2218
2595
|
}, {}, {
|
|
2219
2596
|
length: number | undefined;
|
|
2220
2597
|
}>;
|
|
2221
|
-
id:
|
|
2598
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2222
2599
|
name: "id";
|
|
2223
2600
|
tableName: "tools";
|
|
2224
2601
|
dataType: "string";
|
|
@@ -2237,7 +2614,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2237
2614
|
}, {}, {
|
|
2238
2615
|
length: number | undefined;
|
|
2239
2616
|
}>;
|
|
2240
|
-
name:
|
|
2617
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2241
2618
|
name: "name";
|
|
2242
2619
|
tableName: "tools";
|
|
2243
2620
|
dataType: "string";
|
|
@@ -2256,14 +2633,14 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2256
2633
|
}, {}, {
|
|
2257
2634
|
length: number | undefined;
|
|
2258
2635
|
}>;
|
|
2259
|
-
config:
|
|
2636
|
+
config: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2260
2637
|
name: "config";
|
|
2261
2638
|
tableName: "tools";
|
|
2262
2639
|
dataType: "json";
|
|
2263
2640
|
columnType: "SQLiteBlobJson";
|
|
2264
2641
|
data: {
|
|
2265
2642
|
type: "mcp";
|
|
2266
|
-
mcp:
|
|
2643
|
+
mcp: ToolMcpConfig;
|
|
2267
2644
|
};
|
|
2268
2645
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2269
2646
|
notNull: true;
|
|
@@ -2278,10 +2655,10 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2278
2655
|
}, {}, {
|
|
2279
2656
|
$type: {
|
|
2280
2657
|
type: "mcp";
|
|
2281
|
-
mcp:
|
|
2658
|
+
mcp: ToolMcpConfig;
|
|
2282
2659
|
};
|
|
2283
2660
|
}>;
|
|
2284
|
-
credentialReferenceId:
|
|
2661
|
+
credentialReferenceId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2285
2662
|
name: "credential_reference_id";
|
|
2286
2663
|
tableName: "tools";
|
|
2287
2664
|
dataType: "string";
|
|
@@ -2300,7 +2677,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2300
2677
|
}, {}, {
|
|
2301
2678
|
length: number | undefined;
|
|
2302
2679
|
}>;
|
|
2303
|
-
headers:
|
|
2680
|
+
headers: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2304
2681
|
name: "headers";
|
|
2305
2682
|
tableName: "tools";
|
|
2306
2683
|
dataType: "json";
|
|
@@ -2319,7 +2696,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2319
2696
|
}, {}, {
|
|
2320
2697
|
$type: Record<string, string>;
|
|
2321
2698
|
}>;
|
|
2322
|
-
imageUrl:
|
|
2699
|
+
imageUrl: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2323
2700
|
name: "image_url";
|
|
2324
2701
|
tableName: "tools";
|
|
2325
2702
|
dataType: "string";
|
|
@@ -2338,12 +2715,12 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2338
2715
|
}, {}, {
|
|
2339
2716
|
length: number | undefined;
|
|
2340
2717
|
}>;
|
|
2341
|
-
capabilities:
|
|
2718
|
+
capabilities: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2342
2719
|
name: "capabilities";
|
|
2343
2720
|
tableName: "tools";
|
|
2344
2721
|
dataType: "json";
|
|
2345
2722
|
columnType: "SQLiteBlobJson";
|
|
2346
|
-
data:
|
|
2723
|
+
data: ToolServerCapabilities;
|
|
2347
2724
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2348
2725
|
notNull: false;
|
|
2349
2726
|
hasDefault: false;
|
|
@@ -2355,9 +2732,9 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2355
2732
|
identity: undefined;
|
|
2356
2733
|
generated: undefined;
|
|
2357
2734
|
}, {}, {
|
|
2358
|
-
$type:
|
|
2735
|
+
$type: ToolServerCapabilities;
|
|
2359
2736
|
}>;
|
|
2360
|
-
status:
|
|
2737
|
+
status: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2361
2738
|
name: "status";
|
|
2362
2739
|
tableName: "tools";
|
|
2363
2740
|
dataType: "string";
|
|
@@ -2376,7 +2753,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2376
2753
|
}, {}, {
|
|
2377
2754
|
length: number | undefined;
|
|
2378
2755
|
}>;
|
|
2379
|
-
lastHealthCheck:
|
|
2756
|
+
lastHealthCheck: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2380
2757
|
name: "last_health_check";
|
|
2381
2758
|
tableName: "tools";
|
|
2382
2759
|
dataType: "string";
|
|
@@ -2395,7 +2772,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2395
2772
|
}, {}, {
|
|
2396
2773
|
length: number | undefined;
|
|
2397
2774
|
}>;
|
|
2398
|
-
lastError:
|
|
2775
|
+
lastError: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2399
2776
|
name: "last_error";
|
|
2400
2777
|
tableName: "tools";
|
|
2401
2778
|
dataType: "string";
|
|
@@ -2414,12 +2791,12 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2414
2791
|
}, {}, {
|
|
2415
2792
|
length: number | undefined;
|
|
2416
2793
|
}>;
|
|
2417
|
-
availableTools:
|
|
2794
|
+
availableTools: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2418
2795
|
name: "available_tools";
|
|
2419
2796
|
tableName: "tools";
|
|
2420
2797
|
dataType: "json";
|
|
2421
2798
|
columnType: "SQLiteBlobJson";
|
|
2422
|
-
data:
|
|
2799
|
+
data: McpToolDefinition[];
|
|
2423
2800
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2424
2801
|
notNull: false;
|
|
2425
2802
|
hasDefault: false;
|
|
@@ -2431,9 +2808,9 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2431
2808
|
identity: undefined;
|
|
2432
2809
|
generated: undefined;
|
|
2433
2810
|
}, {}, {
|
|
2434
|
-
$type:
|
|
2811
|
+
$type: McpToolDefinition[];
|
|
2435
2812
|
}>;
|
|
2436
|
-
lastToolsSync:
|
|
2813
|
+
lastToolsSync: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2437
2814
|
name: "last_tools_sync";
|
|
2438
2815
|
tableName: "tools";
|
|
2439
2816
|
dataType: "string";
|
|
@@ -2452,7 +2829,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2452
2829
|
}, {}, {
|
|
2453
2830
|
length: number | undefined;
|
|
2454
2831
|
}>;
|
|
2455
|
-
createdAt:
|
|
2832
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2456
2833
|
name: "created_at";
|
|
2457
2834
|
tableName: "tools";
|
|
2458
2835
|
dataType: "string";
|
|
@@ -2471,7 +2848,7 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2471
2848
|
}, {}, {
|
|
2472
2849
|
length: number | undefined;
|
|
2473
2850
|
}>;
|
|
2474
|
-
updatedAt:
|
|
2851
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2475
2852
|
name: "updated_at";
|
|
2476
2853
|
tableName: "tools";
|
|
2477
2854
|
dataType: "string";
|
|
@@ -2491,30 +2868,30 @@ export declare const ToolSelectSchema: import("drizzle-zod").BuildSchema<"select
|
|
|
2491
2868
|
length: number | undefined;
|
|
2492
2869
|
}>;
|
|
2493
2870
|
}, undefined, undefined>;
|
|
2494
|
-
|
|
2871
|
+
declare const ToolInsertSchema: z.ZodObject<{
|
|
2495
2872
|
tenantId: z.ZodString;
|
|
2496
2873
|
projectId: z.ZodString;
|
|
2497
2874
|
name: z.ZodString;
|
|
2498
2875
|
config: z.ZodType<{
|
|
2499
2876
|
type: "mcp";
|
|
2500
|
-
mcp:
|
|
2877
|
+
mcp: ToolMcpConfig;
|
|
2501
2878
|
}, {
|
|
2502
2879
|
type: "mcp";
|
|
2503
|
-
mcp:
|
|
2880
|
+
mcp: ToolMcpConfig;
|
|
2504
2881
|
}, z.core.$ZodTypeInternals<{
|
|
2505
2882
|
type: "mcp";
|
|
2506
|
-
mcp:
|
|
2883
|
+
mcp: ToolMcpConfig;
|
|
2507
2884
|
}, {
|
|
2508
2885
|
type: "mcp";
|
|
2509
|
-
mcp:
|
|
2886
|
+
mcp: ToolMcpConfig;
|
|
2510
2887
|
}>>;
|
|
2511
2888
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2512
2889
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
2513
|
-
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
2890
|
+
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
2514
2891
|
status: z.ZodOptional<z.ZodString>;
|
|
2515
2892
|
lastHealthCheck: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2516
2893
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2517
|
-
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
2894
|
+
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>;
|
|
2518
2895
|
lastToolsSync: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2519
2896
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2520
2897
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -2524,8 +2901,8 @@ export declare const ToolInsertSchema: z.ZodObject<{
|
|
|
2524
2901
|
out: {};
|
|
2525
2902
|
in: {};
|
|
2526
2903
|
}>;
|
|
2527
|
-
|
|
2528
|
-
tenantId:
|
|
2904
|
+
declare const ConversationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
2905
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2529
2906
|
name: "tenant_id";
|
|
2530
2907
|
tableName: "conversations";
|
|
2531
2908
|
dataType: "string";
|
|
@@ -2544,7 +2921,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2544
2921
|
}, {}, {
|
|
2545
2922
|
length: number | undefined;
|
|
2546
2923
|
}>;
|
|
2547
|
-
projectId:
|
|
2924
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2548
2925
|
name: "project_id";
|
|
2549
2926
|
tableName: "conversations";
|
|
2550
2927
|
dataType: "string";
|
|
@@ -2563,7 +2940,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2563
2940
|
}, {}, {
|
|
2564
2941
|
length: number | undefined;
|
|
2565
2942
|
}>;
|
|
2566
|
-
id:
|
|
2943
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2567
2944
|
name: "id";
|
|
2568
2945
|
tableName: "conversations";
|
|
2569
2946
|
dataType: "string";
|
|
@@ -2582,7 +2959,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2582
2959
|
}, {}, {
|
|
2583
2960
|
length: number | undefined;
|
|
2584
2961
|
}>;
|
|
2585
|
-
userId:
|
|
2962
|
+
userId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2586
2963
|
name: "user_id";
|
|
2587
2964
|
tableName: "conversations";
|
|
2588
2965
|
dataType: "string";
|
|
@@ -2601,7 +2978,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2601
2978
|
}, {}, {
|
|
2602
2979
|
length: number | undefined;
|
|
2603
2980
|
}>;
|
|
2604
|
-
activeAgentId:
|
|
2981
|
+
activeAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2605
2982
|
name: "active_agent_id";
|
|
2606
2983
|
tableName: "conversations";
|
|
2607
2984
|
dataType: "string";
|
|
@@ -2620,7 +2997,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2620
2997
|
}, {}, {
|
|
2621
2998
|
length: number | undefined;
|
|
2622
2999
|
}>;
|
|
2623
|
-
title:
|
|
3000
|
+
title: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2624
3001
|
name: "title";
|
|
2625
3002
|
tableName: "conversations";
|
|
2626
3003
|
dataType: "string";
|
|
@@ -2639,7 +3016,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2639
3016
|
}, {}, {
|
|
2640
3017
|
length: number | undefined;
|
|
2641
3018
|
}>;
|
|
2642
|
-
lastContextResolution:
|
|
3019
|
+
lastContextResolution: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2643
3020
|
name: "last_context_resolution";
|
|
2644
3021
|
tableName: "conversations";
|
|
2645
3022
|
dataType: "string";
|
|
@@ -2658,12 +3035,12 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2658
3035
|
}, {}, {
|
|
2659
3036
|
length: number | undefined;
|
|
2660
3037
|
}>;
|
|
2661
|
-
metadata:
|
|
3038
|
+
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2662
3039
|
name: "metadata";
|
|
2663
3040
|
tableName: "conversations";
|
|
2664
3041
|
dataType: "json";
|
|
2665
3042
|
columnType: "SQLiteBlobJson";
|
|
2666
|
-
data:
|
|
3043
|
+
data: ConversationMetadata;
|
|
2667
3044
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2668
3045
|
notNull: false;
|
|
2669
3046
|
hasDefault: false;
|
|
@@ -2675,9 +3052,9 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2675
3052
|
identity: undefined;
|
|
2676
3053
|
generated: undefined;
|
|
2677
3054
|
}, {}, {
|
|
2678
|
-
$type:
|
|
3055
|
+
$type: ConversationMetadata;
|
|
2679
3056
|
}>;
|
|
2680
|
-
createdAt:
|
|
3057
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2681
3058
|
name: "created_at";
|
|
2682
3059
|
tableName: "conversations";
|
|
2683
3060
|
dataType: "string";
|
|
@@ -2696,7 +3073,7 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2696
3073
|
}, {}, {
|
|
2697
3074
|
length: number | undefined;
|
|
2698
3075
|
}>;
|
|
2699
|
-
updatedAt:
|
|
3076
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2700
3077
|
name: "updated_at";
|
|
2701
3078
|
tableName: "conversations";
|
|
2702
3079
|
dataType: "string";
|
|
@@ -2716,14 +3093,14 @@ export declare const ConversationSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
2716
3093
|
length: number | undefined;
|
|
2717
3094
|
}>;
|
|
2718
3095
|
}, undefined, undefined>;
|
|
2719
|
-
|
|
3096
|
+
declare const ConversationInsertSchema: z.ZodObject<{
|
|
2720
3097
|
tenantId: z.ZodString;
|
|
2721
3098
|
projectId: z.ZodString;
|
|
2722
3099
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2723
3100
|
activeAgentId: z.ZodString;
|
|
2724
3101
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2725
3102
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2726
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3103
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
2727
3104
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2728
3105
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2729
3106
|
id: z.ZodString;
|
|
@@ -2732,14 +3109,14 @@ export declare const ConversationInsertSchema: z.ZodObject<{
|
|
|
2732
3109
|
out: {};
|
|
2733
3110
|
in: {};
|
|
2734
3111
|
}>;
|
|
2735
|
-
|
|
3112
|
+
declare const ConversationUpdateSchema: z.ZodObject<{
|
|
2736
3113
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
2737
3114
|
projectId: z.ZodOptional<z.ZodString>;
|
|
2738
3115
|
userId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2739
3116
|
activeAgentId: z.ZodOptional<z.ZodString>;
|
|
2740
3117
|
title: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2741
3118
|
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
2742
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3119
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>;
|
|
2743
3120
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2744
3121
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2745
3122
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -2748,40 +3125,40 @@ export declare const ConversationUpdateSchema: z.ZodObject<{
|
|
|
2748
3125
|
out: {};
|
|
2749
3126
|
in: {};
|
|
2750
3127
|
}>;
|
|
2751
|
-
|
|
3128
|
+
declare const ConversationApiSelectSchema: z.ZodObject<{
|
|
2752
3129
|
id: z.ZodString;
|
|
2753
3130
|
createdAt: z.ZodString;
|
|
2754
3131
|
updatedAt: z.ZodString;
|
|
2755
|
-
metadata: z.ZodNullable<z.ZodType<
|
|
3132
|
+
metadata: z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>;
|
|
2756
3133
|
userId: z.ZodNullable<z.ZodString>;
|
|
2757
3134
|
activeAgentId: z.ZodString;
|
|
2758
3135
|
title: z.ZodNullable<z.ZodString>;
|
|
2759
3136
|
lastContextResolution: z.ZodNullable<z.ZodString>;
|
|
2760
3137
|
}, z.core.$strip>;
|
|
2761
|
-
|
|
3138
|
+
declare const ConversationApiInsertSchema: z.ZodObject<{
|
|
2762
3139
|
id: z.ZodString;
|
|
2763
3140
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2764
3141
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2765
3142
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
2766
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3143
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>;
|
|
2767
3144
|
userId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2768
3145
|
activeAgentId: z.ZodString;
|
|
2769
3146
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2770
3147
|
lastContextResolution: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2771
3148
|
}, z.core.$strip>;
|
|
2772
|
-
|
|
3149
|
+
declare const ConversationApiUpdateSchema: z.ZodObject<{
|
|
2773
3150
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2774
3151
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
2775
3152
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
2776
3153
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
2777
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3154
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ConversationMetadata, ConversationMetadata, z.core.$ZodTypeInternals<ConversationMetadata, ConversationMetadata>>>>>>;
|
|
2778
3155
|
userId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
2779
3156
|
activeAgentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
2780
3157
|
title: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
2781
3158
|
lastContextResolution: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
2782
3159
|
}, z.core.$strip>;
|
|
2783
|
-
|
|
2784
|
-
tenantId:
|
|
3160
|
+
declare const MessageSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
3161
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2785
3162
|
name: "tenant_id";
|
|
2786
3163
|
tableName: "messages";
|
|
2787
3164
|
dataType: "string";
|
|
@@ -2800,7 +3177,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2800
3177
|
}, {}, {
|
|
2801
3178
|
length: number | undefined;
|
|
2802
3179
|
}>;
|
|
2803
|
-
projectId:
|
|
3180
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2804
3181
|
name: "project_id";
|
|
2805
3182
|
tableName: "messages";
|
|
2806
3183
|
dataType: "string";
|
|
@@ -2819,7 +3196,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2819
3196
|
}, {}, {
|
|
2820
3197
|
length: number | undefined;
|
|
2821
3198
|
}>;
|
|
2822
|
-
id:
|
|
3199
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2823
3200
|
name: "id";
|
|
2824
3201
|
tableName: "messages";
|
|
2825
3202
|
dataType: "string";
|
|
@@ -2838,7 +3215,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2838
3215
|
}, {}, {
|
|
2839
3216
|
length: number | undefined;
|
|
2840
3217
|
}>;
|
|
2841
|
-
conversationId:
|
|
3218
|
+
conversationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2842
3219
|
name: "conversation_id";
|
|
2843
3220
|
tableName: "messages";
|
|
2844
3221
|
dataType: "string";
|
|
@@ -2857,7 +3234,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2857
3234
|
}, {}, {
|
|
2858
3235
|
length: number | undefined;
|
|
2859
3236
|
}>;
|
|
2860
|
-
role:
|
|
3237
|
+
role: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2861
3238
|
name: "role";
|
|
2862
3239
|
tableName: "messages";
|
|
2863
3240
|
dataType: "string";
|
|
@@ -2876,7 +3253,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2876
3253
|
}, {}, {
|
|
2877
3254
|
length: number | undefined;
|
|
2878
3255
|
}>;
|
|
2879
|
-
fromAgentId:
|
|
3256
|
+
fromAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2880
3257
|
name: "from_agent_id";
|
|
2881
3258
|
tableName: "messages";
|
|
2882
3259
|
dataType: "string";
|
|
@@ -2895,7 +3272,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2895
3272
|
}, {}, {
|
|
2896
3273
|
length: number | undefined;
|
|
2897
3274
|
}>;
|
|
2898
|
-
toAgentId:
|
|
3275
|
+
toAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2899
3276
|
name: "to_agent_id";
|
|
2900
3277
|
tableName: "messages";
|
|
2901
3278
|
dataType: "string";
|
|
@@ -2914,7 +3291,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2914
3291
|
}, {}, {
|
|
2915
3292
|
length: number | undefined;
|
|
2916
3293
|
}>;
|
|
2917
|
-
fromExternalAgentId:
|
|
3294
|
+
fromExternalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2918
3295
|
name: "from_external_agent_id";
|
|
2919
3296
|
tableName: "messages";
|
|
2920
3297
|
dataType: "string";
|
|
@@ -2933,7 +3310,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2933
3310
|
}, {}, {
|
|
2934
3311
|
length: number | undefined;
|
|
2935
3312
|
}>;
|
|
2936
|
-
toExternalAgentId:
|
|
3313
|
+
toExternalAgentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2937
3314
|
name: "to_external_agent_id";
|
|
2938
3315
|
tableName: "messages";
|
|
2939
3316
|
dataType: "string";
|
|
@@ -2952,12 +3329,12 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2952
3329
|
}, {}, {
|
|
2953
3330
|
length: number | undefined;
|
|
2954
3331
|
}>;
|
|
2955
|
-
content:
|
|
3332
|
+
content: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2956
3333
|
name: "content";
|
|
2957
3334
|
tableName: "messages";
|
|
2958
3335
|
dataType: "json";
|
|
2959
3336
|
columnType: "SQLiteBlobJson";
|
|
2960
|
-
data:
|
|
3337
|
+
data: MessageContent;
|
|
2961
3338
|
driverParam: Buffer<ArrayBufferLike>;
|
|
2962
3339
|
notNull: true;
|
|
2963
3340
|
hasDefault: false;
|
|
@@ -2969,9 +3346,9 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2969
3346
|
identity: undefined;
|
|
2970
3347
|
generated: undefined;
|
|
2971
3348
|
}, {}, {
|
|
2972
|
-
$type:
|
|
3349
|
+
$type: MessageContent;
|
|
2973
3350
|
}>;
|
|
2974
|
-
visibility:
|
|
3351
|
+
visibility: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2975
3352
|
name: "visibility";
|
|
2976
3353
|
tableName: "messages";
|
|
2977
3354
|
dataType: "string";
|
|
@@ -2990,7 +3367,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
2990
3367
|
}, {}, {
|
|
2991
3368
|
length: number | undefined;
|
|
2992
3369
|
}>;
|
|
2993
|
-
messageType:
|
|
3370
|
+
messageType: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
2994
3371
|
name: "message_type";
|
|
2995
3372
|
tableName: "messages";
|
|
2996
3373
|
dataType: "string";
|
|
@@ -3009,7 +3386,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3009
3386
|
}, {}, {
|
|
3010
3387
|
length: number | undefined;
|
|
3011
3388
|
}>;
|
|
3012
|
-
agentId:
|
|
3389
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3013
3390
|
name: "agent_id";
|
|
3014
3391
|
tableName: "messages";
|
|
3015
3392
|
dataType: "string";
|
|
@@ -3028,7 +3405,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3028
3405
|
}, {}, {
|
|
3029
3406
|
length: number | undefined;
|
|
3030
3407
|
}>;
|
|
3031
|
-
taskId:
|
|
3408
|
+
taskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3032
3409
|
name: "task_id";
|
|
3033
3410
|
tableName: "messages";
|
|
3034
3411
|
dataType: "string";
|
|
@@ -3047,7 +3424,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3047
3424
|
}, {}, {
|
|
3048
3425
|
length: number | undefined;
|
|
3049
3426
|
}>;
|
|
3050
|
-
parentMessageId:
|
|
3427
|
+
parentMessageId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3051
3428
|
name: "parent_message_id";
|
|
3052
3429
|
tableName: "messages";
|
|
3053
3430
|
dataType: "string";
|
|
@@ -3066,7 +3443,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3066
3443
|
}, {}, {
|
|
3067
3444
|
length: number | undefined;
|
|
3068
3445
|
}>;
|
|
3069
|
-
a2aTaskId:
|
|
3446
|
+
a2aTaskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3070
3447
|
name: "a2a_task_id";
|
|
3071
3448
|
tableName: "messages";
|
|
3072
3449
|
dataType: "string";
|
|
@@ -3085,7 +3462,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3085
3462
|
}, {}, {
|
|
3086
3463
|
length: number | undefined;
|
|
3087
3464
|
}>;
|
|
3088
|
-
a2aSessionId:
|
|
3465
|
+
a2aSessionId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3089
3466
|
name: "a2a_session_id";
|
|
3090
3467
|
tableName: "messages";
|
|
3091
3468
|
dataType: "string";
|
|
@@ -3104,12 +3481,12 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3104
3481
|
}, {}, {
|
|
3105
3482
|
length: number | undefined;
|
|
3106
3483
|
}>;
|
|
3107
|
-
metadata:
|
|
3484
|
+
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3108
3485
|
name: "metadata";
|
|
3109
3486
|
tableName: "messages";
|
|
3110
3487
|
dataType: "json";
|
|
3111
3488
|
columnType: "SQLiteBlobJson";
|
|
3112
|
-
data:
|
|
3489
|
+
data: MessageMetadata;
|
|
3113
3490
|
driverParam: Buffer<ArrayBufferLike>;
|
|
3114
3491
|
notNull: false;
|
|
3115
3492
|
hasDefault: false;
|
|
@@ -3121,9 +3498,9 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3121
3498
|
identity: undefined;
|
|
3122
3499
|
generated: undefined;
|
|
3123
3500
|
}, {}, {
|
|
3124
|
-
$type:
|
|
3501
|
+
$type: MessageMetadata;
|
|
3125
3502
|
}>;
|
|
3126
|
-
createdAt:
|
|
3503
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3127
3504
|
name: "created_at";
|
|
3128
3505
|
tableName: "messages";
|
|
3129
3506
|
dataType: "string";
|
|
@@ -3142,7 +3519,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3142
3519
|
}, {}, {
|
|
3143
3520
|
length: number | undefined;
|
|
3144
3521
|
}>;
|
|
3145
|
-
updatedAt:
|
|
3522
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3146
3523
|
name: "updated_at";
|
|
3147
3524
|
tableName: "messages";
|
|
3148
3525
|
dataType: "string";
|
|
@@ -3162,7 +3539,7 @@ export declare const MessageSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
3162
3539
|
length: number | undefined;
|
|
3163
3540
|
}>;
|
|
3164
3541
|
}, undefined, undefined>;
|
|
3165
|
-
|
|
3542
|
+
declare const MessageInsertSchema: z.ZodObject<{
|
|
3166
3543
|
tenantId: z.ZodString;
|
|
3167
3544
|
projectId: z.ZodString;
|
|
3168
3545
|
role: z.ZodString;
|
|
@@ -3170,14 +3547,14 @@ export declare const MessageInsertSchema: z.ZodObject<{
|
|
|
3170
3547
|
toAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3171
3548
|
fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3172
3549
|
toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3173
|
-
content: z.ZodType<
|
|
3550
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
3174
3551
|
visibility: z.ZodOptional<z.ZodString>;
|
|
3175
3552
|
messageType: z.ZodOptional<z.ZodString>;
|
|
3176
3553
|
agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3177
3554
|
parentMessageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3178
3555
|
a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3179
3556
|
a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3180
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3557
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
3181
3558
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3182
3559
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3183
3560
|
id: z.ZodString;
|
|
@@ -3187,7 +3564,7 @@ export declare const MessageInsertSchema: z.ZodObject<{
|
|
|
3187
3564
|
out: {};
|
|
3188
3565
|
in: {};
|
|
3189
3566
|
}>;
|
|
3190
|
-
|
|
3567
|
+
declare const MessageUpdateSchema: z.ZodObject<{
|
|
3191
3568
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
3192
3569
|
projectId: z.ZodOptional<z.ZodString>;
|
|
3193
3570
|
role: z.ZodOptional<z.ZodString>;
|
|
@@ -3195,14 +3572,14 @@ export declare const MessageUpdateSchema: z.ZodObject<{
|
|
|
3195
3572
|
toAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3196
3573
|
fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3197
3574
|
toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3198
|
-
content: z.ZodOptional<z.ZodType<
|
|
3575
|
+
content: z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>;
|
|
3199
3576
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3200
3577
|
messageType: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3201
3578
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3202
3579
|
parentMessageId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3203
3580
|
a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3204
3581
|
a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3205
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3582
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>;
|
|
3206
3583
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3207
3584
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3208
3585
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -3212,19 +3589,19 @@ export declare const MessageUpdateSchema: z.ZodObject<{
|
|
|
3212
3589
|
out: {};
|
|
3213
3590
|
in: {};
|
|
3214
3591
|
}>;
|
|
3215
|
-
|
|
3592
|
+
declare const MessageApiSelectSchema: z.ZodObject<{
|
|
3216
3593
|
id: z.ZodString;
|
|
3217
3594
|
createdAt: z.ZodString;
|
|
3218
3595
|
updatedAt: z.ZodString;
|
|
3219
3596
|
conversationId: z.ZodString;
|
|
3220
|
-
metadata: z.ZodNullable<z.ZodType<
|
|
3597
|
+
metadata: z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>;
|
|
3221
3598
|
agentId: z.ZodNullable<z.ZodString>;
|
|
3222
3599
|
role: z.ZodString;
|
|
3223
3600
|
fromAgentId: z.ZodNullable<z.ZodString>;
|
|
3224
3601
|
toAgentId: z.ZodNullable<z.ZodString>;
|
|
3225
3602
|
fromExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
3226
3603
|
toExternalAgentId: z.ZodNullable<z.ZodString>;
|
|
3227
|
-
content: z.ZodType<
|
|
3604
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
3228
3605
|
visibility: z.ZodString;
|
|
3229
3606
|
messageType: z.ZodString;
|
|
3230
3607
|
taskId: z.ZodNullable<z.ZodString>;
|
|
@@ -3232,19 +3609,19 @@ export declare const MessageApiSelectSchema: z.ZodObject<{
|
|
|
3232
3609
|
a2aTaskId: z.ZodNullable<z.ZodString>;
|
|
3233
3610
|
a2aSessionId: z.ZodNullable<z.ZodString>;
|
|
3234
3611
|
}, z.core.$strip>;
|
|
3235
|
-
|
|
3612
|
+
declare const MessageApiInsertSchema: z.ZodObject<{
|
|
3236
3613
|
id: z.ZodString;
|
|
3237
3614
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3238
3615
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3239
3616
|
conversationId: z.ZodString;
|
|
3240
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3617
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>;
|
|
3241
3618
|
agentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3242
3619
|
role: z.ZodString;
|
|
3243
3620
|
fromAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3244
3621
|
toAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3245
3622
|
fromExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3246
3623
|
toExternalAgentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3247
|
-
content: z.ZodType<
|
|
3624
|
+
content: z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>;
|
|
3248
3625
|
visibility: z.ZodOptional<z.ZodString>;
|
|
3249
3626
|
messageType: z.ZodOptional<z.ZodString>;
|
|
3250
3627
|
taskId: z.ZodOptional<z.ZodString>;
|
|
@@ -3252,19 +3629,19 @@ export declare const MessageApiInsertSchema: z.ZodObject<{
|
|
|
3252
3629
|
a2aTaskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3253
3630
|
a2aSessionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3254
3631
|
}, z.core.$strip>;
|
|
3255
|
-
|
|
3632
|
+
declare const MessageApiUpdateSchema: z.ZodObject<{
|
|
3256
3633
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3257
3634
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3258
3635
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3259
3636
|
conversationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3260
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
3637
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<MessageMetadata, MessageMetadata, z.core.$ZodTypeInternals<MessageMetadata, MessageMetadata>>>>>>;
|
|
3261
3638
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3262
3639
|
role: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3263
3640
|
fromAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3264
3641
|
toAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3265
3642
|
fromExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3266
3643
|
toExternalAgentId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3267
|
-
content: z.ZodOptional<z.ZodOptional<z.ZodType<
|
|
3644
|
+
content: z.ZodOptional<z.ZodOptional<z.ZodType<MessageContent, MessageContent, z.core.$ZodTypeInternals<MessageContent, MessageContent>>>>;
|
|
3268
3645
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3269
3646
|
messageType: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3270
3647
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
@@ -3272,8 +3649,8 @@ export declare const MessageApiUpdateSchema: z.ZodObject<{
|
|
|
3272
3649
|
a2aTaskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3273
3650
|
a2aSessionId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3274
3651
|
}, z.core.$strip>;
|
|
3275
|
-
|
|
3276
|
-
tenantId:
|
|
3652
|
+
declare const ContextCacheSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
3653
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3277
3654
|
name: "tenant_id";
|
|
3278
3655
|
tableName: "context_cache";
|
|
3279
3656
|
dataType: "string";
|
|
@@ -3292,7 +3669,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3292
3669
|
}, {}, {
|
|
3293
3670
|
length: number | undefined;
|
|
3294
3671
|
}>;
|
|
3295
|
-
projectId:
|
|
3672
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3296
3673
|
name: "project_id";
|
|
3297
3674
|
tableName: "context_cache";
|
|
3298
3675
|
dataType: "string";
|
|
@@ -3311,7 +3688,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3311
3688
|
}, {}, {
|
|
3312
3689
|
length: number | undefined;
|
|
3313
3690
|
}>;
|
|
3314
|
-
id:
|
|
3691
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3315
3692
|
name: "id";
|
|
3316
3693
|
tableName: "context_cache";
|
|
3317
3694
|
dataType: "string";
|
|
@@ -3330,7 +3707,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3330
3707
|
}, {}, {
|
|
3331
3708
|
length: number | undefined;
|
|
3332
3709
|
}>;
|
|
3333
|
-
conversationId:
|
|
3710
|
+
conversationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3334
3711
|
name: "conversation_id";
|
|
3335
3712
|
tableName: "context_cache";
|
|
3336
3713
|
dataType: "string";
|
|
@@ -3349,7 +3726,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3349
3726
|
}, {}, {
|
|
3350
3727
|
length: number | undefined;
|
|
3351
3728
|
}>;
|
|
3352
|
-
contextConfigId:
|
|
3729
|
+
contextConfigId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3353
3730
|
name: "context_config_id";
|
|
3354
3731
|
tableName: "context_cache";
|
|
3355
3732
|
dataType: "string";
|
|
@@ -3368,7 +3745,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3368
3745
|
}, {}, {
|
|
3369
3746
|
length: number | undefined;
|
|
3370
3747
|
}>;
|
|
3371
|
-
contextVariableKey:
|
|
3748
|
+
contextVariableKey: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3372
3749
|
name: "context_variable_key";
|
|
3373
3750
|
tableName: "context_cache";
|
|
3374
3751
|
dataType: "string";
|
|
@@ -3387,7 +3764,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3387
3764
|
}, {}, {
|
|
3388
3765
|
length: number | undefined;
|
|
3389
3766
|
}>;
|
|
3390
|
-
value:
|
|
3767
|
+
value: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3391
3768
|
name: "value";
|
|
3392
3769
|
tableName: "context_cache";
|
|
3393
3770
|
dataType: "json";
|
|
@@ -3406,7 +3783,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3406
3783
|
}, {}, {
|
|
3407
3784
|
$type: unknown;
|
|
3408
3785
|
}>;
|
|
3409
|
-
requestHash:
|
|
3786
|
+
requestHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3410
3787
|
name: "request_hash";
|
|
3411
3788
|
tableName: "context_cache";
|
|
3412
3789
|
dataType: "string";
|
|
@@ -3425,7 +3802,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3425
3802
|
}, {}, {
|
|
3426
3803
|
length: number | undefined;
|
|
3427
3804
|
}>;
|
|
3428
|
-
fetchedAt:
|
|
3805
|
+
fetchedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3429
3806
|
name: "fetched_at";
|
|
3430
3807
|
tableName: "context_cache";
|
|
3431
3808
|
dataType: "string";
|
|
@@ -3444,7 +3821,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3444
3821
|
}, {}, {
|
|
3445
3822
|
length: number | undefined;
|
|
3446
3823
|
}>;
|
|
3447
|
-
fetchSource:
|
|
3824
|
+
fetchSource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3448
3825
|
name: "fetch_source";
|
|
3449
3826
|
tableName: "context_cache";
|
|
3450
3827
|
dataType: "string";
|
|
@@ -3463,7 +3840,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3463
3840
|
}, {}, {
|
|
3464
3841
|
length: number | undefined;
|
|
3465
3842
|
}>;
|
|
3466
|
-
fetchDurationMs:
|
|
3843
|
+
fetchDurationMs: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3467
3844
|
name: "fetch_duration_ms";
|
|
3468
3845
|
tableName: "context_cache";
|
|
3469
3846
|
dataType: "number";
|
|
@@ -3480,7 +3857,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3480
3857
|
identity: undefined;
|
|
3481
3858
|
generated: undefined;
|
|
3482
3859
|
}, {}, {}>;
|
|
3483
|
-
createdAt:
|
|
3860
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3484
3861
|
name: "created_at";
|
|
3485
3862
|
tableName: "context_cache";
|
|
3486
3863
|
dataType: "string";
|
|
@@ -3499,7 +3876,7 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3499
3876
|
}, {}, {
|
|
3500
3877
|
length: number | undefined;
|
|
3501
3878
|
}>;
|
|
3502
|
-
updatedAt:
|
|
3879
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3503
3880
|
name: "updated_at";
|
|
3504
3881
|
tableName: "context_cache";
|
|
3505
3882
|
dataType: "string";
|
|
@@ -3519,8 +3896,8 @@ export declare const ContextCacheSelectSchema: import("drizzle-zod").BuildSchema
|
|
|
3519
3896
|
length: number | undefined;
|
|
3520
3897
|
}>;
|
|
3521
3898
|
}, undefined, undefined>;
|
|
3522
|
-
|
|
3523
|
-
tenantId:
|
|
3899
|
+
declare const ContextCacheInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
3900
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3524
3901
|
name: "tenant_id";
|
|
3525
3902
|
tableName: "context_cache";
|
|
3526
3903
|
dataType: "string";
|
|
@@ -3539,7 +3916,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3539
3916
|
}, {}, {
|
|
3540
3917
|
length: number | undefined;
|
|
3541
3918
|
}>;
|
|
3542
|
-
projectId:
|
|
3919
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3543
3920
|
name: "project_id";
|
|
3544
3921
|
tableName: "context_cache";
|
|
3545
3922
|
dataType: "string";
|
|
@@ -3558,7 +3935,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3558
3935
|
}, {}, {
|
|
3559
3936
|
length: number | undefined;
|
|
3560
3937
|
}>;
|
|
3561
|
-
id:
|
|
3938
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3562
3939
|
name: "id";
|
|
3563
3940
|
tableName: "context_cache";
|
|
3564
3941
|
dataType: "string";
|
|
@@ -3577,7 +3954,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3577
3954
|
}, {}, {
|
|
3578
3955
|
length: number | undefined;
|
|
3579
3956
|
}>;
|
|
3580
|
-
conversationId:
|
|
3957
|
+
conversationId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3581
3958
|
name: "conversation_id";
|
|
3582
3959
|
tableName: "context_cache";
|
|
3583
3960
|
dataType: "string";
|
|
@@ -3596,7 +3973,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3596
3973
|
}, {}, {
|
|
3597
3974
|
length: number | undefined;
|
|
3598
3975
|
}>;
|
|
3599
|
-
contextConfigId:
|
|
3976
|
+
contextConfigId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3600
3977
|
name: "context_config_id";
|
|
3601
3978
|
tableName: "context_cache";
|
|
3602
3979
|
dataType: "string";
|
|
@@ -3615,7 +3992,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3615
3992
|
}, {}, {
|
|
3616
3993
|
length: number | undefined;
|
|
3617
3994
|
}>;
|
|
3618
|
-
contextVariableKey:
|
|
3995
|
+
contextVariableKey: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3619
3996
|
name: "context_variable_key";
|
|
3620
3997
|
tableName: "context_cache";
|
|
3621
3998
|
dataType: "string";
|
|
@@ -3634,7 +4011,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3634
4011
|
}, {}, {
|
|
3635
4012
|
length: number | undefined;
|
|
3636
4013
|
}>;
|
|
3637
|
-
value:
|
|
4014
|
+
value: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3638
4015
|
name: "value";
|
|
3639
4016
|
tableName: "context_cache";
|
|
3640
4017
|
dataType: "json";
|
|
@@ -3653,7 +4030,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3653
4030
|
}, {}, {
|
|
3654
4031
|
$type: unknown;
|
|
3655
4032
|
}>;
|
|
3656
|
-
requestHash:
|
|
4033
|
+
requestHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3657
4034
|
name: "request_hash";
|
|
3658
4035
|
tableName: "context_cache";
|
|
3659
4036
|
dataType: "string";
|
|
@@ -3672,7 +4049,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3672
4049
|
}, {}, {
|
|
3673
4050
|
length: number | undefined;
|
|
3674
4051
|
}>;
|
|
3675
|
-
fetchedAt:
|
|
4052
|
+
fetchedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3676
4053
|
name: "fetched_at";
|
|
3677
4054
|
tableName: "context_cache";
|
|
3678
4055
|
dataType: "string";
|
|
@@ -3691,7 +4068,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3691
4068
|
}, {}, {
|
|
3692
4069
|
length: number | undefined;
|
|
3693
4070
|
}>;
|
|
3694
|
-
fetchSource:
|
|
4071
|
+
fetchSource: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3695
4072
|
name: "fetch_source";
|
|
3696
4073
|
tableName: "context_cache";
|
|
3697
4074
|
dataType: "string";
|
|
@@ -3710,7 +4087,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3710
4087
|
}, {}, {
|
|
3711
4088
|
length: number | undefined;
|
|
3712
4089
|
}>;
|
|
3713
|
-
fetchDurationMs:
|
|
4090
|
+
fetchDurationMs: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3714
4091
|
name: "fetch_duration_ms";
|
|
3715
4092
|
tableName: "context_cache";
|
|
3716
4093
|
dataType: "number";
|
|
@@ -3727,7 +4104,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3727
4104
|
identity: undefined;
|
|
3728
4105
|
generated: undefined;
|
|
3729
4106
|
}, {}, {}>;
|
|
3730
|
-
createdAt:
|
|
4107
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3731
4108
|
name: "created_at";
|
|
3732
4109
|
tableName: "context_cache";
|
|
3733
4110
|
dataType: "string";
|
|
@@ -3746,7 +4123,7 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3746
4123
|
}, {}, {
|
|
3747
4124
|
length: number | undefined;
|
|
3748
4125
|
}>;
|
|
3749
|
-
updatedAt:
|
|
4126
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3750
4127
|
name: "updated_at";
|
|
3751
4128
|
tableName: "context_cache";
|
|
3752
4129
|
dataType: "string";
|
|
@@ -3766,14 +4143,14 @@ export declare const ContextCacheInsertSchema: import("drizzle-zod").BuildSchema
|
|
|
3766
4143
|
length: number | undefined;
|
|
3767
4144
|
}>;
|
|
3768
4145
|
}, undefined, undefined>;
|
|
3769
|
-
|
|
4146
|
+
declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
3770
4147
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
3771
4148
|
projectId: z.ZodOptional<z.ZodString>;
|
|
3772
4149
|
id: z.ZodOptional<z.ZodString>;
|
|
3773
4150
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
3774
4151
|
contextConfigId: z.ZodOptional<z.ZodString>;
|
|
3775
4152
|
contextVariableKey: z.ZodOptional<z.ZodString>;
|
|
3776
|
-
value: z.ZodOptional<z.ZodType<
|
|
4153
|
+
value: z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
3777
4154
|
requestHash: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
3778
4155
|
fetchedAt: z.ZodOptional<z.ZodString>;
|
|
3779
4156
|
fetchSource: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -3784,9 +4161,9 @@ export declare const ContextCacheUpdateSchema: z.ZodObject<{
|
|
|
3784
4161
|
out: {};
|
|
3785
4162
|
in: {};
|
|
3786
4163
|
}>;
|
|
3787
|
-
|
|
4164
|
+
declare const ContextCacheApiSelectSchema: z.ZodObject<{
|
|
4165
|
+
value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
|
|
3788
4166
|
id: z.ZodString;
|
|
3789
|
-
value: z.ZodType<import("drizzle-zod").Json, unknown, z.core.$ZodTypeInternals<import("drizzle-zod").Json, unknown>>;
|
|
3790
4167
|
createdAt: z.ZodString;
|
|
3791
4168
|
updatedAt: z.ZodString;
|
|
3792
4169
|
contextConfigId: z.ZodString;
|
|
@@ -3797,9 +4174,9 @@ export declare const ContextCacheApiSelectSchema: z.ZodObject<{
|
|
|
3797
4174
|
fetchSource: z.ZodNullable<z.ZodString>;
|
|
3798
4175
|
fetchDurationMs: z.ZodNullable<z.ZodInt>;
|
|
3799
4176
|
}, z.core.$strip>;
|
|
3800
|
-
|
|
4177
|
+
declare const ContextCacheApiInsertSchema: z.ZodObject<{
|
|
4178
|
+
value: z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>;
|
|
3801
4179
|
id: z.ZodString;
|
|
3802
|
-
value: z.ZodType<import("drizzle-zod").Json, unknown, z.core.$ZodTypeInternals<import("drizzle-zod").Json, unknown>>;
|
|
3803
4180
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
3804
4181
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
3805
4182
|
contextConfigId: z.ZodString;
|
|
@@ -3810,9 +4187,9 @@ export declare const ContextCacheApiInsertSchema: z.ZodObject<{
|
|
|
3810
4187
|
fetchSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3811
4188
|
fetchDurationMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3812
4189
|
}, z.core.$strip>;
|
|
3813
|
-
|
|
4190
|
+
declare const ContextCacheApiUpdateSchema: z.ZodObject<{
|
|
4191
|
+
value: z.ZodOptional<z.ZodOptional<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
3814
4192
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
3815
|
-
value: z.ZodOptional<z.ZodOptional<z.ZodType<import("drizzle-zod").Json, unknown, z.core.$ZodTypeInternals<import("drizzle-zod").Json, unknown>>>>;
|
|
3816
4193
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3817
4194
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
3818
4195
|
contextConfigId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -3823,8 +4200,8 @@ export declare const ContextCacheApiUpdateSchema: z.ZodObject<{
|
|
|
3823
4200
|
fetchSource: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
3824
4201
|
fetchDurationMs: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodInt>>>>;
|
|
3825
4202
|
}, z.core.$strip>;
|
|
3826
|
-
|
|
3827
|
-
tenantId:
|
|
4203
|
+
declare const DataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4204
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3828
4205
|
name: "tenant_id";
|
|
3829
4206
|
tableName: "data_components";
|
|
3830
4207
|
dataType: "string";
|
|
@@ -3843,7 +4220,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3843
4220
|
}, {}, {
|
|
3844
4221
|
length: number | undefined;
|
|
3845
4222
|
}>;
|
|
3846
|
-
projectId:
|
|
4223
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3847
4224
|
name: "project_id";
|
|
3848
4225
|
tableName: "data_components";
|
|
3849
4226
|
dataType: "string";
|
|
@@ -3862,7 +4239,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3862
4239
|
}, {}, {
|
|
3863
4240
|
length: number | undefined;
|
|
3864
4241
|
}>;
|
|
3865
|
-
id:
|
|
4242
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3866
4243
|
name: "id";
|
|
3867
4244
|
tableName: "data_components";
|
|
3868
4245
|
dataType: "string";
|
|
@@ -3881,7 +4258,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3881
4258
|
}, {}, {
|
|
3882
4259
|
length: number | undefined;
|
|
3883
4260
|
}>;
|
|
3884
|
-
name:
|
|
4261
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3885
4262
|
name: "name";
|
|
3886
4263
|
tableName: "data_components";
|
|
3887
4264
|
dataType: "string";
|
|
@@ -3900,7 +4277,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3900
4277
|
}, {}, {
|
|
3901
4278
|
length: number | undefined;
|
|
3902
4279
|
}>;
|
|
3903
|
-
description:
|
|
4280
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3904
4281
|
name: "description";
|
|
3905
4282
|
tableName: "data_components";
|
|
3906
4283
|
dataType: "string";
|
|
@@ -3919,7 +4296,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3919
4296
|
}, {}, {
|
|
3920
4297
|
length: number | undefined;
|
|
3921
4298
|
}>;
|
|
3922
|
-
props:
|
|
4299
|
+
props: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3923
4300
|
name: "props";
|
|
3924
4301
|
tableName: "data_components";
|
|
3925
4302
|
dataType: "json";
|
|
@@ -3938,7 +4315,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3938
4315
|
}, {}, {
|
|
3939
4316
|
$type: Record<string, unknown>;
|
|
3940
4317
|
}>;
|
|
3941
|
-
createdAt:
|
|
4318
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3942
4319
|
name: "created_at";
|
|
3943
4320
|
tableName: "data_components";
|
|
3944
4321
|
dataType: "string";
|
|
@@ -3957,7 +4334,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3957
4334
|
}, {}, {
|
|
3958
4335
|
length: number | undefined;
|
|
3959
4336
|
}>;
|
|
3960
|
-
updatedAt:
|
|
4337
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
3961
4338
|
name: "updated_at";
|
|
3962
4339
|
tableName: "data_components";
|
|
3963
4340
|
dataType: "string";
|
|
@@ -3977,7 +4354,7 @@ export declare const DataComponentSelectSchema: import("drizzle-zod").BuildSchem
|
|
|
3977
4354
|
length: number | undefined;
|
|
3978
4355
|
}>;
|
|
3979
4356
|
}, undefined, undefined>;
|
|
3980
|
-
|
|
4357
|
+
declare const DataComponentInsertSchema: z.ZodObject<{
|
|
3981
4358
|
tenantId: z.ZodString;
|
|
3982
4359
|
projectId: z.ZodString;
|
|
3983
4360
|
name: z.ZodString;
|
|
@@ -3990,18 +4367,18 @@ export declare const DataComponentInsertSchema: z.ZodObject<{
|
|
|
3990
4367
|
out: {};
|
|
3991
4368
|
in: {};
|
|
3992
4369
|
}>;
|
|
3993
|
-
|
|
3994
|
-
tenantId: z.ZodString;
|
|
3995
|
-
projectId: z.ZodString;
|
|
3996
|
-
id: z.ZodString;
|
|
4370
|
+
declare const DataComponentBaseSchema: z.ZodObject<{
|
|
3997
4371
|
name: z.ZodString;
|
|
3998
4372
|
description: z.ZodString;
|
|
4373
|
+
id: z.ZodString;
|
|
4374
|
+
tenantId: z.ZodString;
|
|
4375
|
+
projectId: z.ZodString;
|
|
3999
4376
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4000
4377
|
}, {
|
|
4001
4378
|
out: {};
|
|
4002
4379
|
in: {};
|
|
4003
4380
|
}>;
|
|
4004
|
-
|
|
4381
|
+
declare const DataComponentUpdateSchema: z.ZodObject<{
|
|
4005
4382
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4006
4383
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4007
4384
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4014,32 +4391,32 @@ export declare const DataComponentUpdateSchema: z.ZodObject<{
|
|
|
4014
4391
|
out: {};
|
|
4015
4392
|
in: {};
|
|
4016
4393
|
}>;
|
|
4017
|
-
|
|
4018
|
-
id: z.ZodString;
|
|
4394
|
+
declare const DataComponentApiSelectSchema: z.ZodObject<{
|
|
4019
4395
|
name: z.ZodString;
|
|
4020
4396
|
description: z.ZodString;
|
|
4397
|
+
id: z.ZodString;
|
|
4021
4398
|
createdAt: z.ZodString;
|
|
4022
4399
|
updatedAt: z.ZodString;
|
|
4023
4400
|
props: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4024
4401
|
}, z.core.$strip>;
|
|
4025
|
-
|
|
4026
|
-
id: z.ZodString;
|
|
4402
|
+
declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
4027
4403
|
name: z.ZodString;
|
|
4028
4404
|
description: z.ZodString;
|
|
4405
|
+
id: z.ZodString;
|
|
4029
4406
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4030
4407
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4031
4408
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
4032
4409
|
}, z.core.$strip>;
|
|
4033
|
-
|
|
4034
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4410
|
+
declare const DataComponentApiUpdateSchema: z.ZodObject<{
|
|
4035
4411
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4036
4412
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4413
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4037
4414
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4038
4415
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4039
4416
|
props: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
4040
4417
|
}, z.core.$strip>;
|
|
4041
|
-
|
|
4042
|
-
tenantId:
|
|
4418
|
+
declare const AgentDataComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4419
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4043
4420
|
name: "tenant_id";
|
|
4044
4421
|
tableName: "agent_data_components";
|
|
4045
4422
|
dataType: "string";
|
|
@@ -4058,7 +4435,7 @@ export declare const AgentDataComponentSelectSchema: import("drizzle-zod").Build
|
|
|
4058
4435
|
}, {}, {
|
|
4059
4436
|
length: number | undefined;
|
|
4060
4437
|
}>;
|
|
4061
|
-
projectId:
|
|
4438
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4062
4439
|
name: "project_id";
|
|
4063
4440
|
tableName: "agent_data_components";
|
|
4064
4441
|
dataType: "string";
|
|
@@ -4077,7 +4454,7 @@ export declare const AgentDataComponentSelectSchema: import("drizzle-zod").Build
|
|
|
4077
4454
|
}, {}, {
|
|
4078
4455
|
length: number | undefined;
|
|
4079
4456
|
}>;
|
|
4080
|
-
id:
|
|
4457
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4081
4458
|
name: "id";
|
|
4082
4459
|
tableName: "agent_data_components";
|
|
4083
4460
|
dataType: "string";
|
|
@@ -4096,7 +4473,7 @@ export declare const AgentDataComponentSelectSchema: import("drizzle-zod").Build
|
|
|
4096
4473
|
}, {}, {
|
|
4097
4474
|
length: number | undefined;
|
|
4098
4475
|
}>;
|
|
4099
|
-
agentId:
|
|
4476
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4100
4477
|
name: "agent_id";
|
|
4101
4478
|
tableName: "agent_data_components";
|
|
4102
4479
|
dataType: "string";
|
|
@@ -4115,7 +4492,7 @@ export declare const AgentDataComponentSelectSchema: import("drizzle-zod").Build
|
|
|
4115
4492
|
}, {}, {
|
|
4116
4493
|
length: number | undefined;
|
|
4117
4494
|
}>;
|
|
4118
|
-
dataComponentId:
|
|
4495
|
+
dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4119
4496
|
name: "data_component_id";
|
|
4120
4497
|
tableName: "agent_data_components";
|
|
4121
4498
|
dataType: "string";
|
|
@@ -4134,7 +4511,7 @@ export declare const AgentDataComponentSelectSchema: import("drizzle-zod").Build
|
|
|
4134
4511
|
}, {}, {
|
|
4135
4512
|
length: number | undefined;
|
|
4136
4513
|
}>;
|
|
4137
|
-
createdAt:
|
|
4514
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4138
4515
|
name: "created_at";
|
|
4139
4516
|
tableName: "agent_data_components";
|
|
4140
4517
|
dataType: "string";
|
|
@@ -4154,8 +4531,8 @@ export declare const AgentDataComponentSelectSchema: import("drizzle-zod").Build
|
|
|
4154
4531
|
length: number | undefined;
|
|
4155
4532
|
}>;
|
|
4156
4533
|
}, undefined, undefined>;
|
|
4157
|
-
|
|
4158
|
-
tenantId:
|
|
4534
|
+
declare const AgentDataComponentInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
4535
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4159
4536
|
name: "tenant_id";
|
|
4160
4537
|
tableName: "agent_data_components";
|
|
4161
4538
|
dataType: "string";
|
|
@@ -4174,7 +4551,7 @@ export declare const AgentDataComponentInsertSchema: import("drizzle-zod").Build
|
|
|
4174
4551
|
}, {}, {
|
|
4175
4552
|
length: number | undefined;
|
|
4176
4553
|
}>;
|
|
4177
|
-
projectId:
|
|
4554
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4178
4555
|
name: "project_id";
|
|
4179
4556
|
tableName: "agent_data_components";
|
|
4180
4557
|
dataType: "string";
|
|
@@ -4193,7 +4570,7 @@ export declare const AgentDataComponentInsertSchema: import("drizzle-zod").Build
|
|
|
4193
4570
|
}, {}, {
|
|
4194
4571
|
length: number | undefined;
|
|
4195
4572
|
}>;
|
|
4196
|
-
id:
|
|
4573
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4197
4574
|
name: "id";
|
|
4198
4575
|
tableName: "agent_data_components";
|
|
4199
4576
|
dataType: "string";
|
|
@@ -4212,7 +4589,7 @@ export declare const AgentDataComponentInsertSchema: import("drizzle-zod").Build
|
|
|
4212
4589
|
}, {}, {
|
|
4213
4590
|
length: number | undefined;
|
|
4214
4591
|
}>;
|
|
4215
|
-
agentId:
|
|
4592
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4216
4593
|
name: "agent_id";
|
|
4217
4594
|
tableName: "agent_data_components";
|
|
4218
4595
|
dataType: "string";
|
|
@@ -4231,7 +4608,7 @@ export declare const AgentDataComponentInsertSchema: import("drizzle-zod").Build
|
|
|
4231
4608
|
}, {}, {
|
|
4232
4609
|
length: number | undefined;
|
|
4233
4610
|
}>;
|
|
4234
|
-
dataComponentId:
|
|
4611
|
+
dataComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4235
4612
|
name: "data_component_id";
|
|
4236
4613
|
tableName: "agent_data_components";
|
|
4237
4614
|
dataType: "string";
|
|
@@ -4250,7 +4627,7 @@ export declare const AgentDataComponentInsertSchema: import("drizzle-zod").Build
|
|
|
4250
4627
|
}, {}, {
|
|
4251
4628
|
length: number | undefined;
|
|
4252
4629
|
}>;
|
|
4253
|
-
createdAt:
|
|
4630
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4254
4631
|
name: "created_at";
|
|
4255
4632
|
tableName: "agent_data_components";
|
|
4256
4633
|
dataType: "string";
|
|
@@ -4270,7 +4647,7 @@ export declare const AgentDataComponentInsertSchema: import("drizzle-zod").Build
|
|
|
4270
4647
|
length: number | undefined;
|
|
4271
4648
|
}>;
|
|
4272
4649
|
}, undefined, undefined>;
|
|
4273
|
-
|
|
4650
|
+
declare const AgentDataComponentUpdateSchema: z.ZodObject<{
|
|
4274
4651
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4275
4652
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4276
4653
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4281,26 +4658,26 @@ export declare const AgentDataComponentUpdateSchema: z.ZodObject<{
|
|
|
4281
4658
|
out: {};
|
|
4282
4659
|
in: {};
|
|
4283
4660
|
}>;
|
|
4284
|
-
|
|
4661
|
+
declare const AgentDataComponentApiSelectSchema: z.ZodObject<{
|
|
4285
4662
|
id: z.ZodString;
|
|
4286
4663
|
createdAt: z.ZodString;
|
|
4287
4664
|
agentId: z.ZodString;
|
|
4288
4665
|
dataComponentId: z.ZodString;
|
|
4289
4666
|
}, z.core.$strip>;
|
|
4290
|
-
|
|
4667
|
+
declare const AgentDataComponentApiInsertSchema: z.ZodObject<{
|
|
4291
4668
|
id: z.ZodString;
|
|
4292
4669
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4293
4670
|
agentId: z.ZodString;
|
|
4294
4671
|
dataComponentId: z.ZodString;
|
|
4295
4672
|
}, z.core.$strip>;
|
|
4296
|
-
|
|
4673
|
+
declare const AgentDataComponentApiUpdateSchema: z.ZodObject<{
|
|
4297
4674
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4298
4675
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4299
4676
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4300
4677
|
dataComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4301
4678
|
}, z.core.$strip>;
|
|
4302
|
-
|
|
4303
|
-
tenantId:
|
|
4679
|
+
declare const ArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4680
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4304
4681
|
name: "tenant_id";
|
|
4305
4682
|
tableName: "artifact_components";
|
|
4306
4683
|
dataType: "string";
|
|
@@ -4319,7 +4696,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4319
4696
|
}, {}, {
|
|
4320
4697
|
length: number | undefined;
|
|
4321
4698
|
}>;
|
|
4322
|
-
projectId:
|
|
4699
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4323
4700
|
name: "project_id";
|
|
4324
4701
|
tableName: "artifact_components";
|
|
4325
4702
|
dataType: "string";
|
|
@@ -4338,7 +4715,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4338
4715
|
}, {}, {
|
|
4339
4716
|
length: number | undefined;
|
|
4340
4717
|
}>;
|
|
4341
|
-
id:
|
|
4718
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4342
4719
|
name: "id";
|
|
4343
4720
|
tableName: "artifact_components";
|
|
4344
4721
|
dataType: "string";
|
|
@@ -4357,7 +4734,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4357
4734
|
}, {}, {
|
|
4358
4735
|
length: number | undefined;
|
|
4359
4736
|
}>;
|
|
4360
|
-
name:
|
|
4737
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4361
4738
|
name: "name";
|
|
4362
4739
|
tableName: "artifact_components";
|
|
4363
4740
|
dataType: "string";
|
|
@@ -4376,7 +4753,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4376
4753
|
}, {}, {
|
|
4377
4754
|
length: number | undefined;
|
|
4378
4755
|
}>;
|
|
4379
|
-
description:
|
|
4756
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4380
4757
|
name: "description";
|
|
4381
4758
|
tableName: "artifact_components";
|
|
4382
4759
|
dataType: "string";
|
|
@@ -4395,7 +4772,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4395
4772
|
}, {}, {
|
|
4396
4773
|
length: number | undefined;
|
|
4397
4774
|
}>;
|
|
4398
|
-
summaryProps:
|
|
4775
|
+
summaryProps: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4399
4776
|
name: "summary_props";
|
|
4400
4777
|
tableName: "artifact_components";
|
|
4401
4778
|
dataType: "json";
|
|
@@ -4414,7 +4791,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4414
4791
|
}, {}, {
|
|
4415
4792
|
$type: Record<string, unknown>;
|
|
4416
4793
|
}>;
|
|
4417
|
-
fullProps:
|
|
4794
|
+
fullProps: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4418
4795
|
name: "full_props";
|
|
4419
4796
|
tableName: "artifact_components";
|
|
4420
4797
|
dataType: "json";
|
|
@@ -4433,7 +4810,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4433
4810
|
}, {}, {
|
|
4434
4811
|
$type: Record<string, unknown>;
|
|
4435
4812
|
}>;
|
|
4436
|
-
createdAt:
|
|
4813
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4437
4814
|
name: "created_at";
|
|
4438
4815
|
tableName: "artifact_components";
|
|
4439
4816
|
dataType: "string";
|
|
@@ -4452,7 +4829,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4452
4829
|
}, {}, {
|
|
4453
4830
|
length: number | undefined;
|
|
4454
4831
|
}>;
|
|
4455
|
-
updatedAt:
|
|
4832
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4456
4833
|
name: "updated_at";
|
|
4457
4834
|
tableName: "artifact_components";
|
|
4458
4835
|
dataType: "string";
|
|
@@ -4472,7 +4849,7 @@ export declare const ArtifactComponentSelectSchema: import("drizzle-zod").BuildS
|
|
|
4472
4849
|
length: number | undefined;
|
|
4473
4850
|
}>;
|
|
4474
4851
|
}, undefined, undefined>;
|
|
4475
|
-
|
|
4852
|
+
declare const ArtifactComponentInsertSchema: z.ZodObject<{
|
|
4476
4853
|
tenantId: z.ZodString;
|
|
4477
4854
|
projectId: z.ZodString;
|
|
4478
4855
|
name: z.ZodString;
|
|
@@ -4486,7 +4863,7 @@ export declare const ArtifactComponentInsertSchema: z.ZodObject<{
|
|
|
4486
4863
|
out: {};
|
|
4487
4864
|
in: {};
|
|
4488
4865
|
}>;
|
|
4489
|
-
|
|
4866
|
+
declare const ArtifactComponentUpdateSchema: z.ZodObject<{
|
|
4490
4867
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4491
4868
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4492
4869
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4500,16 +4877,16 @@ export declare const ArtifactComponentUpdateSchema: z.ZodObject<{
|
|
|
4500
4877
|
out: {};
|
|
4501
4878
|
in: {};
|
|
4502
4879
|
}>;
|
|
4503
|
-
|
|
4504
|
-
id: z.ZodString;
|
|
4880
|
+
declare const ArtifactComponentApiSelectSchema: z.ZodObject<{
|
|
4505
4881
|
name: z.ZodString;
|
|
4506
4882
|
description: z.ZodString;
|
|
4883
|
+
id: z.ZodString;
|
|
4507
4884
|
createdAt: z.ZodString;
|
|
4508
4885
|
updatedAt: z.ZodString;
|
|
4509
4886
|
summaryProps: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4510
4887
|
fullProps: z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
|
|
4511
4888
|
}, z.core.$strip>;
|
|
4512
|
-
|
|
4889
|
+
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
4513
4890
|
name: z.ZodString;
|
|
4514
4891
|
description: z.ZodString;
|
|
4515
4892
|
summaryProps: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
@@ -4519,17 +4896,17 @@ export declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
|
4519
4896
|
out: {};
|
|
4520
4897
|
in: {};
|
|
4521
4898
|
}>;
|
|
4522
|
-
|
|
4523
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4899
|
+
declare const ArtifactComponentApiUpdateSchema: z.ZodObject<{
|
|
4524
4900
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4525
4901
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4902
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4526
4903
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4527
4904
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4528
4905
|
summaryProps: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
4529
4906
|
fullProps: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>>>;
|
|
4530
4907
|
}, z.core.$strip>;
|
|
4531
|
-
|
|
4532
|
-
tenantId:
|
|
4908
|
+
declare const AgentArtifactComponentSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
4909
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4533
4910
|
name: "tenant_id";
|
|
4534
4911
|
tableName: "agent_artifact_components";
|
|
4535
4912
|
dataType: "string";
|
|
@@ -4548,7 +4925,7 @@ export declare const AgentArtifactComponentSelectSchema: import("drizzle-zod").B
|
|
|
4548
4925
|
}, {}, {
|
|
4549
4926
|
length: number | undefined;
|
|
4550
4927
|
}>;
|
|
4551
|
-
projectId:
|
|
4928
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4552
4929
|
name: "project_id";
|
|
4553
4930
|
tableName: "agent_artifact_components";
|
|
4554
4931
|
dataType: "string";
|
|
@@ -4567,7 +4944,7 @@ export declare const AgentArtifactComponentSelectSchema: import("drizzle-zod").B
|
|
|
4567
4944
|
}, {}, {
|
|
4568
4945
|
length: number | undefined;
|
|
4569
4946
|
}>;
|
|
4570
|
-
id:
|
|
4947
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4571
4948
|
name: "id";
|
|
4572
4949
|
tableName: "agent_artifact_components";
|
|
4573
4950
|
dataType: "string";
|
|
@@ -4586,7 +4963,7 @@ export declare const AgentArtifactComponentSelectSchema: import("drizzle-zod").B
|
|
|
4586
4963
|
}, {}, {
|
|
4587
4964
|
length: number | undefined;
|
|
4588
4965
|
}>;
|
|
4589
|
-
agentId:
|
|
4966
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4590
4967
|
name: "agent_id";
|
|
4591
4968
|
tableName: "agent_artifact_components";
|
|
4592
4969
|
dataType: "string";
|
|
@@ -4605,7 +4982,7 @@ export declare const AgentArtifactComponentSelectSchema: import("drizzle-zod").B
|
|
|
4605
4982
|
}, {}, {
|
|
4606
4983
|
length: number | undefined;
|
|
4607
4984
|
}>;
|
|
4608
|
-
artifactComponentId:
|
|
4985
|
+
artifactComponentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4609
4986
|
name: "artifact_component_id";
|
|
4610
4987
|
tableName: "agent_artifact_components";
|
|
4611
4988
|
dataType: "string";
|
|
@@ -4624,7 +5001,7 @@ export declare const AgentArtifactComponentSelectSchema: import("drizzle-zod").B
|
|
|
4624
5001
|
}, {}, {
|
|
4625
5002
|
length: number | undefined;
|
|
4626
5003
|
}>;
|
|
4627
|
-
createdAt:
|
|
5004
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4628
5005
|
name: "created_at";
|
|
4629
5006
|
tableName: "agent_artifact_components";
|
|
4630
5007
|
dataType: "string";
|
|
@@ -4644,7 +5021,7 @@ export declare const AgentArtifactComponentSelectSchema: import("drizzle-zod").B
|
|
|
4644
5021
|
length: number | undefined;
|
|
4645
5022
|
}>;
|
|
4646
5023
|
}, undefined, undefined>;
|
|
4647
|
-
|
|
5024
|
+
declare const AgentArtifactComponentInsertSchema: z.ZodObject<{
|
|
4648
5025
|
tenantId: z.ZodString;
|
|
4649
5026
|
projectId: z.ZodString;
|
|
4650
5027
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -4655,7 +5032,7 @@ export declare const AgentArtifactComponentInsertSchema: z.ZodObject<{
|
|
|
4655
5032
|
out: {};
|
|
4656
5033
|
in: {};
|
|
4657
5034
|
}>;
|
|
4658
|
-
|
|
5035
|
+
declare const AgentArtifactComponentUpdateSchema: z.ZodObject<{
|
|
4659
5036
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4660
5037
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4661
5038
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -4666,26 +5043,26 @@ export declare const AgentArtifactComponentUpdateSchema: z.ZodObject<{
|
|
|
4666
5043
|
out: {};
|
|
4667
5044
|
in: {};
|
|
4668
5045
|
}>;
|
|
4669
|
-
|
|
5046
|
+
declare const AgentArtifactComponentApiSelectSchema: z.ZodObject<{
|
|
4670
5047
|
id: z.ZodString;
|
|
4671
5048
|
createdAt: z.ZodString;
|
|
4672
5049
|
agentId: z.ZodString;
|
|
4673
5050
|
artifactComponentId: z.ZodString;
|
|
4674
5051
|
}, z.core.$strip>;
|
|
4675
|
-
|
|
5052
|
+
declare const AgentArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
4676
5053
|
agentId: z.ZodString;
|
|
4677
5054
|
artifactComponentId: z.ZodString;
|
|
4678
5055
|
}, {
|
|
4679
5056
|
out: {};
|
|
4680
5057
|
in: {};
|
|
4681
5058
|
}>;
|
|
4682
|
-
|
|
5059
|
+
declare const AgentArtifactComponentApiUpdateSchema: z.ZodObject<{
|
|
4683
5060
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4684
5061
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4685
5062
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4686
5063
|
artifactComponentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4687
5064
|
}, z.core.$strip>;
|
|
4688
|
-
|
|
5065
|
+
declare const ExternalAgentSelectSchema: z.ZodObject<{
|
|
4689
5066
|
tenantId: z.ZodString;
|
|
4690
5067
|
projectId: z.ZodString;
|
|
4691
5068
|
id: z.ZodString;
|
|
@@ -4700,7 +5077,7 @@ export declare const ExternalAgentSelectSchema: z.ZodObject<{
|
|
|
4700
5077
|
out: {};
|
|
4701
5078
|
in: {};
|
|
4702
5079
|
}>;
|
|
4703
|
-
|
|
5080
|
+
declare const ExternalAgentInsertSchema: z.ZodObject<{
|
|
4704
5081
|
tenantId: z.ZodString;
|
|
4705
5082
|
projectId: z.ZodString;
|
|
4706
5083
|
name: z.ZodString;
|
|
@@ -4715,7 +5092,7 @@ export declare const ExternalAgentInsertSchema: z.ZodObject<{
|
|
|
4715
5092
|
out: {};
|
|
4716
5093
|
in: {};
|
|
4717
5094
|
}>;
|
|
4718
|
-
|
|
5095
|
+
declare const ExternalAgentUpdateSchema: z.ZodObject<{
|
|
4719
5096
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
4720
5097
|
projectId: z.ZodOptional<z.ZodString>;
|
|
4721
5098
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4730,41 +5107,41 @@ export declare const ExternalAgentUpdateSchema: z.ZodObject<{
|
|
|
4730
5107
|
out: {};
|
|
4731
5108
|
in: {};
|
|
4732
5109
|
}>;
|
|
4733
|
-
|
|
4734
|
-
id: z.ZodString;
|
|
5110
|
+
declare const ExternalAgentApiSelectSchema: z.ZodObject<{
|
|
4735
5111
|
name: z.ZodString;
|
|
4736
5112
|
description: z.ZodString;
|
|
4737
|
-
|
|
5113
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
5114
|
+
id: z.ZodString;
|
|
4738
5115
|
createdAt: z.ZodString;
|
|
4739
5116
|
updatedAt: z.ZodString;
|
|
4740
5117
|
baseUrl: z.ZodString;
|
|
4741
|
-
|
|
5118
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4742
5119
|
}, z.core.$strip>;
|
|
4743
|
-
|
|
4744
|
-
id: z.ZodString;
|
|
5120
|
+
declare const ExternalAgentApiInsertSchema: z.ZodObject<{
|
|
4745
5121
|
name: z.ZodString;
|
|
4746
5122
|
description: z.ZodString;
|
|
4747
|
-
|
|
5123
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5124
|
+
id: z.ZodString;
|
|
4748
5125
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
4749
5126
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
4750
5127
|
baseUrl: z.ZodString;
|
|
4751
|
-
|
|
5128
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4752
5129
|
}, z.core.$strip>;
|
|
4753
|
-
|
|
4754
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5130
|
+
declare const ExternalAgentApiUpdateSchema: z.ZodObject<{
|
|
4755
5131
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4756
5132
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4757
|
-
|
|
5133
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
5134
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4758
5135
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4759
5136
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
4760
5137
|
baseUrl: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
4761
|
-
|
|
5138
|
+
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
4762
5139
|
}, z.core.$strip>;
|
|
4763
|
-
|
|
4764
|
-
id: z.ZodString;
|
|
5140
|
+
declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4765
5141
|
name: z.ZodString;
|
|
4766
|
-
description: z.ZodString;
|
|
4767
5142
|
prompt: z.ZodString;
|
|
5143
|
+
description: z.ZodString;
|
|
5144
|
+
id: z.ZodString;
|
|
4768
5145
|
createdAt: z.ZodString;
|
|
4769
5146
|
updatedAt: z.ZodString;
|
|
4770
5147
|
models: z.ZodNullable<z.ZodType<{
|
|
@@ -4829,21 +5206,21 @@ export declare const AllAgentSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4829
5206
|
}, {
|
|
4830
5207
|
stepCountIs?: number;
|
|
4831
5208
|
}>>>;
|
|
4832
|
-
conversationHistoryConfig: z.ZodNullable<z.ZodType<
|
|
5209
|
+
conversationHistoryConfig: z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>;
|
|
4833
5210
|
type: z.ZodLiteral<"internal">;
|
|
4834
5211
|
}, z.core.$strip>, z.ZodObject<{
|
|
4835
|
-
id: z.ZodString;
|
|
4836
5212
|
name: z.ZodString;
|
|
4837
5213
|
description: z.ZodString;
|
|
4838
|
-
|
|
5214
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>>;
|
|
5215
|
+
id: z.ZodString;
|
|
4839
5216
|
createdAt: z.ZodString;
|
|
4840
5217
|
updatedAt: z.ZodString;
|
|
4841
5218
|
baseUrl: z.ZodString;
|
|
4842
|
-
|
|
5219
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4843
5220
|
type: z.ZodLiteral<"external">;
|
|
4844
5221
|
}, z.core.$strip>], "type">;
|
|
4845
|
-
|
|
4846
|
-
id:
|
|
5222
|
+
declare const ApiKeySelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
5223
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4847
5224
|
name: "id";
|
|
4848
5225
|
tableName: "api_keys";
|
|
4849
5226
|
dataType: "string";
|
|
@@ -4862,7 +5239,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4862
5239
|
}, {}, {
|
|
4863
5240
|
length: number | undefined;
|
|
4864
5241
|
}>;
|
|
4865
|
-
tenantId:
|
|
5242
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4866
5243
|
name: "tenant_id";
|
|
4867
5244
|
tableName: "api_keys";
|
|
4868
5245
|
dataType: "string";
|
|
@@ -4881,7 +5258,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4881
5258
|
}, {}, {
|
|
4882
5259
|
length: number | undefined;
|
|
4883
5260
|
}>;
|
|
4884
|
-
projectId:
|
|
5261
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4885
5262
|
name: "project_id";
|
|
4886
5263
|
tableName: "api_keys";
|
|
4887
5264
|
dataType: "string";
|
|
@@ -4900,7 +5277,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4900
5277
|
}, {}, {
|
|
4901
5278
|
length: number | undefined;
|
|
4902
5279
|
}>;
|
|
4903
|
-
graphId:
|
|
5280
|
+
graphId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4904
5281
|
name: "graph_id";
|
|
4905
5282
|
tableName: "api_keys";
|
|
4906
5283
|
dataType: "string";
|
|
@@ -4919,7 +5296,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4919
5296
|
}, {}, {
|
|
4920
5297
|
length: number | undefined;
|
|
4921
5298
|
}>;
|
|
4922
|
-
publicId:
|
|
5299
|
+
publicId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4923
5300
|
name: "public_id";
|
|
4924
5301
|
tableName: "api_keys";
|
|
4925
5302
|
dataType: "string";
|
|
@@ -4938,7 +5315,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4938
5315
|
}, {}, {
|
|
4939
5316
|
length: number | undefined;
|
|
4940
5317
|
}>;
|
|
4941
|
-
keyHash:
|
|
5318
|
+
keyHash: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4942
5319
|
name: "key_hash";
|
|
4943
5320
|
tableName: "api_keys";
|
|
4944
5321
|
dataType: "string";
|
|
@@ -4957,7 +5334,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4957
5334
|
}, {}, {
|
|
4958
5335
|
length: number | undefined;
|
|
4959
5336
|
}>;
|
|
4960
|
-
keyPrefix:
|
|
5337
|
+
keyPrefix: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4961
5338
|
name: "key_prefix";
|
|
4962
5339
|
tableName: "api_keys";
|
|
4963
5340
|
dataType: "string";
|
|
@@ -4976,7 +5353,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4976
5353
|
}, {}, {
|
|
4977
5354
|
length: number | undefined;
|
|
4978
5355
|
}>;
|
|
4979
|
-
lastUsedAt:
|
|
5356
|
+
lastUsedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4980
5357
|
name: "last_used_at";
|
|
4981
5358
|
tableName: "api_keys";
|
|
4982
5359
|
dataType: "string";
|
|
@@ -4995,7 +5372,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
4995
5372
|
}, {}, {
|
|
4996
5373
|
length: number | undefined;
|
|
4997
5374
|
}>;
|
|
4998
|
-
expiresAt:
|
|
5375
|
+
expiresAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
4999
5376
|
name: "expires_at";
|
|
5000
5377
|
tableName: "api_keys";
|
|
5001
5378
|
dataType: "string";
|
|
@@ -5014,7 +5391,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
5014
5391
|
}, {}, {
|
|
5015
5392
|
length: number | undefined;
|
|
5016
5393
|
}>;
|
|
5017
|
-
createdAt:
|
|
5394
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5018
5395
|
name: "created_at";
|
|
5019
5396
|
tableName: "api_keys";
|
|
5020
5397
|
dataType: "string";
|
|
@@ -5033,7 +5410,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
5033
5410
|
}, {}, {
|
|
5034
5411
|
length: number | undefined;
|
|
5035
5412
|
}>;
|
|
5036
|
-
updatedAt:
|
|
5413
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5037
5414
|
name: "updated_at";
|
|
5038
5415
|
tableName: "api_keys";
|
|
5039
5416
|
dataType: "string";
|
|
@@ -5053,7 +5430,7 @@ export declare const ApiKeySelectSchema: import("drizzle-zod").BuildSchema<"sele
|
|
|
5053
5430
|
length: number | undefined;
|
|
5054
5431
|
}>;
|
|
5055
5432
|
}, undefined, undefined>;
|
|
5056
|
-
|
|
5433
|
+
declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
5057
5434
|
tenantId: z.ZodString;
|
|
5058
5435
|
projectId: z.ZodString;
|
|
5059
5436
|
publicId: z.ZodString;
|
|
@@ -5069,7 +5446,7 @@ export declare const ApiKeyInsertSchema: z.ZodObject<{
|
|
|
5069
5446
|
out: {};
|
|
5070
5447
|
in: {};
|
|
5071
5448
|
}>;
|
|
5072
|
-
|
|
5449
|
+
declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
5073
5450
|
graphId: z.ZodOptional<z.ZodString>;
|
|
5074
5451
|
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5075
5452
|
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -5078,7 +5455,7 @@ export declare const ApiKeyUpdateSchema: z.ZodObject<{
|
|
|
5078
5455
|
out: {};
|
|
5079
5456
|
in: {};
|
|
5080
5457
|
}>;
|
|
5081
|
-
|
|
5458
|
+
declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
5082
5459
|
id: z.ZodString;
|
|
5083
5460
|
graphId: z.ZodString;
|
|
5084
5461
|
publicId: z.ZodString;
|
|
@@ -5091,7 +5468,7 @@ export declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
|
5091
5468
|
out: {};
|
|
5092
5469
|
in: {};
|
|
5093
5470
|
}>;
|
|
5094
|
-
|
|
5471
|
+
declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
5095
5472
|
data: z.ZodObject<{
|
|
5096
5473
|
apiKey: z.ZodObject<{
|
|
5097
5474
|
id: z.ZodString;
|
|
@@ -5109,7 +5486,7 @@ export declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
|
5109
5486
|
key: z.ZodString;
|
|
5110
5487
|
}, z.core.$strip>;
|
|
5111
5488
|
}, z.core.$strip>;
|
|
5112
|
-
|
|
5489
|
+
declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
5113
5490
|
graphId: z.ZodString;
|
|
5114
5491
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5115
5492
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -5118,7 +5495,7 @@ export declare const ApiKeyApiInsertSchema: z.ZodObject<{
|
|
|
5118
5495
|
out: {};
|
|
5119
5496
|
in: {};
|
|
5120
5497
|
}>;
|
|
5121
|
-
|
|
5498
|
+
declare const ApiKeyApiUpdateSchema: z.ZodObject<{
|
|
5122
5499
|
graphId: z.ZodOptional<z.ZodString>;
|
|
5123
5500
|
lastUsedAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5124
5501
|
expiresAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
@@ -5127,7 +5504,7 @@ export declare const ApiKeyApiUpdateSchema: z.ZodObject<{
|
|
|
5127
5504
|
out: {};
|
|
5128
5505
|
in: {};
|
|
5129
5506
|
}>;
|
|
5130
|
-
|
|
5507
|
+
declare const CredentialReferenceSelectSchema: z.ZodObject<{
|
|
5131
5508
|
id: z.ZodString;
|
|
5132
5509
|
tenantId: z.ZodString;
|
|
5133
5510
|
projectId: z.ZodString;
|
|
@@ -5137,7 +5514,7 @@ export declare const CredentialReferenceSelectSchema: z.ZodObject<{
|
|
|
5137
5514
|
createdAt: z.ZodString;
|
|
5138
5515
|
updatedAt: z.ZodString;
|
|
5139
5516
|
}, z.core.$strip>;
|
|
5140
|
-
|
|
5517
|
+
declare const CredentialReferenceInsertSchema: z.ZodObject<{
|
|
5141
5518
|
id: z.ZodString;
|
|
5142
5519
|
tenantId: z.ZodString;
|
|
5143
5520
|
projectId: z.ZodString;
|
|
@@ -5145,7 +5522,7 @@ export declare const CredentialReferenceInsertSchema: z.ZodObject<{
|
|
|
5145
5522
|
credentialStoreId: z.ZodString;
|
|
5146
5523
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5147
5524
|
}, z.core.$strip>;
|
|
5148
|
-
|
|
5525
|
+
declare const CredentialReferenceUpdateSchema: z.ZodObject<{
|
|
5149
5526
|
id: z.ZodOptional<z.ZodString>;
|
|
5150
5527
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
5151
5528
|
projectId: z.ZodOptional<z.ZodString>;
|
|
@@ -5153,48 +5530,48 @@ export declare const CredentialReferenceUpdateSchema: z.ZodObject<{
|
|
|
5153
5530
|
credentialStoreId: z.ZodOptional<z.ZodString>;
|
|
5154
5531
|
retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
5155
5532
|
}, z.core.$strip>;
|
|
5156
|
-
|
|
5157
|
-
id: z.ZodString;
|
|
5533
|
+
declare const CredentialReferenceApiSelectSchema: z.ZodObject<{
|
|
5158
5534
|
type: z.ZodString;
|
|
5535
|
+
id: z.ZodString;
|
|
5159
5536
|
createdAt: z.ZodString;
|
|
5160
5537
|
updatedAt: z.ZodString;
|
|
5161
5538
|
credentialStoreId: z.ZodString;
|
|
5162
5539
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5163
5540
|
}, z.core.$strip>;
|
|
5164
|
-
|
|
5165
|
-
id: z.ZodString;
|
|
5541
|
+
declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
5166
5542
|
type: z.ZodString;
|
|
5543
|
+
id: z.ZodString;
|
|
5167
5544
|
credentialStoreId: z.ZodString;
|
|
5168
5545
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5169
5546
|
}, z.core.$strip>;
|
|
5170
|
-
|
|
5171
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5547
|
+
declare const CredentialReferenceApiUpdateSchema: z.ZodObject<{
|
|
5172
5548
|
type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5549
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5173
5550
|
credentialStoreId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5174
5551
|
retrievalParams: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>>;
|
|
5175
5552
|
}, z.core.$strip>;
|
|
5176
|
-
|
|
5553
|
+
declare const McpToolSchema: z.ZodObject<{
|
|
5177
5554
|
tenantId: z.ZodString;
|
|
5178
5555
|
projectId: z.ZodString;
|
|
5179
5556
|
name: z.ZodString;
|
|
5180
5557
|
config: z.ZodType<{
|
|
5181
5558
|
type: "mcp";
|
|
5182
|
-
mcp:
|
|
5559
|
+
mcp: ToolMcpConfig;
|
|
5183
5560
|
}, {
|
|
5184
5561
|
type: "mcp";
|
|
5185
|
-
mcp:
|
|
5562
|
+
mcp: ToolMcpConfig;
|
|
5186
5563
|
}, z.core.$ZodTypeInternals<{
|
|
5187
5564
|
type: "mcp";
|
|
5188
|
-
mcp:
|
|
5565
|
+
mcp: ToolMcpConfig;
|
|
5189
5566
|
}, {
|
|
5190
5567
|
type: "mcp";
|
|
5191
|
-
mcp:
|
|
5568
|
+
mcp: ToolMcpConfig;
|
|
5192
5569
|
}>>;
|
|
5193
5570
|
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5194
5571
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5195
|
-
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5572
|
+
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
5196
5573
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5197
|
-
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5574
|
+
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>;
|
|
5198
5575
|
id: z.ZodString;
|
|
5199
5576
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5200
5577
|
status: z.ZodDefault<z.ZodEnum<{
|
|
@@ -5213,18 +5590,18 @@ export declare const McpToolSchema: z.ZodObject<{
|
|
|
5213
5590
|
out: {};
|
|
5214
5591
|
in: {};
|
|
5215
5592
|
}>;
|
|
5216
|
-
|
|
5593
|
+
declare const McpToolServerConfigSchema: z.ZodObject<{
|
|
5217
5594
|
type: z.ZodString;
|
|
5218
5595
|
version: z.ZodOptional<z.ZodString>;
|
|
5219
5596
|
}, z.core.$strip>;
|
|
5220
|
-
|
|
5221
|
-
id: z.ZodString;
|
|
5597
|
+
declare const MCPToolConfigSchema: z.ZodObject<{
|
|
5222
5598
|
name: z.ZodString;
|
|
5223
5599
|
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5600
|
+
id: z.ZodString;
|
|
5224
5601
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5225
|
-
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5602
|
+
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
5226
5603
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5227
|
-
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5604
|
+
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>;
|
|
5228
5605
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
5229
5606
|
projectId: z.ZodOptional<z.ZodString>;
|
|
5230
5607
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -5250,8 +5627,8 @@ export declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
5250
5627
|
sessionId: z.ZodOptional<z.ZodString>;
|
|
5251
5628
|
}, z.core.$strip>>;
|
|
5252
5629
|
credential: z.ZodOptional<z.ZodObject<{
|
|
5253
|
-
id: z.ZodString;
|
|
5254
5630
|
type: z.ZodString;
|
|
5631
|
+
id: z.ZodString;
|
|
5255
5632
|
credentialStoreId: z.ZodString;
|
|
5256
5633
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5257
5634
|
}, z.core.$strip>>;
|
|
@@ -5259,30 +5636,30 @@ export declare const MCPToolConfigSchema: z.ZodObject<{
|
|
|
5259
5636
|
out: {};
|
|
5260
5637
|
in: {};
|
|
5261
5638
|
}>;
|
|
5262
|
-
|
|
5639
|
+
declare const ToolUpdateSchema: z.ZodObject<{
|
|
5263
5640
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
5264
5641
|
projectId: z.ZodOptional<z.ZodString>;
|
|
5265
5642
|
name: z.ZodOptional<z.ZodString>;
|
|
5266
5643
|
config: z.ZodOptional<z.ZodType<{
|
|
5267
5644
|
type: "mcp";
|
|
5268
|
-
mcp:
|
|
5645
|
+
mcp: ToolMcpConfig;
|
|
5269
5646
|
}, {
|
|
5270
5647
|
type: "mcp";
|
|
5271
|
-
mcp:
|
|
5648
|
+
mcp: ToolMcpConfig;
|
|
5272
5649
|
}, z.core.$ZodTypeInternals<{
|
|
5273
5650
|
type: "mcp";
|
|
5274
|
-
mcp:
|
|
5651
|
+
mcp: ToolMcpConfig;
|
|
5275
5652
|
}, {
|
|
5276
5653
|
type: "mcp";
|
|
5277
|
-
mcp:
|
|
5654
|
+
mcp: ToolMcpConfig;
|
|
5278
5655
|
}>>>;
|
|
5279
5656
|
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5280
5657
|
headers: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>;
|
|
5281
|
-
capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5658
|
+
capabilities: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>;
|
|
5282
5659
|
status: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5283
5660
|
lastHealthCheck: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5284
5661
|
lastError: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5285
|
-
availableTools: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5662
|
+
availableTools: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>>;
|
|
5286
5663
|
lastToolsSync: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
5287
5664
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5288
5665
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -5292,91 +5669,91 @@ export declare const ToolUpdateSchema: z.ZodObject<{
|
|
|
5292
5669
|
out: {};
|
|
5293
5670
|
in: {};
|
|
5294
5671
|
}>;
|
|
5295
|
-
|
|
5296
|
-
id: z.ZodString;
|
|
5672
|
+
declare const ToolApiSelectSchema: z.ZodObject<{
|
|
5297
5673
|
name: z.ZodString;
|
|
5674
|
+
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
5675
|
+
id: z.ZodString;
|
|
5676
|
+
createdAt: z.ZodString;
|
|
5677
|
+
updatedAt: z.ZodString;
|
|
5678
|
+
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
5679
|
+
status: z.ZodString;
|
|
5298
5680
|
config: z.ZodType<{
|
|
5299
5681
|
type: "mcp";
|
|
5300
|
-
mcp:
|
|
5682
|
+
mcp: ToolMcpConfig;
|
|
5301
5683
|
}, {
|
|
5302
5684
|
type: "mcp";
|
|
5303
|
-
mcp:
|
|
5685
|
+
mcp: ToolMcpConfig;
|
|
5304
5686
|
}, z.core.$ZodTypeInternals<{
|
|
5305
5687
|
type: "mcp";
|
|
5306
|
-
mcp:
|
|
5688
|
+
mcp: ToolMcpConfig;
|
|
5307
5689
|
}, {
|
|
5308
5690
|
type: "mcp";
|
|
5309
|
-
mcp:
|
|
5691
|
+
mcp: ToolMcpConfig;
|
|
5310
5692
|
}>>;
|
|
5311
|
-
credentialReferenceId: z.ZodNullable<z.ZodString>;
|
|
5312
|
-
createdAt: z.ZodString;
|
|
5313
|
-
updatedAt: z.ZodString;
|
|
5314
|
-
headers: z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>;
|
|
5315
|
-
status: z.ZodString;
|
|
5316
5693
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
5317
|
-
capabilities: z.ZodNullable<z.ZodType<
|
|
5694
|
+
capabilities: z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>;
|
|
5318
5695
|
lastHealthCheck: z.ZodNullable<z.ZodString>;
|
|
5319
5696
|
lastError: z.ZodNullable<z.ZodString>;
|
|
5320
|
-
availableTools: z.ZodNullable<z.ZodType<
|
|
5697
|
+
availableTools: z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>;
|
|
5321
5698
|
lastToolsSync: z.ZodNullable<z.ZodString>;
|
|
5322
5699
|
}, z.core.$strip>;
|
|
5323
|
-
|
|
5324
|
-
id: z.ZodString;
|
|
5700
|
+
declare const ToolApiInsertSchema: z.ZodObject<{
|
|
5325
5701
|
name: z.ZodString;
|
|
5702
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5703
|
+
id: z.ZodString;
|
|
5704
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
5705
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5706
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5707
|
+
status: z.ZodOptional<z.ZodString>;
|
|
5326
5708
|
config: z.ZodType<{
|
|
5327
5709
|
type: "mcp";
|
|
5328
|
-
mcp:
|
|
5710
|
+
mcp: ToolMcpConfig;
|
|
5329
5711
|
}, {
|
|
5330
5712
|
type: "mcp";
|
|
5331
|
-
mcp:
|
|
5713
|
+
mcp: ToolMcpConfig;
|
|
5332
5714
|
}, z.core.$ZodTypeInternals<{
|
|
5333
5715
|
type: "mcp";
|
|
5334
|
-
mcp:
|
|
5716
|
+
mcp: ToolMcpConfig;
|
|
5335
5717
|
}, {
|
|
5336
5718
|
type: "mcp";
|
|
5337
|
-
mcp:
|
|
5719
|
+
mcp: ToolMcpConfig;
|
|
5338
5720
|
}>>;
|
|
5339
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5340
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
5341
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5342
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
5343
|
-
status: z.ZodOptional<z.ZodString>;
|
|
5344
5721
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
5345
|
-
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5722
|
+
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
5346
5723
|
lastHealthCheck: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5347
5724
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5348
|
-
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5725
|
+
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>;
|
|
5349
5726
|
lastToolsSync: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5350
5727
|
}, z.core.$strip>;
|
|
5351
|
-
|
|
5352
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5728
|
+
declare const ToolApiUpdateSchema: z.ZodObject<{
|
|
5353
5729
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5730
|
+
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
5731
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5732
|
+
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5733
|
+
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5734
|
+
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5735
|
+
status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5354
5736
|
config: z.ZodOptional<z.ZodOptional<z.ZodType<{
|
|
5355
5737
|
type: "mcp";
|
|
5356
|
-
mcp:
|
|
5738
|
+
mcp: ToolMcpConfig;
|
|
5357
5739
|
}, {
|
|
5358
5740
|
type: "mcp";
|
|
5359
|
-
mcp:
|
|
5741
|
+
mcp: ToolMcpConfig;
|
|
5360
5742
|
}, z.core.$ZodTypeInternals<{
|
|
5361
5743
|
type: "mcp";
|
|
5362
|
-
mcp:
|
|
5744
|
+
mcp: ToolMcpConfig;
|
|
5363
5745
|
}, {
|
|
5364
5746
|
type: "mcp";
|
|
5365
|
-
mcp:
|
|
5747
|
+
mcp: ToolMcpConfig;
|
|
5366
5748
|
}>>>>;
|
|
5367
|
-
credentialReferenceId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5368
|
-
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5369
|
-
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5370
|
-
headers: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>>>;
|
|
5371
|
-
status: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5372
5749
|
imageUrl: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5373
|
-
capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5750
|
+
capabilities: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>>>;
|
|
5374
5751
|
lastHealthCheck: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5375
5752
|
lastError: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5376
|
-
availableTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
5753
|
+
availableTools: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>>>;
|
|
5377
5754
|
lastToolsSync: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
5378
5755
|
}, z.core.$strip>;
|
|
5379
|
-
|
|
5756
|
+
declare const FetchConfigSchema: z.ZodObject<{
|
|
5380
5757
|
url: z.ZodString;
|
|
5381
5758
|
method: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
5382
5759
|
GET: "GET";
|
|
@@ -5390,7 +5767,7 @@ export declare const FetchConfigSchema: z.ZodObject<{
|
|
|
5390
5767
|
transform: z.ZodOptional<z.ZodString>;
|
|
5391
5768
|
timeout: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNumber>>>;
|
|
5392
5769
|
}, z.core.$strip>;
|
|
5393
|
-
|
|
5770
|
+
declare const FetchDefinitionSchema: z.ZodObject<{
|
|
5394
5771
|
id: z.ZodString;
|
|
5395
5772
|
name: z.ZodOptional<z.ZodString>;
|
|
5396
5773
|
trigger: z.ZodEnum<{
|
|
@@ -5414,19 +5791,19 @@ export declare const FetchDefinitionSchema: z.ZodObject<{
|
|
|
5414
5791
|
responseSchema: z.ZodOptional<z.ZodAny>;
|
|
5415
5792
|
defaultValue: z.ZodOptional<z.ZodUnknown>;
|
|
5416
5793
|
credential: z.ZodOptional<z.ZodObject<{
|
|
5417
|
-
id: z.ZodString;
|
|
5418
5794
|
type: z.ZodString;
|
|
5795
|
+
id: z.ZodString;
|
|
5419
5796
|
credentialStoreId: z.ZodString;
|
|
5420
5797
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
5421
5798
|
}, z.core.$strip>>;
|
|
5422
5799
|
}, z.core.$strip>;
|
|
5423
|
-
|
|
5800
|
+
declare const ContextConfigSelectSchema: z.ZodObject<{
|
|
5424
5801
|
tenantId: z.ZodString;
|
|
5425
5802
|
projectId: z.ZodString;
|
|
5426
5803
|
id: z.ZodString;
|
|
5427
5804
|
name: z.ZodString;
|
|
5428
5805
|
description: z.ZodString;
|
|
5429
|
-
contextVariables: z.ZodNullable<z.ZodType<Record<string,
|
|
5806
|
+
contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
|
|
5430
5807
|
createdAt: z.ZodString;
|
|
5431
5808
|
updatedAt: z.ZodString;
|
|
5432
5809
|
requestContextSchema: z.ZodOptional<z.ZodUnknown>;
|
|
@@ -5434,55 +5811,55 @@ export declare const ContextConfigSelectSchema: z.ZodObject<{
|
|
|
5434
5811
|
out: {};
|
|
5435
5812
|
in: {};
|
|
5436
5813
|
}>;
|
|
5437
|
-
|
|
5438
|
-
tenantId: z.ZodString;
|
|
5439
|
-
projectId: z.ZodString;
|
|
5440
|
-
id: z.ZodString;
|
|
5814
|
+
declare const ContextConfigInsertSchema: z.ZodObject<{
|
|
5441
5815
|
name: z.ZodString;
|
|
5442
5816
|
description: z.ZodString;
|
|
5817
|
+
id: z.ZodString;
|
|
5818
|
+
tenantId: z.ZodString;
|
|
5819
|
+
projectId: z.ZodString;
|
|
5443
5820
|
requestContextSchema: z.ZodOptional<z.ZodUnknown>;
|
|
5444
|
-
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string,
|
|
5821
|
+
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
|
|
5445
5822
|
}, {
|
|
5446
5823
|
out: {};
|
|
5447
5824
|
in: {};
|
|
5448
5825
|
}>;
|
|
5449
|
-
|
|
5450
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
5451
|
-
projectId: z.ZodOptional<z.ZodString>;
|
|
5452
|
-
id: z.ZodOptional<z.ZodString>;
|
|
5826
|
+
declare const ContextConfigUpdateSchema: z.ZodObject<{
|
|
5453
5827
|
name: z.ZodOptional<z.ZodString>;
|
|
5454
5828
|
description: z.ZodOptional<z.ZodString>;
|
|
5829
|
+
id: z.ZodOptional<z.ZodString>;
|
|
5830
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5831
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
5455
5832
|
requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
5456
|
-
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string,
|
|
5833
|
+
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>;
|
|
5457
5834
|
}, {
|
|
5458
5835
|
out: {};
|
|
5459
5836
|
in: {};
|
|
5460
5837
|
}>;
|
|
5461
|
-
|
|
5462
|
-
id: z.ZodString;
|
|
5838
|
+
declare const ContextConfigApiSelectSchema: z.ZodObject<{
|
|
5463
5839
|
name: z.ZodString;
|
|
5464
5840
|
description: z.ZodString;
|
|
5841
|
+
id: z.ZodString;
|
|
5465
5842
|
createdAt: z.ZodString;
|
|
5466
5843
|
updatedAt: z.ZodString;
|
|
5467
5844
|
requestContextSchema: z.ZodOptional<z.ZodUnknown>;
|
|
5468
|
-
contextVariables: z.ZodNullable<z.ZodType<Record<string,
|
|
5845
|
+
contextVariables: z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>;
|
|
5469
5846
|
}, z.core.$strip>;
|
|
5470
|
-
|
|
5471
|
-
id: z.ZodString;
|
|
5847
|
+
declare const ContextConfigApiInsertSchema: z.ZodObject<{
|
|
5472
5848
|
name: z.ZodString;
|
|
5473
5849
|
description: z.ZodString;
|
|
5850
|
+
id: z.ZodString;
|
|
5474
5851
|
requestContextSchema: z.ZodOptional<z.ZodUnknown>;
|
|
5475
|
-
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string,
|
|
5852
|
+
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
|
|
5476
5853
|
}, z.core.$strip>;
|
|
5477
|
-
|
|
5478
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5854
|
+
declare const ContextConfigApiUpdateSchema: z.ZodObject<{
|
|
5479
5855
|
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5480
5856
|
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5857
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5481
5858
|
requestContextSchema: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodUnknown>>>;
|
|
5482
|
-
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string,
|
|
5859
|
+
contextVariables: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>>>;
|
|
5483
5860
|
}, z.core.$strip>;
|
|
5484
|
-
|
|
5485
|
-
tenantId:
|
|
5861
|
+
declare const AgentToolRelationSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
5862
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5486
5863
|
name: "tenant_id";
|
|
5487
5864
|
tableName: "agent_tool_relations";
|
|
5488
5865
|
dataType: "string";
|
|
@@ -5501,7 +5878,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5501
5878
|
}, {}, {
|
|
5502
5879
|
length: number | undefined;
|
|
5503
5880
|
}>;
|
|
5504
|
-
projectId:
|
|
5881
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5505
5882
|
name: "project_id";
|
|
5506
5883
|
tableName: "agent_tool_relations";
|
|
5507
5884
|
dataType: "string";
|
|
@@ -5520,7 +5897,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5520
5897
|
}, {}, {
|
|
5521
5898
|
length: number | undefined;
|
|
5522
5899
|
}>;
|
|
5523
|
-
id:
|
|
5900
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5524
5901
|
name: "id";
|
|
5525
5902
|
tableName: "agent_tool_relations";
|
|
5526
5903
|
dataType: "string";
|
|
@@ -5539,7 +5916,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5539
5916
|
}, {}, {
|
|
5540
5917
|
length: number | undefined;
|
|
5541
5918
|
}>;
|
|
5542
|
-
agentId:
|
|
5919
|
+
agentId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5543
5920
|
name: "agent_id";
|
|
5544
5921
|
tableName: "agent_tool_relations";
|
|
5545
5922
|
dataType: "string";
|
|
@@ -5558,7 +5935,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5558
5935
|
}, {}, {
|
|
5559
5936
|
length: number | undefined;
|
|
5560
5937
|
}>;
|
|
5561
|
-
toolId:
|
|
5938
|
+
toolId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5562
5939
|
name: "tool_id";
|
|
5563
5940
|
tableName: "agent_tool_relations";
|
|
5564
5941
|
dataType: "string";
|
|
@@ -5577,7 +5954,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5577
5954
|
}, {}, {
|
|
5578
5955
|
length: number | undefined;
|
|
5579
5956
|
}>;
|
|
5580
|
-
createdAt:
|
|
5957
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5581
5958
|
name: "created_at";
|
|
5582
5959
|
tableName: "agent_tool_relations";
|
|
5583
5960
|
dataType: "string";
|
|
@@ -5596,7 +5973,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5596
5973
|
}, {}, {
|
|
5597
5974
|
length: number | undefined;
|
|
5598
5975
|
}>;
|
|
5599
|
-
updatedAt:
|
|
5976
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5600
5977
|
name: "updated_at";
|
|
5601
5978
|
tableName: "agent_tool_relations";
|
|
5602
5979
|
dataType: "string";
|
|
@@ -5616,7 +5993,7 @@ export declare const AgentToolRelationSelectSchema: import("drizzle-zod").BuildS
|
|
|
5616
5993
|
length: number | undefined;
|
|
5617
5994
|
}>;
|
|
5618
5995
|
}, undefined, undefined>;
|
|
5619
|
-
|
|
5996
|
+
declare const AgentToolRelationInsertSchema: z.ZodObject<{
|
|
5620
5997
|
tenantId: z.ZodString;
|
|
5621
5998
|
projectId: z.ZodString;
|
|
5622
5999
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -5628,7 +6005,7 @@ export declare const AgentToolRelationInsertSchema: z.ZodObject<{
|
|
|
5628
6005
|
out: {};
|
|
5629
6006
|
in: {};
|
|
5630
6007
|
}>;
|
|
5631
|
-
|
|
6008
|
+
declare const AgentToolRelationUpdateSchema: z.ZodObject<{
|
|
5632
6009
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
5633
6010
|
projectId: z.ZodOptional<z.ZodString>;
|
|
5634
6011
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -5640,29 +6017,29 @@ export declare const AgentToolRelationUpdateSchema: z.ZodObject<{
|
|
|
5640
6017
|
out: {};
|
|
5641
6018
|
in: {};
|
|
5642
6019
|
}>;
|
|
5643
|
-
|
|
6020
|
+
declare const AgentToolRelationApiSelectSchema: z.ZodObject<{
|
|
5644
6021
|
id: z.ZodString;
|
|
5645
6022
|
createdAt: z.ZodString;
|
|
5646
6023
|
updatedAt: z.ZodString;
|
|
5647
6024
|
agentId: z.ZodString;
|
|
5648
6025
|
toolId: z.ZodString;
|
|
5649
6026
|
}, z.core.$strip>;
|
|
5650
|
-
|
|
6027
|
+
declare const AgentToolRelationApiInsertSchema: z.ZodObject<{
|
|
5651
6028
|
id: z.ZodString;
|
|
5652
6029
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5653
6030
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5654
6031
|
agentId: z.ZodString;
|
|
5655
6032
|
toolId: z.ZodString;
|
|
5656
6033
|
}, z.core.$strip>;
|
|
5657
|
-
|
|
6034
|
+
declare const AgentToolRelationApiUpdateSchema: z.ZodObject<{
|
|
5658
6035
|
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5659
6036
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5660
6037
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
5661
6038
|
agentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5662
6039
|
toolId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
5663
6040
|
}, z.core.$strip>;
|
|
5664
|
-
|
|
5665
|
-
tenantId:
|
|
6041
|
+
declare const LedgerArtifactSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
6042
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5666
6043
|
name: "tenant_id";
|
|
5667
6044
|
tableName: "ledger_artifacts";
|
|
5668
6045
|
dataType: "string";
|
|
@@ -5681,7 +6058,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5681
6058
|
}, {}, {
|
|
5682
6059
|
length: number | undefined;
|
|
5683
6060
|
}>;
|
|
5684
|
-
projectId:
|
|
6061
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5685
6062
|
name: "project_id";
|
|
5686
6063
|
tableName: "ledger_artifacts";
|
|
5687
6064
|
dataType: "string";
|
|
@@ -5700,7 +6077,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5700
6077
|
}, {}, {
|
|
5701
6078
|
length: number | undefined;
|
|
5702
6079
|
}>;
|
|
5703
|
-
id:
|
|
6080
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5704
6081
|
name: "id";
|
|
5705
6082
|
tableName: "ledger_artifacts";
|
|
5706
6083
|
dataType: "string";
|
|
@@ -5719,7 +6096,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5719
6096
|
}, {}, {
|
|
5720
6097
|
length: number | undefined;
|
|
5721
6098
|
}>;
|
|
5722
|
-
taskId:
|
|
6099
|
+
taskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5723
6100
|
name: "task_id";
|
|
5724
6101
|
tableName: "ledger_artifacts";
|
|
5725
6102
|
dataType: "string";
|
|
@@ -5738,7 +6115,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5738
6115
|
}, {}, {
|
|
5739
6116
|
length: number | undefined;
|
|
5740
6117
|
}>;
|
|
5741
|
-
contextId:
|
|
6118
|
+
contextId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5742
6119
|
name: "context_id";
|
|
5743
6120
|
tableName: "ledger_artifacts";
|
|
5744
6121
|
dataType: "string";
|
|
@@ -5757,7 +6134,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5757
6134
|
}, {}, {
|
|
5758
6135
|
length: number | undefined;
|
|
5759
6136
|
}>;
|
|
5760
|
-
type:
|
|
6137
|
+
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5761
6138
|
name: "type";
|
|
5762
6139
|
tableName: "ledger_artifacts";
|
|
5763
6140
|
dataType: "string";
|
|
@@ -5776,7 +6153,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5776
6153
|
}, {}, {
|
|
5777
6154
|
length: number | undefined;
|
|
5778
6155
|
}>;
|
|
5779
|
-
name:
|
|
6156
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5780
6157
|
name: "name";
|
|
5781
6158
|
tableName: "ledger_artifacts";
|
|
5782
6159
|
dataType: "string";
|
|
@@ -5795,7 +6172,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5795
6172
|
}, {}, {
|
|
5796
6173
|
length: number | undefined;
|
|
5797
6174
|
}>;
|
|
5798
|
-
description:
|
|
6175
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5799
6176
|
name: "description";
|
|
5800
6177
|
tableName: "ledger_artifacts";
|
|
5801
6178
|
dataType: "string";
|
|
@@ -5814,12 +6191,12 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5814
6191
|
}, {}, {
|
|
5815
6192
|
length: number | undefined;
|
|
5816
6193
|
}>;
|
|
5817
|
-
parts:
|
|
6194
|
+
parts: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5818
6195
|
name: "parts";
|
|
5819
6196
|
tableName: "ledger_artifacts";
|
|
5820
6197
|
dataType: "json";
|
|
5821
6198
|
columnType: "SQLiteBlobJson";
|
|
5822
|
-
data:
|
|
6199
|
+
data: Part[] | null;
|
|
5823
6200
|
driverParam: Buffer<ArrayBufferLike>;
|
|
5824
6201
|
notNull: false;
|
|
5825
6202
|
hasDefault: false;
|
|
@@ -5831,9 +6208,9 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5831
6208
|
identity: undefined;
|
|
5832
6209
|
generated: undefined;
|
|
5833
6210
|
}, {}, {
|
|
5834
|
-
$type:
|
|
6211
|
+
$type: Part[] | null;
|
|
5835
6212
|
}>;
|
|
5836
|
-
metadata:
|
|
6213
|
+
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5837
6214
|
name: "metadata";
|
|
5838
6215
|
tableName: "ledger_artifacts";
|
|
5839
6216
|
dataType: "json";
|
|
@@ -5852,7 +6229,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5852
6229
|
}, {}, {
|
|
5853
6230
|
$type: Record<string, unknown> | null;
|
|
5854
6231
|
}>;
|
|
5855
|
-
summary:
|
|
6232
|
+
summary: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5856
6233
|
name: "summary";
|
|
5857
6234
|
tableName: "ledger_artifacts";
|
|
5858
6235
|
dataType: "string";
|
|
@@ -5871,7 +6248,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5871
6248
|
}, {}, {
|
|
5872
6249
|
length: number | undefined;
|
|
5873
6250
|
}>;
|
|
5874
|
-
mime:
|
|
6251
|
+
mime: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5875
6252
|
name: "mime";
|
|
5876
6253
|
tableName: "ledger_artifacts";
|
|
5877
6254
|
dataType: "json";
|
|
@@ -5890,7 +6267,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5890
6267
|
}, {}, {
|
|
5891
6268
|
$type: string[] | null;
|
|
5892
6269
|
}>;
|
|
5893
|
-
visibility:
|
|
6270
|
+
visibility: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5894
6271
|
name: "visibility";
|
|
5895
6272
|
tableName: "ledger_artifacts";
|
|
5896
6273
|
dataType: "string";
|
|
@@ -5909,7 +6286,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5909
6286
|
}, {}, {
|
|
5910
6287
|
length: number | undefined;
|
|
5911
6288
|
}>;
|
|
5912
|
-
allowedAgents:
|
|
6289
|
+
allowedAgents: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5913
6290
|
name: "allowed_agents";
|
|
5914
6291
|
tableName: "ledger_artifacts";
|
|
5915
6292
|
dataType: "json";
|
|
@@ -5928,7 +6305,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5928
6305
|
}, {}, {
|
|
5929
6306
|
$type: string[] | null;
|
|
5930
6307
|
}>;
|
|
5931
|
-
derivedFrom:
|
|
6308
|
+
derivedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5932
6309
|
name: "derived_from";
|
|
5933
6310
|
tableName: "ledger_artifacts";
|
|
5934
6311
|
dataType: "string";
|
|
@@ -5947,7 +6324,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5947
6324
|
}, {}, {
|
|
5948
6325
|
length: number | undefined;
|
|
5949
6326
|
}>;
|
|
5950
|
-
createdAt:
|
|
6327
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5951
6328
|
name: "created_at";
|
|
5952
6329
|
tableName: "ledger_artifacts";
|
|
5953
6330
|
dataType: "string";
|
|
@@ -5966,7 +6343,7 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5966
6343
|
}, {}, {
|
|
5967
6344
|
length: number | undefined;
|
|
5968
6345
|
}>;
|
|
5969
|
-
updatedAt:
|
|
6346
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5970
6347
|
name: "updated_at";
|
|
5971
6348
|
tableName: "ledger_artifacts";
|
|
5972
6349
|
dataType: "string";
|
|
@@ -5986,8 +6363,8 @@ export declare const LedgerArtifactSelectSchema: import("drizzle-zod").BuildSche
|
|
|
5986
6363
|
length: number | undefined;
|
|
5987
6364
|
}>;
|
|
5988
6365
|
}, undefined, undefined>;
|
|
5989
|
-
|
|
5990
|
-
tenantId:
|
|
6366
|
+
declare const LedgerArtifactInsertSchema: drizzle_zod.BuildSchema<"insert", {
|
|
6367
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
5991
6368
|
name: "tenant_id";
|
|
5992
6369
|
tableName: "ledger_artifacts";
|
|
5993
6370
|
dataType: "string";
|
|
@@ -6006,7 +6383,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6006
6383
|
}, {}, {
|
|
6007
6384
|
length: number | undefined;
|
|
6008
6385
|
}>;
|
|
6009
|
-
projectId:
|
|
6386
|
+
projectId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6010
6387
|
name: "project_id";
|
|
6011
6388
|
tableName: "ledger_artifacts";
|
|
6012
6389
|
dataType: "string";
|
|
@@ -6025,7 +6402,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6025
6402
|
}, {}, {
|
|
6026
6403
|
length: number | undefined;
|
|
6027
6404
|
}>;
|
|
6028
|
-
id:
|
|
6405
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6029
6406
|
name: "id";
|
|
6030
6407
|
tableName: "ledger_artifacts";
|
|
6031
6408
|
dataType: "string";
|
|
@@ -6044,7 +6421,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6044
6421
|
}, {}, {
|
|
6045
6422
|
length: number | undefined;
|
|
6046
6423
|
}>;
|
|
6047
|
-
taskId:
|
|
6424
|
+
taskId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6048
6425
|
name: "task_id";
|
|
6049
6426
|
tableName: "ledger_artifacts";
|
|
6050
6427
|
dataType: "string";
|
|
@@ -6063,7 +6440,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6063
6440
|
}, {}, {
|
|
6064
6441
|
length: number | undefined;
|
|
6065
6442
|
}>;
|
|
6066
|
-
contextId:
|
|
6443
|
+
contextId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6067
6444
|
name: "context_id";
|
|
6068
6445
|
tableName: "ledger_artifacts";
|
|
6069
6446
|
dataType: "string";
|
|
@@ -6082,7 +6459,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6082
6459
|
}, {}, {
|
|
6083
6460
|
length: number | undefined;
|
|
6084
6461
|
}>;
|
|
6085
|
-
type:
|
|
6462
|
+
type: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6086
6463
|
name: "type";
|
|
6087
6464
|
tableName: "ledger_artifacts";
|
|
6088
6465
|
dataType: "string";
|
|
@@ -6101,7 +6478,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6101
6478
|
}, {}, {
|
|
6102
6479
|
length: number | undefined;
|
|
6103
6480
|
}>;
|
|
6104
|
-
name:
|
|
6481
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6105
6482
|
name: "name";
|
|
6106
6483
|
tableName: "ledger_artifacts";
|
|
6107
6484
|
dataType: "string";
|
|
@@ -6120,7 +6497,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6120
6497
|
}, {}, {
|
|
6121
6498
|
length: number | undefined;
|
|
6122
6499
|
}>;
|
|
6123
|
-
description:
|
|
6500
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6124
6501
|
name: "description";
|
|
6125
6502
|
tableName: "ledger_artifacts";
|
|
6126
6503
|
dataType: "string";
|
|
@@ -6139,12 +6516,12 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6139
6516
|
}, {}, {
|
|
6140
6517
|
length: number | undefined;
|
|
6141
6518
|
}>;
|
|
6142
|
-
parts:
|
|
6519
|
+
parts: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6143
6520
|
name: "parts";
|
|
6144
6521
|
tableName: "ledger_artifacts";
|
|
6145
6522
|
dataType: "json";
|
|
6146
6523
|
columnType: "SQLiteBlobJson";
|
|
6147
|
-
data:
|
|
6524
|
+
data: Part[] | null;
|
|
6148
6525
|
driverParam: Buffer<ArrayBufferLike>;
|
|
6149
6526
|
notNull: false;
|
|
6150
6527
|
hasDefault: false;
|
|
@@ -6156,9 +6533,9 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6156
6533
|
identity: undefined;
|
|
6157
6534
|
generated: undefined;
|
|
6158
6535
|
}, {}, {
|
|
6159
|
-
$type:
|
|
6536
|
+
$type: Part[] | null;
|
|
6160
6537
|
}>;
|
|
6161
|
-
metadata:
|
|
6538
|
+
metadata: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6162
6539
|
name: "metadata";
|
|
6163
6540
|
tableName: "ledger_artifacts";
|
|
6164
6541
|
dataType: "json";
|
|
@@ -6177,7 +6554,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6177
6554
|
}, {}, {
|
|
6178
6555
|
$type: Record<string, unknown> | null;
|
|
6179
6556
|
}>;
|
|
6180
|
-
summary:
|
|
6557
|
+
summary: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6181
6558
|
name: "summary";
|
|
6182
6559
|
tableName: "ledger_artifacts";
|
|
6183
6560
|
dataType: "string";
|
|
@@ -6196,7 +6573,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6196
6573
|
}, {}, {
|
|
6197
6574
|
length: number | undefined;
|
|
6198
6575
|
}>;
|
|
6199
|
-
mime:
|
|
6576
|
+
mime: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6200
6577
|
name: "mime";
|
|
6201
6578
|
tableName: "ledger_artifacts";
|
|
6202
6579
|
dataType: "json";
|
|
@@ -6215,7 +6592,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6215
6592
|
}, {}, {
|
|
6216
6593
|
$type: string[] | null;
|
|
6217
6594
|
}>;
|
|
6218
|
-
visibility:
|
|
6595
|
+
visibility: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6219
6596
|
name: "visibility";
|
|
6220
6597
|
tableName: "ledger_artifacts";
|
|
6221
6598
|
dataType: "string";
|
|
@@ -6234,7 +6611,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6234
6611
|
}, {}, {
|
|
6235
6612
|
length: number | undefined;
|
|
6236
6613
|
}>;
|
|
6237
|
-
allowedAgents:
|
|
6614
|
+
allowedAgents: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6238
6615
|
name: "allowed_agents";
|
|
6239
6616
|
tableName: "ledger_artifacts";
|
|
6240
6617
|
dataType: "json";
|
|
@@ -6253,7 +6630,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6253
6630
|
}, {}, {
|
|
6254
6631
|
$type: string[] | null;
|
|
6255
6632
|
}>;
|
|
6256
|
-
derivedFrom:
|
|
6633
|
+
derivedFrom: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6257
6634
|
name: "derived_from";
|
|
6258
6635
|
tableName: "ledger_artifacts";
|
|
6259
6636
|
dataType: "string";
|
|
@@ -6272,7 +6649,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6272
6649
|
}, {}, {
|
|
6273
6650
|
length: number | undefined;
|
|
6274
6651
|
}>;
|
|
6275
|
-
createdAt:
|
|
6652
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6276
6653
|
name: "created_at";
|
|
6277
6654
|
tableName: "ledger_artifacts";
|
|
6278
6655
|
dataType: "string";
|
|
@@ -6291,7 +6668,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6291
6668
|
}, {}, {
|
|
6292
6669
|
length: number | undefined;
|
|
6293
6670
|
}>;
|
|
6294
|
-
updatedAt:
|
|
6671
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6295
6672
|
name: "updated_at";
|
|
6296
6673
|
tableName: "ledger_artifacts";
|
|
6297
6674
|
dataType: "string";
|
|
@@ -6311,7 +6688,7 @@ export declare const LedgerArtifactInsertSchema: import("drizzle-zod").BuildSche
|
|
|
6311
6688
|
length: number | undefined;
|
|
6312
6689
|
}>;
|
|
6313
6690
|
}, undefined, undefined>;
|
|
6314
|
-
|
|
6691
|
+
declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
6315
6692
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
6316
6693
|
projectId: z.ZodOptional<z.ZodString>;
|
|
6317
6694
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -6320,12 +6697,12 @@ export declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
6320
6697
|
type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6321
6698
|
name: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6322
6699
|
description: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6323
|
-
parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6324
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6700
|
+
parts: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>;
|
|
6701
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>;
|
|
6325
6702
|
summary: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6326
|
-
mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6703
|
+
mime: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>;
|
|
6327
6704
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6328
|
-
allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6705
|
+
allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>;
|
|
6329
6706
|
derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
6330
6707
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6331
6708
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -6333,58 +6710,58 @@ export declare const LedgerArtifactUpdateSchema: z.ZodObject<{
|
|
|
6333
6710
|
out: {};
|
|
6334
6711
|
in: {};
|
|
6335
6712
|
}>;
|
|
6336
|
-
|
|
6337
|
-
id: z.ZodString;
|
|
6713
|
+
declare const LedgerArtifactApiSelectSchema: z.ZodObject<{
|
|
6338
6714
|
type: z.ZodString;
|
|
6339
6715
|
name: z.ZodNullable<z.ZodString>;
|
|
6340
6716
|
description: z.ZodNullable<z.ZodString>;
|
|
6717
|
+
id: z.ZodString;
|
|
6341
6718
|
createdAt: z.ZodString;
|
|
6342
6719
|
updatedAt: z.ZodString;
|
|
6343
6720
|
contextId: z.ZodString;
|
|
6344
|
-
metadata: z.ZodNullable<z.ZodType<
|
|
6721
|
+
metadata: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
6345
6722
|
visibility: z.ZodNullable<z.ZodString>;
|
|
6346
6723
|
taskId: z.ZodNullable<z.ZodString>;
|
|
6347
|
-
parts: z.ZodNullable<z.ZodType<
|
|
6724
|
+
parts: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
6348
6725
|
summary: z.ZodNullable<z.ZodString>;
|
|
6349
|
-
mime: z.ZodNullable<z.ZodType<
|
|
6350
|
-
allowedAgents: z.ZodNullable<z.ZodType<
|
|
6726
|
+
mime: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
6727
|
+
allowedAgents: z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>;
|
|
6351
6728
|
derivedFrom: z.ZodNullable<z.ZodString>;
|
|
6352
6729
|
}, z.core.$strip>;
|
|
6353
|
-
|
|
6354
|
-
id: z.ZodString;
|
|
6730
|
+
declare const LedgerArtifactApiInsertSchema: z.ZodObject<{
|
|
6355
6731
|
type: z.ZodOptional<z.ZodString>;
|
|
6356
6732
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6357
6733
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6734
|
+
id: z.ZodString;
|
|
6358
6735
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6359
6736
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6360
6737
|
contextId: z.ZodString;
|
|
6361
|
-
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6738
|
+
metadata: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
6362
6739
|
visibility: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6363
6740
|
taskId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6364
|
-
parts: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6741
|
+
parts: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
6365
6742
|
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6366
|
-
mime: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6367
|
-
allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6743
|
+
mime: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
6744
|
+
allowedAgents: z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>;
|
|
6368
6745
|
derivedFrom: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6369
6746
|
}, z.core.$strip>;
|
|
6370
|
-
|
|
6371
|
-
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6747
|
+
declare const LedgerArtifactApiUpdateSchema: z.ZodObject<{
|
|
6372
6748
|
type: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6373
6749
|
name: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
6374
6750
|
description: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
6751
|
+
id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6375
6752
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6376
6753
|
updatedAt: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
6377
6754
|
contextId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
6378
|
-
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6755
|
+
metadata: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
6379
6756
|
visibility: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
6380
6757
|
taskId: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
6381
|
-
parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6758
|
+
parts: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
6382
6759
|
summary: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
6383
|
-
mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6384
|
-
allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6760
|
+
mime: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
6761
|
+
allowedAgents: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<drizzle_zod.Json, unknown, z.core.$ZodTypeInternals<drizzle_zod.Json, unknown>>>>>>;
|
|
6385
6762
|
derivedFrom: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
6386
6763
|
}, z.core.$strip>;
|
|
6387
|
-
|
|
6764
|
+
declare const StatusComponentSchema: z.ZodObject<{
|
|
6388
6765
|
type: z.ZodString;
|
|
6389
6766
|
description: z.ZodOptional<z.ZodString>;
|
|
6390
6767
|
detailsSchema: z.ZodOptional<z.ZodObject<{
|
|
@@ -6393,7 +6770,7 @@ export declare const StatusComponentSchema: z.ZodObject<{
|
|
|
6393
6770
|
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6394
6771
|
}, z.core.$strip>>;
|
|
6395
6772
|
}, z.core.$strip>;
|
|
6396
|
-
|
|
6773
|
+
declare const StatusUpdateSchema: z.ZodObject<{
|
|
6397
6774
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6398
6775
|
numEvents: z.ZodOptional<z.ZodNumber>;
|
|
6399
6776
|
timeInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6408,11 +6785,11 @@ export declare const StatusUpdateSchema: z.ZodObject<{
|
|
|
6408
6785
|
}, z.core.$strip>>;
|
|
6409
6786
|
}, z.core.$strip>>>;
|
|
6410
6787
|
}, z.core.$strip>;
|
|
6411
|
-
|
|
6412
|
-
id: z.ZodString;
|
|
6788
|
+
declare const FullGraphAgentInsertSchema: z.ZodObject<{
|
|
6413
6789
|
name: z.ZodString;
|
|
6414
|
-
description: z.ZodString;
|
|
6415
6790
|
prompt: z.ZodString;
|
|
6791
|
+
description: z.ZodString;
|
|
6792
|
+
id: z.ZodString;
|
|
6416
6793
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6417
6794
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6418
6795
|
models: z.ZodOptional<z.ZodObject<{
|
|
@@ -6438,14 +6815,14 @@ export declare const FullGraphAgentInsertSchema: z.ZodObject<{
|
|
|
6438
6815
|
}, {
|
|
6439
6816
|
stepCountIs?: number;
|
|
6440
6817
|
}>>>>;
|
|
6441
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6818
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
6442
6819
|
tools: z.ZodArray<z.ZodString>;
|
|
6443
6820
|
dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6444
6821
|
artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6445
6822
|
canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6446
6823
|
canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6447
6824
|
}, z.core.$strip>;
|
|
6448
|
-
|
|
6825
|
+
declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
6449
6826
|
name: z.ZodString;
|
|
6450
6827
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6451
6828
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -6454,10 +6831,10 @@ export declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
|
6454
6831
|
contextConfigId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6455
6832
|
id: z.ZodOptional<z.ZodString>;
|
|
6456
6833
|
agents: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
|
|
6457
|
-
id: z.ZodString;
|
|
6458
6834
|
name: z.ZodString;
|
|
6459
|
-
description: z.ZodString;
|
|
6460
6835
|
prompt: z.ZodString;
|
|
6836
|
+
description: z.ZodString;
|
|
6837
|
+
id: z.ZodString;
|
|
6461
6838
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6462
6839
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6463
6840
|
models: z.ZodOptional<z.ZodObject<{
|
|
@@ -6483,60 +6860,60 @@ export declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
|
6483
6860
|
}, {
|
|
6484
6861
|
stepCountIs?: number;
|
|
6485
6862
|
}>>>>;
|
|
6486
|
-
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6863
|
+
conversationHistoryConfig: z.ZodOptional<z.ZodNullable<z.ZodType<ConversationHistoryConfig, ConversationHistoryConfig, z.core.$ZodTypeInternals<ConversationHistoryConfig, ConversationHistoryConfig>>>>;
|
|
6487
6864
|
tools: z.ZodArray<z.ZodString>;
|
|
6488
6865
|
dataComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6489
6866
|
artifactComponents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6490
6867
|
canTransferTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6491
6868
|
canDelegateTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6492
6869
|
}, z.core.$strip>, z.ZodObject<{
|
|
6493
|
-
id: z.ZodString;
|
|
6494
6870
|
name: z.ZodString;
|
|
6495
6871
|
description: z.ZodString;
|
|
6496
|
-
|
|
6872
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
6873
|
+
id: z.ZodString;
|
|
6497
6874
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6498
6875
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6499
6876
|
baseUrl: z.ZodString;
|
|
6500
|
-
|
|
6877
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6501
6878
|
}, z.core.$strip>]>>;
|
|
6502
6879
|
tools: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6503
|
-
id: z.ZodString;
|
|
6504
6880
|
name: z.ZodString;
|
|
6881
|
+
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
6882
|
+
id: z.ZodString;
|
|
6883
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
6884
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6885
|
+
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6886
|
+
status: z.ZodOptional<z.ZodString>;
|
|
6505
6887
|
config: z.ZodType<{
|
|
6506
6888
|
type: "mcp";
|
|
6507
|
-
mcp:
|
|
6889
|
+
mcp: ToolMcpConfig;
|
|
6508
6890
|
}, {
|
|
6509
6891
|
type: "mcp";
|
|
6510
|
-
mcp:
|
|
6892
|
+
mcp: ToolMcpConfig;
|
|
6511
6893
|
}, z.core.$ZodTypeInternals<{
|
|
6512
6894
|
type: "mcp";
|
|
6513
|
-
mcp:
|
|
6895
|
+
mcp: ToolMcpConfig;
|
|
6514
6896
|
}, {
|
|
6515
6897
|
type: "mcp";
|
|
6516
|
-
mcp:
|
|
6898
|
+
mcp: ToolMcpConfig;
|
|
6517
6899
|
}>>;
|
|
6518
|
-
credentialReferenceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6519
|
-
createdAt: z.ZodOptional<z.ZodString>;
|
|
6520
|
-
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6521
|
-
headers: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, string>, Record<string, string>, z.core.$ZodTypeInternals<Record<string, string>, Record<string, string>>>>>;
|
|
6522
|
-
status: z.ZodOptional<z.ZodString>;
|
|
6523
6900
|
imageUrl: z.ZodOptional<z.ZodString>;
|
|
6524
|
-
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6901
|
+
capabilities: z.ZodOptional<z.ZodNullable<z.ZodType<ToolServerCapabilities, ToolServerCapabilities, z.core.$ZodTypeInternals<ToolServerCapabilities, ToolServerCapabilities>>>>;
|
|
6525
6902
|
lastHealthCheck: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6526
6903
|
lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6527
|
-
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<
|
|
6904
|
+
availableTools: z.ZodOptional<z.ZodNullable<z.ZodType<McpToolDefinition[], McpToolDefinition[], z.core.$ZodTypeInternals<McpToolDefinition[], McpToolDefinition[]>>>>;
|
|
6528
6905
|
lastToolsSync: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6529
6906
|
}, z.core.$strip>>;
|
|
6530
6907
|
credentialReferences: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6531
|
-
id: z.ZodString;
|
|
6532
6908
|
type: z.ZodString;
|
|
6909
|
+
id: z.ZodString;
|
|
6533
6910
|
credentialStoreId: z.ZodString;
|
|
6534
6911
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
6535
6912
|
}, z.core.$strip>>>;
|
|
6536
6913
|
dataComponents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6537
|
-
id: z.ZodString;
|
|
6538
6914
|
name: z.ZodString;
|
|
6539
6915
|
description: z.ZodString;
|
|
6916
|
+
id: z.ZodString;
|
|
6540
6917
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
6541
6918
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
6542
6919
|
props: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>>;
|
|
@@ -6552,11 +6929,11 @@ export declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
|
6552
6929
|
in: {};
|
|
6553
6930
|
}>>>;
|
|
6554
6931
|
contextConfig: z.ZodOptional<z.ZodObject<{
|
|
6555
|
-
id: z.ZodString;
|
|
6556
6932
|
name: z.ZodString;
|
|
6557
6933
|
description: z.ZodString;
|
|
6934
|
+
id: z.ZodString;
|
|
6558
6935
|
requestContextSchema: z.ZodOptional<z.ZodUnknown>;
|
|
6559
|
-
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string,
|
|
6936
|
+
contextVariables: z.ZodOptional<z.ZodNullable<z.ZodType<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>, z.core.$ZodTypeInternals<Record<string, ContextFetchDefinition>, Record<string, ContextFetchDefinition>>>>>;
|
|
6560
6937
|
}, z.core.$strip>>;
|
|
6561
6938
|
statusUpdates: z.ZodOptional<z.ZodObject<{
|
|
6562
6939
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6592,13 +6969,13 @@ export declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
|
6592
6969
|
}, z.core.$strip>>;
|
|
6593
6970
|
graphPrompt: z.ZodOptional<z.ZodString>;
|
|
6594
6971
|
}, z.core.$strip>;
|
|
6595
|
-
|
|
6972
|
+
declare const PaginationSchema: z.ZodObject<{
|
|
6596
6973
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6597
6974
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
6598
6975
|
total: z.ZodNumber;
|
|
6599
6976
|
pages: z.ZodNumber;
|
|
6600
6977
|
}, z.core.$strip>;
|
|
6601
|
-
|
|
6978
|
+
declare const ListResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
|
|
6602
6979
|
data: z.ZodArray<T>;
|
|
6603
6980
|
pagination: z.ZodObject<{
|
|
6604
6981
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -6607,23 +6984,23 @@ export declare const ListResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T)
|
|
|
6607
6984
|
pages: z.ZodNumber;
|
|
6608
6985
|
}, z.core.$strip>;
|
|
6609
6986
|
}, z.core.$strip>;
|
|
6610
|
-
|
|
6987
|
+
declare const SingleResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
|
|
6611
6988
|
data: T;
|
|
6612
6989
|
}, z.core.$strip>;
|
|
6613
|
-
|
|
6990
|
+
declare const ErrorResponseSchema: z.ZodObject<{
|
|
6614
6991
|
error: z.ZodString;
|
|
6615
6992
|
message: z.ZodOptional<z.ZodString>;
|
|
6616
6993
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
6617
6994
|
}, z.core.$strip>;
|
|
6618
|
-
|
|
6995
|
+
declare const ExistsResponseSchema: z.ZodObject<{
|
|
6619
6996
|
exists: z.ZodBoolean;
|
|
6620
6997
|
}, z.core.$strip>;
|
|
6621
|
-
|
|
6998
|
+
declare const RemovedResponseSchema: z.ZodObject<{
|
|
6622
6999
|
message: z.ZodString;
|
|
6623
7000
|
removed: z.ZodBoolean;
|
|
6624
7001
|
}, z.core.$strip>;
|
|
6625
|
-
|
|
6626
|
-
tenantId:
|
|
7002
|
+
declare const ProjectSelectSchema: drizzle_zod.BuildSchema<"select", {
|
|
7003
|
+
tenantId: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6627
7004
|
name: "tenant_id";
|
|
6628
7005
|
tableName: "projects";
|
|
6629
7006
|
dataType: "string";
|
|
@@ -6642,7 +7019,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6642
7019
|
}, {}, {
|
|
6643
7020
|
length: number | undefined;
|
|
6644
7021
|
}>;
|
|
6645
|
-
id:
|
|
7022
|
+
id: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6646
7023
|
name: "id";
|
|
6647
7024
|
tableName: "projects";
|
|
6648
7025
|
dataType: "string";
|
|
@@ -6661,7 +7038,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6661
7038
|
}, {}, {
|
|
6662
7039
|
length: number | undefined;
|
|
6663
7040
|
}>;
|
|
6664
|
-
name:
|
|
7041
|
+
name: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6665
7042
|
name: "name";
|
|
6666
7043
|
tableName: "projects";
|
|
6667
7044
|
dataType: "string";
|
|
@@ -6680,7 +7057,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6680
7057
|
}, {}, {
|
|
6681
7058
|
length: number | undefined;
|
|
6682
7059
|
}>;
|
|
6683
|
-
description:
|
|
7060
|
+
description: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6684
7061
|
name: "description";
|
|
6685
7062
|
tableName: "projects";
|
|
6686
7063
|
dataType: "string";
|
|
@@ -6699,7 +7076,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6699
7076
|
}, {}, {
|
|
6700
7077
|
length: number | undefined;
|
|
6701
7078
|
}>;
|
|
6702
|
-
models:
|
|
7079
|
+
models: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6703
7080
|
name: "models";
|
|
6704
7081
|
tableName: "projects";
|
|
6705
7082
|
dataType: "json";
|
|
@@ -6744,7 +7121,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6744
7121
|
} | undefined;
|
|
6745
7122
|
};
|
|
6746
7123
|
}>;
|
|
6747
|
-
stopWhen:
|
|
7124
|
+
stopWhen: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6748
7125
|
name: "stop_when";
|
|
6749
7126
|
tableName: "projects";
|
|
6750
7127
|
dataType: "json";
|
|
@@ -6769,7 +7146,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6769
7146
|
stepCountIs?: number;
|
|
6770
7147
|
};
|
|
6771
7148
|
}>;
|
|
6772
|
-
createdAt:
|
|
7149
|
+
createdAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6773
7150
|
name: "created_at";
|
|
6774
7151
|
tableName: "projects";
|
|
6775
7152
|
dataType: "string";
|
|
@@ -6788,7 +7165,7 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6788
7165
|
}, {}, {
|
|
6789
7166
|
length: number | undefined;
|
|
6790
7167
|
}>;
|
|
6791
|
-
updatedAt:
|
|
7168
|
+
updatedAt: drizzle_orm_sqlite_core.SQLiteColumn<{
|
|
6792
7169
|
name: "updated_at";
|
|
6793
7170
|
tableName: "projects";
|
|
6794
7171
|
dataType: "string";
|
|
@@ -6808,11 +7185,11 @@ export declare const ProjectSelectSchema: import("drizzle-zod").BuildSchema<"sel
|
|
|
6808
7185
|
length: number | undefined;
|
|
6809
7186
|
}>;
|
|
6810
7187
|
}, undefined, undefined>;
|
|
6811
|
-
|
|
6812
|
-
tenantId: z.ZodString;
|
|
6813
|
-
id: z.ZodString;
|
|
7188
|
+
declare const ProjectInsertSchema: z.ZodObject<{
|
|
6814
7189
|
name: z.ZodString;
|
|
6815
7190
|
description: z.ZodString;
|
|
7191
|
+
id: z.ZodString;
|
|
7192
|
+
tenantId: z.ZodString;
|
|
6816
7193
|
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
6817
7194
|
base?: {
|
|
6818
7195
|
model?: string | undefined;
|
|
@@ -6883,11 +7260,11 @@ export declare const ProjectInsertSchema: z.ZodObject<{
|
|
|
6883
7260
|
out: {};
|
|
6884
7261
|
in: {};
|
|
6885
7262
|
}>;
|
|
6886
|
-
|
|
6887
|
-
tenantId: z.ZodOptional<z.ZodString>;
|
|
6888
|
-
id: z.ZodOptional<z.ZodString>;
|
|
7263
|
+
declare const ProjectUpdateSchema: z.ZodObject<{
|
|
6889
7264
|
name: z.ZodOptional<z.ZodString>;
|
|
6890
7265
|
description: z.ZodOptional<z.ZodString>;
|
|
7266
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7267
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
6891
7268
|
models: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
6892
7269
|
base?: {
|
|
6893
7270
|
model?: string | undefined;
|
|
@@ -6958,10 +7335,10 @@ export declare const ProjectUpdateSchema: z.ZodObject<{
|
|
|
6958
7335
|
out: {};
|
|
6959
7336
|
in: {};
|
|
6960
7337
|
}>;
|
|
6961
|
-
|
|
6962
|
-
id: z.ZodString;
|
|
7338
|
+
declare const ProjectApiSelectSchema: z.ZodObject<{
|
|
6963
7339
|
name: z.ZodString;
|
|
6964
7340
|
description: z.ZodString;
|
|
7341
|
+
id: z.ZodString;
|
|
6965
7342
|
createdAt: z.ZodString;
|
|
6966
7343
|
updatedAt: z.ZodString;
|
|
6967
7344
|
models: z.ZodNullable<z.ZodType<{
|
|
@@ -7034,10 +7411,10 @@ export declare const ProjectApiSelectSchema: z.ZodObject<{
|
|
|
7034
7411
|
out: {};
|
|
7035
7412
|
in: {};
|
|
7036
7413
|
}>;
|
|
7037
|
-
|
|
7038
|
-
id: z.ZodString;
|
|
7414
|
+
declare const ProjectApiInsertSchema: z.ZodObject<{
|
|
7039
7415
|
name: z.ZodString;
|
|
7040
7416
|
description: z.ZodString;
|
|
7417
|
+
id: z.ZodString;
|
|
7041
7418
|
models: z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7042
7419
|
base?: {
|
|
7043
7420
|
model?: string | undefined;
|
|
@@ -7108,10 +7485,10 @@ export declare const ProjectApiInsertSchema: z.ZodObject<{
|
|
|
7108
7485
|
out: {};
|
|
7109
7486
|
in: {};
|
|
7110
7487
|
}>;
|
|
7111
|
-
|
|
7112
|
-
id: z.ZodOptional<z.ZodString>;
|
|
7488
|
+
declare const ProjectApiUpdateSchema: z.ZodObject<{
|
|
7113
7489
|
name: z.ZodOptional<z.ZodString>;
|
|
7114
7490
|
description: z.ZodOptional<z.ZodString>;
|
|
7491
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7115
7492
|
models: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
7116
7493
|
base?: {
|
|
7117
7494
|
model?: string | undefined;
|
|
@@ -7182,32 +7559,388 @@ export declare const ProjectApiUpdateSchema: z.ZodObject<{
|
|
|
7182
7559
|
out: {};
|
|
7183
7560
|
in: {};
|
|
7184
7561
|
}>;
|
|
7185
|
-
|
|
7562
|
+
declare const HeadersScopeSchema: z.ZodObject<{
|
|
7186
7563
|
'x-inkeep-tenant-id': z.ZodOptional<z.ZodString>;
|
|
7187
7564
|
'x-inkeep-project-id': z.ZodOptional<z.ZodString>;
|
|
7188
7565
|
'x-inkeep-graph-id': z.ZodOptional<z.ZodString>;
|
|
7189
7566
|
}, z.core.$strip>;
|
|
7190
|
-
|
|
7567
|
+
declare const TenantParamsSchema: z.ZodObject<{
|
|
7191
7568
|
tenantId: z.ZodString;
|
|
7192
7569
|
}, z.core.$strip>;
|
|
7193
|
-
|
|
7570
|
+
declare const TenantProjectParamsSchema: z.ZodObject<{
|
|
7194
7571
|
tenantId: z.ZodString;
|
|
7195
7572
|
projectId: z.ZodString;
|
|
7196
7573
|
}, z.core.$strip>;
|
|
7197
|
-
|
|
7574
|
+
declare const TenantProjectIdParamsSchema: z.ZodObject<{
|
|
7198
7575
|
tenantId: z.ZodString;
|
|
7199
7576
|
projectId: z.ZodString;
|
|
7200
7577
|
id: z.ZodString;
|
|
7201
7578
|
}, z.core.$strip>;
|
|
7202
|
-
|
|
7579
|
+
declare const TenantIdParamsSchema: z.ZodObject<{
|
|
7203
7580
|
tenantId: z.ZodString;
|
|
7204
7581
|
id: z.ZodString;
|
|
7205
7582
|
}, z.core.$strip>;
|
|
7206
|
-
|
|
7583
|
+
declare const IdParamsSchema: z.ZodObject<{
|
|
7207
7584
|
id: z.ZodString;
|
|
7208
7585
|
}, z.core.$strip>;
|
|
7209
|
-
|
|
7586
|
+
declare const PaginationQueryParamsSchema: z.ZodObject<{
|
|
7210
7587
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7211
7588
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
7212
7589
|
}, z.core.$strip>;
|
|
7213
|
-
|
|
7590
|
+
|
|
7591
|
+
type AgentSelect = z$1.infer<typeof AgentSelectSchema>;
|
|
7592
|
+
type AgentInsert = z$1.infer<typeof AgentInsertSchema>;
|
|
7593
|
+
type AgentUpdate = z$1.infer<typeof AgentUpdateSchema>;
|
|
7594
|
+
type AgentApiSelect = z$1.infer<typeof AgentApiSelectSchema>;
|
|
7595
|
+
type AgentApiInsert = z$1.infer<typeof AgentApiInsertSchema>;
|
|
7596
|
+
type AgentApiUpdate = z$1.infer<typeof AgentApiUpdateSchema>;
|
|
7597
|
+
type AgentRelationSelect = z$1.infer<typeof AgentRelationSelectSchema>;
|
|
7598
|
+
type AgentRelationInsert = z$1.infer<typeof AgentRelationInsertSchema>;
|
|
7599
|
+
type AgentRelationUpdate = z$1.infer<typeof AgentRelationUpdateSchema>;
|
|
7600
|
+
type AgentRelationApiSelect = z$1.infer<typeof AgentRelationApiSelectSchema>;
|
|
7601
|
+
type AgentRelationApiInsert = z$1.infer<typeof AgentRelationApiInsertSchema>;
|
|
7602
|
+
type AgentRelationApiUpdate = z$1.infer<typeof AgentRelationApiUpdateSchema>;
|
|
7603
|
+
type AgentRelationQuery = z$1.infer<typeof AgentRelationQuerySchema>;
|
|
7604
|
+
type ExternalAgentRelationInsert = z$1.infer<typeof ExternalAgentRelationInsertSchema>;
|
|
7605
|
+
type ExternalAgentRelationApiInsert = z$1.infer<typeof ExternalAgentRelationApiInsertSchema>;
|
|
7606
|
+
type AgentGraphSelect = z$1.infer<typeof AgentGraphSelectSchema>;
|
|
7607
|
+
type AgentGraphInsert = z$1.infer<typeof AgentGraphInsertSchema>;
|
|
7608
|
+
type AgentGraphUpdate = z$1.infer<typeof AgentGraphUpdateSchema>;
|
|
7609
|
+
type AgentGraphApiSelect = z$1.infer<typeof AgentGraphApiSelectSchema>;
|
|
7610
|
+
type AgentGraphApiInsert = z$1.infer<typeof AgentGraphApiInsertSchema>;
|
|
7611
|
+
type AgentGraphApiUpdate = z$1.infer<typeof AgentGraphApiUpdateSchema>;
|
|
7612
|
+
type TaskSelect = z$1.infer<typeof TaskSelectSchema>;
|
|
7613
|
+
type TaskInsert = z$1.infer<typeof TaskInsertSchema>;
|
|
7614
|
+
type TaskUpdate = z$1.infer<typeof TaskUpdateSchema>;
|
|
7615
|
+
type TaskApiSelect = z$1.infer<typeof TaskApiSelectSchema>;
|
|
7616
|
+
type TaskApiInsert = z$1.infer<typeof TaskApiInsertSchema>;
|
|
7617
|
+
type TaskApiUpdate = z$1.infer<typeof TaskApiUpdateSchema>;
|
|
7618
|
+
type TaskRelationSelect = z$1.infer<typeof TaskRelationSelectSchema>;
|
|
7619
|
+
type TaskRelationInsert = z$1.infer<typeof TaskRelationInsertSchema>;
|
|
7620
|
+
type TaskRelationUpdate = z$1.infer<typeof TaskRelationUpdateSchema>;
|
|
7621
|
+
type TaskRelationApiSelect = z$1.infer<typeof TaskRelationApiSelectSchema>;
|
|
7622
|
+
type TaskRelationApiInsert = z$1.infer<typeof TaskRelationApiInsertSchema>;
|
|
7623
|
+
type TaskRelationApiUpdate = z$1.infer<typeof TaskRelationApiUpdateSchema>;
|
|
7624
|
+
type ToolSelect = z$1.infer<typeof ToolSelectSchema>;
|
|
7625
|
+
type ToolInsert = z$1.infer<typeof ToolInsertSchema>;
|
|
7626
|
+
type ToolUpdate = z$1.infer<typeof ToolUpdateSchema>;
|
|
7627
|
+
type ToolApiSelect = z$1.infer<typeof ToolApiSelectSchema>;
|
|
7628
|
+
type ToolApiInsert = z$1.infer<typeof ToolApiInsertSchema>;
|
|
7629
|
+
type ToolApiUpdate = z$1.infer<typeof ToolApiUpdateSchema>;
|
|
7630
|
+
type McpTool = z$1.infer<typeof McpToolSchema>;
|
|
7631
|
+
type MCPToolConfig = z$1.infer<typeof MCPToolConfigSchema>;
|
|
7632
|
+
type McpToolServerConfig = z$1.infer<typeof McpToolServerConfigSchema>;
|
|
7633
|
+
type ConversationSelect = z$1.infer<typeof ConversationSelectSchema>;
|
|
7634
|
+
type ConversationInsert = z$1.infer<typeof ConversationInsertSchema>;
|
|
7635
|
+
type ConversationUpdate = z$1.infer<typeof ConversationUpdateSchema>;
|
|
7636
|
+
type ConversationApiSelect = z$1.infer<typeof ConversationApiSelectSchema>;
|
|
7637
|
+
type ConversationApiInsert = z$1.infer<typeof ConversationApiInsertSchema>;
|
|
7638
|
+
type ConversationApiUpdate = z$1.infer<typeof ConversationApiUpdateSchema>;
|
|
7639
|
+
type MessageSelect = z$1.infer<typeof MessageSelectSchema>;
|
|
7640
|
+
type MessageInsert = z$1.infer<typeof MessageInsertSchema>;
|
|
7641
|
+
type MessageUpdate = z$1.infer<typeof MessageUpdateSchema>;
|
|
7642
|
+
type MessageApiSelect = z$1.infer<typeof MessageApiSelectSchema>;
|
|
7643
|
+
type MessageApiInsert = z$1.infer<typeof MessageApiInsertSchema>;
|
|
7644
|
+
type MessageApiUpdate = z$1.infer<typeof MessageApiUpdateSchema>;
|
|
7645
|
+
type ContextConfigSelect = z$1.infer<typeof ContextConfigSelectSchema>;
|
|
7646
|
+
type ContextConfigInsert = z$1.infer<typeof ContextConfigInsertSchema>;
|
|
7647
|
+
type ContextConfigUpdate = z$1.infer<typeof ContextConfigUpdateSchema>;
|
|
7648
|
+
type ContextConfigApiSelect = z$1.infer<typeof ContextConfigApiSelectSchema>;
|
|
7649
|
+
type ContextConfigApiInsert = z$1.infer<typeof ContextConfigApiInsertSchema>;
|
|
7650
|
+
type ContextConfigApiUpdate = z$1.infer<typeof ContextConfigApiUpdateSchema>;
|
|
7651
|
+
type FetchDefinition = z$1.infer<typeof FetchDefinitionSchema>;
|
|
7652
|
+
type FetchConfig = z$1.infer<typeof FetchConfigSchema>;
|
|
7653
|
+
type ContextCacheSelect = z$1.infer<typeof ContextCacheSelectSchema>;
|
|
7654
|
+
type ContextCacheInsert = z$1.infer<typeof ContextCacheInsertSchema>;
|
|
7655
|
+
type ContextCacheUpdate = z$1.infer<typeof ContextCacheUpdateSchema>;
|
|
7656
|
+
type ContextCacheApiSelect = z$1.infer<typeof ContextCacheApiSelectSchema>;
|
|
7657
|
+
type ContextCacheApiInsert = z$1.infer<typeof ContextCacheApiInsertSchema>;
|
|
7658
|
+
type ContextCacheApiUpdate = z$1.infer<typeof ContextCacheApiUpdateSchema>;
|
|
7659
|
+
type DataComponentSelect = z$1.infer<typeof DataComponentSelectSchema>;
|
|
7660
|
+
type DataComponentInsert = z$1.infer<typeof DataComponentInsertSchema>;
|
|
7661
|
+
type DataComponentUpdate = z$1.infer<typeof DataComponentUpdateSchema>;
|
|
7662
|
+
type DataComponentApiSelect = z$1.infer<typeof DataComponentApiSelectSchema>;
|
|
7663
|
+
type DataComponentApiInsert = z$1.infer<typeof DataComponentApiInsertSchema>;
|
|
7664
|
+
type DataComponentApiUpdate = z$1.infer<typeof DataComponentApiUpdateSchema>;
|
|
7665
|
+
type AgentDataComponentSelect = z$1.infer<typeof AgentDataComponentSelectSchema>;
|
|
7666
|
+
type AgentDataComponentInsert = z$1.infer<typeof AgentDataComponentInsertSchema>;
|
|
7667
|
+
type AgentDataComponentUpdate = z$1.infer<typeof AgentDataComponentUpdateSchema>;
|
|
7668
|
+
type AgentDataComponentApiSelect = z$1.infer<typeof AgentDataComponentApiSelectSchema>;
|
|
7669
|
+
type AgentDataComponentApiInsert = z$1.infer<typeof AgentDataComponentApiInsertSchema>;
|
|
7670
|
+
type AgentDataComponentApiUpdate = z$1.infer<typeof AgentDataComponentApiUpdateSchema>;
|
|
7671
|
+
type ArtifactComponentSelect = z$1.infer<typeof ArtifactComponentSelectSchema>;
|
|
7672
|
+
type ArtifactComponentInsert = z$1.infer<typeof ArtifactComponentInsertSchema>;
|
|
7673
|
+
type ArtifactComponentUpdate = z$1.infer<typeof ArtifactComponentUpdateSchema>;
|
|
7674
|
+
type ArtifactComponentApiSelect = z$1.infer<typeof ArtifactComponentApiSelectSchema>;
|
|
7675
|
+
type ArtifactComponentApiInsert = z$1.infer<typeof ArtifactComponentApiInsertSchema>;
|
|
7676
|
+
type ArtifactComponentApiUpdate = z$1.infer<typeof ArtifactComponentApiUpdateSchema>;
|
|
7677
|
+
type AgentArtifactComponentSelect = z$1.infer<typeof AgentArtifactComponentSelectSchema>;
|
|
7678
|
+
type AgentArtifactComponentInsert = z$1.infer<typeof AgentArtifactComponentInsertSchema>;
|
|
7679
|
+
type AgentArtifactComponentUpdate = z$1.infer<typeof AgentArtifactComponentUpdateSchema>;
|
|
7680
|
+
type AgentArtifactComponentApiSelect = z$1.infer<typeof AgentArtifactComponentApiSelectSchema>;
|
|
7681
|
+
type AgentArtifactComponentApiInsert = z$1.infer<typeof AgentArtifactComponentApiInsertSchema>;
|
|
7682
|
+
type AgentArtifactComponentApiUpdate = z$1.infer<typeof AgentArtifactComponentApiUpdateSchema>;
|
|
7683
|
+
type ExternalAgentSelect = z$1.infer<typeof ExternalAgentSelectSchema>;
|
|
7684
|
+
type ExternalAgentInsert = z$1.infer<typeof ExternalAgentInsertSchema>;
|
|
7685
|
+
type ExternalAgentUpdate = z$1.infer<typeof ExternalAgentUpdateSchema>;
|
|
7686
|
+
type ExternalAgentApiSelect = z$1.infer<typeof ExternalAgentApiSelectSchema>;
|
|
7687
|
+
type ExternalAgentApiInsert = z$1.infer<typeof ExternalAgentApiInsertSchema>;
|
|
7688
|
+
type ExternalAgentApiUpdate = z$1.infer<typeof ExternalAgentApiUpdateSchema>;
|
|
7689
|
+
type AllAgentSelect = z$1.infer<typeof AllAgentSchema>;
|
|
7690
|
+
type ApiKeySelect = z$1.infer<typeof ApiKeySelectSchema>;
|
|
7691
|
+
type ApiKeyInsert = z$1.infer<typeof ApiKeyInsertSchema>;
|
|
7692
|
+
type ApiKeyUpdate = z$1.infer<typeof ApiKeyUpdateSchema>;
|
|
7693
|
+
type ApiKeyApiSelect = z$1.infer<typeof ApiKeyApiSelectSchema>;
|
|
7694
|
+
type ApiKeyApiInsert = z$1.infer<typeof ApiKeyApiInsertSchema>;
|
|
7695
|
+
type ApiKeyApiUpdate = z$1.infer<typeof ApiKeyApiUpdateSchema>;
|
|
7696
|
+
type ApiKeyApiCreationResponse = z$1.infer<typeof ApiKeyApiCreationResponseSchema>;
|
|
7697
|
+
type CredentialReferenceSelect = z$1.infer<typeof CredentialReferenceSelectSchema>;
|
|
7698
|
+
type CredentialReferenceInsert = z$1.infer<typeof CredentialReferenceInsertSchema>;
|
|
7699
|
+
type CredentialReferenceUpdate = z$1.infer<typeof CredentialReferenceUpdateSchema>;
|
|
7700
|
+
type CredentialReferenceApiSelect = z$1.infer<typeof CredentialReferenceApiSelectSchema>;
|
|
7701
|
+
type CredentialReferenceApiInsert = z$1.infer<typeof CredentialReferenceApiInsertSchema>;
|
|
7702
|
+
type CredentialReferenceApiUpdate = z$1.infer<typeof CredentialReferenceApiUpdateSchema>;
|
|
7703
|
+
type AgentToolRelationSelect = z$1.infer<typeof AgentToolRelationSelectSchema>;
|
|
7704
|
+
type AgentToolRelationInsert = z$1.infer<typeof AgentToolRelationInsertSchema>;
|
|
7705
|
+
type AgentToolRelationUpdate = z$1.infer<typeof AgentToolRelationUpdateSchema>;
|
|
7706
|
+
type AgentToolRelationApiSelect = z$1.infer<typeof AgentToolRelationApiSelectSchema>;
|
|
7707
|
+
type AgentToolRelationApiInsert = z$1.infer<typeof AgentToolRelationApiInsertSchema>;
|
|
7708
|
+
type AgentToolRelationApiUpdate = z$1.infer<typeof AgentToolRelationApiUpdateSchema>;
|
|
7709
|
+
type LedgerArtifactSelect = z$1.infer<typeof LedgerArtifactSelectSchema>;
|
|
7710
|
+
type LedgerArtifactInsert = z$1.infer<typeof LedgerArtifactInsertSchema>;
|
|
7711
|
+
type LedgerArtifactUpdate = z$1.infer<typeof LedgerArtifactUpdateSchema>;
|
|
7712
|
+
type LedgerArtifactApiSelect = z$1.infer<typeof LedgerArtifactApiSelectSchema>;
|
|
7713
|
+
type LedgerArtifactApiInsert = z$1.infer<typeof LedgerArtifactApiInsertSchema>;
|
|
7714
|
+
type LedgerArtifactApiUpdate = z$1.infer<typeof LedgerArtifactApiUpdateSchema>;
|
|
7715
|
+
type FullGraphDefinition = z$1.infer<typeof FullGraphDefinitionSchema>;
|
|
7716
|
+
type FullGraphAgentInsert = z$1.infer<typeof FullGraphAgentInsertSchema>;
|
|
7717
|
+
type InternalAgentDefinition = z$1.infer<typeof AgentApiInsertSchema> & {
|
|
7718
|
+
tools: string[];
|
|
7719
|
+
dataComponents?: string[];
|
|
7720
|
+
artifactComponents?: string[];
|
|
7721
|
+
canTransferTo?: string[];
|
|
7722
|
+
canDelegateTo?: string[];
|
|
7723
|
+
};
|
|
7724
|
+
type AgentDefinition = InternalAgentDefinition | ExternalAgentApiInsert;
|
|
7725
|
+
type ToolDefinition = ToolApiInsert & {
|
|
7726
|
+
credentialReferenceId?: string | null;
|
|
7727
|
+
};
|
|
7728
|
+
type ProjectSelect = z$1.infer<typeof ProjectSelectSchema>;
|
|
7729
|
+
type ProjectInsert = z$1.infer<typeof ProjectInsertSchema>;
|
|
7730
|
+
type ProjectUpdate = z$1.infer<typeof ProjectUpdateSchema>;
|
|
7731
|
+
type ProjectApiSelect = z$1.infer<typeof ProjectApiSelectSchema>;
|
|
7732
|
+
type ProjectApiInsert = z$1.infer<typeof ProjectApiInsertSchema>;
|
|
7733
|
+
type ProjectApiUpdate = z$1.infer<typeof ProjectApiUpdateSchema>;
|
|
7734
|
+
type Pagination = z$1.infer<typeof PaginationSchema>;
|
|
7735
|
+
|
|
7736
|
+
type MessageVisibility = 'user-facing' | 'internal' | 'system' | 'external';
|
|
7737
|
+
type MessageType = 'chat' | 'a2a-request' | 'a2a-response' | 'task-update' | 'tool-call';
|
|
7738
|
+
type MessageRole = 'user' | 'agent' | 'system';
|
|
7739
|
+
type MessageMode = 'full' | 'scoped' | 'none';
|
|
7740
|
+
type Models = z$1.infer<typeof ModelSchema>;
|
|
7741
|
+
type ModelSettings = {
|
|
7742
|
+
model?: string;
|
|
7743
|
+
providerOptions?: Record<string, unknown>;
|
|
7744
|
+
};
|
|
7745
|
+
type StatusUpdateSettings = z$1.infer<typeof StatusUpdateSchema>;
|
|
7746
|
+
type StatusComponent = z$1.infer<typeof StatusComponentSchema>;
|
|
7747
|
+
type PaginationConfig = {
|
|
7748
|
+
page?: number;
|
|
7749
|
+
limit?: number;
|
|
7750
|
+
};
|
|
7751
|
+
type PaginationResult = {
|
|
7752
|
+
page: number;
|
|
7753
|
+
limit: number;
|
|
7754
|
+
total: number;
|
|
7755
|
+
pages: number;
|
|
7756
|
+
};
|
|
7757
|
+
type ScopeConfig = {
|
|
7758
|
+
tenantId: string;
|
|
7759
|
+
projectId: string;
|
|
7760
|
+
};
|
|
7761
|
+
interface ConversationScopeOptions {
|
|
7762
|
+
taskId?: string;
|
|
7763
|
+
agentId?: string;
|
|
7764
|
+
}
|
|
7765
|
+
type ConversationHistoryConfig = {
|
|
7766
|
+
mode?: 'full' | 'scoped' | 'none';
|
|
7767
|
+
limit?: number;
|
|
7768
|
+
maxOutputTokens?: number;
|
|
7769
|
+
includeInternal?: boolean;
|
|
7770
|
+
messageTypes?: MessageType[];
|
|
7771
|
+
};
|
|
7772
|
+
interface AgentConversationHistoryConfig extends ConversationHistoryConfig {
|
|
7773
|
+
mode: 'full' | 'scoped' | 'none';
|
|
7774
|
+
}
|
|
7775
|
+
type ConversationMetadata = {
|
|
7776
|
+
userContext?: Record<string, unknown>;
|
|
7777
|
+
preferences?: Record<string, unknown>;
|
|
7778
|
+
sessionData?: Record<string, unknown>;
|
|
7779
|
+
};
|
|
7780
|
+
type MessageContent = {
|
|
7781
|
+
text?: string;
|
|
7782
|
+
parts?: Array<{
|
|
7783
|
+
kind: string;
|
|
7784
|
+
text?: string;
|
|
7785
|
+
data?: string | Record<string, unknown>;
|
|
7786
|
+
metadata?: Record<string, unknown>;
|
|
7787
|
+
}>;
|
|
7788
|
+
tool_calls?: Array<{
|
|
7789
|
+
id: string;
|
|
7790
|
+
type: string;
|
|
7791
|
+
function: {
|
|
7792
|
+
name: string;
|
|
7793
|
+
arguments: string;
|
|
7794
|
+
};
|
|
7795
|
+
}>;
|
|
7796
|
+
tool_call_id?: string;
|
|
7797
|
+
name?: string;
|
|
7798
|
+
};
|
|
7799
|
+
type MessageMetadata = {
|
|
7800
|
+
openai_model?: string;
|
|
7801
|
+
finish_reason?: string;
|
|
7802
|
+
usage?: {
|
|
7803
|
+
prompt_tokens?: number;
|
|
7804
|
+
completion_tokens?: number;
|
|
7805
|
+
total_tokens?: number;
|
|
7806
|
+
};
|
|
7807
|
+
a2a_metadata?: Record<string, unknown>;
|
|
7808
|
+
processing_time_ms?: number;
|
|
7809
|
+
error_details?: Record<string, unknown>;
|
|
7810
|
+
};
|
|
7811
|
+
type ContextFetchDefinition = {
|
|
7812
|
+
id: string;
|
|
7813
|
+
name?: string;
|
|
7814
|
+
trigger: 'initialization' | 'invocation';
|
|
7815
|
+
fetchConfig: {
|
|
7816
|
+
url: string;
|
|
7817
|
+
method?: string;
|
|
7818
|
+
headers?: Record<string, string>;
|
|
7819
|
+
body?: Record<string, unknown>;
|
|
7820
|
+
transform?: string;
|
|
7821
|
+
timeout?: number;
|
|
7822
|
+
};
|
|
7823
|
+
responseSchema?: Record<string, unknown>;
|
|
7824
|
+
defaultValue?: unknown;
|
|
7825
|
+
credentialReferenceId?: string;
|
|
7826
|
+
};
|
|
7827
|
+
type ContextCacheEntry = {
|
|
7828
|
+
id: string;
|
|
7829
|
+
tenantId: string;
|
|
7830
|
+
projectId: string;
|
|
7831
|
+
conversationId: string;
|
|
7832
|
+
contextConfigId: string;
|
|
7833
|
+
contextVariableKey: string;
|
|
7834
|
+
value: unknown;
|
|
7835
|
+
requestHash?: string;
|
|
7836
|
+
fetchedAt: Date;
|
|
7837
|
+
fetchSource?: string;
|
|
7838
|
+
fetchDurationMs?: number;
|
|
7839
|
+
createdAt: Date;
|
|
7840
|
+
updatedAt: Date;
|
|
7841
|
+
};
|
|
7842
|
+
type McpTranportType = 'streamable_http' | 'sse';
|
|
7843
|
+
type McpAuthType = 'bearer' | 'basic' | 'api_key' | 'none';
|
|
7844
|
+
type McpServerAuth = {
|
|
7845
|
+
type: McpAuthType;
|
|
7846
|
+
token?: string;
|
|
7847
|
+
username?: string;
|
|
7848
|
+
password?: string;
|
|
7849
|
+
apiKey?: string;
|
|
7850
|
+
headerName?: string;
|
|
7851
|
+
};
|
|
7852
|
+
type McpTransportConfig = z$1.infer<typeof McpTransportConfigSchema>;
|
|
7853
|
+
type McpServerCapabilities = {
|
|
7854
|
+
tools?: boolean;
|
|
7855
|
+
resources?: boolean;
|
|
7856
|
+
prompts?: boolean;
|
|
7857
|
+
logging?: boolean;
|
|
7858
|
+
};
|
|
7859
|
+
type McpToolDefinition = {
|
|
7860
|
+
name: string;
|
|
7861
|
+
description?: string;
|
|
7862
|
+
inputSchema?: Record<string, unknown>;
|
|
7863
|
+
};
|
|
7864
|
+
type ToolMcpConfig = {
|
|
7865
|
+
server: {
|
|
7866
|
+
url: string;
|
|
7867
|
+
timeout?: number;
|
|
7868
|
+
headers?: Record<string, string>;
|
|
7869
|
+
};
|
|
7870
|
+
transport?: McpTransportConfig;
|
|
7871
|
+
activeTools?: string[];
|
|
7872
|
+
};
|
|
7873
|
+
type ToolServerCapabilities = {
|
|
7874
|
+
tools?: boolean;
|
|
7875
|
+
resources?: boolean;
|
|
7876
|
+
prompts?: boolean;
|
|
7877
|
+
logging?: boolean;
|
|
7878
|
+
streaming?: boolean;
|
|
7879
|
+
};
|
|
7880
|
+
type TaskMetadataConfig = {
|
|
7881
|
+
conversation_id: string;
|
|
7882
|
+
message_id: string;
|
|
7883
|
+
created_at: string;
|
|
7884
|
+
updated_at: string;
|
|
7885
|
+
root_agent_id?: string;
|
|
7886
|
+
agent_id?: string;
|
|
7887
|
+
tool_id?: string;
|
|
7888
|
+
graph_id?: string;
|
|
7889
|
+
stream_request_id?: string;
|
|
7890
|
+
};
|
|
7891
|
+
interface ProjectInfo {
|
|
7892
|
+
projectId: string;
|
|
7893
|
+
}
|
|
7894
|
+
interface ProjectResourceCounts {
|
|
7895
|
+
agents: number;
|
|
7896
|
+
agentGraphs: number;
|
|
7897
|
+
tools: number;
|
|
7898
|
+
contextConfigs: number;
|
|
7899
|
+
externalAgents: number;
|
|
7900
|
+
}
|
|
7901
|
+
interface RequestSchemaDefinition {
|
|
7902
|
+
body?: z$1.ZodSchema<any>;
|
|
7903
|
+
headers?: z$1.ZodSchema<any>;
|
|
7904
|
+
query?: z$1.ZodSchema<any>;
|
|
7905
|
+
params?: z$1.ZodSchema<any>;
|
|
7906
|
+
}
|
|
7907
|
+
interface RequestSchemaConfig {
|
|
7908
|
+
schemas: RequestSchemaDefinition;
|
|
7909
|
+
optional?: ('body' | 'headers' | 'query' | 'params')[];
|
|
7910
|
+
}
|
|
7911
|
+
type toolStatus = 'healthy' | 'unhealthy' | 'unknown';
|
|
7912
|
+
declare const TOOL_STATUS_VALUES: readonly ["healthy", "unhealthy", "unknown", "disabled", "needs_auth"];
|
|
7913
|
+
declare const VALID_RELATION_TYPES: readonly ["transfer", "delegate"];
|
|
7914
|
+
type McpToolStatus = (typeof TOOL_STATUS_VALUES)[number];
|
|
7915
|
+
interface CreateApiKeyParams {
|
|
7916
|
+
tenantId: string;
|
|
7917
|
+
projectId: string;
|
|
7918
|
+
graphId: string;
|
|
7919
|
+
expiresAt?: string;
|
|
7920
|
+
}
|
|
7921
|
+
interface ApiKeyCreateResult {
|
|
7922
|
+
apiKey: ApiKeySelect;
|
|
7923
|
+
key: string;
|
|
7924
|
+
}
|
|
7925
|
+
/**
|
|
7926
|
+
* Execution context that gets propagated through agent calls
|
|
7927
|
+
* Contains authentication and routing information for internal API calls
|
|
7928
|
+
*/
|
|
7929
|
+
interface ExecutionContext {
|
|
7930
|
+
/** The original API key from the client request */
|
|
7931
|
+
apiKey: string;
|
|
7932
|
+
/** Tenant ID extracted from API key */
|
|
7933
|
+
tenantId: string;
|
|
7934
|
+
/** Project ID extracted from API key */
|
|
7935
|
+
projectId: string;
|
|
7936
|
+
/** Graph ID extracted from API key */
|
|
7937
|
+
graphId: string;
|
|
7938
|
+
/** Base URL for internal API calls */
|
|
7939
|
+
baseUrl: string;
|
|
7940
|
+
/** API key ID for tracking */
|
|
7941
|
+
apiKeyId: string;
|
|
7942
|
+
/** Agent ID extracted from request headers (only for internal A2A calls) */
|
|
7943
|
+
agentId?: string;
|
|
7944
|
+
}
|
|
7945
|
+
|
|
7946
|
+
export { type LedgerArtifactSelect as $, type AgentGraphInsert as A, type ContextCacheSelect as B, type ContextFetchDefinition as C, type ContextCacheInsert as D, type ExternalAgentRelationInsert as E, type FetchDefinition as F, type ContextConfigInsert as G, type ContextConfigUpdate as H, type ConversationSelect as I, type ConversationInsert as J, type ConversationUpdate as K, type CredentialReferenceSelect as L, type McpToolDefinition as M, type ToolSelect as N, type CredentialReferenceInsert as O, type Part as P, type CredentialReferenceUpdate as Q, type RequestSchemaDefinition as R, type ScopeConfig as S, type TaskMetadataConfig as T, type DataComponentSelect as U, type DataComponentInsert as V, type DataComponentUpdate as W, type ExternalAgentInsert as X, type ExternalAgentSelect as Y, type ExternalAgentUpdate as Z, type Artifact as _, type ConversationHistoryConfig as a, type JSONRPCMessage as a$, type MessageVisibility as a0, type MessageInsert as a1, type MessageUpdate as a2, type ProjectInfo as a3, type ProjectSelect as a4, type PaginationResult as a5, type ProjectResourceCounts as a6, type ProjectInsert as a7, type ProjectUpdate as a8, type TaskInsert as a9, type OpenIdConnectSecurityScheme as aA, type SecurityScheme as aB, type AgentCard as aC, type Message as aD, type TaskStatus as aE, type Task as aF, type TaskStatusUpdateEvent as aG, type TaskArtifactUpdateEvent as aH, type JSONParseError as aI, type InvalidRequestError as aJ, type MethodNotFoundError as aK, type InvalidParamsError as aL, type InternalError as aM, type TaskNotFoundError as aN, type TaskNotCancelableError as aO, type PushNotificationNotSupportedError as aP, type UnsupportedOperationError as aQ, type ContentTypeNotSupportedError as aR, type InvalidAgentResponseError as aS, type A2AError as aT, type PushNotificationAuthenticationInfo as aU, type PushNotificationConfig as aV, type TaskPushNotificationConfig as aW, type TaskIdParams as aX, type TaskQueryParams as aY, type MessageSendConfiguration as aZ, type MessageSendParams as a_, type TaskSelect as aa, type McpTool as ab, type McpToolStatus as ac, type ToolInsert as ad, type ToolUpdate as ae, type ExecutionContext as af, type PartBase as ag, type TextPart as ah, type FileBase as ai, type FileWithBytes as aj, type FileWithUri as ak, type FilePart as al, type DataPart as am, TaskState as an, type AgentCapabilities as ao, type AgentProvider as ap, type AgentSkill as aq, type SecuritySchemeBase as ar, type APIKeySecurityScheme as as, type HTTPAuthSecurityScheme as at, type OAuthFlows as au, type AuthorizationCodeOAuthFlow as av, type ClientCredentialsOAuthFlow as aw, type ImplicitOAuthFlow as ax, type PasswordOAuthFlow as ay, type OAuth2SecurityScheme as az, type ToolMcpConfig as b, type ContextConfigApiUpdate as b$, type JSONRPCRequest as b0, type JSONRPCError as b1, type JSONRPCResult as b2, type JSONRPCErrorResponse as b3, type SendMessageRequest as b4, type SendStreamingMessageRequest as b5, type GetTaskRequest as b6, type CancelTaskRequest as b7, type SetTaskPushNotificationConfigRequest as b8, type GetTaskPushNotificationConfigRequest as b9, type AgentGraphSelect as bA, type AgentGraphApiSelect as bB, type AgentGraphApiInsert as bC, type AgentGraphApiUpdate as bD, type TaskUpdate as bE, type TaskApiSelect as bF, type TaskApiInsert as bG, type TaskApiUpdate as bH, type TaskRelationSelect as bI, type TaskRelationInsert as bJ, type TaskRelationUpdate as bK, type TaskRelationApiSelect as bL, type TaskRelationApiInsert as bM, type TaskRelationApiUpdate as bN, type ToolApiSelect as bO, type ToolApiInsert as bP, type ToolApiUpdate as bQ, type McpToolServerConfig as bR, type ConversationApiSelect as bS, type ConversationApiInsert as bT, type ConversationApiUpdate as bU, type MessageSelect as bV, type MessageApiSelect as bW, type MessageApiInsert as bX, type MessageApiUpdate as bY, type ContextConfigApiSelect as bZ, type ContextConfigApiInsert as b_, type TaskResubscriptionRequest as ba, type SendMessageSuccessResponse as bb, type SendMessageResponse as bc, type SendStreamingMessageSuccessResponse as bd, type SendStreamingMessageResponse as be, type GetTaskSuccessResponse as bf, type GetTaskResponse as bg, type CancelTaskSuccessResponse as bh, type CancelTaskResponse as bi, type SetTaskPushNotificationConfigSuccessResponse as bj, type SetTaskPushNotificationConfigResponse as bk, type GetTaskPushNotificationConfigSuccessResponse as bl, type GetTaskPushNotificationConfigResponse as bm, type A2ARequest as bn, type A2AResponse as bo, type MessagePart as bp, type TaskArtifact as bq, type AgentApiSelect as br, type AgentApiInsert as bs, type AgentApiUpdate as bt, type AgentRelationSelect as bu, type AgentRelationApiSelect as bv, type AgentRelationApiInsert as bw, type AgentRelationApiUpdate as bx, type AgentRelationQuery as by, type ExternalAgentRelationApiInsert as bz, type ToolServerCapabilities as c, type McpAuthType as c$, type FetchConfig as c0, type ContextCacheUpdate as c1, type ContextCacheApiSelect as c2, type ContextCacheApiInsert as c3, type ContextCacheApiUpdate as c4, type DataComponentApiSelect as c5, type DataComponentApiInsert as c6, type DataComponentApiUpdate as c7, type AgentDataComponentSelect as c8, type AgentDataComponentInsert as c9, type AgentToolRelationApiSelect as cA, type AgentToolRelationApiInsert as cB, type AgentToolRelationApiUpdate as cC, type LedgerArtifactInsert as cD, type LedgerArtifactUpdate as cE, type LedgerArtifactApiSelect as cF, type LedgerArtifactApiInsert as cG, type LedgerArtifactApiUpdate as cH, type FullGraphAgentInsert as cI, type InternalAgentDefinition as cJ, type AgentDefinition as cK, type ToolDefinition as cL, type ProjectApiSelect as cM, type ProjectApiInsert as cN, type ProjectApiUpdate as cO, type Pagination as cP, type MessageType as cQ, type MessageRole as cR, type MessageMode as cS, type Models as cT, type ModelSettings as cU, type StatusUpdateSettings as cV, type StatusComponent as cW, type ConversationScopeOptions as cX, type AgentConversationHistoryConfig as cY, type ContextCacheEntry as cZ, type McpTranportType as c_, type AgentDataComponentUpdate as ca, type AgentDataComponentApiSelect as cb, type AgentDataComponentApiInsert as cc, type AgentDataComponentApiUpdate as cd, type ArtifactComponentApiSelect as ce, type ArtifactComponentApiInsert as cf, type ArtifactComponentApiUpdate as cg, type AgentArtifactComponentSelect as ch, type AgentArtifactComponentInsert as ci, type AgentArtifactComponentUpdate as cj, type AgentArtifactComponentApiSelect as ck, type AgentArtifactComponentApiInsert as cl, type AgentArtifactComponentApiUpdate as cm, type ExternalAgentApiSelect as cn, type ExternalAgentApiInsert as co, type ExternalAgentApiUpdate as cp, type AllAgentSelect as cq, type ApiKeyApiSelect as cr, type ApiKeyApiInsert as cs, type ApiKeyApiUpdate as ct, type ApiKeyApiCreationResponse as cu, type CredentialReferenceApiSelect as cv, type CredentialReferenceApiInsert as cw, type CredentialReferenceApiUpdate as cx, type AgentToolRelationSelect as cy, type AgentToolRelationInsert as cz, type ConversationMetadata as d, ContextCacheSelectSchema as d$, type McpServerAuth as d0, type McpTransportConfig as d1, type McpServerCapabilities as d2, type toolStatus as d3, TOOL_STATUS_VALUES as d4, VALID_RELATION_TYPES as d5, MIN_ID_LENGTH as d6, MAX_ID_LENGTH as d7, URL_SAFE_ID_PATTERN as d8, resourceIdSchema as d9, TaskUpdateSchema as dA, TaskApiSelectSchema as dB, TaskApiInsertSchema as dC, TaskApiUpdateSchema as dD, TaskRelationSelectSchema as dE, TaskRelationInsertSchema as dF, TaskRelationUpdateSchema as dG, TaskRelationApiSelectSchema as dH, TaskRelationApiInsertSchema as dI, TaskRelationApiUpdateSchema as dJ, McpTransportConfigSchema as dK, ToolStatusSchema as dL, McpToolDefinitionSchema as dM, ToolSelectSchema as dN, ToolInsertSchema as dO, ConversationSelectSchema as dP, ConversationInsertSchema as dQ, ConversationUpdateSchema as dR, ConversationApiSelectSchema as dS, ConversationApiInsertSchema as dT, ConversationApiUpdateSchema as dU, MessageSelectSchema as dV, MessageInsertSchema as dW, MessageUpdateSchema as dX, MessageApiSelectSchema as dY, MessageApiInsertSchema as dZ, MessageApiUpdateSchema as d_, ModelSettingsSchema as da, ModelSchema as db, AgentSelectSchema as dc, AgentInsertSchema as dd, AgentUpdateSchema as de, AgentApiSelectSchema as df, AgentApiInsertSchema as dg, AgentApiUpdateSchema as dh, AgentRelationSelectSchema as di, AgentRelationInsertSchema as dj, AgentRelationUpdateSchema as dk, AgentRelationApiSelectSchema as dl, AgentRelationApiInsertSchema as dm, AgentRelationApiUpdateSchema as dn, AgentRelationQuerySchema as dp, ExternalAgentRelationInsertSchema as dq, ExternalAgentRelationApiInsertSchema as dr, AgentGraphSelectSchema as ds, AgentGraphInsertSchema as dt, AgentGraphUpdateSchema as du, AgentGraphApiSelectSchema as dv, AgentGraphApiInsertSchema as dw, AgentGraphApiUpdateSchema as dx, TaskSelectSchema as dy, TaskInsertSchema as dz, type MessageContent as e, ContextConfigApiInsertSchema as e$, ContextCacheInsertSchema as e0, ContextCacheUpdateSchema as e1, ContextCacheApiSelectSchema as e2, ContextCacheApiInsertSchema as e3, ContextCacheApiUpdateSchema as e4, DataComponentSelectSchema as e5, DataComponentInsertSchema as e6, DataComponentBaseSchema as e7, DataComponentUpdateSchema as e8, DataComponentApiSelectSchema as e9, AllAgentSchema as eA, ApiKeySelectSchema as eB, ApiKeyInsertSchema as eC, ApiKeyUpdateSchema as eD, ApiKeyApiSelectSchema as eE, ApiKeyApiCreationResponseSchema as eF, ApiKeyApiInsertSchema as eG, ApiKeyApiUpdateSchema as eH, CredentialReferenceSelectSchema as eI, CredentialReferenceInsertSchema as eJ, CredentialReferenceUpdateSchema as eK, CredentialReferenceApiSelectSchema as eL, CredentialReferenceApiInsertSchema as eM, CredentialReferenceApiUpdateSchema as eN, McpToolSchema as eO, McpToolServerConfigSchema as eP, MCPToolConfigSchema as eQ, ToolUpdateSchema as eR, ToolApiSelectSchema as eS, ToolApiInsertSchema as eT, ToolApiUpdateSchema as eU, FetchConfigSchema as eV, FetchDefinitionSchema as eW, ContextConfigSelectSchema as eX, ContextConfigInsertSchema as eY, ContextConfigUpdateSchema as eZ, ContextConfigApiSelectSchema as e_, DataComponentApiInsertSchema as ea, DataComponentApiUpdateSchema as eb, AgentDataComponentSelectSchema as ec, AgentDataComponentInsertSchema as ed, AgentDataComponentUpdateSchema as ee, AgentDataComponentApiSelectSchema as ef, AgentDataComponentApiInsertSchema as eg, AgentDataComponentApiUpdateSchema as eh, ArtifactComponentSelectSchema as ei, ArtifactComponentInsertSchema as ej, ArtifactComponentUpdateSchema as ek, ArtifactComponentApiSelectSchema as el, ArtifactComponentApiInsertSchema as em, ArtifactComponentApiUpdateSchema as en, AgentArtifactComponentSelectSchema as eo, AgentArtifactComponentInsertSchema as ep, AgentArtifactComponentUpdateSchema as eq, AgentArtifactComponentApiSelectSchema as er, AgentArtifactComponentApiInsertSchema as es, AgentArtifactComponentApiUpdateSchema as et, ExternalAgentSelectSchema as eu, ExternalAgentInsertSchema as ev, ExternalAgentUpdateSchema as ew, ExternalAgentApiSelectSchema as ex, ExternalAgentApiInsertSchema as ey, ExternalAgentApiUpdateSchema as ez, type MessageMetadata as f, ContextConfigApiUpdateSchema as f0, AgentToolRelationSelectSchema as f1, AgentToolRelationInsertSchema as f2, AgentToolRelationUpdateSchema as f3, AgentToolRelationApiSelectSchema as f4, AgentToolRelationApiInsertSchema as f5, AgentToolRelationApiUpdateSchema as f6, LedgerArtifactSelectSchema as f7, LedgerArtifactInsertSchema as f8, LedgerArtifactUpdateSchema as f9, LedgerArtifactApiSelectSchema as fa, LedgerArtifactApiInsertSchema as fb, LedgerArtifactApiUpdateSchema as fc, StatusComponentSchema as fd, StatusUpdateSchema as fe, FullGraphAgentInsertSchema as ff, FullGraphDefinitionSchema as fg, PaginationSchema as fh, ListResponseSchema as fi, SingleResponseSchema as fj, ErrorResponseSchema as fk, ExistsResponseSchema as fl, RemovedResponseSchema as fm, ProjectSelectSchema as fn, ProjectInsertSchema as fo, ProjectUpdateSchema as fp, ProjectApiSelectSchema as fq, ProjectApiInsertSchema as fr, ProjectApiUpdateSchema as fs, HeadersScopeSchema as ft, TenantParamsSchema as fu, TenantProjectParamsSchema as fv, TenantProjectIdParamsSchema as fw, TenantIdParamsSchema as fx, IdParamsSchema as fy, PaginationQueryParamsSchema as fz, type RequestSchemaConfig as g, type ContextConfigSelect as h, type MCPToolConfig as i, type PaginationConfig as j, type AgentGraphUpdate as k, type FullGraphDefinition as l, type AgentRelationInsert as m, type AgentRelationUpdate as n, type AgentToolRelationUpdate as o, type AgentInsert as p, type AgentUpdate as q, type AgentSelect as r, type ApiKeySelect as s, type ApiKeyInsert as t, type ApiKeyUpdate as u, type CreateApiKeyParams as v, type ApiKeyCreateResult as w, type ArtifactComponentSelect as x, type ArtifactComponentInsert as y, type ArtifactComponentUpdate as z };
|