Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
da5fd8d
feat(gui): 完成 GUI 2.0 可视化计划与设置重构
ShiinaKuroko Aug 2, 2026
88fe075
refactor: 完成 GUI 模块拆分与旧配置迁移
ShiinaKuroko Aug 4, 2026
e211488
docs: require ShiinaKuroko as GUI publish branch
Aug 4, 2026
7bd0c65
docs: require ShiinaKuroko as local publish branch
Aug 4, 2026
202d3cc
refactor: complete GUI PR review remediation
Aug 4, 2026
bdc69cc
Merge remote-tracking branch 'origin/ShiinaKuroko' into ShiinaKuroko
Aug 4, 2026
e3c5fe3
fix: align frontend with backend 2.3 fleet contracts
yltx Aug 4, 2026
76a0fb7
Merge pull request #20 from yltx/fix/backend-2.3-compat
yltx Aug 4, 2026
bfd2d71
chore: bump GUI version to 1.4.2
yltx Aug 4, 2026
66617b7
Merge branch 'ShiinaKuroko' into integrate/gui2-alpha
ShiinaKuroko Aug 4, 2026
e4f3a71
fix(migration): 补充旧任务组兼容回归
ShiinaKuroko Aug 4, 2026
ce8e711
chore(plans): 更新四日驱周常等级限制
ShiinaKuroko Aug 4, 2026
9017dbc
fix(team-plan): 系统方案另存为用户副本
ShiinaKuroko Aug 4, 2026
2348cfc
fix(gui): 稳定计划迁移与任务停止语义
ShiinaKuroko Aug 4, 2026
b04ecc5
chore(plans): 统一系统舰队等级限制
ShiinaKuroko Aug 4, 2026
68a2b45
fix(migration): 强化旧战利品索引回退
ShiinaKuroko Aug 4, 2026
d545e88
test(team-plan): 覆盖未修改系统方案另存
ShiinaKuroko Aug 4, 2026
d67d79c
feat: 完成 GUI 2.0 架构与任务管理升级
ShiinaKuroko Aug 4, 2026
a1c2986
chore: 清理失效内置出征模板
ShiinaKuroko Aug 4, 2026
1110761
docs: 记录 GitHub 代理推送路径
ShiinaKuroko Aug 4, 2026
13c9744
docs: 调整 GitHub 代理使用规则
ShiinaKuroko Aug 4, 2026
af3efe0
fix: support unnumbered dev release versions
ShiinaKuroko Aug 4, 2026
49301ed
docs: record Windows packaging failures
ShiinaKuroko Aug 4, 2026
35e1612
docs: record successful Windows packaging preflight
ShiinaKuroko Aug 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# GitHub Copilot 项目入口

开始任何仓库任务前,必须完整读取并遵守根目录 `AGENTS.md`。

`AGENTS.md` 是 Agent 统一加载入口;强制规范正文仍以 `docs/engineering-standards.md` 和仓库可执行配置为准。不得只依赖本文件、聊天上下文或规则摘要。
81 changes: 81 additions & 0 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
name: Pull Request Checks

on:
pull_request:
workflow_dispatch:

permissions:
contents: read

concurrency:
group: pr-checks-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
legacy-config-upgrade:
name: Legacy configuration upgrade compatibility
runs-on: windows-latest
timeout-minutes: 15

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm

- name: Install dependencies
run: npm ci

- name: Test old install directory upgrade
run: npm run test:legacy-config-upgrade

backend-fleet-contract:
name: Backend fleet contract
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Checkout GUI
uses: actions/checkout@v4

- name: Checkout AutoWSGR
uses: actions/checkout@v4
with:
repository: ShiinaKuroko/AutoWSGR
ref: ShiinaKuroko
path: AutoWSGR

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Setup uv
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true

- name: Install GUI dependencies
run: npm ci

- name: Install AutoWSGR dependencies
run: uv sync --project AutoWSGR --no-dev

- name: Test candidate-only GUI services
run: npm run test:main-services

- name: Test GUI to AutoWSGR fleet contract
env:
AUTOWSGR_REPO: ${{ github.workspace }}/AutoWSGR
AUTOWSGR_PYTHON: ${{ github.workspace }}/AutoWSGR/.venv/bin/python
run: npm run test:api-contract
51 changes: 42 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ on:
tags:
- 'v*'
workflow_dispatch:
inputs:
prerelease:
description: '标记为预发布'
required: false
type: boolean
default: false

permissions:
contents: write
Expand All @@ -32,8 +26,26 @@ jobs:
$pkg = Get-Content package.json | ConvertFrom-Json
$ver = $pkg.version
}
if ($ver -match '^\d+\.\d+\.\d+$') {
$channel = 'latest'
$stage = 'stable'
$prerelease = 'false'
} elseif ($ver -match '^\d+\.\d+\.\d+-beta\.\d+$') {
$channel = 'beta'
$stage = 'prerelease'
$prerelease = 'true'
} elseif ($ver -match '^\d+\.\d+\.\d+-dev(?:\.\d+)?$') {
$channel = 'dev'
$stage = 'development'
$prerelease = 'true'
} else {
throw "版本 $ver 不符合 X.Y.Z、X.Y.Z-beta.N、X.Y.Z-dev 或 X.Y.Z-dev.N"
}
echo "VERSION=$ver" >> $env:GITHUB_OUTPUT
echo "Resolved version: $ver"
echo "CHANNEL=$channel" >> $env:GITHUB_OUTPUT
echo "STAGE=$stage" >> $env:GITHUB_OUTPUT
echo "PRERELEASE=$prerelease" >> $env:GITHUB_OUTPUT
echo "Resolved version: $ver ($stage/$channel)"

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -49,6 +61,10 @@ jobs:
run: |
$pkg = Get-Content package.json | ConvertFrom-Json
$pkg.version = "${{ steps.version.outputs.VERSION }}"
$pkg.build.publish | Add-Member `
-NotePropertyName channel `
-NotePropertyValue "${{ steps.version.outputs.CHANNEL }}" `
-Force
$pkg | ConvertTo-Json -Depth 10 | Set-Content package.json -Encoding UTF8

- name: Build & Package
Expand All @@ -60,17 +76,34 @@ jobs:
shell: pwsh
run: Get-ChildItem -Path release -Recurse -File | Select-Object FullName, Length

- name: Verify update channel metadata
shell: pwsh
run: |
$channel = "${{ steps.version.outputs.CHANNEL }}"
$expected = Join-Path release "$channel.yml"
if (-not (Test-Path $expected)) {
throw "缺少 $channel 频道更新清单: $expected"
}
@('latest', 'beta', 'dev') |
Where-Object { $_ -ne $channel } |
ForEach-Object {
$unexpected = Join-Path release "$_.yml"
if (Test-Path $unexpected) {
throw "发布产物混入其他频道清单: $unexpected"
}
}

- name: Create Release
uses: softprops/action-gh-release@v2
with:
tag_name: v${{ steps.version.outputs.VERSION }}
name: AutoWSGR-GUI v${{ steps.version.outputs.VERSION }}
prerelease: ${{ github.event.inputs.prerelease == 'true' }}
prerelease: ${{ steps.version.outputs.PRERELEASE == 'true' }}
generate_release_notes: true
files: |
release/*-Setup-*.exe
release/*.exe.blockmap
release/latest.yml
release/${{ steps.version.outputs.CHANNEL }}.yml
body: |
## AutoWSGR-GUI v${{ steps.version.outputs.VERSION }}

Expand Down
8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Thumbs.db
usersettings.yaml
gui_settings.json
task_groups.json
!scripts/fixtures/**/task_groups.json
templates.json
.env_ready
plans/
Expand All @@ -38,17 +39,22 @@ release/
# 安装临时文件
_setup_tmp/
.tmp/
.tmp_*
node/
python/
redist/
adb/

# 缓存
.cache/
.dbg/
__pycache__/
*.py[cod]
/debug-backend-pipe-epipe.md

# Kilo 工作区
.kilo/

# 测试用地图
resource/maps/99-1.json
plans/99-1.yaml.
plans/99-1.yaml.
2 changes: 0 additions & 2 deletions .tmp_issue360.json

This file was deleted.

2 changes: 0 additions & 2 deletions .tmp_issue360_comments.json

This file was deleted.

2 changes: 0 additions & 2 deletions .tmp_issue372.json

This file was deleted.

Loading