@inkeep/agents-core 0.0.0-dev-20251008194140 → 0.0.0-dev-20251008200151

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.
Files changed (36) hide show
  1. package/dist/{chunk-AHSEMW6N.js → chunk-5ZHSPLXI.js} +1 -2
  2. package/dist/{chunk-FMCAYVO7.js → chunk-BNXFEUNP.js} +105 -2
  3. package/dist/{chunk-FLKAMXLV.js → chunk-PR7XWHED.js} +1 -1
  4. package/dist/chunk-R2EERZSW.js +223 -0
  5. package/dist/client-exports.cjs +110 -9
  6. package/dist/client-exports.d.cts +14 -11
  7. package/dist/client-exports.d.ts +14 -11
  8. package/dist/client-exports.js +4 -10
  9. package/dist/db/schema.cjs +1 -2
  10. package/dist/db/schema.d.cts +2 -2
  11. package/dist/db/schema.d.ts +2 -2
  12. package/dist/db/schema.js +1 -1
  13. package/dist/index.cjs +549 -371
  14. package/dist/index.d.cts +262 -265
  15. package/dist/index.d.ts +262 -265
  16. package/dist/index.js +41 -188
  17. package/dist/props-validation-BMR1qNiy.d.cts +15 -0
  18. package/dist/props-validation-BMR1qNiy.d.ts +15 -0
  19. package/dist/{schema-D0E2bG9V.d.ts → schema-BYR5XAeI.d.ts} +3 -22
  20. package/dist/{schema-CTBfyt-o.d.cts → schema-Cn2ZkYOh.d.cts} +3 -22
  21. package/dist/types/index.d.cts +2 -2
  22. package/dist/types/index.d.ts +2 -2
  23. package/dist/{utility-BMAHFZX6.d.cts → utility-6UlHR5nQ.d.cts} +191 -216
  24. package/dist/{utility-BMAHFZX6.d.ts → utility-6UlHR5nQ.d.ts} +191 -216
  25. package/dist/utils/schema-conversion.cjs +236 -0
  26. package/dist/utils/schema-conversion.d.cts +26 -0
  27. package/dist/utils/schema-conversion.d.ts +26 -0
  28. package/dist/utils/schema-conversion.js +1 -0
  29. package/dist/validation/index.cjs +109 -2
  30. package/dist/validation/index.d.cts +3 -2
  31. package/dist/validation/index.d.ts +3 -2
  32. package/dist/validation/index.js +2 -2
  33. package/drizzle/0002_bumpy_romulus.sql +3 -0
  34. package/drizzle/meta/0002_snapshot.json +2428 -0
  35. package/drizzle/meta/_journal.json +7 -0
  36. package/package.json +1 -1
@@ -0,0 +1,236 @@
1
+ 'use strict';
2
+
3
+ var zod = require('zod');
4
+ var pino = require('pino');
5
+ var pinoPretty = require('pino-pretty');
6
+
7
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
+
9
+ var pino__default = /*#__PURE__*/_interopDefault(pino);
10
+ var pinoPretty__default = /*#__PURE__*/_interopDefault(pinoPretty);
11
+
12
+ var __defProp = Object.defineProperty;
13
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
14
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
15
+ var PinoLogger = class {
16
+ constructor(name, config = {}) {
17
+ this.name = name;
18
+ __publicField(this, "transportConfigs", []);
19
+ __publicField(this, "pinoInstance");
20
+ __publicField(this, "options");
21
+ this.options = {
22
+ name: this.name,
23
+ level: process.env.LOG_LEVEL || (process.env.ENVIRONMENT === "test" ? "silent" : "info"),
24
+ serializers: {
25
+ obj: (value) => ({ ...value })
26
+ },
27
+ redact: ["req.headers.authorization", 'req.headers["x-inkeep-admin-authentication"]'],
28
+ ...config.options
29
+ };
30
+ if (config.transportConfigs) {
31
+ this.transportConfigs = config.transportConfigs;
32
+ }
33
+ if (this.transportConfigs.length > 0) {
34
+ this.pinoInstance = pino__default.default(this.options, pino__default.default.transport({ targets: this.transportConfigs }));
35
+ } else {
36
+ try {
37
+ const prettyStream = pinoPretty__default.default({
38
+ colorize: true,
39
+ translateTime: "HH:MM:ss",
40
+ ignore: "pid,hostname"
41
+ });
42
+ this.pinoInstance = pino__default.default(this.options, prettyStream);
43
+ } catch (error) {
44
+ console.warn("Warning: pino-pretty failed, using standard JSON output:", error);
45
+ this.pinoInstance = pino__default.default(this.options);
46
+ }
47
+ }
48
+ }
49
+ /**
50
+ * Recreate the pino instance with current transports
51
+ */
52
+ recreateInstance() {
53
+ if (this.pinoInstance && typeof this.pinoInstance.flush === "function") {
54
+ this.pinoInstance.flush();
55
+ }
56
+ if (this.transportConfigs.length === 0) {
57
+ try {
58
+ const prettyStream = pinoPretty__default.default({
59
+ colorize: true,
60
+ translateTime: "HH:MM:ss",
61
+ ignore: "pid,hostname"
62
+ });
63
+ this.pinoInstance = pino__default.default(this.options, prettyStream);
64
+ } catch (error) {
65
+ console.warn("Warning: pino-pretty failed, using standard JSON output:", error);
66
+ this.pinoInstance = pino__default.default(this.options);
67
+ }
68
+ } else {
69
+ const multiTransport = { targets: this.transportConfigs };
70
+ const pinoTransport = pino__default.default.transport(multiTransport);
71
+ this.pinoInstance = pino__default.default(this.options, pinoTransport);
72
+ }
73
+ }
74
+ /**
75
+ * Add a new transport to the logger
76
+ */
77
+ addTransport(transportConfig) {
78
+ this.transportConfigs.push(transportConfig);
79
+ this.recreateInstance();
80
+ }
81
+ /**
82
+ * Remove a transport by index
83
+ */
84
+ removeTransport(index) {
85
+ if (index >= 0 && index < this.transportConfigs.length) {
86
+ this.transportConfigs.splice(index, 1);
87
+ this.recreateInstance();
88
+ }
89
+ }
90
+ /**
91
+ * Get current transports
92
+ */
93
+ getTransports() {
94
+ return [...this.transportConfigs];
95
+ }
96
+ /**
97
+ * Update logger options
98
+ */
99
+ updateOptions(options) {
100
+ this.options = {
101
+ ...this.options,
102
+ ...options
103
+ };
104
+ this.recreateInstance();
105
+ }
106
+ /**
107
+ * Get the underlying pino instance for advanced usage
108
+ */
109
+ getPinoInstance() {
110
+ return this.pinoInstance;
111
+ }
112
+ error(data, message) {
113
+ this.pinoInstance.error(data, message);
114
+ }
115
+ warn(data, message) {
116
+ this.pinoInstance.warn(data, message);
117
+ }
118
+ info(data, message) {
119
+ this.pinoInstance.info(data, message);
120
+ }
121
+ debug(data, message) {
122
+ this.pinoInstance.debug(data, message);
123
+ }
124
+ };
125
+ var LoggerFactory = class {
126
+ constructor() {
127
+ __publicField(this, "config", {});
128
+ __publicField(this, "loggers", /* @__PURE__ */ new Map());
129
+ }
130
+ /**
131
+ * Configure the logger factory
132
+ */
133
+ configure(config) {
134
+ this.config = config;
135
+ this.loggers.clear();
136
+ }
137
+ /**
138
+ * Get or create a logger instance
139
+ */
140
+ getLogger(name) {
141
+ if (this.loggers.has(name)) {
142
+ const logger3 = this.loggers.get(name);
143
+ if (!logger3) {
144
+ throw new Error(`Logger '${name}' not found in cache`);
145
+ }
146
+ return logger3;
147
+ }
148
+ let logger2;
149
+ if (this.config.loggerFactory) {
150
+ logger2 = this.config.loggerFactory(name);
151
+ } else if (this.config.defaultLogger) {
152
+ logger2 = this.config.defaultLogger;
153
+ } else {
154
+ logger2 = new PinoLogger(name, this.config.pinoConfig);
155
+ }
156
+ this.loggers.set(name, logger2);
157
+ return logger2;
158
+ }
159
+ /**
160
+ * Reset factory to default state
161
+ */
162
+ reset() {
163
+ this.config = {};
164
+ this.loggers.clear();
165
+ }
166
+ };
167
+ var loggerFactory = new LoggerFactory();
168
+ function getLogger(name) {
169
+ return loggerFactory.getLogger(name);
170
+ }
171
+
172
+ // src/utils/schema-conversion.ts
173
+ var logger = getLogger("schema-conversion");
174
+ function convertZodToJsonSchema(zodSchema) {
175
+ try {
176
+ const jsonSchema = zod.z.toJSONSchema(zodSchema);
177
+ if (jsonSchema.$schema) {
178
+ delete jsonSchema.$schema;
179
+ }
180
+ return jsonSchema;
181
+ } catch (error) {
182
+ logger.error(
183
+ {
184
+ error: error instanceof Error ? error.message : "Unknown error",
185
+ stack: error instanceof Error ? error.stack : void 0
186
+ },
187
+ "Failed to convert Zod schema to JSON Schema"
188
+ );
189
+ throw new Error("Failed to convert Zod schema to JSON Schema");
190
+ }
191
+ }
192
+ var preview = (schema) => {
193
+ schema._def.inPreview = true;
194
+ return schema;
195
+ };
196
+ function convertZodToJsonSchemaWithPreview(zodSchema) {
197
+ const jsonSchema = convertZodToJsonSchema(zodSchema);
198
+ if (zodSchema instanceof zod.z.ZodObject && jsonSchema.properties) {
199
+ const shape = zodSchema.shape;
200
+ for (const [key, fieldSchema] of Object.entries(shape)) {
201
+ if (fieldSchema?._def?.inPreview === true) {
202
+ jsonSchema.properties[key].inPreview = true;
203
+ }
204
+ }
205
+ }
206
+ return jsonSchema;
207
+ }
208
+ function isZodSchema(value) {
209
+ return value?._def?.type === "object";
210
+ }
211
+ function extractPreviewFields(schema) {
212
+ const previewFields = [];
213
+ if (schema instanceof zod.z.ZodObject) {
214
+ const shape = schema.shape;
215
+ for (const [key, fieldSchema] of Object.entries(shape)) {
216
+ if (fieldSchema?._def?.inPreview === true) {
217
+ previewFields.push(key);
218
+ }
219
+ }
220
+ return previewFields;
221
+ }
222
+ if (schema?.type === "object" && schema.properties) {
223
+ for (const [key, prop] of Object.entries(schema.properties)) {
224
+ if (prop.inPreview === true) {
225
+ previewFields.push(key);
226
+ }
227
+ }
228
+ }
229
+ return previewFields;
230
+ }
231
+
232
+ exports.convertZodToJsonSchema = convertZodToJsonSchema;
233
+ exports.convertZodToJsonSchemaWithPreview = convertZodToJsonSchemaWithPreview;
234
+ exports.extractPreviewFields = extractPreviewFields;
235
+ exports.isZodSchema = isZodSchema;
236
+ exports.preview = preview;
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * Utility function for converting Zod schemas to JSON Schema
5
+ * Uses Zod's built-in toJSONSchema method
6
+ */
7
+ declare function convertZodToJsonSchema(zodSchema: any): Record<string, unknown>;
8
+ /**
9
+ * Simple helper to mark a Zod schema field as a preview field
10
+ * Adds metadata to the schema definition without modifying Zod's core
11
+ */
12
+ declare const preview: <T extends z.ZodTypeAny>(schema: T) => T;
13
+ /**
14
+ * Convert Zod schema to JSON Schema while preserving preview metadata
15
+ */
16
+ declare function convertZodToJsonSchemaWithPreview(zodSchema: z.ZodTypeAny): Record<string, unknown>;
17
+ /**
18
+ * Type guard to check if a value is a Zod schema
19
+ */
20
+ declare function isZodSchema(value: any): value is z.ZodObject<any>;
21
+ /**
22
+ * Extract preview fields from either JSON Schema or Zod schema
23
+ */
24
+ declare function extractPreviewFields(schema: any): string[];
25
+
26
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview };
@@ -0,0 +1,26 @@
1
+ import { z } from 'zod';
2
+
3
+ /**
4
+ * Utility function for converting Zod schemas to JSON Schema
5
+ * Uses Zod's built-in toJSONSchema method
6
+ */
7
+ declare function convertZodToJsonSchema(zodSchema: any): Record<string, unknown>;
8
+ /**
9
+ * Simple helper to mark a Zod schema field as a preview field
10
+ * Adds metadata to the schema definition without modifying Zod's core
11
+ */
12
+ declare const preview: <T extends z.ZodTypeAny>(schema: T) => T;
13
+ /**
14
+ * Convert Zod schema to JSON Schema while preserving preview metadata
15
+ */
16
+ declare function convertZodToJsonSchemaWithPreview(zodSchema: z.ZodTypeAny): Record<string, unknown>;
17
+ /**
18
+ * Type guard to check if a value is a Zod schema
19
+ */
20
+ declare function isZodSchema(value: any): value is z.ZodObject<any>;
21
+ /**
22
+ * Extract preview fields from either JSON Schema or Zod schema
23
+ */
24
+ declare function extractPreviewFields(schema: any): string[];
25
+
26
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview };
@@ -0,0 +1 @@
1
+ export { convertZodToJsonSchema, convertZodToJsonSchemaWithPreview, extractPreviewFields, isZodSchema, preview } from '../chunk-R2EERZSW.js';
@@ -4,6 +4,11 @@ var zodOpenapi = require('@hono/zod-openapi');
4
4
  var drizzleZod = require('drizzle-zod');
5
5
  var drizzleOrm = require('drizzle-orm');
6
6
  var sqliteCore = require('drizzle-orm/sqlite-core');
7
+ var Ajv = require('ajv');
8
+
9
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
10
+
11
+ var Ajv__default = /*#__PURE__*/_interopDefault(Ajv);
7
12
 
8
13
  // src/validation/schemas.ts
9
14
  var tenantScoped = {
@@ -285,8 +290,7 @@ var artifactComponents = sqliteCore.sqliteTable(
285
290
  {
286
291
  ...projectScoped,
287
292
  ...uiProperties,
288
- summaryProps: sqliteCore.blob("summary_props", { mode: "json" }).$type(),
289
- fullProps: sqliteCore.blob("full_props", { mode: "json" }).$type(),
293
+ props: sqliteCore.blob("props", { mode: "json" }).$type(),
290
294
  ...timestamps
291
295
  },
292
296
  (table) => [
@@ -1574,6 +1578,108 @@ function generateIdFromName(name) {
1574
1578
  }
1575
1579
  return truncatedId;
1576
1580
  }
1581
+ function validatePropsAsJsonSchema(props) {
1582
+ if (!props || typeof props === "object" && Object.keys(props).length === 0) {
1583
+ return {
1584
+ isValid: true,
1585
+ errors: []
1586
+ };
1587
+ }
1588
+ if (typeof props !== "object" || Array.isArray(props)) {
1589
+ return {
1590
+ isValid: false,
1591
+ errors: [
1592
+ {
1593
+ field: "props",
1594
+ message: "Props must be a valid JSON Schema object",
1595
+ value: props
1596
+ }
1597
+ ]
1598
+ };
1599
+ }
1600
+ if (!props.type) {
1601
+ return {
1602
+ isValid: false,
1603
+ errors: [
1604
+ {
1605
+ field: "props.type",
1606
+ message: 'JSON Schema must have a "type" field'
1607
+ }
1608
+ ]
1609
+ };
1610
+ }
1611
+ if (props.type !== "object") {
1612
+ return {
1613
+ isValid: false,
1614
+ errors: [
1615
+ {
1616
+ field: "props.type",
1617
+ message: 'JSON Schema type must be "object" for component props',
1618
+ value: props.type
1619
+ }
1620
+ ]
1621
+ };
1622
+ }
1623
+ if (!props.properties || typeof props.properties !== "object") {
1624
+ return {
1625
+ isValid: false,
1626
+ errors: [
1627
+ {
1628
+ field: "props.properties",
1629
+ message: 'JSON Schema must have a "properties" object'
1630
+ }
1631
+ ]
1632
+ };
1633
+ }
1634
+ if (props.required !== void 0 && !Array.isArray(props.required)) {
1635
+ return {
1636
+ isValid: false,
1637
+ errors: [
1638
+ {
1639
+ field: "props.required",
1640
+ message: 'If present, "required" must be an array'
1641
+ }
1642
+ ]
1643
+ };
1644
+ }
1645
+ try {
1646
+ const schemaToValidate = { ...props };
1647
+ delete schemaToValidate.$schema;
1648
+ const schemaValidator = new Ajv__default.default({
1649
+ strict: false,
1650
+ // Allow unknown keywords like inPreview
1651
+ validateSchema: true,
1652
+ // Validate the schema itself
1653
+ addUsedSchema: false
1654
+ // Don't add schemas to the instance
1655
+ });
1656
+ const isValid = schemaValidator.validateSchema(schemaToValidate);
1657
+ if (!isValid) {
1658
+ const errors = schemaValidator.errors || [];
1659
+ return {
1660
+ isValid: false,
1661
+ errors: errors.map((error) => ({
1662
+ field: `props${error.instancePath || ""}`,
1663
+ message: error.message || "Invalid schema"
1664
+ }))
1665
+ };
1666
+ }
1667
+ return {
1668
+ isValid: true,
1669
+ errors: []
1670
+ };
1671
+ } catch (error) {
1672
+ return {
1673
+ isValid: false,
1674
+ errors: [
1675
+ {
1676
+ field: "props",
1677
+ message: `Schema validation failed: ${error instanceof Error ? error.message : "Unknown error"}`
1678
+ }
1679
+ ]
1680
+ };
1681
+ }
1682
+ }
1577
1683
 
1578
1684
  exports.AgentApiInsertSchema = AgentApiInsertSchema;
1579
1685
  exports.AgentApiSelectSchema = AgentApiSelectSchema;
@@ -1749,4 +1855,5 @@ exports.validateAndTypeGraphData = validateAndTypeGraphData;
1749
1855
  exports.validateArtifactComponentReferences = validateArtifactComponentReferences;
1750
1856
  exports.validateDataComponentReferences = validateDataComponentReferences;
1751
1857
  exports.validateGraphStructure = validateGraphStructure;
1858
+ exports.validatePropsAsJsonSchema = validatePropsAsJsonSchema;
1752
1859
  exports.validateToolReferences = validateToolReferences;
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-BMAHFZX6.cjs';
3
- export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-BMAHFZX6.cjs';
2
+ import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-6UlHR5nQ.cjs';
3
+ export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-6UlHR5nQ.cjs';
4
+ export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.cjs';
4
5
  import 'drizzle-zod';
5
6
  import 'drizzle-orm/sqlite-core';
6
7
  import '@hono/zod-openapi';
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
- import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-BMAHFZX6.js';
3
- export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-BMAHFZX6.js';
2
+ import { cV as AgentDefinition, cU as InternalAgentDefinition, cz as ExternalAgentApiInsert, fq as FullGraphDefinitionSchema, v as FullGraphDefinition } from '../utility-6UlHR5nQ.js';
3
+ export { dt as AgentApiInsertSchema, ds as AgentApiSelectSchema, du as AgentApiUpdateSchema, eE as AgentArtifactComponentApiInsertSchema, eD as AgentArtifactComponentApiSelectSchema, eF as AgentArtifactComponentApiUpdateSchema, eB as AgentArtifactComponentInsertSchema, eA as AgentArtifactComponentSelectSchema, eC as AgentArtifactComponentUpdateSchema, es as AgentDataComponentApiInsertSchema, er as AgentDataComponentApiSelectSchema, et as AgentDataComponentApiUpdateSchema, ep as AgentDataComponentInsertSchema, eo as AgentDataComponentSelectSchema, eq as AgentDataComponentUpdateSchema, dI as AgentGraphApiInsertSchema, dH as AgentGraphApiSelectSchema, dJ as AgentGraphApiUpdateSchema, dF as AgentGraphInsertSchema, dE as AgentGraphSelectSchema, dG as AgentGraphUpdateSchema, dq as AgentInsertSchema, dz as AgentRelationApiInsertSchema, dy as AgentRelationApiSelectSchema, dA as AgentRelationApiUpdateSchema, dw as AgentRelationInsertSchema, dB as AgentRelationQuerySchema, dv as AgentRelationSelectSchema, dx as AgentRelationUpdateSchema, dp as AgentSelectSchema, d as AgentStopWhen, a as AgentStopWhenSchema, ff as AgentToolRelationApiInsertSchema, fe as AgentToolRelationApiSelectSchema, fg as AgentToolRelationApiUpdateSchema, fc as AgentToolRelationInsertSchema, fb as AgentToolRelationSelectSchema, fd as AgentToolRelationUpdateSchema, dr as AgentUpdateSchema, eM as AllAgentSchema, eR as ApiKeyApiCreationResponseSchema, eS as ApiKeyApiInsertSchema, eQ as ApiKeyApiSelectSchema, A as ApiKeyApiUpdateSchema, eO as ApiKeyInsertSchema, eN as ApiKeySelectSchema, eP as ApiKeyUpdateSchema, ey as ArtifactComponentApiInsertSchema, ex as ArtifactComponentApiSelectSchema, ez as ArtifactComponentApiUpdateSchema, ev as ArtifactComponentInsertSchema, eu as ArtifactComponentSelectSchema, ew as ArtifactComponentUpdateSchema, fp as CanUseItemSchema, ef as ContextCacheApiInsertSchema, ee as ContextCacheApiSelectSchema, eg as ContextCacheApiUpdateSchema, ec as ContextCacheInsertSchema, eb as ContextCacheSelectSchema, ed as ContextCacheUpdateSchema, f9 as ContextConfigApiInsertSchema, f8 as ContextConfigApiSelectSchema, fa as ContextConfigApiUpdateSchema, f6 as ContextConfigInsertSchema, f5 as ContextConfigSelectSchema, f7 as ContextConfigUpdateSchema, e3 as ConversationApiInsertSchema, e2 as ConversationApiSelectSchema, e4 as ConversationApiUpdateSchema, e0 as ConversationInsertSchema, d$ as ConversationSelectSchema, e1 as ConversationUpdateSchema, eX as CredentialReferenceApiInsertSchema, eW as CredentialReferenceApiSelectSchema, eY as CredentialReferenceApiUpdateSchema, eU as CredentialReferenceInsertSchema, eT as CredentialReferenceSelectSchema, eV as CredentialReferenceUpdateSchema, em as DataComponentApiInsertSchema, el as DataComponentApiSelectSchema, en as DataComponentApiUpdateSchema, ej as DataComponentBaseSchema, ei as DataComponentInsertSchema, eh as DataComponentSelectSchema, ek as DataComponentUpdateSchema, fv as ErrorResponseSchema, fw as ExistsResponseSchema, eK as ExternalAgentApiInsertSchema, eJ as ExternalAgentApiSelectSchema, eL as ExternalAgentApiUpdateSchema, eH as ExternalAgentInsertSchema, dD as ExternalAgentRelationApiInsertSchema, dC as ExternalAgentRelationInsertSchema, eG as ExternalAgentSelectSchema, eI as ExternalAgentUpdateSchema, f3 as FetchConfigSchema, f4 as FetchDefinitionSchema, F as FullGraphAgentInsertSchema, fE as FullProjectDefinitionSchema, c as GraphStopWhen, G as GraphStopWhenSchema, fr as GraphWithinContextOfProjectSchema, fF as HeadersScopeSchema, fM as IdParamsSchema, fl as LedgerArtifactApiInsertSchema, fk as LedgerArtifactApiSelectSchema, fm as LedgerArtifactApiUpdateSchema, fi as LedgerArtifactInsertSchema, fh as LedgerArtifactSelectSchema, fj as LedgerArtifactUpdateSchema, ft as ListResponseSchema, dj as MAX_ID_LENGTH, e_ as MCPToolConfigSchema, di as MIN_ID_LENGTH, dY as McpToolDefinitionSchema, eZ as McpToolSchema, dW as McpTransportConfigSchema, e9 as MessageApiInsertSchema, e8 as MessageApiSelectSchema, ea as MessageApiUpdateSchema, e6 as MessageInsertSchema, e5 as MessageSelectSchema, e7 as MessageUpdateSchema, dm as ModelSchema, e as ModelSettings, M as ModelSettingsSchema, fN as PaginationQueryParamsSchema, fs as PaginationSchema, fC as ProjectApiInsertSchema, fB as ProjectApiSelectSchema, fD as ProjectApiUpdateSchema, fz as ProjectInsertSchema, dn as ProjectModelSchema, fy as ProjectSelectSchema, fA as ProjectUpdateSchema, fx as RemovedResponseSchema, fu as SingleResponseSchema, fn as StatusComponentSchema, fo as StatusUpdateSchema, b as StopWhen, S as StopWhenSchema, dO as TaskApiInsertSchema, dN as TaskApiSelectSchema, dP as TaskApiUpdateSchema, dL as TaskInsertSchema, dU as TaskRelationApiInsertSchema, dT as TaskRelationApiSelectSchema, dV as TaskRelationApiUpdateSchema, dR as TaskRelationInsertSchema, dQ as TaskRelationSelectSchema, dS as TaskRelationUpdateSchema, dK as TaskSelectSchema, dM as TaskUpdateSchema, fL as TenantIdParamsSchema, fG as TenantParamsSchema, fJ as TenantProjectGraphIdParamsSchema, fI as TenantProjectGraphParamsSchema, fK as TenantProjectIdParamsSchema, fH as TenantProjectParamsSchema, f1 as ToolApiInsertSchema, f0 as ToolApiSelectSchema, f2 as ToolApiUpdateSchema, d_ as ToolInsertSchema, dZ as ToolSelectSchema, dX as ToolStatusSchema, e$ as ToolUpdateSchema, dk as URL_SAFE_ID_PATTERN, dl as resourceIdSchema } from '../utility-6UlHR5nQ.js';
4
+ export { P as PropsValidationResult, v as validatePropsAsJsonSchema } from '../props-validation-BMR1qNiy.js';
4
5
  import 'drizzle-zod';
5
6
  import 'drizzle-orm/sqlite-core';
6
7
  import '@hono/zod-openapi';
@@ -1,2 +1,2 @@
1
- export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from '../chunk-FLKAMXLV.js';
2
- export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema } from '../chunk-FMCAYVO7.js';
1
+ export { generateIdFromName, isExternalAgent, isInternalAgent, isValidResourceId, validateAgentRelationships, validateAndTypeGraphData, validateArtifactComponentReferences, validateDataComponentReferences, validateGraphStructure, validateToolReferences } from '../chunk-PR7XWHED.js';
2
+ export { AgentApiInsertSchema, AgentApiSelectSchema, AgentApiUpdateSchema, AgentArtifactComponentApiInsertSchema, AgentArtifactComponentApiSelectSchema, AgentArtifactComponentApiUpdateSchema, AgentArtifactComponentInsertSchema, AgentArtifactComponentSelectSchema, AgentArtifactComponentUpdateSchema, AgentDataComponentApiInsertSchema, AgentDataComponentApiSelectSchema, AgentDataComponentApiUpdateSchema, AgentDataComponentInsertSchema, AgentDataComponentSelectSchema, AgentDataComponentUpdateSchema, AgentGraphApiInsertSchema, AgentGraphApiSelectSchema, AgentGraphApiUpdateSchema, AgentGraphInsertSchema, AgentGraphSelectSchema, AgentGraphUpdateSchema, AgentInsertSchema, AgentRelationApiInsertSchema, AgentRelationApiSelectSchema, AgentRelationApiUpdateSchema, AgentRelationInsertSchema, AgentRelationQuerySchema, AgentRelationSelectSchema, AgentRelationUpdateSchema, AgentSelectSchema, AgentStopWhenSchema, AgentToolRelationApiInsertSchema, AgentToolRelationApiSelectSchema, AgentToolRelationApiUpdateSchema, AgentToolRelationInsertSchema, AgentToolRelationSelectSchema, AgentToolRelationUpdateSchema, AgentUpdateSchema, AllAgentSchema, ApiKeyApiCreationResponseSchema, ApiKeyApiInsertSchema, ApiKeyApiSelectSchema, ApiKeyApiUpdateSchema, ApiKeyInsertSchema, ApiKeySelectSchema, ApiKeyUpdateSchema, ArtifactComponentApiInsertSchema, ArtifactComponentApiSelectSchema, ArtifactComponentApiUpdateSchema, ArtifactComponentInsertSchema, ArtifactComponentSelectSchema, ArtifactComponentUpdateSchema, CanUseItemSchema, ContextCacheApiInsertSchema, ContextCacheApiSelectSchema, ContextCacheApiUpdateSchema, ContextCacheInsertSchema, ContextCacheSelectSchema, ContextCacheUpdateSchema, ContextConfigApiInsertSchema, ContextConfigApiSelectSchema, ContextConfigApiUpdateSchema, ContextConfigInsertSchema, ContextConfigSelectSchema, ContextConfigUpdateSchema, ConversationApiInsertSchema, ConversationApiSelectSchema, ConversationApiUpdateSchema, ConversationInsertSchema, ConversationSelectSchema, ConversationUpdateSchema, CredentialReferenceApiInsertSchema, CredentialReferenceApiSelectSchema, CredentialReferenceApiUpdateSchema, CredentialReferenceInsertSchema, CredentialReferenceSelectSchema, CredentialReferenceUpdateSchema, DataComponentApiInsertSchema, DataComponentApiSelectSchema, DataComponentApiUpdateSchema, DataComponentBaseSchema, DataComponentInsertSchema, DataComponentSelectSchema, DataComponentUpdateSchema, ErrorResponseSchema, ExistsResponseSchema, ExternalAgentApiInsertSchema, ExternalAgentApiSelectSchema, ExternalAgentApiUpdateSchema, ExternalAgentInsertSchema, ExternalAgentRelationApiInsertSchema, ExternalAgentRelationInsertSchema, ExternalAgentSelectSchema, ExternalAgentUpdateSchema, FetchConfigSchema, FetchDefinitionSchema, FullGraphAgentInsertSchema, FullGraphDefinitionSchema, FullProjectDefinitionSchema, GraphStopWhenSchema, GraphWithinContextOfProjectSchema, HeadersScopeSchema, IdParamsSchema, LedgerArtifactApiInsertSchema, LedgerArtifactApiSelectSchema, LedgerArtifactApiUpdateSchema, LedgerArtifactInsertSchema, LedgerArtifactSelectSchema, LedgerArtifactUpdateSchema, ListResponseSchema, MAX_ID_LENGTH, MCPToolConfigSchema, MIN_ID_LENGTH, McpToolDefinitionSchema, McpToolSchema, McpTransportConfigSchema, MessageApiInsertSchema, MessageApiSelectSchema, MessageApiUpdateSchema, MessageInsertSchema, MessageSelectSchema, MessageUpdateSchema, ModelSchema, ModelSettingsSchema, PaginationQueryParamsSchema, PaginationSchema, ProjectApiInsertSchema, ProjectApiSelectSchema, ProjectApiUpdateSchema, ProjectInsertSchema, ProjectModelSchema, ProjectSelectSchema, ProjectUpdateSchema, RemovedResponseSchema, SingleResponseSchema, StatusComponentSchema, StatusUpdateSchema, StopWhenSchema, TaskApiInsertSchema, TaskApiSelectSchema, TaskApiUpdateSchema, TaskInsertSchema, TaskRelationApiInsertSchema, TaskRelationApiSelectSchema, TaskRelationApiUpdateSchema, TaskRelationInsertSchema, TaskRelationSelectSchema, TaskRelationUpdateSchema, TaskSelectSchema, TaskUpdateSchema, TenantIdParamsSchema, TenantParamsSchema, TenantProjectGraphIdParamsSchema, TenantProjectGraphParamsSchema, TenantProjectIdParamsSchema, TenantProjectParamsSchema, ToolApiInsertSchema, ToolApiSelectSchema, ToolApiUpdateSchema, ToolInsertSchema, ToolSelectSchema, ToolStatusSchema, ToolUpdateSchema, URL_SAFE_ID_PATTERN, resourceIdSchema, validatePropsAsJsonSchema } from '../chunk-BNXFEUNP.js';
@@ -0,0 +1,3 @@
1
+ ALTER TABLE `artifact_components` ADD `props` blob;--> statement-breakpoint
2
+ ALTER TABLE `artifact_components` DROP COLUMN `summary_props`;--> statement-breakpoint
3
+ ALTER TABLE `artifact_components` DROP COLUMN `full_props`;