201 lines
7.0 KiB
JSON
201 lines
7.0 KiB
JSON
{
|
|
"userName": "",
|
|
"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": "low",
|
|
"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"
|
|
}
|
|
],
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
} |