airev 1.1.0__py3-none-any.whl → 1.1.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: airev
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: CLI tool for AI-powered code review with context backtracking
5
5
  Author-email: Tarcisio <tarcisiojunior@gmail.com>
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- code_reviewer/__init__.py,sha256=ZT3XI1jn28k1LV34Ujrq42DbzZqkrEo53dPN8gz7lmw,82
1
+ code_reviewer/__init__.py,sha256=WTWWyMXe2oPQMDyLwbxqYUFRu04K8iqu6C9hpCTfxjU,82
2
2
  code_reviewer/cli.py,sha256=DvVF0o9-hrdUt4D0eWskznDO_Du_1A7LR7GeP8Osujw,6734
3
3
  code_reviewer/context_builder.py,sha256=XJGsJpc5YOP3jhldpMFnrJ-hLc4uf9O6_efxZa3sbsc,8790
4
4
  code_reviewer/diff_parser.py,sha256=07EO0kJFYuS6GRgDUHH0czYJBKcL8CxLR-jLdq6PShs,6896
@@ -9,6 +9,8 @@ code_reviewer/formatters/__init__.py,sha256=LXkD8nK7yWGtbc6ox85SHWZdQX5sVr5xLXkk
9
9
  code_reviewer/formatters/progress.py,sha256=mUmoB2xQYYuYz5IRJzn23wgOpiV7bXehXrPhP5rDT-g,8529
10
10
  code_reviewer/formatters/terminal.py,sha256=lJohIyqav3QjGchjTUKxfCbuFtbtL3sbcW9glU3hwUM,5849
11
11
  code_reviewer/i18n/__init__.py,sha256=Uzm_sic0_ehZQSpyzxI9-IFX_5Saxo5V-sLR35eqrIM,4696
12
+ code_reviewer/locales/en.yaml,sha256=CiVUrxIj9jnAhZjEw74pInWYljT-o2Luvo1mf1yOo14,1879
13
+ code_reviewer/locales/pt-br.yaml,sha256=iWtokdIjBEikUthPYh8oSYUuvgYA_02rcfgzFcB7tLI,2037
12
14
  code_reviewer/prompts/review_system.md,sha256=9FDaIY8q2PdLh3p28cy2EJBi8olQhtw6I3TYgVG7fik,1995
13
15
  code_reviewer/runners/__init__.py,sha256=cLxawmzHwhymN2xSC7nUWEOpHHvvSklzZOqjy2Q7HIM,1194
14
16
  code_reviewer/runners/base.py,sha256=xikp7yI4IcOX86uNA7CUWTCL_oNuHSF9WIs6OP6rnx0,1491
@@ -19,8 +21,8 @@ code_reviewer/updater/http_client.py,sha256=B0ZyZdn2kWeKteWn8P-BWT-uYBWtmeD0p-sc
19
21
  code_reviewer/updater/notifier.py,sha256=o4crwJOnCOSnzqk5gMt0MkYP3xm-yEXIGSnix988YzA,992
20
22
  code_reviewer/updater/upgrade.py,sha256=NHMLw0p71qUhXGSxoyeKi3eNT1-DGi3eKEiYMqBZJkw,2404
21
23
  code_reviewer/updater/version_check.py,sha256=j9B8sM6NZwZe01CuRzQjBgqXIZAkShaht0EBOhuMxOo,4432
22
- airev-1.1.0.dist-info/METADATA,sha256=uc-scP2rjRL2sfXH_JJkFClOccF36aKI9t54bjl2DS0,6258
23
- airev-1.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
24
- airev-1.1.0.dist-info/entry_points.txt,sha256=LDd8UajxUO4QUs63xt6z635doU7E1XzBPFQZeMrlShU,49
25
- airev-1.1.0.dist-info/top_level.txt,sha256=VqPHk5LmBEOeRJOUhXq1lkW5UiT48zW7a9h7NDy9N0E,14
26
- airev-1.1.0.dist-info/RECORD,,
24
+ airev-1.1.1.dist-info/METADATA,sha256=LRW5h-qfxZMleREoJMV4k9h9lB_uXRIZcOEtroaqkD0,6258
25
+ airev-1.1.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
26
+ airev-1.1.1.dist-info/entry_points.txt,sha256=LDd8UajxUO4QUs63xt6z635doU7E1XzBPFQZeMrlShU,49
27
+ airev-1.1.1.dist-info/top_level.txt,sha256=VqPHk5LmBEOeRJOUhXq1lkW5UiT48zW7a9h7NDy9N0E,14
28
+ airev-1.1.1.dist-info/RECORD,,
code_reviewer/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Code Reviewer - CLI para revisão de código com IA."""
2
2
 
3
- __version__ = "1.1.0"
3
+ __version__ = "1.1.1"
@@ -0,0 +1,61 @@
1
+ # English translations
2
+
3
+ cli:
4
+ # Analysis messages
5
+ analyzing: "Analyzing: [bold]{branch}[/bold] → [bold]{base}[/bold]"
6
+ getting_diff: "Getting diff..."
7
+ analyzing_diff: "Analyzing diff..."
8
+ building_context: "Building context..."
9
+ building_prompt: "Building prompt..."
10
+ running_analysis: "Running analysis with {runner}..."
11
+ processing_response: "Processing response..."
12
+ analysis_complete: "Analysis completed in {elapsed:.1f}s"
13
+
14
+ # Error messages
15
+ error_branch: "Error getting current branch: {error}"
16
+ error_diff: "Error getting diff: {error}"
17
+ error_diff_help: "Check if branch '{base}' exists and you're in a git repository."
18
+ error_runner_invalid: "Invalid runner: {error}"
19
+ error_runner_unavailable: "Runner '{runner}' is not available."
20
+ error_runner_help: "Check if the CLI is installed and configured."
21
+ error_runner_not_found: "Runner not found: {error}"
22
+ error_execution: "Execution error: {error}"
23
+
24
+ # Warning messages
25
+ no_changes: "No changes found in diff."
26
+ no_files: "No relevant files to analyze."
27
+
28
+ # Dependencies
29
+ dependencies_found: "Dependencies found:"
30
+
31
+ progress:
32
+ # Summary labels
33
+ modified_files: "Modified files:"
34
+ files_label: "Files:"
35
+ lines_label: "Lines:"
36
+ no_dependencies: "No dependencies found"
37
+ callers: "Callers:"
38
+ callees: "Callees:"
39
+ more: "+{count} more"
40
+
41
+ terminal:
42
+ # Header
43
+ code_review: "CODE REVIEW"
44
+ compared_with: "Compared with:"
45
+ files_count: "{count} file(s)"
46
+
47
+ # Findings
48
+ suggestion: "Suggestion:"
49
+
50
+ # Summary
51
+ summary: "SUMMARY:"
52
+ findings_count: "{count} finding(s)"
53
+ no_problems: "✓ No issues found. Code approved!"
54
+ raw_response: "AI raw response:"
55
+
56
+ parser:
57
+ # Fallback
58
+ unstructured_response: "Unstructured response"
59
+ unstructured_description: "The AI returned text not formatted as JSON"
60
+ unstructured_suggestion: "Check the raw response for details"
61
+ no_title: "No title"
@@ -0,0 +1,61 @@
1
+ # Traduções em Português Brasileiro (padrão)
2
+
3
+ cli:
4
+ # Mensagens de análise
5
+ analyzing: "Analisando: [bold]{branch}[/bold] → [bold]{base}[/bold]"
6
+ getting_diff: "Obtendo diff..."
7
+ analyzing_diff: "Analisando diff..."
8
+ building_context: "Construindo contexto..."
9
+ building_prompt: "Montando prompt..."
10
+ running_analysis: "Executando análise com {runner}..."
11
+ processing_response: "Processando resposta..."
12
+ analysis_complete: "Análise concluída em {elapsed:.1f}s"
13
+
14
+ # Mensagens de erro
15
+ error_branch: "Erro ao obter branch atual: {error}"
16
+ error_diff: "Erro ao obter diff: {error}"
17
+ error_diff_help: "Verifique se a branch '{base}' existe e se você está em um repositório git."
18
+ error_runner_invalid: "Runner inválido: {error}"
19
+ error_runner_unavailable: "Runner '{runner}' não está disponível."
20
+ error_runner_help: "Verifique se o CLI está instalado e configurado."
21
+ error_runner_not_found: "Runner não encontrado: {error}"
22
+ error_execution: "Erro na execução: {error}"
23
+
24
+ # Mensagens de aviso
25
+ no_changes: "Nenhuma mudança encontrada no diff."
26
+ no_files: "Nenhum arquivo relevante para analisar."
27
+
28
+ # Dependências
29
+ dependencies_found: "Dependências encontradas:"
30
+
31
+ progress:
32
+ # Labels de resumo
33
+ modified_files: "Arquivos modificados:"
34
+ files_label: "Arquivos:"
35
+ lines_label: "Linhas:"
36
+ no_dependencies: "Sem dependências encontradas"
37
+ callers: "Callers:"
38
+ callees: "Callees:"
39
+ more: "+{count} mais"
40
+
41
+ terminal:
42
+ # Header
43
+ code_review: "CODE REVIEW"
44
+ compared_with: "Comparado com:"
45
+ files_count: "{count} arquivo(s)"
46
+
47
+ # Findings
48
+ suggestion: "Sugestão:"
49
+
50
+ # Resumo
51
+ summary: "RESUMO:"
52
+ findings_count: "{count} finding(s)"
53
+ no_problems: "✓ Nenhum problema encontrado. Código aprovado!"
54
+ raw_response: "Resposta raw da IA:"
55
+
56
+ parser:
57
+ # Fallback
58
+ unstructured_response: "Resposta não estruturada"
59
+ unstructured_description: "A IA retornou texto não formatado como JSON"
60
+ unstructured_suggestion: "Verifique a resposta raw para detalhes"
61
+ no_title: "Sem título"
File without changes