Add real OpenCode import session E2E regression test

This commit is contained in:
Mohamed Boudra
2026-06-09 13:09:16 +07:00
parent 0967557846
commit 378f1986ac
4 changed files with 244 additions and 2 deletions
+12
View File
@@ -43,6 +43,18 @@ export interface SeedDaemonClient {
fetchAgents(options?: { scope?: "active" }): Promise<{
entries: Array<{ agent: { id: string; cwd: string; title?: string | null } }>;
}>;
fetchRecentProviderSessions(options: {
cwd: string;
providers: string[];
limit: number;
}): Promise<{
entries: Array<{
providerId: string;
providerHandleId: string;
cwd: string;
firstPromptPreview?: string | null;
}>;
}>;
updateAgent(agentId: string, updates: { name?: string }): Promise<void>;
waitForAgentUpsert(
agentId: string,