mirror of
https://github.com/rohitg00/skillkit.git
synced 2026-11-18 18:04:26 +00:00
CRITICAL fixes: - plugin.ts: Add path traversal protection in uninstallPlugin with name validation and resolved path checks - bundle.ts: Fix parseSkillContent to not drop first file when content starts with "--- file ---" header MAJOR fixes: - plugin.ts: Add isValidPluginName() helper and validate plugin.metadata.name before using in file paths - plugin.ts: Preserve .mjs extension for single-file ESM plugins - bundle.ts: Use cross-platform path containment checks with relative() and sep instead of hardcoded '/' - loader.ts: Add support for .mjs files (index.mjs, plugin.mjs) MINOR fixes: - plugin.ts: Expand tilde (~) path BEFORE calling loadPlugin - settings.ts: Use null instead of undefined in JSON output for --get so key is preserved