mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-08-13 14:37:26 +00:00
Declares the AgentBBS capability surface (chat, pods, arcade, ascii-live, finger) as @logicsrc/plugin-agentbbs and registers it in the CLI registry and CommandBoard API. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
11 lines
454 B
TypeScript
11 lines
454 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { createPluginRegistry } from "@logicsrc/plugin-core";
|
|
import { agentBbsPlugin } from "./index.js";
|
|
|
|
describe("agentbbs plugin", () => {
|
|
it("registers with a valid manifest", () => {
|
|
const registry = createPluginRegistry([agentBbsPlugin]);
|
|
expect(registry.get("agentbbs")?.enabled).toBe(true);
|
|
expect(registry.snapshot().capabilities["pods.provision"]).toEqual(["agentbbs"]);
|
|
});
|
|
});
|