refacil-sdd-ai 4.5.4 → 4.5.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.
- package/lib/installer.js +3 -1
- package/package.json +1 -1
package/lib/installer.js
CHANGED
|
@@ -141,7 +141,9 @@ function transformFrontmatterForCursor(content) {
|
|
|
141
141
|
}
|
|
142
142
|
if (line.startsWith('model:')) {
|
|
143
143
|
const value = line.slice('model:'.length).trim();
|
|
144
|
-
|
|
144
|
+
// Claude Code short aliases (and plan-mode alias) → Cursor always inherits session model
|
|
145
|
+
const ccAlias = value.toLowerCase();
|
|
146
|
+
if (ccAlias === 'sonnet' || ccAlias === 'opus' || ccAlias === 'haiku' || ccAlias === 'opusplan') {
|
|
145
147
|
out.push('model: inherit');
|
|
146
148
|
} else {
|
|
147
149
|
out.push(line);
|
package/package.json
CHANGED