feat(ssm): bundle session-manager-plugin as a sidecar and prefer it

bundle.externalBin ships the plugin beside the app binary (usr/bin in the
AppImage, Contents/MacOS, the Windows install dir) and THIRD_PARTY_NOTICES as
a resource. find_plugin() now resolves TRIPLEC_SSM_PLUGIN, then the bundled
sidecar next to current_exe(), then PATH and AWS's install locations, then
the install hint; the order is unit-tested against temp dirs.

tauri-build fails any build whose externalBin file is missing, so build.rs
writes a marked placeholder in debug builds (cargo test/check, tauri dev)
and refuses a missing file or a placeholder in release builds.
find_plugin() skips the placeholder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shadowdaoandClaude Opus 5.5 committed 2026-11-17 06:43:41 -08:00
1 parent 05ac6b3e8c
commit 39f502dcdf
6 files changed
+302 -26

No files matched your search

+1
View File
@@ -15,6 +15,7 @@ mod logging;
mod marketplace;
mod models;
mod project_lock;
mod sidecar_placeholder;
mod storage;
pub mod url_open;
pub mod web_terminal;