{"id":457169,"date":"2025-04-24T03:00:04","date_gmt":"2025-04-24T03:00:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=457169"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2025-04-24T03:00:04","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=457169","title":{"rendered":"<span>\u042f \u0437\u043d\u0430\u044e, \u0447\u0442\u043e \u0442\u044b \u0434\u0443\u043c\u0430\u043b \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0434\u0435\u0439\u043b\u0438\u043a<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>Aw sheets, here we go again<\/h2>\n<ul>\n<li>\n<p>\u0423\u0442\u0440\u043e \u0441\u0440\u0435\u0434\u044b. <\/p>\n<\/li>\n<li>\n<p>\u0412\u044b \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0435 meet\/slack\/rocket\/etc \u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u0442\u0435 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\ud83d\udcde&#187; <\/p>\n<\/li>\n<li>\n<p>\u0418\u043c\u0435\u043d\u0430 \u043b\u044e\u0434\u0435\u0439 \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u043c \u0437\u0432\u043e\u043d\u043a\u0435 \u0432\u0430\u043c \u0434\u0430\u0432\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b. \u0421\u043b\u043e\u0432\u0430, \u043f\u0440\u043e\u0438\u0437\u043d\u043e\u0441\u0438\u043c\u044b\u0435 \u043b\u044e\u0434\u044c\u043c\u0438  \u0432\u0430\u043c \u0442\u043e\u0436\u0435, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b. \u041d\u043e \u0447\u0442\u043e-\u0442\u043e \u0431\u044b\u043b\u043e \u0432\u0430\u043c\u0438 \u0437\u0430\u0431\u044b\u0442\u043e, \u0447\u0442\u043e-\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e\u0435, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0432 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u0430\u043a \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043e\u0431\u0435\u0440\u0435\u0442\u0441\u044f \u043f\u043e \u0432\u0430\u0448\u0443 \u0434\u0443\u0448\u0443. <\/p>\n<\/li>\n<li>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043e\u043a\u043d\u043e \u0441\u043e\u043b\u043d\u0446\u0435 \u0449\u0435\u043a\u043e\u0447\u0435\u0442 \u044d\u043a\u0440\u0430\u043d \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430, \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u0430\u0441 \u043e\u0442\u043a\u043b\u043e\u043d\u044f\u0442\u044c\u0441\u044f \u0442\u043e \u0432\u043f\u0440\u0430\u0432\u043e, \u0442\u043e \u0432\u043b\u0435\u0432\u043e, \u0434\u0430\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043d\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0435. \u041d\u0430 \u043a\u0440\u0443\u0442\u043e\u043c \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435 \u0436\u0443\u0440\u0447\u0430\u0442 \u0436\u0438\u0440\u043d\u044b\u0435 \u0433\u043e\u043b\u0443\u0431\u0438, \u0430 \u043d\u0430\u0434 \u0432\u0430\u043c\u0438 \u0441\u0432\u0435\u0440\u043b\u0438\u0442 \u0434\u043e \u0431\u043e\u043b\u0438 {\u043b\u044e\u0431\u0438\u043c\u044b\u0439} \u0441\u043e\u0441\u0435\u0434. <\/p>\n<\/li>\n<li>\n<p>\u0418 \u0432\u043e\u0442 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0432\u0430\u0448\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0438, \u043a\u0430\u043a \u0433\u0440\u043e\u043c \u0441\u0440\u0435\u0434\u0438 \u044f\u0441\u043d\u043e\u0433\u043e \u043d\u0435\u0431\u0430, \u0437\u0432\u0443\u0447\u0438\u0442 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0435: &#171;{HeroName}, \u0447\u0442\u043e \u043d\u0430\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u0448\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f?&#187;. <\/p>\n<\/li>\n<li>\n<p>\u0412\u044b, \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0432\u044b\u0446\u0430\u0440\u0430\u043f\u0430\u0442\u044c \u0438\u0437 \u0447\u0435\u0440\u0442\u043e\u0433\u043e\u0432 \u043f\u043e\u043b\u0443\u0441\u043e\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0443\u043c\u0430, \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u0442\u0435 \u0438\u0437 \u0433\u043e\u043b\u043e\u0432\u044b \u043e\u0431\u0440\u044b\u0432\u043a\u0438 \u043a\u043e\u0434\u0430, \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044f \u0438\u0445 \u0432 \u0440\u0432\u0430\u043d\u044b\u0435 \u0444\u0440\u0430\u0437\u044b, \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0440\u0430\u0437\u0434\u0443\u0442\u044c \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0438\u043b\u0438\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439 \u0438 \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0434\u043b\u0438\u043d\u043d\u044b\u043c \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439 \u0442\u0435\u0445 \u0441\u0430\u043c\u044b\u0445 \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439. \u0415\u0449\u0451 \u043f\u0430\u0440\u0443 \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u043c\u0438\u043d\u0443\u0442 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u0442\u0435 \u043d\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c\u0438. <\/p>\n<\/li>\n<li>\n<p>\u041e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u0431\u0435\u0441\u0435\u0434\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0424\u043e\u043d\u043e\u0432\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0432\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0435 \u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043a\u0430\u0440\u043d\u0430\u0432\u0430\u043b\u0430. \u0412\u0441\u0435 \u043a\u0430\u0441\u0442\u0443\u0435\u043c\u044b\u0435 \u0437\u0430\u043a\u043b\u0438\u043d\u0430\u043d\u0438\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u0447\u0430\u0442\u0430 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u0442\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0432\u0430\u0448\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u044c\u044e. <\/p>\n<\/li>\n<li>\n<p> \u041d\u0430\u043a\u043e\u043d\u0435\u0446 \u0437\u0432\u0443\u043a \u0432 \u043d\u0430\u0443\u0448\u043d\u0438\u043a\u0430\u0445 \u0437\u0430\u0442\u0438\u0445\u0430\u0435\u0442, \u0438 \u0432\u044b \u0441\u043d\u043e\u0432\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0435\u0441\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u043a\u0432\u0435\u0441\u0442\u044b. <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0441\u043d\u043e\u0432\u0430.<\/p>\n<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u043c, \u043c\u0443\u0442\u043e\u0440\u043d\u044b\u0435 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u0435\u0449\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u0435\u043d\u043d\u043e, \u043d\u0435\u0445\u0438\u043b\u043e \u0432\u044b\u0431\u0438\u0432\u0430\u044e\u0442 \u0438\u0437 \u0444\u043e\u043a\u0443\u0441\u0430 \u2014 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u0435\u0439\u043b\u0438\u043a\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b, \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u0435\u0439\u043b\u0438\u043a\u0430\u0445, \u044f \u0431\u044b \u043d\u0435 \u043e\u0442\u043d\u0451\u0441 \u043a \u0447\u0435\u043c\u0443-\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0446\u0435\u043d\u043d\u043e\u043c\u0443 \u0438\u043b\u0438 \u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u0442\u0440\u0430\u0442\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>\u041f\u043e\u0441\u0435\u043c\u0443 \u044f \u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u043b, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0440\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435, \u0445\u0430\u0439\u043f\u043e\u0432\u043e\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435 \u2014 \u0438 \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e MCP-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f <strong>\u0441\u0430\u043c\u043e\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u0443\u0448\u0435\u0439 \u0432 Git<\/strong>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u044b \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c RAG.<\/p>\n<h2>\u0418\u0434\u0435\u044f<\/h2>\n<p>\u0414\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u044e, \u043a\u0430\u043a \u0418\u0418 \u043d\u0435\u0441\u0451\u0442\u0441\u044f \u0432\u043f\u0435\u0440\u0435\u0434 \u2014 \u043d\u0435\u0441\u0451\u0442\u0441\u044f \u043e\u0442\u0431\u0438\u0440\u0430\u0442\u044c \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e 300\u043a\/nanosec \u0438 \u0432\u0440\u0443\u0447\u0430\u0442\u044c \u0442\u0430\u043b\u043e\u043d\u0447\u0438\u043a \u043d\u0430 \u0443\u044e\u0442\u043d\u0443\u044e \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0437\u0430\u0432\u043e\u0434\u0435. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u044d\u0442\u043e \u0437\u0440\u0435\u043b\u0438\u0449\u0435, \u044f \u0432\u0441\u0451 \u0436\u0435 \u043d\u0435 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0441\u044c \u043e\u0442 \u0431\u043b\u0430\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u0451\u0442 \u043c\u043d\u0435 \u0418\u0418, \u0445\u043e\u0442\u044c \u043c\u043e\u044f \u043f\u0441\u0438\u0445\u0438\u043a\u0430 \u0438 \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e\u043c\u0443 \u0438\u0437\u043e \u0432\u0441\u0435\u0445 \u0441\u0438\u043b.<\/p>\n<p>\u041f\u0430\u0440\u0443 \u043d\u0435\u0434\u0435\u043b\u044c \u043d\u0430\u0437\u0430\u0434 \u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0441\u0435\u0431\u0435 Cursor. \u0414\u043e \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 JetBrains.<\/p>\n<p>\u041f\u043e\u044e\u0437\u0430\u0432 Cursor, \u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0447\u0430\u043b \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0432 MCP: \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u044b.<\/p>\n<p>\u0412 \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u043d\u0435\u0439, \u043a\u043e\u0433\u0434\u0430 \u0433\u043b\u0430\u0437\u0430 \u0443\u0436\u0435 \u0432\u044b\u0436\u0433\u043b\u043e \u043e\u0442 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0445 <code>[fix]<\/code> \u0432 <code>[commit_messages]<\/code>, \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0434\u0435\u0439\u043b\u0438\u043a \u0431\u044b\u043b \u043f\u043e\u0437\u0430\u0434\u0438, \u044f \u0440\u0435\u0448\u0438\u043b \u2014 \u043f\u043e\u0440\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 MCP-\u0441\u0435\u0440\u0432\u0435\u0440. \u0422\u0430\u043a\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u043f\u0440\u0438\u0431\u0438\u043b \u0441\u043e\u0437\u0432\u043e\u043d\u044b, \u0437\u0430\u0434\u0443\u0448\u0438\u043b \u0431\u0435\u0441\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b \u0432\u0441\u0451 \u044d\u0442\u043e \u0432 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0444\u0438\u0434, \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u043a\u0430\u043a \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c, \u0442\u0430\u043a \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0443 \u043f\u0443\u0448\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0430\u0433\u0435\u043d\u0442\u0430 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b execution prompt \u0431\u044b\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d \u043a \u00ab\u043f\u043e\u043b\u0435\u0432\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u00bb (\u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u043a \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443). <\/p>\n<p><strong>\u041a\u0430\u043a\u0438\u0435 \u0435\u0449\u0451 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0443 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f?<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f, \u0435\u0441\u0442\u044c \u043b\u0438 \u0443\u0436\u0435 <code>.git<\/code>; \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 <code>git init<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e LLM \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0438\u0442\u0430 (\u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0438 diff, \u0438\u043b\u0438 diffsumary, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0438\u0442 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439).<\/p>\n<\/li>\n<li>\n<p> \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u0438, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c <code>master<\/code> \u0438\u043b\u0438 <code>main<\/code>, \u0435\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435\u0442, \u0438 \u0441\u0442\u0430\u0432\u0438\u0442 upstream\u2011\u0441\u0432\u044f\u0437\u044c.<\/p>\n<\/li>\n<li>\n<p> \u0412\u043c\u0435\u0441\u0442\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0440\u0443\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 (<code>git init<\/code>, <code>git config<\/code>, <code>git add<\/code>, <code>git commit<\/code>, <code>git remote add<\/code>, <code>git push<\/code>) \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0430\u0433\u0435\u043d\u0442\u0443:<\/p>\n<\/li>\n<\/ul>\n<p><code>git push main [\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430] \u0438\u043c\u044f_\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/code><\/p>\n<p>\u0422\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043a\u043e\u0440\u0451\u0436\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u2014 \u043d\u0443, \u043f\u043e\u0447\u0442\u0438.<\/p>\n<p>\u0425\u043e\u0442\u044f \u0432 \u0433\u043b\u0430\u0437\u0430 \u0441\u0440\u0430\u0437\u0443 \u0431\u0440\u043e\u0441\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435: <code>\u0438\u043c\u044f_\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/code>.<br \/>\u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0445\u043e\u0447\u0443 \u0437\u0430\u043f\u0443\u0448\u0438\u0442\u044c?<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, AI \u043d\u0435 \u0437\u043d\u0430\u0435\u0442, \u043e\u0442\u043a\u0443\u0434\u0430 \u0435\u0433\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442, \u0432 \u043a\u0430\u043a\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043a\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0437\u043e\u0432 \u2014 \u0435\u0441\u043b\u0438 \u044d\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u044f\u0432\u043d\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0430 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435. \u042d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u2014 \u0438\u0437 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0432\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0439 \u043f\u0443\u0442\u044c (\u0438\u043b\u0438 \u043f\u0443\u0442\u0438), \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0435\u0441\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0442\u0443\u043b\u0437\u0430 \u2014 <code>list_repositories<\/code>. \u0421 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0432 \u0447\u0430\u0442\u0435 \u0441 AI-\u0430\u0433\u0435\u043d\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u0442\u0435\u0431\u0430\u0436\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0443\u0448\u0430 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043a\u0443\u0434\u0430-\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c PostgreSQL, \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c <code>pgvector<\/code>, \u043d\u0430\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432. \u0412 \u0446\u0435\u043b\u043e\u043c, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0435. \u041d\u043e \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c: \u044f\u0433\u043e\u0434\u0430 pg \u043d\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0440\u043e\u0441\u043b\u0430. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u043a\u0443\u0434\u0430 \u0440\u0430\u0437\u0443\u043c\u043d\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u2014 \u043e\u043d\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435, \u043b\u0443\u0447\u0448\u0435 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u044e\u0442\u0441\u044f, \u0438 \u0443\u0436\u0435 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 ML-\u043c\u043e\u0434\u0443\u043b\u0438. \u0418 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435 \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u043f\u0440\u043e \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0435 \u0411\u0414 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f ChromaDB, \u0440\u0435\u0436\u0435 \u2014 Weaviate, Pinecone \u0438\u043b\u0438 Qdrant (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043c\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u043d\u0430\u043d\u0438\u044f \u0431\u0443\u043a\u0432 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f). \u0418\u0437 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0430, \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u0438 \u0441\u043e \u00ab\u0441\u043b\u0430\u0431\u044b\u043c\u0438\u00bb \u0438 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 Weaviate \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f MVP, \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u0435\u0451. \u041d\u0430 \u0435\u0451 \u043e\u0441\u043d\u043e\u0432\u0435 \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c RAG \u2014 \u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u043a\u0442\u043e \u0432\u0447\u0435\u0440\u0430 \u0443\u0440\u043e\u043d\u0438\u043b \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d, \u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u043e\u0432 \u043f\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u0433\u043e \u0434\u043d\u044f.<\/p>\n<p>\u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432 Slack: \u0442\u0430\u043a \u0432\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432 \u043a\u0443\u0440\u0441\u0435 \u0432\u0441\u0435\u0445 \u0442\u0432\u043e\u0438\u0445 &#171;[fix]&#187;.<\/p>\n<figure class=\"full-width\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/daf\/a35\/bb0\/dafa35bb06c7bc594acfcb7f53960e25.png\" alt=\"\u0418 \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e\" title=\"\u0418 \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e\" width=\"1536\" height=\"1024\" sizes=\"auto, (max-width: 780px) 100vw, 50vw\" srcset=\"https:\/\/habrastorage.org\/r\/w780\/getpro\/habr\/upload_files\/daf\/a35\/bb0\/dafa35bb06c7bc594acfcb7f53960e25.png 780w,&#10;       https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/daf\/a35\/bb0\/dafa35bb06c7bc594acfcb7f53960e25.png 781w\" loading=\"lazy\" decode=\"async\"\/><\/p>\n<div><figcaption>\u0418 \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e<\/figcaption><\/div>\n<\/figure>\n<h2>MCP server starts&#8230;<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 MCP \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<p><strong>MCP\u2011\u0441\u0435\u0440\u0432\u0435\u0440<\/strong> \u2014 \u044d\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 API, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0430\u0433\u0435\u043d\u0442\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438: \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439, \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438, \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u0430\u043c\u0438 \u0438 \u0434\u0430\u0436\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u00ab\u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430\u00bb (Home Assistant).<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/modelcontextprotocol\/servers\" rel=\"noopener noreferrer nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>. <\/p>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u044f MCP\u2011\u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<ul>\n<li>\n<p><strong>GET\u2011\u0437\u0430\u043f\u0440\u043e\u0441\u044b<\/strong> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u0432\u0438\u0434\u0435 <em>\u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432<\/em> \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445;<\/p>\n<\/li>\n<li>\n<p><strong>POST<\/strong>, <strong>PUT<\/strong>, <strong>DELETE<\/strong> \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a <em>\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b<\/em> (tools) \u0434\u043b\u044f \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0440\u043e\u043c\u043f\u0442\u044b<\/strong> \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 MCP \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u044e\u0442 \u0432 \u0440\u043e\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0433\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 Swagger.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 mcp-\u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 mcp-\u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c SDK, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u043b\u044f python, node, c#, java, kotlin. \u0422\u0430\u043a \u043a\u0430\u043a \u044f \u0443\u043c\u0435\u044e \u0432 \u043d\u043e\u0434\u0443, \u0438 \u0443\u043c\u0435\u044e \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u0432 python, \u0442\u043e \u0431\u0443\u0434\u0443 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 \u0441\u0442\u0435\u043a\u0435 node + typescript. <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/modelcontextprotocol.io\/quickstart\/server#node\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/a> \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0431\u0430\u0437\u0435.<br \/>\u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c, \u0432\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u0430\u043c mcp-\u0441\u0435\u0440\u0432\u0435\u0440:<\/p>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/@golddeity\/gitdigester\" rel=\"noopener noreferrer nofollow\"><code>https:\/\/www.npmjs.com\/package\/@golddeity\/gitdigester<\/code><\/a><\/p>\n<h2>Weaviate<\/h2>\n<p>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f weaviate. <\/p>\n<pre><code class=\"javascript\">import weaviate, { dataType, WeaviateClient, vectorizer, tokenization } from \"weaviate-client\";  const weaviateClient: WeaviateClient = await weaviate.connectToWeaviateCloud(     weaviateUrl,     {       authCredentials: new weaviate.ApiKey(config.weaviateKey || \"\"),      }   );<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 Weaviate, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u0431\u0430\u0437\u044b \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u044d\u043c\u0431\u0435\u0434\u0438\u043d\u0433\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e docker compose \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043c\u043e\u0434\u0443\u043b\u044c generative-mistral \u0434\u043b\u044f RAG, \u0442\u0430\u043a \u043a\u0430\u043a mistral \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0447\u0451\u0442\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0433\u043e\u043d\u044f\u0442\u044c \u0435\u0451 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e.<\/p>\n<pre><code class=\"yaml\">weaviate:     command:     - --host     - 0.0.0.0     - --port     - '8080'     - --scheme     - http     image: cr.weaviate.io\/semitechnologies\/weaviate:1.30.0     depends_on:       - t2v-transformers     ports:     - 8082:8080     - 50051:50051     volumes:     - weaviate_data:\/var\/lib\/weaviate     restart: on-failure:0     environment:       QUERY_DEFAULTS_LIMIT: 25       AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'       PERSISTENCE_DATA_PATH: '\/var\/lib\/weaviate'       ENABLE_API_BASED_MODULES: 'true'       ENABLE_MODULES: 'text2vec-transformers,generative-mistral'       MISTRAL_APIKEY: 'kQkzna77beFXrs0q4nrrF997LACYWAGk'       TRANSFORMERS_INFERENCE_API: http:\/\/t2v-transformers:8080  # Set the inference API endpoint       CLUSTER_HOSTNAME: 'node1'    t2v-transformers:  # Set the name of the inference container     image: cr.weaviate.io\/semitechnologies\/transformers-inference:sentence-transformers-paraphrase-multilingual-MiniLM-L12-v2     environment:       ENABLE_CUDA: 0  # Set to 1 to enable<\/code><\/pre>\n<p>\u0421\u0435\u0442\u0430\u043f\u0438\u043c \u0441\u0445\u0435:<\/p>\n<pre><code class=\"javascript\">const setUpWeaviate = async () =&gt; {   await weaviateClient.collections.create({     name: \"commits\",     vectorizers: vectorizer.text2VecOpenAI(),     properties: [       {         name: \"commitMessage\",         dataType: dataType.TEXT,         tokenization: tokenization.LOWERCASE,       },       {         name: \"commitHash\",         dataType: dataType.TEXT,       },       {         name: \"commitDate\",         dataType: dataType.DATE,       },       {         name: \"commitAuthor\",         dataType: dataType.TEXT,       },       {         name: \"commitBranch\",         dataType: dataType.TEXT,       },       {         name: \"commitDiff\",         dataType: dataType.TEXT,       },     ],   }); }<\/code><\/pre>\n<h2>GIT<\/h2>\n<p>\u0414\u043b\u044f git \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 simple GIT. \u042d\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0447\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0433\u0438\u0442\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u0441\u043f\u0430\u0432\u043d\u0435\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. \u0412\u043d\u0443\u0442\u0440\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043e\u043a, \u043c\u0435\u0442\u043e\u0434\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u0447\u0442\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 stdout, stderr. <\/p>\n<p>\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c URL \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c MCP \u0441\u0435\u0440\u0432\u0435\u0440\u0430. <\/p>\n<pre><code class=\"javascript\">  git = simpleGit(gitOptions);  const remotes = await git.remote(['get-url', 'origin']); if (!remotes) return;  const remoteUrl = remotes.trim(); let newUrl = '';<\/code><\/pre>\n<p>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b  \u0442\u0438\u043f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u043f\u0443\u0442\u044c \u0434\u043e \u043a\u043b\u044e\u0447\u0435\u0439.<\/p>\n<p><code>\"--git-auth-method=ssh\",\"--git-ssh-key=\/home\/{your_pc}\/.ssh\/id_rsa\",<\/code><\/p>\n<pre><code class=\"javascript\">if (config.gitAuthMethod === 'ssh' &amp;&amp; remoteUrl.includes('https:\/\/')) {   try {     const httpsUrl = new URL(remoteUrl);     const host = httpsUrl.hostname;     const path = httpsUrl.pathname.replace(\/^\\\/\/, '');     newUrl = `git@${host}:${path}`;          console.error(`Converting HTTPS URL to SSH: ${newUrl}`);     await git.remote(['set-url', 'origin', newUrl]);   } catch (error) {     console.error(`Error converting HTTPS to SSH URL: ${error}`);   } } else if (config.gitAuthMethod.startsWith('https') &amp;&amp; remoteUrl.startsWith('git@')) {     try {       const sshMatch = remoteUrl.match(\/git@([^:]+):(.+)\/);       if (sshMatch) {         const [, host, path] = sshMatch;         newUrl = `https:\/\/${host}\/${path}`;                  if (config.gitAuthMethod === 'https-token' &amp;&amp; config.gitUsername &amp;&amp; config.gitToken) {           const urlObj = new URL(newUrl);           urlObj.username = config.gitUsername;           urlObj.password = config.gitToken;           newUrl = urlObj.toString();         }                  console.error(`Converting SSH URL to HTTPS: ${newUrl}`);         await git.remote(['set-url', 'origin', newUrl]);       }     } catch (error) {       console.error(`Error converting SSH URL to HTTPS: ${error}`);     }   } else if (config.gitAuthMethod === 'https-token' &amp;&amp; remoteUrl.includes('https:\/\/') &amp;&amp;               config.gitUsername &amp;&amp; config.gitToken) {     try {       const urlObj = new URL(remoteUrl);       if (urlObj.username !== config.gitUsername || urlObj.password !== config.gitToken) {         urlObj.username = config.gitUsername;         urlObj.password = config.gitToken;         newUrl = urlObj.toString();                  console.error(`Updating HTTPS URL with credentials`);         await git.remote(['set-url', 'origin', newUrl]);       }     } catch (error) {       console.error(`Error updating HTTPS URL: ${error}`);     }<\/code><\/pre>\n<ul>\n<li>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>git.remote(['set-url', 'origin', newUrl])<\/code> \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f URL \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430 \u043a\u0430\u043a <code>'ssh'<\/code>, \u043d\u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0439 URL \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 <code>https:\/\/...<\/code>, \u0442\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 SSH-\u0444\u043e\u0440\u043c\u0430\u0442.<\/p>\n<\/li>\n<li>\n<p>\u0421\u043e\u0437\u0434\u0430\u0451\u0442\u0441\u044f \u043e\u0431\u044a\u0435\u043a\u0442 <code>URL<\/code> \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f <code>hostname<\/code> (\u0438\u043c\u0435\u043d\u0438 \u0445\u043e\u0441\u0442\u0430) \u0438 <code>pathname<\/code> (\u043f\u0443\u0442\u0438).<\/p>\n<\/li>\n<li>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0435\u0434\u0443\u0449\u0438\u0439 \u0441\u043b\u044d\u0448 \u0438\u0437 <code>pathname<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0424\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 URL \u0432\u0438\u0434\u0430: <code>git@host:path<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0412\u044b\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c (\u0447\u0435\u0440\u0435\u0437 <code>console.error<\/code> \u0434\u043b\u044f \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 modelcontextprotocol\/inspector, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u043f\u043e\u0437\u0436\u0435).<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d \u0440\u0435\u0436\u0438\u043c HTTPS (\u0438\u043b\u0438 \u0435\u0433\u043e \u0440\u0430\u0437\u043d\u043e\u0432\u0438\u0434\u043d\u043e\u0441\u0442\u044c) \u0438 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 URL \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 SSH (git@&#8230;), \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435.<\/p>\n<\/li>\n<li>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u044e\u0442\u0441\u044f \u0445\u043e\u0441\u0442 \u0438 \u043f\u0443\u0442\u044c.<\/p>\n<\/li>\n<li>\n<p>\u0424\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0439 URL \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 https:\/\/host\/path.<\/p>\n<\/li>\n<li>\n<p>\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430: \u0435\u0441\u043b\u0438 \u0440\u0435\u0436\u0438\u043c \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u2014 https-token \u0438 \u0437\u0430\u0434\u0430\u043d\u044b \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u0442\u043e\u043a\u0435\u043d, \u0442\u043e \u044d\u0442\u0438 \u043a\u0440\u0435\u0434\u0435\u043d\u0448\u0435\u043b\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432 URL \u0447\u0435\u0440\u0435\u0437 \u043e\u0431\u044a\u0435\u043a\u0442 URL (\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044f username \u0438 password).<\/p>\n<\/li>\n<li>\n<p>\u041b\u043e\u0433\u0438\u043a\u0443 \u0441\u0435\u0442\u0430\u043f\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043e\u043f\u0443\u0441\u0442\u0438\u043c, \u0442\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043d\u0435\u0442.<\/p>\n<\/li>\n<\/ul>\n<h2>Tools<\/h2>\n<p>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u0430\u0433\u0435\u043d\u0442\u0430. \u0412 \u043f\u0435\u0440\u0432\u043e\u043c\u0443 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430, \u0432\u043e \u0432\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442, \u0447\u0442\u043e\u0431\u044b AI \u0430\u0433\u0435\u043d\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b \u0432 \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0435\u043c\u0443 \u0434\u0435\u0440\u0433\u0430\u0442\u044c \u0442\u043e\u0442 \u0438\u043b\u0438 \u0438\u043d\u043e\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e zod \u0438 \u043c\u0435\u0442\u043e\u0434\u0430 describe \u043c\u044b \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0430\u0433\u0435\u043d\u0442\u0443 \u043a\u0430\u043a \u0432\u044b\u0447\u043b\u0435\u043d\u044f\u0442\u044c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u0438\u0437 \u043f\u0440\u043e\u043c\u043f\u0442\u0430.<\/p>\n<pre><code class=\"javascript\">server.tool(   \"git_push_origin\",   \"Process git commit and push operations with enhanced commit messages\",   {     branchName: z.string().describe(\"Branch name\"),     commitData: z.string().describe(\"Commit message\"),     repositoryName: z.string().optional().describe(\"Repository name (optional)\"),     currentDirectory: z.string().optional().describe(\"Current working directory of the user (optional)\"),   },   async ({ branchName, commitData, repositoryName, currentDirectory }) =&gt; {<\/code><\/pre>\n<p>\u0414\u0430\u043b\u0435\u0435 \u043c\u044b \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0437\u0432\u043b\u0435\u043a\u0430\u0435\u043c URL \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u0435\u043a\u0441\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u2011\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438 \u043f\u0440\u043e\u0433\u043e\u043d\u044f\u0435\u043c \u0435\u0433\u043e \u0447\u0435\u0440\u0435\u0437 DeepSeek \u2014 \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u044b\u0439, \u043d\u043e \u0451\u043c\u043a\u0438\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0437\u0430\u0442\u0440\u0430\u0442. \u0412 \u0431\u0443\u0434\u0443\u0449\u0435\u043c \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0434\u0432\u0435 \u0433\u0438\u0431\u043a\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438: \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u043c\u043f\u0442 \u0434\u043b\u044f LLM \u0438 \u0444\u043b\u0430\u0433, \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439, \u043d\u0443\u0436\u043d\u043e \u043b\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c <code>diff<\/code> \u043f\u0440\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e MVP MCP \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0431\u043e\u043b\u0435\u0435 \u0447\u0435\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e.<\/p>\n<pre><code class=\"javascript\">const repoUrl = await git.remote(['get-url', 'origin']) || ''; let userName = '', userEmail = ''; let latestCommit = ''; try {   userName = (await git.raw(['config', 'user.name'])) || '';   userEmail = (await git.raw(['config', 'user.email'])) || ''; } catch (error) {   console.error(\"Error getting git user info:\", error);   userName = \"Unknown\";   userEmail = \"unknown@example.com\"; }  const completion = await openai.chat.completions.create({   model: \"deepseek-chat\",   messages: [     {       role: \"system\",       content: \"\u0412\u044b \u2014 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0435\u0442 \u0438 \u0443\u043b\u0443\u0447\u0448\u0430\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432. \u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u0438 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u043c\u0438, \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u0437\u0430\u043c\u044b\u0441\u0435\u043b. \u041f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a. \u0414\u0435\u043b\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043a\u043e\u0440\u043e\u0442\u043a\u043e \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u043e.\"     },     {       role: \"user\",       content: `\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0440\u0430\u0441\u0448\u0438\u0440\u044c\u0442\u0435 \u0438 \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u0435 \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430: \"${commitData}\"`     }   ], });  const enhancedCommitMessage = completion.choices[0]?.message?.content || commitData;  await git.add('.'); const commitResult = await git.commit(enhancedCommitMessage); console.error(`Commit result:`, commitResult);  const gitDiff = await git.diff(['HEAD~1', 'HEAD']);\\<\/code><\/pre>\n<p><strong>\u041f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0437\u0430\u043f\u0443\u0448\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442 \u0447\u0435\u0440\u0435\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0433\u043e\u0432:<\/strong><\/p>\n<ol>\n<li>\n<p><strong>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u0438<\/strong><br \/> \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u0438 (<code>currentBranch<\/code>) \u0438 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0435\u0433\u043e \u0441 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 (<code>branchName<\/code>). \u0415\u0441\u043b\u0438 \u043e\u043d\u0438 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442, \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u2014 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0443\u0448\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><strong>\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0446\u0435\u043b\u0435\u0432\u0443\u044e \u0432\u0435\u0442\u043a\u0443<\/strong><br \/> \u0415\u0441\u043b\u0438 \u043c\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043c\u0441\u044f \u043d\u0435 \u0432 \u0442\u043e\u0439 \u0432\u0435\u0442\u043a\u0435, \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0445\u043e\u0442\u0438\u043c \u0437\u0430\u043f\u0443\u0448\u0438\u0442\u044c:<\/p>\n<ul>\n<li>\n<p>\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u043e \u043d\u0435\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0432\u0435\u0442\u043e\u043a.<\/p>\n<\/li>\n<li>\n<p>\u041e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u043c \u0445\u0435\u0448 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430 (<code>latestCommit = await git.revparse(['HEAD'])<\/code>).<\/p>\n<\/li>\n<li>\n<p>\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <code>git branch &lt;branchName&gt; --contains &lt;latestCommit&gt;<\/code> \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c, \u0435\u0441\u0442\u044c \u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u043e\u043c\u043c\u0438\u0442 \u0443\u0436\u0435 \u0432 \u0446\u0435\u043b\u0435\u0432\u043e\u0439 \u0432\u0435\u0442\u043a\u0435:<\/p>\n<ul>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0434\u0430, \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u043c \u043e\u0431 \u044d\u0442\u043e\u043c \u0438 \u0432\u044b\u0445\u043e\u0434\u0438\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u0433\u043e\u0442\u043e\u0432\u0438\u043c\u0441\u044f \u043a cherry\u2011pick\u2019\u0443.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0435\u0442\u043a\u0443<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c <code>git.checkout(branchName)<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0432\u0435\u0442\u043a\u0430 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, Git \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0441\u0442 \u0435\u0451 (\u0432 \u0440\u0435\u0436\u0438\u043c\u0435 <code>checkout<\/code> \u0431\u0435\u0437 \u0444\u043b\u0430\u0433\u0430 <code>-b<\/code>) \u2014 \u0438\u043b\u0438 \u043c\u043e\u0436\u043d\u043e \u044f\u0432\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <code>-b<\/code>, \u0447\u0442\u043e\u0431\u044b \u0431\u044b\u043b\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u0435\u0435.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0427\u0435\u0440\u0438-\u043f\u0438\u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430: <\/strong>\u0415\u0441\u043b\u0438 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0430\u0442\u0447\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442 \u0438\u043b\u0438 \u043f\u0443\u0441\u0442\u043e\u0439 \u043a\u043e\u043c\u043c\u0438\u0442, \u043c\u044b \u043b\u043e\u0432\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443 \u0438 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c <code>errorMessage<\/code>.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043e\u0448\u0438\u0431\u043e\u043a cherry\u2011pick\u2019\u0430<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u041f\u0443\u0441\u0442\u043e\u0439 \u043a\u043e\u043c\u043c\u0438\u0442<\/strong> (<code>nothing to commit<\/code>, <code>previous cherry-pick is now empty<\/code>, <code>cherry-pick is already started<\/code>):<\/p>\n<ol>\n<li>\n<p>\u041f\u044b\u0442\u0430\u0435\u043c\u0441\u044f <code>git cherry-pick --skip<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0415\u0441\u043b\u0438 \u0438 \u044d\u0442\u043e \u043d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u2014 \u0434\u0435\u043b\u0430\u0435\u043c <code>git cherry-pick --abort<\/code>.<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<li>\n<p><strong>\u041b\u044e\u0431\u0430\u044f \u0434\u0440\u0443\u0433\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0430<\/strong>: \u0441\u0440\u0430\u0437\u0443 <code>git cherry-pick --abort<\/code>.<br \/> \u041d\u0430 \u043a\u0430\u0436\u0434\u043e\u043c \u0448\u0430\u0433\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u043c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u043b\u043e\u0433 \u2014 \u0447\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a \u0438 \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u0438\u0441\u044c.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0412\u043e\u0437\u0432\u0440\u0430\u0442 \u043d\u0430 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u0443\u044e \u0432\u0435\u0442\u043a\u0443<\/strong><br \/>\u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u043f\u0440\u0435\u0440\u0432\u0430\u043d\u043d\u043e\u0433\u043e cherry\u2011pick\u2019\u0430 \u0441\u043a\u0440\u0438\u043f\u0442 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043d\u0430 <code>currentBranch<\/code> (\u0438\u043b\u0438 \u043d\u0430 \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d\u043d\u044b\u0439 <code>originalBranch<\/code>), \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u043c \u0432 weavite \u0434\u0430\u043d\u043d\u044b\u0435:<\/strong><\/p>\n<\/li>\n<\/ol>\n<pre><code class=\"javascript\">const commitsCollection = weaviateClient.collections.get(\"Commits\"); const uuid = await commitsCollection.data.insert({   commitMessage: enhancedCommitMessage,   commitDate: new Date().toISOString(),   commitHash: latestCommit,   commitAuthor: userName,   commitEmail: userEmail,   commitBranch: branchName,   commitDiff: gitDiff, });<\/code><\/pre>\n<p> 8. <strong>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0435\u0431\u0445\u0443\u043a \u0432 slack.<\/strong><\/p>\n<pre><code class=\"javascript\"> if (config.slackWebhook) {         try {           await axios.post(config.slackWebhook, {             blocks: [               {                 type: \"header\",                 text: {                   type: \"plain_text\",                   text: \"New Git Commit\"                 }               },               {                 type: \"section\",                 fields: [                   {                     type: \"mrkdwn\",                     text: `*Repository:*\\n${repoUrl.trim()}`                   },                   {                     type: \"mrkdwn\",                     text: `*Branch:*\\n${branchName}`                   }                 ]               },               {                 type: \"section\",                 fields: [                   {                     type: \"mrkdwn\",                     text: `*Author:*\\n${userName.trim()} &lt;${userEmail.trim()}&gt;`                   }                 ]               },               {                 type: \"section\",                 text: {                   type: \"mrkdwn\",                   text: `*Original message:*\\n${commitData}`                 }               },               {                 type: \"section\",                 text: {                   type: \"mrkdwn\",                   text: `*Enhanced message:*\\n${enhancedCommitMessage}`                 }               }             ]           });<\/code><\/pre>\n<p>9.<strong>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u043e\u0442\u0432\u0435\u0442 \u0430\u0433\u0435\u043d\u0442\u0443. \u0414\u043b\u044f \u043e\u0442\u0432\u0435\u0442\u043e\u0432 \u0432\u0430\u0436\u0435\u043d \u0444\u043e\u0440\u043c\u0430\u0442, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0438\u043c\u0435\u043d\u043d\u043e \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435.<\/strong><\/p>\n<pre><code class=\"javascript\"> content: [     {       type: \"text\",       text: [         `\u2705 Commit processed successfully!`,         `Branch: ${branchName}`,         `Original message: ${commitData}`,         `Enhanced message: ${enhancedCommitMessage}`,         config.weaviateKey ? \"Data saved to Weaviate.\" : \"Weaviate integration skipped.\",         config.slackWebhook ? \"Notification sent to Slack.\" : \"Slack notification skipped.\",         `Note: Manual 'git push origin ${branchName}' is required to complete the operation.`       ].join(\"\\n\")     }   ]<\/code><\/pre>\n<h2>RAG<\/h2>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0431\u0430\u0437\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u044b\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u043e\u043c\u0438\u0442\u0430\u0445, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043d\u0430\u0447\u0430\u0442\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c query \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0432\u044b\u0436\u0438\u043c\u043a\u0443 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043b\u044e\u0431\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438. <\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438.<\/p>\n<pre><code class=\"javascript\">const commitsCollection = weaviateClient     .collections                                              .get(\"Commits\");   <\/code><\/pre>\n<p>\u0412\u044b\u043f\u043e\u043b\u043d\u0438\u043c \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0442\u0435\u043a\u0441\u0442\u0443 \u0437\u0430\u043f\u0440\u043e\u0441\u0430.<\/p>\n<pre><code class=\"javascript\"> const searchRes = await commitsCollection.query     .nearText([query], {       limit: 5,                                                 returnProperties: [\"commitMessage\", \"commitAuthor\", \"commitDate\"],       returnMetadata: [\"distance\"],     })     .do();  <\/code><\/pre>\n<p>\u0424\u043e\u0440\u043c\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u043c\u043e\u0434\u0435\u043b\u0438 \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0442\u0435\u043a\u0441\u0442\u0430 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<pre><code class=\"javascript\">  const commits = searchRes.data.Get.Commits;             \/\/    const context = commits     .map((c: any) =&gt; `\u2022 [${c.commitDate}] ${c.commitAuthor}: ${c.commitMessage}`)     .join(\"\\n\");    const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });   const completion = await openai.chat.completions.create({     model: \"gpt-3.5-turbo\",     messages: [       {         role: \"system\",         content: \"\u0412\u044b \u2014 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442 \u043d\u0430 \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u0438 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432.\",       },       {         role: \"user\",         content: `\u041d\u0438\u0436\u0435 \u0441\u043f\u0438\u0441\u043e\u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432:\\n${context}\\n\\n\u0412\u043e\u043f\u0440\u043e\u0441: ${query}`,       },     ],   });    console.log(\"\u041e\u0442\u0432\u0435\u0442 LLM:\", completion.choices[0].message?.content);<\/code><\/pre>\n<h2>\u0418\u0442\u043e\u0433<\/h2>\n<p>\u041f\u043e \u0438\u0442\u043e\u0433\u0443 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u0430\u044f \u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f mcp-\u0441\u0435\u0440\u0432\u0435\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u044b\u0435 \u0432 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u043c \u0432\u0438\u0434\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c.<\/p>\n<p>\u0412 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0445 \u043f\u043b\u0430\u043d\u0430\u0445:<\/p>\n<ol>\n<li>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c cron\u2011\u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u043e\u0432 \u043f\u043e \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c.<\/p>\n<\/li>\n<li>\n<p>\u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0433\u0438\u0431\u043a\u0438\u0439 tool\u2011\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0430\u0433\u0435\u043d\u0442\u0430 \u0434\u043b\u044f \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u0432 Weaviate (\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432, \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0445 \u0438 keyword\u2011\u043f\u043e\u0438\u0441\u043a\u043e\u0432).<\/p>\n<\/li>\n<li>\n<p>\u0412\u0432\u0435\u0441\u0442\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043f\u0440\u043e\u043c\u043f\u0442\u043e\u0432 \u0434\u043b\u044f LLM \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 diff\u2011\u043f\u0430\u0442\u0447\u0435\u0439 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043a\u043e\u043d\u043a\u0430\u0442\u0435\u043d\u0430\u0446\u0438\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u043e\u0442\u0447\u0451\u0442).<\/p>\n<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/903802\/\"> https:\/\/habr.com\/ru\/articles\/903802\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h2>Aw sheets, here we go again<\/h2>\n<ul>\n<li>\n<p>\u0423\u0442\u0440\u043e \u0441\u0440\u0435\u0434\u044b. <\/p>\n<\/li>\n<li>\n<p>\u0412\u044b \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0435 meet\/slack\/rocket\/etc \u0438 \u043d\u0430\u0436\u0438\u043c\u0430\u0435\u0442\u0435 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\ud83d\udcde&#187; <\/p>\n<\/li>\n<li>\n<p>\u0418\u043c\u0435\u043d\u0430 \u043b\u044e\u0434\u0435\u0439 \u0432 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u043c \u0437\u0432\u043e\u043d\u043a\u0435 \u0432\u0430\u043c \u0434\u0430\u0432\u043d\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b. \u0421\u043b\u043e\u0432\u0430, \u043f\u0440\u043e\u0438\u0437\u043d\u043e\u0441\u0438\u043c\u044b\u0435 \u043b\u044e\u0434\u044c\u043c\u0438  \u0432\u0430\u043c \u0442\u043e\u0436\u0435, \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b. \u041d\u043e \u0447\u0442\u043e-\u0442\u043e \u0431\u044b\u043b\u043e \u0432\u0430\u043c\u0438 \u0437\u0430\u0431\u044b\u0442\u043e, \u0447\u0442\u043e-\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u043e\u0435, \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a \u043d\u0443\u0436\u043d\u043e \u0432\u0441\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0432 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442, \u043a\u0430\u043a \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043e\u0431\u0435\u0440\u0435\u0442\u0441\u044f \u043f\u043e \u0432\u0430\u0448\u0443 \u0434\u0443\u0448\u0443. <\/p>\n<\/li>\n<li>\n<p>\u0427\u0435\u0440\u0435\u0437 \u043e\u043a\u043d\u043e \u0441\u043e\u043b\u043d\u0446\u0435 \u0449\u0435\u043a\u043e\u0447\u0435\u0442 \u044d\u043a\u0440\u0430\u043d \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0430, \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0432\u0430\u0441 \u043e\u0442\u043a\u043b\u043e\u043d\u044f\u0442\u044c\u0441\u044f \u0442\u043e \u0432\u043f\u0440\u0430\u0432\u043e, \u0442\u043e \u0432\u043b\u0435\u0432\u043e, \u0434\u0430\u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043d\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0435. \u041d\u0430 \u043a\u0440\u0443\u0442\u043e\u043c \u043f\u043e\u0434\u043e\u043a\u043e\u043d\u043d\u0438\u043a\u0435 \u0436\u0443\u0440\u0447\u0430\u0442 \u0436\u0438\u0440\u043d\u044b\u0435 \u0433\u043e\u043b\u0443\u0431\u0438, \u0430 \u043d\u0430\u0434 \u0432\u0430\u043c\u0438 \u0441\u0432\u0435\u0440\u043b\u0438\u0442 \u0434\u043e \u0431\u043e\u043b\u0438 {\u043b\u044e\u0431\u0438\u043c\u044b\u0439} \u0441\u043e\u0441\u0435\u0434. <\/p>\n<\/li>\n<li>\n<p>\u0418 \u0432\u043e\u0442 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0432\u0430\u0448\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u044c, \u0438, \u043a\u0430\u043a \u0433\u0440\u043e\u043c \u0441\u0440\u0435\u0434\u0438 \u044f\u0441\u043d\u043e\u0433\u043e \u043d\u0435\u0431\u0430, \u0437\u0432\u0443\u0447\u0438\u0442 \u043d\u0435\u043e\u0436\u0438\u0434\u0430\u043d\u043d\u043e\u0435: &#171;{HeroName}, \u0447\u0442\u043e \u043d\u0430\u043c \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u0448\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f?&#187;. <\/p>\n<\/li>\n<li>\n<p>\u0412\u044b, \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0432\u044b\u0446\u0430\u0440\u0430\u043f\u0430\u0442\u044c \u0438\u0437 \u0447\u0435\u0440\u0442\u043e\u0433\u043e\u0432 \u043f\u043e\u043b\u0443\u0441\u043e\u043d\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0443\u043c\u0430, \u043d\u0430\u043a\u043e\u043d\u0435\u0446 \u0432\u044b\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u0442\u0435 \u0438\u0437 \u0433\u043e\u043b\u043e\u0432\u044b \u043e\u0431\u0440\u044b\u0432\u043a\u0438 \u043a\u043e\u0434\u0430, \u0441\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044f \u0438\u0445 \u0432 \u0440\u0432\u0430\u043d\u044b\u0435 \u0444\u0440\u0430\u0437\u044b, \u043f\u044b\u0442\u0430\u044f\u0441\u044c \u0440\u0430\u0437\u0434\u0443\u0442\u044c \u0432\u0430\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0431\u0438\u043b\u0438\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439 \u0438 \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0434\u043b\u0438\u043d\u043d\u044b\u043c \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439 \u0442\u0435\u0445 \u0441\u0430\u043c\u044b\u0445 \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0439. \u0415\u0449\u0451 \u043f\u0430\u0440\u0443 \u0434\u0435\u0441\u044f\u0442\u043a\u043e\u0432 \u043c\u0438\u043d\u0443\u0442 \u043e\u0431\u0441\u0443\u0436\u0434\u0430\u0435\u0442\u0435 \u043d\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c\u0438. <\/p>\n<\/li>\n<li>\n<p>\u041e\u0447\u0435\u0440\u0435\u0434\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u043a \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0430\u043c \u0431\u0435\u0441\u0435\u0434\u044b.<\/p>\n<\/li>\n<li>\n<p>\u0424\u043e\u043d\u043e\u0432\u044b\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u043c \u0432\u044b \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0435 \u0441\u043b\u0443\u0448\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u043e\u0432 \u043a\u0430\u0440\u043d\u0430\u0432\u0430\u043b\u0430. \u0412\u0441\u0435 \u043a\u0430\u0441\u0442\u0443\u0435\u043c\u044b\u0435 \u0437\u0430\u043a\u043b\u0438\u043d\u0430\u043d\u0438\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u043e\u0432\u043e\u0433\u043e \u0447\u0430\u0442\u0430 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e \u0441\u0442\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0432\u0430\u0448\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u044c\u044e. <\/p>\n<\/li>\n<li>\n<p> \u041d\u0430\u043a\u043e\u043d\u0435\u0446 \u0437\u0432\u0443\u043a \u0432 \u043d\u0430\u0443\u0448\u043d\u0438\u043a\u0430\u0445 \u0437\u0430\u0442\u0438\u0445\u0430\u0435\u0442, \u0438 \u0432\u044b \u0441\u043d\u043e\u0432\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0435\u0441\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0430\u0431\u043e\u0447\u0438\u0435 \u043a\u0432\u0435\u0441\u0442\u044b. <\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0441\u043d\u043e\u0432\u0430.<\/p>\n<\/li>\n<\/ul>\n<p>\u0415\u0441\u043b\u0438 \u0431\u044b\u0442\u044c \u0447\u0435\u0441\u0442\u043d\u044b\u043c, \u043c\u0443\u0442\u043e\u0440\u043d\u044b\u0435 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432\u0435\u0449\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043f\u043e\u043b\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043f\u0438\u0441\u044c\u043c\u0435\u043d\u043d\u043e, \u043d\u0435\u0445\u0438\u043b\u043e \u0432\u044b\u0431\u0438\u0432\u0430\u044e\u0442 \u0438\u0437 \u0444\u043e\u043a\u0443\u0441\u0430 \u2014 \u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0441\u0443\u0442\u043e\u043a. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0434\u0435\u0439\u043b\u0438\u043a\u0438 \u043f\u043e\u043b\u0435\u0437\u043d\u044b, \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u0440\u043e\u0432\u0435\u0434\u0451\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u0434\u0435\u0439\u043b\u0438\u043a\u0430\u0445, \u044f \u0431\u044b \u043d\u0435 \u043e\u0442\u043d\u0451\u0441 \u043a \u0447\u0435\u043c\u0443-\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0446\u0435\u043d\u043d\u043e\u043c\u0443 \u0438\u043b\u0438 \u0441\u0442\u043e\u044f\u0449\u0435\u043c\u0443 \u0442\u0440\u0430\u0442\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438.<\/p>\n<p>\u041f\u043e\u0441\u0435\u043c\u0443 \u044f \u0434\u043e\u043b\u0433\u043e \u0434\u0443\u043c\u0430\u043b, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0440\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0435, \u0445\u0430\u0439\u043f\u043e\u0432\u043e\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0435 \u2014 \u0438 \u043f\u0440\u0438\u0448\u0451\u043b \u043a \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e MCP-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0434\u043b\u044f <strong>\u0441\u0430\u043c\u043e\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0445\u0441\u044f \u043f\u0443\u0448\u0435\u0439 \u0432 Git<\/strong>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u044b \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c RAG.<\/p>\n<h2>\u0418\u0434\u0435\u044f<\/h2>\n<p>\u0414\u043e\u043b\u0433\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u044f \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u044e, \u043a\u0430\u043a \u0418\u0418 \u043d\u0435\u0441\u0451\u0442\u0441\u044f \u0432\u043f\u0435\u0440\u0435\u0434 \u2014 \u043d\u0435\u0441\u0451\u0442\u0441\u044f \u043e\u0442\u0431\u0438\u0440\u0430\u0442\u044c \u0443 \u043c\u0435\u043d\u044f \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e 300\u043a\/nanosec \u0438 \u0432\u0440\u0443\u0447\u0430\u0442\u044c \u0442\u0430\u043b\u043e\u043d\u0447\u0438\u043a \u043d\u0430 \u0443\u044e\u0442\u043d\u0443\u044e \u0434\u043e\u043b\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0437\u0430\u0432\u043e\u0434\u0435. \u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u044d\u0442\u043e \u0437\u0440\u0435\u043b\u0438\u0449\u0435, \u044f \u0432\u0441\u0451 \u0436\u0435 \u043d\u0435 \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0441\u044c \u043e\u0442 \u0431\u043b\u0430\u0433, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0430\u0451\u0442 \u043c\u043d\u0435 \u0418\u0418, \u0445\u043e\u0442\u044c \u043c\u043e\u044f \u043f\u0441\u0438\u0445\u0438\u043a\u0430 \u0438 \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u044d\u0442\u043e\u043c\u0443 \u0438\u0437\u043e \u0432\u0441\u0435\u0445 \u0441\u0438\u043b.<\/p>\n<p>\u041f\u0430\u0440\u0443 \u043d\u0435\u0434\u0435\u043b\u044c \u043d\u0430\u0437\u0430\u0434 \u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b \u0441\u0435\u0431\u0435 Cursor. \u0414\u043e \u044d\u0442\u043e\u0433\u043e \u0432\u0441\u0451 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 JetBrains.<\/p>\n<p>\u041f\u043e\u044e\u0437\u0430\u0432 Cursor, \u044f \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0447\u0430\u043b \u043f\u043e\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0432 MCP: \u0447\u0438\u0442\u0430\u0442\u044c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u044b.<\/p>\n<p>\u0412 \u043e\u0434\u0438\u043d \u0438\u0437 \u0434\u043d\u0435\u0439, \u043a\u043e\u0433\u0434\u0430 \u0433\u043b\u0430\u0437\u0430 \u0443\u0436\u0435 \u0432\u044b\u0436\u0433\u043b\u043e \u043e\u0442 \u0431\u0435\u0441\u043a\u043e\u043d\u0435\u0447\u043d\u044b\u0445 <code>[fix]<\/code> \u0432 <code>[commit_messages]<\/code>, \u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0434\u0435\u0439\u043b\u0438\u043a \u0431\u044b\u043b \u043f\u043e\u0437\u0430\u0434\u0438, \u044f \u0440\u0435\u0448\u0438\u043b \u2014 \u043f\u043e\u0440\u0430 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0432\u043e\u0439 MCP-\u0441\u0435\u0440\u0432\u0435\u0440. \u0422\u0430\u043a\u043e\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b \u043f\u0440\u0438\u0431\u0438\u043b \u0441\u043e\u0437\u0432\u043e\u043d\u044b, \u0437\u0430\u0434\u0443\u0448\u0438\u043b \u0431\u0435\u0441\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0438 \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u043b \u0432\u0441\u0451 \u044d\u0442\u043e \u0432 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0444\u0438\u0434, \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u0439 \u043a\u0430\u043a \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430\u043c, \u0442\u0430\u043a \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430\u043c.<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b \u0432\u043d\u0435\u0434\u0440\u0438\u0442\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0443 \u043f\u0443\u0448\u0435\u0439 \u0447\u0435\u0440\u0435\u0437 \u0430\u0433\u0435\u043d\u0442\u0430 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u0435, \u043d\u0443\u0436\u043d\u043e, \u0447\u0442\u043e\u0431\u044b execution prompt \u0431\u044b\u043b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0438\u0431\u043b\u0438\u0436\u0435\u043d \u043a \u00ab\u043f\u043e\u043b\u0435\u0432\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c\u00bb (\u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u2014 \u043a \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u043c \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c \u0438 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0443). <\/p>\n<p><strong>\u041a\u0430\u043a\u0438\u0435 \u0435\u0449\u0451 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432\u0430 \u0443 \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u044f?<\/strong><\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u0442\u0441\u044f, \u0435\u0441\u0442\u044c \u043b\u0438 \u0443\u0436\u0435 <code>.git<\/code>; \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 \u2014 \u0441\u043a\u0440\u0438\u043f\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 <code>git init<\/code>.<\/p>\n<\/li>\n<li>\n<p>\u0413\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044f \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e LLM \u0438\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u0441\u0430\u043c\u043e\u0433\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0438\u0442\u0430 (\u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0438 diff, \u0438\u043b\u0438 diffsumary, \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0438\u0442 \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439).<\/p>\n<\/li>\n<li>\n<p> \u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0432\u0435\u0442\u043a\u0438, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c <code>master<\/code> \u0438\u043b\u0438 <code>main<\/code>, \u0435\u0441\u043b\u0438 \u0438\u0445 \u043d\u0435\u0442, \u0438 \u0441\u0442\u0430\u0432\u0438\u0442 upstream\u2011\u0441\u0432\u044f\u0437\u044c.<\/p>\n<\/li>\n<li>\n<p> \u0412\u043c\u0435\u0441\u0442\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u0440\u0443\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 (<code>git init<\/code>, <code>git config<\/code>, <code>git add<\/code>, <code>git commit<\/code>, <code>git remote add<\/code>, <code>git push<\/code>) \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043e\u0434\u043d\u0443 \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0430\u0433\u0435\u043d\u0442\u0443:<\/p>\n<\/li>\n<\/ul>\n<p><code>git push main [\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430] \u0438\u043c\u044f_\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/code><\/p>\n<p>\u0422\u0430\u043a\u043e\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u043a\u043e\u0440\u0451\u0436\u0438\u0442\u044c \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u2014 \u043d\u0443, \u043f\u043e\u0447\u0442\u0438.<\/p>\n<p>\u0425\u043e\u0442\u044f \u0432 \u0433\u043b\u0430\u0437\u0430 \u0441\u0440\u0430\u0437\u0443 \u0431\u0440\u043e\u0441\u0430\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0435: <code>\u0438\u043c\u044f_\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f<\/code>.<br \/>\u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f \u0445\u043e\u0447\u0443 \u0437\u0430\u043f\u0443\u0448\u0438\u0442\u044c?<\/p>\n<p>\u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, AI \u043d\u0435 \u0437\u043d\u0430\u0435\u0442, \u043e\u0442\u043a\u0443\u0434\u0430 \u0435\u0433\u043e \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442, \u0432 \u043a\u0430\u043a\u043e\u043c \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u043e\u043d \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u043a\u0442\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u043d\u0438\u0446\u0438\u0438\u0440\u0443\u0435\u0442 \u0432\u044b\u0437\u043e\u0432 \u2014 \u0435\u0441\u043b\u0438 \u044d\u0442\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u044f\u0432\u043d\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u0430 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435. \u042d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u2014 \u0438\u0437 \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0434\u043e\u0441\u0442\u0443\u043f\u0430. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0435 \u0432\u044b \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u044b\u0439 \u043f\u0443\u0442\u044c (\u0438\u043b\u0438 \u043f\u0443\u0442\u0438), \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<p>\u0414\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0435\u0441\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u0442\u0443\u043b\u0437\u0430 \u2014 <code>list_repositories<\/code>. \u0421 \u0435\u0451 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0436\u043d\u043e \u0432 \u0447\u0430\u0442\u0435 \u0441 AI-\u0430\u0433\u0435\u043d\u0442\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c, \u0430 \u0442\u043e\u0447\u043d\u0435\u0435 \u043e\u0442\u0435\u0431\u0430\u0436\u0438\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0445 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u0443\u0448\u0430 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043a\u0443\u0434\u0430-\u0442\u043e \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u043d\u044f\u0442\u044c PostgreSQL, \u043f\u0440\u0438\u043a\u0440\u0443\u0442\u0438\u0442\u044c <code>pgvector<\/code>, \u043d\u0430\u043a\u0430\u0442\u0438\u0442\u044c \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u043e\u0438\u0441\u043a \u043f\u043e \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u044f\u043c \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432. \u0412 \u0446\u0435\u043b\u043e\u043c, \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0435. \u041d\u043e \u0441\u0442\u043e\u0438\u0442 \u043f\u043e\u043c\u043d\u0438\u0442\u044c: \u044f\u0433\u043e\u0434\u0430 pg \u043d\u0435 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0440\u043e\u0441\u043b\u0430. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447\u0430\u0445 \u043a\u0443\u0434\u0430 \u0440\u0430\u0437\u0443\u043c\u043d\u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0435 \u0431\u0430\u0437\u044b \u2014 \u043e\u043d\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u0435\u0435, \u043b\u0443\u0447\u0448\u0435 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u044e\u0442\u0441\u044f, \u0438 \u0443\u0436\u0435 \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 ML-\u043c\u043e\u0434\u0443\u043b\u0438. \u0418 \u0442\u0430\u043a \u0434\u0430\u043b\u0435\u0435 \u043f\u043e \u0441\u043f\u0438\u0441\u043a\u0443.<\/p>\n<p>\u0412 \u0441\u0442\u0430\u0442\u044c\u044f\u0445 \u043f\u0440\u043e \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u044b\u0435 \u0411\u0414 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f ChromaDB, \u0440\u0435\u0436\u0435 \u2014 Weaviate, Pinecone \u0438\u043b\u0438 Qdrant (\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043c\u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u043d\u0430\u043d\u0438\u044f \u0431\u0443\u043a\u0432 \u043d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f). \u0418\u0437 \u0441\u043f\u043e\u0440\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0430, \u0441\u043e\u043b\u0438\u0434\u0430\u0440\u043d\u043e\u0441\u0442\u0438 \u0441\u043e \u00ab\u0441\u043b\u0430\u0431\u044b\u043c\u0438\u00bb \u0438 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u0430 Weaviate \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u043b\u044f MVP, \u044f \u0432\u044b\u0431\u0440\u0430\u043b \u0438\u043c\u0435\u043d\u043d\u043e \u0435\u0451. \u041d\u0430 \u0435\u0451 \u043e\u0441\u043d\u043e\u0432\u0435 \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c RAG \u2014 \u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u043a\u0442\u043e \u0432\u0447\u0435\u0440\u0430 \u0443\u0440\u043e\u043d\u0438\u043b \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d, \u0438 \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u0430\u0439\u0434\u0436\u0435\u0441\u0442\u043e\u0432 \u043f\u043e \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0435\u0433\u043e \u0434\u043d\u044f.<\/p>\n<p>\u0412 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043c \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u044f \u0432 Slack: \u0442\u0430\u043a \u0432\u0441\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0432 \u043a\u0443\u0440\u0441\u0435 \u0432\u0441\u0435\u0445 \u0442\u0432\u043e\u0438\u0445 &#171;[fix]&#187;.<\/p>\n<figure class=\"full-width\">\n<div><figcaption>\u0418 \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438, \u0447\u0442\u043e \u043d\u0435 \u0431\u044b\u043b\u043e<\/figcaption><\/div>\n<\/figure>\n<h2>MCP server starts&#8230;<\/h2>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0437\u0431\u0435\u0440\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 MCP \u0441\u0435\u0440\u0432\u0435\u0440\u0430.<\/p>\n<p><strong>MCP\u2011\u0441\u0435\u0440\u0432\u0435\u0440<\/strong> \u2014 \u044d\u0442\u043e \u0441\u0435\u0440\u0432\u0438\u0441, \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u044b\u0439 API, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0430\u0433\u0435\u043d\u0442\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0441 \u0432\u043d\u0435\u0448\u043d\u0438\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438: \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439, \u043f\u043e\u0438\u0441\u043a\u043e\u0432\u044b\u043c\u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u0430\u043c\u0438, \u043c\u0435\u0441\u0441\u0435\u043d\u0434\u0436\u0435\u0440\u0430\u043c\u0438 \u0438 \u0434\u0430\u0436\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u00ab\u0443\u043c\u043d\u043e\u0433\u043e \u0434\u043e\u043c\u0430\u00bb (Home Assistant).<\/p>\n<p>\u041f\u043e\u043b\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u043e\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 <a href=\"https:\/\/github.com\/modelcontextprotocol\/servers\" rel=\"noopener noreferrer nofollow\">\u0437\u0434\u0435\u0441\u044c<\/a>. <\/p>\n<p>\u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u044f MCP\u2011\u0441\u0438\u0441\u0442\u0435\u043c\u044b:<\/p>\n<ul>\n<li>\n<p><strong>GET\u2011\u0437\u0430\u043f\u0440\u043e\u0441\u044b<\/strong> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u0432 \u0432\u0438\u0434\u0435 <em>\u0440\u0435\u0441\u0443\u0440\u0441\u043e\u0432<\/em> \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445;<\/p>\n<\/li>\n<li>\n<p><strong>POST<\/strong>, <strong>PUT<\/strong>, <strong>DELETE<\/strong> \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u044e\u0442\u0441\u044f \u043a\u0430\u043a <em>\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b<\/em> (tools) \u0434\u043b\u044f \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b;<\/p>\n<\/li>\n<li>\n<p><strong>\u043f\u0440\u043e\u043c\u043f\u0442\u044b<\/strong> \u0432 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435 MCP \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u044e\u0442 \u0432 \u0440\u043e\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u0430\u043d\u0430\u043b\u043e\u0433\u0438\u0447\u043d\u043e\u0433\u043e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 Swagger.<\/p>\n<\/li>\n<\/ul>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 mcp-\u043a\u043b\u0438\u0435\u043d\u0442 \u0438\u043b\u0438 mcp-\u0441\u0435\u0440\u0432\u0435\u0440 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c SDK, \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0435 \u0434\u043b\u044f python, node, c#, java, kotlin. \u0422\u0430\u043a \u043a\u0430\u043a \u044f \u0443\u043c\u0435\u044e \u0432 \u043d\u043e\u0434\u0443, \u0438 \u0443\u043c\u0435\u044e \u043b\u0443\u0447\u0448\u0435, \u0447\u0435\u043c \u0432 python, \u0442\u043e \u0431\u0443\u0434\u0443 \u043f\u0438\u0441\u0430\u0442\u044c \u0441\u0435\u0440\u0432\u0435\u0440 \u043d\u0430 \u0441\u0442\u0435\u043a\u0435 node + typescript. <\/p>\n<p>\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <a href=\"https:\/\/modelcontextprotocol.io\/quickstart\/server#node\" rel=\"noopener noreferrer nofollow\">\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438<\/a> \u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0431\u0430\u0437\u0435.<br \/>\u0414\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u043d\u0435 \u0445\u043e\u0447\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044c, \u0432\u043e\u0442 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u0430\u043c mcp-\u0441\u0435\u0440\u0432\u0435\u0440:<\/p>\n<p><a href=\"https:\/\/www.npmjs.com\/package\/@golddeity\/gitdigester\" rel=\"noopener noreferrer nofollow\"><code>https:\/\/www.npmjs.com\/package\/@golddeity\/gitdigester<\/code><\/a><\/p>\n<h2>Weaviate<\/h2>\n<p>\u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u043a\u043b\u0438\u0435\u043d\u0442 \u0434\u043b\u044f weaviate. <\/p>\n<pre><code class=\"javascript\">import weaviate, { dataType, WeaviateClient, vectorizer, tokenization } from \"weaviate-client\";  const weaviateClient: WeaviateClient = await weaviate.connectToWeaviateCloud(     weaviateUrl,     {       authCredentials: new weaviate.ApiKey(config.weaviateKey || \"\"),      }   );<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043f\u043e \u0441\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u043c \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b \u043d\u0435 \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u0439 Weaviate, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043e\u0431\u0440\u0430\u0437 \u0431\u0430\u0437\u044b \u0438 \u043c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u044d\u043c\u0431\u0435\u0434\u0438\u043d\u0433\u043e\u0432 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e docker compose \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043c\u043e\u0434\u0443\u043b\u044c generative-mistral \u0434\u043b\u044f RAG, \u0442\u0430\u043a \u043a\u0430\u043a mistral \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0447\u0451\u0442\u0430 \u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0433\u043e\u043d\u044f\u0442\u044c \u0435\u0451 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e.<\/p>\n<pre><code class=\"yaml\">weaviate:     command:     - --host     - 0.0.0.0     - --port     - '8080'     - --scheme     - http     image: cr.weaviate.io\/semitechnologies\/weaviate:1.30.0     depends_on:       - t2v-transformers     ports:     - 8082:8080     - 50051:50051     volumes:     - weaviate_data:\/var\/lib\/weaviate     restart: on-failure:0     environment:       QUERY_DEFAULTS_LIMIT: 25       AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'       PERSISTENCE_DATA_PATH: '\/var\/lib\/weaviate'       ENABLE_API_BASED_MODULES: 'true'       ENABLE_MODULES: 'text2vec-transformers,generative-mistral'       MISTRAL_APIKEY: 'kQkzna77beFXrs0q4nrrF997LACYWAGk'       TRANSFORMERS_INFERENCE_API: http:\/\/t2v-transformers:8080  # Set the inference API endpoint       CLUSTER_HOSTNAME: 'node1'    t2v-transformers:  # Set the name of the inference container     image: cr.weaviate.io\/semitechnologies\/transformers-inference:sentence-transformers-paraphrase-multilingual-MiniLM-L12-v2     environment:       ENABLE_CUDA: 0  # Set to 1 to enable<\/code><\/pre>\n<p>\u0421\u0435\u0442\u0430\u043f\u0438\u043c \u0441\u0445\u0435:<\/p>\n<pre><code class=\"javascript\">const setUpWeaviate = async () =&gt; {   await weaviateClient.collections.create({     name: \"commits\",     vectorizers: vectorizer.text2VecOpenAI(),     properties: [       {         name: \"commitMessage\",         dataType: dataType.TEXT,         tokenization: tokenization.LOWERCASE,       },       {         name: \"commitHash\",         dataType: dataType.TEXT,       },       {         name: \"commitDate\",         dataType: dataType.DATE,       },       {         name: \"commitAuthor\",         dataType: dataType.TEXT,       },       {         name: \"commitBranch\",         dataType: dataType.TEXT,       },       {         name: \"commitDiff\",         dataType: dataType.TEXT,       },     ],   }); }<\/code><\/pre>\n<h2>GIT<\/h2>\n<p>\u0414\u043b\u044f git \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 simple GIT. \u042d\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0447\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0433\u0438\u0442\u043e\u043c \u0447\u0435\u0440\u0435\u0437 \u0441\u043f\u0430\u0432\u043d\u0435\u0440\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0432. \u0412\u043d\u0443\u0442\u0440\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0443\u0436\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432\u0441\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043e\u0448\u0438\u0431\u043e\u043a, \u043c\u0435\u0442\u043e\u0434\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0432\u0438\u0434\u0435, \u0447\u0442\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 stdout, stderr. <\/p>\n<p>\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c URL \u0443\u0434\u0430\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0433\u043e \u0432 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u043e\u043c MCP \u0441\u0435\u0440\u0432\u0435\u0440\u0430. <\/p>\n<pre><code class=\"javascript\">  git = simpleGit(gitOptions);  const remotes = await git.remote(['get-url', 'origin']); if (!remotes) return;  const remoteUrl = remotes.trim(); let newUrl = '';<\/code><\/pre>\n<p>\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b  \u0442\u0438\u043f \u0430\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0438 \u043f\u0443\u0442\u044c \u0434\u043e \u043a\u043b\u044e\u0447\u0435\u0439.<\/p>\n<p><code>\"--git-auth-method=ssh\",\"--git-ssh-key=\/home\/{your_pc}\/.ssh\/id_rsa\",<\/code><\/p>\n<pre><code class=\"javascript\">if (config.gitAuthMethod === 'ssh' &amp;&amp; remoteUrl.includes('https:\/\/')) {   try {     const httpsUrl = new URL(remoteUrl);     const host = httpsUrl.hostname;     const path = httpsUrl.pathname.replace(\/^\\\/\/, '');     newUrl = `git@${host}:${path}`;          console.error(`Converting HTTPS URL to SSH: ${newUrl}`);     await git.remote(['set-url', 'origin', newUrl]);   } catch (error) {     console.error(`Error converting HTTPS to SSH URL: ${error}`);   } } else if (config.gitAuthMethod.startsWith('https') &amp;&amp; remoteUrl.startsWith('git@')) {     try {       const<\/code><\/pre>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-457169","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/457169","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=457169"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/457169\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=457169"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=457169"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=457169"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}