你实际拿到的六件事Six things you actually get
每一件都能单独用,也能串成从需求到交付的一条线。Each one stands on its own, and together they run from request to delivery.
对话式生成Conversational generation
需求即输入。模型按小程序工程规范产出结构,页面、样式、配置一起给,不需要手工补骨架。The request is the input. The model outputs the structure following mini program conventions — pages, styles and config together.
- 粒度Granularity整体生成,或只改指定文件Whole project, or a single named file
- 上下文Context多轮对话保留工程上下文Multi-turn context kept per project
- 可控项Controls风格规范、组件库、模型Style guide, component library, model
工程结构Project structure
资源管理器按目录展示 app.json、pages、组件与静态资源,重命名、删除、新建都在树上完成。The explorer shows app.json, pages, components and assets as a tree; rename, delete and create happen in place.
- 结构Layout标准 pages/*.js|json|wxml|wxssStandard pages/*.js|json|wxml|wxss
- 编辑Editor代码高亮、括号配对、书签与跳转Highlighting, bracket matching, bookmarks, go-to-line
- 保存Saving自动保存与保存历史,可回滚上一次Autosave with history and one-step rollback
可视化编辑Visual editing
画布上选中元素即可改尺寸、间距、颜色、圆角与对齐,改完即时重渲染并写回文件。Select an element on canvas to change size, spacing, color, radius and alignment; it re-renders and writes back immediately.
- 面板Panel布局、尺寸、排版、描边分组展示Layout, size, typography and border grouped
- 辅助Helpers吸附网格、参考线、对齐分布Snap grid, guides, align and distribute
- 回退Undo属性修改可撤销,不会写坏工程Property edits are undoable
本地编译与校验Local compile and checks
内置编译链在本机跑完整一次编译,ES6/ES7 转换与压缩按设置执行,报错定位到具体文件。The bundled chain runs a full build locally with ES6/ES7 transpile and minify as configured, and errors point at the exact file.
- 产物Artifactsapp.js / app.json / 页面四件套 / project.config.jsonapp.js / app.json / page files / project.config.json
- 网络Network编译不需要联网,工程不出本机No network required; the project stays local
- 设置Settings转换与压缩开关可逐项调整Transpile and minify switches are per-project
{ "appid": "wx…", "setting": { "es6": true, "es7": true, "minify": true } }
导出、发布与托管Export, publish, host
编译通过的工程可以直接导出目录、打包 zip,或走上传流程;托管页把生成结果挂成可访问链接。Compiled projects export as a directory, pack to zip, or go through upload; the hosting page turns results into shareable links.
- 导出Export目录导出、zip 打包Directory export, zip packaging
- 发布Publish按小程序上传规范提交Submit following the upload spec
- 托管Hosting生成托管链接与访问统计Hosted links with visit stats
运行环境与缓存Runtime and cache
内置运行时随包分发,不依赖本机 Python;缓存目录可改可清,占用一眼能看到。The runtime ships with the app, no local Python needed. The cache directory is configurable, clearable and shows its size.
- 运行时Runtime内置 Python 与 Node,随安装包分发Bundled Python and Node
- 缓存Cache当前目录与占用、切换目录、清空缓存Current path, size, switch, clear
- 端口Port本地服务占用 8000,被占时自动顺延Local service on 8000, falls back when busy