chore: auto-commit after reactive-execute

GSD-Unit: M001/S02/reactive+T01,T03
This commit is contained in:
John Smith
2026-06-02 16:27:58 -04:00
parent c9ceb3f50e
commit f4e64805ba
7 changed files with 10625 additions and 1 deletions
+43
View File
@@ -32,3 +32,46 @@ src-tauri/perf*
/squashfs-root
/target/
# ── GSD baseline (auto-generated) ──
.gsd
.gsd-id
.mcp.json
.bg-shell/
Thumbs.db
nul
nul.*
con
con.*
prn
prn.*
aux
aux.*
com[1-9]
com[1-9].*
lpt[1-9]
lpt[1-9].*
*.swp
*.swo
*~
.idea/
.vscode/
*.code-workspace
.env
.env.*
!.env.example
node_modules/
.next/
dist/
build/
__pycache__/
*.pyc
.venv/
venv/
target/
vendor/
coverage/
.cache/
tmp/
.agents/
skills-lock.json
File diff suppressed because it is too large Load Diff
+5
View File
@@ -0,0 +1,5 @@
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<path
d="M10.7 36C10.7 29.3354 14.368 23.365 19.353 18.6667C22.506 15.8473 26.805 11.3549 29.459 9.58907C31.01 8.55715 32.99 8.55715 34.541 9.58907C37.195 11.3549 41.494 15.8473 44.647 18.6667C49.632 23.365 53.3 29.3354 53.3 36C53.3 47.7821 43.782 57.3 32 57.3C20.218 57.3 10.7 47.7821 10.7 36Z"
fill="#60a5fa" />
</svg>

After

Width:  |  Height:  |  Size: 417 B

+50
View File
@@ -73,6 +73,12 @@ version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]]
name = "ascii"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16"
[[package]]
name = "asn1-rs"
version = "0.6.2"
@@ -804,6 +810,12 @@ dependencies = [
"windows-link 0.2.1",
]
[[package]]
name = "chunked_transfer"
version = "1.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6e4de3bc4ea267985becf712dc6d9eed8b04c953b3fcfb339ebc87acd9804901"
[[package]]
name = "cipher"
version = "0.4.4"
@@ -1494,6 +1506,7 @@ dependencies = [
"native_model",
"page_size",
"parking_lot 0.12.5",
"portpicker",
"process",
"rand 0.9.2",
"rayon",
@@ -1519,6 +1532,7 @@ dependencies = [
"tauri-plugin-autostart",
"tauri-plugin-deep-link",
"tauri-plugin-dialog",
"tauri-plugin-localhost",
"tauri-plugin-opener",
"tauri-plugin-os",
"tauri-plugin-shell",
@@ -4602,6 +4616,15 @@ dependencies = [
"windows-sys 0.61.2",
]
[[package]]
name = "portpicker"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "be97d76faf1bfab666e1375477b23fde79eccf0276e9b63b92a39d676a889ba9"
dependencies = [
"rand 0.8.5",
]
[[package]]
name = "pot"
version = "3.0.1"
@@ -6659,6 +6682,21 @@ dependencies = [
"url",
]
[[package]]
name = "tauri-plugin-localhost"
version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c8d72c024121b1a3d9268293d49a56baf01a8c785561c85d17872588b839e55"
dependencies = [
"http 1.4.0",
"log",
"serde",
"serde_json",
"tauri",
"thiserror 2.0.17",
"tiny_http",
]
[[package]]
name = "tauri-plugin-opener"
version = "2.5.3"
@@ -6963,6 +7001,18 @@ dependencies = [
"crunchy",
]
[[package]]
name = "tiny_http"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "389915df6413a2e74fb181895f933386023c71110878cd0825588928e64cdc82"
dependencies = [
"ascii",
"chunked_transfer",
"httpdate",
"log",
]
[[package]]
name = "tinystr"
version = "0.8.2"
+2
View File
@@ -59,6 +59,7 @@ native_model = { git = "https://github.com/Drop-OSS/native_model.git", version =
] }
page_size = "0.6.0"
parking_lot = "0.12.3"
portpicker = "0.1"
process = { path = "./process" } # process
rand = "0.9.1"
rayon = "1.10.0"
@@ -87,6 +88,7 @@ tar = "0.4.44"
tauri-plugin-autostart = "*"
tauri-plugin-deep-link = "*"
tauri-plugin-dialog = "*"
tauri-plugin-localhost = "2.0.0"
tauri-plugin-opener = "*"
tauri-plugin-os = "*"
tauri-plugin-shell = "*"
+8
View File
@@ -1,3 +1,11 @@
fn main() {
tauri_build::build();
// Set cfg(dev) for debug builds so the code can distinguish
// dev mode (pnpm tauri dev) from release builds (Flatpak).
// In release builds, tauri-plugin-localhost serves frontend
// assets via http://localhost because WebviewUrl::App does
// not work in WebKit2GTK inside the Flatpak sandbox.
#[cfg(debug_assertions)]
println!("cargo:rustc-cfg=dev");
}
+30 -1
View File
@@ -45,6 +45,9 @@ use tauri::{
menu::{Menu, MenuItem, PredefinedMenuItem},
tray::TrayIconBuilder,
};
#[cfg(not(dev))]
use tauri::ipc::CapabilityBuilder;
use tauri_plugin_deep_link::DeepLinkExt;
use tauri_plugin_dialog::DialogExt;
use url::Url;
@@ -201,11 +204,20 @@ pub fn run() {
println!("{e}");
}));
#[cfg(not(dev))]
let port = portpicker::pick_unused_port()
.expect("Failed to find unused port for localhost server");
let mut builder = tauri::Builder::default()
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_os::init())
.plugin(tauri_plugin_dialog::init());
#[cfg(not(dev))]
{
builder = builder.plugin(tauri_plugin_localhost::Builder::new(port).build());
}
#[cfg(desktop)]
#[allow(unused_variables)]
{
@@ -309,9 +321,26 @@ pub fn run() {
.build()
.expect("failed to build main window");
#[cfg(dev)]
let webview_url = WebviewUrl::App("main".into());
#[cfg(not(dev))]
let webview_url = {
let url_str = format!("http://localhost:{port}/main");
let url = Url::parse(&url_str).expect("Invalid localhost URL");
app.add_capability(
CapabilityBuilder::new("localhost")
.remote(url_str.clone())
.window("main"),
)
.expect("Failed to add localhost capability");
info!("Serving frontend on {}", url_str);
WebviewUrl::External(url)
};
main_window
.add_child(
WebviewBuilder::new("frontend", WebviewUrl::App("main".into()))
WebviewBuilder::new("frontend", webview_url)
.auto_resize(),
LogicalPosition::new(0., 0.),
LogicalSize::new(width, height),