Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 17 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ repository = "https://github.com/cppalliance/runvil-workshop"
# in. All four name one commit, because two commits would be two copies
# of every type the crates share. `version` beside `git` keeps cargo-deny's
# wildcard check quiet.
runvil = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "7147e709f603b81786fb2d702bf50c4d9a88d62b" }
harness-gateway-client = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "7147e709f603b81786fb2d702bf50c4d9a88d62b" }
plugin-web = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "7147e709f603b81786fb2d702bf50c4d9a88d62b" }
plugin-mcp = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "7147e709f603b81786fb2d702bf50c4d9a88d62b" }
runvil = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "3376b268a2c077bb6dba3d315a7fae442f75d296" }
harness-gateway-client = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "3376b268a2c077bb6dba3d315a7fae442f75d296" }
plugin-web = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "3376b268a2c077bb6dba3d315a7fae442f75d296" }
plugin-mcp = { version = "0.3.0", git = "https://github.com/cppalliance/runvil-harness", rev = "3376b268a2c077bb6dba3d315a7fae442f75d296" }
# The safe layer over the C Plugin contract, version 0.4, from its own
# repository, pinned by commit. Only the library Plugin crates under
# `crates/workshop/` name it, for `export_plugin!`. The commit is the one
Expand Down
1 change: 1 addition & 0 deletions crates/workshop/desktop/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ default = []

[dev-dependencies]
tempfile.workspace = true
tokio.workspace = true
workshop-server-api = { workspace = true, features = ["test-fixtures"] }

[lints]
Expand Down
11 changes: 10 additions & 1 deletion crates/workshop/desktop/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,16 @@ const GATEWAY_SIDECAR_VARIABLE: &str = "RUNVIL_GATEWAY_SIDECAR";
fn main() -> Result<(), Box<dyn Error>> {
install_gateway_sidecar()?;
tauri_build::try_build(tauri_build::Attributes::new().app_manifest(
tauri_build::AppManifest::new().commands(&["desktop_update_supported", "quit"]),
tauri_build::AppManifest::new().commands(&[
"desktop_update_supported",
"quit",
"chatgpt_bind_capability",
"chatgpt_status",
"chatgpt_sign_in",
"chatgpt_sign_out",
"chatgpt_reset",
"chatgpt_enable",
]),
))?;
Ok(())
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-chatgpt-bind-capability"
description = "Enables the chatgpt_bind_capability command without any pre-configured scope."
commands.allow = ["chatgpt_bind_capability"]

[[permission]]
identifier = "deny-chatgpt-bind-capability"
description = "Denies the chatgpt_bind_capability command without any pre-configured scope."
commands.deny = ["chatgpt_bind_capability"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-chatgpt-enable"
description = "Enables the chatgpt_enable command without any pre-configured scope."
commands.allow = ["chatgpt_enable"]

[[permission]]
identifier = "deny-chatgpt-enable"
description = "Denies the chatgpt_enable command without any pre-configured scope."
commands.deny = ["chatgpt_enable"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-chatgpt-reset"
description = "Enables the chatgpt_reset command without any pre-configured scope."
commands.allow = ["chatgpt_reset"]

[[permission]]
identifier = "deny-chatgpt-reset"
description = "Denies the chatgpt_reset command without any pre-configured scope."
commands.deny = ["chatgpt_reset"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-chatgpt-sign-in"
description = "Enables the chatgpt_sign_in command without any pre-configured scope."
commands.allow = ["chatgpt_sign_in"]

[[permission]]
identifier = "deny-chatgpt-sign-in"
description = "Denies the chatgpt_sign_in command without any pre-configured scope."
commands.deny = ["chatgpt_sign_in"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-chatgpt-sign-out"
description = "Enables the chatgpt_sign_out command without any pre-configured scope."
commands.allow = ["chatgpt_sign_out"]

[[permission]]
identifier = "deny-chatgpt-sign-out"
description = "Denies the chatgpt_sign_out command without any pre-configured scope."
commands.deny = ["chatgpt_sign_out"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Automatically generated - DO NOT EDIT!

[[permission]]
identifier = "allow-chatgpt-status"
description = "Enables the chatgpt_status command without any pre-configured scope."
commands.allow = ["chatgpt_status"]

[[permission]]
identifier = "deny-chatgpt-status"
description = "Denies the chatgpt_status command without any pre-configured scope."
commands.deny = ["chatgpt_status"]
Loading