- werkzeuge/vorschau/vorschau.html: Anzeige per Drag & Drop oder Dateiauswahl, Zoom, Einpassen, Fehlermeldungen; funktioniert ohne Python direkt aus dem Dateisystem. - scripts/vorschau.py: erzeugt aus .bpmn oder Arbeitsschritt-.md eine in sich geschlossene Seite und öffnet sie; --stdin als Filter, etwa für einen Gitea-Renderer. Diagramm wird mit maskiertem '<' eingebettet, die Bibliothek unverändert und nur auf <script/</script geprüft. - bpmn-js 18.29.1 (navigated viewer + CSS + LICENSE) lokal eingebettet, npm-Integrität geprüft; lädt nichts aus dem Netz. Wasserzeichen bleibt laut Lizenzauflage sichtbar. - tests/test_vorschau.py: 11 Tests; Skill sn-bpmn, Anleitung, AGENTS.md, README, Leitfäden, Fallstricke und STATUS ergänzt. - Tests: python -m pytest -q -> 55 bestanden. Darstellung mit Edge headless geprüft (beide Beispiele, leere Seite, kaputte Datei). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
|
|
"permissions": {
|
|
"deny": [
|
|
"Bash(git push:*)",
|
|
"Bash(git merge:*)",
|
|
"Bash(git rebase:*)",
|
|
"Bash(git tag:*)",
|
|
"Bash(git reset --hard:*)",
|
|
"Bash(git clean:*)",
|
|
"Bash(git stash:*)",
|
|
"Bash(git remote set-url:*)",
|
|
"Bash(git config --global:*)",
|
|
"Bash(gh:*)",
|
|
"Bash(tea:*)",
|
|
"Read(./**/.env)",
|
|
"Read(./**/*.token)",
|
|
"Read(./**/credentials*)"
|
|
],
|
|
|
|
"ask": [
|
|
"Bash(git commit:*)",
|
|
"Bash(git switch:*)",
|
|
"Bash(git checkout:*)"
|
|
],
|
|
|
|
"allow": [
|
|
"Bash(git status:*)",
|
|
"Bash(git log:*)",
|
|
"Bash(git diff:*)",
|
|
"Bash(git show:*)",
|
|
"Bash(git branch:*)",
|
|
"Bash(git fetch:*)",
|
|
"Bash(git pull --ff-only:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(python scripts/hallo.py:*)",
|
|
"Bash(python scripts/gitea.py:*)",
|
|
"Bash(python scripts/setup_workspace.py:*)",
|
|
"Bash(python scripts/pruefe_umlaute.py:*)",
|
|
"Bash(python scripts/pruefe_prozesse.py:*)",
|
|
"Bash(python scripts/vorschau.py:*)",
|
|
"Bash(python -m pytest:*)"
|
|
]
|
|
}
|
|
}
|