Skip to content

Commit 57e5b7e

Browse files
authored
Merge pull request #573 from Yumiue/html_gui_build
完善 Checkpoint 变更对比、差异展示与 Web 端交互修复
2 parents 9e1c733 + 0a04b0d commit 57e5b7e

35 files changed

Lines changed: 2506 additions & 315 deletions

.goreleaser.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,18 @@ archives:
5252
{{- else if eq .Arch "386" }}i386
5353
{{- else }}{{ .Arch }}{{ end }}
5454
{{- if .Arm }}v{{ .Arm }}{{ end }}
55+
files:
56+
- web/package.json
57+
- web/package-lock.json
58+
- web/index.html
59+
- web/components.json
60+
- web/tsconfig.json
61+
- web/tsconfig.app.json
62+
- web/tsconfig.node.json
63+
- web/vite.config.ts
64+
- web/src/**/*
65+
- web/scripts/**/*
66+
- web/vite-plugins/**/*
5567

5668
- id: neocode-gateway
5769
ids:

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ $env:OPENAI_API_KEY = "your_key_here"
113113
neocode --workdir /path/to/your/project
114114
```
115115

116+
如果你希望使用浏览器 Web UI,可以直接运行:
117+
```bash
118+
neocode web
119+
```
120+
121+
标签发布版会在缺少 `web/dist` 时自动使用发布包内的 `web/` 源码执行 `npm install``npm run build`。这要求用户机器已安装 Node.js 和 npm;如果你使用源码仓库运行,也保留相同的自动构建行为。
122+
116123
### 4. 常用命令
117124

118125
```text

0 commit comments

Comments
 (0)