feat: update Makelore modules and conversations
This commit is contained in:
@@ -55,7 +55,6 @@ export function isSuperpowersEnabledForDirectory(directory) {
|
||||
if (typeof projectConfig.superpowersEnabled === 'boolean') {
|
||||
return projectConfig.superpowersEnabled;
|
||||
}
|
||||
if (projectConfig.templateId === 'game-development') return false;
|
||||
} catch {
|
||||
// Non-NianCode and incomplete projects retain the historical default.
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@ fi
|
||||
using_superpowers_content=$(cat "${PLUGIN_ROOT}/skills/using-superpowers/SKILL.md" 2>&1 || echo "Error reading using-superpowers skill")
|
||||
|
||||
# Escape string for JSON embedding using bash parameter substitution.
|
||||
# Each ${s//old/new} is a single C-level pass - orders of magnitude
|
||||
# faster than the character-by-character loop this replaces.
|
||||
# Each ${s//old/new} is a single C-level pass and is vastly faster than
|
||||
# the character-by-character loop this replaces.
|
||||
escape_for_json() {
|
||||
local s="$1"
|
||||
s="${s//\\/\\\\}"
|
||||
|
||||
Reference in New Issue
Block a user