qwen-code/docs/users
jinye 9e4c87a7e4
refactor(core): remove GitService, migrate /restore to FileHistoryService (#4871)
* 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)
2026-06-09 18:34:31 +08:00
..
configuration refactor(core): remove GitService, migrate /restore to FileHistoryService (#4871) 2026-06-09 18:34:31 +08:00
extension
features refactor(core): remove GitService, migrate /restore to FileHistoryService (#4871) 2026-06-09 18:34:31 +08:00
ide-integration
reference feat(cli): virtual viewport for long conversations on ink 7 (#4146) 2026-06-02 13:57:17 +08:00
support feat(installer): verify release assets + switch public docs to standalone entrypoint (#3855) 2026-06-04 17:23:04 +08:00
_meta.ts feat(cli,sdk): qwen serve daemon (Stage 1) (#3889) 2026-05-13 14:47:47 +08:00
common-workflow.md
integration-github-action.md
integration-jetbrains.md
integration-vscode.md
integration-zed.md
overview.md feat(installer): verify release assets + switch public docs to standalone entrypoint (#3855) 2026-06-04 17:23:04 +08:00
quickstart.md feat(installer): verify release assets + switch public docs to standalone entrypoint (#3855) 2026-06-04 17:23:04 +08:00
qwen-serve.md feat(serve): MCP guardrail push events + hysteresis (#4175 Wave 3 PR 14b) (#4271) 2026-05-19 01:06:20 +08:00