@loom-framework/core 0.1.0-alpha.92 → 0.1.0-alpha.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -108,7 +108,7 @@ loom generate page <Name> --model <model-name> --force
|
|
|
108
108
|
| `loom build` | 生产构建 |
|
|
109
109
|
| `loom generate page <name> --model <model>` | 生成 CRUD 页面 + 应用 Skill(含 aiButtons 则自动集成) |
|
|
110
110
|
| `loom generate page <name> --model <model> --force` | 覆盖已有页面 |
|
|
111
|
-
| `loom generate dashboard <name>` | 从 loom.config.ts dashboards 生成 Dashboard
|
|
111
|
+
| `loom generate dashboard <name>` | 从 loom.config.ts dashboards 生成 Dashboard 页面 |
|
|
112
112
|
| `loom generate dashboard <name> --force` | 覆盖已有 Dashboard 页面 |
|
|
113
113
|
| `loom generate capabilities` | 仅重新生成应用 Skill 的 `references/models.md` |
|
|
114
114
|
| `loom generate skill <name>` | 生成自定义 Skill 脚架 |
|
|
@@ -149,7 +149,7 @@ export default defineConfig({
|
|
|
149
149
|
prompt: '分析{{questionContent}},错误答案:{{wrongAnswer}}',
|
|
150
150
|
placement: 'wrong_questions', // 可选:限制按钮只出现在指定模型页面,逗号分隔多个模型名;省略则出现在所有页面
|
|
151
151
|
}],
|
|
152
|
-
dashboards: [{ // 可选:Dashboard
|
|
152
|
+
dashboards: [{ // 可选:Dashboard 定义
|
|
153
153
|
name: 'overview', // 必填:唯一标识,同命名规则
|
|
154
154
|
description: '数据概览', // 可选
|
|
155
155
|
models: ['items'], // 必填:关联的数据模型
|
package/package.json
CHANGED