Initialize repo
This commit is contained in:
21
src-tauri/capabilities/llama.json
Normal file
21
src-tauri/capabilities/llama.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"identifier": "llama-capability",
|
||||
"description": "Capability to run local AI server",
|
||||
"local": true,
|
||||
"windows": [
|
||||
"main"
|
||||
],
|
||||
"permissions": [
|
||||
{
|
||||
"identifier": "shell:allow-execute",
|
||||
"allow": [
|
||||
{
|
||||
"name": "llama-server",
|
||||
"cmd": ".*llama-server\\.exe",
|
||||
"sidecar": false,
|
||||
"args": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
17
src-tauri/capabilities/migrated.json
Normal file
17
src-tauri/capabilities/migrated.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"identifier": "migrated",
|
||||
"description": "permissions that were migrated from v1",
|
||||
"local": true,
|
||||
"windows": [
|
||||
"main"
|
||||
],
|
||||
"permissions": [
|
||||
"core:default",
|
||||
"process:default",
|
||||
"shell:default",
|
||||
"sql:default",
|
||||
"sql:allow-execute",
|
||||
"sql:allow-select",
|
||||
"http:default"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user