ship-tauri-python-sidecar
/ship-tauri-python-sidecar
Buduje i wydaje aplikacje Tauri z sidecarem w Pythonie: powłoki WebView, paczki PyInstaller, synchronizacja wersji, instalatory, wydania w CI, podpisywanie i aktualizacje.
- Autor
- aAAaqwq ↗
- Repozytorium
- AGI-Super-Team ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 20.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Buduje i wydaje aplikacje Tauri z sidecarem w Pythonie: powłoki WebView, paczki PyInstaller, synchronizacja wersji, instalatory, wydania w CI, podpisywanie i aktualizacje.
Oryginalny opis (EN)
Build and release Tauri apps with a Python sidecar. Use for WebView shells, PyInstaller bundles, version sync, installers, CI releases, lifecycle bugs, signing, or updates.
Jak działa
- Workflow
- Non-negotiable gates
- Decision points
- References
Podgląd SKILL.md
--- name: ship-tauri-python-sidecar description: Build and release Tauri apps with a Python sidecar. Use for WebView shells, PyInstaller bundles, version sync, installers, CI releases, lifecycle bugs, signing, or updates. --- # Ship Tauri Python Sidecar Build the desktop shell and backend as one lifecycle-managed product. Treat a generated installer as an intermediate artifact; completion requires an installed-app startup and shutdown proof. ## Workflow 1. **Map the runtime topology.** Record the Tauri process, sidecar process tree, loopback API, frontend entry point, writable data root, required external runtimes, and shutdown owner. 2. **Freeze one version.** Select one canonical version and synchronize it across the backend, Tauri config, Cargo package, JavaScript package, installer name, update manifest, and release tag. 3. **Define the sidecar contract.** Give the sidecar a deterministic binary name and target-triple filename. Define its command-line dispatch, readiness endpoint, dynamic-port discovery, stdout encoding, data directory, and parent-death behavior. 4. **Constrain the shell.** Keep capabilities minimal, bind backend HTTP only to loopback, define CSP deliberately, and avoid exposing arbitrary shell execution to frontend code. 5. **Create one build entry point.** Let local builds and CI call the same script. Build dependencies, sidecar, icons, Tauri binary, installer, and SHA-256 in a fixed order. Fail on a missing or implausibly small artifact. 6. **Validate in layers.** Run unit and contract tests, sidecar CLI smoke tests, Tauri-to-sidecar handshake tests, process cleanup tests, installer structure checks, and a silent-install real startup test. 7. **Release by channel.** Separate macOS and Windows tags, artifacts, manifests, secrets, signing credentials, and rollback procedures. Never let a tag for one platform update the other platform's channel. 8. **Report evidence.** Record version, commit, runner, produced artifact, hash, startup endpoint, shutdown result, signing state, and known external prerequisites. ## Non-negotiable gates - Do not declare success from `tauri build` alone. - Do not infer readiness from a process name; connect to the loopback endpoint owned by the listening sidecar process. - Account for one-file packagers that create parent and child processes with the same executable name. - Close the shell and prove all sidecar descendants exit. Treat leftovers as a release failure. - Keep user data outside the installation directory and preserve it across upgrades. - Never commit signing certificates or publishing secrets. Inject them only in the release environment. - Publish a checksum and preserve the exact build provenance. ## Decision points - Prefer an external sidecar when the backend has a mature independent runtime or CLI surface. - Prefer an embedded Rust implementation only when eliminating the second runtime outweighs migration risk. - Embed a WebView runtime bootstrapper when target machines cannot be assumed to have it; document installer-size impact. - Use per-user installation unless machine-wide installation is a product requirement with an elevation plan. ## References - Read [release-contract.md](references/release-contract.md) when implementing or reviewing the build, CI, installer, signing, or update path. - Read [project-evidence.md](references/project-evidence.md) when applying the lessons extracted from this repository.
Pliki w paczce (5)
- PROVENANCE.md 1 KB
- SKILL.md 3 KB
- agents/openai.yaml 1 KB
- references/project-evidence.md 2 KB
- references/release-contract.md 3 KB
Wersje
W bazie nie ma innych skilli o nazwie ship-tauri-python-sidecar.
Migawka bazy z 13.11.2026 · wersja paczki 58f7a91deab4 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100tauri
Prowadzi przez tworzenie aplikacji Tauri v2: scaffolding create-tauri-app, komendy Rust wywoływane przez invoke, zdarzenia, pluginy, błędy uprawnień w capabilities, instalatory i podpisywanie. - 100tauri-mcp-testing
Testuje działające aplikacje Tauri end-to-end przez serwer Tauri MCP: sesje, webview, IPC, zrzuty ekranu i debugowanie. - 85tauri
Pomaga w budowie aplikacji Tauri z backendem w Rust i frontendem WebView: IPC, bezpieczeństwo i wtyczki. - 100tauri-sidecar-desktop
Opisuje architekturę aplikacji desktopowych z procesem sidecar: przezroczyste okna, protokół JSON, bezpieczne zapisy danych i testy integracyjne. - 100cc-tauri-project-standard
Porządkuje pracę nad aplikacją Tauri: komendy Rust, kontrakty IPC, uprawnienia, stan i wydania na platformy. - 90tauri-skills
Projektuje, implementuje i sprawdza bezpieczne aplikacje desktopowe Tauri 2 z rdzeniem w Rust i interfejsem w React lub TypeScript.