diff --git a/.vscode/HumanAgent-server.log b/.vscode/HumanAgent-server.log index 001ba9f..4ef06e2 100644 --- a/.vscode/HumanAgent-server.log +++ b/.vscode/HumanAgent-server.log @@ -1,60 +1,35 @@ -[2025-10-24 13:34:14.970] [DEBUG] Debug logging started at 2025-10-24T02:34:14.967Z -[2025-10-24 13:34:14.970] [DEBUG] Current system time: Fri Oct 24 2025 13:34:14 GMT+1100 (Australian Eastern Daylight Time) -[2025-10-24 13:34:14.970] [DEBUG] Log file: /Users/benharper/Coding/HumanAgent-MCP/.vscode/HumanAgent-server.log -[2025-10-24 13:34:14.970] [DEBUG] Working directory: /Users/benharper/Coding/HumanAgent-MCP/dist -[2025-10-24 13:34:14.970] [CHAT] [INFO] ChatManager initialized with max 50 messages per session -[2025-10-24 13:34:14.970] [INFO] McpServer initialized with centralized chat manager -[2025-10-24 13:34:14.970] [TEST] This is a test log message to verify DebugLogger is working -[2025-10-24 13:34:14.971] [INFO] === MCP SERVER STARTING === -[2025-10-24 13:34:14.971] [INFO] Starting HTTP server on port 3737... -[2025-10-24 13:34:14.980] [INFO] MCP HTTP server running on http://127.0.0.1:3737/mcp -[2025-10-24 13:34:16.294] [HTTP] GET /mcp -[2025-10-24 13:34:16.294] [HTTP] Request Headers: +[2025-10-24 13:45:25.218] [DEBUG] Debug logging started at 2025-10-24T02:45:25.217Z +[2025-10-24 13:45:25.218] [DEBUG] Current system time: Fri Oct 24 2025 13:45:25 GMT+1100 (Australian Eastern Daylight Time) +[2025-10-24 13:45:25.218] [DEBUG] Log file: /Users/benharper/Coding/HumanAgent-MCP/.vscode/HumanAgent-server.log +[2025-10-24 13:45:25.218] [DEBUG] Working directory: /Users/benharper/Coding/HumanAgent-MCP/dist +[2025-10-24 13:45:25.218] [CHAT] [INFO] ChatManager initialized with max 50 messages per session +[2025-10-24 13:45:25.218] [INFO] McpServer initialized with centralized chat manager +[2025-10-24 13:45:25.218] [TEST] This is a test log message to verify DebugLogger is working +[2025-10-24 13:45:25.219] [INFO] === MCP SERVER STARTING === +[2025-10-24 13:45:25.219] [INFO] Starting HTTP server on port 3737... +[2025-10-24 13:45:25.226] [INFO] MCP HTTP server running on http://127.0.0.1:3737/mcp +[2025-10-24 13:45:25.258] [HTTP] GET /HumanAgent +[2025-10-24 13:45:25.258] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", + "cache-control": "max-age=0", "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", + "sec-ch-ua-platform": "\"macOS\"", + "upgrade-insecure-requests": "1", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", + "sec-fetch-site": "none", + "sec-fetch-mode": "navigate", + "sec-fetch-user": "?1", + "sec-fetch-dest": "document", "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:34:16.294] [HTTP] Handling GET request to /mcp -[2025-10-24 13:34:16.294] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:34:16.294] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:34:16.294] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:34:16.294] [SSE] URL: -"/mcp" -[2025-10-24 13:34:16.295] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:34:16.295] [HTTP] Added SSE connection. Total connections: 1 -[2025-10-24 13:34:16.295] [SSE] SSE connection added. Total: 1 -[2025-10-24 13:34:16.295] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:34:16.298] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:34:16.298] [HTTP] Request Headers: +[2025-10-24 13:45:25.258] [HTTP] Serving web interface at /HumanAgent +[2025-10-24 13:45:25.286] [HTTP] GET /sessions//messages +[2025-10-24 13:45:25.286] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -70,8 +45,139 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:34:16.906] [HTTP] GET /sessions -[2025-10-24 13:34:16.906] [HTTP] Request Headers: +[2025-10-24 13:45:25.300] [HTTP] GET /mcp +[2025-10-24 13:45:25.300] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:25.300] [HTTP] Handling GET request to /mcp +[2025-10-24 13:45:25.300] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:45:25.300] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:45:25.300] [SSE] Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:25.300] [SSE] URL: +"/mcp" +[2025-10-24 13:45:25.301] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:45:25.301] [HTTP] Added SSE connection. Total connections: 1 +[2025-10-24 13:45:25.301] [SSE] SSE connection added. Total: 1 +[2025-10-24 13:45:25.301] [SSE] Sent initial SSE message: +"data: {\"type\":\"connection\",\"status\":\"established\"}" +[2025-10-24 13:45:26.484] [HTTP] GET /HumanAgent +[2025-10-24 13:45:26.484] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "cache-control": "max-age=0", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "\"macOS\"", + "upgrade-insecure-requests": "1", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", + "sec-fetch-site": "none", + "sec-fetch-mode": "navigate", + "sec-fetch-user": "?1", + "sec-fetch-dest": "document", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:26.484] [HTTP] Serving web interface at /HumanAgent +[2025-10-24 13:45:26.490] [HTTP] SSE connection closed +[2025-10-24 13:45:26.490] [HTTP] Removed SSE connection. Total connections: 0 +[2025-10-24 13:45:26.490] [HTTP] SSE connection closed +[2025-10-24 13:45:26.490] [HTTP] Removed SSE connection. Total connections: 0 +[2025-10-24 13:45:26.500] [HTTP] GET /sessions//messages +[2025-10-24 13:45:26.500] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:26.504] [HTTP] GET /mcp +[2025-10-24 13:45:26.505] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:26.505] [HTTP] Handling GET request to /mcp +[2025-10-24 13:45:26.505] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:45:26.505] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:45:26.505] [SSE] Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:26.505] [SSE] URL: +"/mcp" +[2025-10-24 13:45:26.505] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:45:26.505] [HTTP] Added SSE connection. Total connections: 1 +[2025-10-24 13:45:26.505] [SSE] SSE connection added. Total: 1 +[2025-10-24 13:45:26.506] [SSE] Sent initial SSE message: +"data: {\"type\":\"connection\",\"status\":\"established\"}" +[2025-10-24 13:45:27.319] [HTTP] GET /sessions +[2025-10-24 13:45:27.319] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -81,8 +187,49 @@ "user-agent": "node", "accept-encoding": "gzip, deflate" } -[2025-10-24 13:34:17.013] [HTTP] POST /mcp -[2025-10-24 13:34:17.014] [HTTP] Request Headers: +[2025-10-24 13:45:27.343] [HTTP] GET /HumanAgent +[2025-10-24 13:45:27.343] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "cache-control": "max-age=0", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "\"macOS\"", + "upgrade-insecure-requests": "1", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", + "sec-fetch-site": "none", + "sec-fetch-mode": "navigate", + "sec-fetch-user": "?1", + "sec-fetch-dest": "document", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:27.343] [HTTP] Serving web interface at /HumanAgent +[2025-10-24 13:45:27.350] [HTTP] SSE connection closed +[2025-10-24 13:45:27.350] [HTTP] Removed SSE connection. Total connections: 0 +[2025-10-24 13:45:27.350] [HTTP] SSE connection closed +[2025-10-24 13:45:27.350] [HTTP] Removed SSE connection. Total connections: 0 +[2025-10-24 13:45:27.371] [HTTP] GET /sessions//messages +[2025-10-24 13:45:27.371] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:27.376] [HTTP] POST /mcp +[2025-10-24 13:45:27.376] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -94,27 +241,27 @@ "accept-encoding": "gzip, deflate", "content-length": "82" } -[2025-10-24 13:34:17.014] [HTTP] Handling POST request to /mcp -[2025-10-24 13:34:17.014] [HTTP] Received chunk: 82 bytes -[2025-10-24 13:34:17.014] [HTTP] Complete request body received (82 bytes) -[2025-10-24 13:34:17.014] [HTTP] Request Body: +[2025-10-24 13:45:27.376] [HTTP] Handling POST request to /mcp +[2025-10-24 13:45:27.377] [HTTP] Received chunk: 82 bytes +[2025-10-24 13:45:27.377] [HTTP] Complete request body received (82 bytes) +[2025-10-24 13:45:27.377] [HTTP] Request Body: "{\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"method\":\"tools/list\"}" -[2025-10-24 13:34:17.014] [HTTP] Parsed JSON message: +[2025-10-24 13:45:27.377] [HTTP] Parsed JSON message: { "sessionId": "session-a8f49eee-068c-42f1-b611-14651fa5ccc6", "method": "tools/list" } -[2025-10-24 13:34:17.014] [MCP] Handling message: +[2025-10-24 13:45:27.377] [MCP] Handling message: { "sessionId": "session-a8f49eee-068c-42f1-b611-14651fa5ccc6", "method": "tools/list" } -[2025-10-24 13:34:17.014] [MCP] Processing tools/list request -[2025-10-24 13:34:17.014] [TOOLS] tools/list request - Extension sessionId: undefined, Message params: undefined -[2025-10-24 13:34:17.014] [TOOLS] Final sessionIdToUse: default -[2025-10-24 13:34:17.014] [TOOLS] Returning 1 tools for session: default -[2025-10-24 13:34:17.014] [TOOLS] Using default tools (no session ID available) -[2025-10-24 13:34:17.014] [HTTP] Response from handleMessage: +[2025-10-24 13:45:27.377] [MCP] Processing tools/list request +[2025-10-24 13:45:27.377] [TOOLS] tools/list request - Extension sessionId: undefined, Message params: undefined +[2025-10-24 13:45:27.377] [TOOLS] Final sessionIdToUse: default +[2025-10-24 13:45:27.377] [TOOLS] Returning 1 tools for session: default +[2025-10-24 13:45:27.377] [TOOLS] Using default tools (no session ID available) +[2025-10-24 13:45:27.377] [HTTP] Response from handleMessage: { "type": "response", "result": { @@ -162,9 +309,54 @@ ] } } -[2025-10-24 13:34:17.014] [HTTP] Sending 200 response (1201 bytes) -[2025-10-24 13:34:17.027] [HTTP] POST /sessions/register -[2025-10-24 13:34:17.027] [HTTP] Request Headers: +[2025-10-24 13:45:27.377] [HTTP] Sending 200 response (1201 bytes) +[2025-10-24 13:45:27.378] [HTTP] GET /mcp +[2025-10-24 13:45:27.378] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:27.378] [HTTP] Handling GET request to /mcp +[2025-10-24 13:45:27.378] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:45:27.378] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:45:27.378] [SSE] Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:27.378] [SSE] URL: +"/mcp" +[2025-10-24 13:45:27.378] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:45:27.378] [HTTP] Added SSE connection. Total connections: 1 +[2025-10-24 13:45:27.378] [SSE] SSE connection added. Total: 1 +[2025-10-24 13:45:27.378] [SSE] Sent initial SSE message: +"data: {\"type\":\"connection\",\"status\":\"established\"}" +[2025-10-24 13:45:27.393] [HTTP] POST /sessions/register +[2025-10-24 13:45:27.393] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -176,9 +368,9 @@ "accept-encoding": "gzip, deflate", "content-length": "103" } -[2025-10-24 13:34:17.030] [INFO] Session registered: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 (1 total sessions) -[2025-10-24 13:34:17.141] [HTTP] OPTIONS /mcp -[2025-10-24 13:34:17.141] [HTTP] Request Headers: +[2025-10-24 13:45:27.393] [INFO] Session registered: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 (1 total sessions) +[2025-10-24 13:45:27.457] [HTTP] OPTIONS /mcp +[2025-10-24 13:45:27.457] [HTTP] Request Headers: { "host": "localhost:3737", "connection": "keep-alive", @@ -193,9 +385,9 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en-GB" } -[2025-10-24 13:34:17.141] [HTTP] Handling OPTIONS preflight request -[2025-10-24 13:34:17.142] [HTTP] GET /mcp -[2025-10-24 13:34:17.142] [HTTP] Request Headers: +[2025-10-24 13:45:27.458] [HTTP] Handling OPTIONS preflight request +[2025-10-24 13:45:27.458] [HTTP] GET /mcp +[2025-10-24 13:45:27.459] [HTTP] Request Headers: { "host": "localhost:3737", "connection": "keep-alive", @@ -212,10 +404,10 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en-GB" } -[2025-10-24 13:34:17.142] [HTTP] Handling GET request to /mcp -[2025-10-24 13:34:17.142] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:34:17.142] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:34:17.142] [SSE] Headers: +[2025-10-24 13:45:27.459] [HTTP] Handling GET request to /mcp +[2025-10-24 13:45:27.459] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:45:27.459] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:45:27.459] [SSE] Headers: { "host": "localhost:3737", "connection": "keep-alive", @@ -232,15 +424,221 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en-GB" } -[2025-10-24 13:34:17.142] [SSE] URL: +[2025-10-24 13:45:27.459] [SSE] URL: "/mcp" -[2025-10-24 13:34:17.142] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:34:17.144] [HTTP] Added SSE connection. Total connections: 2 -[2025-10-24 13:34:17.144] [SSE] SSE connection added. Total: 2 -[2025-10-24 13:34:17.144] [SSE] Sent initial SSE message: +[2025-10-24 13:45:27.459] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:45:27.459] [HTTP] Added SSE connection. Total connections: 2 +[2025-10-24 13:45:27.459] [SSE] SSE connection added. Total: 2 +[2025-10-24 13:45:27.459] [SSE] Sent initial SSE message: "data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:34:26.899] [HTTP] POST /mcp -[2025-10-24 13:34:26.899] [HTTP] Request Headers: +[2025-10-24 13:45:28.179] [HTTP] GET /HumanAgent +[2025-10-24 13:45:28.179] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "cache-control": "max-age=0", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "\"macOS\"", + "upgrade-insecure-requests": "1", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", + "sec-fetch-site": "none", + "sec-fetch-mode": "navigate", + "sec-fetch-user": "?1", + "sec-fetch-dest": "document", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.179] [HTTP] Serving web interface at /HumanAgent +[2025-10-24 13:45:28.185] [HTTP] SSE connection closed +[2025-10-24 13:45:28.185] [HTTP] Removed SSE connection. Total connections: 1 +[2025-10-24 13:45:28.185] [HTTP] SSE connection closed +[2025-10-24 13:45:28.185] [HTTP] Removed SSE connection. Total connections: 1 +[2025-10-24 13:45:28.196] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages +[2025-10-24 13:45:28.196] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.204] [HTTP] GET /mcp +[2025-10-24 13:45:28.204] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.204] [HTTP] Handling GET request to /mcp +[2025-10-24 13:45:28.204] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:45:28.204] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:45:28.204] [SSE] Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.204] [SSE] URL: +"/mcp" +[2025-10-24 13:45:28.204] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:45:28.204] [HTTP] Added SSE connection. Total connections: 2 +[2025-10-24 13:45:28.204] [SSE] SSE connection added. Total: 2 +[2025-10-24 13:45:28.204] [SSE] Sent initial SSE message: +"data: {\"type\":\"connection\",\"status\":\"established\"}" +[2025-10-24 13:45:28.208] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages +[2025-10-24 13:45:28.208] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.360] [HTTP] GET /HumanAgent +[2025-10-24 13:45:28.360] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "cache-control": "max-age=0", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-ch-ua-platform": "\"macOS\"", + "upgrade-insecure-requests": "1", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", + "sec-fetch-site": "none", + "sec-fetch-mode": "navigate", + "sec-fetch-user": "?1", + "sec-fetch-dest": "document", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.360] [HTTP] Serving web interface at /HumanAgent +[2025-10-24 13:45:28.363] [HTTP] SSE connection closed +[2025-10-24 13:45:28.364] [HTTP] Removed SSE connection. Total connections: 1 +[2025-10-24 13:45:28.364] [HTTP] SSE connection closed +[2025-10-24 13:45:28.364] [HTTP] Removed SSE connection. Total connections: 1 +[2025-10-24 13:45:28.373] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages +[2025-10-24 13:45:28.373] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.379] [HTTP] GET /mcp +[2025-10-24 13:45:28.379] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.379] [HTTP] Handling GET request to /mcp +[2025-10-24 13:45:28.379] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:45:28.379] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:45:28.379] [SSE] Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:45:28.379] [SSE] URL: +"/mcp" +[2025-10-24 13:45:28.379] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:45:28.379] [HTTP] Added SSE connection. Total connections: 2 +[2025-10-24 13:45:28.379] [SSE] SSE connection added. Total: 2 +[2025-10-24 13:45:28.379] [SSE] Sent initial SSE message: +"data: {\"type\":\"connection\",\"status\":\"established\"}" +[2025-10-24 13:45:28.382] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages +[2025-10-24 13:45:28.382] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:46:15.562] [HTTP] POST /mcp +[2025-10-24 13:46:15.562] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -252,12 +650,12 @@ "accept-encoding": "gzip, deflate", "content-length": "228" } -[2025-10-24 13:34:26.899] [HTTP] Handling POST request to /mcp -[2025-10-24 13:34:26.899] [HTTP] Received chunk: 228 bytes -[2025-10-24 13:34:26.899] [HTTP] Complete request body received (228 bytes) -[2025-10-24 13:34:26.899] [HTTP] Request Body: +[2025-10-24 13:46:15.562] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:15.562] [HTTP] Received chunk: 228 bytes +[2025-10-24 13:46:15.562] [HTTP] Complete request body received (228 bytes) +[2025-10-24 13:46:15.562] [HTTP] Request Body: "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"initialize\",\"params\":{\"protocolVersion\":\"2025-06-18\",\"capabilities\":{\"roots\":{\"listChanged\":true},\"sampling\":{},\"elicitation\":{}},\"clientInfo\":{\"name\":\"Visual Studio Code\",\"version\":\"1.105.1\"}}}" -[2025-10-24 13:34:26.899] [HTTP] Parsed JSON message: +[2025-10-24 13:46:15.562] [HTTP] Parsed JSON message: { "jsonrpc": "2.0", "id": 1, @@ -277,7 +675,7 @@ } } } -[2025-10-24 13:34:26.899] [MCP] Handling message: +[2025-10-24 13:46:15.562] [MCP] Handling message: { "jsonrpc": "2.0", "id": 1, @@ -297,8 +695,8 @@ } } } -[2025-10-24 13:34:26.899] [MCP] Processing initialize request -[2025-10-24 13:34:26.899] [HTTP] Response from handleMessage: +[2025-10-24 13:46:15.562] [MCP] Processing initialize request +[2025-10-24 13:46:15.562] [HTTP] Response from handleMessage: { "id": 1, "type": "response", @@ -315,9 +713,9 @@ } } } -[2025-10-24 13:34:26.899] [HTTP] Sending 200 response (192 bytes) -[2025-10-24 13:34:26.905] [HTTP] GET /mcp -[2025-10-24 13:34:26.905] [HTTP] Request Headers: +[2025-10-24 13:46:15.563] [HTTP] Sending 200 response (192 bytes) +[2025-10-24 13:46:15.568] [HTTP] GET /mcp +[2025-10-24 13:46:15.568] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -327,10 +725,10 @@ "user-agent": "undici", "accept-encoding": "gzip, deflate" } -[2025-10-24 13:34:26.905] [HTTP] Handling GET request to /mcp -[2025-10-24 13:34:26.905] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:34:26.905] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:34:26.905] [SSE] Headers: +[2025-10-24 13:46:15.568] [HTTP] Handling GET request to /mcp +[2025-10-24 13:46:15.568] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:46:15.568] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:46:15.568] [SSE] Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -340,15 +738,15 @@ "user-agent": "undici", "accept-encoding": "gzip, deflate" } -[2025-10-24 13:34:26.905] [SSE] URL: +[2025-10-24 13:46:15.568] [SSE] URL: "/mcp" -[2025-10-24 13:34:26.905] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:34:26.905] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:34:26.905] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:34:26.905] [SSE] Sent initial SSE message: +[2025-10-24 13:46:15.569] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:46:15.569] [HTTP] Added SSE connection. Total connections: 3 +[2025-10-24 13:46:15.569] [SSE] SSE connection added. Total: 3 +[2025-10-24 13:46:15.569] [SSE] Sent initial SSE message: "data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:34:26.910] [HTTP] POST /mcp -[2025-10-24 13:34:26.910] [HTTP] Request Headers: +[2025-10-24 13:46:15.572] [HTTP] POST /mcp +[2025-10-24 13:46:15.572] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -360,26 +758,26 @@ "accept-encoding": "gzip, deflate", "content-length": "54" } -[2025-10-24 13:34:26.910] [HTTP] Handling POST request to /mcp -[2025-10-24 13:34:26.910] [HTTP] Received chunk: 54 bytes -[2025-10-24 13:34:26.910] [HTTP] Complete request body received (54 bytes) -[2025-10-24 13:34:26.910] [HTTP] Request Body: +[2025-10-24 13:46:15.572] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:15.572] [HTTP] Received chunk: 54 bytes +[2025-10-24 13:46:15.573] [HTTP] Complete request body received (54 bytes) +[2025-10-24 13:46:15.573] [HTTP] Request Body: "{\"method\":\"notifications/initialized\",\"jsonrpc\":\"2.0\"}" -[2025-10-24 13:34:26.910] [HTTP] Parsed JSON message: +[2025-10-24 13:46:15.573] [HTTP] Parsed JSON message: { "method": "notifications/initialized", "jsonrpc": "2.0" } -[2025-10-24 13:34:26.910] [MCP] Handling message: +[2025-10-24 13:46:15.573] [MCP] Handling message: { "method": "notifications/initialized", "jsonrpc": "2.0" } -[2025-10-24 13:34:26.910] [MCP] Processing notifications/initialized (ignoring) -[2025-10-24 13:34:26.910] [HTTP] Response from handleMessage: -[2025-10-24 13:34:26.910] [HTTP] Sending 202 response (no content) -[2025-10-24 13:34:26.912] [HTTP] POST /mcp -[2025-10-24 13:34:26.912] [HTTP] Request Headers: +[2025-10-24 13:46:15.573] [MCP] Processing notifications/initialized (ignoring) +[2025-10-24 13:46:15.573] [HTTP] Response from handleMessage: +[2025-10-24 13:46:15.573] [HTTP] Sending 202 response (no content) +[2025-10-24 13:46:15.574] [HTTP] POST /mcp +[2025-10-24 13:46:15.574] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -391,31 +789,31 @@ "accept-encoding": "gzip, deflate", "content-length": "58" } -[2025-10-24 13:34:26.912] [HTTP] Handling POST request to /mcp -[2025-10-24 13:34:26.912] [HTTP] Received chunk: 58 bytes -[2025-10-24 13:34:26.912] [HTTP] Complete request body received (58 bytes) -[2025-10-24 13:34:26.912] [HTTP] Request Body: +[2025-10-24 13:46:15.574] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:15.574] [HTTP] Received chunk: 58 bytes +[2025-10-24 13:46:15.574] [HTTP] Complete request body received (58 bytes) +[2025-10-24 13:46:15.574] [HTTP] Request Body: "{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\",\"params\":{}}" -[2025-10-24 13:34:26.912] [HTTP] Parsed JSON message: +[2025-10-24 13:46:15.574] [HTTP] Parsed JSON message: { "jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": {} } -[2025-10-24 13:34:26.912] [MCP] Handling message: +[2025-10-24 13:46:15.574] [MCP] Handling message: { "jsonrpc": "2.0", "id": 2, "method": "tools/list", "params": {} } -[2025-10-24 13:34:26.912] [MCP] Processing tools/list request -[2025-10-24 13:34:26.912] [TOOLS] tools/list request - Extension sessionId: undefined, Message params: {} -[2025-10-24 13:34:26.912] [TOOLS] Final sessionIdToUse: default -[2025-10-24 13:34:26.912] [TOOLS] Returning 1 tools for session: default -[2025-10-24 13:34:26.912] [TOOLS] Using default tools (no session ID available) -[2025-10-24 13:34:26.912] [HTTP] Response from handleMessage: +[2025-10-24 13:46:15.574] [MCP] Processing tools/list request +[2025-10-24 13:46:15.574] [TOOLS] tools/list request - Extension sessionId: undefined, Message params: {} +[2025-10-24 13:46:15.574] [TOOLS] Final sessionIdToUse: default +[2025-10-24 13:46:15.574] [TOOLS] Returning 1 tools for session: default +[2025-10-24 13:46:15.574] [TOOLS] Using default tools (no session ID available) +[2025-10-24 13:46:15.574] [HTTP] Response from handleMessage: { "id": 2, "type": "response", @@ -464,9 +862,9 @@ ] } } -[2025-10-24 13:34:26.912] [HTTP] Sending 200 response (1208 bytes) -[2025-10-24 13:34:26.912] [HTTP] POST /mcp -[2025-10-24 13:34:26.912] [HTTP] Request Headers: +[2025-10-24 13:46:15.575] [HTTP] Sending 200 response (1208 bytes) +[2025-10-24 13:46:15.575] [HTTP] POST /mcp +[2025-10-24 13:46:15.575] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -476,14 +874,14 @@ "sec-fetch-mode": "cors", "user-agent": "undici", "accept-encoding": "gzip, deflate", - "content-length": "474" + "content-length": "453" } -[2025-10-24 13:34:26.912] [HTTP] Handling POST request to /mcp -[2025-10-24 13:34:26.912] [HTTP] Received chunk: 474 bytes -[2025-10-24 13:34:26.912] [HTTP] Complete request body received (474 bytes) -[2025-10-24 13:34:26.912] [HTTP] Request Body: -"{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as you requested. What would you like to discuss or work on today?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"c46c58d7-9122-4a1f-97de-6b8611b52213\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"38da39d6-00a4-4785-a2e7-e6934940dc7d\"}}}" -[2025-10-24 13:34:26.913] [HTTP] Parsed JSON message: +[2025-10-24 13:46:15.575] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:15.575] [HTTP] Received chunk: 453 bytes +[2025-10-24 13:46:15.575] [HTTP] Complete request body received (453 bytes) +[2025-10-24 13:46:15.575] [HTTP] Request Body: +"{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"c16037e0-dd6c-4883-8ac3-4ef1b2633d62\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"1f06d886-97be-469d-bee8-a395eda1438b\"}}}" +[2025-10-24 13:46:15.575] [HTTP] Parsed JSON message: { "jsonrpc": "2.0", "id": 3, @@ -491,17 +889,17 @@ "params": { "name": "HumanAgent_Chat", "arguments": { - "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as you requested. What would you like to discuss or work on today?", + "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?", "priority": "normal" }, "_meta": { - "progressToken": "c46c58d7-9122-4a1f-97de-6b8611b52213", + "progressToken": "c16037e0-dd6c-4883-8ac3-4ef1b2633d62", "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", - "vscode.requestId": "38da39d6-00a4-4785-a2e7-e6934940dc7d" + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" } } } -[2025-10-24 13:34:26.913] [MCP] Handling message: +[2025-10-24 13:46:15.575] [MCP] Handling message: { "jsonrpc": "2.0", "id": 3, @@ -509,50 +907,254 @@ "params": { "name": "HumanAgent_Chat", "arguments": { - "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as you requested. What would you like to discuss or work on today?", + "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?", "priority": "normal" }, "_meta": { - "progressToken": "c46c58d7-9122-4a1f-97de-6b8611b52213", + "progressToken": "c16037e0-dd6c-4883-8ac3-4ef1b2633d62", "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", - "vscode.requestId": "38da39d6-00a4-4785-a2e7-e6934940dc7d" + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" } } } -[2025-10-24 13:34:26.913] [MCP] Processing tools/call request for tool: HumanAgent_Chat -[2025-10-24 13:34:26.913] [MCP] Auto-mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:26.913] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.575] [MCP] Processing tools/call request for tool: HumanAgent_Chat +[2025-10-24 13:46:15.576] [MCP] Auto-mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.576] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 { "name": "HumanAgent_Chat", "args": { - "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as you requested. What would you like to discuss or work on today?", + "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?", "priority": "normal" } } -[2025-10-24 13:34:26.913] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: +[2025-10-24 13:46:15.576] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: [ "HumanAgent_Chat" ] -[2025-10-24 13:34:26.913] [MCP] Executing HumanAgent_Chat tool -[2025-10-24 13:34:26.913] [TOOL] HumanAgent_Chat called with params: +[2025-10-24 13:46:15.576] [MCP] Executing HumanAgent_Chat tool +[2025-10-24 13:46:15.576] [TOOL] HumanAgent_Chat called with params: { - "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as you requested. What would you like to discuss or work on today?", + "message": "Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?", "priority": "normal" } -[2025-10-24 13:34:26.913] [TOOL] Using timeout: 300000ms (300s) -[2025-10-24 13:34:26.913] [TOOL] Generated request ID: 3-1761273266913 -[2025-10-24 13:34:26.913] [TOOL] Displaying message in chat UI: -"Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as you requested. What would you like to discuss or work on today?" -[2025-10-24 13:34:26.913] [TOOL] Adding pending request 3-1761273266913 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:26.913] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Hello Ben! I'm here and ready to chat with you exc... -[2025-10-24 13:34:26.913] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Hello Ben! I'm here and ready to chat with you exc... -[2025-10-24 13:34:26.913] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:26.913] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:26.913] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:26.913] [CHAT] [INFO] Added pending request 3-1761273266913 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:26.913] [TOOL] Request 3-1761273266913 waiting for human response... -[2025-10-24 13:34:46.805] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/state -[2025-10-24 13:34:46.805] [HTTP] Request Headers: +[2025-10-24 13:46:15.576] [TOOL] Using timeout: 300000ms (300s) +[2025-10-24 13:46:15.576] [TOOL] Generated request ID: 3-1761273975576 +[2025-10-24 13:46:15.576] [TOOL] Displaying message in chat UI: +"Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?" +[2025-10-24 13:46:15.576] [TOOL] Adding pending request 3-1761273975576 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.576] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Hello Ben! I'm here and ready to chat with you exc... +[2025-10-24 13:46:15.576] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Hello Ben! I'm here and ready to chat with you exc... +[2025-10-24 13:46:15.576] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.576] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.576] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.576] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:15.576] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"3-1761273975576\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"waiting_for_response\",\"message\":\"Hello Ben! I'm here and ready to chat with you exclusively through the human agent interface as requested. What would you like to discuss?\",\"timestamp\":\"2025-10-24T02:46:15.576Z\"}}" +[2025-10-24 13:46:15.576] [CHAT] [INFO] Added pending request 3-1761273975576 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:15.576] [TOOL] Request 3-1761273975576 waiting for human response... +[2025-10-24 13:46:25.958] [HTTP] POST /response +[2025-10-24 13:46:25.959] [HTTP] Request Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "content-type": "application/json", + "accept": "*/*", + "accept-language": "*", + "sec-fetch-mode": "cors", + "user-agent": "node", + "accept-encoding": "gzip, deflate", + "content-length": "62" +} +[2025-10-24 13:46:25.960] [HTTP] === RESPONSE ENDPOINT CALLED === +[2025-10-24 13:46:25.960] [HTTP] Request ID: 3-1761273975576, Response: VSCode Response - +[2025-10-24 13:46:25.960] [HTTP] Found pending request: true +[2025-10-24 13:46:25.960] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:25.960] [HTTP] Storing and broadcasting user message to 3 SSE connections +[2025-10-24 13:46:25.960] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - VSCode Response -... +[2025-10-24 13:46:25.960] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: VSCode Response -... +[2025-10-24 13:46:25.960] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:25.960] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:25.960] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:25.960] [CHAT] [INFO] Removed pending request 3-1761273975576 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:25.960] [HTTP] Broadcast completed and pending request removed from ChatManager +[2025-10-24 13:46:25.960] [SERVER] Received human response for request 3-1761273975576: +"VSCode Response -" +[2025-10-24 13:46:25.960] [TOOL] Request 3-1761273975576 completed with response: +"VSCode Response -" +[2025-10-24 13:46:25.960] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:25.960] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"3-1761273975576\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"completed\",\"response\":\"VSCode Response -\",\"timestamp\":\"2025-10-24T02:46:25.960Z\"}}" +[2025-10-24 13:46:25.961] [HTTP] Response from handleMessage: +{ + "id": 3, + "type": "response", + "result": { + "content": [ + { + "type": "text", + "text": "VSCode Response -" + } + ] + } +} +[2025-10-24 13:46:25.961] [HTTP] Sending 200 response (92 bytes) +[2025-10-24 13:46:25.972] [HTTP] SSE connection closed +[2025-10-24 13:46:25.972] [HTTP] Removed SSE connection. Total connections: 2 +[2025-10-24 13:46:25.972] [HTTP] SSE connection closed +[2025-10-24 13:46:25.972] [HTTP] Removed SSE connection. Total connections: 2 +[2025-10-24 13:46:25.988] [HTTP] OPTIONS /mcp +[2025-10-24 13:46:25.988] [HTTP] Request Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "accept": "*/*", + "access-control-request-method": "GET", + "access-control-request-headers": "cache-control", + "origin": "vscode-webview://06ntb21jilovkpqhp3n8qs6oen2rlig4drgi2amm3ehub2r9bg30", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.105.1 Chrome/138.0.7204.251 Electron/37.6.0 Safari/537.36", + "sec-fetch-mode": "cors", + "sec-fetch-site": "cross-site", + "sec-fetch-dest": "empty", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en-GB" +} +[2025-10-24 13:46:25.988] [HTTP] Handling OPTIONS preflight request +[2025-10-24 13:46:25.989] [HTTP] GET /mcp +[2025-10-24 13:46:25.989] [HTTP] Request Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.105.1 Chrome/138.0.7204.251 Electron/37.6.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\"", + "sec-ch-ua-mobile": "?0", + "origin": "vscode-webview://06ntb21jilovkpqhp3n8qs6oen2rlig4drgi2amm3ehub2r9bg30", + "sec-fetch-site": "cross-site", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en-GB" +} +[2025-10-24 13:46:25.989] [HTTP] Handling GET request to /mcp +[2025-10-24 13:46:25.989] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:46:25.989] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:46:25.989] [SSE] Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.105.1 Chrome/138.0.7204.251 Electron/37.6.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\"", + "sec-ch-ua-mobile": "?0", + "origin": "vscode-webview://06ntb21jilovkpqhp3n8qs6oen2rlig4drgi2amm3ehub2r9bg30", + "sec-fetch-site": "cross-site", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en-GB" +} +[2025-10-24 13:46:25.989] [SSE] URL: +"/mcp" +[2025-10-24 13:46:25.989] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:46:25.989] [HTTP] Added SSE connection. Total connections: 3 +[2025-10-24 13:46:25.989] [SSE] SSE connection added. Total: 3 +[2025-10-24 13:46:25.989] [SSE] Sent initial SSE message: +"data: {\"type\":\"connection\",\"status\":\"established\"}" +[2025-10-24 13:46:30.658] [HTTP] POST /mcp +[2025-10-24 13:46:30.658] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "content-type": "application/json", + "accept": "text/event-stream, application/json", + "accept-language": "*", + "sec-fetch-mode": "cors", + "user-agent": "undici", + "accept-encoding": "gzip, deflate", + "content-length": "506" +} +[2025-10-24 13:46:30.658] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:30.658] [HTTP] Received chunk: 506 bytes +[2025-10-24 13:46:30.658] [HTTP] Complete request body received (506 bytes) +[2025-10-24 13:46:30.658] [HTTP] Request Body: +"{\"jsonrpc\":\"2.0\",\"id\":4,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"cd216198-c52b-40b9-b5c5-6ee4b4adb5d5\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"1f06d886-97be-469d-bee8-a395eda1438b\"}}}" +[2025-10-24 13:46:30.658] [HTTP] Parsed JSON message: +{ + "jsonrpc": "2.0", + "id": 4, + "method": "tools/call", + "params": { + "name": "HumanAgent_Chat", + "arguments": { + "message": "Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?", + "priority": "normal" + }, + "_meta": { + "progressToken": "cd216198-c52b-40b9-b5c5-6ee4b4adb5d5", + "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" + } + } +} +[2025-10-24 13:46:30.658] [MCP] Handling message: +{ + "jsonrpc": "2.0", + "id": 4, + "method": "tools/call", + "params": { + "name": "HumanAgent_Chat", + "arguments": { + "message": "Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?", + "priority": "normal" + }, + "_meta": { + "progressToken": "cd216198-c52b-40b9-b5c5-6ee4b4adb5d5", + "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" + } + } +} +[2025-10-24 13:46:30.658] [MCP] Processing tools/call request for tool: HumanAgent_Chat +[2025-10-24 13:46:30.658] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:30.658] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +{ + "name": "HumanAgent_Chat", + "args": { + "message": "Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?", + "priority": "normal" + } +} +[2025-10-24 13:46:30.658] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: +[ + "HumanAgent_Chat" +] +[2025-10-24 13:46:30.658] [MCP] Executing HumanAgent_Chat tool +[2025-10-24 13:46:30.658] [TOOL] HumanAgent_Chat called with params: +{ + "message": "Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?", + "priority": "normal" +} +[2025-10-24 13:46:30.658] [TOOL] Using timeout: 300000ms (300s) +[2025-10-24 13:46:30.658] [TOOL] Generated request ID: 4-1761273990658 +[2025-10-24 13:46:30.658] [TOOL] Displaying message in chat UI: +"Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?" +[2025-10-24 13:46:30.658] [TOOL] Adding pending request 4-1761273990658 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:30.658] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Perfect, Ben! I can see your response coming throu... +[2025-10-24 13:46:30.658] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Perfect, Ben! I can see your response coming throu... +[2025-10-24 13:46:30.658] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:30.658] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:30.658] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:30.658] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:30.658] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"4-1761273990658\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"waiting_for_response\",\"message\":\"Perfect, Ben! I can see your response coming through VS Code. I'm keeping our conversation flowing only through this human agent chat as you requested. What would you like to talk about next?\",\"timestamp\":\"2025-10-24T02:46:30.658Z\"}}" +[2025-10-24 13:46:30.658] [CHAT] [INFO] Added pending request 4-1761273990658 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:30.658] [TOOL] Request 4-1761273990658 waiting for human response... +[2025-10-24 13:46:34.986] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/state +[2025-10-24 13:46:34.986] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -568,8 +1170,8 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:34:46.815] [HTTP] POST /response -[2025-10-24 13:34:46.815] [HTTP] Request Headers: +[2025-10-24 13:46:34.991] [HTTP] POST /response +[2025-10-24 13:46:34.992] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -588,38 +1190,41 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:34:46.817] [HTTP] === RESPONSE ENDPOINT CALLED === -[2025-10-24 13:34:46.817] [HTTP] Request ID: 3-1761273266913, Response: Web Response -[2025-10-24 13:34:46.817] [HTTP] Found pending request: true -[2025-10-24 13:34:46.817] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:46.817] [HTTP] Storing and broadcasting user message to 3 SSE connections -[2025-10-24 13:34:46.817] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - Web Response... -[2025-10-24 13:34:46.817] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Web Response... -[2025-10-24 13:34:46.817] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:46.817] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:46.817] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:46.817] [CHAT] [INFO] Removed pending request 3-1761273266913 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:46.817] [HTTP] Broadcast completed and pending request removed from ChatManager -[2025-10-24 13:34:46.818] [SERVER] Received human response for request 3-1761273266913: -"Web Response" -[2025-10-24 13:34:46.818] [TOOL] Request 3-1761273266913 completed with response: -"Web Response" -[2025-10-24 13:34:46.818] [HTTP] Response from handleMessage: +[2025-10-24 13:46:34.992] [HTTP] === RESPONSE ENDPOINT CALLED === +[2025-10-24 13:46:34.992] [HTTP] Request ID: 4-1761273990658, Response: web response +[2025-10-24 13:46:34.992] [HTTP] Found pending request: true +[2025-10-24 13:46:34.992] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:34.992] [HTTP] Storing and broadcasting user message to 3 SSE connections +[2025-10-24 13:46:34.992] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - web response... +[2025-10-24 13:46:34.992] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: web response... +[2025-10-24 13:46:34.992] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:34.992] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:34.992] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:34.992] [CHAT] [INFO] Removed pending request 4-1761273990658 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:34.992] [HTTP] Broadcast completed and pending request removed from ChatManager +[2025-10-24 13:46:34.992] [SERVER] Received human response for request 4-1761273990658: +"web response" +[2025-10-24 13:46:34.992] [TOOL] Request 4-1761273990658 completed with response: +"web response" +[2025-10-24 13:46:34.992] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:34.993] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"4-1761273990658\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"completed\",\"response\":\"web response\",\"timestamp\":\"2025-10-24T02:46:34.992Z\"}}" +[2025-10-24 13:46:34.993] [HTTP] Response from handleMessage: { - "id": 3, + "id": 4, "type": "response", "result": { "content": [ { "type": "text", - "text": "Web Response" + "text": "web response" } ] } } -[2025-10-24 13:34:46.818] [HTTP] Sending 200 response (87 bytes) -[2025-10-24 13:34:49.659] [HTTP] POST /mcp -[2025-10-24 13:34:49.659] [HTTP] Request Headers: +[2025-10-24 13:46:34.993] [HTTP] Sending 200 response (87 bytes) +[2025-10-24 13:46:37.563] [HTTP] POST /mcp +[2025-10-24 13:46:37.563] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -629,83 +1234,86 @@ "sec-fetch-mode": "cors", "user-agent": "undici", "accept-encoding": "gzip, deflate", - "content-length": "502" + "content-length": "497" } -[2025-10-24 13:34:49.659] [HTTP] Handling POST request to /mcp -[2025-10-24 13:34:49.659] [HTTP] Received chunk: 502 bytes -[2025-10-24 13:34:49.659] [HTTP] Complete request body received (502 bytes) -[2025-10-24 13:34:49.659] [HTTP] Request Body: -"{\"jsonrpc\":\"2.0\",\"id\":4,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Perfect, Ben! I can see your web response came through clearly. I'm maintaining our conversation exclusively through this human agent chat interface as you requested. What's on your mind?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"a82e3f4e-06cc-4890-b4ce-2549dcd1d1d5\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"38da39d6-00a4-4785-a2e7-e6934940dc7d\"}}}" -[2025-10-24 13:34:49.659] [HTTP] Parsed JSON message: +[2025-10-24 13:46:37.563] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:37.564] [HTTP] Received chunk: 497 bytes +[2025-10-24 13:46:37.564] [HTTP] Complete request body received (497 bytes) +[2025-10-24 13:46:37.564] [HTTP] Request Body: +"{\"jsonrpc\":\"2.0\",\"id\":5,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"e4249493-9efb-4ed7-b13c-26859108294d\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"1f06d886-97be-469d-bee8-a395eda1438b\"}}}" +[2025-10-24 13:46:37.564] [HTTP] Parsed JSON message: { "jsonrpc": "2.0", - "id": 4, + "id": 5, "method": "tools/call", "params": { "name": "HumanAgent_Chat", "arguments": { - "message": "Perfect, Ben! I can see your web response came through clearly. I'm maintaining our conversation exclusively through this human agent chat interface as you requested. What's on your mind?", + "message": "Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?", "priority": "normal" }, "_meta": { - "progressToken": "a82e3f4e-06cc-4890-b4ce-2549dcd1d1d5", + "progressToken": "e4249493-9efb-4ed7-b13c-26859108294d", "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", - "vscode.requestId": "38da39d6-00a4-4785-a2e7-e6934940dc7d" + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" } } } -[2025-10-24 13:34:49.659] [MCP] Handling message: +[2025-10-24 13:46:37.564] [MCP] Handling message: { "jsonrpc": "2.0", - "id": 4, + "id": 5, "method": "tools/call", "params": { "name": "HumanAgent_Chat", "arguments": { - "message": "Perfect, Ben! I can see your web response came through clearly. I'm maintaining our conversation exclusively through this human agent chat interface as you requested. What's on your mind?", + "message": "Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?", "priority": "normal" }, "_meta": { - "progressToken": "a82e3f4e-06cc-4890-b4ce-2549dcd1d1d5", + "progressToken": "e4249493-9efb-4ed7-b13c-26859108294d", "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", - "vscode.requestId": "38da39d6-00a4-4785-a2e7-e6934940dc7d" + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" } } } -[2025-10-24 13:34:49.659] [MCP] Processing tools/call request for tool: HumanAgent_Chat -[2025-10-24 13:34:49.660] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:49.660] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [MCP] Processing tools/call request for tool: HumanAgent_Chat +[2025-10-24 13:46:37.564] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 { "name": "HumanAgent_Chat", "args": { - "message": "Perfect, Ben! I can see your web response came through clearly. I'm maintaining our conversation exclusively through this human agent chat interface as you requested. What's on your mind?", + "message": "Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?", "priority": "normal" } } -[2025-10-24 13:34:49.660] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: +[2025-10-24 13:46:37.564] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: [ "HumanAgent_Chat" ] -[2025-10-24 13:34:49.660] [MCP] Executing HumanAgent_Chat tool -[2025-10-24 13:34:49.660] [TOOL] HumanAgent_Chat called with params: +[2025-10-24 13:46:37.564] [MCP] Executing HumanAgent_Chat tool +[2025-10-24 13:46:37.564] [TOOL] HumanAgent_Chat called with params: { - "message": "Perfect, Ben! I can see your web response came through clearly. I'm maintaining our conversation exclusively through this human agent chat interface as you requested. What's on your mind?", + "message": "Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?", "priority": "normal" } -[2025-10-24 13:34:49.660] [TOOL] Using timeout: 300000ms (300s) -[2025-10-24 13:34:49.660] [TOOL] Generated request ID: 4-1761273289660 -[2025-10-24 13:34:49.660] [TOOL] Displaying message in chat UI: -"Perfect, Ben! I can see your web response came through clearly. I'm maintaining our conversation exclusively through this human agent chat interface as you requested. What's on your mind?" -[2025-10-24 13:34:49.660] [TOOL] Adding pending request 4-1761273289660 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:49.660] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Perfect, Ben! I can see your web response came thr... -[2025-10-24 13:34:49.660] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Perfect, Ben! I can see your web response came thr... -[2025-10-24 13:34:49.660] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:49.660] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:49.660] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:49.660] [CHAT] [INFO] Added pending request 4-1761273289660 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:34:49.660] [TOOL] Request 4-1761273289660 waiting for human response... -[2025-10-24 13:39:08.707] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/state -[2025-10-24 13:39:08.707] [HTTP] Request Headers: +[2025-10-24 13:46:37.564] [TOOL] Using timeout: 300000ms (300s) +[2025-10-24 13:46:37.564] [TOOL] Generated request ID: 5-1761273997564 +[2025-10-24 13:46:37.564] [TOOL] Displaying message in chat UI: +"Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?" +[2025-10-24 13:46:37.564] [TOOL] Adding pending request 5-1761273997564 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Great, Ben! Now I'm seeing your response from the ... +[2025-10-24 13:46:37.564] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Great, Ben! Now I'm seeing your response from the ... +[2025-10-24 13:46:37.564] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:37.564] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"5-1761273997564\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"waiting_for_response\",\"message\":\"Great, Ben! Now I'm seeing your response from the web interface. The human agent chat is working beautifully across both platforms. What would you like to explore or discuss further?\",\"timestamp\":\"2025-10-24T02:46:37.564Z\"}}" +[2025-10-24 13:46:37.564] [CHAT] [INFO] Added pending request 5-1761273997564 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.564] [TOOL] Request 5-1761273997564 waiting for human response... +[2025-10-24 13:46:37.880] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/state +[2025-10-24 13:46:37.880] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -721,12 +1329,12 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:39:08.715] [HTTP] POST /response -[2025-10-24 13:39:08.715] [HTTP] Request Headers: +[2025-10-24 13:46:37.893] [HTTP] POST /response +[2025-10-24 13:46:37.893] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", - "content-length": "50", + "content-length": "59", "sec-ch-ua-platform": "\"macOS\"", "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", @@ -741,38 +1349,58 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:39:08.716] [HTTP] === RESPONSE ENDPOINT CALLED === -[2025-10-24 13:39:08.716] [HTTP] Request ID: 4-1761273289660, Response: Web 2 -[2025-10-24 13:39:08.716] [HTTP] Found pending request: true -[2025-10-24 13:39:08.716] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:08.716] [HTTP] Storing and broadcasting user message to 3 SSE connections -[2025-10-24 13:39:08.716] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - Web 2... -[2025-10-24 13:39:08.716] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Web 2... -[2025-10-24 13:39:08.716] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:08.716] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:08.716] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:08.716] [CHAT] [INFO] Removed pending request 4-1761273289660 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:08.716] [HTTP] Broadcast completed and pending request removed from ChatManager -[2025-10-24 13:39:08.716] [SERVER] Received human response for request 4-1761273289660: -"Web 2" -[2025-10-24 13:39:08.716] [TOOL] Request 4-1761273289660 completed with response: -"Web 2" -[2025-10-24 13:39:08.716] [HTTP] Response from handleMessage: +[2025-10-24 13:46:37.893] [HTTP] === RESPONSE ENDPOINT CALLED === +[2025-10-24 13:46:37.893] [HTTP] Request ID: 5-1761273997564, Response: Web response 2 +[2025-10-24 13:46:37.893] [HTTP] Found pending request: true +[2025-10-24 13:46:37.893] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.894] [HTTP] Storing and broadcasting user message to 3 SSE connections +[2025-10-24 13:46:37.894] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - Web response 2... +[2025-10-24 13:46:37.894] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Web response 2... +[2025-10-24 13:46:37.894] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.894] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.894] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.894] [CHAT] [INFO] Removed pending request 5-1761273997564 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:37.894] [HTTP] Broadcast completed and pending request removed from ChatManager +[2025-10-24 13:46:37.894] [SERVER] Received human response for request 5-1761273997564: +"Web response 2" +[2025-10-24 13:46:37.894] [TOOL] Request 5-1761273997564 completed with response: +"Web response 2" +[2025-10-24 13:46:37.894] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:37.894] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"5-1761273997564\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"completed\",\"response\":\"Web response 2\",\"timestamp\":\"2025-10-24T02:46:37.894Z\"}}" +[2025-10-24 13:46:37.895] [HTTP] Response from handleMessage: { - "id": 4, + "id": 5, "type": "response", "result": { "content": [ { "type": "text", - "text": "Web 2" + "text": "Web response 2" } ] } } -[2025-10-24 13:39:08.716] [HTTP] Sending 200 response (80 bytes) -[2025-10-24 13:39:12.078] [HTTP] POST /mcp -[2025-10-24 13:39:12.078] [HTTP] Request Headers: +[2025-10-24 13:46:37.895] [HTTP] Sending 200 response (89 bytes) +[2025-10-24 13:46:39.688] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/state +[2025-10-24 13:46:39.688] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "sec-fetch-site": "same-origin", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "referer": "http://127.0.0.1:3737/HumanAgent", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" +} +[2025-10-24 13:46:40.827] [HTTP] POST /mcp +[2025-10-24 13:46:40.827] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -782,126 +1410,86 @@ "sec-fetch-mode": "cors", "user-agent": "undici", "accept-encoding": "gzip, deflate", - "content-length": "540" + "content-length": "546" } -[2025-10-24 13:39:12.078] [HTTP] Handling POST request to /mcp -[2025-10-24 13:39:12.079] [HTTP] Received chunk: 540 bytes -[2025-10-24 13:39:12.079] [HTTP] Complete request body received (540 bytes) -[2025-10-24 13:39:12.079] [HTTP] Request Body: -"{\"jsonrpc\":\"2.0\",\"id\":5,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Got it, Ben! Another message from the web interface - \\\"Web 2\\\". The human agent chat is working smoothly for our communication. Is there something specific you'd like to explore or discuss while we're testing this interface?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"f6328e74-470e-454d-b61d-0bfd7be1f71f\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"38da39d6-00a4-4785-a2e7-e6934940dc7d\"}}}" -[2025-10-24 13:39:12.079] [HTTP] Parsed JSON message: +[2025-10-24 13:46:40.828] [HTTP] Handling POST request to /mcp +[2025-10-24 13:46:40.828] [HTTP] Received chunk: 546 bytes +[2025-10-24 13:46:40.828] [HTTP] Complete request body received (546 bytes) +[2025-10-24 13:46:40.828] [HTTP] Request Body: +"{\"jsonrpc\":\"2.0\",\"id\":6,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"4b3749b0-6004-4616-9bed-7428dd4027aa\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"1f06d886-97be-469d-bee8-a395eda1438b\"}}}" +[2025-10-24 13:46:40.828] [HTTP] Parsed JSON message: { "jsonrpc": "2.0", - "id": 5, + "id": 6, "method": "tools/call", "params": { "name": "HumanAgent_Chat", "arguments": { - "message": "Got it, Ben! Another message from the web interface - \"Web 2\". The human agent chat is working smoothly for our communication. Is there something specific you'd like to explore or discuss while we're testing this interface?", + "message": "Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?", "priority": "normal" }, "_meta": { - "progressToken": "f6328e74-470e-454d-b61d-0bfd7be1f71f", + "progressToken": "4b3749b0-6004-4616-9bed-7428dd4027aa", "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", - "vscode.requestId": "38da39d6-00a4-4785-a2e7-e6934940dc7d" + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" } } } -[2025-10-24 13:39:12.079] [MCP] Handling message: +[2025-10-24 13:46:40.828] [MCP] Handling message: { "jsonrpc": "2.0", - "id": 5, + "id": 6, "method": "tools/call", "params": { "name": "HumanAgent_Chat", "arguments": { - "message": "Got it, Ben! Another message from the web interface - \"Web 2\". The human agent chat is working smoothly for our communication. Is there something specific you'd like to explore or discuss while we're testing this interface?", + "message": "Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?", "priority": "normal" }, "_meta": { - "progressToken": "f6328e74-470e-454d-b61d-0bfd7be1f71f", + "progressToken": "4b3749b0-6004-4616-9bed-7428dd4027aa", "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", - "vscode.requestId": "38da39d6-00a4-4785-a2e7-e6934940dc7d" + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" } } } -[2025-10-24 13:39:12.079] [MCP] Processing tools/call request for tool: HumanAgent_Chat -[2025-10-24 13:39:12.079] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:12.079] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [MCP] Processing tools/call request for tool: HumanAgent_Chat +[2025-10-24 13:46:40.828] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 { "name": "HumanAgent_Chat", "args": { - "message": "Got it, Ben! Another message from the web interface - \"Web 2\". The human agent chat is working smoothly for our communication. Is there something specific you'd like to explore or discuss while we're testing this interface?", + "message": "Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?", "priority": "normal" } } -[2025-10-24 13:39:12.079] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: +[2025-10-24 13:46:40.828] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: [ "HumanAgent_Chat" ] -[2025-10-24 13:39:12.079] [MCP] Executing HumanAgent_Chat tool -[2025-10-24 13:39:12.079] [TOOL] HumanAgent_Chat called with params: +[2025-10-24 13:46:40.828] [MCP] Executing HumanAgent_Chat tool +[2025-10-24 13:46:40.828] [TOOL] HumanAgent_Chat called with params: { - "message": "Got it, Ben! Another message from the web interface - \"Web 2\". The human agent chat is working smoothly for our communication. Is there something specific you'd like to explore or discuss while we're testing this interface?", + "message": "Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?", "priority": "normal" } -[2025-10-24 13:39:12.079] [TOOL] Using timeout: 300000ms (300s) -[2025-10-24 13:39:12.079] [TOOL] Generated request ID: 5-1761273552079 -[2025-10-24 13:39:12.079] [TOOL] Displaying message in chat UI: -"Got it, Ben! Another message from the web interface - \"Web 2\". The human agent chat is working smoothly for our communication. Is there something specific you'd like to explore or discuss while we're testing this interface?" -[2025-10-24 13:39:12.079] [TOOL] Adding pending request 5-1761273552079 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:12.079] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Got it, Ben! Another message from the web interfac... -[2025-10-24 13:39:12.079] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Got it, Ben! Another message from the web interfac... -[2025-10-24 13:39:12.079] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:12.079] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:12.079] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:12.079] [CHAT] [INFO] Added pending request 5-1761273552079 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 -[2025-10-24 13:39:12.079] [TOOL] Request 5-1761273552079 waiting for human response... -[2025-10-24 13:39:23.135] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:23.135] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:33.302] [HTTP] GET /HumanAgent -[2025-10-24 13:39:33.302] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:33.302] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:33.307] [HTTP] SSE connection closed -[2025-10-24 13:39:33.307] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:33.307] [HTTP] SSE connection closed -[2025-10-24 13:39:33.307] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:33.322] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:33.322] [HTTP] Request Headers: +[2025-10-24 13:46:40.828] [TOOL] Using timeout: 300000ms (300s) +[2025-10-24 13:46:40.828] [TOOL] Generated request ID: 6-1761274000828 +[2025-10-24 13:46:40.828] [TOOL] Displaying message in chat UI: +"Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?" +[2025-10-24 13:46:40.828] [TOOL] Adding pending request 6-1761274000828 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Excellent, Ben! Another web response coming throug... +[2025-10-24 13:46:40.828] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Excellent, Ben! Another web response coming throug... +[2025-10-24 13:46:40.828] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:46:40.828] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"6-1761274000828\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"waiting_for_response\",\"message\":\"Excellent, Ben! Another web response coming through clearly. The chat system is functioning perfectly across all interfaces. Is there anything specific you'd like to work on or test further with this human agent chat functionality?\",\"timestamp\":\"2025-10-24T02:46:40.828Z\"}}" +[2025-10-24 13:46:40.828] [CHAT] [INFO] Added pending request 6-1761274000828 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:46:40.828] [TOOL] Request 6-1761274000828 waiting for human response... +[2025-10-24 13:51:07.724] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/state +[2025-10-24 13:51:07.724] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", @@ -917,17 +1505,19 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:39:33.343] [HTTP] GET /mcp -[2025-10-24 13:39:33.343] [HTTP] Request Headers: +[2025-10-24 13:51:07.733] [HTTP] POST /response +[2025-10-24 13:51:07.733] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", + "content-length": "48", "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "content-type": "application/json", "sec-ch-ua-mobile": "?0", + "accept": "*/*", + "origin": "http://127.0.0.1:3737", "sec-fetch-site": "same-origin", "sec-fetch-mode": "cors", "sec-fetch-dest": "empty", @@ -935,2210 +1525,326 @@ "accept-encoding": "gzip, deflate, br, zstd", "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" } -[2025-10-24 13:39:33.343] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:33.343] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:33.343] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:33.343] [SSE] Headers: +[2025-10-24 13:51:07.734] [HTTP] === RESPONSE ENDPOINT CALLED === +[2025-10-24 13:51:07.734] [HTTP] Request ID: 6-1761274000828, Response: web +[2025-10-24 13:51:07.734] [HTTP] Found pending request: true +[2025-10-24 13:51:07.734] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:07.734] [HTTP] Storing and broadcasting user message to 3 SSE connections +[2025-10-24 13:51:07.734] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - web... +[2025-10-24 13:51:07.734] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: web... +[2025-10-24 13:51:07.734] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:07.734] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:07.734] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:07.734] [CHAT] [INFO] Removed pending request 6-1761274000828 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:07.734] [HTTP] Broadcast completed and pending request removed from ChatManager +[2025-10-24 13:51:07.734] [SERVER] Received human response for request 6-1761274000828: +"web" +[2025-10-24 13:51:07.734] [TOOL] Request 6-1761274000828 completed with response: +"web" +[2025-10-24 13:51:07.734] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:51:07.734] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"6-1761274000828\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"completed\",\"response\":\"web\",\"timestamp\":\"2025-10-24T02:51:07.734Z\"}}" +[2025-10-24 13:51:07.735] [HTTP] Response from handleMessage: +{ + "id": 6, + "type": "response", + "result": { + "content": [ + { + "type": "text", + "text": "web" + } + ] + } +} +[2025-10-24 13:51:07.735] [HTTP] Sending 200 response (78 bytes) +[2025-10-24 13:51:10.524] [HTTP] POST /mcp +[2025-10-24 13:51:10.524] [HTTP] Request Headers: { "host": "127.0.0.1:3737", "connection": "keep-alive", + "content-type": "application/json", + "accept": "text/event-stream, application/json", + "accept-language": "*", + "sec-fetch-mode": "cors", + "user-agent": "undici", + "accept-encoding": "gzip, deflate", + "content-length": "485" +} +[2025-10-24 13:51:10.525] [HTTP] Handling POST request to /mcp +[2025-10-24 13:51:10.525] [HTTP] Received chunk: 485 bytes +[2025-10-24 13:51:10.525] [HTTP] Complete request body received (485 bytes) +[2025-10-24 13:51:10.525] [HTTP] Request Body: +"{\"jsonrpc\":\"2.0\",\"id\":7,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"eeaee1e5-33bd-47e8-863a-c4abdd973db3\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"1f06d886-97be-469d-bee8-a395eda1438b\"}}}" +[2025-10-24 13:51:10.525] [HTTP] Parsed JSON message: +{ + "jsonrpc": "2.0", + "id": 7, + "method": "tools/call", + "params": { + "name": "HumanAgent_Chat", + "arguments": { + "message": "Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?", + "priority": "normal" + }, + "_meta": { + "progressToken": "eeaee1e5-33bd-47e8-863a-c4abdd973db3", + "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" + } + } +} +[2025-10-24 13:51:10.525] [MCP] Handling message: +{ + "jsonrpc": "2.0", + "id": 7, + "method": "tools/call", + "params": { + "name": "HumanAgent_Chat", + "arguments": { + "message": "Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?", + "priority": "normal" + }, + "_meta": { + "progressToken": "eeaee1e5-33bd-47e8-863a-c4abdd973db3", + "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" + } + } +} +[2025-10-24 13:51:10.525] [MCP] Processing tools/call request for tool: HumanAgent_Chat +[2025-10-24 13:51:10.525] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:10.525] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +{ + "name": "HumanAgent_Chat", + "args": { + "message": "Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?", + "priority": "normal" + } +} +[2025-10-24 13:51:10.525] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: +[ + "HumanAgent_Chat" +] +[2025-10-24 13:51:10.525] [MCP] Executing HumanAgent_Chat tool +[2025-10-24 13:51:10.525] [TOOL] HumanAgent_Chat called with params: +{ + "message": "Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?", + "priority": "normal" +} +[2025-10-24 13:51:10.525] [TOOL] Using timeout: 300000ms (300s) +[2025-10-24 13:51:10.525] [TOOL] Generated request ID: 7-1761274270525 +[2025-10-24 13:51:10.525] [TOOL] Displaying message in chat UI: +"Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?" +[2025-10-24 13:51:10.525] [TOOL] Adding pending request 7-1761274270525 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:10.525] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Got it, Ben! Another web message received loud and... +[2025-10-24 13:51:10.525] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Got it, Ben! Another web message received loud and... +[2025-10-24 13:51:10.525] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:10.525] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:10.525] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:10.525] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:51:10.525] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"7-1761274270525\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"waiting_for_response\",\"message\":\"Got it, Ben! Another web message received loud and clear. The human agent chat is working smoothly. What would you like to discuss or work on next through this interface?\",\"timestamp\":\"2025-10-24T02:51:10.525Z\"}}" +[2025-10-24 13:51:10.525] [CHAT] [INFO] Added pending request 7-1761274270525 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:10.525] [TOOL] Request 7-1761274270525 waiting for human response... +[2025-10-24 13:51:36.760] [HTTP] POST /response +[2025-10-24 13:51:36.761] [HTTP] Request Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "content-type": "application/json", + "accept": "*/*", + "accept-language": "*", + "sec-fetch-mode": "cors", + "user-agent": "node", + "accept-encoding": "gzip, deflate", + "content-length": "51" +} +[2025-10-24 13:51:36.761] [HTTP] === RESPONSE ENDPOINT CALLED === +[2025-10-24 13:51:36.761] [HTTP] Request ID: 7-1761274270525, Response: vscode +[2025-10-24 13:51:36.761] [HTTP] Found pending request: true +[2025-10-24 13:51:36.761] [HTTP] Processing response for session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:36.761] [HTTP] Storing and broadcasting user message to 3 SSE connections +[2025-10-24 13:51:36.761] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: user - vscode... +[2025-10-24 13:51:36.761] [CHAT] Stored user message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: vscode... +[2025-10-24 13:51:36.761] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:36.761] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:36.761] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:36.761] [CHAT] [INFO] Removed pending request 7-1761274270525 from session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:36.761] [HTTP] Broadcast completed and pending request removed from ChatManager +[2025-10-24 13:51:36.761] [SERVER] Received human response for request 7-1761274270525: +"vscode" +[2025-10-24 13:51:36.761] [TOOL] Request 7-1761274270525 completed with response: +"vscode" +[2025-10-24 13:51:36.761] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:51:36.761] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"7-1761274270525\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"completed\",\"response\":\"vscode\",\"timestamp\":\"2025-10-24T02:51:36.761Z\"}}" +[2025-10-24 13:51:36.762] [HTTP] Response from handleMessage: +{ + "id": 7, + "type": "response", + "result": { + "content": [ + { + "type": "text", + "text": "vscode" + } + ] + } +} +[2025-10-24 13:51:36.762] [HTTP] Sending 200 response (81 bytes) +[2025-10-24 13:51:36.782] [HTTP] SSE connection closed +[2025-10-24 13:51:36.782] [HTTP] Removed SSE connection. Total connections: 2 +[2025-10-24 13:51:36.782] [HTTP] SSE connection closed +[2025-10-24 13:51:36.782] [HTTP] Removed SSE connection. Total connections: 2 +[2025-10-24 13:51:36.829] [HTTP] OPTIONS /mcp +[2025-10-24 13:51:36.829] [HTTP] Request Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "accept": "*/*", + "access-control-request-method": "GET", + "access-control-request-headers": "cache-control", + "origin": "vscode-webview://06ntb21jilovkpqhp3n8qs6oen2rlig4drgi2amm3ehub2r9bg30", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.105.1 Chrome/138.0.7204.251 Electron/37.6.0 Safari/537.36", + "sec-fetch-mode": "cors", + "sec-fetch-site": "cross-site", + "sec-fetch-dest": "empty", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en-GB" +} +[2025-10-24 13:51:36.829] [HTTP] Handling OPTIONS preflight request +[2025-10-24 13:51:36.830] [HTTP] GET /mcp +[2025-10-24 13:51:36.830] [HTTP] Request Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", "sec-ch-ua-platform": "\"macOS\"", "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.105.1 Chrome/138.0.7204.251 Electron/37.6.0 Safari/537.36", "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", + "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\"", "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", + "origin": "vscode-webview://06ntb21jilovkpqhp3n8qs6oen2rlig4drgi2amm3ehub2r9bg30", + "sec-fetch-site": "cross-site", "sec-fetch-mode": "cors", "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" + "accept-language": "en-GB" } -[2025-10-24 13:39:33.343] [SSE] URL: +[2025-10-24 13:51:36.830] [HTTP] Handling GET request to /mcp +[2025-10-24 13:51:36.830] [HTTP] Setting up SSE stream for GET request +[2025-10-24 13:51:36.830] [SSE] === SSE CONNECTION ATTEMPT === +[2025-10-24 13:51:36.830] [SSE] Headers: +{ + "host": "localhost:3737", + "connection": "keep-alive", + "sec-ch-ua-platform": "\"macOS\"", + "cache-control": "no-cache", + "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.105.1 Chrome/138.0.7204.251 Electron/37.6.0 Safari/537.36", + "accept": "text/event-stream", + "sec-ch-ua": "\"Not)A;Brand\";v=\"8\", \"Chromium\";v=\"138\"", + "sec-ch-ua-mobile": "?0", + "origin": "vscode-webview://06ntb21jilovkpqhp3n8qs6oen2rlig4drgi2amm3ehub2r9bg30", + "sec-fetch-site": "cross-site", + "sec-fetch-mode": "cors", + "sec-fetch-dest": "empty", + "accept-encoding": "gzip, deflate, br, zstd", + "accept-language": "en-GB" +} +[2025-10-24 13:51:36.830] [SSE] URL: "/mcp" -[2025-10-24 13:39:33.343] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:33.343] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:33.343] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:33.343] [SSE] Sent initial SSE message: +[2025-10-24 13:51:36.830] [SSE] SSE headers set, adding to connections... +[2025-10-24 13:51:36.830] [HTTP] Added SSE connection. Total connections: 3 +[2025-10-24 13:51:36.830] [SSE] SSE connection added. Total: 3 +[2025-10-24 13:51:36.830] [SSE] Sent initial SSE message: "data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:33.347] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:33.347] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:34.732] [HTTP] GET /HumanAgent -[2025-10-24 13:39:34.732] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:34.732] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:34.734] [HTTP] SSE connection closed -[2025-10-24 13:39:34.734] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:34.734] [HTTP] SSE connection closed -[2025-10-24 13:39:34.734] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:34.742] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:34.742] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:34.750] [HTTP] GET /mcp -[2025-10-24 13:39:34.750] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:34.750] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:34.750] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:34.750] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:34.750] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:34.750] [SSE] URL: -"/mcp" -[2025-10-24 13:39:34.750] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:34.750] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:34.750] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:34.750] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:34.752] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:34.752] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:35.650] [HTTP] GET /HumanAgent -[2025-10-24 13:39:35.651] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:35.651] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:35.657] [HTTP] SSE connection closed -[2025-10-24 13:39:35.658] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:35.658] [HTTP] SSE connection closed -[2025-10-24 13:39:35.658] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:35.670] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:35.670] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:35.683] [HTTP] GET /mcp -[2025-10-24 13:39:35.683] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:35.683] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:35.683] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:35.683] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:35.683] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:35.683] [SSE] URL: -"/mcp" -[2025-10-24 13:39:35.683] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:35.683] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:35.683] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:35.683] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:35.686] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:35.686] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.219] [HTTP] GET /HumanAgent -[2025-10-24 13:39:36.219] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.219] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:36.222] [HTTP] SSE connection closed -[2025-10-24 13:39:36.222] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:36.222] [HTTP] SSE connection closed -[2025-10-24 13:39:36.222] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:36.232] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:36.232] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.243] [HTTP] GET /mcp -[2025-10-24 13:39:36.243] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.243] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:36.243] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:36.243] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:36.243] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.243] [SSE] URL: -"/mcp" -[2025-10-24 13:39:36.243] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:36.243] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:36.243] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:36.244] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:36.246] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:36.247] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.696] [HTTP] GET /HumanAgent -[2025-10-24 13:39:36.696] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.696] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:36.699] [HTTP] SSE connection closed -[2025-10-24 13:39:36.699] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:36.699] [HTTP] SSE connection closed -[2025-10-24 13:39:36.699] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:36.714] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:36.714] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.719] [HTTP] GET /mcp -[2025-10-24 13:39:36.719] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.719] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:36.719] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:36.719] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:36.719] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.719] [SSE] URL: -"/mcp" -[2025-10-24 13:39:36.719] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:36.719] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:36.719] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:36.719] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:36.723] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:36.723] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.862] [HTTP] GET /HumanAgent -[2025-10-24 13:39:36.862] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.862] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:36.864] [HTTP] SSE connection closed -[2025-10-24 13:39:36.864] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:36.864] [HTTP] SSE connection closed -[2025-10-24 13:39:36.864] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:36.871] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:36.871] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.877] [HTTP] GET /mcp -[2025-10-24 13:39:36.877] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.877] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:36.877] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:36.877] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:36.877] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:36.877] [SSE] URL: -"/mcp" -[2025-10-24 13:39:36.877] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:36.877] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:36.877] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:36.877] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:36.880] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:36.880] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.431] [HTTP] GET /HumanAgent -[2025-10-24 13:39:37.431] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.431] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:37.434] [HTTP] SSE connection closed -[2025-10-24 13:39:37.434] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:37.434] [HTTP] SSE connection closed -[2025-10-24 13:39:37.434] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:37.449] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:37.449] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.455] [HTTP] GET /mcp -[2025-10-24 13:39:37.455] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.455] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:37.455] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:37.455] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:37.455] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.455] [SSE] URL: -"/mcp" -[2025-10-24 13:39:37.455] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:37.455] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:37.455] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:37.455] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:37.458] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:37.458] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.935] [HTTP] GET /HumanAgent -[2025-10-24 13:39:37.936] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.936] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:37.938] [HTTP] SSE connection closed -[2025-10-24 13:39:37.938] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:37.938] [HTTP] SSE connection closed -[2025-10-24 13:39:37.938] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:37.948] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:37.948] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.956] [HTTP] GET /mcp -[2025-10-24 13:39:37.956] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.957] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:37.957] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:37.957] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:37.957] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:37.957] [SSE] URL: -"/mcp" -[2025-10-24 13:39:37.957] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:37.957] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:37.957] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:37.957] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:37.961] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:37.961] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.110] [HTTP] GET /HumanAgent -[2025-10-24 13:39:38.110] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.110] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:38.112] [HTTP] SSE connection closed -[2025-10-24 13:39:38.112] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:38.112] [HTTP] SSE connection closed -[2025-10-24 13:39:38.112] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:38.122] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:38.122] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.127] [HTTP] GET /mcp -[2025-10-24 13:39:38.127] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.127] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:38.127] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:38.127] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:38.127] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.127] [SSE] URL: -"/mcp" -[2025-10-24 13:39:38.127] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:38.127] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:38.127] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:38.127] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:38.128] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:38.128] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.764] [HTTP] GET /HumanAgent -[2025-10-24 13:39:38.764] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.764] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:38.767] [HTTP] SSE connection closed -[2025-10-24 13:39:38.767] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:38.767] [HTTP] SSE connection closed -[2025-10-24 13:39:38.767] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:38.782] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:38.782] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.787] [HTTP] GET /mcp -[2025-10-24 13:39:38.787] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.787] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:38.787] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:38.787] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:38.787] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.787] [SSE] URL: -"/mcp" -[2025-10-24 13:39:38.787] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:38.787] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:38.787] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:38.787] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:38.789] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:38.789] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.948] [HTTP] GET /HumanAgent -[2025-10-24 13:39:38.948] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.948] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:38.949] [HTTP] SSE connection closed -[2025-10-24 13:39:38.950] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:38.950] [HTTP] SSE connection closed -[2025-10-24 13:39:38.950] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:38.960] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:38.960] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.968] [HTTP] GET /mcp -[2025-10-24 13:39:38.968] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.968] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:38.968] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:38.968] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:38.968] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:38.968] [SSE] URL: -"/mcp" -[2025-10-24 13:39:38.968] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:38.968] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:38.968] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:38.968] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:38.982] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:38.982] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.625] [HTTP] GET /HumanAgent -[2025-10-24 13:39:39.625] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.625] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:39.629] [HTTP] SSE connection closed -[2025-10-24 13:39:39.629] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:39.629] [HTTP] SSE connection closed -[2025-10-24 13:39:39.629] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:39.640] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:39.640] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.647] [HTTP] GET /mcp -[2025-10-24 13:39:39.647] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.647] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:39.647] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:39.647] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:39.647] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.647] [SSE] URL: -"/mcp" -[2025-10-24 13:39:39.647] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:39.647] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:39.647] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:39.647] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:39.650] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:39.651] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.786] [HTTP] GET /HumanAgent -[2025-10-24 13:39:39.787] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.787] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:39.788] [HTTP] SSE connection closed -[2025-10-24 13:39:39.788] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:39.788] [HTTP] SSE connection closed -[2025-10-24 13:39:39.788] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:39.796] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:39.796] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.801] [HTTP] GET /mcp -[2025-10-24 13:39:39.801] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.801] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:39.801] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:39.801] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:39.801] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:39.801] [SSE] URL: -"/mcp" -[2025-10-24 13:39:39.801] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:39.801] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:39.801] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:39.801] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:39.803] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:39.803] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.359] [HTTP] GET /HumanAgent -[2025-10-24 13:39:40.359] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.359] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:40.362] [HTTP] SSE connection closed -[2025-10-24 13:39:40.362] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:40.362] [HTTP] SSE connection closed -[2025-10-24 13:39:40.362] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:40.371] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:40.372] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.381] [HTTP] GET /mcp -[2025-10-24 13:39:40.381] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.381] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:40.381] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:40.381] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:40.381] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.381] [SSE] URL: -"/mcp" -[2025-10-24 13:39:40.381] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:40.381] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:40.381] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:40.381] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:40.384] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:40.384] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.512] [HTTP] GET /HumanAgent -[2025-10-24 13:39:40.512] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.512] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:40.514] [HTTP] SSE connection closed -[2025-10-24 13:39:40.514] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:40.514] [HTTP] SSE connection closed -[2025-10-24 13:39:40.514] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:40.520] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:40.520] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.529] [HTTP] GET /mcp -[2025-10-24 13:39:40.529] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.529] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:40.529] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:40.529] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:40.529] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:40.529] [SSE] URL: -"/mcp" -[2025-10-24 13:39:40.529] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:40.529] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:40.529] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:40.529] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:40.531] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:40.531] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.241] [HTTP] GET /HumanAgent -[2025-10-24 13:39:49.241] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.241] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:49.244] [HTTP] SSE connection closed -[2025-10-24 13:39:49.244] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:49.244] [HTTP] SSE connection closed -[2025-10-24 13:39:49.244] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:49.259] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:49.259] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.267] [HTTP] GET /mcp -[2025-10-24 13:39:49.267] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.267] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:49.267] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:49.267] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:49.267] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.267] [SSE] URL: -"/mcp" -[2025-10-24 13:39:49.267] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:49.267] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:49.267] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:49.267] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:49.270] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:49.270] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.714] [HTTP] GET /HumanAgent -[2025-10-24 13:39:49.714] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.714] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:49.717] [HTTP] SSE connection closed -[2025-10-24 13:39:49.717] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:49.717] [HTTP] SSE connection closed -[2025-10-24 13:39:49.717] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:49.727] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:49.727] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.736] [HTTP] GET /mcp -[2025-10-24 13:39:49.736] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.736] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:49.736] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:49.736] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:49.736] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.736] [SSE] URL: -"/mcp" -[2025-10-24 13:39:49.736] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:49.736] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:49.736] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:49.736] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:49.741] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:49.741] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.883] [HTTP] GET /HumanAgent -[2025-10-24 13:39:49.883] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.883] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:49.886] [HTTP] SSE connection closed -[2025-10-24 13:39:49.886] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:49.886] [HTTP] SSE connection closed -[2025-10-24 13:39:49.886] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:49.892] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:49.892] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.898] [HTTP] GET /mcp -[2025-10-24 13:39:49.898] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.898] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:49.898] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:49.898] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:49.898] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:49.898] [SSE] URL: -"/mcp" -[2025-10-24 13:39:49.898] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:49.898] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:49.898] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:49.898] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:49.901] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:49.902] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.150] [HTTP] GET /HumanAgent -[2025-10-24 13:39:51.150] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.150] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:51.153] [HTTP] SSE connection closed -[2025-10-24 13:39:51.153] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:51.153] [HTTP] SSE connection closed -[2025-10-24 13:39:51.153] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:51.163] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:51.163] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.171] [HTTP] GET /mcp -[2025-10-24 13:39:51.171] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.171] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:51.171] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:51.171] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:51.171] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.171] [SSE] URL: -"/mcp" -[2025-10-24 13:39:51.171] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:51.171] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:51.171] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:51.171] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:51.173] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:51.174] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.325] [HTTP] GET /HumanAgent -[2025-10-24 13:39:51.325] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.325] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:51.327] [HTTP] SSE connection closed -[2025-10-24 13:39:51.327] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:51.327] [HTTP] SSE connection closed -[2025-10-24 13:39:51.327] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:51.334] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:51.334] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.340] [HTTP] GET /mcp -[2025-10-24 13:39:51.340] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.340] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:51.340] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:51.340] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:51.340] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:51.340] [SSE] URL: -"/mcp" -[2025-10-24 13:39:51.340] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:51.340] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:51.340] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:51.340] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:51.342] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:51.343] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.008] [HTTP] GET /HumanAgent -[2025-10-24 13:39:52.008] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.008] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:52.011] [HTTP] SSE connection closed -[2025-10-24 13:39:52.011] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:52.011] [HTTP] SSE connection closed -[2025-10-24 13:39:52.011] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:52.027] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:52.027] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.032] [HTTP] GET /mcp -[2025-10-24 13:39:52.032] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.032] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:52.032] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:52.032] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:52.032] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.032] [SSE] URL: -"/mcp" -[2025-10-24 13:39:52.033] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:52.033] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:52.033] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:52.033] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:52.036] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:52.036] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.177] [HTTP] GET /HumanAgent -[2025-10-24 13:39:52.177] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "cache-control": "max-age=0", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-ch-ua-platform": "\"macOS\"", - "upgrade-insecure-requests": "1", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7", - "sec-fetch-site": "none", - "sec-fetch-mode": "navigate", - "sec-fetch-user": "?1", - "sec-fetch-dest": "document", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.177] [HTTP] Serving web interface at /HumanAgent -[2025-10-24 13:39:52.179] [HTTP] SSE connection closed -[2025-10-24 13:39:52.179] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:52.179] [HTTP] SSE connection closed -[2025-10-24 13:39:52.179] [HTTP] Removed SSE connection. Total connections: 2 -[2025-10-24 13:39:52.187] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:52.187] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.192] [HTTP] GET /mcp -[2025-10-24 13:39:52.192] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.192] [HTTP] Handling GET request to /mcp -[2025-10-24 13:39:52.192] [HTTP] Setting up SSE stream for GET request -[2025-10-24 13:39:52.192] [SSE] === SSE CONNECTION ATTEMPT === -[2025-10-24 13:39:52.192] [SSE] Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "cache-control": "no-cache", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "accept": "text/event-stream", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} -[2025-10-24 13:39:52.192] [SSE] URL: -"/mcp" -[2025-10-24 13:39:52.192] [SSE] SSE headers set, adding to connections... -[2025-10-24 13:39:52.192] [HTTP] Added SSE connection. Total connections: 3 -[2025-10-24 13:39:52.192] [SSE] SSE connection added. Total: 3 -[2025-10-24 13:39:52.192] [SSE] Sent initial SSE message: -"data: {\"type\":\"connection\",\"status\":\"established\"}" -[2025-10-24 13:39:52.194] [HTTP] GET /sessions/session-a8f49eee-068c-42f1-b611-14651fa5ccc6/messages -[2025-10-24 13:39:52.194] [HTTP] Request Headers: -{ - "host": "127.0.0.1:3737", - "connection": "keep-alive", - "sec-ch-ua-platform": "\"macOS\"", - "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36", - "sec-ch-ua": "\"Google Chrome\";v=\"141\", \"Not?A_Brand\";v=\"8\", \"Chromium\";v=\"141\"", - "sec-ch-ua-mobile": "?0", - "accept": "*/*", - "sec-fetch-site": "same-origin", - "sec-fetch-mode": "cors", - "sec-fetch-dest": "empty", - "referer": "http://127.0.0.1:3737/HumanAgent", - "accept-encoding": "gzip, deflate, br, zstd", - "accept-language": "en,en-US;q=0.9,zh-CN;q=0.8,zh-TW;q=0.7,zh;q=0.6" -} +[2025-10-24 13:51:39.721] [HTTP] POST /mcp +[2025-10-24 13:51:39.721] [HTTP] Request Headers: +{ + "host": "127.0.0.1:3737", + "connection": "keep-alive", + "content-type": "application/json", + "accept": "text/event-stream, application/json", + "accept-language": "*", + "sec-fetch-mode": "cors", + "user-agent": "undici", + "accept-encoding": "gzip, deflate", + "content-length": "510" +} +[2025-10-24 13:51:39.721] [HTTP] Handling POST request to /mcp +[2025-10-24 13:51:39.721] [HTTP] Received chunk: 510 bytes +[2025-10-24 13:51:39.721] [HTTP] Complete request body received (510 bytes) +[2025-10-24 13:51:39.721] [HTTP] Request Body: +"{\"jsonrpc\":\"2.0\",\"id\":8,\"method\":\"tools/call\",\"params\":{\"name\":\"HumanAgent_Chat\",\"arguments\":{\"message\":\"Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?\",\"priority\":\"normal\"},\"_meta\":{\"progressToken\":\"f60e11e3-c287-4bfd-b5ee-d86f4bea7e5c\",\"vscode.conversationId\":\"083210a2-6e17-433e-a123-7881f595f53f\",\"vscode.requestId\":\"1f06d886-97be-469d-bee8-a395eda1438b\"}}}" +[2025-10-24 13:51:39.721] [HTTP] Parsed JSON message: +{ + "jsonrpc": "2.0", + "id": 8, + "method": "tools/call", + "params": { + "name": "HumanAgent_Chat", + "arguments": { + "message": "Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?", + "priority": "normal" + }, + "_meta": { + "progressToken": "f60e11e3-c287-4bfd-b5ee-d86f4bea7e5c", + "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" + } + } +} +[2025-10-24 13:51:39.721] [MCP] Handling message: +{ + "jsonrpc": "2.0", + "id": 8, + "method": "tools/call", + "params": { + "name": "HumanAgent_Chat", + "arguments": { + "message": "Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?", + "priority": "normal" + }, + "_meta": { + "progressToken": "f60e11e3-c287-4bfd-b5ee-d86f4bea7e5c", + "vscode.conversationId": "083210a2-6e17-433e-a123-7881f595f53f", + "vscode.requestId": "1f06d886-97be-469d-bee8-a395eda1438b" + } + } +} +[2025-10-24 13:51:39.721] [MCP] Processing tools/call request for tool: HumanAgent_Chat +[2025-10-24 13:51:39.721] [MCP] Mapped conversation 083210a2-6e17-433e-a123-7881f595f53f to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:39.721] [MCP] Tool call - name: "HumanAgent_Chat", raw session: 083210a2-6e17-433e-a123-7881f595f53f, mapped session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +{ + "name": "HumanAgent_Chat", + "args": { + "message": "Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?", + "priority": "normal" + } +} +[2025-10-24 13:51:39.721] [MCP] Available tools for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: +[ + "HumanAgent_Chat" +] +[2025-10-24 13:51:39.721] [MCP] Executing HumanAgent_Chat tool +[2025-10-24 13:51:39.721] [TOOL] HumanAgent_Chat called with params: +{ + "message": "Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?", + "priority": "normal" +} +[2025-10-24 13:51:39.721] [TOOL] Using timeout: 300000ms (300s) +[2025-10-24 13:51:39.721] [TOOL] Generated request ID: 8-1761274299721 +[2025-10-24 13:51:39.721] [TOOL] Displaying message in chat UI: +"Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?" +[2025-10-24 13:51:39.721] [TOOL] Adding pending request 8-1761274299721 to session: session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:39.721] [CHAT] [INFO] Added message to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: agent - Perfect, Ben! Now back to VS Code - I can see the ... +[2025-10-24 13:51:39.721] [CHAT] Stored AI message in ChatManager for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6: Perfect, Ben! Now back to VS Code - I can see the ... +[2025-10-24 13:51:39.721] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:39.721] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:39.721] [CHAT] Broadcasted message to SSE client for session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:39.721] [SSE] Forwarding request-state-change to SSE connections +[2025-10-24 13:51:39.721] [SSE] Broadcasting to 3 SSE connections: +"{\"type\":\"request-state-change\",\"data\":{\"requestId\":\"8-1761274299721\",\"sessionId\":\"session-a8f49eee-068c-42f1-b611-14651fa5ccc6\",\"state\":\"waiting_for_response\",\"message\":\"Perfect, Ben! Now back to VS Code - I can see the messages coming through from both interfaces seamlessly. The human agent chat system is working beautifully. What would you like to explore next?\",\"timestamp\":\"2025-10-24T02:51:39.721Z\"}}" +[2025-10-24 13:51:39.721] [CHAT] [INFO] Added pending request 8-1761274299721 to session session-a8f49eee-068c-42f1-b611-14651fa5ccc6 +[2025-10-24 13:51:39.721] [TOOL] Request 8-1761274299721 waiting for human response... diff --git a/ToDo.md b/ToDo.md index 0a90221..32c826c 100644 --- a/ToDo.md +++ b/ToDo.md @@ -5,4 +5,4 @@ [ ] Change Waiting for AI messages..." to "Waiting for AI MCP Tool Call... [ ] Get it to store the Friendly Name similar to how it stores the session ID - the existing session seems to be found on startup [ ] Override Prompt Script is not generated from exact coded system tool description - seems to be stale - where is the info coming from for the override creation? -[ ] \ No newline at end of file +[ ] Can we include an option to enable logging and set logging to take place in the .vscode directory of the active workspace. It should be an option that the user can turn on in the cog. \ No newline at end of file diff --git a/response-debug.txt b/response-debug.txt index 51aa10b..007cde9 100644 --- a/response-debug.txt +++ b/response-debug.txt @@ -26,3 +26,8 @@ 2025-10-24T02:33:40.664Z - RESPONSE ENDPOINT CALLED - RequestID: 3-1761273090722 2025-10-24T02:34:46.816Z - RESPONSE ENDPOINT CALLED - RequestID: 3-1761273266913 2025-10-24T02:39:08.715Z - RESPONSE ENDPOINT CALLED - RequestID: 4-1761273289660 +2025-10-24T02:46:25.959Z - RESPONSE ENDPOINT CALLED - RequestID: 3-1761273975576 +2025-10-24T02:46:34.992Z - RESPONSE ENDPOINT CALLED - RequestID: 4-1761273990658 +2025-10-24T02:46:37.893Z - RESPONSE ENDPOINT CALLED - RequestID: 5-1761273997564 +2025-10-24T02:51:07.733Z - RESPONSE ENDPOINT CALLED - RequestID: 6-1761274000828 +2025-10-24T02:51:36.761Z - RESPONSE ENDPOINT CALLED - RequestID: 7-1761274270525 diff --git a/src/extension.ts b/src/extension.ts index 40b0091..f2a2891 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -34,12 +34,47 @@ function getWorkspaceSessionId(context: vscode.ExtensionContext): string { return sessionId; } +// Restore and send persisted session name to server +async function restoreSessionName(context: vscode.ExtensionContext, sessionId: string) { + const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; + const workspaceKey = workspaceRoot ? `workspace-${crypto.createHash('md5').update(workspaceRoot).digest('hex')}` : 'no-workspace'; + + const savedName = context.globalState.get(`sessionName-${workspaceKey}`); + + if (savedName) { + try { + // Send the saved name to the server + const response = await fetch('http://localhost:3737/sessions/name', { + method: 'POST', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify({ + sessionId: sessionId, + name: savedName + }) + }); + + if (response.ok) { + console.log(`Restored session name: "${savedName}" for session ${sessionId}`); + } else { + console.log(`Failed to restore session name: HTTP ${response.status}`); + } + } catch (error) { + console.log(`Failed to restore session name: ${error}`); + } + } +} + export async function activate(context: vscode.ExtensionContext) { console.log('HumanAgent MCP extension is now active!'); // Generate or retrieve persistent workspace session ID workspaceSessionId = getWorkspaceSessionId(context); + // Restore the persisted session name for this session ID + await restoreSessionName(context, workspaceSessionId); + // Initialize MCP Configuration Manager const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; mcpConfigManager = new McpConfigManager(workspaceRoot, context.extensionPath); @@ -64,7 +99,7 @@ export async function activate(context: vscode.ExtensionContext) { }); // Initialize Chat Webview Provider (no internal server dependency) - const chatWebviewProvider = new ChatWebviewProvider(context.extensionUri, null, mcpConfigManager, workspaceSessionId); + const chatWebviewProvider = new ChatWebviewProvider(context.extensionUri, null, mcpConfigManager, workspaceSessionId, context); context.subscriptions.push( vscode.window.registerWebviewViewProvider(ChatWebviewProvider.viewType, chatWebviewProvider) ); diff --git a/src/mcp/server.ts b/src/mcp/server.ts index 9893031..cf7a467 100644 --- a/src/mcp/server.ts +++ b/src/mcp/server.ts @@ -1144,7 +1144,7 @@ export class McpServer extends EventEmitter { } catch (error) { console.error('Failed to send response:', error); - addMessageToUI(sessionId, 'assistant', \`Error: \${error.message}\`); + addMessageToUI(sessionId, 'assistant', \`Error: \${error.message}\`, null, null); } finally { // Re-enable controls textarea.disabled = false; @@ -1153,7 +1153,7 @@ export class McpServer extends EventEmitter { } } - function addMessageToUI(sessionId, role, content, source) { + function addMessageToUI(sessionId, role, content, source, timestamp) { const messagesContainer = document.getElementById(\`messages-\${sessionId}\`); if (!messagesContainer) return; @@ -1166,8 +1166,11 @@ export class McpServer extends EventEmitter { header += \` (\${source === 'web' ? 'Web' : 'VS Code'})\`; } + // Use actual message timestamp or current time as fallback + const displayTime = timestamp ? new Date(timestamp).toLocaleTimeString() : new Date().toLocaleTimeString(); + messageDiv.innerHTML = \` -
\${header} • \${new Date().toLocaleTimeString()}
+
\${header} • \${displayTime}
\${escapeHtml(content)}
\`; @@ -1197,7 +1200,7 @@ export class McpServer extends EventEmitter { // Add each message for (const msg of data.messages) { - addMessageToUI(sessionId, msg.sender, msg.content, msg.source); + addMessageToUI(sessionId, msg.sender, msg.content, msg.source, msg.timestamp); } } } @@ -1227,7 +1230,7 @@ export class McpServer extends EventEmitter { // Add each message from chat manager for (const msg of data.messages) { - addMessageToUI(sessionId, msg.sender, msg.content, msg.source); + addMessageToUI(sessionId, msg.sender, msg.content, msg.source, msg.timestamp); } console.log(\`Loaded \${data.messages.length} messages for session \${sessionId}\`); @@ -1258,9 +1261,9 @@ export class McpServer extends EventEmitter { // Handle different types of updates if (data.type === 'chat_message' && data.sessionId && data.message) { - addMessageToUI(data.sessionId, data.message.sender, data.message.content, data.message.source); + addMessageToUI(data.sessionId, data.message.sender, data.message.content, data.message.source, data.message.timestamp); } else if (data.type === 'message' && data.sessionId) { - addMessageToUI(data.sessionId, data.role || 'assistant', data.content); + addMessageToUI(data.sessionId, data.role || 'assistant', data.content, null, null); } else if (data.type === 'request-state-change' && data.data) { // Handle request state changes for input control console.log('Web interface received request-state-change:', data.data); @@ -1675,7 +1678,8 @@ export class McpServer extends EventEmitter { id: message.id, content: message.content, sender: message.sender, - timestamp: message.timestamp.toISOString() + timestamp: message.timestamp.toISOString(), + source: message.source } }; diff --git a/src/webview/chatWebviewProvider.ts b/src/webview/chatWebviewProvider.ts index dfdc3db..a8b590c 100644 --- a/src/webview/chatWebviewProvider.ts +++ b/src/webview/chatWebviewProvider.ts @@ -25,7 +25,8 @@ export class ChatWebviewProvider implements vscode.WebviewViewProvider { private readonly _extensionUri: vscode.Uri, mcpServer: McpServer | null, mcpConfigManager?: McpConfigManager, - private readonly workspaceSessionId?: string + private readonly workspaceSessionId?: string, + private readonly context?: vscode.ExtensionContext ) { this.mcpServer = mcpServer; this.mcpConfigManager = mcpConfigManager; @@ -534,6 +535,13 @@ export class ChatWebviewProvider implements vscode.WebviewViewProvider { }); if (response.ok) { + // Persist the session name using the same method as session ID + if (this.context) { + const workspaceRoot = vscode.workspace.workspaceFolders?.[0]?.uri.fsPath; + const workspaceKey = workspaceRoot ? `workspace-${require('crypto').createHash('md5').update(workspaceRoot).digest('hex')}` : 'no-workspace'; + await this.context.globalState.update(`sessionName-${workspaceKey}`, sessionName.trim()); + } + vscode.window.showInformationMessage(`Session named: "${sessionName}"`); } else { throw new Error(`HTTP ${response.status}: ${response.statusText}`);