opentiny / opentiny/tiny-engine
dsl generator skill的check script复用
Nobody has claimed this yet.
- Dominant language
- Vue
- Stars
- 2.8k
- Forks
- 476
- Avg merge
- 17h 35m
- Merged PRs (30d)
- 1
Description
check script 感觉可以放到 vue-generator 中(或者新增一个校验的 validator package)。复用 vue-generator 的架构,可以后续进行扩展校验复杂度的 hook。
比如:
- 粗粒度校验:是否合法 json、结构是否协议字段。
- 细粒度校验:值是否合法、是否存在绑定错误、是否不符合协议。
理由:tiny-engine 也有运行时的 mcp 和生成完整 json 的能力,在 vue-generator 中添加,后续运行时也可以进行复用。
Originally posted by @chilingling in https://github.com/opentiny/tiny-engine/pull/1792#discussion_r3471693035
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing check script and the vue-generator architecture, then compare the proposed placement with a separate validator package. Define the validation boundaries for JSON structure, protocol fields, values, and binding errors, and confirm how the result could be reused by the runtime MCP; done means the placement and extension approach are agreed and implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, json
- Domain
- frontend, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100