@sonofman01/charlie-the-reviewer 0.1.0 → 0.1.2
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/CHANGELOG.md +2 -2
- package/README.md +8 -8
- package/dist/cli/index.js +4 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/cli/index.d.ts +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
All notable changes to `@
|
|
3
|
+
All notable changes to `@Timbaron/charlie-the-reviewer` will be documented in this file.
|
|
4
4
|
|
|
5
5
|
## 0.1.0
|
|
6
6
|
|
|
7
7
|
### Minor Changes
|
|
8
8
|
|
|
9
|
-
- Initial production-ready release of `@
|
|
9
|
+
- Initial production-ready release of `@Timbaron/charlie-the-reviewer`.
|
|
10
10
|
- Modular AI provider architecture supporting OpenAI and Google Gemini.
|
|
11
11
|
- Configurable strictness levels: Relaxed, Standard, Strict, Maximum.
|
|
12
12
|
- Path-based strictness overrides with glob matching.
|
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# Universal AI Code Reviewer (`@
|
|
1
|
+
# Universal AI Code Reviewer (`@Timbaron/charlie-the-reviewer`)
|
|
2
2
|
|
|
3
|
-
[](https://github.com/Timbaron/charlie-the-reviewer/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@Timbaron/charlie-the-reviewer)
|
|
5
5
|
[](LICENSE)
|
|
6
6
|
[](package.json)
|
|
7
7
|
|
|
8
8
|
**Universal, automated, AI-powered code reviews for GitHub Pull Requests and local Git changes.**
|
|
9
9
|
|
|
10
|
-
Built with TypeScript and Node.js 22+, `@
|
|
10
|
+
Built with TypeScript and Node.js 22+, `@Timbaron/charlie-the-reviewer` offers a provider-agnostic engine with native support for **OpenAI** and **Google Gemini**, 4-tier strictness policies, custom review rules, path overrides, prompt injection defense, and GitHub Actions PR commenting.
|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
@@ -32,10 +32,10 @@ Built with TypeScript and Node.js 22+, `@thesonofman/charlie-the-reviewer` offer
|
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
# Install as a dev dependency
|
|
35
|
-
npm install -D @
|
|
35
|
+
npm install -D @Timbaron/charlie-the-reviewer
|
|
36
36
|
|
|
37
37
|
# Or install globally
|
|
38
|
-
npm install -g @
|
|
38
|
+
npm install -g @Timbaron/charlie-the-reviewer
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
### 2. Configure Your AI Provider
|
|
@@ -244,7 +244,7 @@ jobs:
|
|
|
244
244
|
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
|
245
245
|
GITHUB_TOKEN: ${{ github.token }}
|
|
246
246
|
run: |
|
|
247
|
-
npx --yes @
|
|
247
|
+
npx --yes @Timbaron/charlie-the-reviewer review \
|
|
248
248
|
--pr ${{ github.event.pull_request.number }} \
|
|
249
249
|
--post-github
|
|
250
250
|
```
|
|
@@ -256,7 +256,7 @@ jobs:
|
|
|
256
256
|
Use the library directly in custom tools, bots, or CI scripts:
|
|
257
257
|
|
|
258
258
|
```typescript
|
|
259
|
-
import { createReviewer } from "@
|
|
259
|
+
import { createReviewer } from "@Timbaron/charlie-the-reviewer";
|
|
260
260
|
|
|
261
261
|
const reviewer = createReviewer({
|
|
262
262
|
provider: "openai",
|
package/dist/cli/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
1
3
|
// src/cli/index.ts
|
|
2
4
|
import { Command } from "commander";
|
|
3
5
|
|
|
@@ -1918,7 +1920,7 @@ ${f.suggestion}
|
|
|
1918
1920
|
`;
|
|
1919
1921
|
}
|
|
1920
1922
|
md += `---
|
|
1921
|
-
*Automated review generated by [@
|
|
1923
|
+
*Automated review generated by [@Timbaron/charlie-the-reviewer](https://github.com/Timbaron/charlie-the-reviewer)*
|
|
1922
1924
|
`;
|
|
1923
1925
|
return md;
|
|
1924
1926
|
}
|
|
@@ -2370,7 +2372,7 @@ import { existsSync as existsSync3, writeFileSync } from "fs";
|
|
|
2370
2372
|
import { resolve as resolve3 } from "path";
|
|
2371
2373
|
import pc3 from "picocolors";
|
|
2372
2374
|
var DEFAULT_CONFIG_YAML = `# Charlie the Reviewer Configuration
|
|
2373
|
-
# Documentation: https://github.com/
|
|
2375
|
+
# Documentation: https://github.com/Timbaron/charlie-the-reviewer
|
|
2374
2376
|
|
|
2375
2377
|
ai:
|
|
2376
2378
|
# Supported providers: openai, gemini
|