Skip to content

Commit 02d8a61

Browse files
authored
Merge pull request #272 from NikkeTryHard/dev
feat: Add Default Thinking Level, Fix Docker/Types
2 parents a44b3e1 + f6b9037 commit 02d8a61

255 files changed

Lines changed: 82435 additions & 10684 deletions

File tree

Some content is hidden

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

.env.example

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ PORT=2048
1212
DEFAULT_FASTAPI_PORT=2048
1313
DEFAULT_CAMOUFOX_PORT=9222
1414

15+
# Camoufox WebSocket 端点捕获超时(秒)
16+
ENDPOINT_CAPTURE_TIMEOUT=45
17+
1518
# 流式代理服务配置
1619
STREAM_PORT=3120
1720
# 设置为 0 禁用流式代理服务
@@ -59,6 +62,9 @@ AUTH_SAVE_TIMEOUT=30
5962
# 自动确认登录
6063
AUTO_CONFIRM_LOGIN=true
6164

65+
# 仅收集当前用户消息中的附件(true/false)
66+
ONLY_COLLECT_CURRENT_USER_ATTACHMENTS=false
67+
6268
# =============================================================================
6369
# 浏览器配置
6470
# =============================================================================
@@ -123,8 +129,8 @@ FINAL_STATE_CHECK_TIMEOUT_MS=1500
123129
POST_COMPLETION_BUFFER=700
124130

125131
# 清理聊天相关超时
126-
CLEAR_CHAT_VERIFY_TIMEOUT_MS=4000
127-
CLEAR_CHAT_VERIFY_INTERVAL_MS=4000
132+
CLEAR_CHAT_VERIFY_TIMEOUT_MS=5000
133+
CLEAR_CHAT_VERIFY_INTERVAL_MS=2000
128134

129135
# 点击和剪贴板操作超时
130136
CLICK_TIMEOUT_MS=3000
@@ -154,11 +160,11 @@ GUI_DEFAULT_HELPER_ENDPOINT=
154160
# =============================================================================
155161

156162
# 是否启用油猴脚本注入功能
157-
ENABLE_SCRIPT_INJECTION=true
163+
ENABLE_SCRIPT_INJECTION=false
158164

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

163169
# =============================================================================
164170
# 其他配置

.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: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ yarn-error.log*
88
pnpm-debug.log*
99
lerna-debug.log*
1010
/upload_images
11+
/upload_files
1112

1213
# Diagnostic reports (https://nodejs.org/api/report.html)
1314
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -24,6 +25,8 @@ lib-cov
2425
# Coverage directory used by tools like istanbul
2526
coverage
2627
*.lcov
28+
coverage_*.txt
29+
coverage_*.html
2730

2831
# nyc test coverage
2932
.nyc_output
@@ -78,6 +81,12 @@ web_modules/
7881
.env.production.local
7982
.env.local
8083

84+
# Windows artifacts
85+
NUL
86+
87+
# Test backup files
88+
*.backup
89+
8190
# parcel-bundler cache (https://parceljs.org/)
8291
.cache
8392
.parcel-cache
@@ -179,6 +188,7 @@ coverage.xml
179188
*.py,cover
180189
.hypothesis/
181190
.pytest_cache/
191+
.testmondata*
182192

183193
# Environments
184194
.env
@@ -214,7 +224,9 @@ env.bak/
214224
venv.bak/
215225

216226
# Error snapshots directory (Python specific)
217-
errors_py/
227+
# New date-based structure: errors_py/YYYY-MM-DD/HH-MM-SS_reqid_errorname/
228+
errors_py/*/
229+
!errors_py/.gitkeep
218230
logs/
219231

220232
# Authentication Profiles (Sensitive)
@@ -248,4 +260,13 @@ browser_utils/my_*.js
248260
browser_utils/generated_*.js
249261
# Docker 环境的实际配置文件(保留示例文件)
250262
docker/.env
251-
docker/my_*.json
263+
docker/my_*.json
264+
265+
monkeytype.sqlite3
266+
267+
# Temporary debug/output files
268+
pyright_output.txt
269+
pyright_utils_full.txt
270+
temp_*.txt
271+
temp_*.md
272+
utils_errors.txt

0 commit comments

Comments
 (0)