| name | firefly-announcement-config |
| description | 修改 Firefly 顶部公告配置。Use when updating announcement title, content, close behavior, or announcement link in src/config/announcementConfig.ts. |
Firefly Announcement Config
Overview
Edit top announcement banner text and optional CTA link behavior.
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/announcementConfig.ts
Common Keys
- title
- content
- closable
- link.enable / link.text / link.url / link.external
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.