dsh-coding-oauth-core
v0.1.0
Published
DSH-neutral ownership and compatibility primitives shared by coding OAuth integrations.
Readme
dsh-coding-oauth-core
dsh-coding-oauth-core contains DSH-neutral ownership and compatibility contracts shared by the standalone coding-subscription OAuth plugin and Usage Center.
It intentionally has no dsh.bundle or dsh.client metadata. Integrations may bundle a physical copy; a versioned global registry coordinates those copies per Cordis root and keeps only one OAuth runtime active.
The public surface is:
acquireCodingOAuthRuntime()CodingOAuthRuntimeCodingOAuthParticipantOwnerRequestPolicyDshHostCapabilities
The package also owns the versioned runtime registry plus stable credential filenames, Settings namespace, Gateway state filename, and all legacy/current management paths. Hub and the standalone participant import these contracts from the same exact core version, so owner takeover never renames or resets user state.
Release and installation
The first published release is 0.1.0. Maintainers must publish this package before publishing Hub 1.9.0 or Subscription 0.6.0, because both declare the exact [email protected] dependency.
This is an npm dependency, not a DSH plugin. Operators install Hub and/or Subscription in the existing DSH web profile; they do not run dsh plugin add dsh-coding-oauth-core. When both integrations are installed, Hub owns the full UI and Subscription exposes the compact status entry.
