refactor(cli): remove runner Python dependency

This commit is contained in:
yiling
2026-11-17 18:37:47 +08:00
parent 3e992c0e9d
commit 07e69717e5
12 changed files with 254 additions and 376 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ Agents use Shumai's built-in tools without a runner. To execute Bash commands or
## Connect a runner
1. In **Settings → Agent Runners**, create a runner and copy its one-time key. Only team owners can manage runners and rotate their keys.
2. Install [Shumai CLI](https://github.com/shumaiOne/shumai/tree/main/apps/cli#installation) on a macOS or Linux machine with `/bin/bash` and Python 3.
2. Install [Shumai CLI](https://github.com/shumaiOne/shumai/tree/main/apps/cli#installation) on a macOS or Linux machine with `/bin/bash`.
3. Start it in a dedicated, existing workspace:
```bash
@@ -74,6 +74,6 @@ For development, HTTP is accepted for `localhost`, `127.0.0.1`, `[::1]`, and Doc
## Limits and lifecycle
Commands default to 120 seconds and accept a maximum timeout of one hour. Timeout and cancellation terminate the process group. Each command saves up to 64 MiB of output in `.pi/logs`; manage retained logs as part of workspace maintenance. Transfers and extracted archives are limited to 256 MiB. Protocol file operations reject paths outside `.pi`, symlinks, and unsafe archive entries.
Commands default to 120 seconds and accept a maximum timeout of one hour. Timeout and cancellation terminate the process group. Each command saves up to 64 MiB of output in `.pi/logs`; manage retained logs as part of workspace maintenance. Transfers and extracted archives are limited to 256 MiB. Protocol file operations reject paths outside `.pi`, existing symlinks, and unsafe archive entries. V1 assumes commands do not deliberately change workspace paths while transfers are running.
Temporary reconnects reconcile active and recently completed commands without deliberately executing them again. Restarting the runner process does not resume commands from the previous process.