feat: Update skill-creator and transcript-fixer
skill-creator v1.2.0 → v1.2.1: - Add critical warning about not editing skills in cache directory - Cache location (~/.claude/plugins/cache/) is read-only - Changes there are lost on cache refresh transcript-fixer v1.0.0 → v1.1.0: - Add Chinese/Japanese/Korean domain name support (火星加速器, 具身智能) - Add [CLAUDE_FALLBACK] signal for Claude Code to take over when GLM unavailable - Add Prerequisites section requiring uv for Python execution - Add Critical Workflow section for dictionary iteration - Add AI Fallback Strategy and Database Operations sections - Add Stages table (Dictionary → AI → Full pipeline) - Add ensure_deps.py script for shared virtual environment - Add database_schema.md and iteration_workflow.md references - Update domain validation from whitelist to pattern matching - Update tests for Chinese domains and security bypass attempts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -84,6 +84,14 @@ class TestCorrectionService(unittest.TestCase):
|
||||
self.service.validate_domain_name("embodied_ai")
|
||||
self.service.validate_domain_name("test-domain-123")
|
||||
|
||||
def test_validate_chinese_domain(self):
|
||||
"""Test acceptance of Chinese domain names."""
|
||||
# Should not raise - Chinese characters are valid
|
||||
self.service.validate_domain_name("火星加速器")
|
||||
self.service.validate_domain_name("具身智能")
|
||||
self.service.validate_domain_name("中文域名-123")
|
||||
self.service.validate_domain_name("混合domain中文")
|
||||
|
||||
# ==================== Correction Operations Tests ====================
|
||||
|
||||
def test_add_correction(self):
|
||||
|
||||
Reference in New Issue
Block a user