tiletopia/src-tauri
megaproxy 9931a92c5f Idle probe: inline pane_id + watch list into bash script (drop positional args)
Root cause of "filter never suppresses": passing the target pane_id and
watch names as positional args to `bash -c "..." _ <id> <names>` had
them silently dropped by wsl.exe's arg-passing layer. Inside bash, $1
and $@ were empty — the script always looked for `TILETOPIA_PANE_ID=`
(no value), found nothing, exited 1.

Fix: format the script string in Rust with pane_id and watch names
already substituted. No positional args to bash → nothing for wsl.exe
to drop. Both inputs are safe to inline (u64 and a compile-time const
list); validation needed if user-supplied watch names ever land here.

Two unit tests guard against regressing to the positional-arg shape.
Also dropped the diagnostic info!() spam added during debugging — back
to debug! in the happy path, single concise probed= line on each cache
miss.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 18:25:55 +01:00
..
capabilities Scope opener plugin to http/https/mailto so clicks open the browser 2026-05-25 19:47:24 +01:00
icons M5 ship infrastructure: icon, version, release script, README 2026-05-22 13:38:29 +01:00
src Idle probe: inline pane_id + watch list into bash script (drop positional args) 2026-05-26 18:25:55 +01:00
build.rs Initial scaffold from M1 spike (tiletopia) 2026-05-22 12:31:29 +01:00
Cargo.lock MCP v2 PR-1: policy engine + audit log + Config/Audit/Policy panel tabs 2026-05-26 12:05:31 +01:00
Cargo.toml MCP v2 PR-1: policy engine + audit log + Config/Audit/Policy panel tabs 2026-05-26 12:05:31 +01:00
tauri.conf.json Route terminal clipboard through tauri-plugin-clipboard-manager; bump to 0.2.3 2026-05-22 23:27:43 +01:00