Commit Graph
19 Commits
Author SHA1 Message Date
苏尼克andsycpro c563567502 fix: startup banner hardcodes 127.0.0.1 regardless of server.host (#307)
The Web UI startup banner always printed 127.0.0.1, even when
server.host was bound to 0.0.0.0 or a specific interface. This made
users believe the host setting was ignored (the actual listen binding
was correct). Pass the configured host into the banner and expand
wildcard binds to the machine's real addresses so LAN URLs are shown.

Fixes #301

Co-authored-by: sycpro <sycpro@sycprodeMacBook-Pro.local>
2026-09-13 15:27:38 +08:00
Ed1s0nZ 94cdf760af feat: persist diagnostic logs with daily rotation and retention 2026-09-08 14:41:46 +08:00
Ed1s0nZ 6ad9ea2d13 feat: add configurable tool call blocking and monitoring 2026-09-08 09:44:32 +08:00
公明 7b6f56e476 Add files via upload 2026-07-24 16:43:01 +08:00
公明 b62ba3b214 Add files via upload 2026-07-22 10:31:20 +08:00
公明 cb0d61a48d Add files via upload 2026-07-20 10:48:28 +08:00
公明 1cf10981ef Add files via upload 2026-07-11 11:30:50 +08:00
公明 46f891a114 Add files via upload 2026-07-09 19:31:32 +08:00
公明 508de5fad0 Add files via upload 2026-06-18 12:47:24 +08:00
公明 f37d613a0c Add files via upload 2026-05-15 14:09:37 +08:00
公明 d961ba1ec7 Add files via upload 2026-05-15 11:43:33 +08:00
Gilles Ceyssat dca5666b18 fix(mcp-stdio): initialize result storage so query tools work
The stdio MCP entrypoint (cmd/mcp-stdio/main.go) constructed the
security Executor without calling SetResultStorage, leaving it nil.
Any tool that goes through the query path — notably `exec` (the
generic shell tool) and the YAML wrappers that emit large results —
failed with:

    "错误: 结果存储未初始化"  (Error: result storage not initialized)

The full HTTP app at internal/app/app.go:118-147 initializes a
FileResultStorage from cfg.Agent.ResultStorageDir and wires it via
both agent.SetResultStorage and executor.SetResultStorage. The stdio
entrypoint needs the same wiring.

This replicates the storage init block in main.go so stdio-mode tool
execution stops failing on the query path.

Verified: before, `exec` calls returned the "结果存储未初始化" error.
After, `exec nmap -p 22,80,443 127.0.0.1` (bridged through an
external MCP client) returns the full nmap output as expected.
2026-05-12 08:13:13 +04:00
公明 c841809f9e Add files via upload 2026-04-22 10:03:46 +08:00
公明 5b3709b9ad Add files via upload 2026-03-09 22:37:37 +08:00
公明 3043232937 Add files via upload 2026-01-08 22:43:41 +08:00
公明 d8ed2d8cb3 Add files via upload 2025-11-15 17:50:47 +08:00
公明 5a4a1b3269 Add files via upload
增加mcp-stdio
2025-11-13 00:44:37 +08:00
公明 2bba007295 Add files via upload 2025-11-08 20:32:50 +08:00
公明 add33e1cf7 Add files via upload 2025-11-08 18:56:23 +08:00