opencode-athena 0.12.1 → 0.12.2
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/dist/cli/index.js +14 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/plugin/index.js +2 -2
- package/dist/plugin/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5138,7 +5138,7 @@ async function analyzeStoryComplexity2(storyContent) {
|
|
|
5138
5138
|
return {
|
|
5139
5139
|
isSimple,
|
|
5140
5140
|
reason: isSimple ? `Simple story: ${acceptanceCriteriaCount} ACs, CRUD-only, no security/data concerns` : `Complex story: ${acceptanceCriteriaCount} ACs, security=${hasSecurityConcerns}, data=${hasDataModelChanges}, API=${hasApiChanges}`,
|
|
5141
|
-
recommendedModel:
|
|
5141
|
+
recommendedModel: "",
|
|
5142
5142
|
factors: {
|
|
5143
5143
|
acceptanceCriteriaCount,
|
|
5144
5144
|
hasSecurityConcerns,
|
|
@@ -5149,7 +5149,7 @@ async function analyzeStoryComplexity2(storyContent) {
|
|
|
5149
5149
|
};
|
|
5150
5150
|
}
|
|
5151
5151
|
function selectReviewModel(config, complexity) {
|
|
5152
|
-
return complexity.isSimple ?
|
|
5152
|
+
return complexity.isSimple ? config.models.librarian : config.models.oracle;
|
|
5153
5153
|
}
|
|
5154
5154
|
function buildEpicReviewPrompt(epicNumber, storyContents, architectureContent) {
|
|
5155
5155
|
const storiesText = storyContents.map((s) => `## Story ${s.id}
|