feat: add bundled OpenCode skills and refine module flow
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-08-14 18:15:55 +08:00
parent 88f9ee8708
commit c809002180
31 changed files with 1153 additions and 241 deletions

View File

@@ -7,6 +7,7 @@ import {
unlinkSync,
} from 'node:fs';
import { join } from 'node:path';
import { BUNDLED_OPENCODE_SKILL_IDS } from '../../shared/opencode-skills';
export interface BundledSkillsPathInput {
isPackaged: boolean;
@@ -19,9 +20,7 @@ export interface EnsureBundledCourseSkillsOptions {
sourceDir?: string;
}
export const BUNDLED_COURSE_SKILL_IDS = [
'agent-browser',
] as const;
export const BUNDLED_COURSE_SKILL_IDS = BUNDLED_OPENCODE_SKILL_IDS;
const RETIRED_COURSE_SKILL_IDS = [
'course-stage-review',
'student-growth-logger',