configure_session
Update session metadata and set a regex pattern to detect when the terminal is idle at a shell prompt.
Instructions
Update session metadata and shell prompt detection.
description is free-form metadata for humans and does not affect execution.
shell_prompt_regex is used by heuristic readiness detection to decide
whether the terminal is idle at a shell prompt. It is matched against the
last non-empty line of the rendered screen.
This can be called before a session exists; values are stored by session_id
and applied when the session is created.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| description | No | Free-form description of what this session is doing (for humans). Does not affect execution. | |
| shell_prompt_regex | No | Optional regex used to detect when the terminal is idle at a shell prompt. Matched against the last visible non-empty screen line. Prefer anchoring to the end. |