The plugin compiler spawned esbuild through app.asar, and the subprocess imported the React client barrel. Point esbuild at the unpacked binary, add a react-free @paseo/plugin/server entry, and pass a typed PluginTheme so plugin UI follows the active theme on desktop and mobile.
35 lines
953 B
TypeScript
35 lines
953 B
TypeScript
export {
|
|
PluginAttachmentItemSchema,
|
|
PluginAttachmentSearchPayloadSchema,
|
|
defineAttachmentSource,
|
|
defineRpc,
|
|
type PluginAttachmentItem,
|
|
type PluginAttachmentSearchPayload,
|
|
type PluginRpcContract,
|
|
} from "./server.js";
|
|
export type {
|
|
PluginAttachmentSourceContribution,
|
|
PluginAgentCommandContext,
|
|
PluginAgentPanelProps,
|
|
PluginAgentSnapshot,
|
|
PluginCleanup,
|
|
PluginCommandCapabilities,
|
|
PluginCommandCenterItemContribution,
|
|
PluginContribution,
|
|
PluginContext,
|
|
PluginGlobalCommandContext,
|
|
PluginHandlerContext,
|
|
PluginHostProps,
|
|
PluginTheme,
|
|
PluginSidebarContribution,
|
|
PluginSurfaceContribution,
|
|
PluginSurfaceProps,
|
|
PluginWorkspaceCommandContext,
|
|
PluginWorkspacePanelContribution,
|
|
PluginWorkspacePanelProps,
|
|
PluginWorkspaceSnapshot,
|
|
} from "./contracts.js";
|
|
export { usePaseo } from "./paseo-context.js";
|
|
export { useAgent, useWorkspace } from "./client-state.js";
|
|
export { useRpc } from "./rpc-context.js";
|