Commit Graph

441 Commits

Author SHA1 Message Date
Abner
b500cf5656 feat: Simyo 工具升级为邮箱验证码验证流程,优化 Sentry 扩展干扰过滤
- 将 Simyo 工具的短信验证码流程升级为邮箱验证码验证,支持自动识别验证方式,兼容旧版短信流程
- 更新所有相关国际化文案,将"短信验证码"替换为"邮箱验证码"或通用验证码表述,提升用户体验一致性
- 重构设备更换处理逻辑,移除独立的短信发送按钮和流程,引导用户直接输入邮箱收到的验证码
- 增强 Sentry 错误监控的扩展干扰过滤能力,针对非 Error 类型的 Promise rejection 异常进行深度扫描,防止扩展插件产生的噪音数据上报
- 优化验证码发送方法的健壮性,增加验证方式检测机制,支持邮箱和短信双模式自动适配,提高系统兼容性
2026-04-18 21:55:55 +08:00
github-actions[bot]
6cea86766c chore(ai): update repository knowledge index 2026-04-18 12:36:34 +00:00
Abner
6ffd684443 📝 docs(readme): 同步英文README与中文基线 2026-04-18 20:36:06 +08:00
github-actions[bot]
d3ec1904da chore(ai): update repository knowledge index 2026-04-18 04:17:40 +00:00
github-actions[bot]
794bdbc8b8 chore(ai): update repository knowledge index 2026-04-17 16:37:25 +00:00
Abner
a1fa26dc40 🔧 chore(hooks): 提交前同步远程并静默无效URL测试日志 2026-04-18 00:36:30 +08:00
github-actions[bot]
ca76df59a2 chore(ai): update repository knowledge index 2026-04-17 16:20:52 +00:00
Abner
4a652270f1 🔧 chore: 新增 GitHub 问题模板和优化 AI 索引构建流程
- 新增 .github/FUNDING.yml 文件,配置 Ko-fi 赞助链接
- 创建 bug_report.yml 问题模板,规范问题提交流程,包含版本、部署方式、环境信息等必填字段
- 创建 config_question.yml 问题模板,用于处理配置和部署相关疑问
- 重构 build_ai_index.py 脚本,改进错误处理、添加 User-Agent 参数、支持批量嵌入大小配置
- 更新 ai-build-index.yml 工作流,添加 API 端点探测步骤,支持嵌入批次大小和用户代理配置变量
- 优化 ai-issue-smart-reply.yml 工作流,简化 LLM 调用参数,增强嵌入检索逻辑以支持混合索引查询
2026-04-18 00:16:29 +08:00
dependabot[bot]
e2991494a4 build(deps): bump follow-redirects from 1.15.11 to 1.16.0 (#40)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.0.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.11...v1.16.0)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 18:11:42 +08:00
Abner
4bd373ffa2 🔧 chore: 移除冗余的上下文准备步骤
- 删除 `.ai_runtime/index_context.txt` 和 `.ai_runtime/fallback_context.txt` 的处理逻辑
- 移除 `Prepare final retrieved context` 工作流步骤,简化执行流程
- 清理 `.ai_runtime/final_context.txt` 文件相关操作,减少不必要的文件处理
2026-04-13 20:31:03 +08:00
Abner
6c20b62670 feat: 升级 AI 索引构建与检索系统,支持向量嵌入和混合搜索
- 重构 `build_ai_index.py`,新增向量嵌入支持,包括批量嵌入处理、API 响应校验和超时优化,提升索引生成稳定性
- 引入 `retrieve_ai_context.py` 的向量检索能力,支持基于余弦相似度的混合关键词+语义搜索,显著提高相关性匹配精度
- 更新索引清单格式至 version 2,增加生成时间、扫描文件数、启用嵌入等元数据字段,便于调试与监控
- 优化工作流 `ai-build-index.yml`,添加并发控制、步骤摘要输出和嵌入开关逻辑,增强可观测性与资源管理
- 改进 `ai-issue-smart-reply.yml` 的上下文获取流程,统一最终上下文与候选信息处理路径,确保数据一致性和容错能力
2026-04-13 20:21:11 +08:00
Abner
142c484783 Update ai-issue-smart-reply.yml 2026-04-13 20:02:51 +08:00
Abner
96f9db71a5 Merge branch 'main' of https://github.com/Silentely/eSIM-Tools 2026-04-13 19:58:18 +08:00
Abner
73e62d76ab feat: 添加 AI 知识库索引构建与智能 Issue 回复功能
- 新增 `build_ai_index.py` 脚本,用于扫描仓库文件并生成带权重的文本分块索引,支持关键词提取与摘要生成
- 新增 `retrieve_ai_context.py` 脚本,支持基于嵌入索引或仓库扫描的上下文检索,用于为 Issue 分析提供相关文档片段
- 新增 `ai-build-index.yml` 工作流,定期或在指定文件变更时自动构建轻量级索引和可选的真实嵌入向量,并支持提交更新到仓库
- 新增 `ai-issue-smart-reply.yml` 工作流,在新 Issue 创建时自动进行类型识别、重复检查、上下文检索,并由 LLM 生成维护者级别的回复和标签建议
- 支持通过环境变量灵活控制功能开关(如是否使用嵌入索引、是否自动打标签),并集成 GitHub 原生操作实现幂等评论更新与标签管理
2026-04-13 19:56:23 +08:00
dependabot[bot]
b631dbe356 build(deps): bump axios from 1.13.5 to 1.15.0 (#39)
Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.13.5...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-13 18:17:12 +08:00
Abner
77673f2a6e 🔧 chore(hooks): 禁止提交与推送 legacy complete 页面改动 2026-04-11 23:12:51 +08:00
Abner
35fc5a842d ️ revert(ui): 撤回浏览器兼容提醒改动 2026-04-11 23:03:28 +08:00
Abner
381d16df07 feat(ui): 新增首页与子页面浏览器兼容提醒 2026-04-11 22:50:20 +08:00
dependabot[bot]
dcd616525c build(deps-dev): bump lodash from 4.17.23 to 4.18.1 (#37)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-06 18:16:18 +08:00
Abner
01df53a9df 🔧 chore(hooks): 新增提交与推送质量门禁 2026-04-06 18:13:44 +08:00
Abner
1db402a372 chore: 更新依赖版本并添加新依赖
- 将 serialize-javascript 依赖版本从 ^7.0.3 更新到 ^7.0.5
- 新增 path-to-regexp 依赖,版本为 ^0.1.13
- 同步更新 package-lock.json 文件以反映依赖变更
2026-03-29 22:03:32 +08:00
dependabot[bot]
c06208f987 build(deps): bump brace-expansion from 5.0.2 to 5.0.5 (#32)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 5.0.2 to 5.0.5.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v5.0.2...v5.0.5)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-29 21:43:58 +08:00
dependabot[bot]
7eaac6faa2 build(deps): bump picomatch (#31)
Bumps  and [picomatch](https://github.com/micromatch/picomatch). These dependencies needed to be updated together.

Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 21:48:20 +08:00
Abner
d37961c614 feat: 添加 JS 转译脚本以支持 Chrome 77 目标
此提交引入了一个新的 JavaScript 转译功能,用于在构建过程中将现代 JavaScript 代码转换为与 Chrome 77 兼容的版本。

- 新增 transpile-dist-js.js 脚本,使用 Babel 将 dist/src 目录下的 JS 文件转译为 Chrome 77 目标
- 在 build-static.js 中集成转译步骤,确保在注入 Sentry 配置前完成代码转换
- 转译过程会自动跳过 minified 文件和 vendor 目录,仅处理需要转换的源文件
- 添加了详细的日志记录,显示处理文件数量和更新文件数量
2026-03-26 21:43:16 +08:00
Abner
b011bb725c refactor: 优化获取服务开放时间倒计时的时间处理逻辑
- 使用 `Intl.DateTimeFormat` 的 `formatToParts` 方法替代手动解析英国时间字符串,提高代码可维护性
- 简化时间差计算逻辑,移除重复的时区转换步骤,避免潜在的时间计算错误
- 移除冗余的 Date 对象创建和字符串解析操作,降低代码复杂度
- 添加对负时间差值的保护,确保返回的时间值始终为非负数
2026-03-23 12:09:39 +08:00
Abner
9f2eb81973 refactor: 重构状态管理器以增强 localStorage 操作的安全性
- 在 StateManager 中添加了三个安全操作方法:safeStorageGet、safeStorageSet 和 safeStorageRemove,用于处理在受限环境下可能出现的 SecurityError
- 将所有直接调用 localStorage 的地方替换为使用安全方法,包括会话保存、加载和清除操作
- 新增了 removeCookie 方法来统一处理 Cookie 清除逻辑
- 更新了 cookie-handler.js 中的清除逻辑,使用新的 stateManager.removeCookie() 方法
- 增强了错误处理机制,在存储操作失败时提供适当的警告信息而不是抛出异常
- 保持了原有的功能完整性,同时提高了代码在隐私模式或受限浏览器环境下的兼容性
2026-03-22 22:33:52 +08:00
Abner
59236bef15 docs: 更新 Ko-fi 按钮的文本
- 将 Ko-fi 按钮的文本从“Support Me”更改为“Buy Me a Coffee”。
- 此更改旨在更清晰地传达用户可以通过 Ko-fi 进行的互动方式。
- 保持了链接的目标和功能不变。
2026-03-19 19:24:37 +08:00
Abner
63320090bd chore: 更新 package-lock.json
- 自动更新了 npm 依赖,导致 package-lock.json 文件发生变化。
- 这通常是由于运行 `npm install` 或 `npm update` 命令引起的。
2026-03-19 19:22:42 +08:00
Abner
62e1363563 feat: 添加 Ko-fi 赞助按钮和改进样式
- 在首页、Giffgaff 和 Simyo 页面中添加了 Ko-fi 赞助按钮,方便用户支持项目。
- 引入了新的 `.header-actions` CSS 类,用于统一管理按钮组的布局和间距。
- 优化了按钮的样式,使其更具现代感和一致性,包括悬停效果和焦点状态。
- 为新增的 Ko-fi 按钮添加了相应的国际化文本和 ARIA 标签。
- 调整了移动端响应式样式,确保按钮在小屏幕设备上也能良好显示。
- 统一了 GitHub 和 Ko-fi 按钮的样式,使其在视觉上更协调。
- 更新了设计系统 CSS 文件,添加了新的按钮组样式和响应式适配。
2026-03-19 19:10:01 +08:00
Abner
19980d0739 fix: 优化未捕获异常处理和 Sentry 过滤逻辑
- **改进 Giffgaff 未捕获 Promise 异常处理**:
    - 引入 `normalizeUnhandledRejectionReason` 方法,统一处理不同类型的异常原因,使其更易于 Sentry 捕获和分析。
    - 增加 `isIgnoredUnhandledRejection` 方法,过滤掉常见的浏览器噪音或特定钱包扩展相关的异常,避免不必要的 Sentry 上报和用户干扰。
    - 当异常被忽略时,会在控制台输出调试信息。
- **统一 Sentry 过滤关键词**:
    - 将 Giffgaff 和 Simyo 应用中用于过滤 Sentry 异常的关键词(如钱包相关、浏览器扩展等)进行了整合和规范化,减少重复。
    - 移除了部分冗余或不精确的关键词,提高了过滤的准确性。
- **Simyo LPA 复制功能错误处理**:
    - 为 Simyo 应用中的 LPA 字符串复制功能添加了 `try...catch` 块,当复制操作失败时,会捕获错误并向用户显示更友好的提示信息,同时在控制台输出警告。
2026-03-17 23:17:09 +08:00
Abner
c09d438dc8 chore: 从仓库中移除 .omx 目录并添加到 .gitignore
- 删除 .omx/metrics.json 和相关状态文件
- 将 .omx/ 添加到 .gitignore 排除列表
- 防止 oh-my-claudecode 工具状态文件被追踪
2026-03-08 14:16:05 +08:00
Abner
607b5bef6a fix: 优化服务时间检查逻辑并改进二维码下载功能
- **服务时间检查优化**:
    - 清理并重构了 `initServiceTimeCheck` 和 `startCountdownTimer` 方法,移除了重复的定时器设置,并引入了 `clearTimers` 方法来统一管理和清除所有相关的定时器(`countdownIntervalId`, `minuteIntervalId`, `minuteTimeoutId`),防止内存泄漏和重复执行。
    - 改进了倒计时文本的生成逻辑,将格式化拆分到 `formatCountdownText` 方法中,提高了代码的可读性和复用性。
    - 增加了对 `messageElement.innerHTML` 内容变化的检查,避免不必要的 DOM 更新。

- **二维码下载功能增强**:
    - 在 `showESimResult` 方法中,为“复制 LPA”和“下载二维码”按钮添加了事件监听器,确保用户交互能够触发相应的全局函数 (`copyLPAString`, `downloadQRCode`)。
    - 改进了 `downloadQRCode` 函数的错误处理机制。当直接下载失败时,会尝试通过 `window.open` 在新窗口打开二维码图片,并给出相应提示,提高了下载的成功率和用户体验。
    - 调整了 `revokeObjectURL` 和 `removeChild` 的调用时机,增加了延迟,以兼容不同浏览器在下载过程中的时序问题。

- **时间处理精确化**:
    - `getTimeUntilServiceOpen` 函数现在使用 `toLocaleString` 来获取更精确的英国本地时间字符串,并重新解析,以确保在不同时区和环境下都能准确计算服务开放时间。
    - 修正了时间戳计算方式,直接计算目标时间和当前时间的时间戳差值(秒),提高了时间计算的准确性。

- **引入新状态文件**:
    - 新增了 `.omx/metrics.json`, `.omx/state/hud-state.json`, `.omx/state/notify-hook-state.json`, `.omx/state/team-leader-nudge.json`, `.omx/state/tmux-hook-state.json` 等文件,用于记录应用运行时的指标和状态信息。
2026-03-08 13:23:41 +08:00
Abner
d88ee69cc0 feat: 添加E-SIM LPA字符串复制和二维码下载功能
- 新增LPA字符串复制功能,优化用户体验。
- 新增二维码图片下载功能,方便用户保存。
- 改进了相关UI交互和视觉反馈。
- 优化了国际化文本,支持新功能的多语言显示。
- 提升了代码的可维护性和模块化。
2026-03-08 12:55:35 +08:00
Abner
365a0569d5 feat: 优化服务时间不可用时的用户体验
- 添加了距离服务开放的倒计时功能,并在页面上实时显示。
- 当服务时间不可用时,禁用登录卡片,并提供视觉提示(半透明、禁止指针)。
- 优化了服务时间检查逻辑,确保倒计时和卡片状态能够及时更新。
- 引入了新的工具函数 `getTimeUntilServiceOpen` 来计算剩余时间。
- 更新了国际化文件,添加了倒计时相关的翻译文本。
- 改进了UI交互,当服务不可用时,登录按钮将不可点击,避免用户误操作。
- 启动了秒级更新的倒计时定时器,以提供更精确的剩余时间反馈。
2026-03-08 12:51:35 +08:00
Abner
d4a1916dd6 fix(giffgaff): 修复 UnhandledRejection 错误 (Sentry #7311865220)
## 问题
- Sentry 报告 UnhandledRejection 错误
- 错误值为普通对象 {code, message} 而非 Error 实例
- 导致错误堆栈信息缺失,难以追踪问题

## 修复内容
1. 添加全局 Promise 拒绝处理器
   - 自动将普通对象转换为 Error 实例
   - 保留原始错误信息并上报到 Sentry
   - 显示用户友好的错误提示

2. 加固 GraphQL 错误处理
   - esim-service.js: 4 处错误处理加入空值检查
   - mfa-handler.js: 1 处错误处理加入空值检查
   - 使用可选链操作符 (?.) 安全访问错误对象

## 影响范围
- giffgaff-app.js: +38 行 (新增全局错误处理器)
- esim-service.js: +17/-7 行 (加固错误处理)
- mfa-handler.js: +3/-1 行 (加固错误处理)

## 测试建议
- 本地测试各种错误场景
- 生产环境监控 Sentry Issue #7311865220
- 验证用户错误提示是否友好
2026-03-05 18:46:45 +08:00
dependabot[bot]
5d8de92d9c build(deps-dev): bump svgo from 3.3.2 to 3.3.3 (#26)
Bumps [svgo](https://github.com/svg/svgo) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](https://github.com/svg/svgo/compare/v3.3.2...v3.3.3)

---
updated-dependencies:
- dependency-name: svgo
  dependency-version: 3.3.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 17:38:35 +08:00
Abner
7869a729c9 fix(deps): 修复 Dependabot 安全漏洞
- serialize-javascript: 6.0.2 → ^7.0.3 (RCE 漏洞, GHSA #39)
- minimatch: ^10.2.2 → ^10.2.3 (ReDoS 漏洞, GHSA-7r86/GHSA-23c5)
- rollup: 2.79.2 → ^2.80.0 (路径遍历漏洞, GHSA-mw96)

通过 package.json overrides 强制版本提升,npm audit 0 漏洞
2026-03-01 15:42:58 +08:00
dependabot[bot]
1e4f263dfe build(deps): bump minimatch from 10.2.2 to 10.2.4 (#24)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.2 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 12:43:46 +08:00
dependabot[bot]
76ff22ac31 build(deps-dev): bump rollup from 2.79.2 to 2.80.0 (#25)
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.2 to 2.80.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/v2.80.0/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.2...v2.80.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 2.80.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-01 12:43:34 +08:00
Abner
4327e4c29a Delete .github/workflows/codex_hub.yml 2026-02-23 12:02:04 +08:00
Abner
ea0d187acd fix(deps): 修复 Dependabot 安全漏洞
- 添加 npm overrides 强制使用安全版本
  - minimatch: ^10.2.2 (修复 ReDoS 漏洞 CVE-2026-26996)
  - glob: ^11.1.0
- 更新 Jest 到 v30.2.0
- 漏洞数量: 31 → 0
2026-02-21 17:14:45 +08:00
dependabot[bot]
4670e67360 build(deps): bump qs from 6.14.1 to 6.14.2 (#22)
Bumps [qs](https://github.com/ljharb/qs) from 6.14.1 to 6.14.2.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.14.1...v6.14.2)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-21 16:29:16 +08:00
Abner
54e279153e fix: 禁用 Cookie 登录功能并更新文档说明
- 禁用 giffgaff 模块中的 Cookie 登录选项,并修改了其视觉样式,使其不可用。
- 更新了中文和英文用户指南,明确告知用户视频教程中获取 OAuth 回调 URL 的方式可能已过时,应参考文字教程。
- 禁用 Cookie 登录是为了解决潜在的安全问题或功能限制,确保用户体验和数据安全。
2026-02-21 16:28:47 +08:00
Abner
14ee2c0332 fix(build): 更新 Legacy Freeze 基线以适配 i18n 功能
修复 CI 自动修复工作流失败问题。之前的 i18n 多语言功能修改了
giffgaff_complete_esim.html 文件,但未更新冻结基线的哈希值,
导致构建时 Legacy Freeze 保护机制触发。

变更内容:
- 更新 giffgaff_complete_esim.html 的 SHA256 哈希值
- 保持 simyo_complete_esim.html 哈希值不变

影响:修复后 CI 工作流将正常通过构建检查
2026-02-14 08:46:24 +08:00
Abner
c2d4599d2b feat(i18n): 添加多语言教程文档并实现自动语言切换功能 2026-02-14 08:40:11 +08:00
Abner
fed9eddeff **Docs:** Add a Star Chart to the README. 2026-02-13 16:21:10 +08:00
Abner
6d41482580 fix(sentry): filter wallet extension ethereum redefine noise
Unify extension conflict filtering across sentry-loader and sentry-init. Add early global interception for error/unhandledrejection, strengthen beforeSend checks, and add local-only noise observability via getSentryExtensionNoiseStats() without sending to Sentry.
2026-02-12 21:14:42 +08:00
dependabot[bot]
3e159f4079 build(deps): bump axios from 1.13.2 to 1.13.5 (#21)
Bumps [axios](https://github.com/axios/axios) from 1.13.2 to 1.13.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.13.2...v1.13.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.13.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-12 08:08:57 +08:00
Abner
7bc72dac5d fix(sentry): 增强浏览器扩展错误过滤机制
- 增强全局事件拦截器,支持字符串和对象两种错误格式
- 新增检测关键词:defineProperty、inpage.js、redefine property
- 使用捕获阶段确保最早执行拦截逻辑
- 增强 ignoreErrors 配置,新增 9 个正则规则
- 增强 beforeSend 过滤器,新增 5 个检测维度
- 添加详细的调试日志,便于问题排查
- 特别针对 TypeError: Cannot redefine property: ethereum 错误

修复 Sentry Issue #7218701924
2026-02-11 22:44:28 +08:00
Abner
465085f8fa chore: 更新 .gitignore 文件
- 添加了 `.ace-tool/` 和 `.omc` 目录到 .gitignore 文件中,以忽略这些临时或工具生成的文件。
- 这是一个常规的维护性更新,确保项目不包含不必要的自动生成文件。
2026-02-08 09:41:41 +08:00