637 Commits
Author SHA1 Message Date
SycunandCursor b5422d4c77 fix(hitl): publish the rebuilt audit log bundle
The running page is served from web/static/app, so the source change never reached the UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-25 15:40:37 +08:00
Sycun 074b5ce2b2 fix(roles): restore role creation, editing, tool picker, and workflow binding 2026-11-24 23:19:23 +08:00
Sycun 9c05e2e0c3 fix(chat): restore tool call counts and details 2026-11-24 09:45:00 +08:00
Sycun b316ec5cd2 feat(vulnerabilities): restore one-click retest from detail drawer
Semi 迁移时丢失了旧版漏洞详情的复测入口,此前只能新建对话手动传漏洞 ID。
恢复为一致的一键流程:详情抽屉底栏新增复测主按钮(需 vulnerability:write,
无关联会话时禁用);弹窗预填默认提示词并附漏洞记录的复测方式,可编辑、
校验非空、服务端报错可重试。确认后调用既有 POST /vulnerabilities/:id/retest
创建分支,跳转聊天页自动发送服务端解析后的提示词;手动打开分支或发送
失败时回填服务端持久化的 pending_prompt 供手动续发。复测词条沿用
web/static/i18n 既有四语言文案,新增 Playwright 回归覆盖全链路。
2026-11-23 18:02:35 +08:00
Sycun 3f1787b024 Merge upstream model picker and rebuild the Semi frontend 2026-11-23 17:38:35 +08:00
Sycun 76f1213571 refactor(frontend): retire the classic web interface 2026-11-23 17:26:57 +08:00
Sycun 9230873dca fix(settings): default model context windows to 1M in the channel form 2026-11-23 17:22:55 +08:00
Sycun e13658fa6c fix(settings): restore selection from fetched channel models 2026-11-23 17:02:42 +08:00
Sycun 702fcc7621 fix(frontend): finish the Semi workspace without deep assessments 2026-11-23 12:48:58 +08:00
SycunandCursor cd1fa6dd50 feat(frontend): migrate remaining workspace pages onto Semi Design
Bring chat, HITL, tool guard, info collect, tasks, workflows, WebShell,
MCP management and the full C2 suite into the Semi workspace so the
default UI no longer depends on classic page redirects for day-to-day
operations. Deep assessment stays on the stacked assessment PR.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 22:35:29 +08:00
Sycun 8c6ac9374b feat(frontend): improve graph reading, settings persistence and admin drawers 2026-11-20 20:33:25 +08:00
Sycun 501a70c3e9 fix(frontend): localize and test the one-click update flow 2026-11-20 20:10:50 +08:00
Sycun 7af146701e style(chat): integrate the context toolbar into the composer 2026-11-20 15:44:50 +08:00
Sycun df585f207a feat(frontend): make Semi Design the default workspace 2026-11-20 15:41:22 +08:00
Sycun 074bdf3351 feat(frontend): add Semi model settings and native image input 2026-11-20 15:27:32 +08:00
Sycun e2ead78746 feat(frontend): add opt-in Semi Design workspace 2026-11-20 14:54:08 +08:00
Sycun 15fbd1e001 fix(chat): render token usage in restored timelines 2026-11-18 21:39:52 +08:00
Sycun 15c6a4bb1d Merge upstream main and resolve vulnerability asset version conflict 2026-11-16 11:50:20 +08:00
Sycun 9927b93f25 Merge upstream main and resolve UI stylesheet conflict 2026-11-15 15:00:10 +08:00
Sycun 715fef3e87 fix(ui): migrate remaining detail dialogs to drawers 2026-11-15 11:31:00 +08:00
Sycun 42d8755a45 fix(ui): open skill previews in the shared drawer 2026-11-15 11:18:49 +08:00
Sycun 91d3e3ac3f fix(ui): use square corners for detail drawers 2026-11-15 11:11:37 +08:00
Sycun 4352433710 fix(vulnerabilities): paginate findings independently of full navigation 2026-11-15 11:00:20 +08:00
Sycun 6518bfe7d5 feat(ui): unify responsive surfaces and detail drawers 2026-11-15 10:45:51 +08:00
Sycun 5b2f87d205 feat(vulnerabilities): show timestamps and support oldest-first ordering 2026-11-15 10:33:47 +08:00
公明 a34d5002bb Merge pull request #400 from Sycun/codex/vulnerability-workspace
feat(vulnerabilities): add grouped browsing and a review workspace
2026-11-13 19:38:04 +08:00
Sycun e11be75402 fix(vulnerabilities): remove empty scope heading space 2026-11-13 17:44:07 +08:00
Sycun 0c8bdcf215 fix(vulnerabilities): hide default scope headings 2026-11-13 17:35:07 +08:00
Sycun 648002b09b refactor(vulnerabilities): use compact rows with drawer actions 2026-11-13 17:24:37 +08:00
Sycun cab10bfcc4 feat(vulnerabilities): add grouped browsing and review workspace 2026-11-13 17:04:41 +08:00
Sycun 81e9093c4f perf(pi): reduce DeepSeek input overhead and auto-detect local context 2026-11-13 15:13:33 +08:00
Sycun 48065ad75f Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	internal/app/app.go
2026-11-13 11:14:04 +08:00
公明 2a7f13b970 Merge pull request #396 from Sycun/codex/fix-long-chat-scroll
fix(chat): stabilize scrolling in long streaming conversations
2026-11-13 11:10:39 +08:00
公明 8ecd44d02d Merge pull request #392 from Sycun/codex/pi-runtime-migration
refactor(runtime): migrate the agent engine from Eino to Pi
2026-11-13 11:08:23 +08:00
Sycun 7d2465ec89 fix(update): reload after confirming the accepted update is running
(cherry picked from commit aa7a533497)
2026-11-13 10:07:44 +08:00
Sycun 8819d25e37 fix(chat): stabilize scrolling in long streaming conversations 2026-11-13 08:54:04 +08:00
Sycun cfaa95d7bd refactor(runtime): remove Eino and make Pi the sole agent engine
Delete the Eino model adapters, callbacks, middleware, orchestration,
summarization and single-agent runner together with their dependencies.
Chat, batch tasks, workflow Agent nodes and sub-agents now share the Pi
runtime, and dispatch is a single code path instead of an engine switch.

Configuration migrates eino_middleware/eino_skills to runtime/skills and
drops the retired callback settings while old files still load. Settings,
i18n and docs describe Pi only. Also carry the Pi follow-up fixes: empty
required lists are omitted from tool schemas, historical tool results stay
with their call batch, model proxies work over HTTP/1.1, single-query
retrieval skips query expansion, and finalization docs match Pi lifecycle
events.
2026-11-12 17:55:36 +08:00
Sycun 35508eb614 feat(pi): add the Pi agent runtime with native workflow and retrieval engines
Introduce an isolated Node worker that hosts the Pi SDK while Go keeps
business state, permissions, MCP execution, evidence and delivery checks.
The worker is published per source fingerprint, streams events back to Go
and supports tool callbacks, cancellation, session resume and per-model
transport settings.

Agent dispatch, tool search, plan/task tools and migration controls are
wired on top of it: large tool catalogs load through Pi tool_search, the
conversation task board keeps its existing tools, and legacy mode/route
values still resolve. Workflow gains a native DAG with versioned JSON
checkpoints, and knowledge retrieval moves to native documents, splitter,
HTTP embeddings, vector search and reranking.
2026-11-12 17:55:33 +08:00
Sycun c48984f91d fix(update): switch versions without interrupting sign-in
(cherry picked from commit 5d98f5d805)
2026-11-12 17:54:07 +08:00
Sycun 46c38a2d10 fix(update): activate new binaries without a supervisor
(cherry picked from commit 9ed4e19f5e)
2026-11-12 17:51:55 +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
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