claude-agent-skills 1.3.3 → 1.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.
package/lib/prompts.js CHANGED
@@ -28,14 +28,12 @@ export async function pickSkills(names, flags = {}, descriptions = {}) {
28
28
  if (flags.all) return names;
29
29
  if (flags.skill?.length) return flags.skill;
30
30
 
31
- // Calculate description width from actual terminal columns.
32
- // prefix=4 (clack's "□ "), nameCol=32, divider=3 (" ")
33
- const termWidth = process.stdout.columns || 100;
34
- const descWidth = Math.max(20, termWidth - 4 - 32 - 3);
35
-
31
+ // Hard cap so descriptions never wrap — single line always fits ≥80 col terminals.
32
+ // prefix(4) + name(32) + divider(3) + desc(45) = 84 chars total.
33
+ const DESC_MAX = 45;
36
34
  function fitDesc(s) {
37
35
  if (!s) return '';
38
- return s.length <= descWidth ? s : s.slice(0, descWidth - 1) + '…';
36
+ return s.length <= DESC_MAX ? s : s.slice(0, DESC_MAX - 1) + '…';
39
37
  }
40
38
 
41
39
  return guard(await multiselect({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-agent-skills",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Install and manage Pavi's Claude Code agent skills",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/skills.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schema_version": 1,
3
3
  "name": "claude-agent-skills",
4
- "version": "1.3.3",
4
+ "version": "1.3.4",
5
5
  "skills": [
6
6
  "ask-matt",
7
7
  "brainstorming",