claude-issue-solver 1.19.0 → 1.19.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/README.md +2 -2
- package/dist/commands/list.js +14 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -114,7 +114,7 @@ claude-issue 42
|
|
|
114
114
|
# List open issues
|
|
115
115
|
claude-issue list
|
|
116
116
|
claude-issue ls
|
|
117
|
-
claude-issue list
|
|
117
|
+
claude-issue list --verbose # Show descriptions
|
|
118
118
|
|
|
119
119
|
# Show full issue details
|
|
120
120
|
claude-issue show 42
|
|
@@ -158,7 +158,7 @@ claude-issue --help
|
|
|
158
158
|
### Command Options
|
|
159
159
|
|
|
160
160
|
**`list` command:**
|
|
161
|
-
-
|
|
161
|
+
- `--verbose` - Show issue descriptions
|
|
162
162
|
|
|
163
163
|
**`new` command:**
|
|
164
164
|
- `-b, --body <text>` - Issue description
|
package/dist/commands/list.js
CHANGED
|
@@ -10,8 +10,20 @@ const git_1 = require("../utils/git");
|
|
|
10
10
|
function truncateBody(body, maxLength = 100) {
|
|
11
11
|
if (!body)
|
|
12
12
|
return '';
|
|
13
|
-
//
|
|
14
|
-
const
|
|
13
|
+
// Find first meaningful line (skip markdown headers and empty lines)
|
|
14
|
+
const lines = body.split('\n');
|
|
15
|
+
let firstLine = '';
|
|
16
|
+
for (const line of lines) {
|
|
17
|
+
const trimmed = line.trim();
|
|
18
|
+
// Skip empty lines, markdown headers, and horizontal rules
|
|
19
|
+
if (!trimmed || trimmed.startsWith('#') || trimmed.match(/^-{3,}$|^_{3,}$|^\*{3,}$/)) {
|
|
20
|
+
continue;
|
|
21
|
+
}
|
|
22
|
+
firstLine = trimmed;
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
if (!firstLine)
|
|
26
|
+
return '';
|
|
15
27
|
if (firstLine.length <= maxLength)
|
|
16
28
|
return firstLine;
|
|
17
29
|
return firstLine.substring(0, maxLength - 3) + '...';
|
package/dist/index.js
CHANGED
|
@@ -67,7 +67,7 @@ program
|
|
|
67
67
|
.command('list')
|
|
68
68
|
.alias('ls')
|
|
69
69
|
.description('List open issues')
|
|
70
|
-
.option('
|
|
70
|
+
.option('--verbose', 'Show issue descriptions')
|
|
71
71
|
.action((options) => (0, list_1.listCommand)(options));
|
|
72
72
|
// Show command
|
|
73
73
|
program
|