chore: Simplify hook messages - remove decorations and emojis

- Plain text messages for SessionEnd and PreCompact hooks
- Use echo instead of printf
- Bump version to 2.1.4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude Agent
2026-01-07 00:16:43 +00:00
parent b9284a59f7
commit 6f8c5c4bde
4 changed files with 6 additions and 6 deletions

View File

@@ -11,7 +11,7 @@
"name": "learn", "name": "learn",
"source": "./plugins/learn", "source": "./plugins/learn",
"description": "Domain-based memory with selective saving, signal detection, and memory hygiene", "description": "Domain-based memory with selective saving, signal detection, and memory hygiene",
"version": "2.1.3", "version": "2.1.4",
"keywords": ["learn", "memory", "patterns", "gotchas", "domains", "cleanup", "hygiene"] "keywords": ["learn", "memory", "patterns", "gotchas", "domains", "cleanup", "hygiene"]
} }
] ]

View File

@@ -1,7 +1,7 @@
{ {
"name": "learn", "name": "learn",
"description": "Claude Learn: Session analysis for patterns and gotchas with domain-based memory, selective saving, and memory hygiene", "description": "Claude Learn: Session analysis for patterns and gotchas with domain-based memory, selective saving, and memory hygiene",
"version": "2.1.3", "version": "2.1.4",
"author": { "author": {
"name": "Romfast Team" "name": "Romfast Team"
} }

View File

@@ -25,7 +25,7 @@ Verifică și instalează hooks-urile necesare pentru plugin-ul Learn în `~/.cl
"hooks": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "echo '\\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\\n💡 Tip: Rulează /learn:analyze pentru a captura lecțiile din sesiune\\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'", "command": "echo 'Tip: Ruleaza /learn:analyze pentru a captura lectiile din sesiune'",
"timeout": 5 "timeout": 5
} }
] ]
@@ -37,7 +37,7 @@ Verifică și instalează hooks-urile necesare pentru plugin-ul Learn în `~/.cl
"hooks": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "echo '\\n⚠ Context plin! Rulează /learn:analyze ACUM pentru a salva lecțiile înainte de compact!\\n'", "command": "echo 'Context plin! Ruleaza /learn:analyze ACUM pentru a salva lectiile inainte de compact!'",
"timeout": 5 "timeout": 5
} }
] ]

View File

@@ -67,7 +67,7 @@ learn_session_end = {
"hooks": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "echo '\\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\\n💡 Tip: Rulează /learn:analyze pentru a captura lecțiile din sesiune\\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'", "command": "echo 'Tip: Ruleaza /learn:analyze pentru a captura lectiile din sesiune'",
"timeout": 5 "timeout": 5
} }
] ]
@@ -78,7 +78,7 @@ learn_pre_compact = {
"hooks": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "echo '\n⚠ Context plin! Rulează /learn:analyze ACUM pentru a salva lecțiile înainte de compact!\n'", "command": "echo 'Context plin! Ruleaza /learn:analyze ACUM pentru a salva lectiile inainte de compact!'",
"timeout": 5 "timeout": 5
} }
] ]