feat: add Shell agent and export-env subcommand #10

Merged
guochao merged 1 commit from guochao/agent-run:master into master 2026-05-31 06:53:44 +00:00
Owner
  • Add Agent::Shell variant with all three protocols preferred
  • Add launch_shell() that sets env vars and spawns a shell or custom binary
  • Add export-env subcommand that outputs shell-exportable env var assignments
  • Extract collect_shell_env() to share env var logic between launch_shell
    and export-env
  • Add shell_escape() for safe single-quote escaping
  • Fix missing_launch_target_error to omit isolated_homes hint for agents
    that don't support it (Shell, Claude, Crush)
- Add Agent::Shell variant with all three protocols preferred - Add launch_shell() that sets env vars and spawns a shell or custom binary - Add export-env subcommand that outputs shell-exportable env var assignments - Extract collect_shell_env() to share env var logic between launch_shell and export-env - Add shell_escape() for safe single-quote escaping - Fix missing_launch_target_error to omit isolated_homes hint for agents that don't support it (Shell, Claude, Crush)
- Add Agent::Shell variant with all three protocols preferred
- Add launch_shell() that sets env vars and spawns a shell or custom binary
- Add export-env subcommand that outputs shell-exportable env var assignments
- Extract collect_shell_env() to share env var logic between launch_shell
  and export-env
- Add shell_escape() for safe single-quote escaping
- Fix missing_launch_target_error to omit isolated_homes hint for agents
  that don't support it (Shell, Claude, Crush)
guochao merged commit b46e62eb63 into master 2026-05-31 06:53:44 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: public/agent-run#10
No description provided.