Files
cc-connect/docs
Claude 772e4388fe fix: preserve comments and config fields during provider switch
- Rewrite SaveActiveProvider, SaveAgentModel, SaveProviderModel,
  SaveLanguage, SaveDisplayConfig, SaveTTSMode to use surgical
  text-level TOML editing instead of full Unmarshal→Encode cycle.
  This preserves comments, unknown fields, and formatting.
- Add patchProjectAgentOption, patchTopLevelField, patchSectionField
  helpers for targeted config edits.
- Extend rawProjectSpan to track [projects.agent] and
  [projects.agent.options] sections.
- Add resetAllSessions to Engine; call it from management API
  provider activate endpoint so sessions reset properly.
- Update docs/feishu.md: add card.action.trigger to required event
  subscriptions; add FAQ for card button errors.
- Add startup log when feishu interactive card mode is enabled.
- Add tests for comment/field preservation in save functions.

Made-with: Cursor
2026-04-20 18:07:59 +08:00
..