feat: enhance dashboard styling and functionality for task changes and package extensions

This commit is contained in:
gsxdsm
2026-04-01 22:06:12 -07:00
parent 101e4672a5
commit 64295637f2
10 changed files with 264 additions and 14 deletions

View File

@@ -116,7 +116,14 @@ vi.mock("@mariozechner/pi-coding-agent", () => ({
AuthStorage: {
create: vi.fn(() => mockAuthStorage),
},
DefaultPackageManager: vi.fn().mockImplementation(() => ({
resolve: vi.fn().mockResolvedValue({ extensions: [] }),
})),
ModelRegistry: vi.fn().mockImplementation(() => mockModelRegistry),
SettingsManager: {
create: vi.fn(() => ({})),
},
getAgentDir: vi.fn(() => "/mock/agent/dir"),
discoverAndLoadExtensions: mockDiscoverAndLoadExtensions,
createExtensionRuntime: mockCreateExtensionRuntime,
}));