mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-22 01:02:41 +00:00
* feat(plugins): expose hosts and host-targeted SDK clients * test(plugins): verify exact cross-host observation cleanup * fix(plugins): reacquire explicitly disposed host clients * docs(plugins): clarify host client usage and lifecycle * docs(plugins): use theme colors in host discovery example
9 lines
329 B
TypeScript
9 lines
329 B
TypeScript
import type { PluginClientContext } from "@getpaseo/plugin/client";
|
|
import { Hosts } from "./client/hosts";
|
|
|
|
export default function contribute(client: PluginClientContext) {
|
|
client.addSurface("main", Hosts);
|
|
client.addSidebarItem({ id: "hosts", title: "Host agents", icon: "Server", surface: "main" });
|
|
return () => {};
|
|
}
|