@allma/core-sdk 1.0.7 → 1.0.8
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/config-validator.d.ts +26 -0
- package/dist/config-validator.d.ts.map +1 -0
- package/dist/config-validator.js +111 -0
- package/dist/config-validator.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AllmaExportFormat } from '@allma/core-types';
|
|
2
|
+
/**
|
|
3
|
+
* The structured result of a validation operation.
|
|
4
|
+
*/
|
|
5
|
+
export type ValidationResult = {
|
|
6
|
+
success: true;
|
|
7
|
+
data: AllmaExportFormat;
|
|
8
|
+
} | {
|
|
9
|
+
success: false;
|
|
10
|
+
error: {
|
|
11
|
+
formErrors: string[];
|
|
12
|
+
fieldErrors: Record<string, string[]>;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Validates the raw data for an import operation with detailed, item-by-item checks.
|
|
17
|
+
* This function is centralized in the SDK to be reusable by both the CDK pre-validation
|
|
18
|
+
* step and the backend importer services. It performs in-memory hydration of flows
|
|
19
|
+
* using step definitions from the same import bundle before validation.
|
|
20
|
+
*
|
|
21
|
+
* @param rawData The raw, unparsed data from the import request.
|
|
22
|
+
* @param sourceFileName Optional name of the source file for more descriptive error messages.
|
|
23
|
+
* @returns A discriminated union indicating success with parsed data, or failure with structured errors.
|
|
24
|
+
*/
|
|
25
|
+
export declare function validateAllmaConfig(rawData: unknown, sourceFileName?: string): ValidationResult;
|
|
26
|
+
//# sourceMappingURL=config-validator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-validator.d.ts","sourceRoot":"","sources":["../src/config-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAWlB,MAAM,mBAAmB,CAAC;AAI3B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB;IAAE,OAAO,EAAE,IAAI,CAAC;IAAC,IAAI,EAAE,iBAAiB,CAAA;CAAE,GAC1C;IAAE,OAAO,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE;QAAE,UAAU,EAAE,MAAM,EAAE,CAAC;QAAC,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC;AAE/F;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,gBAAgB,CA4G/F"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { StepDefinitionSchema, FlowDefinitionSchema, PromptTemplateSchema, McpConnectionSchema, AgentSchema, } from '@allma/core-types';
|
|
2
|
+
import { deepMerge } from './objectUtils.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
/**
|
|
5
|
+
* Validates the raw data for an import operation with detailed, item-by-item checks.
|
|
6
|
+
* This function is centralized in the SDK to be reusable by both the CDK pre-validation
|
|
7
|
+
* step and the backend importer services. It performs in-memory hydration of flows
|
|
8
|
+
* using step definitions from the same import bundle before validation.
|
|
9
|
+
*
|
|
10
|
+
* @param rawData The raw, unparsed data from the import request.
|
|
11
|
+
* @param sourceFileName Optional name of the source file for more descriptive error messages.
|
|
12
|
+
* @returns A discriminated union indicating success with parsed data, or failure with structured errors.
|
|
13
|
+
*/
|
|
14
|
+
export function validateAllmaConfig(rawData, sourceFileName) {
|
|
15
|
+
const filePrefix = sourceFileName ? `[${sourceFileName}] ` : '';
|
|
16
|
+
// Define a simple schema for top-level validation of the export format structure.
|
|
17
|
+
const topLevelSchema = z.object({
|
|
18
|
+
formatVersion: z.literal('1.0'),
|
|
19
|
+
exportedAt: z.string().datetime(),
|
|
20
|
+
});
|
|
21
|
+
const topLevelValidation = topLevelSchema.safeParse(rawData);
|
|
22
|
+
if (!topLevelValidation.success) {
|
|
23
|
+
return { success: false, error: topLevelValidation.error.flatten() };
|
|
24
|
+
}
|
|
25
|
+
const data = rawData;
|
|
26
|
+
const fieldErrors = {};
|
|
27
|
+
const formErrors = [];
|
|
28
|
+
// Helper to process Zod issues and build precise error paths for better feedback.
|
|
29
|
+
const processIssues = (issues, arrayName, itemIndex, itemIdentifier) => {
|
|
30
|
+
for (const issue of issues) {
|
|
31
|
+
if (issue.path.length === 0) {
|
|
32
|
+
formErrors.push(`${filePrefix}${itemIdentifier}: ${issue.message}`);
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
const key = `${arrayName}[${itemIndex}].${issue.path.join('.')}`;
|
|
36
|
+
fieldErrors[key] = (fieldErrors[key] || []).concat(`${filePrefix}${issue.message}`);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
// Create a map of step definitions from this import file for in-memory hydration.
|
|
41
|
+
const bundledStepMap = new Map((data.stepDefinitions || []).map(s => [s.id, s]));
|
|
42
|
+
// Validate each flow individually
|
|
43
|
+
if (data.flows && Array.isArray(data.flows)) {
|
|
44
|
+
data.flows.forEach((flow, index) => {
|
|
45
|
+
// Hydrate the flow in-memory before validation by merging referenced step definitions.
|
|
46
|
+
const hydratedFlow = JSON.parse(JSON.stringify(flow));
|
|
47
|
+
if (hydratedFlow.steps) {
|
|
48
|
+
for (const [stepId, stepInstance] of Object.entries(hydratedFlow.steps)) {
|
|
49
|
+
if (stepInstance.stepDefinitionId) {
|
|
50
|
+
const baseDef = bundledStepMap.get(stepInstance.stepDefinitionId);
|
|
51
|
+
if (baseDef) {
|
|
52
|
+
const { id, name, version, createdAt, updatedAt, ...defProps } = baseDef;
|
|
53
|
+
const merged = deepMerge(defProps, stepInstance);
|
|
54
|
+
hydratedFlow.steps[stepId] = merged;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
const flowValidation = FlowDefinitionSchema.safeParse(hydratedFlow);
|
|
60
|
+
if (!flowValidation.success) {
|
|
61
|
+
const flowIdentifier = flow?.id ? `Flow '${flow.id}' (v${flow.version})` : `Flow at index ${index}`;
|
|
62
|
+
processIssues(flowValidation.error.issues, 'flows', index, flowIdentifier);
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
// Validate each step definition individually
|
|
67
|
+
if (data.stepDefinitions && Array.isArray(data.stepDefinitions)) {
|
|
68
|
+
data.stepDefinitions.forEach((step, index) => {
|
|
69
|
+
const stepValidation = StepDefinitionSchema.safeParse(step);
|
|
70
|
+
if (!stepValidation.success) {
|
|
71
|
+
const stepIdentifier = step?.id ? `Step Definition '${step.id}'` : `Step Definition at index ${index}`;
|
|
72
|
+
processIssues(stepValidation.error.issues, 'stepDefinitions', index, stepIdentifier);
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
// Validate each prompt template individually
|
|
77
|
+
if (data.promptTemplates && Array.isArray(data.promptTemplates)) {
|
|
78
|
+
data.promptTemplates.forEach((prompt, index) => {
|
|
79
|
+
const promptValidation = PromptTemplateSchema.safeParse(prompt);
|
|
80
|
+
if (!promptValidation.success) {
|
|
81
|
+
const promptIdentifier = prompt?.id ? `Prompt '${prompt.id}' (v${prompt.version})` : `Prompt at index ${index}`;
|
|
82
|
+
processIssues(promptValidation.error.issues, 'promptTemplates', index, promptIdentifier);
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
// Validate each MCP connection individually
|
|
87
|
+
if (data.mcpConnections && Array.isArray(data.mcpConnections)) {
|
|
88
|
+
data.mcpConnections.forEach((conn, index) => {
|
|
89
|
+
const connValidation = McpConnectionSchema.safeParse(conn);
|
|
90
|
+
if (!connValidation.success) {
|
|
91
|
+
const connIdentifier = conn?.id ? `MCP Connection '${conn.id}'` : `MCP Connection at index ${index}`;
|
|
92
|
+
processIssues(connValidation.error.issues, 'mcpConnections', index, connIdentifier);
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
// Validate each agent individually
|
|
97
|
+
if (data.agents && Array.isArray(data.agents)) {
|
|
98
|
+
data.agents.forEach((agent, index) => {
|
|
99
|
+
const agentValidation = AgentSchema.safeParse(agent);
|
|
100
|
+
if (!agentValidation.success) {
|
|
101
|
+
const agentIdentifier = agent?.id ? `Agent '${agent.id}'` : `Agent at index ${index}`;
|
|
102
|
+
processIssues(agentValidation.error.issues, 'agents', index, agentIdentifier);
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
if (formErrors.length > 0 || Object.keys(fieldErrors).length > 0) {
|
|
107
|
+
return { success: false, error: { formErrors, fieldErrors } };
|
|
108
|
+
}
|
|
109
|
+
return { success: true, data: data };
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=config-validator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-validator.js","sourceRoot":"","sources":["../src/config-validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EACpB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,WAAW,GAMZ,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AASxB;;;;;;;;;GASG;AACH,MAAM,UAAU,mBAAmB,CAAC,OAAgB,EAAE,cAAuB;IAC3E,MAAM,UAAU,GAAG,cAAc,CAAC,CAAC,CAAC,IAAI,cAAc,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC;IAEhE,kFAAkF;IAClF,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;QAC5B,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;QAC/B,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACpC,CAAC,CAAC;IACH,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P,CAAC;IAED,IAAI,UAAU,CAAC,MAAM,GAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACjE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,WAAW,EAAE,EAAE,CAAC;IAChE,CAAC;IAED,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,IAAyB,EAAE,CAAC;AAC5D,CAAC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allma/core-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Core SDK with shared utilities (logging, auth, S3 utils) for building on the Allma serverless AI orchestration platform.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|