ji ruo
4d2c327df7
fix(backup): 加固一键备份与恢复安全性及大包流式传输 ( #160 )
...
- 导出前拒绝存在未暂停的运行中/排队中任务(409 backup_active_tasks + X-Artex-Error-Code),恢复事务内将未完成非暂停任务强制置为手动暂停,防止迁移后自动继续打目标,并同步更新确认文案与 README
- 启动恢复时若文件替换或暂存清理失败,ApplyPendingRestore 返回错误且 main 非零退出,交由守护脚本重试,避免带着新库与半套文件启动业务引擎
- 数据库表导出改为 8 MiB 分片流式写入 tar+zstd 并刷新 HTTP 响应,消除大表落盘临时文件与反代长静默超时;README 补齐 /api/system/backup/ 的 Nginx client_max_body_size 0 与 proxy_request_buffering off 配置
- 暂存新恢复包时先将旧 pending 移走、rename 失败则回滚,避免丢弃已有待恢复包
- 恢复接口返回唯一 restore_id 并写入暂存标记,前端改为精确匹配 restore_id 判断重启恢复完成,消除时钟偏差与旧结果误判
- 补充 Windows->Linux 归档路径改写、活跃任务拦截与恢复自动暂停、多片流式 COPY、文件替换失败快速退出续跑及暂存原子替换测试
2026-11-20 17:00:24 +08:00
ji ruo
c6f7c29b71
feat: 一键备份与迁移 ( #160 )
...
- 系统配置新增「备份与迁移」:下载单个 tar.zst 备份(全部业务表的一致快照、数据目录、流量索引快照、skills)
- 上传恢复:先解包并按当前 schema 校验,通过后重启;启动时数据库单事务整体替换,文件逐项替换且可续做
- 归档包绝对路径改写到新数据目录;本机已有同名 skill 保留本机版本
- 抽出 extractTarZst 供流式解包复用
2026-11-19 23:34:02 +08:00
ji ruo
cc1d84d573
Merge pull request #155 from RuoJi6/mcp-server-implementation
2026-11-14 20:51:24 +08:00
ji ruo
0a0158a4ab
feat(mcp): add a source allowlist for the MCP server endpoint
...
Restrict which source addresses may call /mcp with a list of IPs/CIDRs
(IPv4 and IPv6). The check runs before token authentication, so a source
that is not listed is refused with 403 even when it holds a valid token.
An empty list keeps the previous behaviour (any source).
Behind a reverse proxy the TCP peer is always the proxy, so proxies can be
registered as trusted: for requests from them the client is the rightmost
X-Forwarded-For hop that is not itself a trusted proxy. Without a trusted
proxy the header is ignored, so a caller cannot claim an allowed address.
- A stored configuration that cannot be read or parsed refuses requests
instead of falling back to no restriction.
- The audit log records the resolved client address.
- The settings API reports the address the server sees for the caller.
- The allowlist applies to /mcp only; the web UI and admin API are
unaffected.
Refs RuoJi6/ARTEX#144
2026-11-14 14:32:39 +08:00
ji ruo
8cf118e34d
feat(mcp): expose ARTEX as an MCP server for external agents
...
Add a stateless Streamable HTTP endpoint at /mcp that lets external agents
list tasks and findings, create tasks, pause/resume them and add hints.
- Access tokens (api_tokens): scopes (read, task:create, task:control),
optional company restriction, task quotas, expiry, revocation. Only the
SHA-256 is stored; the plaintext is returned once.
- /mcp authenticates with access tokens only. It sits outside the HTTP Basic
Auth gate and rejects Basic credentials and the admin JWT.
- Whitelisted tools only; nothing that edits tools, skills, MCP servers,
workspace files or settings is exposed.
- Every tools/call is audited (mcp_audit_log), refusals included.
- POST /api/tasks and the MCP spawn_task tool now share one creation path.
- Settings card for the switch, token management and the call audit.
- Off by default.
Refs RuoJi6/ARTEX#144
2026-11-14 14:08:07 +08:00
ji ruo
17c2fc5e08
fix: make HTTP user agents configurable and remove tool identifiers
2026-11-11 18:56:33 +08:00
ji ruo
5131905918
Merge pull request #134 from RuoJi6/agent/agent/github-3
2026-11-11 15:25:36 +08:00
ji ruo
3306e547b2
fix(tasks): serialize no-result decisions with finding writes
2026-11-11 15:20:58 +08:00
ji ruo
62ed7db7b2
feat(tasks): add read-only task file browser (GITHUB-3)
2026-11-11 14:14:37 +08:00
ji ruo
997d2d98c0
feat(tasks): stop tasks that miss a configurable findings checkpoint
2026-11-11 14:07:39 +08:00
ji ruo
5c617ef70e
Merge pull request #131 from RuoJi6/codex/english-i18n
2026-11-10 20:12:16 +08:00
ji ruo
9ccaa81497
feat: add English interface localization and fix preview crashes
2026-11-10 20:03:14 +08:00
ji ruo
0ff2130f46
fix: recover expired Basic Auth sessions in the current tab
2026-11-10 16:28:23 +08:00
ji ruo
a05a886d3d
fix: support traffic ID copying over HTTP
2026-11-09 16:17:03 +08:00
ji ruo
8ee94f2215
feat: expose traffic IDs and filter finding statistics
2026-11-09 16:11:15 +08:00
RuoJi6
459a484237
Merge pull request #120 from RuoJi6/codex/task-global-assets
...
feat: add opt-in global asset sharing per task
2026-11-05 16:37:07 +08:00
ji ruo
080a46eb2d
feat: make task global asset sharing opt-in
2026-11-05 16:27:44 +08:00
ji ruo
4868b1816f
fix: persist custom egress IP probe service ( #118 )
2026-11-05 16:00:07 +08:00
ji ruo
d36e1c3295
fix: align Jev integration with official System One protocol
2026-11-03 15:53:24 +08:00
ji ruo
f053931a1d
fix: require Basic Auth for health checks
2026-11-03 14:56:39 +08:00
ji ruo
5203176364
fix: remove application fingerprints from public responses
2026-11-03 14:48:41 +08:00
RuoJi6
c0b558fa1e
Merge pull request #113 from RuoJi6/codex/issue-110
...
feat: use DeepSeek Search API for web search
2026-11-02 22:16:00 -08:00
ji ruo
7140d14a17
feat: use DeepSeek Search API for web search
2026-11-03 14:07:32 +08:00
ji ruo
1d1d414082
fix: show service addresses in task assets
2026-11-03 13:36:34 +08:00
ji ruo
4b037bf5b0
fix: clean up proxy settings and empty pool handling
2026-11-02 17:57:19 +08:00
RuoJi6
05dd5b40e8
Merge pull request #107 from RuoJi6/feat/proxy-pool
...
feat: 全局代理池(健康检查、定时/失效轮换、热切换、脱敏)— Depends on #106
2026-11-02 15:45:28 +08:00
RuoJi6
f0993424e5
Merge pull request #106 from RuoJi6/feat/proxy-auto-resume-on-reconnect
...
feat: 代理异常时暂停任务并在重连后自动恢复(含手动测试代理)
2026-11-01 23:38:48 -08:00
RuoJi6
4955fb87e2
Merge pull request #105 from RuoJi6/feat/jev-intercept-judge
...
feat: 拦截判定模型接入 Jev(TypeSafe System One)
2026-11-01 23:38:34 -08:00
RuoJi6
e47f7892dd
fix: address Jev judge review round 2
2026-10-31 18:52:47 +08:00
RuoJi6
9a1599b96e
fix: address Jev judge review feedback
2026-10-31 18:16:49 +08:00
RuoJi6
e878020c4d
fix: 收紧代理故障判定并修复自动恢复门控/日历/终态问题
2026-10-31 16:23:28 +08:00
RuoJi6
b0e25d766f
feat: 接入 Jev 拦截判定模型
...
Add TypeSafe System One as an isolated intercept judge backend.
2026-10-31 15:56:02 +08:00
RuoJi6
de6a0fa125
feat: 代理异常暂停与自动重连恢复
...
Proxy failure pause, timed reconnect, and guarded auto-resume.
2026-10-31 15:54:41 +08:00
RuoJi6
62dca14821
fix: separate btw fallback copy and keep synthetic snapshot overridable
2026-10-31 10:57:28 +08:00
RuoJi6
c97bb4592a
修复暂停任务的 /btw 任务上下文回退
2026-10-31 10:06:14 +08:00
ji ruo
542d7e9ca6
fix: preserve UTF-8 filenames for exports
2026-10-30 15:06:37 +08:00
ji ruo
74d8b1efa2
fix: 禁用截图原生拖拽重影
2026-10-30 13:12:35 +08:00
ji ruo
21057b1a6b
fix: 支持截图放大拖动并显示缩放比例
2026-10-30 13:07:49 +08:00
ji ruo
3af131272c
fix: 修复报告对话绑定与滚动位置
2026-10-30 13:01:24 +08:00
ji ruo
f48f4ec8e2
fix: 绑定工具触发的报告撰写对话
2026-10-30 12:27:50 +08:00
ji ruo
aac79d72e9
Merge pull request #93 after conflict resolution
2026-10-30 12:21:02 +08:00
ji ruo
9745e7d019
feat: 复用漏洞报告撰写对话
2026-10-30 12:19:43 +08:00
ji ruo
af2f9e3560
fix: 归档报告截图并支持弹窗调整
2026-10-30 12:07:10 +08:00
ji ruo
8828d01eae
fix: 将报告调整对话改为弹窗
2026-10-30 12:04:39 +08:00
ji ruo
53840faf7f
fix: 归档报告截图并支持对话调整
2026-10-30 12:03:21 +08:00
ji ruo
3575b9091e
feat: add task list column visibility settings
2026-10-30 11:25:36 +08:00
ji ruo
524f8bc632
fix: 隐藏筛选与请求标签滚动条
2026-10-30 09:11:05 +08:00
ji ruo
255e11aca6
feat(web): show agent source in approval records
2026-10-30 09:01:57 +08:00
ji ruo
6ad055d24f
fix(web): enable repeater request undo
2026-10-30 02:12:36 +08:00
RuoJi6
571b6116e0
fix: place resource status on dashboard header
...
* fix: place resource status on dashboard header
* fix: show resource metrics as progress bars
* fix: preview unsupported resource layout
* fix: disable non-Linux resource preview
2026-10-29 10:59:32 -07:00