@shakecodeslikecray/whiterose 1.0.11 → 2.0.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 +25 -8
- package/dist/cli/index.js +985 -25
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +145 -1
- package/dist/index.js +208 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# whiterose
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@shakecodeslikecray/whiterose)
|
|
4
|
+
[](https://www.npmjs.com/package/@shakecodeslikecray/whiterose)
|
|
5
|
+
[](https://github.com/shakecodeslikecray/whiterose)
|
|
4
6
|
[](LICENSE)
|
|
5
7
|
|
|
6
8
|
> "I've been staring at your code for a long time."
|
|
@@ -33,6 +35,7 @@ AI-powered bug hunter that uses your existing LLM subscription. No API keys need
|
|
|
33
35
|
- [Bug Categories](#bug-categories)
|
|
34
36
|
- [Output Formats](#output-formats)
|
|
35
37
|
- [Contributing](#contributing)
|
|
38
|
+
- [Show Your Support](#show-your-support)
|
|
36
39
|
- [License](#license)
|
|
37
40
|
|
|
38
41
|
---
|
|
@@ -69,6 +72,7 @@ You need at least one LLM CLI tool installed:
|
|
|
69
72
|
| Codex | `npm install -g @openai/codex` | ✅ Ready |
|
|
70
73
|
| Gemini | `npm install -g @google/gemini-cli` | ✅ Ready |
|
|
71
74
|
| Aider | `pip install aider-chat` | ✅ Ready |
|
|
75
|
+
| OpenCode | `curl -fsSL https://opencode.ai/install \| bash` | ✅ Ready |
|
|
72
76
|
|
|
73
77
|
---
|
|
74
78
|
|
|
@@ -331,13 +335,13 @@ whiterose follows the **Liskov Substitution Principle** - all providers are inte
|
|
|
331
335
|
│ Promise<PromptResult>; │
|
|
332
336
|
│ } │
|
|
333
337
|
└─────────────────────────────────────────────────────────────────┘
|
|
334
|
-
│ │ │ │
|
|
335
|
-
▼ ▼ ▼ ▼
|
|
336
|
-
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
|
|
337
|
-
│ claude │ │ codex │ │ gemini │ │ aider │
|
|
338
|
-
│ -code │ │ │ │ │ │ │
|
|
339
|
-
└──────────┘ └──────────┘ └──────────┘ └──────────┘
|
|
340
|
-
executors/ executors/ executors/ executors/
|
|
338
|
+
│ │ │ │ │
|
|
339
|
+
▼ ▼ ▼ ▼ ▼
|
|
340
|
+
┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐
|
|
341
|
+
│ claude │ │ codex │ │ gemini │ │ aider │ │ opencode │
|
|
342
|
+
│ -code │ │ │ │ │ │ │ │ │
|
|
343
|
+
└──────────┘ └──────────┘ └──────────┘ └──────────┘ └──────────┘
|
|
344
|
+
executors/ executors/ executors/ executors/ executors/
|
|
341
345
|
```
|
|
342
346
|
|
|
343
347
|
**Adding a new provider is trivial** - just implement the `PromptExecutor` interface (~30 lines).
|
|
@@ -491,7 +495,8 @@ whiterose/
|
|
|
491
495
|
│ │ │ ├── claude-code.ts # ClaudeCodeExecutor
|
|
492
496
|
│ │ │ ├── codex.ts # CodexExecutor
|
|
493
497
|
│ │ │ ├── gemini.ts # GeminiExecutor
|
|
494
|
-
│ │ │
|
|
498
|
+
│ │ │ ├── aider.ts # AiderExecutor
|
|
499
|
+
│ │ │ └── opencode.ts # OpenCodeExecutor
|
|
495
500
|
│ │ │
|
|
496
501
|
│ │ ├── prompts/
|
|
497
502
|
│ │ │ ├── multipass-prompts.ts # Unit pass prompts
|
|
@@ -589,6 +594,18 @@ npm test # Run tests
|
|
|
589
594
|
|
|
590
595
|
---
|
|
591
596
|
|
|
597
|
+
## Show Your Support
|
|
598
|
+
|
|
599
|
+
If you're using whiterose, we'd love to know!
|
|
600
|
+
|
|
601
|
+
- **Star this repo** - helps others discover the project
|
|
602
|
+
- **Add the `whiterose` topic** to your repo - [browse repos using whiterose](https://github.com/topics/whiterose)
|
|
603
|
+
- **Share your experience** - [open a discussion](https://github.com/shakecodeslikecray/whiterose/discussions)
|
|
604
|
+
|
|
605
|
+
[](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/classifying-your-repository-with-topics)
|
|
606
|
+
|
|
607
|
+
---
|
|
608
|
+
|
|
592
609
|
## License
|
|
593
610
|
|
|
594
611
|
PolyForm Noncommercial 1.0.0
|