豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,12 @@ This audit trail helps with debugging, security monitoring, and understanding ho

For commands that may take a while:

1. **Start the process** — Use `start_process` with a short `timeout_ms` to capture initial output. The process continues running in the background and returns a PID.
2. **Read output** — Use `read_process_output` with the PID to get new output. Use `offset` and `length` for pagination: `offset=0` returns output since the last read, a negative offset (e.g., `-50`) returns the last N lines.
3. **Send input** — Use `interact_with_process` to write to stdin of a running process, useful for REPLs, SSH sessions, and interactive prompts.
4. **List sessions** — Use `list_sessions` to see all active processes.
5. **Terminate** — Use `force_terminate` with a PID to kill a running process.

## Configuration Management

### ⚠️ Important Security Warnings
Expand Down