ace-git-copilot 0.2.0__tar.gz → 0.2.2__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.
Files changed (56) hide show
  1. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/PKG-INFO +7 -1
  2. ace_git_copilot-0.2.2/ace/__init__.py +1 -0
  3. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/cli.py +3 -3
  4. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/pyproject.toml +9 -1
  5. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_llm_factory.py +0 -1
  6. ace_git_copilot-0.2.0/ace/__init__.py +0 -1
  7. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/.env.example +0 -0
  8. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/.github/workflows/tests.yml +0 -0
  9. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/.gitignore +0 -0
  10. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/README.md +0 -0
  11. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/__main__.py +0 -0
  12. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/changelog_generator.py +0 -0
  13. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/code_reviewer.py +0 -0
  14. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/commit_generator.py +0 -0
  15. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/conflict_resolver.py +0 -0
  16. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/gitignore_generator.py +0 -0
  17. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/history_analyzer.py +0 -0
  18. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/intent_parser.py +0 -0
  19. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/llm_factory.py +0 -0
  20. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/pr_drafter.py +0 -0
  21. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/changelog.py +0 -0
  22. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/commit.py +0 -0
  23. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/conflict.py +0 -0
  24. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/explain.py +0 -0
  25. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/ignore.py +0 -0
  26. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/intent.py +0 -0
  27. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/pr.py +0 -0
  28. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/review.py +0 -0
  29. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/search.py +0 -0
  30. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ai/prompts/undo.py +0 -0
  31. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/core/config.py +0 -0
  32. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/core/context.py +0 -0
  33. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/core/git_ops.py +0 -0
  34. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/core/safety.py +0 -0
  35. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ui/banner.py +0 -0
  36. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ui/dashboard.py +0 -0
  37. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ui/display.py +0 -0
  38. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ui/prompts.py +0 -0
  39. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/ui/themes.py +0 -0
  40. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/utils/conflict_parser.py +0 -0
  41. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/utils/diff_parser.py +0 -0
  42. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/ace/utils/json_utils.py +0 -0
  43. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/conftest.py +0 -0
  44. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_changelog_generator.py +0 -0
  45. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_code_reviewer.py +0 -0
  46. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_conflict_resolver.py +0 -0
  47. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_diff_trimmer.py +0 -0
  48. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_git_ops.py +0 -0
  49. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_help.py +0 -0
  50. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_history_analyzer.py +0 -0
  51. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_ignore.py +0 -0
  52. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_intent_parser.py +0 -0
  53. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_pr_drafter.py +0 -0
  54. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_safety.py +0 -0
  55. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_search.py +0 -0
  56. {ace_git_copilot-0.2.0 → ace_git_copilot-0.2.2}/tests/test_undo.py +0 -0
@@ -1,7 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ace-git-copilot
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: AI-powered Git copilot — talk to Git in plain English
5
+ License: MIT
6
+ Classifier: License :: OSI Approved :: MIT License
7
+ Classifier: Operating System :: OS Independent
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
5
11
  Requires-Python: >=3.11
6
12
  Requires-Dist: click>=8.0
7
13
  Requires-Dist: gitpython>=3.1
@@ -0,0 +1 @@
1
+ __version__ = "0.2.2"
@@ -2,6 +2,7 @@ import sys
2
2
  import os
3
3
  from typing import Optional, List
4
4
  import typer
5
+ import click
5
6
 
6
7
  try:
7
8
  sys.stdout.reconfigure(encoding='utf-8', errors='replace')
@@ -24,7 +25,6 @@ from ace.ui.display import (
24
25
  print_info,
25
26
  print_success,
26
27
  print_warning,
27
- print_error,
28
28
  show_error_panel,
29
29
  show_warning_panel,
30
30
  show_commit_message,
@@ -302,7 +302,7 @@ def commit_cmd(
302
302
 
303
303
  elif choice == "e":
304
304
  # Edit in editor
305
- edited = typer.edit(msg)
305
+ edited = click.edit(msg)
306
306
  if edited is not None and edited.strip():
307
307
  msg = edited.strip()
308
308
  else:
@@ -688,7 +688,7 @@ def resolve_cmd(
688
688
  replacements.append((sugg["full_block"], sugg["incoming"]))
689
689
  print_success("Keeping incoming changes.")
690
690
  elif choice == "m":
691
- edited = typer.edit(sugg["suggested_merged"])
691
+ edited = click.edit(sugg["suggested_merged"])
692
692
  if edited is not None:
693
693
  replacements.append((sugg["full_block"], edited.strip()))
694
694
  print_success("Applied manual edit.")
@@ -1,9 +1,17 @@
1
1
  [project]
2
2
  name = "ace-git-copilot"
3
- version = "0.2.0"
3
+ version = "0.2.2"
4
4
  description = "AI-powered Git copilot — talk to Git in plain English"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
7
+ license = { text = "MIT" }
8
+ classifiers = [
9
+ "Programming Language :: Python :: 3",
10
+ "Programming Language :: Python :: 3.11",
11
+ "Programming Language :: Python :: 3.12",
12
+ "License :: OSI Approved :: MIT License",
13
+ "Operating System :: OS Independent",
14
+ ]
7
15
  dependencies = [
8
16
  "typer[all]>=0.12",
9
17
  "click>=8.0",
@@ -51,7 +51,6 @@ def test_ensure_ollama_model_pull(mock_confirm, mock_urlopen):
51
51
  assert mock_confirm.called
52
52
 
53
53
  def test_get_llm_nvidia():
54
- import pytest
55
54
  from ace.core.config import Config
56
55
  mock_config = Config({
57
56
  "ai": {
@@ -1 +0,0 @@
1
- __version__ = "0.2.0"