mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-30 13:13:25 +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
18 lines
569 B
TypeScript
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 () => {};
|
|
}
|