gen-pr 2.11.8 → 2.12.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.
- package/README.md +18 -10
- package/dist/action.js +1 -1
- package/dist/cli.js +3 -3
- package/dist/{main-Dn1xdwCM.js → main-BnI-9On3.js} +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -46,37 +46,43 @@ This feature is particularly useful for non-agentic coding tools like Aider.
|
|
|
46
46
|
Gemini 2.5 Pro (`gemini/gemini-2.5-pro`) for planning and Aider for coding:
|
|
47
47
|
|
|
48
48
|
```sh
|
|
49
|
-
npx --yes gen-pr --issue-number 89 --planning-model gemini/gemini-2.5-pro --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model gemini/gemini-2.5-pro --edit-format diff-fenced --test-cmd='yarn check-for-ai' --auto-test"
|
|
49
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model gemini/gemini-2.5-pro --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model gemini/gemini-2.5-pro --edit-format diff-fenced --test-cmd='yarn check-for-ai' --auto-test"
|
|
50
50
|
```
|
|
51
51
|
|
|
52
52
|
Claude Opus 4 on Bedrock (`bedrock/us.anthropic.claude-opus-4-20250514-v1:0`) for planning and Aider for coding:
|
|
53
53
|
|
|
54
54
|
```sh
|
|
55
|
-
npx --yes gen-pr --issue-number 89 --planning-model bedrock/us.anthropic.claude-opus-4-20250514-v1:0 --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model bedrock/us.anthropic.claude-opus-4-20250514-v1:0 --test-cmd='yarn check-for-ai' --auto-test"
|
|
55
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model bedrock/us.anthropic.claude-opus-4-20250514-v1:0 --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model bedrock/us.anthropic.claude-opus-4-20250514-v1:0 --test-cmd='yarn check-for-ai' --auto-test"
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
Gemini 2.5 Pro (`gemini/gemini-2.5-pro`) for planning and Claude Code for coding:
|
|
59
59
|
|
|
60
60
|
```sh
|
|
61
|
-
npx --yes gen-pr --issue-number 89 --planning-model gemini/gemini-2.5-pro --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool claude-code
|
|
61
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model gemini/gemini-2.5-pro --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool claude-code
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
o4-mini (`openai/o4-mini`) for planning and Codex for coding:
|
|
65
65
|
|
|
66
66
|
```sh
|
|
67
|
-
npx --yes gen-pr --issue-number 89 --planning-model openai/o4-mini --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool codex
|
|
67
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model openai/o4-mini --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool codex
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
DeepSeek R1 on OpenRouter (`openrouter/deepseek/deepseek-r1-0528:free`) for planning and Gemini CLI for coding:
|
|
71
71
|
|
|
72
72
|
```sh
|
|
73
|
-
npx --yes gen-pr --issue-number 89 --planning-model openrouter/deepseek/deepseek-r1-0528:free --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool gemini
|
|
73
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model openrouter/deepseek/deepseek-r1-0528:free --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --coding-tool gemini
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Grok 4 (`xai/grok-4`) for planning and Aider for coding:
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model xai/grok-4 --reasoning-effort high --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model gemini/gemini-2.5-pro --edit-format diff-fenced --test-cmd='yarn check-for-ai' --auto-test"
|
|
74
80
|
```
|
|
75
81
|
|
|
76
82
|
Local Gemma 3n via Ollama (`ollama/gemma3n`) for planning and Aider for coding:
|
|
77
83
|
|
|
78
84
|
```sh
|
|
79
|
-
npx --yes gen-pr --issue-number 89 --planning-model ollama/gemma3n --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model ollama/gemma3n --edit-format diff-fenced --test-cmd='yarn check-for-ai' --auto-test"
|
|
85
|
+
npx --yes gen-pr@latest --issue-number 89 --planning-model ollama/gemma3n --repomix-extra-args="--compress --remove-empty-lines --include 'src/**/*.ts'" --aider-extra-args="--model ollama/gemma3n --edit-format diff-fenced --test-cmd='yarn check-for-ai' --auto-test"
|
|
80
86
|
```
|
|
81
87
|
|
|
82
88
|
#### Without Planning
|
|
@@ -84,19 +90,19 @@ npx --yes gen-pr --issue-number 89 --planning-model ollama/gemma3n --repomix-ext
|
|
|
84
90
|
Claude Code:
|
|
85
91
|
|
|
86
92
|
```sh
|
|
87
|
-
npx --yes gen-pr --issue-number 89 --coding-tool claude-code
|
|
93
|
+
npx --yes gen-pr@latest --issue-number 89 --coding-tool claude-code
|
|
88
94
|
```
|
|
89
95
|
|
|
90
96
|
Codex:
|
|
91
97
|
|
|
92
98
|
```sh
|
|
93
|
-
npx --yes gen-pr --issue-number 89 --coding-tool codex
|
|
99
|
+
npx --yes gen-pr@latest --issue-number 89 --coding-tool codex
|
|
94
100
|
```
|
|
95
101
|
|
|
96
102
|
Gemini CLI:
|
|
97
103
|
|
|
98
104
|
```sh
|
|
99
|
-
npx --yes gen-pr --issue-number 89 --coding-tool gemini
|
|
105
|
+
npx --yes gen-pr@latest --issue-number 89 --coding-tool gemini
|
|
100
106
|
```
|
|
101
107
|
|
|
102
108
|
#### For PR ([#103](https://github.com/WillBooster/gen-pr/pull/103))
|
|
@@ -104,7 +110,7 @@ npx --yes gen-pr --issue-number 89 --coding-tool gemini
|
|
|
104
110
|
Codex:
|
|
105
111
|
|
|
106
112
|
```sh
|
|
107
|
-
npx --yes gen-pr --issue-number 103 --coding-tool codex
|
|
113
|
+
npx --yes gen-pr@latest --issue-number 103 --coding-tool codex
|
|
108
114
|
```
|
|
109
115
|
|
|
110
116
|
### Supported Model Format
|
|
@@ -117,6 +123,7 @@ The tool requires **model names defined on [llmlite](https://docs.litellm.ai/doc
|
|
|
117
123
|
- **Anthropic**: `anthropic/claude-4-sonnet-latest`, `anthropic/claude-3-5-haiku-latest` and more
|
|
118
124
|
- **AWS Bedrock**: `bedrock/us.anthropic.claude-sonnet-4-20250514-v1:0`, `bedrock/us.anthropic.claude-3-5-haiku-20241022-v1:0` and more
|
|
119
125
|
- **Google Vertex AI**: `vertex/gemini-2.5-pro`, `vertex/gemini-2.5-flash` and more
|
|
126
|
+
- **xAI**: `xai/grok-4`, `xai/grok-3`, `xai/grok-3-mini` and more
|
|
120
127
|
- **OpenRouter**: `openrouter/deepseek/deepseek-r1-0528:free`, `openrouter/deepseek/deepseek-chat-v3-0324:free` and more
|
|
121
128
|
- **Ollama**: `ollama/gemma3n`, `ollama/deepseek-r1`, `ollama/qwen3` and more
|
|
122
129
|
|
|
@@ -131,6 +138,7 @@ Each provider uses standard environment variables for authentication:
|
|
|
131
138
|
- **Azure OpenAI**: `AZURE_OPENAI_API_KEY`, `AZURE_OPENAI_ENDPOINT`, `AZURE_OPENAI_API_VERSION`
|
|
132
139
|
- **AWS Bedrock**: `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_REGION` (or `AWS_REGION_NAME`)
|
|
133
140
|
- **Google Vertex AI**: `GOOGLE_APPLICATION_CREDENTIALS` or default service account
|
|
141
|
+
- **xAI**: `XAI_API_KEY`
|
|
134
142
|
- **OpenRouter**: `OPENROUTER_API_KEY`
|
|
135
143
|
- **Ollama**: `OLLAMA_BASE_URL` (default: `http://localhost:11434`), `OLLAMA_API_KEY` (optional)
|
|
136
144
|
- Coding Tools
|