* add llamacpp plugin * Refactor llamacpp plugin * add utils plugin * remove utils folder * add hardware implementation * add utils folder + move utils function * organize cargo files * refactor utils src * refactor util * apply fmt * fmt * Update gguf + reformat * add permission for gguf commands * fix cargo test windows * revert yarn lock * remove cargo.lock for hardware plugin * ignore cargo.lock file * Fix hardware invoke + refactor hardware + refactor tests, constants * use api wrapper in extension to invoke hardware call + api wrapper build integration * add newline at EOF (per Akarshan) * add vi mock for getSystemInfo
3.9 KiB
Default Permission
Default permissions for the llamacpp plugin
This default permission set includes the following:
allow-cleanup-llama-processesallow-load-llama-modelallow-unload-llama-modelallow-get-devicesallow-generate-api-keyallow-is-process-runningallow-get-random-portallow-find-session-by-modelallow-get-loaded-modelsallow-get-all-sessionsallow-get-session-by-modelallow-read-gguf-metadata
Permission Table
| Identifier | Description |
|---|---|
|
|
Enables the cleanup_llama_processes command without any pre-configured scope. |
|
|
Denies the cleanup_llama_processes command without any pre-configured scope. |
|
|
Enables the find_session_by_model command without any pre-configured scope. |
|
|
Denies the find_session_by_model command without any pre-configured scope. |
|
|
Enables the generate_api_key command without any pre-configured scope. |
|
|
Denies the generate_api_key command without any pre-configured scope. |
|
|
Enables the get_all_sessions command without any pre-configured scope. |
|
|
Denies the get_all_sessions command without any pre-configured scope. |
|
|
Enables the get_devices command without any pre-configured scope. |
|
|
Denies the get_devices command without any pre-configured scope. |
|
|
Enables the get_loaded_models command without any pre-configured scope. |
|
|
Denies the get_loaded_models command without any pre-configured scope. |
|
|
Enables the get_random_port command without any pre-configured scope. |
|
|
Denies the get_random_port command without any pre-configured scope. |
|
|
Enables the get_session_by_model command without any pre-configured scope. |
|
|
Denies the get_session_by_model command without any pre-configured scope. |
|
|
Enables the is_process_running command without any pre-configured scope. |
|
|
Denies the is_process_running command without any pre-configured scope. |
|
|
Enables the load_llama_model command without any pre-configured scope. |
|
|
Denies the load_llama_model command without any pre-configured scope. |
|
|
Enables the read_gguf_metadata command without any pre-configured scope. |
|
|
Denies the read_gguf_metadata command without any pre-configured scope. |
|
|
Enables the unload_llama_model command without any pre-configured scope. |
|
|
Denies the unload_llama_model command without any pre-configured scope. |