claude-issue-solver 1.30.0 → 1.30.1

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.
@@ -57,8 +57,9 @@ function getIssue(issueNumber) {
57
57
  }
58
58
  function listIssues(limit = 50) {
59
59
  try {
60
- const limitArg = limit > 0 ? `--limit ${limit}` : '';
61
- const output = (0, child_process_1.execSync)(`gh issue list --state open ${limitArg} --json number,title,body,labels`, { encoding: 'utf-8', stdio: ['pipe', 'pipe', 'pipe'] });
60
+ // When limit is 0, fetch all (use a high number since gh requires --limit)
61
+ const actualLimit = limit > 0 ? limit : 1000;
62
+ const output = (0, child_process_1.execSync)(`gh issue list --state open --limit ${actualLimit} --json number,title,body,labels`, { encoding: 'utf-8', stdio: ['pipe', 'pipe', 'pipe'] });
62
63
  return JSON.parse(output);
63
64
  }
64
65
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-issue-solver",
3
- "version": "1.30.0",
3
+ "version": "1.30.1",
4
4
  "description": "Automatically solve GitHub issues using Claude Code",
5
5
  "main": "dist/index.js",
6
6
  "bin": {