New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dsh-coding-oauth-core

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-coding-oauth-core

DSH-neutral ownership and compatibility primitives shared by coding OAuth integrations.

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
108
-44.62%
Maintainers
1
Weekly downloads
 
Created
Source

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 (Hub).

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.

Public surface

Root export (.):

  • acquireCodingOAuthRuntime()
  • CodingOAuthRuntime / CodingOAuthParticipant
  • OwnerRequestPolicy / DshHostCapabilities
  • Proxy lease helpers, route registration, ids, state contract
  • Shared helpers also re-exported from the root: http-json, grok-errors, kimi-errors, gateway-protocol

Subpath exports:

ExportPurpose
dsh-coding-oauth-core/contractsBrowser-safe ABI / capability contracts
dsh-coding-oauth-core/http-jsonJSON request helpers
dsh-coding-oauth-core/grok-errorsxAI capacity remapping
dsh-coding-oauth-core/kimi-errorsKimi context-overflow remapping
dsh-coding-oauth-core/gateway-protocolGateway request / stream types

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.

Development (vendored in Hub)

Source lives at vendor/dsh-coding-oauth-core inside dsh-hub-oauth-gateway. Hub currently overrides the registry pin with file:vendor/dsh-coding-oauth-core until consumers switch to the published 0.1.2.

# from this directory (or via Hub root: pnpm exec tsc -p vendor/dsh-coding-oauth-core)
pnpm run build
pnpm run check
pnpm run release:inspect   # npm pack --dry-run

src/ is the only editable source. Rebuild and commit lib/ before packing or publishing.

Publish 0.1.2 (operators only)

Agents must not run npm login or npm publish. After prep (build, check, dry-run review) is green on the release branch, the operator publishes with:

cd vendor/dsh-coding-oauth-core
npm login --registry https://registry.npmjs.org/
pnpm run release:publish

release:publish runs check then npm publish --access public. Enter the OTP in the terminal; do not paste tokens into chat.

After publish, verify:

npm view dsh-coding-oauth-core version
npm view dsh-coding-oauth-core exports

Then Hub / Subscription can depend on registry dsh-coding-oauth-core@0.1.2 and drop the local file: override in a follow-up change.

License

Apache-2.0. Independent community package; no vendor endorsement is implied.

Keywords

deepseek

FAQs

Package last updated on 02 Sep 2026

Related posts