mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
Moves goose into a built-in opt-in provider plugin (`plugins/goose-provider`) and lists models from every provider configured in goose. - Bundles `plugins/goose-provider` with `server_info.features.gooseProvider`, legacy host catalog fallback, legacy `extends: "acp"` config migration, and legacy session handle decoding (`COMPAT(gooseProvider)`). - Adds `context.request(method, params)` and synchronous `config(state, context)` hooks to `@getpaseo/plugin/server/acp`. - Queries goose's provider inventory RPC during discovery to expose `<provider>/<model>` entries (falling back to the base catalog if unavailable), switches provider before model on selection, and namespaces session config snapshots. Co-authored-by: James Dumay <james@generalinference.xyz>
8 lines
266 B
TypeScript
8 lines
266 B
TypeScript
import type { PluginServerContext } from "@getpaseo/plugin/server";
|
|
import { createGooseProvider } from "./server/provider.js";
|
|
|
|
export default function contribute(server: PluginServerContext) {
|
|
server.registerProvider(createGooseProvider());
|
|
return () => {};
|
|
}
|