Dinh Long Nguyen e1c8d98bf2
Backend Architecture Refactoring (#6094) (#6162)
* 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
2025-08-15 08:59:01 +07:00

71 lines
835 B
Markdown

## Default Permission
Default permissions for the hardware plugin
#### This default permission set includes the following:
- `allow-get-system-info`
- `allow-get-system-usage`
## Permission Table
<table>
<tr>
<th>Identifier</th>
<th>Description</th>
</tr>
<tr>
<td>
`hardware:allow-get-system-info`
</td>
<td>
Enables the get_system_info command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`hardware:deny-get-system-info`
</td>
<td>
Denies the get_system_info command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`hardware:allow-get-system-usage`
</td>
<td>
Enables the get_system_usage command without any pre-configured scope.
</td>
</tr>
<tr>
<td>
`hardware:deny-get-system-usage`
</td>
<td>
Denies the get_system_usage command without any pre-configured scope.
</td>
</tr>
</table>