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/plugin/index.js
CHANGED
|
@@ -5109,7 +5109,7 @@ async function analyzeStoryComplexity2(storyContent) {
|
|
|
5109
5109
|
return {
|
|
5110
5110
|
isSimple,
|
|
5111
5111
|
reason: isSimple ? `Simple story: ${acceptanceCriteriaCount} ACs, CRUD-only, no security/data concerns` : `Complex story: ${acceptanceCriteriaCount} ACs, security=${hasSecurityConcerns}, data=${hasDataModelChanges}, API=${hasApiChanges}`,
|
|
5112
|
-
recommendedModel:
|
|
5112
|
+
recommendedModel: "",
|
|
5113
5113
|
factors: {
|
|
5114
5114
|
acceptanceCriteriaCount,
|
|
5115
5115
|
hasSecurityConcerns,
|
|
@@ -5120,7 +5120,7 @@ async function analyzeStoryComplexity2(storyContent) {
|
|
|
5120
5120
|
};
|
|
5121
5121
|
}
|
|
5122
5122
|
function selectReviewModel(config, complexity) {
|
|
5123
|
-
return complexity.isSimple ?
|
|
5123
|
+
return complexity.isSimple ? config.models.librarian : config.models.oracle;
|
|
5124
5124
|
}
|
|
5125
5125
|
function buildEpicReviewPrompt(epicNumber, storyContents, architectureContent) {
|
|
5126
5126
|
const storiesText = storyContents.map((s) => `## Story ${s.id}
|