@forwardimpact/schema 0.7.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,8 @@
63
63
  name: Onboard
64
64
  emojiIcon: "🔧"
65
65
  summary:
66
- Prepares the development environment with dependencies, tools, and credentials
66
+ Prepares the development environment with dependencies, tools, and
67
+ credentials
67
68
  description:
68
69
  Your primary task is to prepare the development environment with all
69
70
  prerequisites for coding. Install dependencies, configure tools, set up
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forwardimpact/schema",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Schema definitions and data loading for skills, behaviours, and role frameworks",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/validation.js CHANGED
@@ -151,7 +151,10 @@ function validateSkill(skill, index, requiredStageIds = []) {
151
151
  } else {
152
152
  // Validate each stage against loaded stage data
153
153
  for (const [stageId, stageData] of Object.entries(skill.agent.stages)) {
154
- if (requiredStageIds.length > 0 && !requiredStageIds.includes(stageId)) {
154
+ if (
155
+ requiredStageIds.length > 0 &&
156
+ !requiredStageIds.includes(stageId)
157
+ ) {
155
158
  errors.push(
156
159
  createError(
157
160
  "INVALID_VALUE",