mirror of
https://github.com/NVIDIA/OpenShell.git
synced 2026-10-26 06:52:57 +08:00
Per RFC 0005, ship openshell-sdk-node as a napi-rs wrapper over the openshell-sdk crate, exposing the same surface to TypeScript/Node consumers as @openshell/sdk. - New crate openshell-sdk-node binds OpenShellClient, OidcRefresher, the edge-tunnel dialer, and the sandbox/exec API through napi-rs. - Generated index.d.ts and index.js are committed; the per-platform .node binary is gitignored and rebuilt with `napi build` per host. - lib.mjs provides a small ESM facade with named exports plus the errorCode() helper for typed error discrimination. Tests: 5-case smoke suite that exercises exports, typed connect errors, and OidcRefresher single-flight semantics.