docs: contract for CRUD form description and SQLite DEFAULT prefill (v1.0.76)
All checks were successful
技能自动化发布 / release (push) Successful in 6s

This commit is contained in:
2026-08-11 14:38:32 +08:00
parent 16ee121ab3
commit db2325dbe4
6 changed files with 90 additions and 6 deletions

View File

@@ -507,8 +507,18 @@ HINT: <next step>
- `object` / `string` / `number` / `boolean`
- `enum` / `default` / `required` / `sensitive` / `readOnly`
- 属性级 `description`(表单标签下方灰字说明)
- 简单模板替换(`{{fieldName}}`)
**与数据管理「新增 / 编辑」表单的分工(勿混用配置入口):**
| 表单 | 短标题 | 说明灰字 | 默认值 |
|------|--------|----------|--------|
| Skill Action 弹窗 | `inputSchema.title` | `inputSchema.description` | `inputSchema.default` |
| 数据管理新增/编辑 | `_jiangchang_columns.display_name` | `_jiangchang_columns.description` | 物理列 SQLite `DEFAULT` |
CRUD 侧宿主义务与禁止事项见 [`SCHEMA.md`](SCHEMA.md)「新增/编辑表单:字段说明与默认值(宿主支持)」。同一业务含义两边文案应对齐,但分别配置。
示例:
```json
@@ -519,11 +529,13 @@ HINT: <next step>
"properties": {
"query": {
"type": "string",
"title": "查询条件"
"title": "查询条件",
"description": "支持关键词或完整业务编号"
},
"limit": {
"type": "number",
"title": "返回数量",
"description": "最多返回多少条;填 0 表示不限制(若业务支持)",
"default": 50
}
}