claude-issue-solver 1.12.0 → 1.14.0

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 CHANGED
@@ -100,6 +100,9 @@ Run from any git repository with GitHub issues:
100
100
  # Interactive: show issues and select one
101
101
  claude-issue
102
102
 
103
+ # Or use the short alias
104
+ cis
105
+
103
106
  # Solve a specific issue directly
104
107
  claude-issue 42
105
108
 
@@ -133,7 +136,7 @@ claude-issue --help
133
136
 
134
137
  | Command | Alias | Description |
135
138
  |---------|-------|-------------|
136
- | `claude-issue` | - | Interactive issue selection |
139
+ | `claude-issue` | `cis` | Interactive issue selection |
137
140
  | `claude-issue <number>` | - | Solve specific issue |
138
141
  | `claude-issue new <title>` | - | Create issue and solve it |
139
142
  | `claude-issue list` | `ls` | List open issues |
@@ -15,11 +15,13 @@ async function listCommand() {
15
15
  console.log(chalk_1.default.yellow('No open issues found.'));
16
16
  return;
17
17
  }
18
+ const issuesWithPRs = (0, github_1.getIssuesWithOpenPRs)();
18
19
  for (const issue of issues) {
20
+ const prTag = issuesWithPRs.has(issue.number) ? chalk_1.default.magenta(' [PR]') : '';
19
21
  const labels = issue.labels.length > 0
20
22
  ? ' ' + issue.labels.map(l => chalk_1.default.hex(`#${l.color}`).bold(`[${l.name}]`)).join(' ')
21
23
  : '';
22
- console.log(` ${chalk_1.default.cyan(`#${issue.number}`)}\t${issue.title}${labels}`);
24
+ console.log(` ${chalk_1.default.cyan(`#${issue.number}`)}\t${issue.title}${prTag}${labels}`);
23
25
  }
24
26
  console.log();
25
27
  }
@@ -17,22 +17,15 @@ async function selectCommand() {
17
17
  console.log(chalk_1.default.yellow('No open issues found.'));
18
18
  return;
19
19
  }
20
- // Filter out issues that already have open PRs
21
20
  const issuesWithPRs = (0, github_1.getIssuesWithOpenPRs)();
22
- const availableIssues = issues.filter((issue) => !issuesWithPRs.has(issue.number));
23
- if (availableIssues.length === 0) {
24
- console.log(chalk_1.default.yellow('All open issues already have PRs in progress.'));
25
- console.log(chalk_1.default.dim('Use `claude-issue go` to navigate to existing worktrees.'));
26
- return;
27
- }
28
- if (issuesWithPRs.size > 0) {
29
- const skipped = issues.length - availableIssues.length;
30
- console.log(chalk_1.default.dim(`(${skipped} issue${skipped > 1 ? 's' : ''} with open PRs hidden)\n`));
31
- }
32
- const choices = availableIssues.map((issue) => ({
33
- name: `#${issue.number}\t${issue.title}`,
34
- value: issue.number,
35
- }));
21
+ const choices = issues.map((issue) => {
22
+ const hasPR = issuesWithPRs.has(issue.number);
23
+ const prTag = hasPR ? chalk_1.default.magenta(' [PR]') : '';
24
+ return {
25
+ name: `#${issue.number}\t${issue.title}${prTag}`,
26
+ value: issue.number,
27
+ };
28
+ });
36
29
  choices.push({
37
30
  name: chalk_1.default.dim('Cancel'),
38
31
  value: -1,
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "claude-issue-solver",
3
- "version": "1.12.0",
3
+ "version": "1.14.0",
4
4
  "description": "Automatically solve GitHub issues using Claude Code",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
7
- "claude-issue": "dist/index.js"
7
+ "claude-issue": "dist/index.js",
8
+ "cis": "dist/index.js"
8
9
  },
9
10
  "scripts": {
10
11
  "build": "tsc",