showdar-skills 0.8.0 → 0.8.1
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/CHANGELOG.md +6 -0
- package/package.json +1 -1
- package/src/workflow-state.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
6
6
|
|
|
7
|
+
## [0.8.1]
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Preserve extension-catalog context while validating skipped custom-workflow stages so valid checkpoints can serialize, deserialize, and resume correctly.
|
|
12
|
+
|
|
7
13
|
## [0.8.0]
|
|
8
14
|
|
|
9
15
|
### Added
|
package/package.json
CHANGED
package/src/workflow-state.js
CHANGED
|
@@ -190,7 +190,7 @@ function validateSkipped(entry, workflowId, selectedStages, catalog = null) {
|
|
|
190
190
|
for (const key of Object.keys(entry)) {
|
|
191
191
|
if (!SKIPPED_KEYS.has(key)) errors.push(`skipped stage contains unknown key: ${key}`);
|
|
192
192
|
}
|
|
193
|
-
const rule = (
|
|
193
|
+
const rule = snapshotSkipRule(catalog, workflowId, entry.stage);
|
|
194
194
|
if (!rule) errors.push(`stage ${entry.stage} is not skippable under ${workflowId} policy`);
|
|
195
195
|
else {
|
|
196
196
|
if (entry.reason !== rule.reason) errors.push(`skip reason for ${entry.stage} must be ${rule.reason}`);
|