Skip to content

Conversation

SapientialM
Copy link
Contributor

Describe what this PR does / why we need it

Added the jsxGenerator tool and jsxGeneratorAgent, enabling the generation of valid and executable Vue SFC components from natural language descriptions.

Supported operations include: generate_vue, apply_template, save, validate, list_templates, with corresponding tests added.

Does this pull request fix one issue?

#1472

Describe how you did it

LLM -> JSON -> Vue SFC -> Handlebars

Describe how to verify it

{
  "planType": "simple",
  "title": "创建计数器按钮JSX Vue组件",
  "directResponse": false,
  "steps": [
    {
      "stepRequirement": "[JSX_GENERATOR_AGENT] 创建基础的JSX Vue组件结构",
      "terminateColumns": null
    },
    {
      "stepRequirement": "[JSX_GENERATOR_AGENT] 添加响应式计数器数据和点击事件处理函数",
      "terminateColumns": null
    },
    {
      "stepRequirement": "[JSX_GENERATOR_AGENT] 实现按钮点击次数超过5次后改变按钮颜色的逻辑",
      "terminateColumns": null
    }
  ],
  "planId": "planTemplate-1754630962001"
}

Special notes for reviews

Preview is not available yet. The generated code is saved to innerstorage for manual execution checks.

…ling the generation of valid and executable Vue SFC components from natural language descriptions. Supported operations include: generate_vue, apply_template, save, validate, list_templates, with corresponding tests added.
@github-actions github-actions bot added the area/jmanus SAA Jmanus module label Aug 8, 2025
@SapientialM SapientialM closed this Aug 8, 2025
@SapientialM SapientialM reopened this Aug 8, 2025
@rainerWJY rainerWJY merged commit 1ac88af into alibaba:main Aug 8, 2025
11 checks passed
github-actions bot pushed a commit to Hipple/spring-ai-alibaba that referenced this pull request Aug 8, 2025
…libaba#2069)

* feat(jmanus): added the jsxGenerator tool and jsxGeneratorAgent, enabling the generation of valid and executable Vue SFC components from natural language descriptions. Supported operations include: generate_vue, apply_template, save, validate, list_templates, with corresponding tests added.

* fix(jmanus): fixed the lint error.

* fix(jmanus): fixed the trailing spaces and new line.

* fix(jmanus): fixed lint error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/jmanus SAA Jmanus module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants