tiny-engine/scripts
Hexqi a79c9dfc34
feat: suport mockserver file as database and add dsl-genenrator skill (#1792)
背景:当前各类软件提供CLI/MCP/Skill 让本地AI Agent能够快速接入使用已是大势所趋。 TinyEngine当前没有对外提供这类的工具或者能力,该PR主要 通过 标准Schema(JSON文件)做为桥梁,通过DSL Skill 来方便用户使用本地Agent工具来 快速生成页面/区块/应用,并同步到TinyEngine应用中。

主要特性:

file启动模式:mockserver 新增file(默认为db)启动方式,使用该模式时,mockserver接口从文件(data/**/*.json文件)中获取数据,也会更新到文件中
使用方式:项目根目录执行 pnpm dev:file
dsl-generator skill:添加项目级skill,可以在Claude Code/Cursor/OpenCode/Codex等本地Agent中使用该skill 生成页面/区块/应用的DSL到 data/**/*.json中,配合file启动模式,实现让本地AI Agent工具生成生成页面/区块/应用
2026-06-29 17:00:04 +08:00
..
buildComponentSchemas.js feat: add pnpm to project 2023-09-29 11:17:46 +08:00
buildMaterials.mjs feat: keep same appid both mock server and java server (#1249) 2025-04-14 15:03:46 +08:00
connection.mjs fix: Updated buildMaterials sqlcontent to use the correct field for identifying components (#1510) 2025-07-22 11:43:45 +08:00
copyToVscode.js fix: add prettier version ^2 to workspace resolve lint-staged error and format all codes (#1129) 2025-02-18 20:07:59 +08:00
link-skills.js feat: suport mockserver file as database and add dsl-genenrator skill (#1792) 2026-06-29 17:00:04 +08:00
logger.mjs feat: add ESLint TypeScript rules and fix all ESLint errors (#1145) 2025-03-13 11:27:19 +08:00
setup.js fix: add prettier version ^2 to workspace resolve lint-staged error and format all codes (#1129) 2025-02-18 20:07:59 +08:00
splitMaterials.mjs fix:When splitting materials, a component can exist in multiple snippets. Also, there can be two components within one snippet (with the same componentName but different snippetName) (#1212) 2025-03-13 11:24:17 +08:00
updateTemplate.mjs v2.5.0 (#1399) 2025-05-14 20:29:24 +08:00
uploadMaterials.mjs feat: Add material upload script (#1516) 2025-07-25 14:30:32 +08:00