Keep the entry point focused on contribution wiring so client UI and daemon handlers can use their own runtime APIs safely. Surface compilation failures and lifecycle transitions in the retained plugin log tail.
10 lines
347 B
TypeScript
10 lines
347 B
TypeScript
import type { PluginContext } from "@paseo/plugin";
|
|
import { searchIssues } from "./issues.server";
|
|
import { issueAttachments, searchIssuesRpc } from "./issues.shared";
|
|
|
|
export default function contribute(plugin: PluginContext) {
|
|
plugin.handle(searchIssuesRpc, searchIssues);
|
|
plugin.addAttachmentSource(issueAttachments);
|
|
return () => {};
|
|
}
|