mirror of
https://github.com/moeru-ai/airi.git
synced 2026-05-17 04:20:26 +00:00
|
Some checks failed
CI / Lint (push) Waiting to run
CI / Build Test (stage-tamagotchi) (push) Waiting to run
CI / Build Test (stage-tamagotchi-godot) (push) Waiting to run
CI / Build Test (stage-web) (push) Waiting to run
CI / Build Test (ui-loading-screens) (push) Waiting to run
CI / Build Test (ui-transitions) (push) Waiting to run
CI / Type Check (push) Waiting to run
CI / Check Provenance (push) Waiting to run
Cloudflare Workers / Deploy - stage-web (push) Waiting to run
Update Nix assets Hash / update (push) Has been cancelled
Update Nix pnpmDeps Hash / update (push) Has been cancelled
## Summary - cap local `terminal_exec` stdout/stderr capture at a fixed per-stream limit - report whether each stream was truncated, along with the original captured length - add runner coverage for commands that emit large stdout and stderr payloads ## Why The local shell runner currently appends stdout/stderr without a boundary before returning `TerminalCommandResult`. Large command output can grow the MCP response and stored terminal state far beyond what is useful for the agent. This keeps command execution semantics the same while bounding the returned text and making truncation explicit to callers. ## Tests - `pnpm -F @proj-airi/computer-use-mcp test -- src/terminal/runner.test.ts` - `pnpm -F @proj-airi/computer-use-mcp typecheck` - `git diff --check origin/main...HEAD` Co-authored-by: 刘梓恒 <160735726+3361559784@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| computer-use-mcp | ||
| discord-bot | ||
| minecraft | ||
| satori-bot | ||
| telegram-bot | ||
| twitter-services | ||