feat: add terminal control tool, background bash execution and MiniMax API support#77
Open
wsp1911 wants to merge 6 commits intoGCWing:mainfrom
Open
feat: add terminal control tool, background bash execution and MiniMax API support#77wsp1911 wants to merge 6 commits intoGCWing:mainfrom
wsp1911 wants to merge 6 commits intoGCWing:mainfrom
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.