gitpr-cli 0.0.28__tar.gz → 0.0.30__tar.gz
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.
- {gitpr_cli-0.0.28/gitpr_cli.egg-info → gitpr_cli-0.0.30}/PKG-INFO +8 -3
- gitpr_cli-0.0.28/PKG-INFO → gitpr_cli-0.0.30/README.md +334 -348
- gitpr_cli-0.0.28/README.md → gitpr_cli-0.0.30/gitpr_cli.egg-info/PKG-INFO +353 -329
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/gitpr_cli.egg-info/SOURCES.txt +3 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/pyproject.toml +2 -2
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/ai_providers.py +18 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/cache.py +17 -1
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/core.py +38 -7
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/main.py +70 -6
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/mcp_server.py +259 -11
- gitpr_cli-0.0.30/src/metrics.py +266 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/spinner.py +32 -7
- gitpr_cli-0.0.30/src/ui/metrics_app.py +168 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/updater.py +2 -2
- gitpr_cli-0.0.30/tests/test_mcp_prompts.py +103 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/LICENSE +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/gitpr_cli.egg-info/dependency_links.txt +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/gitpr_cli.egg-info/entry_points.txt +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/gitpr_cli.egg-info/requires.txt +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/gitpr_cli.egg-info/top_level.txt +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/setup.cfg +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/__init__.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/blame_engine.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/chat_memory.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/config.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/i18n.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/issue_engine.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/linter_engine.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/security.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/tui_issue.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/ui/__init__.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/ui/chat_app.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/ui/help_screen.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/src/ui/issue_app.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_chat_backend.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_core.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_install_wizard.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_mcp_server.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_pre_save.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_skill_command.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_smart_excludes.py +0 -0
- {gitpr_cli-0.0.28 → gitpr_cli-0.0.30}/tests/test_thinking_words.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitpr-cli
|
|
3
|
-
Version: 0.0.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.0.30
|
|
4
|
+
Summary: AI-powered PR automation, commit messages, and code review (Gemini, DeepSeek, and Ollama)
|
|
5
5
|
Author-email: Natan Fiuza <contato@natanfiuza.dev.br>
|
|
6
6
|
Requires-Python: >=3.10
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
@@ -139,7 +139,7 @@ You can pass the following *flags* for specific actions:
|
|
|
139
139
|
* `--lang <code>`: Forces the interface language for this execution (e.g.: `en_us`, `pt_br`). Overrides `GITPR_LANG` in `.env` without persisting the change.
|
|
140
140
|
* `-ch` or `--chat`: Opens the **Interactive Pair Programming Chat** — a TUI terminal where the AI sees your current diff and maintains a contextual conversation. Features memory per branch, slash commands (`/explain`, `/tests`, `/optimize`, `/clear`), auto-patching (F5), diff refresh (F2), and session export (F6).
|
|
141
141
|
* `-l` or `--linter`: Runs **only the local static linter** (no AI calls). Ideal for use in CI/CD pipelines to block non-compliant code.
|
|
142
|
-
* `--mcp`: Starts GitPR as an **MCP server** (Model Context Protocol) on stdio transport. Enables integration with VS Code, Cursor, Claude Desktop, and other MCP-compatible editors — exposing all GitPR AI capabilities as tools directly inside your IDE. Also available as the standalone `gitpr-mcp` command.
|
|
142
|
+
* `--mcp`: Starts GitPR as an **MCP server** (Model Context Protocol) on stdio transport. Enables integration with VS Code, Cursor, Claude Desktop, and other MCP-compatible editors — exposing all GitPR AI capabilities as 10 annotated tools, 15 resources, and 7 pre-built prompts directly inside your IDE. Also available as the standalone `gitpr-mcp` command.
|
|
143
143
|
* `--install`: **Interactive Setup Wizard.** Runs a guided 4-step setup: downloads skill templates, installs Git hooks, configures MCP for detected editors, and checks/requests your AI provider API key. Each step asks for confirmation before proceeding.
|
|
144
144
|
* `-ih` or `--installhooks`: Automatically installs **local Git Hooks** (`pre-commit` and `prepare-commit-msg`) in your repository.
|
|
145
145
|
* `-s` or `--skill`: Creates the AI context template files (`.gitpr.commit.md`, `.gitpr.pr.md`, `.gitpr.review.md`, `.gitpr.filereview.md`, `.gitpr.issue.md`, `.gitpr.blame.md`) and the Linter (`.gitpr.linter.yml`) at the project root.
|
|
@@ -272,6 +272,8 @@ Once configured, use natural language in your editor's AI chat:
|
|
|
272
272
|
|
|
273
273
|
📖 **Full documentation:** [docs/mcp-integration.md](https://github.com/natanfiuza/gitpr/blob/main/docs/mcp-integration.md) — available in 5 languages (EN, PT-BR, PT-PT, ES, FR).
|
|
274
274
|
|
|
275
|
+
> 💬 **MCP Prompts** — GitPR also exposes 7 pre-defined message templates (prompts) for common flows like "Review PR", "Generate Commit Message", and "Create Issue from Diff". See the [MCP Prompts guide](https://github.com/natanfiuza/gitpr/blob/main/docs/mcp-prompts.md) for the full list.
|
|
276
|
+
|
|
275
277
|
## 📚 Technical Documentation and Advanced Guides
|
|
276
278
|
|
|
277
279
|
To keep this README concise, we detail the most advanced **DevOps** and **Continuous Integration** focused implementations in separate documents.
|
|
@@ -307,6 +309,9 @@ If you want to implement GitPR as an automated quality barrier in your team, che
|
|
|
307
309
|
* [**GitHub Token (PAT) Integration and Security**](https://github.com/natanfiuza/gitpr/blob/main/docs/github-pat-integration.md) — Understand how GitPR creates issues directly in the repository with authentication.
|
|
308
310
|
* [**Internationalization (i18n)**](https://github.com/natanfiuza/gitpr/blob/main/docs/i18n_explanation.md) — Architecture, usage patterns, and how to add new languages.
|
|
309
311
|
* [**MCP Integration**](https://github.com/natanfiuza/gitpr/blob/main/docs/mcp-integration.md) — Connect GitPR to VS Code, Cursor, and Claude Desktop via Model Context Protocol.
|
|
312
|
+
* [**MCP Prompts**](https://github.com/natanfiuza/gitpr/blob/main/docs/mcp-prompts.md) — Pre-built message templates (7 prompts, 35 language variants) for common GitPR workflows in your editor's AI chat.
|
|
313
|
+
* [**MCP Tool Annotations**](https://github.com/natanfiuza/gitpr/blob/main/docs/mcp-annotations.md) — IDE integration hints (`readOnlyHint`, `destructiveHint`) for smarter UI behavior and safer tool execution.
|
|
314
|
+
* [**Metrics & Telemetry**](https://github.com/natanfiuza/gitpr/blob/main/docs/metricas-telemetria.md) — Local offline analytics for team usage metrics, exportable CSV reports, and interactive TUI dashboard.
|
|
310
315
|
|
|
311
316
|
## ⚡ Local Cache System (Quota Savings)
|
|
312
317
|
|