mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
feat(ccw): Add count-based memory update strategy and fix MCP card click
- Add count-based update strategy for memory hooks (threshold-based triggering) - Add threshold config field (default: 10, range: 3-50) - Add i18n translations for count-based strategy (EN/ZH) - Fix MCP card click not responding due to HTML entity encoding in JSON - Add unescapeHtml() utility function for decoding HTML entities - Move stopPropagation from container div to individual buttons - Change CCW MCP install to use cmd /c npx -y format for Windows 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -221,6 +221,7 @@ function renderWizardCard(wizardId) {
|
||||
if (wizardId === 'memory-update') {
|
||||
if (optId === 'on-stop') return t('hook.wizard.onSessionEnd');
|
||||
if (optId === 'periodic') return t('hook.wizard.periodicUpdate');
|
||||
if (optId === 'count-based') return t('hook.wizard.countBasedUpdate');
|
||||
}
|
||||
if (wizardId === 'memory-setup') {
|
||||
if (optId === 'file-read') return t('hook.wizard.fileReadTracker');
|
||||
@@ -238,6 +239,7 @@ function renderWizardCard(wizardId) {
|
||||
if (wizardId === 'memory-update') {
|
||||
if (optId === 'on-stop') return t('hook.wizard.onSessionEndDesc');
|
||||
if (optId === 'periodic') return t('hook.wizard.periodicUpdateDesc');
|
||||
if (optId === 'count-based') return t('hook.wizard.countBasedUpdateDesc');
|
||||
}
|
||||
if (wizardId === 'memory-setup') {
|
||||
if (optId === 'file-read') return t('hook.wizard.fileReadTrackerDesc');
|
||||
|
||||
Reference in New Issue
Block a user