| name | firefly-comment-config |
| description | 修改 Firefly 评论系统配置。Use when switching comment provider or tuning Twikoo, Waline, Artalk, Giscus, or Disqus in src/config/commentConfig.ts. |
Firefly Comment Config
Overview
Select a comment provider and adjust provider-specific options without breaking current comments.
Workflow
- Read the current target file(s) before editing.
- Confirm the requested behavior and map it to existing keys.
- Apply the smallest possible change inside the declared scope.
- Keep existing style, object structure, and value types.
- Report changed keys and paths.
Edit Scope
- src/config/commentConfig.ts
Common Keys
- type (none | twikoo | waline | giscus | disqus | artalk)
- twikoo.envId / twikoo.lang / twikoo.visitorCount
- waline.serverURL / waline.lang / waline.login / waline.visitorCount
- artalk.server / artalk.locale / artalk.visitorCount
- giscus.repo / repoId / category / categoryId / mapping / strict / reactionsEnabled / emitMetadata / inputPosition / lang / loading
- disqus.shortname
Guardrails
- Do not modify files outside Edit Scope unless explicitly requested.
- Keep booleans, numbers, arrays, enums, and URLs in valid types.
- Preserve existing comments unless they conflict with the new behavior.
- Prefer minimal diffs that are easy to review.