refactor(FN-2162): rename kb-agent identifiers to fn-agent

- Rename core loader, dashboard server chat/planning routes, and frontend agent IDs/storage keys from kb-agent to fn-agent naming
- Update dashboard hooks and components (agent list, chat view, quick chat) to use the new fn agent key prefixes consistently
- Refresh engine, dashboard, core, and CLI tests/mocks to remove remaining kb-agent route and temp prefix references
- Update storage/gap-analysis docs to reflect fn agent key names and add a @gsxdsm/fusion patch changeset for the rename
This commit is contained in:
Fusion
2026-04-19 19:40:10 -07:00
committed by gsxdsm
parent 0aa1360a18
commit 0b9bf62a2a
51 changed files with 878 additions and 873 deletions

View File

@@ -14,7 +14,7 @@ vi.mock("../project-context.js", () => ({
import { runAgentExport } from "./agent-export.js";
describe("agent-export", () => {
const tmpRoot = join(tmpdir(), `kb-agent-export-test-${process.pid}`);
const tmpRoot = join(tmpdir(), `fn-agent-export-test-${process.pid}`);
let projectDir: string;
let outputDir: string;

View File

@@ -106,7 +106,7 @@ function createHierarchyCompanyDirectory(basePath: string): string {
}
describe("agent-import", () => {
const tmpDir = join(tmpdir(), `kb-agent-import-test-${process.pid}`);
const tmpDir = join(tmpdir(), `fn-agent-import-test-${process.pid}`);
let createAgentMock: ReturnType<typeof vi.fn>;
let listAgentsMock: ReturnType<typeof vi.fn>;
let initMock: ReturnType<typeof vi.fn>;