Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
0aa47bc
chore(deps): bump serde_json from 1.0.145 to 1.0.148 in /src-tauri (#66)
dependabot[bot] Dec 29, 2025
6610340
docs: add claude.md and tech.md
0Chencc Dec 29, 2025
f62f88a
chore(deps): bump the tauri group in /src-tauri with 3 updates (#71)
dependabot[bot] Jan 13, 2026
746f58b
chore(deps): bump the tauri group with 2 updates (#69)
dependabot[bot] Jan 13, 2026
8b1d787
chore(deps): bump the development group across 1 directory with 3 upd…
dependabot[bot] Jan 13, 2026
953d62d
chore(deps): bump serde_json from 1.0.148 to 1.0.149 in /src-tauri (#74)
dependabot[bot] Jan 13, 2026
db0a7ed
chore(deps): bump data-encoding from 2.9.0 to 2.10.0 in /src-tauri (#73)
dependabot[bot] Jan 13, 2026
f6cb6c6
chore(ci): bump actions/upload-pages-artifact from 3 to 4 (#65)
dependabot[bot] Jan 13, 2026
c9faa26
chore(deps): bump zustand from 5.0.9 to 5.0.10 (#70)
dependabot[bot] Jan 13, 2026
5944f4a
chore(deps): bump globals from 16.5.0 to 17.0.0 (#68)
dependabot[bot] Jan 13, 2026
765cb0f
chore(deps): bump typescript-eslint in the development group (#76)
dependabot[bot] Jan 21, 2026
c7a3b01
chore(deps): bump @types/node from 24.10.4 to 25.0.9 (#78)
dependabot[bot] Jan 21, 2026
f9de46e
chore(ci): bump lewagon/wait-on-check-action from 1.4.1 to 1.5.0 (#79)
dependabot[bot] Jan 27, 2026
85272c1
chore(deps): bump the development group with 3 updates (#80)
dependabot[bot] Jan 27, 2026
e4fdeb8
chore(deps): bump globals from 17.0.0 to 17.1.0 (#81)
dependabot[bot] Jan 27, 2026
9c98d4e
chore(ci): add workflow to auto-close stale issues
0Chencc Jan 27, 2026
f552797
chore(ci): bump actions/stale from 9 to 10
dependabot[bot] Feb 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
enablement: true

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: docs

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Wait for CI workflow to succeed
uses: lewagon/wait-on-check-action@v1.4.1
uses: lewagon/wait-on-check-action@v1.5.0
with:
ref: ${{ github.sha }}
check-name: 'CI Success'
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Close Stale Issues

on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
workflow_dispatch: # Allow manual trigger

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/stale@v10
with:
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed in 7 days if no further activity occurs.
If this issue is still relevant, please comment to keep it open.
close-issue-message: >
This issue has been automatically closed due to inactivity.
Feel free to reopen if the issue persists.
days-before-issue-stale: 53
days-before-issue-close: 7
stale-issue-label: 'stale'
exempt-issue-labels: 'pinned,security,bug,enhancement'
days-before-pr-stale: -1
days-before-pr-close: -1
27 changes: 27 additions & 0 deletions claude.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Claude Code 项目规范

## 提交规范

**禁止主动提交代码。** 这是一个长期维护的大型项目,所有 commit 需要用户确认后手动执行。

- 不要自动执行 `git add` 或 `git commit`
- 不要在用户未明确要求时创建提交
- 修改代码后等待用户审查和确认

## 项目背景

CTFCrackTools 是一个 CTF (Capture The Flag) 竞赛工具箱,从 Java/Kotlin 版本迁移到 Tauri + React + TypeScript 架构。

## 技术栈

- **前端**: React 18 + TypeScript + Vite 7
- **后端**: Tauri v2 + Rust
- **状态管理**: Zustand
- **流程编辑器**: ReactFlow
- **样式**: Tailwind CSS v4 + 内联样式(主题相关)

## 开发注意事项

1. **主题切换**: 使用内联样式 + `useThemeStore` 确保同步,避免 CSS 变量延迟
2. **WebKitGTK**: 在 WSL2 环境下需要设置 `no_proxy="localhost,127.0.0.1"`
3. **表单元素**: textarea/select 需要容器背景色作为遮罩,避免主题切换闪烁
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,30 @@
},
"dependencies": {
"@tauri-apps/api": "^2.9.1",
"@tauri-apps/plugin-dialog": "^2.4.2",
"@tauri-apps/plugin-fs": "^2.4.4",
"@tauri-apps/plugin-dialog": "^2.5.0",
"@tauri-apps/plugin-fs": "^2.4.5",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"reactflow": "^11.11.4",
"zustand": "^5.0.9"
"zustand": "^5.0.10"
},
"devDependencies": {
"@eslint/js": "^9.39.1",
"@tailwindcss/vite": "^4.1.18",
"@tauri-apps/cli": "^2.9.6",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/node": "^25.0.10",
"@types/react": "^19.2.9",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.1",
"autoprefixer": "^10.4.23",
"eslint": "^9.39.1",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.4.24",
"globals": "^16.5.0",
"globals": "^17.1.0",
"postcss": "^8.5.6",
"tailwindcss": "^4.1.18",
"typescript": "~5.9.3",
"typescript-eslint": "^8.50.1",
"vite": "^7.2.4"
"typescript-eslint": "^8.53.1",
"vite": "^7.3.1"
}
}
Loading
Loading