Files
paseo/plugin-examples/provider-acp-transformer/index.server.ts
T
Mohamed Boudra 35d2457d83 Let plugins provide coding agents (#4314)
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
2026-09-04 19:56:57 +02:00

18 lines
569 B
TypeScript

import type { PluginServerContext } from "@getpaseo/plugin";
import { runAcpProvider } from "@getpaseo/plugin/acp";
import { vendorEditTransformer } from "./server/vendor-edit.js";
export default function contribute(server: PluginServerContext) {
server.registerProvider(
runAcpProvider({
id: "example-acp",
label: "Example ACP",
description: "An ACP command adapted to Paseo's provider boundary",
icon: "icon.svg",
command: ["example-acp", "--stdio"],
transformers: [vendorEditTransformer],
}),
);
return () => {};
}