opentiny / opentiny/tiny-engine

dsl generator skill的check script复用

Open
#1,814 1 comment 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.