Commit Graph
616 Commits
Author SHA1 Message Date
Sycun c07b6ac4ac feat(pi): integrate durable assessments, tool discovery and migration controls 2026-11-11 10:06:25 +08:00
Sycun 67683f4266 merge: preserve personal assessment and model profile work in Pi migration 2026-11-11 09:22:23 +08:00
Sycun 43b5ac2da5 feat(runtime): introduce Pi agents and native workflow and retrieval engines 2026-11-11 09:19:14 +08:00
Sycun f895a33eb1 merge: integrate local model profiles with personal gateway headers 2026-11-03 10:17:34 +08:00
Sycun 1ac81fe217 merge: integrate HTTP proxy settings into personal main 2026-11-03 10:13:15 +08:00
Sycun cb77d0578c fix(assessment): add select-all tools with bounded bulk selection 2026-11-03 09:08:55 +08:00
Sycun 6be4477e08 feat(assessment): add an interactive execution DAG view 2026-11-03 08:51:18 +08:00
Sycun 5c6edff1dd fix(assessment): center and restructure the creation dialog 2026-11-03 00:27:29 +08:00
Sycun 1931bf322a fix(assessment): use authenticated transport for workbench requests 2026-11-03 00:08:19 +08:00
Sycun 261d2cd0ad feat(assessment): add acceptance review, specialist workers and resilient recovery 2026-11-02 23:46:55 +08:00
Sycun ef89d9e464 fix(assessment): bind approvals and enforce scoped execution boundaries 2026-11-02 22:32:11 +08:00
Sycun ae4be163e0 feat(assessment): strengthen adaptive planning and durable evidence memory 2026-11-02 21:51:49 +08:00
Sycun 9a0d83c491 fix(assessment): select projects by name and preserve task links 2026-11-02 21:26:19 +08:00
Sycun 07864b355f feat(assessment): add durable deep assessment workbench independent of chat 2026-11-02 21:17:03 +08:00
Ed1s0nZ 195540b619 fix(headers): mask private names and stabilize empty audit configuration 2026-11-02 17:22:52 +08:00
Ed1s0nZ 5feea8d3c3 fix(headers): isolate credentials across audit, redirects and probes 2026-11-02 17:18:12 +08:00
Ed1s0nZ 585c95a0e2 Merge commit '0340c07363720e356b4cd7adafe343cbee804764' into codex/pr379-header-boundaries 2026-11-02 17:13:25 +08:00
Ed1s0nZ 02b295d738 Merge main and preserve both changelog additions for #378 2026-11-02 15:38:16 +08:00
公明 d227396e74 Merge pull request #376 from muhannadalhariri/i18n/ar-SA-ui
i18n: add Arabic (ar-SA) UI locale with RTL support
2026-11-02 14:57:23 +08:00
Sycun 1609ac21bf fix(proxy): ignore inactive pool input validation in fixed mode 2026-11-01 00:09:53 +08:00
Sycun 3afff5ed8a style(proxy): clean settings whitespace 2026-11-01 00:04:15 +08:00
Sycun cc37959e14 feat(proxy): add stable HTTP egress settings isolated from tools and models 2026-11-01 00:03:51 +08:00
Ed1s0nZ 6ad8d47c74 fix: restore WebShell batch probe completion 2026-10-31 02:26:46 +08:00
root d6b0aed1de feat(headers): 支持为 AI 渠道配置自定义 HTTP 请求头
部分 OpenAI 兼容供应商(如 opencode)要求私有鉴权头或会话头,
而非标准的 Authorization: Bearer,导致无法接入。

- config: OpenAIConfig / AIChannelConfig 新增 headers 字段,
  值支持 ${ENV_VAR}、${ENV_VAR:-default} 与 %session_id% 占位符
- openai: 新增 headersRoundTripper 接入 Eino ChatModel 传输链,
  同名的内置头(Authorization/User-Agent 等)可被覆盖
- openai: 内置 Client 的 4 处出站请求同样注入自定义头
- handler: 任务开始时把对话 ID 注入 ctx,供 %session_id% 替换;
  连接测试没有真实会话,使用探测值 connect-test
- web: 渠道设置页新增“自定义请求头”编辑区(每行 KEY=VALUE)
- 占位符使用 %session_id% 而非 {{session_id}},因为 index.html
  由 Go html/template 渲染,双花括号会被当作模板函数解析
2026-10-30 20:13:56 +08:00
Sycun baa1d02cd4 feat(vulnerabilities): offer Markdown and Word report downloads 2026-10-30 09:29:44 +08:00
muhannadalhaririandClaude Opus 4.8 caa7700345 i18n: add Arabic (ar-SA) UI locale with RTL support
Add Modern Standard Arabic (ar-SA) as a selectable UI language alongside
the existing zh-CN, en-US and ru-RU locales.

- web/static/i18n/ar-SA.json: new Arabic locale (4272 leaf strings,
  full key/placeholder parity with en-US). The `c2` and `webshell`
  sections are intentionally omitted and fall back to English via the
  i18next fallback chain (ar-SA -> en-US -> zh-CN).
- web/static/js/i18n.js: register ar-SA, detect `ar*` navigator language,
  preload en-US as fallback, set document dir="rtl" for Arabic, and add
  the ar-SA language label handling.
- web/static/i18n/{zh-CN,en-US,ru-RU}.json: add the `lang.arSA` label.
- web/templates/{index,api-docs}.html: add the العربية option to the
  language dropdown.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-29 10:42:55 +03:00
lgq 0a6dc6f872 fix: use floating pagination selects across pages for Chrome compatibility 2026-10-27 23:59:47 +08:00
lgq 0dea628e89 fix: open project pagination dropdown upward 2026-10-27 23:23:44 +08:00
lgq 816abfb841 fix: prevent external MCP stats and card controls from overlapping 2026-10-27 23:09:13 +08:00
lgq 9cb6922a88 fix: add spacing below RBAC assignment filters 2026-10-27 20:23:36 +08:00
lgq 07346ca002 fix: allow horizontal scrolling in RBAC resource filter bar 2026-10-27 20:15:57 +08:00
lgq f0f93283ee fix: contain RBAC role catalog scrolling within workspace 2026-10-27 19:15:49 +08:00
lgq 4aeb296a98 fix: prevent RBAC member list from shrinking header controls 2026-10-27 19:03:33 +08:00
lgq 6daac86e06 fix(settings): allow desktop sidebar to scroll 2026-10-27 16:55:18 +08:00
Sycun 8b74b33eee fix(ai): harden local context detection and budget previews
- Surface llama.cpp parallel slots via context_slots and a warning instead of treating n_ctx as the per-request window
- Pass max_completion_tokens into detection previews and warn when the output cap is clamped
- Clamp the effective budget to the window and use the assumed local window when clamping output
- Overwrite a stale window on explicit auto-detect so the preview matches the saved value
- Keep the budget-warning test repeatable and document failover/budget semantics
2026-10-21 09:47:03 +08:00
Sycun 3964f325bd feat(web): surface context window detection in AI channel settings 2026-10-21 00:13:01 +08:00
Ed1s0nZ be2c8c04e5 fix(rbac): protect built-in administrator from losing access 2026-10-19 16:44:14 +08:00
Ed1s0nZ ee5e4dd7c7 Merge remote-tracking branch 'origin/main' into codex/fix-fofa-region 2026-10-16 16:17:04 +08:00
Ed1s0nZ 0c0d4a53e8 fix: use supported FOFA region return field and preserve asset location 2026-10-16 16:14:39 +08:00
Sycun 136b62deb5 Merge remote-tracking branch 'origin/main' into codex/fix-mobile-project-ui 2026-10-16 11:12:37 +08:00
Sycun b8d65aa1e3 Merge upstream main and preserve mobile stylesheet cache version 2026-10-16 11:12:11 +08:00
Sycun 0fb5484657 Merge upstream main and resolve context memory asset conflicts 2026-10-16 11:02:49 +08:00
Sycun 268eb9e286 fix: keep mobile fact columns readable during horizontal scrolling 2026-10-15 22:27:57 +08:00
Sycun c47a8b97bb fix: allow mobile project pages to scroll to their final row 2026-10-15 22:09:19 +08:00
Sycun a773a680e9 fix: prevent mobile project headers from covering tabs 2026-10-15 21:26:37 +08:00
Sycun 16189e0b76 fix: close review findings in context memory, attack chain and blackboard
Attack chain: failure text goes to textContent, so opt out of i18next
interpolation escaping that rendered upstream errors as &#x2F;/&quot;;
give regenerate its own message key; keep the summary card expanded across
a 409 refresh; probe for a cached graph before parsing last_react_input so
polling no longer re-reads a multi-megabyte column; hide the card in the
node-details exclusive state and bound it on narrow screens; drop the dead
hardcoded Chinese title from the API payload.

Blackboard: stop mirroring note/context-* keys into the fact body links
section, which get_project_fact returns verbatim without scope filtering;
single-line category and confidence in index rows so a newline cannot inject
a fake row; make the path overview fail closed on an empty index set.

Provenance: reuse fitUserIntentLedgerText when sanitizing a ledger entry so
a single entry cannot exceed its cap by the three ellipsis runes.

The .cjs harness now escapes interpolated values like real i18next, so the
existing XSS test also pins the escapeValue opt-out.
2026-10-12 23:16:33 +08:00
Sycun 2b76b31355 fix: preserve attack-chain summary provenance and evidence access 2026-10-12 20:58:45 +08:00
Sycun c96c4666a9 fix: check HITL reviewer field in canonical database schema 2026-10-12 14:06:29 +08:00
Sycun 56d29b7054 feat: refine token analytics with interactive trends and cache breakdown 2026-10-12 00:10:37 +08:00
Sycun 4badef67c1 style: show only cache hit rate below dashboard token total 2026-10-12 00:00:26 +08:00