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

@@ -1,6 +1,6 @@
import { readFile, writeFile } from 'node:fs/promises';
import { join } from 'node:path';
import type { OpencodeProjectStore } from '../opencode/project-store';
import type { CodingProjectStore } from '../coding-projects/project-store';
import { logger } from '../utils/logger';
import {
WORKS_SUBMISSION_BINDING_FILE_NAME,
@@ -17,8 +17,8 @@ const LEGACY_PENDING_STATUSES = new Set([
]);
const LEGACY_RETIRED_MESSAGE = '旧版自动部署任务已停用,请在项目配置中点击“提交审核”重新提交。';
type ProjectStore = Pick<OpencodeProjectStore, 'listProjects'>
& Partial<Pick<OpencodeProjectStore, 'getActiveProject'>>;
type ProjectStore = Pick<CodingProjectStore, 'listProjects'>
& Partial<Pick<CodingProjectStore, 'getActiveProject'>>;
type SubmittedBindingInput = {
appId: string;