Back to Jan

Reference

src-tauri/plugins/tauri-plugin-llamacpp/permissions/autogenerated/reference.md

0.8.016.7 KB
Original Source

Default Permission

Default permissions for the llamacpp plugin

This default permission set includes the following:

  • allow-cleanup-llama-processes
  • allow-load-llama-model
  • allow-unload-llama-model
  • allow-start-router
  • allow-stop-router
  • allow-try-graceful-stop-router
  • allow-force-kill-router-tree
  • allow-force-stop-model
  • allow-get-router-info
  • allow-get-devices
  • allow-generate-api-key
  • allow-is-process-running
  • allow-ensure-session-ready
  • allow-get-random-port
  • allow-find-session-by-model
  • allow-get-loaded-models
  • allow-get-all-sessions
  • allow-get-session-by-model
  • allow-read-gguf-metadata
  • allow-estimate-kv-cache-size
  • allow-get-model-size
  • allow-is-model-supported
  • allow-plan-model-load
  • allow-map-old-backend-to-new
  • allow-get-local-installed-backends
  • allow-list-supported-backends
  • allow-determine-supported-backends
  • allow-get-supported-features
  • allow-is-cuda-installed
  • allow-find-latest-version-for-backend
  • allow-prioritize-backends
  • allow-parse-backend-version
  • allow-check-backend-for-updates
  • allow-remove-old-backend-versions
  • allow-validate-backend-string
  • allow-should-migrate-backend
  • allow-handle-setting-update
  • allow-get-backend-dir
  • allow-get-backend-exe-path
  • allow-check-backend-installed
  • allow-verify-backend-installation
  • allow-fetch-remote-supported-backends
  • allow-build-backend-download-items

Permission Table

<table> <tr> <th>Identifier</th> <th>Description</th> </tr> <tr> <td>

llamacpp:allow-build-backend-download-items

</td> <td>

Enables the build_backend_download_items command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-build-backend-download-items

</td> <td>

Denies the build_backend_download_items command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-check-backend-for-updates

</td> <td>

Enables the check_backend_for_updates command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-check-backend-for-updates

</td> <td>

Denies the check_backend_for_updates command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-check-backend-installed

</td> <td>

Enables the check_backend_installed command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-check-backend-installed

</td> <td>

Denies the check_backend_installed command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-cleanup-llama-processes

</td> <td>

Enables the cleanup_llama_processes command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-cleanup-llama-processes

</td> <td>

Denies the cleanup_llama_processes command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-determine-supported-backends

</td> <td>

Enables the determine_supported_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-determine-supported-backends

</td> <td>

Denies the determine_supported_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-ensure-session-ready

</td> <td>

Enables the ensure_session_ready command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-ensure-session-ready

</td> <td>

Denies the ensure_session_ready command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-estimate-kv-cache-size

</td> <td>

Enables the estimate_kv_cache_size command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-estimate-kv-cache-size

</td> <td>

Denies the estimate_kv_cache_size command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-fetch-remote-supported-backends

</td> <td>

Enables the fetch_remote_supported_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-fetch-remote-supported-backends

</td> <td>

Denies the fetch_remote_supported_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-find-latest-version-for-backend

</td> <td>

Enables the find_latest_version_for_backend command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-find-latest-version-for-backend

</td> <td>

Denies the find_latest_version_for_backend command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-find-session-by-model

</td> <td>

Enables the find_session_by_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-find-session-by-model

</td> <td>

Denies the find_session_by_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-force-kill-router-tree

</td> <td>

Enables the force_kill_router_tree command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-force-kill-router-tree

</td> <td>

Denies the force_kill_router_tree command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-force-stop-model

</td> <td>

Enables the force_stop_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-force-stop-model

</td> <td>

Denies the force_stop_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-generate-api-key

</td> <td>

Enables the generate_api_key command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-generate-api-key

</td> <td>

Denies the generate_api_key command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-all-sessions

</td> <td>

Enables the get_all_sessions command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-all-sessions

</td> <td>

Denies the get_all_sessions command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-backend-dir

</td> <td>

Enables the get_backend_dir command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-backend-dir

</td> <td>

Denies the get_backend_dir command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-backend-exe-path

</td> <td>

Enables the get_backend_exe_path command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-backend-exe-path

</td> <td>

Denies the get_backend_exe_path command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-devices

</td> <td>

Enables the get_devices command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-devices

</td> <td>

Denies the get_devices command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-loaded-models

</td> <td>

Enables the get_loaded_models command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-loaded-models

</td> <td>

Denies the get_loaded_models command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-local-installed-backends

</td> <td>

Enables the get_local_installed_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-local-installed-backends

</td> <td>

Denies the get_local_installed_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-model-size

</td> <td>

Enables the get_model_size command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-model-size

</td> <td>

Denies the get_model_size command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-random-port

</td> <td>

Enables the get_random_port command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-random-port

</td> <td>

Denies the get_random_port command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-router-info

</td> <td>

Enables the get_router_info command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-router-info

</td> <td>

Denies the get_router_info command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-session-by-model

</td> <td>

Enables the get_session_by_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-session-by-model

</td> <td>

Denies the get_session_by_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-get-supported-features

</td> <td>

Enables the get_supported_features command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-get-supported-features

</td> <td>

Denies the get_supported_features command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-handle-setting-update

</td> <td>

Enables the handle_setting_update command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-handle-setting-update

</td> <td>

Denies the handle_setting_update command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-init-native-backend

</td> <td>

Enables the init_native_backend command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-init-native-backend

</td> <td>

Denies the init_native_backend command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-is-cuda-installed

</td> <td>

Enables the is_cuda_installed command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-is-cuda-installed

</td> <td>

Denies the is_cuda_installed command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-is-model-supported

</td> <td>

Enables the is_model_supported command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-is-model-supported

</td> <td>

Denies the is_model_supported command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-is-process-running

</td> <td>

Enables the is_process_running command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-is-process-running

</td> <td>

Denies the is_process_running command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-list-supported-backends

</td> <td>

Enables the list_supported_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-list-supported-backends

</td> <td>

Denies the list_supported_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-load-llama-model

</td> <td>

Enables the load_llama_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-load-llama-model

</td> <td>

Denies the load_llama_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-map-old-backend-to-new

</td> <td>

Enables the map_old_backend_to_new command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-map-old-backend-to-new

</td> <td>

Denies the map_old_backend_to_new command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-chat-completion

</td> <td>

Enables the native_chat_completion command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-chat-completion

</td> <td>

Denies the native_chat_completion command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-chat-template

</td> <td>

Enables the native_chat_template command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-chat-template

</td> <td>

Denies the native_chat_template command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-detokenize

</td> <td>

Enables the native_detokenize command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-detokenize

</td> <td>

Denies the native_detokenize command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-embeddings

</td> <td>

Enables the native_embeddings command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-embeddings

</td> <td>

Denies the native_embeddings command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-model-metadata

</td> <td>

Enables the native_model_metadata command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-model-metadata

</td> <td>

Denies the native_model_metadata command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-system-info

</td> <td>

Enables the native_system_info command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-system-info

</td> <td>

Denies the native_system_info command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-native-tokenize

</td> <td>

Enables the native_tokenize command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-native-tokenize

</td> <td>

Denies the native_tokenize command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-parse-backend-version

</td> <td>

Enables the parse_backend_version command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-parse-backend-version

</td> <td>

Denies the parse_backend_version command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-plan-model-load

</td> <td>

Enables the plan_model_load command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-plan-model-load

</td> <td>

Denies the plan_model_load command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-prioritize-backends

</td> <td>

Enables the prioritize_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-prioritize-backends

</td> <td>

Denies the prioritize_backends command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-read-gguf-metadata

</td> <td>

Enables the read_gguf_metadata command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-read-gguf-metadata

</td> <td>

Denies the read_gguf_metadata command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-remove-old-backend-versions

</td> <td>

Enables the remove_old_backend_versions command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-remove-old-backend-versions

</td> <td>

Denies the remove_old_backend_versions command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-router-slots-idle

</td> <td>

Enables the router_slots_idle command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-router-slots-idle

</td> <td>

Denies the router_slots_idle command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-should-migrate-backend

</td> <td>

Enables the should_migrate_backend command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-should-migrate-backend

</td> <td>

Denies the should_migrate_backend command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-start-router

</td> <td>

Enables the start_router command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-start-router

</td> <td>

Denies the start_router command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-stop-router

</td> <td>

Enables the stop_router command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-stop-router

</td> <td>

Denies the stop_router command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-try-graceful-stop-router

</td> <td>

Enables the try_graceful_stop_router command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-try-graceful-stop-router

</td> <td>

Denies the try_graceful_stop_router command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-unload-llama-model

</td> <td>

Enables the unload_llama_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-unload-llama-model

</td> <td>

Denies the unload_llama_model command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-validate-backend-string

</td> <td>

Enables the validate_backend_string command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-validate-backend-string

</td> <td>

Denies the validate_backend_string command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:allow-verify-backend-installation

</td> <td>

Enables the verify_backend_installation command without any pre-configured scope.

</td> </tr> <tr> <td>

llamacpp:deny-verify-backend-installation

</td> <td>

Denies the verify_backend_installation command without any pre-configured scope.

</td> </tr> </table>