patchpal 0.1.0__tar.gz → 0.1.1__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.0/patchpal.egg-info → patchpal-0.1.1}/PKG-INFO +4 -4
  2. {patchpal-0.1.0 → patchpal-0.1.1}/README.md +3 -3
  3. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/__init__.py +1 -1
  4. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/tools.py +1 -1
  5. {patchpal-0.1.0 → patchpal-0.1.1/patchpal.egg-info}/PKG-INFO +4 -4
  6. {patchpal-0.1.0 → patchpal-0.1.1}/LICENSE +0 -0
  7. {patchpal-0.1.0 → patchpal-0.1.1}/MANIFEST.in +0 -0
  8. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/agent.py +0 -0
  9. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/cli.py +0 -0
  10. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/context.py +0 -0
  11. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/permissions.py +0 -0
  12. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/skills.py +0 -0
  13. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/system_prompt.md +0 -0
  14. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/SOURCES.txt +0 -0
  15. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/dependency_links.txt +0 -0
  16. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/entry_points.txt +0 -0
  17. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/requires.txt +0 -0
  18. {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/top_level.txt +0 -0
  19. {patchpal-0.1.0 → patchpal-0.1.1}/pyproject.toml +0 -0
  20. {patchpal-0.1.0 → patchpal-0.1.1}/setup.cfg +0 -0
  21. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_agent.py +0 -0
  22. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_cli.py +0 -0
  23. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_context.py +0 -0
  24. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_guardrails.py +0 -0
  25. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_operational_safety.py +0 -0
  26. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_skills.py +0 -0
  27. {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_tools.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patchpal
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A lean Claude Code clone in pure Python
5
5
  Author: PatchPal Contributors
6
6
  License-Expression: Apache-2.0
@@ -37,7 +37,7 @@ Dynamic: license-file
37
37
  # PatchPal — A Claude Code–Style Agent in Python
38
38
 
39
39
  <!--![PatchPal Screenshot](patchpal_screenshot.png)-->
40
- <img src="patchpal_screenshot.png" alt="PatchPal Screenshot" width="650"/>
40
+ <img src="https://raw.githubusercontent.com/amaiya/patchpal/refs/heads/main/patchpal_screenshot.png" alt="PatchPal Screenshot" width="650"/>
41
41
 
42
42
  > A lightweight Claude Code–inspired coding and automation assistant -- supports both local and cloud LLMs.
43
43
 
@@ -526,7 +526,7 @@ PatchPal includes comprehensive security protections enabled by default:
526
526
  - **Command history**: User commands saved to `~/.patchpal/<repo-name>/history.txt` (last 1000 commands)
527
527
  - Clean, user-friendly format for reviewing past interactions
528
528
  - **Automatic backups**: Optional auto-backup of files to `~/.patchpal/<repo-name>/backups/` before modification
529
- - **Resource limits**: Configurable operation counter prevents infinite loops (1000 operations default)
529
+ - **Resource limits**: Configurable operation counter prevents infinite loops (10000 operations default)
530
530
  - **Git state awareness**: Warns when modifying files with uncommitted changes
531
531
 
532
532
  **Configuration via environment variables:**
@@ -543,7 +543,7 @@ export PATCHPAL_ALLOW_SENSITIVE=true # Allow access to .env, credentials, A
543
543
  # Operational Safety Controls
544
544
  export PATCHPAL_AUDIT_LOG=false # Log all operations to ~/.patchpal/<repo-name>/audit.log (default: true)
545
545
  export PATCHPAL_ENABLE_BACKUPS=true # Auto-backup files to ~/.patchpal/<repo-name>/backups/ before modification (default: false)
546
- export PATCHPAL_MAX_OPERATIONS=5000 # Maximum operations per session to prevent infinite loops (default: 1000)
546
+ export PATCHPAL_MAX_OPERATIONS=5000 # Maximum operations per session to prevent infinite loops (default: 10000)
547
547
  export PATCHPAL_MAX_ITERATIONS=150 # Maximum agent iterations per task (default: 100)
548
548
  # Increase for very complex multi-file tasks, decrease for testing
549
549
 
@@ -1,7 +1,7 @@
1
1
  # PatchPal — A Claude Code–Style Agent in Python
2
2
 
3
3
  <!--![PatchPal Screenshot](patchpal_screenshot.png)-->
4
- <img src="patchpal_screenshot.png" alt="PatchPal Screenshot" width="650"/>
4
+ <img src="https://raw.githubusercontent.com/amaiya/patchpal/refs/heads/main/patchpal_screenshot.png" alt="PatchPal Screenshot" width="650"/>
5
5
 
6
6
  > A lightweight Claude Code–inspired coding and automation assistant -- supports both local and cloud LLMs.
7
7
 
@@ -490,7 +490,7 @@ PatchPal includes comprehensive security protections enabled by default:
490
490
  - **Command history**: User commands saved to `~/.patchpal/<repo-name>/history.txt` (last 1000 commands)
491
491
  - Clean, user-friendly format for reviewing past interactions
492
492
  - **Automatic backups**: Optional auto-backup of files to `~/.patchpal/<repo-name>/backups/` before modification
493
- - **Resource limits**: Configurable operation counter prevents infinite loops (1000 operations default)
493
+ - **Resource limits**: Configurable operation counter prevents infinite loops (10000 operations default)
494
494
  - **Git state awareness**: Warns when modifying files with uncommitted changes
495
495
 
496
496
  **Configuration via environment variables:**
@@ -507,7 +507,7 @@ export PATCHPAL_ALLOW_SENSITIVE=true # Allow access to .env, credentials, A
507
507
  # Operational Safety Controls
508
508
  export PATCHPAL_AUDIT_LOG=false # Log all operations to ~/.patchpal/<repo-name>/audit.log (default: true)
509
509
  export PATCHPAL_ENABLE_BACKUPS=true # Auto-backup files to ~/.patchpal/<repo-name>/backups/ before modification (default: false)
510
- export PATCHPAL_MAX_OPERATIONS=5000 # Maximum operations per session to prevent infinite loops (default: 1000)
510
+ export PATCHPAL_MAX_OPERATIONS=5000 # Maximum operations per session to prevent infinite loops (default: 10000)
511
511
  export PATCHPAL_MAX_ITERATIONS=150 # Maximum agent iterations per task (default: 100)
512
512
  # Increase for very complex multi-file tasks, decrease for testing
513
513
 
@@ -1,6 +1,6 @@
1
1
  """PatchPal - An open-source Claude Code clone implemented purely in Python."""
2
2
 
3
- __version__ = "0.1.0"
3
+ __version__ = "0.1.1"
4
4
 
5
5
  from patchpal.agent import create_agent
6
6
  from patchpal.tools import (
@@ -79,7 +79,7 @@ READ_ONLY_MODE = os.getenv("PATCHPAL_READ_ONLY", "false").lower() == "true"
79
79
  ALLOW_SENSITIVE = os.getenv("PATCHPAL_ALLOW_SENSITIVE", "false").lower() == "true"
80
80
  ENABLE_AUDIT_LOG = os.getenv("PATCHPAL_AUDIT_LOG", "true").lower() == "true"
81
81
  ENABLE_BACKUPS = os.getenv("PATCHPAL_ENABLE_BACKUPS", "false").lower() == "true"
82
- MAX_OPERATIONS = int(os.getenv("PATCHPAL_MAX_OPERATIONS", 1000))
82
+ MAX_OPERATIONS = int(os.getenv("PATCHPAL_MAX_OPERATIONS", 10000))
83
83
 
84
84
  # Web request configuration
85
85
  WEB_REQUEST_TIMEOUT = int(os.getenv("PATCHPAL_WEB_TIMEOUT", 30)) # 30 seconds
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: patchpal
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: A lean Claude Code clone in pure Python
5
5
  Author: PatchPal Contributors
6
6
  License-Expression: Apache-2.0
@@ -37,7 +37,7 @@ Dynamic: license-file
37
37
  # PatchPal — A Claude Code–Style Agent in Python
38
38
 
39
39
  <!--![PatchPal Screenshot](patchpal_screenshot.png)-->
40
- <img src="patchpal_screenshot.png" alt="PatchPal Screenshot" width="650"/>
40
+ <img src="https://raw.githubusercontent.com/amaiya/patchpal/refs/heads/main/patchpal_screenshot.png" alt="PatchPal Screenshot" width="650"/>
41
41
 
42
42
  > A lightweight Claude Code–inspired coding and automation assistant -- supports both local and cloud LLMs.
43
43
 
@@ -526,7 +526,7 @@ PatchPal includes comprehensive security protections enabled by default:
526
526
  - **Command history**: User commands saved to `~/.patchpal/<repo-name>/history.txt` (last 1000 commands)
527
527
  - Clean, user-friendly format for reviewing past interactions
528
528
  - **Automatic backups**: Optional auto-backup of files to `~/.patchpal/<repo-name>/backups/` before modification
529
- - **Resource limits**: Configurable operation counter prevents infinite loops (1000 operations default)
529
+ - **Resource limits**: Configurable operation counter prevents infinite loops (10000 operations default)
530
530
  - **Git state awareness**: Warns when modifying files with uncommitted changes
531
531
 
532
532
  **Configuration via environment variables:**
@@ -543,7 +543,7 @@ export PATCHPAL_ALLOW_SENSITIVE=true # Allow access to .env, credentials, A
543
543
  # Operational Safety Controls
544
544
  export PATCHPAL_AUDIT_LOG=false # Log all operations to ~/.patchpal/<repo-name>/audit.log (default: true)
545
545
  export PATCHPAL_ENABLE_BACKUPS=true # Auto-backup files to ~/.patchpal/<repo-name>/backups/ before modification (default: false)
546
- export PATCHPAL_MAX_OPERATIONS=5000 # Maximum operations per session to prevent infinite loops (default: 1000)
546
+ export PATCHPAL_MAX_OPERATIONS=5000 # Maximum operations per session to prevent infinite loops (default: 10000)
547
547
  export PATCHPAL_MAX_ITERATIONS=150 # Maximum agent iterations per task (default: 100)
548
548
  # Increase for very complex multi-file tasks, decrease for testing
549
549
 
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