@inkeep/agents-core 0.1.3 → 0.1.6
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/SUPPLEMENTAL_TERMS.md +40 -0
- package/dist/chunk-H2F72PDA.js +15 -0
- package/dist/chunk-M4JXMAG7.js +822 -0
- package/dist/chunk-MKBO26DX.js +9 -0
- package/dist/chunk-RZPLS4MU.js +676 -0
- package/dist/chunk-SVGQSPW4.js +24 -0
- package/dist/client-exports.cjs +246 -0
- package/dist/client-exports.d.cts +315 -0
- package/dist/client-exports.d.ts +64 -49
- package/dist/client-exports.js +201 -246
- package/dist/db/schema.cjs +819 -0
- package/dist/db/schema.d.cts +8 -0
- package/dist/db/schema.d.ts +8 -4337
- package/dist/db/schema.js +1 -696
- package/dist/entities-CNJaf-rG.d.cts +7849 -0
- package/dist/entities-CNJaf-rG.d.ts +7849 -0
- package/dist/index.cjs +9647 -0
- package/dist/index.d.cts +3991 -0
- package/dist/index.d.ts +3991 -12
- package/dist/index.js +7646 -13
- package/dist/schema-DFDqtBpV.d.ts +4401 -0
- package/dist/schema-Dbc3UMpd.d.cts +4401 -0
- package/dist/types/index.cjs +45 -0
- package/dist/types/index.d.cts +125 -0
- package/dist/types/index.d.ts +125 -5
- package/dist/types/index.js +2 -6
- package/dist/validation/index.cjs +1642 -0
- package/dist/validation/index.d.cts +64 -0
- package/dist/validation/index.d.ts +64 -4
- package/dist/validation/index.js +1 -5
- package/package.json +6 -4
- 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 -406
- 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 -160
- 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/server/BaseServer.d.ts +0 -83
- package/dist/server/BaseServer.d.ts.map +0 -1
- package/dist/server/BaseServer.js +0 -218
- package/dist/server/BaseServer.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 -171
- 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 +0 -7238
- package/dist/validation/schemas.d.ts.map +0 -1
- package/dist/validation/schemas.js +0 -575
- package/dist/validation/schemas.js.map +0 -1
package/dist/client-exports.d.ts
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export { C as CredentialStoreType, M as MCPTransportType } from './entities-CNJaf-rG.js';
|
|
3
|
+
import 'drizzle-zod';
|
|
4
|
+
import 'drizzle-orm/sqlite-core';
|
|
5
|
+
import '@hono/zod-openapi';
|
|
6
|
+
import '@modelcontextprotocol/sdk/client/streamableHttp.js';
|
|
7
|
+
|
|
1
8
|
/**
|
|
2
9
|
* Client-Safe Schema Exports
|
|
3
10
|
*
|
|
@@ -5,29 +12,29 @@
|
|
|
5
12
|
* in client-side applications (like Next.js builds) without importing
|
|
6
13
|
* server-side database dependencies.
|
|
7
14
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
15
|
+
|
|
16
|
+
declare const TenantParamsSchema: z.ZodObject<{
|
|
10
17
|
tenantId: z.ZodString;
|
|
11
18
|
}, z.core.$strip>;
|
|
12
|
-
|
|
19
|
+
declare const TenantProjectParamsSchema: z.ZodObject<{
|
|
13
20
|
tenantId: z.ZodString;
|
|
14
21
|
projectId: z.ZodString;
|
|
15
22
|
}, z.core.$strip>;
|
|
16
|
-
|
|
23
|
+
declare const TenantProjectIdParamsSchema: z.ZodObject<{
|
|
17
24
|
tenantId: z.ZodString;
|
|
18
25
|
projectId: z.ZodString;
|
|
19
26
|
id: z.ZodString;
|
|
20
27
|
}, z.core.$strip>;
|
|
21
|
-
|
|
28
|
+
declare const IdParamsSchema: z.ZodObject<{
|
|
22
29
|
id: z.ZodString;
|
|
23
30
|
}, z.core.$strip>;
|
|
24
|
-
|
|
31
|
+
declare const PaginationSchema: z.ZodObject<{
|
|
25
32
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
26
33
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
27
34
|
total: z.ZodNumber;
|
|
28
35
|
pages: z.ZodNumber;
|
|
29
36
|
}, z.core.$strip>;
|
|
30
|
-
|
|
37
|
+
declare const ListResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
|
|
31
38
|
data: z.ZodArray<T>;
|
|
32
39
|
pagination: z.ZodObject<{
|
|
33
40
|
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
@@ -36,21 +43,21 @@ export declare const ListResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T)
|
|
|
36
43
|
pages: z.ZodNumber;
|
|
37
44
|
}, z.core.$strip>;
|
|
38
45
|
}, z.core.$strip>;
|
|
39
|
-
|
|
46
|
+
declare const SingleResponseSchema: <T extends z.ZodTypeAny>(itemSchema: T) => z.ZodObject<{
|
|
40
47
|
data: T;
|
|
41
48
|
}, z.core.$strip>;
|
|
42
|
-
|
|
49
|
+
declare const ErrorResponseSchema: z.ZodObject<{
|
|
43
50
|
error: z.ZodString;
|
|
44
51
|
message: z.ZodOptional<z.ZodString>;
|
|
45
52
|
details: z.ZodOptional<z.ZodUnknown>;
|
|
46
53
|
}, z.core.$strip>;
|
|
47
|
-
|
|
54
|
+
declare const ModelSettingsSchema: z.ZodObject<{
|
|
48
55
|
model: z.ZodOptional<z.ZodString>;
|
|
49
56
|
structuredOutput: z.ZodOptional<z.ZodString>;
|
|
50
57
|
summarizer: z.ZodOptional<z.ZodString>;
|
|
51
58
|
providerOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
52
59
|
}, z.core.$strip>;
|
|
53
|
-
|
|
60
|
+
declare const AgentApiInsertSchema: z.ZodObject<{
|
|
54
61
|
id: z.ZodOptional<z.ZodString>;
|
|
55
62
|
name: z.ZodString;
|
|
56
63
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -71,7 +78,7 @@ export declare const AgentApiInsertSchema: z.ZodObject<{
|
|
|
71
78
|
external: "external";
|
|
72
79
|
}>>;
|
|
73
80
|
}, z.core.$strip>;
|
|
74
|
-
|
|
81
|
+
declare const ToolApiInsertSchema: z.ZodObject<{
|
|
75
82
|
id: z.ZodOptional<z.ZodString>;
|
|
76
83
|
name: z.ZodString;
|
|
77
84
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -82,7 +89,7 @@ export declare const ToolApiInsertSchema: z.ZodObject<{
|
|
|
82
89
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
83
90
|
credentialReferenceId: z.ZodOptional<z.ZodString>;
|
|
84
91
|
}, z.core.$strip>;
|
|
85
|
-
|
|
92
|
+
declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
86
93
|
id: z.ZodString;
|
|
87
94
|
tenantId: z.ZodString;
|
|
88
95
|
projectId: z.ZodString;
|
|
@@ -96,7 +103,7 @@ export declare const ApiKeyApiSelectSchema: z.ZodObject<{
|
|
|
96
103
|
createdAt: z.ZodString;
|
|
97
104
|
updatedAt: z.ZodString;
|
|
98
105
|
}, z.core.$strip>;
|
|
99
|
-
|
|
106
|
+
declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
100
107
|
data: z.ZodObject<{
|
|
101
108
|
apiKey: z.ZodObject<{
|
|
102
109
|
id: z.ZodString;
|
|
@@ -115,48 +122,52 @@ export declare const ApiKeyApiCreationResponseSchema: z.ZodObject<{
|
|
|
115
122
|
key: z.ZodString;
|
|
116
123
|
}, z.core.$strip>;
|
|
117
124
|
}, z.core.$strip>;
|
|
118
|
-
|
|
125
|
+
declare const CredentialReferenceApiInsertSchema: z.ZodObject<{
|
|
119
126
|
id: z.ZodString;
|
|
120
127
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
121
128
|
projectId: z.ZodOptional<z.ZodString>;
|
|
122
|
-
type: z.
|
|
129
|
+
type: z.ZodEnum<{
|
|
130
|
+
readonly memory: "memory";
|
|
131
|
+
readonly keychain: "keychain";
|
|
132
|
+
readonly nango: "nango";
|
|
133
|
+
}>;
|
|
123
134
|
credentialStoreId: z.ZodString;
|
|
124
135
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
125
136
|
}, z.core.$strip>;
|
|
126
|
-
|
|
137
|
+
declare const DataComponentApiInsertSchema: z.ZodObject<{
|
|
127
138
|
id: z.ZodOptional<z.ZodString>;
|
|
128
139
|
name: z.ZodString;
|
|
129
140
|
description: z.ZodOptional<z.ZodString>;
|
|
130
141
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
131
142
|
}, z.core.$strip>;
|
|
132
|
-
|
|
143
|
+
declare const ArtifactComponentApiInsertSchema: z.ZodObject<{
|
|
133
144
|
id: z.ZodOptional<z.ZodString>;
|
|
134
145
|
name: z.ZodString;
|
|
135
146
|
description: z.ZodOptional<z.ZodString>;
|
|
136
147
|
summaryProps: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
137
148
|
fullProps: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
138
149
|
}, z.core.$strip>;
|
|
139
|
-
|
|
150
|
+
declare const ContextConfigApiInsertSchema: z.ZodObject<{
|
|
140
151
|
id: z.ZodOptional<z.ZodString>;
|
|
141
152
|
name: z.ZodOptional<z.ZodString>;
|
|
142
153
|
description: z.ZodOptional<z.ZodString>;
|
|
143
154
|
type: z.ZodOptional<z.ZodString>;
|
|
144
155
|
config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
145
156
|
}, z.core.$strip>;
|
|
146
|
-
|
|
157
|
+
declare const ExternalAgentApiInsertSchema: z.ZodObject<{
|
|
147
158
|
id: z.ZodOptional<z.ZodString>;
|
|
148
159
|
name: z.ZodString;
|
|
149
160
|
description: z.ZodOptional<z.ZodString>;
|
|
150
161
|
baseUrl: z.ZodString;
|
|
151
162
|
type: z.ZodOptional<z.ZodLiteral<"external">>;
|
|
152
163
|
}, z.core.$strip>;
|
|
153
|
-
|
|
164
|
+
declare const AgentGraphApiInsertSchema: z.ZodObject<{
|
|
154
165
|
id: z.ZodOptional<z.ZodString>;
|
|
155
166
|
name: z.ZodString;
|
|
156
167
|
description: z.ZodOptional<z.ZodString>;
|
|
157
168
|
defaultAgentId: z.ZodOptional<z.ZodString>;
|
|
158
169
|
}, z.core.$strip>;
|
|
159
|
-
|
|
170
|
+
declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
160
171
|
id: z.ZodOptional<z.ZodString>;
|
|
161
172
|
name: z.ZodString;
|
|
162
173
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -217,7 +228,11 @@ export declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
|
217
228
|
id: z.ZodString;
|
|
218
229
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
219
230
|
projectId: z.ZodOptional<z.ZodString>;
|
|
220
|
-
type: z.
|
|
231
|
+
type: z.ZodEnum<{
|
|
232
|
+
readonly memory: "memory";
|
|
233
|
+
readonly keychain: "keychain";
|
|
234
|
+
readonly nango: "nango";
|
|
235
|
+
}>;
|
|
221
236
|
credentialStoreId: z.ZodString;
|
|
222
237
|
retrievalParams: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
223
238
|
}, z.core.$strip>>>;
|
|
@@ -265,36 +280,36 @@ export declare const FullGraphDefinitionSchema: z.ZodObject<{
|
|
|
265
280
|
timeInSeconds: z.ZodOptional<z.ZodNumber>;
|
|
266
281
|
prompt: z.ZodOptional<z.ZodString>;
|
|
267
282
|
statusComponents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
268
|
-
|
|
269
|
-
name: z.ZodString;
|
|
283
|
+
type: z.ZodString;
|
|
270
284
|
description: z.ZodOptional<z.ZodString>;
|
|
271
|
-
|
|
285
|
+
detailsSchema: z.ZodOptional<z.ZodObject<{
|
|
272
286
|
type: z.ZodLiteral<"object">;
|
|
273
287
|
properties: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
274
288
|
required: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
275
|
-
}, z.core.$strip
|
|
289
|
+
}, z.core.$strip>>;
|
|
276
290
|
}, z.core.$strip>>>;
|
|
277
291
|
}, z.core.$strip>>;
|
|
278
292
|
}, z.core.$strip>;
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
293
|
+
type AgentApiInsert = z.infer<typeof AgentApiInsertSchema>;
|
|
294
|
+
type ToolApiInsert = z.infer<typeof ToolApiInsertSchema>;
|
|
295
|
+
type ApiKeyApiSelect = z.infer<typeof ApiKeyApiSelectSchema>;
|
|
296
|
+
type ApiKeyApiCreationResponse = z.infer<typeof ApiKeyApiCreationResponseSchema>;
|
|
297
|
+
type CredentialReferenceApiInsert = z.infer<typeof CredentialReferenceApiInsertSchema>;
|
|
298
|
+
type DataComponentApiInsert = z.infer<typeof DataComponentApiInsertSchema>;
|
|
299
|
+
type ArtifactComponentApiInsert = z.infer<typeof ArtifactComponentApiInsertSchema>;
|
|
300
|
+
type ContextConfigApiInsert = z.infer<typeof ContextConfigApiInsertSchema>;
|
|
301
|
+
type ExternalAgentApiInsert = z.infer<typeof ExternalAgentApiInsertSchema>;
|
|
302
|
+
type AgentGraphApiInsert = z.infer<typeof AgentGraphApiInsertSchema>;
|
|
303
|
+
type FullGraphDefinition = z.infer<typeof FullGraphDefinitionSchema>;
|
|
304
|
+
type TenantParams = z.infer<typeof TenantParamsSchema>;
|
|
305
|
+
type ErrorResponse = z.infer<typeof ErrorResponseSchema>;
|
|
306
|
+
type ModelSettings = z.infer<typeof ModelSettingsSchema>;
|
|
307
|
+
declare const MIN_ID_LENGTH = 1;
|
|
308
|
+
declare const MAX_ID_LENGTH = 255;
|
|
309
|
+
declare const URL_SAFE_ID_PATTERN: RegExp;
|
|
310
|
+
declare const resourceIdSchema: z.ZodString;
|
|
311
|
+
declare function generateIdFromName(name: string): string;
|
|
312
|
+
type ToolInsert = ToolApiInsert;
|
|
313
|
+
type AgentGraphInsert = AgentGraphApiInsert;
|
|
314
|
+
|
|
315
|
+
export { type AgentApiInsert, AgentApiInsertSchema, type AgentGraphApiInsert, AgentGraphApiInsertSchema, type AgentGraphInsert, type ApiKeyApiCreationResponse, ApiKeyApiCreationResponseSchema, type ApiKeyApiSelect, ApiKeyApiSelectSchema, type ArtifactComponentApiInsert, ArtifactComponentApiInsertSchema, type ContextConfigApiInsert, ContextConfigApiInsertSchema, type CredentialReferenceApiInsert, CredentialReferenceApiInsertSchema, type DataComponentApiInsert, DataComponentApiInsertSchema, type ErrorResponse, ErrorResponseSchema, type ExternalAgentApiInsert, ExternalAgentApiInsertSchema, type FullGraphDefinition, FullGraphDefinitionSchema, IdParamsSchema, ListResponseSchema, MAX_ID_LENGTH, MIN_ID_LENGTH, type ModelSettings, ModelSettingsSchema, PaginationSchema, SingleResponseSchema, type TenantParams, TenantParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, type ToolApiInsert, ToolApiInsertSchema, type ToolInsert, URL_SAFE_ID_PATTERN, generateIdFromName, resourceIdSchema };
|