patchpal 0.21.3__tar.gz → 0.21.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.
- {patchpal-0.21.3/patchpal.egg-info → patchpal-0.21.4}/PKG-INFO +1 -1
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/__init__.py +1 -1
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/cli/sandbox.py +14 -9
- {patchpal-0.21.3 → patchpal-0.21.4/patchpal.egg-info}/PKG-INFO +1 -1
- {patchpal-0.21.3 → patchpal-0.21.4}/LICENSE +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/MANIFEST.in +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/README.md +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/agent/__init__.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/agent/function_calling.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/agent/react.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/cli/__init__.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/cli/autopilot.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/cli/interactive.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/cli/mcp.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/cli/streaming.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/config.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/context.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/permissions.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/prompts/react_prompt.md +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/prompts/system_prompt.md +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/skills.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/__init__.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/code_analysis.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/common.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/definitions.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/file_reading.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/file_writing.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/find_tool.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/grep_tool.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/image_handler.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/mcp.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/repo_map.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/shell_tools.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/todo_tools.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/tool_schema.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/user_interaction.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal/tools/web_tools.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal.egg-info/SOURCES.txt +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal.egg-info/dependency_links.txt +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal.egg-info/entry_points.txt +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal.egg-info/requires.txt +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/patchpal.egg-info/top_level.txt +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/pyproject.toml +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/setup.cfg +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_agent.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_cli.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_config_dynamic.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_context.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_custom_tools.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_enabled_tools.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_find_tool.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_guardrails.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_image_blocking.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_maximum_security.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_mcp_config.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_memory.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_operational_safety.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_optional_tools.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_permissions.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_react.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_reasoning_content.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_repo_map.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_simplified_prompt.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_skills.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_streaming.py +0 -0
- {patchpal-0.21.3 → patchpal-0.21.4}/tests/test_tools.py +0 -0
|
@@ -322,8 +322,9 @@ ENVIRONMENT VARIABLES:
|
|
|
322
322
|
# Custom endpoints (optional)
|
|
323
323
|
OPENAI_BASE_URL=https://your-proxy.com/v1
|
|
324
324
|
|
|
325
|
-
# Disable permissions for
|
|
326
|
-
|
|
325
|
+
# Optional: Disable permissions for interactive mode
|
|
326
|
+
# (Not needed for autopilot - it disables permissions automatically)
|
|
327
|
+
# PATCHPAL_REQUIRE_PERMISSION=false
|
|
327
328
|
|
|
328
329
|
Note: SSL_CERT_FILE and REQUESTS_CA_BUNDLE paths are auto-mounted if they exist.
|
|
329
330
|
|
|
@@ -337,6 +338,9 @@ SECURITY:
|
|
|
337
338
|
- No resource limits by default (trust Docker/Podman and OS limits)
|
|
338
339
|
- Clean environment on each run (--rm flag)
|
|
339
340
|
- Workspace files visible but container has limited privileges
|
|
341
|
+
- Permissions behavior:
|
|
342
|
+
* Interactive mode (default): Permissions ENABLED (prompts before operations)
|
|
343
|
+
* Autopilot mode: Permissions DISABLED automatically (autonomous operation)
|
|
340
344
|
|
|
341
345
|
NOTES:
|
|
342
346
|
- Default image (ghcr.io/amaiya/patchpal-sandbox:latest) has patchpal pre-installed for fast startup
|
|
@@ -366,17 +370,18 @@ CORPORATE NETWORKS (Linux/WSL):
|
|
|
366
370
|
You may need to add certificates to Docker Desktop's trusted CAs.
|
|
367
371
|
|
|
368
372
|
EXAMPLES:
|
|
369
|
-
# Cloud LLM: Load API keys from .env file
|
|
370
|
-
patchpal-sandbox --env-file .env -- --model openai/gpt-5.2-codex
|
|
371
|
-
patchpal-sandbox --env-file ~/.config/patchpal/.env -- --model anthropic/claude-sonnet-4-5
|
|
372
373
|
|
|
373
|
-
#
|
|
374
|
+
# Interactive mode - permissions ENABLED (prompts before operations)
|
|
374
375
|
patchpal-sandbox -- --model anthropic/claude-sonnet-4-5
|
|
375
376
|
|
|
376
|
-
#
|
|
377
|
-
patchpal-sandbox --env-file .env --
|
|
377
|
+
# Interactive mode - load API keys from .env file
|
|
378
|
+
patchpal-sandbox --env-file .env -- --model openai/gpt-5.2-codex
|
|
379
|
+
patchpal-sandbox --env-file ~/.config/patchpal/.env -- --model anthropic/claude-sonnet-4-5
|
|
380
|
+
|
|
381
|
+
# AutoPilot mode - permissions automatically DISABLED
|
|
382
|
+
patchpal-sandbox -- autopilot --model openai/gpt-5-mini --prompt "Add error handling to auth.py" --completion-promise "COMPLETE"
|
|
378
383
|
|
|
379
|
-
# AutoPilot
|
|
384
|
+
# AutoPilot mode - read file containing prompt and and .env file
|
|
380
385
|
patchpal-sandbox --env-file .env -- autopilot --model openai/gpt-5.2-codex --prompt-file task.md --completion-promise "DONE"
|
|
381
386
|
|
|
382
387
|
# Ollama: Linux/WSL requires host network to reach Ollama on localhost
|
|
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
|
|
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
|
|
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
|