@sylphx/flow 1.4.14 → 1.4.15
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 +10 -0
- package/package.json +1 -1
- package/src/targets/claude-code.ts +8 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @sylphx/flow
|
|
2
2
|
|
|
3
|
+
## 1.4.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 638418b: Fix agent enhancement by preserving rules field in frontmatter (CRITICAL):
|
|
8
|
+
- convertToClaudeCodeFormat was stripping the rules field
|
|
9
|
+
- Enhancement logic needs rules field to know which rules to load
|
|
10
|
+
- Now preserves rules array in transformed frontmatter
|
|
11
|
+
- Fixes: only core.md was being loaded, code-standards and workspace were ignored
|
|
12
|
+
|
|
3
13
|
## 1.4.14
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -558,11 +558,16 @@ function convertToClaudeCodeFormat(
|
|
|
558
558
|
result.model = openCodeMetadata.model;
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
+
// Preserve rules field (needed for agent enhancement)
|
|
562
|
+
if (openCodeMetadata.rules && Array.isArray(openCodeMetadata.rules)) {
|
|
563
|
+
result.rules = openCodeMetadata.rules;
|
|
564
|
+
}
|
|
565
|
+
|
|
561
566
|
// Remove unsupported fields that might cause issues
|
|
562
567
|
// - tools: removed to allow all tools by default
|
|
563
|
-
// - mode: not supported by Claude Code
|
|
564
|
-
// - temperature: not supported by Claude Code
|
|
565
|
-
// -
|
|
568
|
+
// - mode: not supported by Claude Code (ignored, not in result)
|
|
569
|
+
// - temperature: not supported by Claude Code (ignored, not in result)
|
|
570
|
+
// - rules: KEPT (needed for enhancement to load correct rule files)
|
|
566
571
|
|
|
567
572
|
return result;
|
|
568
573
|
}
|