patchpal 0.1.2__tar.gz → 0.1.3__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 (27) hide show
  1. {patchpal-0.1.2/patchpal.egg-info → patchpal-0.1.3}/PKG-INFO +2 -1
  2. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/__init__.py +1 -1
  3. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/cli.py +13 -0
  4. {patchpal-0.1.2 → patchpal-0.1.3/patchpal.egg-info}/PKG-INFO +2 -1
  5. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal.egg-info/requires.txt +1 -0
  6. {patchpal-0.1.2 → patchpal-0.1.3}/pyproject.toml +1 -0
  7. {patchpal-0.1.2 → patchpal-0.1.3}/LICENSE +0 -0
  8. {patchpal-0.1.2 → patchpal-0.1.3}/MANIFEST.in +0 -0
  9. {patchpal-0.1.2 → patchpal-0.1.3}/README.md +0 -0
  10. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/agent.py +0 -0
  11. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/context.py +0 -0
  12. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/permissions.py +0 -0
  13. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/skills.py +0 -0
  14. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/system_prompt.md +0 -0
  15. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal/tools.py +0 -0
  16. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal.egg-info/SOURCES.txt +0 -0
  17. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal.egg-info/dependency_links.txt +0 -0
  18. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal.egg-info/entry_points.txt +0 -0
  19. {patchpal-0.1.2 → patchpal-0.1.3}/patchpal.egg-info/top_level.txt +0 -0
  20. {patchpal-0.1.2 → patchpal-0.1.3}/setup.cfg +0 -0
  21. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_agent.py +0 -0
  22. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_cli.py +0 -0
  23. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_context.py +0 -0
  24. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_guardrails.py +0 -0
  25. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_operational_safety.py +0 -0
  26. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_skills.py +0 -0
  27. {patchpal-0.1.2 → patchpal-0.1.3}/tests/test_tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patchpal
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A lean Claude Code clone in pure Python
5
5
  Author: PatchPal Contributors
6
6
  License-Expression: Apache-2.0
@@ -27,6 +27,7 @@ Requires-Dist: rich>=13.0.0
27
27
  Requires-Dist: pyyaml>=6.0.0
28
28
  Requires-Dist: prompt_toolkit>=3.0.0
29
29
  Requires-Dist: tiktoken>=0.5.0
30
+ Requires-Dist: boto3
30
31
  Provides-Extra: dev
31
32
  Requires-Dist: pytest>=7.0.0; extra == "dev"
32
33
  Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
@@ -1,6 +1,6 @@
1
1
  """PatchPal - An open-source Claude Code clone implemented purely in Python."""
2
2
 
3
- __version__ = "0.1.2"
3
+ __version__ = "0.1.3"
4
4
 
5
5
  from patchpal.agent import create_agent
6
6
  from patchpal.tools import (
@@ -92,6 +92,13 @@ class SmartPathCompleter(Completer):
92
92
  )
93
93
 
94
94
 
95
+ def _get_version() -> str:
96
+ """Get the PatchPal version string."""
97
+ from patchpal import __version__
98
+
99
+ return __version__
100
+
101
+
95
102
  def _get_patchpal_dir() -> Path:
96
103
  """Get the patchpal directory for this repository.
97
104
 
@@ -174,6 +181,12 @@ Supported models: Any LiteLLM-supported model
174
181
  - Others: See https://docs.litellm.ai/docs/providers
175
182
  """,
176
183
  )
184
+ parser.add_argument(
185
+ "--version",
186
+ action="version",
187
+ version=f"%(prog)s {_get_version()}",
188
+ help="Show program's version number and exit",
189
+ )
177
190
  parser.add_argument(
178
191
  "--model",
179
192
  type=str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patchpal
3
- Version: 0.1.2
3
+ Version: 0.1.3
4
4
  Summary: A lean Claude Code clone in pure Python
5
5
  Author: PatchPal Contributors
6
6
  License-Expression: Apache-2.0
@@ -27,6 +27,7 @@ Requires-Dist: rich>=13.0.0
27
27
  Requires-Dist: pyyaml>=6.0.0
28
28
  Requires-Dist: prompt_toolkit>=3.0.0
29
29
  Requires-Dist: tiktoken>=0.5.0
30
+ Requires-Dist: boto3
30
31
  Provides-Extra: dev
31
32
  Requires-Dist: pytest>=7.0.0; extra == "dev"
32
33
  Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
@@ -6,6 +6,7 @@ rich>=13.0.0
6
6
  pyyaml>=6.0.0
7
7
  prompt_toolkit>=3.0.0
8
8
  tiktoken>=0.5.0
9
+ boto3
9
10
 
10
11
  [dev]
11
12
  pytest>=7.0.0
@@ -33,6 +33,7 @@ dependencies = [
33
33
  "pyyaml>=6.0.0",
34
34
  "prompt_toolkit>=3.0.0",
35
35
  "tiktoken>=0.5.0",
36
+ "boto3"
36
37
  ]
37
38
 
38
39
  [project.optional-dependencies]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes