mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-13 07:01:55 +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>
|
||
|---|---|---|
| .. | ||
| insight | ||
| prompt-processors | ||
| test-commands | ||
| BuiltinCommandLoader.test.ts | ||
| BuiltinCommandLoader.ts | ||
| BundledSkillLoader.test.ts | ||
| BundledSkillLoader.ts | ||
| command-factory.ts | ||
| command-migration-tool.test.ts | ||
| command-migration-tool.ts | ||
| CommandService.test.ts | ||
| CommandService.ts | ||
| FileCommandLoader-extension.test.ts | ||
| FileCommandLoader-markdown.test.ts | ||
| FileCommandLoader.test.ts | ||
| FileCommandLoader.ts | ||
| markdown-command-parser.test.ts | ||
| markdown-command-parser.ts | ||
| McpPromptLoader.test.ts | ||
| McpPromptLoader.ts | ||
| types.ts | ||