Skip to content

Index

Alphabetical index of public hc.* APIs. Each entry links to the full reference on its namespace page.

A

C

D

F

H

I

  • hc.imports.registerHandler(extensions, handler) — | Callback | Type | Description | | ----------- | --------------------------------------------------- | --------------------------------------------------- | | canImport | (file: ImportFile) => boolean | Promise<boolean> | Returns whether this handler should import the file | | import | (file: ImportFile) => void | Promise<void> | Performs the import workflow | ImportFile includes name, path, extension (dot-prefixed, lowercase), and UTF-8 contents.
  • hc.ipc.handle(channel, handler) — Expose an RPC channel callable from the renderer half of the same plugin.
  • hc.ipc.invoke(channel, ...args) — Invokes a handler registered with hc.ipc.handle in the main entry.

L

M

  • hc.mcp.registerServer(config) — Discovered tools are prefixed with mcp in the chat agent tool list, using the same naming scheme as user-configured MCP client servers.

P

R

  • hc.react — Type: typeof React The same React instance HarborClient uses in the renderer.

S

T

U