feat(projects): add interactive AI app scaffold skill

This commit is contained in:
2026-09-04 20:36:28 +08:00
parent 336e0bb0ca
commit 959b6333b5
40 changed files with 2647 additions and 65 deletions

View File

@@ -29,7 +29,7 @@ function preparedRelease(projectPath: string) {
sourceArchive: { path: join(projectPath, 'private-source.zip'), name: 'project.zip', bytes, summary: {
archivePath: join(projectPath, 'private-source.zip'), archiveName: 'project.zip', sha256: 'a'.repeat(64), fileCount: 5,
sourceBytes: 10, archiveBytes: 3, excludedCount: 0, excludedPaths: [],
manifest: { schema_version: 1, project_type: 'mini_game', kind: 'web', runtime: 'static', build: { preset: 'vite', package_manager: 'npm', entry: 'index.html' } },
manifest: { schema_version: 1, project_type: 'interactive_ai_app', kind: 'web', runtime: 'static', build: { preset: 'vite', package_manager: 'npm', entry: 'index.html' } },
} },
builtArchive: { path: join(projectPath, 'private-built.zip'), name: 'built-project.zip', bytes: Buffer.from('built') },
distRoot: join(projectPath, 'private-dist'),
@@ -92,7 +92,7 @@ async function writePublishableProject(projectPath: string): Promise<void> {
await mkdir(join(projectPath, '.makelore'), { recursive: true });
await writeFile(
join(projectPath, '.makelore', 'project.json'),
JSON.stringify(createCodingProjectConfigV2('2026-08-09T00:00:00.000Z', 'mini_game')),
JSON.stringify(createCodingProjectConfigV2('2026-08-09T00:00:00.000Z', 'interactive_ai_app')),
'utf8',
);
await writeFile(join(projectPath, 'package.json'), JSON.stringify({