@suncreation/modu-arena 0.3.3 → 0.3.4

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.
@@ -75,7 +75,9 @@ if (!readmeRaw.trim()) {
75
75
  process.exit(1);
76
76
  }
77
77
 
78
- const description = readmeRaw.length > 5000 ? `${readmeRaw.slice(0, 5000)}\n... (truncated)` : readmeRaw;
78
+ const MAX_DESC = 5000;
79
+ const SUFFIX = '\n... (truncated)';
80
+ const description = readmeRaw.length > MAX_DESC ? readmeRaw.slice(0, MAX_DESC - SUFFIX.length) + SUFFIX : readmeRaw;
79
81
 
80
82
  function extractLocalValidationTestCommand(text) {
81
83
  const idx = text.toLowerCase().indexOf('## local validation');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suncreation/modu-arena",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "type": "module",
5
5
  "description": "Track and rank your AI coding tool usage across Claude Code, Claude Desktop, OpenCode, Gemini CLI, Codex CLI, and Crush",
6
6
  "bin": {