|
| 1 | + |
| 2 | + |
| 3 | +> concurrently "npm run dev:chat-server" "npm run dev:app" |
| 4 | + |
| 5 | +[1] |
| 6 | + |
| 7 | +[1] > DISABLE_ESLINT_PLUGIN=true TSC_COMPILE_ON_ERROR=true REACT_APP_BACKEND=http://localhost:8765 REACT_APP_META_BACKEND=undefined npm start |
| 8 | +[1] |
| 9 | +[0] |
| 10 | +[0] > [email protected] dev:chat-server |
| 11 | +[0] > cd chat-server && npm run dev |
| 12 | +[0] |
| 13 | +[0] |
| 14 | + |
| 15 | +[0] > tsx watch src/server.ts |
| 16 | +[0] |
| 17 | +[1] |
| 18 | + |
| 19 | +[1] > react-app-rewired start |
| 20 | +[1] |
| 21 | +[0] {"component":"SessionManager","level":"info","message":"Session manager initialized","timestamp":"2025-06-03T14:09:19.512Z"} |
| 22 | +[0] {"component":"MessageManager","level":"info","message":"Message manager initialized","timestamp":"2025-06-03T14:09:19.512Z"} |
| 23 | +[0] {"component":"ToolExecutor","level":"info","message":"Tool executor initialized","timestamp":"2025-06-03T14:09:19.513Z"} |
| 24 | +[0] {"baseURL":"https://api.eliza.yandex.net/raw/openai/v1","component":"LLMService","level":"info","message":"LLM service initialized","model":"gpt-4.1","sslValidation":false,"timestamp":"2025-06-03T14:09:19.513Z"} |
| 25 | +[0] {"component":"ToolExecutor","level":"info","message":"Tool executor initialized","timestamp":"2025-06-03T14:09:19.513Z"} |
| 26 | +[0] {"component":"MessageManager","level":"info","message":"Message manager initialized","timestamp":"2025-06-03T14:09:19.513Z"} |
| 27 | +[0] {"component":"StreamingOrchestrator","level":"info","message":"Streaming orchestrator initialized","timestamp":"2025-06-03T14:09:19.513Z"} |
| 28 | +[0] {"component":"HealthMonitor","level":"info","message":"Health monitor initialized","timestamp":"2025-06-03T14:09:19.513Z"} |
| 29 | +[0] {"component":"HealthMonitor","level":"info","message":"Periodic health checks started","timestamp":"2025-06-03T14:09:19.514Z"} |
| 30 | +[0] {"component":"ChatService","level":"info","message":"Chat service initialized","timestamp":"2025-06-03T14:09:19.514Z"} |
| 31 | +[0] {"level":"info","message":"Starting MCP server initialization","serverUrl":"http://ui-dev-0.ydb.yandex.net:8784/meta/mcp","timeout":5000,"timestamp":"2025-06-03T14:09:19.514Z"} |
| 32 | +[0] {"level":"info","message":"MCP server registered","name":"ydb-mcp-server","timestamp":"2025-06-03T14:09:19.514Z","type":"sse"} |
| 33 | +[0] {"level":"info","message":"MCP server registered, attempting connection...","timestamp":"2025-06-03T14:09:19.515Z"} |
| 34 | +[0] {"level":"info","message":"Connecting to SSE MCP server","name":"ydb-mcp-server","timestamp":"2025-06-03T14:09:19.515Z","url":"http://ui-dev-0.ydb.yandex.net:8784/meta/mcp"} |
| 35 | +[0] {"environment":"development","level":"info","logLevel":"info","message":"Chat server started on port 3001","timestamp":"2025-06-03T14:09:19.528Z"} |
| 36 | +[0] {"level":"info","message":"SSE MCP server connected successfully","name":"ydb-mcp-server","timestamp":"2025-06-03T14:09:19.623Z","url":"http://ui-dev-0.ydb.yandex.net:8784/meta/mcp"} |
| 37 | +[0] {"level":"info","message":"Retrieved all tools","timestamp":"2025-06-03T14:09:19.666Z","toolNames":["ydb-get-clusters","ydb-get-clusters-info","ydb-get-cluster-health-check","ydb-get-database-health-check","ydb-get-acl","ydb-post-acl","ydb-post-render","ydb-post-database","ydb-post-query","ydb-get-describe","ydb-get-config","ydb-get-cluster","ydb-get-databases","ydb-get-database-info","ydb-get-whoami","ydb-get-nodes","ydb-get-autocomplete","ydb-get-feature_flags","ydb-get-pdisk-info","ydb-post-pdisk-restart","ydb-post-vdisk-evict","ydb-get-storage-groups","ydb-get-scheme-directory"],"toolsByServer":{"ydb-mcp-server":23},"totalTools":23} |
| 38 | +[0] {"level":"info","message":"YDB MCP server registered and connected","timestamp":"2025-06-03T14:09:19.666Z","tools":["ydb-get-clusters","ydb-get-clusters-info","ydb-get-cluster-health-check","ydb-get-database-health-check","ydb-get-acl","ydb-post-acl","ydb-post-render","ydb-post-database","ydb-post-query","ydb-get-describe","ydb-get-config","ydb-get-cluster","ydb-get-databases","ydb-get-database-info","ydb-get-whoami","ydb-get-nodes","ydb-get-autocomplete","ydb-get-feature_flags","ydb-get-pdisk-info","ydb-post-pdisk-restart","ydb-post-vdisk-evict","ydb-get-storage-groups","ydb-get-scheme-directory"],"toolsDiscovered":23,"url":"http://ui-dev-0.ydb.yandex.net:8784/meta/mcp"} |
| 39 | +[1] Browserslist: browsers data (caniuse-lite) is 6 months old. Please run: |
| 40 | +[1] npx update-browserslist-db@latest |
| 41 | +[1] Why you should do it regularly: https://github.com/browserslist/update-db#readme |
| 42 | +[1] [HPM] Proxy created: / -> http://localhost:3001 |
| 43 | +[1] [HPM] Proxy rewrite rule created: "^/api/chat" ~> "/api/chat" |
| 44 | +[1] (node:31733) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option. |
| 45 | +[1] (Use `node --trace-deprecation ...` to show where the warning was created) |
| 46 | +[1] (node:31733) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option. |
| 47 | +[1] Starting the development server... |
| 48 | +[1] |
| 49 | +[1] Compiled with warnings. |
| 50 | +[1] |
| 51 | +[1] Failed to parse source map from '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' file: Error: ENOENT: no such file or directory, open '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' |
| 52 | +[1] |
| 53 | +[1] Search for the keywords to learn more about each warning. |
| 54 | +[1] To ignore, add // eslint-disable-next-line to the line before. |
| 55 | +[1] |
| 56 | +[1] WARNING in ./node_modules/monaco-editor/esm/vs/base/common/marked/marked.js |
| 57 | +[1] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): |
| 58 | +[1] Failed to parse source map from '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' file: Error: ENOENT: no such file or directory, open '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' |
| 59 | +[1] |
| 60 | +[1] webpack compiled with 1 warning |
| 61 | +[1] Files successfully emitted, waiting for typecheck results... |
| 62 | +[1] Type-checking in progress... |
| 63 | +[1] [Chat Proxy] POST /api/chat -> http://localhost:3001/api/chat |
| 64 | +[0] {"ip":"::1","level":"info","message":"Request started","method":"POST","requestId":"req_1748959768450_m8okwdz7o","timestamp":"2025-06-03T14:09:28.450Z","url":"/api/chat","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 YaBrowser/25.2.0.0 Safari/537.36"} |
| 65 | +[0] {"duration":2,"level":"info","message":"Request completed","method":"POST","requestId":"req_1748959768450_m8okwdz7o","statusCode":404,"timestamp":"2025-06-03T14:09:28.452Z","url":"/api/chat"} |
| 66 | +[1] WARNING in ./chat-server/src/services/chat/ToolExecutor.ts:3:1 |
| 67 | +[1] TS6133: 'StreamingError' is declared but its value is never read. |
| 68 | +[1] 1 | import { EventEmitter } from 'events'; |
| 69 | +[1] 2 | import { createComponentLogger } from '../../utils/logger'; |
| 70 | +[1] > 3 | import { StreamingError } from '../../utils/errors'; |
| 71 | +[1] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 72 | +[1] 4 | import { getMCPService } from '../mcp'; |
| 73 | +[1] 5 | import { ChatDelta } from '../../types/chat'; |
| 74 | +[1] 6 | import { MCPTool } from '../../types/mcp'; |
| 75 | +[1] |
| 76 | +[1] Found 1 warning in 11912 ms. |
| 77 | +[0] (node:31734) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. |
| 78 | +[0] (Use `node --trace-warnings ...` to show where the warning was created) |
| 79 | +[0] {"component":"LLMService","error":{"cause":{}},"level":"warn","message":"LLM health check failed","timestamp":"2025-06-03T14:25:31.380Z"} |
| 80 | +[0] {"component":"HealthMonitor","error":"Connection error.","level":"warn","message":"LLM service is unavailable","timestamp":"2025-06-03T14:25:31.380Z"} |
| 81 | +[1] Compiling... |
| 82 | +[1] Compiled with warnings. |
| 83 | +[1] |
| 84 | +[1] Failed to parse source map from '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' file: Error: ENOENT: no such file or directory, open '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' |
| 85 | +[1] |
| 86 | +[1] Search for the keywords to learn more about each warning. |
| 87 | +[1] To ignore, add // eslint-disable-next-line to the line before. |
| 88 | +[1] |
| 89 | +[1] WARNING in ./node_modules/monaco-editor/esm/vs/base/common/marked/marked.js |
| 90 | +[1] Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): |
| 91 | +[1] Failed to parse source map from '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' file: Error: ENOENT: no such file or directory, open '/Users/astandrik/workspace/ydb-embedded-ui/node_modules/monaco-editor/esm/vs/base/common/marked/marked.umd.js.map' |
| 92 | +[1] |
| 93 | +[1] webpack compiled with 1 warning |
| 94 | +[1] WARNING in ./chat-server/src/services/chat/ToolExecutor.ts:3:1 |
| 95 | +[1] TS6133: 'StreamingError' is declared but its value is never read. |
| 96 | +[1] 1 | import { EventEmitter } from 'events'; |
| 97 | +[1] 2 | import { createComponentLogger } from '../../utils/logger'; |
| 98 | +[1] > 3 | import { StreamingError } from '../../utils/errors'; |
| 99 | +[1] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 100 | +[1] 4 | import { getMCPService } from '../mcp'; |
| 101 | +[1] 5 | import { ChatDelta } from '../../types/chat'; |
| 102 | +[1] 6 | import { MCPTool } from '../../types/mcp'; |
| 103 | +[1] |
| 104 | +[1] Found 1 warning in 1272 ms. |
| 105 | +[0] {"level":"info","message":"SIGINT received, shutting down gracefully","timestamp":"2025-06-03T14:57:54.299Z"} |
| 106 | +[0] 5:57:54 pm [tsx] Previous process hasn't exited yet. Force killing... |
| 107 | +[0] npm run dev:chat-server exited with code 0 |
| 108 | +[1] npm run dev:app exited with code SIGINT |
0 commit comments