mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-02 13:40:46 +00:00
Rewrite the status line feature (originally by Gemini 3.1 Pro) to align
with the upstream design:
- Settings: change from plain string to object `{ type, command, padding? }`
- Hook: event-driven with 300ms debounce instead of 5s polling; pass
structured JSON context (session, model, tokens, vim) via stdin;
generation counter to ignore stale exec callbacks; EPIPE guard on stdin
- Footer: render status line as dedicated row with dimColor + truncate;
suppress "? for shortcuts" hint when status line is active
- Add `/statusline` slash command that delegates to a statusline-setup agent
- Add `statusline-setup` built-in agent with PS1 conversion instructions
- Remove unrelated changes (whitespace, formatting, package-lock, test file)
- Fix copyright headers (Google LLC → Qwen)
- Fix config path references (~/.qwen-code → ~/.qwen)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| acp-integration | ||
| commands | ||
| config | ||
| constants | ||
| core | ||
| i18n | ||
| nonInteractive | ||
| patches | ||
| services | ||
| test-utils | ||
| ui | ||
| utils | ||
| gemini.test.tsx | ||
| gemini.tsx | ||
| nonInteractiveCli.test.ts | ||
| nonInteractiveCli.ts | ||
| nonInteractiveCliCommands.test.ts | ||
| nonInteractiveCliCommands.ts | ||
| validateNonInterActiveAuth.test.ts | ||
| validateNonInterActiveAuth.ts | ||