feat(FN-3396): bundle Cursor CLI as a plugin provider with dashboard auth w
Merges FN-3396's full Cursor CLI provider integration (Steps 1–4): defines a CLI-backed provider contract, adds the `fusion-plugin-cursor-runtime` plugin package with process management and runtime probes, wires dashboard auth flows and UI (ProviderCard, onboarding modal, settings), and bundles the Fusion-Task-Id: FN-3396
This commit is contained in:
@@ -180,6 +180,18 @@ describe("Plugin SDK", () => {
|
||||
expect(plugin.manifest.id).toBe("test");
|
||||
});
|
||||
|
||||
it("exports CLI provider contract types", () => {
|
||||
const cliProvider: import("../../../core/src/plugin-types.js").CliProviderContribution = {
|
||||
providerId: "cursor-cli",
|
||||
displayName: "Cursor CLI",
|
||||
binaryName: "cursor-agent",
|
||||
providerType: "cli",
|
||||
statusRoute: "/providers/cursor-cli/status",
|
||||
authRoute: "/auth/cursor-cli",
|
||||
};
|
||||
expect(cliProvider.providerId).toBe("cursor-cli");
|
||||
});
|
||||
|
||||
it("exports PluginContext type", () => {
|
||||
const ctx: import("../../../core/src/plugin-types.js").PluginContext = {
|
||||
pluginId: "test",
|
||||
|
||||
@@ -66,6 +66,12 @@ export type {
|
||||
PluginRuntimeManifestMetadata,
|
||||
PluginRuntimeFactory,
|
||||
PluginRuntimeRegistration,
|
||||
CliProviderType,
|
||||
CliProviderActionMetadata,
|
||||
CliProviderProbeResult,
|
||||
CliProviderModelDiscoveryResult,
|
||||
CliProviderRuntimeRegistration,
|
||||
CliProviderContribution,
|
||||
PluginContext,
|
||||
PluginLogger,
|
||||
PluginSkillContribution,
|
||||
|
||||
Reference in New Issue
Block a user