georesearch-dsh/georesearch-dsh--packages-runtime-lease1

@georesearch/dsh-runtime-lease

Cross-process runtime exclusion lease for managed GeoResearch installations

AI 分析

核心用途是防止在运行时活跃时写入不完整的安装生成。适合需要通过 Windows 命名互斥锁或 Unix 套接字确保安装器事务排他性的系统维护任务。

パッケージ
@georesearch/dsh-runtime-lease
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/28

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

README 全文を読む ↗

@georesearch/dsh-runtime-lease

Holds a process-scoped lease while a normal GeoResearch Profile is active. Installer mutations acquire the same lease before creating a transaction, so an active runtime is rejected without publishing a partial generation. A validated maintenance probe skips the runtime lease because its parent installer already owns it and the installation guard has consumed the bound nonce.

Windows uses a named mutex. Other platforms use a local Unix socket whose kernel-owned listener disappears when the process exits; stale socket paths are removed only after a failed connection probe.