Skip to content

Commit 35aab67

Browse files
authored
Merge pull request #270 from NikkeTryHard/refactor/modular-architecture-v2
Refactor/modular architecture v2
2 parents c13f30a + 74c2f2b commit 35aab67

File tree

252 files changed

+70018
-10995
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

252 files changed

+70018
-10995
lines changed

.env.example

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ FINAL_STATE_CHECK_TIMEOUT_MS=1500
129129
POST_COMPLETION_BUFFER=700
130130

131131
# 清理聊天相关超时
132-
CLEAR_CHAT_VERIFY_TIMEOUT_MS=4000
133-
CLEAR_CHAT_VERIFY_INTERVAL_MS=4000
132+
CLEAR_CHAT_VERIFY_TIMEOUT_MS=5000
133+
CLEAR_CHAT_VERIFY_INTERVAL_MS=2000
134134

135135
# 点击和剪贴板操作超时
136136
CLICK_TIMEOUT_MS=3000
@@ -159,12 +159,12 @@ GUI_DEFAULT_HELPER_ENDPOINT=
159159
# 脚本注入配置
160160
# =============================================================================
161161

162-
# 是否启用油猴脚本注入功能(已失效)
162+
# 是否启用油猴脚本注入功能
163163
ENABLE_SCRIPT_INJECTION=false
164164

165165
# 油猴脚本文件路径(相对于项目根目录)
166166
# 模型数据直接从此脚本文件中解析,无需额外配置文件
167-
USERSCRIPT_PATH=browser_utils/more_modles.js
167+
USERSCRIPT_PATH=browser_utils/more_models.js
168168

169169
# =============================================================================
170170
# 其他配置

.gitattributes

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
# Enforce LF line endings for all text files (cross-platform consistency)
2+
* text=auto eol=lf
3+
4+
# Binary files (no line ending conversion)
5+
*.png binary
6+
*.jpg binary
7+
*.jpeg binary
8+
*.gif binary
9+
*.ico binary
10+
*.woff binary
11+
*.woff2 binary
12+
*.ttf binary
13+
*.eot binary
14+
*.pyc binary
15+
*.pyd binary
16+
*.so binary
17+
*.dll binary
18+
*.exe binary
19+
*.zip binary
20+
*.tar binary
21+
*.gz binary
22+
*.db binary
23+
*.sqlite binary
24+
*.sqlite3 binary
25+
26+
# Python files (explicit LF)
27+
*.py text eol=lf
28+
*.pyi text eol=lf
29+
*.pyx text eol=lf
30+
31+
# Configuration files
32+
*.toml text eol=lf
33+
*.ini text eol=lf
34+
*.cfg text eol=lf
35+
*.conf text eol=lf
36+
*.yaml text eol=lf
37+
*.yml text eol=lf
38+
*.json text eol=lf
39+
*.md text eol=lf
40+
*.txt text eol=lf
41+
.env* text eol=lf
42+
.gitignore text eol=lf
43+
.gitattributes text eol=lf
44+
45+
# Shell scripts
46+
*.sh text eol=lf
47+
*.bash text eol=lf
48+
49+
# Windows scripts (keep CRLF for Windows)
50+
*.bat text eol=crlf
51+
*.cmd text eol=crlf
52+
*.ps1 text eol=crlf
53+
54+
# JavaScript/TypeScript
55+
*.js text eol=lf
56+
*.ts text eol=lf
57+
*.jsx text eol=lf
58+
*.tsx text eol=lf
59+
*.css text eol=lf
60+
*.scss text eol=lf
61+
*.html text eol=lf
62+
63+
# Lock files
64+
poetry.lock text eol=lf
65+
package-lock.json text eol=lf

.gitignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ lib-cov
2525
# Coverage directory used by tools like istanbul
2626
coverage
2727
*.lcov
28+
coverage_*.txt
29+
coverage_*.html
2830

2931
# nyc test coverage
3032
.nyc_output
@@ -79,6 +81,12 @@ web_modules/
7981
.env.production.local
8082
.env.local
8183

84+
# Windows artifacts
85+
NUL
86+
87+
# Test backup files
88+
*.backup
89+
8290
# parcel-bundler cache (https://parceljs.org/)
8391
.cache
8492
.parcel-cache
@@ -215,7 +223,9 @@ env.bak/
215223
venv.bak/
216224

217225
# Error snapshots directory (Python specific)
218-
errors_py/
226+
# New date-based structure: errors_py/YYYY-MM-DD/HH-MM-SS_reqid_errorname/
227+
errors_py/*/
228+
!errors_py/.gitkeep
219229
logs/
220230

221231
# Authentication Profiles (Sensitive)

0 commit comments

Comments
 (0)