Hmbown / Hmbown/Codewhale

未适配中文输入法

Open
#2,323 3 comments 1 reaction 0 assignees View on GitHub
bug enhancement
Dominant language
Rust
Stars
41k
Forks
3.6k
Avg merge
13h 59m
Merged PRs (30d)
299

Description

## Description

在使用中文输入法时,会造成多种问题。目前我遇到的有:
1. 在使用中文输入法输入拼音时不会隐藏提示“编写任务或使用 /。”
Image

2. 在有窗口时,例如在配置界面或者是危险操作确认界面,输入的字母会变成拼音在模型输入或斜杠命令输入区显示。
Image
Image

## Steps to reproduce

1. 在提示词或斜杠命令输入区使用中文输入法。
2. 在配置界面或危险操作确认界面等有窗口的界面使用中文输入法。

## Expected behavior
1. 在使用中文输入法输入提示词时应该在输入拼音时隐藏“编写任务或使用 /。”.
2. 在配置界面或危险操作确认界面等有窗口的界面使用中文输入法时应该将拼音自动替换为普通英文字母输入。

## Actual behavior
在 Description 中已经详细描述。

## Impact

对正常使用影响不大,但有时会影响操作速度,或者使界面不美观。

## Environment

- OS: Windows 11
- codewhale version: codewhale 0.8.47 (70743997ca50)
- Install method: 在 GitHub Release 中下载 codewhale-windows-x64.zip ,然后运行 install.bat
- `codewhale doctor` summary: 见下方。
- Model/provider: DeepSeek
- Terminal app: Windows Terminal
- Shell: Windows cmd

## CodeWhale Doctor Summary

Version Information:
codewhale-tui: 0.8.47 (70743997ca50)
rust: unknown

Configuration:
✓ config.toml found at ~\.codewhale\config.toml
workspace: ~
search_provider: duckduckgo (source: default; set [search] provider = "bing" | "tavily" | "bocha" to switch)

State Root:
active: ~\.codewhale
dual roots: ~\.codewhale (primary) + ~\.deepseek (legacy)

API Keys:
✓ deepseek: env=no, config=yes
· nvidia-nim: env=no, config=no
· openai: env=no, config=no
· atlascloud: env=no, config=no
· wanjie-ark: env=no, config=no
· openrouter: env=no, config=no
· novita: env=no, config=no
· fireworks: env=no, config=no
· moonshot: env=no, config=no
· sglang: env=no, config=no
· vllm: env=no, config=no
· ollama: env=no, config=no
· xiaomi: env=no, config=no
· credential precedence: ~/.deepseek/config.toml, OS keyring, then env
✓ active provider key resolved from config.toml

API Connectivity:
· provider: deepseek
· base_url: https://api.deepseek.com/beta
· model: deepseek-v4-pro
· strict_tool_mode: disabled
✓ API connection successful

MCP Servers:
✓ MCP feature flag enabled
· MCP config not found at ~\.deepseek\mcp.json
Run `codewhale mcp init` or `codewhale setup --mcp`.

Skills:
· local skills dir not found at ~\skills
· .agents skills dir not found at ~\.agents\skills
· global .agents skills dir not found at ~\.agents\skills
✓ global skills dir found at ~\.codewhale\skills (12 items)
· selected skills dir: ~\.codewhale\skills

Tools:
· tools dir not found at ~\.codewhale\tools
Run `codewhale setup --tools` to scaffold a starter dir.

Plugins:
· plugins dir not found at ~\.codewhale\plugins
Run `codewhale setup --plugins` to scaffold a starter dir.

Storage:
· tool-output spillover dir not yet created at ~\.deepseek\tool_outputs
· composer stash empty (Ctrl+S in the composer to park a draft)

Tool Dependencies:
✓ Python: python → code_execution tool registered
✗ Node.js: not found (tried `node`)
js_execution tool is NOT advertised to the model on this install.
Install Node 18+ and ensure `node` is on PATH:
winget install OpenJS.NodeJS (or download from nodejs.org)
· pandoc: not found (optional)
pandoc_convert tool is NOT advertised to the model. Install pandoc to enable:
winget install JohnMacFarlane.Pandoc
· tesseract: not found (optional)
image_ocr tool is NOT advertised to the model. Install tesseract to enable:
winget install UB-Mannheim.TesseractOCR
· pdftotext: not found (optional — pure-Rust extractor is the default in v0.8.32)
Install Poppler only if you want to opt into pdftotext for column-heavy PDFs.

Terminal Quirks:
· no env-driven terminal-quirk overrides active

Platform:
OS: windows
Arch: x86_64
! sandbox not available (commands run best-effort)

All checks complete!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.