Skip to content

feat: add terminal control tool, background bash execution and MiniMax API support#77

Open
wsp1911 wants to merge 6 commits intoGCWing:mainfrom
wsp1911:main
Open

feat: add terminal control tool, background bash execution and MiniMax API support#77
wsp1911 wants to merge 6 commits intoGCWing:mainfrom
wsp1911:main

Conversation

@wsp1911
Copy link
Collaborator

@wsp1911 wsp1911 commented Mar 5, 2026

No description provided.

wsp1911 added 6 commits March 5, 2026 09:14
- rename and standardize timeout parameter to `timeout_ms`, with default/max safeguards
- disable PSReadLine inline prediction in non-interactive bash_tool sessions
- remove phantom blank lines caused by absolute cursor-position ANSI sequences
…nal sessions

- Introduce `run_in_background` parameter to BashTool that spawns a fresh,
  isolated terminal session and returns the session ID immediately without
  blocking on output
- Extend TerminalSessionBinding to track one-to-many background session
  bindings with proper cleanup on owner teardown
- Add output tap fan-out in SessionManager to enable real-time PTY output
  streaming via subscribe_session_output
- Add TerminalControl tool with an `action` parameter ("kill" or "interrupt")
- Fix bash tool failures caused by stale bindings when user manually closes
  a terminal; session is now recreated on next invocation
- Add TerminalControlDisplay frontend component with i18n (en-US, zh-CN)
- Register TerminalControl in agentic, cowork, and debug agent modes
- Detect MiniMax API endpoint (api.minimaxi.com) and set `reasoning_split=true`
  to enable streamed thinking
- Parse `delta.reasoning_details` array as a fallback for thinking text when
  `reasoning_content` is absent (MiniMax-specific format)
- Track `received_finish_reason` flag to handle streams that close without `[DONE]`
  (graceful termination for non-standard providers like MiniMax)
- Change default log level from Info to Debug , so new installs capture
  verbose output out of the box
- Remove BITFUN_LOG_LEVEL env-var override; level is now controlled solely
  via config file (app.logging.level) at runtime
- Simplify log session cleanup to retain the latest 50 sessions by count,
  dropping the time-based retention filter
- Add MiniMax-M2.5 model and OpenAI-compatible URL option (api.minimaxi.com/v1) to minimax provider
- Sync qwen provider in installer with web-ui: add qwen3.5-plus, glm-5, kimi-k2.5, MiniMax-M2.5 models and Coding Plan URL options
- Add corresponding i18n keys (en/zh) for new minimax and qwen URL options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant