feat: remove legacy OpenCode runtime

Cut product flows over to Coding/Pi and retain only the migration-owned v1 boundary. Promote supported native optional packages because electron-builder omitted pnpm transitive optional closure from the packaged ASAR.
This commit is contained in:
brother7 committed 2026-08-24 12:17:43 +08:00
1 parent 61fede2b4d
commit 5a275b93a7
199 files changed
+1330 -64725

No files matched your search

+2 -3
View File
@@ -17,14 +17,13 @@ export async function handleAppRoutes(
});
res.write(': connected\n\n');
ctx.eventBus.addSseClient(res);
res.write(`event: opencode:status\ndata: ${JSON.stringify(ctx.opencodeManager.getStatus())}\n\n`);
return true;
}
if (url.pathname === '/api/app/runtime-info' && req.method === 'GET') {
sendJson(res, 200, {
runtime: 'opencode',
status: ctx.opencodeManager.getStatus(),
runtime: 'pi',
diagnostics: ctx.codingProducts?.runtime.getDiagnostics() ?? null,
});
return true;
}