xai-review 0.17.0__py3-none-any.whl → 0.18.0__py3-none-any.whl
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.
Potentially problematic release.
This version of xai-review might be problematic. Click here for more details.
- ai_review/services/vcs/github/client.py +4 -0
- {xai_review-0.17.0.dist-info → xai_review-0.18.0.dist-info}/METADATA +26 -4
- {xai_review-0.17.0.dist-info → xai_review-0.18.0.dist-info}/RECORD +7 -7
- {xai_review-0.17.0.dist-info → xai_review-0.18.0.dist-info}/WHEEL +0 -0
- {xai_review-0.17.0.dist-info → xai_review-0.18.0.dist-info}/entry_points.txt +0 -0
- {xai_review-0.17.0.dist-info → xai_review-0.18.0.dist-info}/licenses/LICENSE +0 -0
- {xai_review-0.17.0.dist-info → xai_review-0.18.0.dist-info}/top_level.txt +0 -0
|
@@ -124,6 +124,10 @@ class GitHubVCSClient(VCSClient):
|
|
|
124
124
|
|
|
125
125
|
async def create_discussion(self, file: str, line: int, message: str) -> None:
|
|
126
126
|
try:
|
|
127
|
+
logger.info(
|
|
128
|
+
f"Posting inline comment in {self.owner}/{self.repo}#{self.pull_number} at {file}:{line}: {message}"
|
|
129
|
+
)
|
|
130
|
+
|
|
127
131
|
pr = await self.http_client.pr.get_pull_request(
|
|
128
132
|
owner=self.owner, repo=self.repo, pull_number=self.pull_number
|
|
129
133
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xai-review
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.18.0
|
|
4
4
|
Summary: AI-powered code review tool
|
|
5
5
|
Author-email: Nikita Filonov <nikita.filonov@example.com>
|
|
6
6
|
Maintainer-email: Nikita Filonov <nikita.filonov@example.com>
|
|
@@ -39,6 +39,7 @@ _Made with ❤️ by [@NikitaFilonov](https://t.me/sound_right)_
|
|
|
39
39
|
## 📑 Table of Contents
|
|
40
40
|
|
|
41
41
|
- ✨ [About](#-about)
|
|
42
|
+
- 🧪 [Live Preview](#-live-preview)
|
|
42
43
|
- 🚀 [Quick Start](#-quick-start)
|
|
43
44
|
- ⚙️ [️CI/CD Integration](#-cicd-integration)
|
|
44
45
|
- 🚀 [GitHub Actions](#-github-actions)
|
|
@@ -67,6 +68,27 @@ final decision to human reviewers.
|
|
|
67
68
|
|
|
68
69
|
---
|
|
69
70
|
|
|
71
|
+
## 🧪 Live Preview
|
|
72
|
+
|
|
73
|
+
Curious how **AI Review** works in practice? Here are three real Pull Requests reviewed entirely by the tool — one per
|
|
74
|
+
mode:
|
|
75
|
+
|
|
76
|
+
| Mode | Description | Live Example |
|
|
77
|
+
|------------|----------------------------------------------------|-------------------------------------------------------------------------------|
|
|
78
|
+
| 🧩 Inline | Adds line-by-line comments directly in the diff | [Try AI Review (inline)](https://github.com/Nikita-Filonov/ai-review/pull/4) |
|
|
79
|
+
| 📄 Summary | Posts a concise summary review with key highlights | [Try AI Review (context)](https://github.com/Nikita-Filonov/ai-review/pull/5) |
|
|
80
|
+
| 🧠 Context | Performs broader analysis across multiple files | [Try AI Review (summary)](https://github.com/Nikita-Filonov/ai-review/pull/6) |
|
|
81
|
+
|
|
82
|
+
Each review was generated automatically via GitHub Actions using the corresponding mode:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
ai-review run-inline
|
|
86
|
+
ai-review run-summary
|
|
87
|
+
ai-review run-context
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
70
92
|
## 🚀 Quick Start
|
|
71
93
|
|
|
72
94
|
Install via **pip**:
|
|
@@ -120,8 +142,8 @@ vcs:
|
|
|
120
142
|
> **Note:** Running `ai-review run` executes the full review (inline + summary).
|
|
121
143
|
> To run only one mode, use the dedicated subcommands:
|
|
122
144
|
> - ai-review run-inline
|
|
123
|
-
> - ai-review run-summary
|
|
124
145
|
> - ai-review run-context
|
|
146
|
+
> - ai-review run-summary
|
|
125
147
|
|
|
126
148
|
---
|
|
127
149
|
|
|
@@ -132,7 +154,7 @@ Key things you can customize:
|
|
|
132
154
|
|
|
133
155
|
- **LLM provider** — OpenAI, Gemini, or Claude
|
|
134
156
|
- **Model settings** — model name, temperature, max tokens
|
|
135
|
-
- **VCS integration** —
|
|
157
|
+
- **VCS integration** — works out of the box with **GitLab** and **GitHub**.
|
|
136
158
|
- **Review policy** — which files to include/exclude, review modes
|
|
137
159
|
- **Prompts** — inline/context/summary prompt templates
|
|
138
160
|
|
|
@@ -170,7 +192,7 @@ jobs:
|
|
|
170
192
|
runs-on: ubuntu-latest
|
|
171
193
|
steps:
|
|
172
194
|
- uses: actions/checkout@v4
|
|
173
|
-
- uses: Nikita-Filonov/ai-review@v0.
|
|
195
|
+
- uses: Nikita-Filonov/ai-review@v0.18.0
|
|
174
196
|
with:
|
|
175
197
|
review-command: ${{ inputs.review-command }}
|
|
176
198
|
env:
|
|
@@ -124,7 +124,7 @@ ai_review/services/vcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
|
|
|
124
124
|
ai_review/services/vcs/factory.py,sha256=na1AOXgL9oUHqGIdRwT73BofxnkXEFnDr7fL3Sk_hkw,586
|
|
125
125
|
ai_review/services/vcs/types.py,sha256=o3CJ8bZJ8unB9AKSpS66NwPVkFkweV4R02nCYsNqCko,1270
|
|
126
126
|
ai_review/services/vcs/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
127
|
-
ai_review/services/vcs/github/client.py,sha256=
|
|
127
|
+
ai_review/services/vcs/github/client.py,sha256=ikW2YikslQm54U8e3yVfL3LizFmYbBzYa_FqkuDOajc,5634
|
|
128
128
|
ai_review/services/vcs/gitlab/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
129
|
ai_review/services/vcs/gitlab/client.py,sha256=-ZZFFlB7vv2DgEYAU016FP4CcYO8hp5LY1E2xokuCmU,6140
|
|
130
130
|
ai_review/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -173,9 +173,9 @@ ai_review/tests/suites/services/review/policy/test_service.py,sha256=kRWT550OjWY
|
|
|
173
173
|
ai_review/tests/suites/services/review/summary/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
174
174
|
ai_review/tests/suites/services/review/summary/test_schema.py,sha256=xSoydvABZldHaVDa0OBFvYrj8wMuZqUDN3MO-XdvxOI,819
|
|
175
175
|
ai_review/tests/suites/services/review/summary/test_service.py,sha256=8UMvi_NL9frm280vD6Q1NCDrdI7K8YbXzoViIus-I2g,541
|
|
176
|
-
xai_review-0.
|
|
177
|
-
xai_review-0.
|
|
178
|
-
xai_review-0.
|
|
179
|
-
xai_review-0.
|
|
180
|
-
xai_review-0.
|
|
181
|
-
xai_review-0.
|
|
176
|
+
xai_review-0.18.0.dist-info/licenses/LICENSE,sha256=p-v8m7Kmz4KKc7PcvsGiGEmCw9AiSXY4_ylOPy_u--Y,11343
|
|
177
|
+
xai_review-0.18.0.dist-info/METADATA,sha256=OKCfkhU0YA7NGJjjNbMc066V1-5bmrv2ElgQsyNGoG4,9799
|
|
178
|
+
xai_review-0.18.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
179
|
+
xai_review-0.18.0.dist-info/entry_points.txt,sha256=JyC5URanMi5io5P_PXQf7H_I1OGIpk5cZQhaPQ0g4Zs,53
|
|
180
|
+
xai_review-0.18.0.dist-info/top_level.txt,sha256=sTsZbfzLoqvRZKdKa-BcxWvjlHdrpbeJ6DrGY0EuR0E,10
|
|
181
|
+
xai_review-0.18.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|