Files
Mohamed Boudra 3cc8749437 feat(plugins): split plugin code by runtime
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.
2026-08-17 23:45:19 +02:00

10 lines
255 B
TypeScript

import type { output as ZodOutput } from "zod";
import { incrementRpc } from "./increment.shared";
export function increment(input: ZodOutput<typeof incrementRpc.input>) {
return {
value: input.value + 1,
handledBy: "plugin subprocess",
};
}