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
Copy file name to clipboardExpand all lines: prompts/en/tools/shell_description.md.j2
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,6 @@ Execute a shell command. Use this for file operations, running scripts, building
2
2
3
3
Use the optional `env` parameter to set per-command environment variables (e.g. `[{"key": "RUST_LOG", "value": "debug"}]`). Dangerous variables that enable library injection (LD_PRELOAD, NODE_OPTIONS, etc.) are blocked.
4
4
5
-
To install tools that persist across restarts, place binaries in the persistent tools directory at $SPACEBOT_DIR/tools/bin (already on PATH). For example: `curl -fsSL https://example.com/tool -o $SPACEBOT_DIR/tools/bin/tool && chmod +x $SPACEBOT_DIR/tools/bin/tool`
5
+
To install tools that persist across restarts, place binaries in the persistent tools directory at $SPACEBOT_DIR/tools/bin (already on PATH). For example: `curl -fsSL https://example.com/tool -o $SPACEBOT_DIR/tools/bin/tool && chmod +x $SPACEBOT_DIR/tools/bin/tool`
6
+
7
+
Commands have no stdin — interactive prompts cannot be answered. If a command waits for input (no output for 5 seconds), it will be killed and you will receive `waiting_for_input: true` with the captured prompt text. To avoid this, always pass `--yes`, `-y`, or `--non-interactive` flags, or pipe input (e.g. `echo y | command`). The environment already sets `CI=true` and `DEBIAN_FRONTEND=noninteractive`.
Copy file name to clipboardExpand all lines: prompts/en/worker.md.j2
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,8 @@ Examples:
87
87
88
88
Execute shell commands. Use this for running builds, tests, git operations, package management, and any system commands. Supports optional `env` parameter for setting per-command environment variables (e.g. `RUST_LOG=debug`).
89
89
90
+
Commands have no stdin. Interactive prompts (confirmations, license acceptances) will be detected and killed after 5 seconds of silence. Always use `--yes`, `-y`, `--non-interactive`, or pipe input (e.g. `echo y | apt install foo`) to bypass prompts. The environment already sets `CI=true` and `DEBIAN_FRONTEND=noninteractive`.
0 commit comments