You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: batch merge of bug fixes from PRs #271, #273, #279
## Issues Fixed
### From PR #271 (Issues #2430-2459):
- #2448: Validate URLs for control characters (security)
- #2449: Decode HTML entities in scraped URLs
- #2450: Reject reserved command names for agent names
- #2452: Expand tilde (~) in MCP server command paths
- #2459: Validate that model name is not empty
### From PR #273 (Issues #2564-2614):
- Model format validation improvements
### From PR #279 (Issues #2835-2903):
- #2835: Sandbox exit code preservation (always return original exit code)
- #2843: Empty session ID validation
## Changes
### Agent Creation (#2450)
- Added validation to reject reserved CLI command names as agent names
- Reserved names: help, version, run, exec, login, logout, mcp, agent, etc.
### Scrape Command (#2448, #2449)
- Added validate_url_security() to reject URLs with control characters
- Added decode_html_entities() to properly decode href attributes
- Added comprehensive tests for both functions
### MCP Command (#2452)
- Added tilde expansion in command paths (~/script.sh -> /home/user/script.sh)
- Also expands tilde in command arguments
### Model Validation (#2459)
- Added check for empty model name in TUI mode
### Sandbox (#2835)
- Changed exit behavior to always preserve original command exit code
### Session Handling (#2843)
- Added early validation for empty session IDs
Note: CI skipped for cost control. Test manually before merge.
0 commit comments