{ "permissions": { "allow": [ "Bash(npm install:*)", "Bash(node src/index.js)", "Bash(kill %1)", "Read(//tmp/**)", "Bash(node -e \"import\\('./src/services/wiki-index.js'\\).then\\(m => { const r = m.buildWikiIndex\\('./wiki'\\); const bySection = {}; for \\(const p of r.pages\\) { const s = p.path.split\\('/'\\)[0]; bySection[s] = \\(bySection[s]||0\\)+1; } console.log\\('Total pages:', r.pages.length\\); console.log\\('Par section:', bySection\\); console.log\\('Limagrain pages:'\\); for \\(const p of r.pages.filter\\(x => x.path.startsWith\\('limagrain/'\\)\\)\\) console.log\\(' -', p.path, '|', p.title, '| type:', p.type\\); }\\);\")" ] } }