@harborclient/sdk
v1.1.23
Published
TypeScript SDK for HarborClient development.
Maintainers
Readme
@harborclient/sdk
TypeScript definitions, utility modules, and React runtime helpers for HarborClient development.
Documentation: https://harborclient.github.io/sdk/
Install as a dev dependency in your plugin project. The package ships type declarations, HTTP/storage/UI helpers, and a JSX runtime that forwards to the host's React instance via installReact(hc.react).
Requires HarborClient >=1.9.0 when using hc.pluginId, renderer HTTP lifecycle events, typed IPC invoke, and host request commands.
Install
pnpm add -D @harborclient/sdkSee the install guide for version requirements.
Quick start
import { installReact } from '@harborclient/sdk';
import type { PluginContext } from '@harborclient/sdk';
export function activate(hc: PluginContext): void {
installReact(hc.react);
// register contributions…
}Full guides — package layout, manifest, APIs, examples, and dev workflow — live in the plugin development docs.
Trusted publishers
HarborClient maintains a trusted publisher registry. Authors listed there must sign every plugin they publish; HarborClient rejects installs that claim a trusted author name without a valid signature. See the signing guide for key generation and verification.
To discuss becoming a trusted publisher, email [email protected].
License
MIT
