235 Commits

Author SHA1 Message Date
Masic
5a3efaf0f7 Merge pull request #36 from famez/main
Added interact mode + possibility to enable and disable tools
2026-03-01 14:23:45 -07:00
famez
7cb9428e6c feat(tools): Allow enabling or disabling for the agent. 2026-03-01 12:19:16 +01:00
famez
0dc1db0013 fix(tui): Avoid warning on text editor 2026-03-01 10:18:42 +01:00
famez
1d483dbe82 Comment modified. 2026-02-28 23:23:19 +01:00
famez
016dbcf333 feat(notes): Allow listing all the notes (not truncated) 2026-02-28 23:22:51 +01:00
famez
64a78f2e97 fix(notes): Notes were not properly loading at the beginning.
For correct loading with get_all_notes() function.
2026-02-28 23:22:01 +01:00
famez
1ad2c50f99 fix: Added /interact mode to /help command 2026-02-28 23:21:14 +01:00
famez
a1a8cbbe5d fix: Added policy on pa_interact to read notes.
Before starting the pentest to resume.
2026-02-28 23:20:34 +01:00
famez
52278db871 feat: Added interactive mode (#1)
* Adding interactive mode.

* Added content of /loot dir to .gitignore.

* When writing just a mode on the TUI, it will automatically switch to that mode (no need to prepend /agent, /assist, /interact or /crew before.
2026-02-28 20:11:55 +01:00
Masic
8aca9dd2c6 Merge pull request #35 from selectqoma/fix/gemini-duplicate-assistant-message
fix: remove duplicate assistant message when content+tool_calls present (fixes Gemini #8)
2026-02-25 09:32:31 -07:00
Dimitri Graur
a6cf68430f fix: remove duplicate assistant message when content and tool_calls both present
In CrewOrchestrator.run(), when the LLM returns both content and tool_calls,
the code was appending two consecutive assistant messages to self._messages:
1. {"role": "assistant", "content": response.content}
2. {"role": "assistant", "content": ..., "tool_calls": [...]}

Back-to-back model-role messages cause Gemini (and technically any
OpenAI-compatible API) to reject the conversation on the next turn.
The fix is to drop the redundant bare-content append — the content is
already included in the combined message that follows.

Also update get_available_models() to list Gemini models with the
required gemini/ provider prefix so the helper reflects correct usage.

Fixes #8
2026-02-25 15:49:40 +01:00
Masic
0ecda6bde4 Merge pull request #33 from famez/main
feat: Added support for SSE transport for MCP servers.
2026-02-22 17:51:48 -07:00
famez
86aa316007 feat: Added support for SSE transport for MCP servers.
Tested with n8n MCP server node.
2026-02-22 13:49:46 +01:00
Masic
da17546de4 Merge pull request #31 from famez/main
Fix broken code for assist
2026-02-16 14:17:11 -07:00
famez
c4fff71dab Merge branch 'GH05TCREW:main' into main 2026-02-16 16:35:19 +01:00
famez
0e7bd4f087 Fixed broken code for assist mode when changing the code for agent mode for tool result visualization. 2026-02-16 14:28:21 +01:00
Masic
c1ac1ffa49 Merge pull request #30 from famez/main
Allows to see the result of the tools when clicking over them
2026-02-15 17:42:15 -07:00
famez
9e7e84c03c Added chevron icon and additional text on the tool message indicating that clicking over the message allows to see the tool result. 2026-02-15 22:33:47 +01:00
famez
99bbea32ec Added ToolResultMessage again, but only visible when clicking over the tool widget. 2026-02-15 12:23:30 +01:00
famez
d8c866ec3c Added notes.json to gitignore. 2026-02-15 12:20:46 +01:00
Masic
50ed888b22 Merge pull request #28 from famez/main
MCP improvements
2026-02-12 21:08:45 -07:00
famez
2fece6693e Added ignored json file. 2026-02-12 19:21:25 +01:00
famez
ebff3cfbd1 Removed text from readme. 2026-02-12 19:19:42 +01:00
famez
58146ab28f Merge branch 'dev' 2026-02-12 19:16:36 +01:00
famez
2ce1d22446 Added some files to gitignore. 2026-02-12 19:13:40 +01:00
famez
fd7c7d0f11 Added MCP configuration examples. 2026-02-12 19:13:20 +01:00
famez
a56dc2cd46 Merge branch 'GH05TCREW:main' into dev 2026-02-12 00:20:18 +01:00
famez
44daa882ef Merge branch 'GH05TCREW:main' into main 2026-02-12 00:20:03 +01:00
famez
67bb1f5b5a Added extra logs from stderr on commands on the /mcp list command. Allows more visibility for MCP connections. 2026-02-12 00:08:04 +01:00
famez
498038c6b9 Added enabling/disabling MCP servers from the MCP list command via the MCPScreen (Modal Screen). Updating availability of tools to agent accordingly. 2026-02-11 23:34:59 +01:00
famez
fcda8232e3 Removed enabled text (leave just the enable button). 2026-02-11 21:26:21 +01:00
famez
b80fd236c4 Added enabled toggle button 2026-02-11 18:19:11 +01:00
famez
7524e75b84 If there are errors during the MCP set up, show it in the MCP tree view. 2026-02-11 17:55:52 +01:00
famez
be05e9243a Fix: Connected attribute was not properly set. 2026-02-11 17:55:22 +01:00
famez
c5f1d7fc49 Removed MCP cleanup. 2026-02-11 16:19:15 +01:00
Masic
d21ef536b8 Merge pull request #27 from famez/main
More fixes and MCP improvement
2026-02-08 14:16:34 -07:00
famez
8b103031b8 Added tool info for every MCP server. 2026-02-08 20:03:43 +01:00
famez
6cd91830b6 Added add command for /mcp on tui. 2026-02-08 19:43:23 +01:00
famez
86f437b0f6 Added /mcp command on TUI in README.md and removed confusing third_party MCP integrations. The tool should be agnostic to the configured MCP tools. 2026-02-08 18:42:54 +01:00
famez
0bb8465254 Added MCP list command 2026-02-08 18:33:03 +01:00
famez
04c63205fd Configure debugging with vscode (allows to debug inside the container). 2026-02-08 13:49:57 +01:00
famez
d2f42fd7b0 Removed loot from dockerignore. 2026-02-08 13:37:37 +01:00
famez
c5731813e5 Added loot dir 2026-02-08 12:24:39 +01:00
famez
bd0234eaf8 Removed loot dir from gitignore. 2026-02-08 12:22:55 +01:00
Masic
99ccca8c77 Merge pull request #26 from famez/main
MCP tools stopped working after last commits as well as some other code (missing functions that caused exceptions and so on).
2026-02-06 19:56:56 -07:00
famez
8324009912 MCP tools were not loading, tried to change as few lines of code as possible to get it working again 2026-02-06 21:16:50 +01:00
famez
0359bc312b Merge branch 'GH05TCREW:main' into main 2026-02-04 22:31:57 +01:00
famez
9205fbda87 Preserve file permission after changing COPY clause in Dockerfile. 2026-02-01 23:43:35 +01:00
Masic
a26303c71d Merge pull request #23 from famez/main
Added removed function
2026-01-31 10:46:04 -07:00
famez
19e5c4a89c Moved COPY statement to avoid rebuilding the WEB browser when modifying the source code. 2026-01-29 22:25:03 +01:00