ace-git-copilot 0.1.2__tar.gz → 0.1.4__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 (55) hide show
  1. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/PKG-INFO +47 -11
  2. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/README.md +46 -10
  3. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/pyproject.toml +1 -1
  4. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/.env.example +0 -0
  5. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/.github/workflows/tests.yml +0 -0
  6. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/.gitignore +0 -0
  7. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/__init__.py +0 -0
  8. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/__main__.py +0 -0
  9. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/changelog_generator.py +0 -0
  10. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/code_reviewer.py +0 -0
  11. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/commit_generator.py +0 -0
  12. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/conflict_resolver.py +0 -0
  13. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/gitignore_generator.py +0 -0
  14. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/history_analyzer.py +0 -0
  15. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/intent_parser.py +0 -0
  16. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/llm_factory.py +0 -0
  17. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/pr_drafter.py +0 -0
  18. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/changelog.py +0 -0
  19. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/commit.py +0 -0
  20. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/conflict.py +0 -0
  21. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/explain.py +0 -0
  22. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/ignore.py +0 -0
  23. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/intent.py +0 -0
  24. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/pr.py +0 -0
  25. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/review.py +0 -0
  26. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/search.py +0 -0
  27. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ai/prompts/undo.py +0 -0
  28. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/cli.py +0 -0
  29. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/core/config.py +0 -0
  30. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/core/context.py +0 -0
  31. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/core/git_ops.py +0 -0
  32. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/core/safety.py +0 -0
  33. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ui/banner.py +0 -0
  34. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ui/dashboard.py +0 -0
  35. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ui/display.py +0 -0
  36. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ui/prompts.py +0 -0
  37. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/ui/themes.py +0 -0
  38. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/utils/conflict_parser.py +0 -0
  39. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/utils/diff_parser.py +0 -0
  40. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/ace/utils/json_utils.py +0 -0
  41. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/conftest.py +0 -0
  42. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_changelog_generator.py +0 -0
  43. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_code_reviewer.py +0 -0
  44. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_conflict_resolver.py +0 -0
  45. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_diff_trimmer.py +0 -0
  46. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_git_ops.py +0 -0
  47. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_help.py +0 -0
  48. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_history_analyzer.py +0 -0
  49. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_ignore.py +0 -0
  50. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_intent_parser.py +0 -0
  51. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_llm_factory.py +0 -0
  52. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_pr_drafter.py +0 -0
  53. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_safety.py +0 -0
  54. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_search.py +0 -0
  55. {ace_git_copilot-0.1.2 → ace_git_copilot-0.1.4}/tests/test_undo.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ace-git-copilot
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: AI-powered Git copilot — talk to Git in plain English
5
5
  Requires-Python: >=3.11
6
6
  Requires-Dist: click>=8.0
@@ -20,6 +20,15 @@ Description-Content-Type: text/markdown
20
20
 
21
21
  # ♠️ Ace — AI-Powered Git Copilot
22
22
 
23
+ ```text
24
+ █████╗ ██████╗ ███████╗
25
+ ██╔══██╗ ██╔════╝ ██╔════╝
26
+ ███████║ ██║ █████╗
27
+ ██╔══██║ ██║ ██╔══╝
28
+ ██║ ██║ ╚██████╗ ███████╗
29
+ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
30
+ ```
31
+
23
32
  [![PyPI Version](https://img.shields.io/pypi/v/ace-git-copilot?color=blue)](https://pypi.org/project/ace-git-copilot/)
24
33
  [![Python Version](https://img.shields.io/pypi/pyversions/ace-git-copilot)](https://pypi.org/project/ace-git-copilot/)
25
34
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -43,16 +52,34 @@ Description-Content-Type: text/markdown
43
52
 
44
53
  ## 🚀 Installation
45
54
 
46
- Install the package directly from PyPI:
55
+ For Python command-line applications like Ace, it is highly recommended to install using **`pipx`**. `pipx` automatically installs the application in an isolated environment and manages your system `PATH` so the executable works globally without conflict.
56
+
57
+ ### Option A: Install via pipx (Recommended)
58
+ 1. Install `pipx` and configure your system `PATH` (only needs to be done once):
59
+ ```bash
60
+ pip install pipx
61
+ pipx ensurepath
62
+ ```
63
+ *(Note: If `pipx ensurepath` modified your path, close your current terminal window and open a new one to apply).*
64
+
65
+ 2. Install Ace:
66
+ ```bash
67
+ pipx install ace-git-copilot
68
+ ```
69
+
70
+ 3. Run it directly:
71
+ ```bash
72
+ ace dash
73
+ ```
74
+
75
+ ### Option B: Install via standard pip (Alternative)
76
+ You can also install Ace globally using standard `pip`:
47
77
  ```bash
48
78
  pip install ace-git-copilot
49
79
  ```
50
-
51
- *Note: Make sure your Python scripts path (e.g., `AppData\Roaming\Python\Python3xx\Scripts` on Windows) is added to your environment `PATH` variable.*
52
-
53
- To update to the latest version:
80
+ *Note: If you run into a `command not found` error, you can bypass your system PATH and run the tool directly through Python module execution:*
54
81
  ```bash
55
- pip install --upgrade ace-git-copilot
82
+ python -m ace dash
56
83
  ```
57
84
 
58
85
  ---
@@ -64,8 +91,15 @@ Run the built-in configuration wizard to select your AI model provider:
64
91
  ace setup
65
92
  ```
66
93
  Ace saves your configuration file to `~/.ace/config.toml`. It supports:
67
- 1. **NVIDIA NIM Cloud API** (high-speed, high-accuracy models) using your NVIDIA developer API key.
68
- 2. **Local Ollama Models** (100% offline, free private local models like `qwen2.5-coder`, `llama3.1`, or `mistral`). If the requested model isn't downloaded, Ace will automatically pull it for you.
94
+
95
+ ### 1. Cloud Models (NVIDIA NIM API)
96
+ Uses cloud-hosted high-performance models.
97
+ * To use this, you'll need an NVIDIA developer API key. Get one for free at [NVIDIA build](https://build.nvidia.com/).
98
+
99
+ ### 2. Local Models (Ollama)
100
+ For a 100% private, offline, and free experience.
101
+ * Ensure [Ollama](https://ollama.com/) is installed and running on your system.
102
+ * You can select models like `qwen2.5-coder`, `llama3.1`, or `mistral`. If the selected model is not downloaded yet, Ace will automatically pull it for you during setup.
69
103
 
70
104
  ---
71
105
 
@@ -80,10 +114,11 @@ ace "switch to a new branch called design-updates"
80
114
  ```
81
115
 
82
116
  ### 📋 Command-Line Toolchain
83
- Ace has dedicated subcommands for specific tasks:
117
+ Ace has dedicated subcommands for specific tasks. Here is the complete command list:
84
118
 
85
119
  | Command | Shorthand | Description |
86
120
  |:---|:---|:---|
121
+ | `ace setup` | — | Launch the initial setup wizard to configure AI models. |
87
122
  | `ace stage [files]` | `ace add` | Stage specific files or all untracked changes. |
88
123
  | `ace commit` | — | Generate Conventional Commit messages from diffs and commit. |
89
124
  | `ace review` | — | Run code review on staged, unstaged, or branch changes. |
@@ -95,8 +130,9 @@ Ace has dedicated subcommands for specific tasks:
95
130
  | `ace search <query>` | — | Semantically search commit history using natural language. |
96
131
  | `ace ignore <rule>` | — | Generate and append standard templates to `.gitignore`. |
97
132
  | `ace undo` | — | Safely revert the last action after checking repository status. |
98
- | `ace dash` | — | Launch the interactive repository management console. |
133
+ | `ace dash` | — | Launch the interactive repository management console (TUI). |
99
134
  | `ace config` | — | Print out active configuration settings. |
135
+ | `ace help` | — | Show user guide and help information on how to use Ace. |
100
136
 
101
137
  ---
102
138
 
@@ -1,5 +1,14 @@
1
1
  # ♠️ Ace — AI-Powered Git Copilot
2
2
 
3
+ ```text
4
+ █████╗ ██████╗ ███████╗
5
+ ██╔══██╗ ██╔════╝ ██╔════╝
6
+ ███████║ ██║ █████╗
7
+ ██╔══██║ ██║ ██╔══╝
8
+ ██║ ██║ ╚██████╗ ███████╗
9
+ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝
10
+ ```
11
+
3
12
  [![PyPI Version](https://img.shields.io/pypi/v/ace-git-copilot?color=blue)](https://pypi.org/project/ace-git-copilot/)
4
13
  [![Python Version](https://img.shields.io/pypi/pyversions/ace-git-copilot)](https://pypi.org/project/ace-git-copilot/)
5
14
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -23,16 +32,34 @@
23
32
 
24
33
  ## 🚀 Installation
25
34
 
26
- Install the package directly from PyPI:
35
+ For Python command-line applications like Ace, it is highly recommended to install using **`pipx`**. `pipx` automatically installs the application in an isolated environment and manages your system `PATH` so the executable works globally without conflict.
36
+
37
+ ### Option A: Install via pipx (Recommended)
38
+ 1. Install `pipx` and configure your system `PATH` (only needs to be done once):
39
+ ```bash
40
+ pip install pipx
41
+ pipx ensurepath
42
+ ```
43
+ *(Note: If `pipx ensurepath` modified your path, close your current terminal window and open a new one to apply).*
44
+
45
+ 2. Install Ace:
46
+ ```bash
47
+ pipx install ace-git-copilot
48
+ ```
49
+
50
+ 3. Run it directly:
51
+ ```bash
52
+ ace dash
53
+ ```
54
+
55
+ ### Option B: Install via standard pip (Alternative)
56
+ You can also install Ace globally using standard `pip`:
27
57
  ```bash
28
58
  pip install ace-git-copilot
29
59
  ```
30
-
31
- *Note: Make sure your Python scripts path (e.g., `AppData\Roaming\Python\Python3xx\Scripts` on Windows) is added to your environment `PATH` variable.*
32
-
33
- To update to the latest version:
60
+ *Note: If you run into a `command not found` error, you can bypass your system PATH and run the tool directly through Python module execution:*
34
61
  ```bash
35
- pip install --upgrade ace-git-copilot
62
+ python -m ace dash
36
63
  ```
37
64
 
38
65
  ---
@@ -44,8 +71,15 @@ Run the built-in configuration wizard to select your AI model provider:
44
71
  ace setup
45
72
  ```
46
73
  Ace saves your configuration file to `~/.ace/config.toml`. It supports:
47
- 1. **NVIDIA NIM Cloud API** (high-speed, high-accuracy models) using your NVIDIA developer API key.
48
- 2. **Local Ollama Models** (100% offline, free private local models like `qwen2.5-coder`, `llama3.1`, or `mistral`). If the requested model isn't downloaded, Ace will automatically pull it for you.
74
+
75
+ ### 1. Cloud Models (NVIDIA NIM API)
76
+ Uses cloud-hosted high-performance models.
77
+ * To use this, you'll need an NVIDIA developer API key. Get one for free at [NVIDIA build](https://build.nvidia.com/).
78
+
79
+ ### 2. Local Models (Ollama)
80
+ For a 100% private, offline, and free experience.
81
+ * Ensure [Ollama](https://ollama.com/) is installed and running on your system.
82
+ * You can select models like `qwen2.5-coder`, `llama3.1`, or `mistral`. If the selected model is not downloaded yet, Ace will automatically pull it for you during setup.
49
83
 
50
84
  ---
51
85
 
@@ -60,10 +94,11 @@ ace "switch to a new branch called design-updates"
60
94
  ```
61
95
 
62
96
  ### 📋 Command-Line Toolchain
63
- Ace has dedicated subcommands for specific tasks:
97
+ Ace has dedicated subcommands for specific tasks. Here is the complete command list:
64
98
 
65
99
  | Command | Shorthand | Description |
66
100
  |:---|:---|:---|
101
+ | `ace setup` | — | Launch the initial setup wizard to configure AI models. |
67
102
  | `ace stage [files]` | `ace add` | Stage specific files or all untracked changes. |
68
103
  | `ace commit` | — | Generate Conventional Commit messages from diffs and commit. |
69
104
  | `ace review` | — | Run code review on staged, unstaged, or branch changes. |
@@ -75,8 +110,9 @@ Ace has dedicated subcommands for specific tasks:
75
110
  | `ace search <query>` | — | Semantically search commit history using natural language. |
76
111
  | `ace ignore <rule>` | — | Generate and append standard templates to `.gitignore`. |
77
112
  | `ace undo` | — | Safely revert the last action after checking repository status. |
78
- | `ace dash` | — | Launch the interactive repository management console. |
113
+ | `ace dash` | — | Launch the interactive repository management console (TUI). |
79
114
  | `ace config` | — | Print out active configuration settings. |
115
+ | `ace help` | — | Show user guide and help information on how to use Ace. |
80
116
 
81
117
  ---
82
118
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "ace-git-copilot"
3
- version = "0.1.2"
3
+ version = "0.1.4"
4
4
  description = "AI-powered Git copilot — talk to Git in plain English"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"