45 lines
1.6 KiB
JSON
45 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm run | grep daily-note)",
|
|
"Edit(06_Metadata/Templates/Daily Note Template.md)",
|
|
"Edit(06_Metadata/Reference/DAILY_NOTE_GUIDE.md)",
|
|
"Edit(.obsidian/plugins/quickadd/data.json)",
|
|
"Edit(04_Archive/Projects/Airport/Chengdu/Office Test Env.md)",
|
|
"Bash(wc:*)",
|
|
"Bash(find:*)",
|
|
"Bash(git add:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
},
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"UserPromptSubmit": [
|
|
{
|
|
"hooks": [
|
|
{
|
|
"command": "${CLAUDE_PROJECT_DIR}/.claude/hooks/skill-discovery.sh",
|
|
"timeout": 5000,
|
|
"type": "command"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|