@ztffn/presentation-generator-plugin 1.1.4 → 1.1.5
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.
|
@@ -83,14 +83,15 @@ All 8 valid handle IDs: `s-right`, `s-left`, `s-top`, `s-bottom`, `t-right`, `t-
|
|
|
83
83
|
}
|
|
84
84
|
```
|
|
85
85
|
|
|
86
|
-
4. Run
|
|
86
|
+
4. Run the validator script using Bash. This is a Python script — you must execute it, not read it. Reading the JSON file is not validation.
|
|
87
|
+
|
|
88
|
+
The script is bundled with the plugin. Find it and run it:
|
|
87
89
|
|
|
88
90
|
```bash
|
|
89
|
-
|
|
91
|
+
VALIDATE=$(find -L .claude ~/.claude -path "*/presentation-generator/scripts/validate_draft.py" 2>/dev/null | head -1)
|
|
92
|
+
python3 "$VALIDATE" presentations/{slug}/{slug}.json
|
|
90
93
|
```
|
|
91
94
|
|
|
92
|
-
If the working directory is different, use the absolute path to the script.
|
|
93
|
-
|
|
94
95
|
The script prints either `OK Presentation JSON is valid` (exit 0) or a list of `ERROR` lines (exit 1).
|
|
95
96
|
|
|
96
97
|
If there are any `ERROR` lines:
|