Commit Graph

2708 Commits

Author SHA1 Message Date
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 85887a29ed fix(chat): restore tool call counts and details 2026-11-24 09:42:01 +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 5570c387a1 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:01:16 +08:00
Sycun a97f9b4b95 fix(settings): default the model context window field to 1M 2026-11-23 17:20:47 +08:00
Sycun 2afe8c7075 fix(settings): preview context and image defaults for selected models 2026-11-23 17:17:17 +08:00
Sycun a897a9213b fix(settings): restore selection from fetched channel models 2026-11-23 16:59:24 +08:00
Sycun ed82b78203 fix(assessments): match drawer tests to the shared asset library
The create form now shows the project asset count instead of a collection picker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 22:25:12 +08:00
Sycun 614e5ff57f feat(assessments): add in-task progress questions and scoped operator controls 2026-11-20 22:19:51 +08:00
Sycun 5b81a98269 fix(assets): show all assets by default 2026-11-20 22:06:39 +08:00
Sycun 3f2cea8f5b fix(assets): scope the asset library by project 2026-11-20 22:01:32 +08:00
Sycun 603a6a666d fix(frontend): remove duplicate add asset plus sign 2026-11-20 21:59:27 +08:00
Sycun d6dbcb6dba fix(assets): add targets by pasting URLs or addresses
Creating an asset only asks for the addresses a teammate or notice provides, and parses the host, IP, and port from that text.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 21:58:48 +08:00
Sycun 62151a6d01 fix(dashboard): remove observation evidence metric 2026-11-20 21:52:46 +08:00
Sycun 42d084de5f fix(frontend): clarify vulnerability group hierarchy 2026-11-20 21:40:17 +08:00
Sycun ad57c85dd4 fix(frontend): publish the shared asset-library scope
The running app serves the built pages, so the create form still showed an empty asset collection after the source change.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 21:34:07 +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 d49329857f feat(chat): restore role selection beside the workspace
Apply an enabled testing role's prompt and tools from the composer on the next message.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-20 21:08:32 +08:00
Sycun cac72a4821 fix(assessments): clarify project asset collection availability 2026-11-20 20:59:28 +08:00
Sycun 45d531b01b fix(assessments): align role picker with upstream defaults 2026-11-20 20:46:57 +08:00
Sycun 986a6aca2b fix(frontend): prevent clipped outlines on focused inputs 2026-11-20 20:39:36 +08:00
Sycun 52baa278cf fix(assessments): align overview status with other metrics 2026-11-20 20:31:41 +08:00
Sycun b718171a84 style(chat): refine reasoning effort slider endpoints 2026-11-20 20:14:08 +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 9c67d8c4bb fix(projects): keep attack path nodes readable when fitting the canvas 2026-11-20 15:42:35 +08:00
Sycun 4f1ed1e650 style(chat): integrate mode and project into composer toolbar 2026-11-20 15:28:21 +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 5129c3fe8a feat(frontend): organize project and assessment graphs around relationships 2026-11-20 14:57:01 +08:00
Sycun cabc5546f3 fix(projects): enlarge attack path card typography 2026-11-20 14:46:04 +08:00
Sycun d685a5cd48 style(projects): render attack path nodes as cards 2026-11-20 14:39:41 +08:00
Sycun 33db868509 fix(frontend): standardize backdrop dismissal across overlays 2026-11-20 14:35:54 +08:00
Sycun 883fb9105f fix(dashboard): align overview cards and tile recent facts 2026-11-20 14:33:22 +08:00
Sycun 424fbf6bc3 fix(deep-assessment): dismiss project drawer via backdrop 2026-11-20 14:28:51 +08:00
Sycun fbf632e4a3 fix(projects): prioritize exact node keys in graph search 2026-11-20 14:27:43 +08:00
Sycun 65e6a86c70 feat(projects): make attack path graphs easier to read 2026-11-20 14:26:03 +08:00
Sycun 229c83f64f feat(deep-assessment): create projects from the draft form 2026-11-20 14:18:05 +08:00
Sycun 30894d2189 fix(frontend): restore the sidebar version badge 2026-11-20 09:00:49 +08:00
Sycun f0b0bb5400 feat(deep-assessment): refresh exploration graph in place 2026-11-20 08:53:56 +08:00
Sycun 1d1db56a04 feat(deep-assessment): clarify exploration flow and task summary 2026-11-20 08:43:27 +08:00
Sycun 222398fdf7 fix(chat): show task summaries after execution details 2026-11-19 23:24:10 +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 aa620a2129 fix(frontend): keep login focus outlines inside input fields 2026-11-19 21:14:38 +08:00
Sycun e0153dc455 merge: sync upstream v1.8.1 and restore chat token usage
Merge AIPentest/CyberStrikeAI at af6cf750. Retain the personal versions of the already integrated fixes and port the upstream restored-timeline usage display to React. Set the shipped version to v1.8.1.
2026-11-19 16:55:48 +08:00
公明 af6cf7500c
Merge pull request #412 from Sycun/codex/pi-chat-end-state
fix(pi): report incomplete runs and model stream failures
2026-11-19 16:29:16 +08:00
公明 85a81be890
Merge pull request #411 from Sycun/codex/issue-408-task-cleanup
fix(tasks): distinguish blocked process cleanup from failures
2026-11-19 16:26:14 +08:00