合并远程主分支客户端收口

This commit is contained in:
2026-08-13 17:13:36 +08:00
240 changed files with 4900 additions and 20399 deletions

View File

@@ -1,8 +1,8 @@
import { readdirSync } from 'node:fs';
import { existsSync, readdirSync } from 'node:fs';
import { readFile } from 'node:fs/promises';
import path from 'node:path';
import { describe, expect, it } from 'vitest';
import { BUNDLED_COURSE_SKILL_IDS } from '@electron/opencode/superpowers';
import { BUNDLED_COURSE_SKILL_IDS } from '@electron/opencode/course-skills';
const projectRoot = process.cwd();
const skillPath = path.join(projectRoot, '.opencode', 'skills', 'youth-plain-language', 'SKILL.md');
@@ -21,6 +21,7 @@ describe('youth plain language Skill', () => {
it('remains available as a manually selectable Skill without being injected into new Agents', () => {
expect(BUNDLED_COURSE_SKILL_IDS).toContain('youth-plain-language');
expect(readdirSync(path.join(projectRoot, '.opencode', 'agent'))).toEqual([]);
const generatedAgentsDir = path.join(projectRoot, '.opencode', 'agent');
expect(existsSync(generatedAgentsDir) ? readdirSync(generatedAgentsDir) : []).toEqual([]);
});
});