Merge branch 'main' into feat/hitl-frontend

This commit is contained in:
twwu
2026-01-23 15:51:58 +08:00
553 changed files with 13688 additions and 4912 deletions

1
.github/skills/component-refactoring vendored Symbolic link
View File

@ -0,0 +1 @@
../../.agents/skills/component-refactoring

1
.github/skills/frontend-code-review vendored Symbolic link
View File

@ -0,0 +1 @@
../../.agents/skills/frontend-code-review

1
.github/skills/frontend-testing vendored Symbolic link
View File

@ -0,0 +1 @@
../../.agents/skills/frontend-testing

1
.github/skills/orpc-contract-first vendored Symbolic link
View File

@ -0,0 +1 @@
../../.agents/skills/orpc-contract-first

1
.github/skills/skill-creator vendored Symbolic link
View File

@ -0,0 +1 @@
../../.agents/skills/skill-creator

View File

@ -0,0 +1 @@
../../.agents/skills/vercel-react-best-practices

1
.github/skills/web-design-guidelines vendored Symbolic link
View File

@ -0,0 +1 @@
../../.agents/skills/web-design-guidelines

View File

@ -79,9 +79,32 @@ jobs:
find . -name "*.py" -type f -exec sed -i.bak -E 's/"([^"]+)" \| None/Optional["\1"]/g; s/'"'"'([^'"'"']+)'"'"' \| None/Optional['"'"'\1'"'"']/g' {} \;
find . -name "*.py.bak" -type f -delete
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
package_json_file: web/package.json
run_install: false
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: 24
cache: pnpm
cache-dependency-path: ./web/pnpm-lock.yaml
- name: Install web dependencies
run: |
cd web
pnpm install --frozen-lockfile
- name: ESLint autofix
run: |
cd web
pnpm lint:fix || true
# mdformat breaks YAML front matter in markdown files. Add --exclude for directories containing YAML front matter.
- name: mdformat
run: |
uvx --python 3.13 mdformat . --exclude ".claude/skills/**"
uvx --python 3.13 mdformat . --exclude ".agents/skills/**"
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27

View File

@ -125,7 +125,7 @@ jobs:
- name: Web type check
if: steps.changed-files.outputs.any_changed == 'true'
working-directory: ./web
run: pnpm run type-check:tsgo
run: pnpm run type-check
- name: Web dead code check
if: steps.changed-files.outputs.any_changed == 'true'