Files
my-vault/.claude/settings.json
T

321 lines
10 KiB
JSON

{
"userName": "windy",
"enableBlocklist": true,
"blockedCommands": {
"unix": [
"rm -rf",
"chmod 777",
"chmod -R 777"
],
"windows": [
"del /s /q",
"rd /s /q",
"rmdir /s /q",
"format",
"diskpart",
"Remove-Item -Recurse -Force",
"Remove-Item -Force -Recurse",
"Remove-Item -r -fo",
"Remove-Item -fo -r",
"Remove-Item -Recurse",
"Remove-Item -r",
"ri -Recurse",
"ri -r",
"ri -Force",
"ri -fo",
"rm -r -fo",
"rm -Recurse",
"rm -Force",
"del -Recurse",
"del -Force",
"erase -Recurse",
"erase -Force",
"rd -Recurse",
"rmdir -Recurse",
"Format-Volume",
"Clear-Disk",
"Initialize-Disk",
"Remove-Partition"
]
},
"model": "sonnet",
"enableAutoTitleGeneration": true,
"titleGenerationModel": "",
"thinkingBudget": "medium",
"permissionMode": "normal",
"lastNonPlanPermissionMode": "normal",
"permissions": [
{
"toolName": "Bash",
"pattern": "mkdir -p \"03_Resources/Articles\" \"03_Resources/Books\" \"03_Resources/Concepts\" \"03_Resources/People\" \"03_Resources/Tools\" \"03_Resources/Quotes\" \"03_Resources/Examples\" \"03_Resources/Learning\"",
"approvedAt": 1767579982085,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "mkdir -p \"06_Metadata/Reference\" \"06_Metadata/Templates\" \"06_Metadata/Agents\" \"06_Metadata/Workflows\" \"06_Metadata/Archive\"",
"approvedAt": 1767580054324,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "if [ -f .gitignore ]; then echo \"EXISTS\"; else echo \"NOT_FOUND\"; fi",
"approvedAt": 1767587601599,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "mkdir -p 03_Resources/Prompt-Library",
"approvedAt": 1767592134447,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "03_Resources/Prompt-Library/Gemini 图片生成提示词模板.md",
"approvedAt": 1767592217296,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "03_Resources/Prompt-Library/README.md",
"approvedAt": 1767592256349,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "mv \"01_Projects/AI-Development/Prompt-Library/baibot-system-prompts.md\" \"03_Resources/Prompt-Library/\" && mv \"01_Projects/AI-Development/Prompt-Library/cycling-training-prompt.md\" \"03_Resources/Prompt-Library/\" && mv \"01_Projects/AI-Development/Prompt-Library/dev-engineering-rules.md\" \"03_Resources/Prompt-Library/\" && mv \"01_Projects/AI-Development/Prompt-Library/movie-review-prompt.md\" \"03_Resources/Prompt-Library/\"",
"approvedAt": 1767592881054,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "rmdir \"01_Projects/AI-Development/Prompt-Library\"",
"approvedAt": 1767592895883,
"scope": "always"
},
{
"toolName": "Edit",
"pattern": "03_Resources/Prompt-Library/README.md",
"approvedAt": 1767592921581,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "03_Resources/Prompt-Library/baibot-system-prompts.md",
"approvedAt": 1767593197954,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "python3 << 'EOF'\nimport os\nimport re\n\nchinese_pattern = re.compile(r'[\\u4e00-\\u9fff]+')\nchinese_files = []\n\nfor root, dirs, files in os.walk('.'):\n # 跳过隐藏目录\n dirs[:] = [d for d in dirs if not d.startswith('.')]\n \n for file in files:\n if chinese_pattern.search(file):\n full_path = os.path.join(root, file)\n chinese_files.append(full_path)\n\nfor f in sorted(chinese_files):\n print(f)\nEOF",
"approvedAt": 1767593330771,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "python << 'EOF'\nimport os\nimport re\n\nchinese_pattern = re.compile(r'[\\u4e00-\\u9fff]+')\nchinese_files = []\n\nfor root, dirs, files in os.walk('.'):\n # 跳过隐藏目录\n dirs[:] = [d for d in dirs if not d.startswith('.')]\n \n for file in files:\n if chinese_pattern.search(file):\n full_path = os.path.join(root, file)\n chinese_files.append(full_path)\n\nprint(f\"Found {len(chinese_files)} files with Chinese characters:\\n\")\nfor f in sorted(chinese_files):\n print(f)\nEOF",
"approvedAt": 1767593392020,
"scope": "always"
},
{
"toolName": "Write",
"pattern": ".scripts/scan-vault-para.ps1",
"approvedAt": 1767593508230,
"scope": "always"
},
{
"toolName": "Write",
"pattern": ".scripts/rename-chinese-to-english.ps1",
"approvedAt": 1767593891436,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "powershell -ExecutionPolicy Bypass -File \".\\.scripts\\rename-chinese-to-english.ps1\"",
"approvedAt": 1767593905094,
"scope": "always"
},
{
"toolName": "Write",
"pattern": ".scripts/rename-chinese-to-english.py",
"approvedAt": 1767594043665,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "python .scripts/rename-chinese-to-english.py",
"approvedAt": 1767594060348,
"scope": "always"
},
{
"toolName": "Edit",
"pattern": ".scripts/rename-chinese-to-english.py",
"approvedAt": 1767594101469,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "python .scripts/rename-chinese-to-english.py --execute",
"approvedAt": 1767594252544,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "python .scripts/rename-chinese-to-english.py --execute 2>&1 | grep -E \"^\\[\" | tail -30",
"approvedAt": 1767594293947,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "ls 00_Inbox/*.md 2>&1 | head -5",
"approvedAt": 1767604467950,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "ls 03_Resources/*.md 2>&1 | head -5",
"approvedAt": 1767604961692,
"scope": "always"
},
{
"toolName": "Write",
"pattern": ".claude/project-instructions.md",
"approvedAt": 1767605314357,
"scope": "always"
},
{
"toolName": "Edit",
"pattern": "2026-01-05.md",
"approvedAt": 1767605423829,
"scope": "always"
},
{
"toolName": "WebFetch",
"pattern": "{\"url\":\"https://silentvoid13.github.io/Templater\",\"prompt\":\"提取Templater插件的主要功能、安装方法、基本使用方式和核心语法\"}",
"approvedAt": 1767605778052,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templater使用指南.md",
"approvedAt": 1767606555612,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "mkdir -p \"06_Metadata/Templates\"",
"approvedAt": 1767606562910,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templates/daily-note.md",
"approvedAt": 1767606599739,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templates/project.md",
"approvedAt": 1767606602396,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templates/meeting.md",
"approvedAt": 1767606604749,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templates/quick-note.md",
"approvedAt": 1767606606848,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templates/book-note.md",
"approvedAt": 1767606608965,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templates/person.md",
"approvedAt": 1767606610745,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templater配置指南.md",
"approvedAt": 1767606650610,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Templater快速参考.md",
"approvedAt": 1767606680611,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "cd 06_Metadata && mv \"Templater使用指南.md\" \"Templater-User-Guide.md\" && mv \"Templater配置指南.md\" \"Templater-Setup-Guide.md\" && mv \"Templater快速参考.md\" \"Templater-Quick-Reference.md\"",
"approvedAt": 1767606719668,
"scope": "always"
},
{
"toolName": "Bash",
"pattern": "ls -lh 06_Metadata/*.md",
"approvedAt": 1767606724364,
"scope": "always"
},
{
"toolName": "Edit",
"pattern": "06_Metadata/Templater-Setup-Guide.md",
"approvedAt": 1767606758871,
"scope": "always"
},
{
"toolName": "Edit",
"pattern": "06_Metadata/Templater-Quick-Reference.md",
"approvedAt": 1767606763446,
"scope": "always"
},
{
"toolName": "Write",
"pattern": "06_Metadata/Obsidian-Plugins-Manual.md",
"approvedAt": 1767608585967,
"scope": "always"
}
],
"excludedTags": [],
"mediaFolder": "",
"environmentVariables": "",
"envSnippets": [],
"systemPrompt": "",
"allowedExportPaths": [
"~/Desktop",
"~/Downloads"
],
"allowedContextPaths": [],
"keyboardNavigation": {
"scrollUpKey": "w",
"scrollDownKey": "s",
"focusInputKey": "i"
},
"claudeCliPath": "",
"hooks": {
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "[ -f FIRST_RUN ] && echo '{\"hookSpecificOutput\":{\"hookEventName\":\"SessionStart\",\"additionalContext\":\"\\n\\n# 🚀 Welcome to Claudesidian!\\n\\n**This appears to be your first time using this vault.**\\n\\n## Quick Start\\n\\nRun the setup wizard:\\n\\n⬇\\n/init-bootstrap\\n⬆\\n\\n## What this will do:\\n\\n✅ Set up your personalized configuration\\n✅ Disconnect from the original repository\\n✅ Help you import any existing Obsidian vault\\n✅ Configure your preferred workflow\\n✅ Create your PARA folder structure\\n\\nThe setup wizard will guide you through everything!\\n\\n\"}}' || true"
},
{
"type": "command",
"command": "npm run check-updates --silent 2>/dev/null || true"
}
]
}
]
}
}