mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-25 10:42:45 +00:00
Allow trusted local plugins to register complete coding-agent providers through the existing agent lifecycle. Includes direct and ACP implementations, SVG provider icons, custom timeline items, runnable examples, and public authoring documentation. Closes #3547 Closes #3556
14 lines
441 B
TypeScript
14 lines
441 B
TypeScript
import type { PluginClientContext } from "@getpaseo/plugin";
|
|
import { ProviderResult } from "./client/provider-result";
|
|
import { providerResultKind, providerResultSchema } from "./shared/provider-result";
|
|
|
|
export default function contribute(client: PluginClientContext) {
|
|
client.addTimelineRenderer({
|
|
kind: providerResultKind,
|
|
version: 1,
|
|
schema: providerResultSchema,
|
|
Component: ProviderResult,
|
|
});
|
|
return () => {};
|
|
}
|