chore: Sprachmittler OpenCode starter kit
This commit is contained in:
commit
374085ec2f
94 files changed
+4563
No files matched your search
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"instructions": ["docs/CODING_STANDARDS.md"],
|
||||
"permissions": [
|
||||
{ "action": "edit", "resource": "*", "effect": "allow" },
|
||||
{ "action": "edit", "resource": "Sprachmittler.xcodeproj/*", "effect": "deny" },
|
||||
{ "action": "edit", "resource": "Sprachmittler.xcodeproj/**", "effect": "deny" },
|
||||
{ "action": "edit", "resource": "evaluation/corpus/*", "effect": "deny" },
|
||||
{ "action": "edit", "resource": "evaluation/corpus/**", "effect": "deny" },
|
||||
{ "action": "edit", "resource": "Packages/SprachmittlerKit/Tests/SprachmittlerOllamaTests/Fixtures/*", "effect": "ask" },
|
||||
{ "action": "edit", "resource": "Packages/SprachmittlerKit/Tests/SprachmittlerOllamaTests/Fixtures/**", "effect": "ask" },
|
||||
{ "action": "edit", "resource": "App/Sprachmittler.entitlements", "effect": "ask" },
|
||||
|
||||
{ "action": "read", "resource": "*", "effect": "allow" },
|
||||
{ "action": "read", "resource": "*.env", "effect": "ask" },
|
||||
{ "action": "read", "resource": "*.env.*", "effect": "ask" },
|
||||
{ "action": "read", "resource": "*.env.example", "effect": "allow" },
|
||||
{ "action": "read", "resource": "evaluation/corpus/*", "effect": "deny" },
|
||||
{ "action": "read", "resource": "evaluation/corpus/**", "effect": "deny" },
|
||||
|
||||
{ "action": "shell", "resource": "*", "effect": "ask" },
|
||||
{ "action": "shell", "resource": "make *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "swift build *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "swift test *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "swift run --package-path Packages/SprachmittlerKit sprachmittler-cli *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "swift package *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "xcodegen *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "xcodebuild *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "swiftformat *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "swiftlint *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "bash -n *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "ollama list", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "ollama ps", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "ollama show *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "ollama --version", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "curl -sS http://127.0.0.1:11434/api/version", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "curl -sS http://127.0.0.1:11434/api/tags", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "curl -sS http://127.0.0.1:11434/api/ps", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "git status *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "git diff *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "git log *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "git show *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "git add *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "rg *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "ls *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "cat *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "find *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "jq *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "shasum *", "effect": "allow" },
|
||||
{ "action": "shell", "resource": "ollama pull *", "effect": "ask" },
|
||||
{ "action": "shell", "resource": "git commit *", "effect": "ask" },
|
||||
{ "action": "shell", "resource": "ollama rm *", "effect": "deny" },
|
||||
{ "action": "shell", "resource": "git push *", "effect": "deny" },
|
||||
{ "action": "shell", "resource": "git reset --hard *", "effect": "deny" },
|
||||
{ "action": "shell", "resource": "rm -rf *", "effect": "deny" },
|
||||
{ "action": "shell", "resource": "sudo *", "effect": "deny" },
|
||||
{ "action": "shell", "resource": "codesign *", "effect": "ask" },
|
||||
{ "action": "shell", "resource": "xcrun notarytool *", "effect": "deny" },
|
||||
|
||||
{ "action": "webfetch", "resource": "*", "effect": "ask" },
|
||||
{ "action": "websearch", "resource": "*", "effect": "ask" },
|
||||
{ "action": "external_directory", "resource": "*", "effect": "ask" }
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user