@rayburst/cc 3.1.7 → 3.1.9

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.
@@ -6,14 +6,14 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Always-on product context for Claude Code — features, acceptance criteria, and board cards injected automatically.",
9
- "version": "3.1.7"
9
+ "version": "3.1.9"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "rayburst",
14
14
  "source": "./",
15
15
  "description": "Always-on product context for Claude Code. Automatically injects your Rayburst Product Requirement Registry (features, Gherkin acceptance criteria, board cards) into every coding session.",
16
- "version": "3.1.7",
16
+ "version": "3.1.9",
17
17
  "author": {
18
18
  "name": "Rayburst"
19
19
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rayburst",
3
- "version": "3.1.7",
3
+ "version": "3.1.9",
4
4
  "description": "Always-on product context for Claude Code. Automatically injects feature atlas and acceptance criteria into every coding session — no slash commands needed.",
5
5
  "author": {
6
6
  "name": "Rayburst",
@@ -279,8 +279,12 @@ function matchFeatures(prompt2, features) {
279
279
  if (promptLower.includes(titleLower) || titleLower.includes(promptLower)) {
280
280
  phraseBonus = 0.5;
281
281
  }
282
- const score = overlap / promptSet.size + phraseBonus;
283
- if (score >= 0.25) {
282
+ const titleCoverage = titleTokens.length > 0 ? titleTokens.filter((t) => promptSet.has(t)).length / titleTokens.length : 0;
283
+ let titleBonus = 0;
284
+ if (titleCoverage >= 1) titleBonus = 0.5;
285
+ else if (titleCoverage >= 0.8) titleBonus = 0.3;
286
+ const score = overlap / promptSet.size + phraseBonus + titleBonus;
287
+ if (score >= 0.15) {
284
288
  scored.push({ feature, score });
285
289
  }
286
290
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rayburst/cc",
3
- "version": "3.1.7",
3
+ "version": "3.1.9",
4
4
  "type": "module",
5
5
  "description": "Always-on product context for Claude Code. Automatically injects feature atlas and acceptance criteria into every coding session.",
6
6
  "author": {