mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-26 17:34:46 +00:00
* refactor(core): remove GitService, migrate /restore to FileHistoryService Remove the shadow-git-based GitService and rewire /restore to use the existing FileHistoryService for file restoration. This eliminates the `checkpointing` config flag (off by default) and unifies file recovery under `fileCheckpointingEnabled` (on by default in interactive mode). Key changes: - /restore now calls FileHistoryService.rewind(promptId, true) instead of GitService.restoreProjectFromSnapshot(commitHash) - File restoration runs before conversation history replacement to avoid inconsistent state on failure - Legacy checkpoint files (commitHash format) are explicitly rejected - Fix EDIT_TOOL_NAMES bug: 'replace' → ToolNames.EDIT, add ToolNames.NOTEBOOK_EDIT (checkpoint creation and AUTO_EDIT auto-approval were broken for edit tool) - Add isClientInitiated guard to prevent redundant checkpoint creation from /restore re-submitted tool calls - Remove checkpointing settings schema, CLI flag, docs, and all GitService references across 27 files 🤖 Generated with [Qwen Code](https://github.com/QwenLM/qwen-code) * fix: address wenshao review — improve error message, add tests, remove tombstones - Improve partial-restore warning: show files reverted/failed count - Add 3 tests: legacy format rejection, rewind partial failure, rewind exception - Remove dead tombstone comments in config.test.ts 🤖 Generated with [Qwen Code](https://github.com/QwenLM/qwen-code) * fix: align restore success message with turn-level semantics 🤖 Generated with [Qwen Code](https://github.com/QwenLM/qwen-code)
27 lines
782 B
TypeScript
27 lines
782 B
TypeScript
export default {
|
|
commands: 'Commands',
|
|
'code-review': 'Code Review',
|
|
'followup-suggestions': 'Followup Suggestions',
|
|
'tool-use-summaries': 'Tool-Use Summaries',
|
|
'markdown-rendering': 'Markdown Rendering',
|
|
'sub-agents': 'SubAgents',
|
|
arena: 'Agent Arena',
|
|
skills: 'Skills',
|
|
memory: 'Memory',
|
|
headless: 'Headless Mode',
|
|
'structured-output': 'Structured Output',
|
|
'dual-output': 'Dual Output',
|
|
'approval-mode': 'Approval Mode',
|
|
'auto-mode': 'Auto Mode',
|
|
worktree: 'Worktrees',
|
|
mcp: 'MCP',
|
|
lsp: 'LSP (Language Server Protocol)',
|
|
'token-caching': 'Token Caching',
|
|
sandbox: 'Sandboxing',
|
|
language: 'i18n',
|
|
channels: 'Channels',
|
|
hooks: 'Hooks',
|
|
'status-line': 'Status Line',
|
|
'scheduled-tasks': 'Scheduled Tasks',
|
|
tips: 'Contextual Tips',
|
|
};
|