Commit Graph

917 Commits

Author SHA1 Message Date
Sycun b2f9041589 chore(pluginhub): keep only ARTEX in curated built-in catalog 2026-11-28 21:16:53 +08:00
Sycun 8e0694b594 fix(pluginhub): allow uninstalling failed container plugins when docker is unavailable 2026-11-28 21:09:12 +08:00
Sycun 5ae0d91ba8 feat(pluginhub): add driver remediation, failure diagnostics, and one-click CSAI Agent handoff 2026-11-28 21:04:04 +08:00
Sycun 2c107dc80a feat(pluginhub): support adding, deleting, and restoring market catalog entries 2026-11-28 20:43:06 +08:00
Sycun f33afa6d93 chore(plugin-hub): merge one-click update branch switcher from main 2026-11-28 20:26:01 +08:00
Sycun 4e12a49f09 feat(update): support selecting and switching target branch in one-click update 2026-11-28 20:25:07 +08:00
Sycun aaa284586f feat(plugin-hub): add plugin capability platform with embedded WebUI proxy and unified LLM gateway 2026-11-28 20:10:45 +08:00
Sycun 1c5c04362b feat(settings,chat): add GUI controls and entry points for vision model and knowledge base 2026-11-28 19:52:38 +08:00
Sycun 524ee29a84 perf(all): propagate GET abort signals globally and eliminate full conversation loads
- Propagate useResource AbortSignal automatically via runWithAbortSignal in http.js so all 60+ useResource loaders across all pages (including Dashboard's 18 parallel requests) cancel underlying browser fetches immediately on page switch
- Replace unnecessary full db.GetConversation loads (which unmarshaled all messages and process_details) with ConversationExists/GetConversationTitle/GetConversationLite across multi_agent_prepare, single_agent, conversation rename/project/delete-turn, attackchain, and robot handlers
- Default WebShell GET /ai-history to GetConversationByWebshellConnectionIDLite unless include_process_details=1 is explicitly requested
- Rebuild web/static/app bundle and verify 58 Playwright E2E tests + Go test suites
2026-11-28 19:06:11 +08:00
Sycun f4257cea3a perf(web,config): prevent cross-page HTTP stalls and honor 1M context default in probes
- Upgrade useResource and NotificationsBell with AbortController cancellation on unmount/reload and in-flight deduplication for silent polling, preventing abandoned requests from exhausting browser HTTP/1.1 connection slots
- Move external MCP tool lookups and markdown agent directory scans outside ConfigHandler.mu.RLock, bind request context, and support GET /api/config?include_tools=0 for chat model preferences and model settings
- Add immutable Cache-Control headers for content-hashed /static/app/assets/* and 1h caching for /static/i18n/*
- Add indexed created_at lower bound to NotificationHandler vulnerability summary query
- Pass effective configured/default 1M context_window in model probe requests, compute effective_max_total_tokens on fallback, display fallback window/source in ProbePanel, and suppress false context_window_unknown warnings when 1M default or manual window is active
- Rebuild web/static/app bundle and add Go + Playwright regression tests
2026-11-28 18:52:08 +08:00
Sycun 966836ef19 perf(chat): eliminate old conversation loading lag and polling livelock
- Add compact summary mode (include_process_details=summary) on GET /api/conversations/:id that skips progress noise, strips duplicated tool outputs/large arguments/long thinking bodies/finalText, and defers full payloads for on-demand GET /api/process-details/:id fetches
- Prevent paginated GET /api/messages/:id/process-details from leaking full tool_result payloads through message when includeToolPayload is false
- Add stdlib Gzip response compression middleware (skipping SSE, WebSocket, and already-compressed assets)
- Add SQLite composite indexes on messages(conversation_id, created_at) and process_details(conversation_id/message_id, created_at)
- Switch chat page to summary loading with on-demand ToolBlock/ReasoningBlock detail fetching, AbortController cancellation, and in-flight poll deduplication to fix backgroundRunning 4s polling livelock
- Memoize MessageRow/TurnBody, defer prettyJson until panel expansion, and window long conversation histories (>40 messages)
- Rebuild web/static/app bundle and add Go + Playwright regression tests
2026-11-28 18:41:33 +08:00
Sycun b5f4ab9071 feat(assessment): fuse global security base and deep assessment governance (v1.8.2)
- Add random-nonce CSAI_DATA prompt guard envelope and typed scanner surface ingest (nmap/nuclei/httpx/ffuf) with cross-path execution deduplication
- Add deterministic 3-axis vulnerability fingerprinting and 5-dimension adversarial review shared across record/status/retest/assessment review
- Extend project scope_json with structured allow/deny constraints, scanner noise profiles, and evidence-gated project lessons (off/shadow/inject)
- Bundle offline WSTG/CWE/ATT&CK lookup_security_taxonomy tool and Pi compact skill index + prompt_cache_prefix_split support
- Add deep assessment pre-plan goal decomposition, persistent coverage ledger & acceptance gate, optimistic-concurrency plan notes, and graceful segment wrap-up
- Bump personal version to v1.8.2 and update CHANGELOG.md
2026-11-27 19:21:04 +08:00
Sycun b3a9ed7891 feat(pi): auto-continue truncated model outputs and preserve partial replies 2026-11-26 18:35:27 +08:00
Sycun 2863282250 fix(projects): tighten archive boundaries across tools, assets, and selectors 2026-11-26 18:28:12 +08:00
Sycun 480f1ae7e2 feat(projects): link project memory and vulnerability archives 2026-11-26 17:50:36 +08:00
Sycun 6e0a6854fb fix(chat): preserve draft replies when plans are unfinished 2026-11-26 17:22:47 +08:00
Sycun 0a7020f62a fix(settings,chat): add audit model save controls and compact HITL reviewer spacing 2026-11-25 19:20:20 +08:00
Sycun 550331e8e3
test(chat): cover project groups in the conversation list API
个人仓库的 main 已包含会话项目分组统计。此次补充 HTTP 接口回归测试,覆盖社区在官方 v1.8.0 反馈的历史会话显示问题。

测试通过真实 SQLite 数据库请求默认工作区和指定项目第二页,检查当前页的会话、分页总数及侧栏所需的 projectGroups。用例包含搜索不匹配和当前用户无权查看的会话,确保两者都不计入分组数量。
2026-11-25 15:58:35 +08:00
Sycun 4fbf6f6d2f fix(pi): warn plan_execute that unfinished todos block the run
The orchestrator prompt and write_todos description never said that
pending/in_progress items block the run with unfinished_plan, so the
model could call exit with stale plan state and lose the deliverable.
State the rule in the markdown prompt, the built-in fallback prompt and
the tool description; clarify the blocked notice and cover the
no-auto-continue behavior with a test.

Ref: AIPentest/CyberStrikeAI#416
2026-11-24 10:24:27 +08:00
Sycun 4c1436873d fix(pi): distinguish protocol read errors from EOF
(cherry picked from commit 6c0cd29dcf3687e744fa3333e57433147073d2b6)
2026-11-24 09:36:20 +08:00
Sycun 2afe8c7075 fix(settings): preview context and image defaults for selected models 2026-11-23 17:17:17 +08:00
Sycun 614e5ff57f feat(assessments): add in-task progress questions and scoped operator controls 2026-11-20 22:19:51 +08:00
Sycun 3f2cea8f5b fix(assets): scope the asset library by project 2026-11-20 22:01:32 +08:00
Sycun 8aef32ab00 feat(assessments): share the project asset library across tasks
Deep assessment, chat, and batch work now use the same project assets, so a missing collection no longer leaves the scope empty.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 21:27:09 +08:00
Sycun f757d2e60b feat(assessments): show role icons in the create drawer
Use each testing role's configured icon in the deep assessment role picker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 21:24:00 +08:00
Sycun f689e92678 feat(projects): share evidence across assets, assessments, and reports
Keep project facts, collections, retests, and exports on the same read boundary, and stop a manual fixed status or a blocked batch from looking complete.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 20:07:23 +08:00
Sycun 2fab8b7e11 feat(assessments): record attack surface clues alongside assets 2026-11-20 20:03:34 +08:00
Sycun cb1507df6c feat(chat): group conversations and consolidate header actions 2026-11-20 15:14:00 +08:00
Sycun ca5057f8d9 feat(settings): use native image input and stack model settings 2026-11-20 15:12:30 +08:00
Sycun 30894d2189 fix(frontend): restore the sidebar version badge 2026-11-20 09:00:49 +08:00
Sycun 67007436a0 fix(settings): test audit models with configured backend 2026-11-19 22:55:20 +08:00
Sycun 8f49d91a88 fix(deep-assessment): clarify titles and theme graph labels 2026-11-19 21:52:47 +08:00
Sycun 56691fa444 fix(deep-assessment): show live elapsed time and channel name 2026-11-19 21:39:14 +08:00
Sycun c34bd3a226 fix(pi): report incomplete runs and model stream failures 2026-11-19 16:19:05 +08:00
Sycun 02103fac9e fix(mcp): clarify recovery for invalid finding IDs and image paths 2026-11-19 15:41:33 +08:00
Sycun 6d96560acd Merge remote-tracking branch 'personal/main' into codex/vulnerability-domain-layout
# Conflicts:
#	web/frontend/src/pages/deep-assessments/List.jsx
#	web/frontend/src/pages/deep-assessments/page.css
#	web/frontend/tests/ui.spec.mjs
#	web/static/app/assets/agents-management-BePiUmBh.js
#	web/static/app/assets/api-docs-CSGDdcKD.js
#	web/static/app/assets/api-docs-CvjE6MnX.js
#	web/static/app/assets/api-docs-DaYU9loD.js
#	web/static/app/assets/asset-library-PePSr64-.js
#	web/static/app/assets/asset-overview-BrCLJPgh.js
#	web/static/app/assets/asset-overview-CPyz1Gxh.js
#	web/static/app/assets/asset-overview-DIgkFRGD.js
#	web/static/app/assets/c2-events-B5u-S0sa.js
#	web/static/app/assets/c2-events-V_vQMBpq.js
#	web/static/app/assets/c2-events-wgrXSmNo.js
#	web/static/app/assets/c2-listeners-IRNsjF7t.js
#	web/static/app/assets/c2-payloads-9i17uCd0.js
#	web/static/app/assets/c2-payloads-DBsNeqhd.js
#	web/static/app/assets/c2-payloads-b-WadWR-.js
#	web/static/app/assets/c2-profiles-Cg_uBDqp.js
#	web/static/app/assets/c2-sessions-Bx1pLasr.js
#	web/static/app/assets/c2-shared-BCw9u-Qs.js
#	web/static/app/assets/c2-shared-Cjr2Z0aI.js
#	web/static/app/assets/c2-shared-Cm0tRmDn.js
#	web/static/app/assets/c2-shared-CvBM-5ub.js
#	web/static/app/assets/c2-shared-DbwF2K3b.js
#	web/static/app/assets/c2-shared-Xv2xfjSc.js
#	web/static/app/assets/c2-tasks-CqQbobWb.js
#	web/static/app/assets/chat-files-SmVUihI8.js
#	web/static/app/assets/dashboard-BxJTLfSV.js
#	web/static/app/assets/dashboard-CsMTT2oN.js
#	web/static/app/assets/dashboard-vLbc4lus.js
#	web/static/app/assets/hitl-CKTxiBxN.js
#	web/static/app/assets/hitl-CP-23Q2W.js
#	web/static/app/assets/hitl-CQ0Aof76.js
#	web/static/app/assets/info-collect-nk_lwNL5.js
#	web/static/app/assets/knowledge-management-ENWPHJ1h.js
#	web/static/app/assets/knowledge-retrieval-logs-BzTcsQ6Z.js
#	web/static/app/assets/knowledge-retrieval-logs-DORwIeD2.js
#	web/static/app/assets/knowledge-retrieval-logs-Da4_yHje.js
#	web/static/app/assets/mcp-management-C7hX0151.js
#	web/static/app/assets/mcp-management-DABde_QD.js
#	web/static/app/assets/mcp-management-kpX1wQzm.js
#	web/static/app/assets/mcp-monitor-CGS5IWOo.js
#	web/static/app/assets/mcp-monitor-CYaFdViH.js
#	web/static/app/assets/mcp-monitor-DFqNzBLs.js
#	web/static/app/assets/platform-rbac-CGljxL3h.js
#	web/static/app/assets/projects-xT2eFWKV.js
#	web/static/app/assets/roles-management--Ns4h5Io.js
#	web/static/app/assets/settings-CbZDo5HL.js
#	web/static/app/assets/skills-management-BlDO7qh9.js
#	web/static/app/assets/skills-monitor-Cb_yIe-d.js
#	web/static/app/assets/skills-monitor-CpOHig3n.js
#	web/static/app/assets/skills-monitor-D6o0R3AX.js
#	web/static/app/assets/tasks-DxzVHtFf.js
#	web/static/app/assets/tool-guard-BASI4ntP.js
#	web/static/app/assets/tool-guard-Byxe_XeJ.js
#	web/static/app/assets/tool-guard-rlNpfjcq.js
#	web/static/app/assets/vulnerabilities-CS9DP6IC.js
#	web/static/app/assets/webshell-CsVtUa1s.js
#	web/static/app/assets/workflows-Cpei-dWy.js
#	web/static/app/index.html
#	web/static/i18n/ar-SA.json
2026-11-19 13:15:27 +08:00
Sycun 7320cc608a fix: restore session collaboration and refine workspace UI 2026-11-19 13:06:42 +08:00
Sycun b0f6a07af0 fix(tasks): distinguish blocked process cleanup from failures
Refs AIPentest/CyberStrikeAI#408
2026-11-19 11:19:34 +08:00
Sycun c6f352caa4 fix(notifications): hide long-running task alerts after marking them read 2026-11-19 11:18:11 +08:00
Sycun 7b0e547316 fix(models): apply the default context window for DeepSeek Flash 2026-11-19 10:53:48 +08:00
Sycun a6b5924794 fix(settings): restore context window detection and example 2026-11-19 10:46:58 +08:00
Sycun 6815645a3f fix(chat): persist human approval for the conversation 2026-11-19 10:45:23 +08:00
Sycun 8addc2df2b fix(settings): restore manual model channel editing 2026-11-19 10:15:55 +08:00
Sycun 04a70859b7 feat(frontend): migrate to Semi Design and refresh workspace
统一 React + Semi Design 页面与视觉体系,保留既有业务接口、权限和深链接;补齐构建产物、SPA 入口校验及浏览器回归,减少旧模板与全局脚本的维护成本。
2026-11-19 09:09:11 +08:00
Sycun e8ad42ac2c feat(assessments): connect asset and acceptance evidence reviews 2026-11-19 00:09:43 +08:00
Sycun 8cbb7e42f8 merge: sync upstream main and gateway store compatibility
Merge AIPentest/CyberStrikeAI main at 664de13e. Adopt explicit store-field omission and its upstream regression tests. Preserve the newer personal Pi, assessment, proxy, vulnerability and UI implementations, including the developer-role compatibility fix.
2026-11-17 22:57:27 +08:00
Sycun 04ec3d11f8 fix(pi): preserve system role for compatible reasoning models 2026-11-17 22:42:13 +08:00
Sycun a598ffe8ee fix(assessments): expose task blockers and flush Pi output before exit 2026-11-15 21:41:19 +08:00
Sycun 0811ac4a4d fix(assessments): preserve lifecycle state across recovery and navigation 2026-11-15 20:31:16 +08:00
Sycun ad6542a12c fix(assessments): reconcile stopped tasks and allow explicit continuation 2026-11-15 17:52:09 +08:00