@polka-codes/cli 0.9.67 → 0.9.69
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 +8 -8
- package/dist/index.js +51800 -68161
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -61,10 +61,10 @@ polka epic "build a new e-commerce platform"
|
|
|
61
61
|
|
|
62
62
|
### `fix`
|
|
63
63
|
|
|
64
|
-
Identify and fix bugs in your codebase.
|
|
64
|
+
Identify and fix bugs in your codebase by running a command (like tests) and letting Polka fix the issues.
|
|
65
65
|
|
|
66
66
|
```bash
|
|
67
|
-
polka fix "
|
|
67
|
+
polka fix "npm test"
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
### `review`
|
|
@@ -72,7 +72,7 @@ polka fix "the login button is not working on the mobile app"
|
|
|
72
72
|
Review a pull request.
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
|
-
polka review
|
|
75
|
+
polka review --pr 123
|
|
76
76
|
```
|
|
77
77
|
|
|
78
78
|
### `meta`
|
|
@@ -139,7 +139,7 @@ POLKA_API_KEY=your_api_key_here
|
|
|
139
139
|
|
|
140
140
|
# Optional - override defaults
|
|
141
141
|
POLKA_API_PROVIDER=deepseek # or anthropic, openrouter, ollama
|
|
142
|
-
|
|
142
|
+
POLKA_MODEL=deepseek-chat # or claude-3-7-sonnet-20250219
|
|
143
143
|
```
|
|
144
144
|
|
|
145
145
|
### Project Configuration
|
|
@@ -148,8 +148,8 @@ Create `.polkacodes.yml` in your project root:
|
|
|
148
148
|
|
|
149
149
|
```yaml
|
|
150
150
|
# AI provider settings
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
defaultProvider: deepseek # default provider
|
|
152
|
+
defaultModel: deepseek-chat # default model
|
|
153
153
|
|
|
154
154
|
# Custom commands available to AI
|
|
155
155
|
commands:
|
|
@@ -203,9 +203,9 @@ rules: |
|
|
|
203
203
|
git add . && polka commit && polka pr
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
4. Get help with a
|
|
206
|
+
4. Get help with a failing test:
|
|
207
207
|
```bash
|
|
208
|
-
polka fix "
|
|
208
|
+
polka fix "bun test tests/checkout.test.ts" --verbose
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
## Requirements
|