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.
- {patchpal-0.1.0/patchpal.egg-info → patchpal-0.1.1}/PKG-INFO +4 -4
- {patchpal-0.1.0 → patchpal-0.1.1}/README.md +3 -3
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/__init__.py +1 -1
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/tools.py +1 -1
- {patchpal-0.1.0 → patchpal-0.1.1/patchpal.egg-info}/PKG-INFO +4 -4
- {patchpal-0.1.0 → patchpal-0.1.1}/LICENSE +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/MANIFEST.in +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/agent.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/cli.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/context.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/permissions.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/skills.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal/system_prompt.md +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/SOURCES.txt +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/dependency_links.txt +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/entry_points.txt +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/requires.txt +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/patchpal.egg-info/top_level.txt +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/pyproject.toml +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/setup.cfg +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_agent.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_cli.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_context.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_guardrails.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_operational_safety.py +0 -0
- {patchpal-0.1.0 → patchpal-0.1.1}/tests/test_skills.py +0 -0
- {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.
|
|
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
|
<!---->
|
|
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 (
|
|
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:
|
|
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
|
<!---->
|
|
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 (
|
|
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:
|
|
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
|
|
|
@@ -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",
|
|
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.
|
|
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
|
<!---->
|
|
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 (
|
|
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:
|
|
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
|
|
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
|