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:
2026-08-24 12:17:43 +08:00
parent 61fede2b4d
commit 5a275b93a7
199 changed files with 1330 additions and 64725 deletions

View File

@@ -29,7 +29,7 @@ describe('light visual system', () => {
it('does not use legacy dark navy shell backgrounds', () => {
const shellSource = [
readSource('components/layout/Sidebar.tsx'),
readSource('pages/Chat/OpencodeChatPanel.tsx'),
readSource('pages/Chat/CodingChatPanel.tsx'),
readSource('pages/Makelore/index.tsx'),
].join('\n');
@@ -42,7 +42,7 @@ describe('light visual system', () => {
const globalsSource = readSource('styles/globals.css');
const uiSource = [
readSource('App.tsx'),
readSource('pages/Chat/OpencodeChatPanel.tsx'),
readSource('pages/Chat/CodingChatPanel.tsx'),
readSource('pages/KangarooPartner/index.tsx'),
readSource('pages/Makelore/index.tsx'),
readSource('pages/Models/index.tsx'),
@@ -67,7 +67,7 @@ describe('light visual system', () => {
readSource('components/ui/dialog.tsx'),
readSource('components/ui/sheet.tsx'),
readSource('components/layout/Sidebar.tsx'),
readSource('pages/Chat/ChatMessage.tsx'),
readSource('pages/Chat/CodingConversationTimeline.tsx'),
readSource('pages/ImagePromptMuseum/index.tsx'),
readSource('pages/Workbench/index.tsx'),
].join('\n');