-
Notifications
You must be signed in to change notification settings - Fork 342
refactor: make reliability features configurable #65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
vlordier
wants to merge
5
commits into
Liquid4All:main
from
vlordier:refactor/configurable-reliability
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c72b10f
feat: implement 4 reliability improvements
vlordier 8799d20
test: add unit tests for PR features
vlordier 8eb510b
test: add meaningful tests for health monitoring and LM Studio
vlordier 0c7f831
test: add lib.rs infrastructure tests
vlordier fe98ccc
refactor: make reliability features configurable
vlordier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| [package] | ||
| name = "localcowork" | ||
| version = "0.1.0" | ||
| description = "LocalCowork — on-device AI agent desktop app" | ||
| authors = ["LocalCowork Contributors"] | ||
| license = "MIT" | ||
| edition = "2021" | ||
| rust-version = "1.77" | ||
|
|
||
| [build-dependencies] | ||
| tauri-build = { version = "2", features = [] } | ||
|
|
||
| [dependencies] | ||
| tauri = { version = "2", features = ["devtools"] } | ||
| tauri-plugin-shell = "2" | ||
| serde = { version = "1", features = ["derive"] } | ||
| serde_json = "1" | ||
| serde_yaml = "0.9" | ||
| tokio = { version = "1", features = ["full"] } | ||
| anyhow = "1" | ||
| thiserror = "2" | ||
| tracing = "0.1" | ||
| tracing-subscriber = { version = "0.3", features = ["json", "env-filter"] } | ||
| uuid = { version = "1", features = ["v4"] } | ||
| chrono = { version = "0.4", features = ["serde"] } | ||
| reqwest = { version = "0.12", features = ["json", "stream"] } | ||
| rusqlite = { version = "0.32", features = ["bundled"] } | ||
| futures = "0.3" | ||
| dirs = "6" | ||
| sysinfo = "0.33" | ||
| sha2 = "0.10" | ||
| tauri-plugin-dialog = "2" | ||
|
|
||
| [dev-dependencies] | ||
| tempfile = "3" | ||
|
|
||
| [features] | ||
| default = ["custom-protocol"] | ||
| custom-protocol = ["tauri/custom-protocol"] | ||
|
|
||
| [profile.release] | ||
| strip = true | ||
| lto = true | ||
| codegen-units = 1 | ||
| panic = "abort" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| fn main() { | ||
| tauri_build::build(); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "identifier": "default", | ||
| "description": "Default capabilities for LocalCowork", | ||
| "windows": ["main"], | ||
| "permissions": [ | ||
| "core:default", | ||
| "shell:allow-open", | ||
| "shell:allow-execute", | ||
| "shell:allow-spawn", | ||
| "shell:allow-stdin-write", | ||
| "dialog:default", | ||
| "dialog:allow-open", | ||
| "dialog:allow-save" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" | ||
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| <plist version="1.0"> | ||
| <dict> | ||
| <!-- Allow spawning child processes (Node.js/Python MCP servers) --> | ||
| <key>com.apple.security.cs.allow-unsigned-executable-memory</key> | ||
| <true/> | ||
| <!-- Allow loading external dynamic libraries (Python packages, Node modules) --> | ||
| <key>com.apple.security.cs.disable-library-validation</key> | ||
| <true/> | ||
| <!-- Allow outbound network connections (localhost Ollama API) --> | ||
| <key>com.apple.security.network.client</key> | ||
| <true/> | ||
| <!-- Allow read/write to user-selected files (via open/save dialogs) --> | ||
| <key>com.apple.security.files.user-selected.read-write</key> | ||
| <true/> | ||
| </dict> | ||
| </plist> | ||
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "servers": {} | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These entitlements significantly weaken macOS code-signing protections (unsigned executable memory and disabled library validation). If they’re strictly required, consider documenting the concrete runtime need (which subsystem requires them) and, if possible, tightening to the minimum entitlements needed (e.g., prefer more specific JIT-related entitlements where applicable) to reduce attack surface.