qwen-code/packages/cli/src
wenshao 8d85492913 feat(ui): rewrite customizable status line
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>
2026-04-06 08:04:20 +08:00
..
acp-integration Merge pull request #2731 from QwenLM/feat/in-session-cron-loops 2026-04-01 16:18:46 +08:00
commands feat(ui): add customizable status line 2026-04-06 07:10:50 +08:00
config feat(ui): rewrite customizable status line 2026-04-06 08:04:20 +08:00
constants fix(docs): update references from Bailian to ModelStudio in README and localization files 2026-03-27 17:55:42 +08:00
core fix(cli): preserve selected auth type on startup auth failure 2026-03-04 16:13:24 +08:00
i18n feat(cli, webui): add follow-up suggestions feature (#2525) 2026-04-03 20:07:23 +08:00
nonInteractive refactor(core): rename TaskTool to AgentTool 2026-03-19 14:55:14 +08:00
patches adh/bugfix/1563 (#4822) 2025-07-25 16:39:37 +00:00
services feat(ui): rewrite customizable status line 2026-04-06 08:04:20 +08:00
test-utils feat(cli): make /btw command non-blocking with parallel execution 2026-03-20 00:25:51 +08:00
ui feat(ui): rewrite customizable status line 2026-04-06 08:04:20 +08:00
utils Merge pull request #2842 from QwenLM/fix/output-language-persistence 2026-04-05 14:13:09 +08:00
gemini.test.tsx remove hooks experimental and refactor hook Config 2026-04-01 11:50:23 +08:00
gemini.tsx Merge pull request #2628 from QwenLM/feat/channels-telegram 2026-04-01 16:19:08 +08:00
nonInteractiveCli.test.ts feat(cron): make cron tools opt-in via experimental settings 2026-03-29 02:25:28 +00:00
nonInteractiveCli.ts fix(cron): prevent concurrent cron execution and queue properly 2026-03-30 19:49:17 +08:00
nonInteractiveCliCommands.test.ts feat(cli): make /btw command non-blocking with parallel execution 2026-03-20 00:25:51 +08:00
nonInteractiveCliCommands.ts feat(cli): make /btw command non-blocking with parallel execution 2026-03-20 00:25:51 +08:00
validateNonInterActiveAuth.test.ts refactor(debug): replace ConsolePatcher with debugLogger and update error reporting 2026-02-02 17:37:54 +08:00
validateNonInterActiveAuth.ts Merge branch 'main' into feat/debug-logging-refactor 2026-02-01 20:47:38 +08:00