chore: generate

This commit is contained in:
opencode-agent[bot]
2026-07-05 02:02:39 +00:00
parent 7cf8d1ca6d
commit 7135bc4fb5
3 changed files with 9 additions and 4 deletions
+4 -1
View File
@@ -68,7 +68,10 @@ export async function mockOpenCodeServer(page: Page, config: MockServerConfig) {
return json(route, await config.fileContent(url.searchParams.get("path") ?? ""))
if (path === "/api/reference")
return json(route, {
location: { directory: config.directory, project: { id: (config.project as { id?: string }).id, directory: config.directory } },
location: {
directory: config.directory,
project: { id: (config.project as { id?: string }).id, directory: config.directory },
},
data: [],
})
if (emptyObject.has(path)) return json(route, {})