@patchhivehq/product-shell
v0.1.4
Published
Shared frontend shell helpers for PatchHive products.
Readme
@patchhivehq/product-shell
@patchhivehq/product-shell is the shared frontend shell layer for PatchHive products.
It holds the cross-product browser behavior that should feel identical everywhere: API-key bootstrap, session handling, authenticated fetch helpers, and the common product frame that wraps individual product panels.
What It Includes
useApiKeyAuthfor shared API-key bootstrap and session handlingcreateApiFetcherfor authenticated requests to product backendsProductSessionGatefor the shared login and loading boundaryProductAppFramefor the common PatchHive app frame and per-panel error boundaryProductSetupWizardfor the shared post-login setup and readiness flow used by every product except HiveCore
Example
import {
createApiFetcher,
ProductAppFrame,
ProductSessionGate,
useApiKeyAuth,
} from "@patchhivehq/product-shell";Publishing Model
@patchhivehq/product-shell is published to the public npm registry so standalone PatchHive product repositories can consume it as a normal versioned dependency.
The monorepo remains the source of truth for development and releases. The standalone patchhive/product-shell repository is a mirror for visibility, package-level CI, and external use.
