mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-20 21:23:23 +00:00
refactor(cli): remove stale cli provider leftovers
This commit is contained in:
@@ -23,7 +23,6 @@ function createManifestRegistryFixture() {
|
||||
origin: "bundled",
|
||||
enabledByDefault: undefined,
|
||||
providers: [],
|
||||
cliBackends: [],
|
||||
},
|
||||
{
|
||||
id: "demo-other-channel",
|
||||
@@ -31,7 +30,6 @@ function createManifestRegistryFixture() {
|
||||
origin: "bundled",
|
||||
enabledByDefault: undefined,
|
||||
providers: [],
|
||||
cliBackends: [],
|
||||
},
|
||||
{
|
||||
id: "browser",
|
||||
@@ -39,7 +37,6 @@ function createManifestRegistryFixture() {
|
||||
origin: "bundled",
|
||||
enabledByDefault: true,
|
||||
providers: [],
|
||||
cliBackends: [],
|
||||
},
|
||||
{
|
||||
id: "demo-provider-plugin",
|
||||
@@ -47,7 +44,6 @@ function createManifestRegistryFixture() {
|
||||
origin: "bundled",
|
||||
enabledByDefault: undefined,
|
||||
providers: ["demo-provider"],
|
||||
cliBackends: ["demo-cli"],
|
||||
},
|
||||
{
|
||||
id: "voice-call",
|
||||
@@ -55,7 +51,6 @@ function createManifestRegistryFixture() {
|
||||
origin: "bundled",
|
||||
enabledByDefault: undefined,
|
||||
providers: [],
|
||||
cliBackends: [],
|
||||
},
|
||||
{
|
||||
id: "demo-global-sidecar",
|
||||
@@ -63,7 +58,6 @@ function createManifestRegistryFixture() {
|
||||
origin: "global",
|
||||
enabledByDefault: undefined,
|
||||
providers: [],
|
||||
cliBackends: [],
|
||||
},
|
||||
],
|
||||
diagnostics: [],
|
||||
|
||||
@@ -274,12 +274,6 @@ describe("resolvePluginProviders", () => {
|
||||
({ setActivePluginRegistry } = await import("./runtime.js"));
|
||||
});
|
||||
|
||||
it("maps cli backend ids to owning plugin ids via manifests", () => {
|
||||
setOwningProviderManifestPlugins();
|
||||
|
||||
expectOwningPluginIds("codex-cli", ["openai"]);
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
setActivePluginRegistry(createEmptyPluginRegistry());
|
||||
resolveRuntimePluginRegistryMock.mockReset();
|
||||
|
||||
@@ -662,7 +662,6 @@ describe("plugin status reports", () => {
|
||||
});
|
||||
expect(inspect.capabilities).toEqual([]);
|
||||
});
|
||||
|
||||
it("builds compatibility warnings for legacy compatibility paths", () => {
|
||||
setPluginLoadResult({
|
||||
plugins: [
|
||||
|
||||
@@ -25,7 +25,6 @@ export type PluginStatusReport = PluginRegistry & {
|
||||
};
|
||||
|
||||
export type PluginCapabilityKind =
|
||||
| "cli-backend"
|
||||
| "text-inference"
|
||||
| "speech"
|
||||
| "realtime-transcription"
|
||||
|
||||
Reference in New Issue
Block a user