Enhance deployment system with retry functionality and improved UX
Major Improvements: - Added retry deployment buttons in machine list for failed deployments - Added retry button in SSH console modal footer for enhanced UX - Enhanced deployment process with comprehensive cleanup of existing services - Improved binary installation with password-based sudo authentication - Updated configuration generation to include all required sections (agent, ai, network, security) - Fixed deployment verification and error handling Security Enhancements: - Enhanced verifiedStopExistingServices with thorough cleanup process - Improved binary copying with proper sudo authentication - Added comprehensive configuration validation UX Improvements: - Users can retry deployments without re-running machine discovery - Retry buttons available from both machine list and console modal - Real-time deployment progress with detailed console output - Clear error states with actionable retry options Technical Changes: - Modified ServiceDeployment.tsx with retry button components - Enhanced api/setup_manager.go with improved deployment functions - Updated main.go with command line argument support (--config, --setup) - Added comprehensive zero-trust security validation system 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
2:I[7831,[],""]
|
||||
3:I[7815,["1","static/chunks/1-c9d7758e4e3ba2a3.js","644","static/chunks/644-0fed11847454c654.js","413","static/chunks/app/setup/page-0064fc4ceb1b12be.js"],""]
|
||||
3:I[7815,["1","static/chunks/1-c9d7758e4e3ba2a3.js","644","static/chunks/644-e27d96a1bbf7102e.js","413","static/chunks/app/setup/page-0064fc4ceb1b12be.js"],""]
|
||||
4:I[5613,[],""]
|
||||
5:I[1778,[],""]
|
||||
0:["7pc3-W9griwsLqMFO9F7n",[[["",{"children":["setup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["setup",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","setup","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","html",null,{"lang":"en","children":["$","body",null,{"className":"bg-gray-50 min-h-screen","children":["$","div",null,{"className":"min-h-screen flex flex-col","children":[["$","header",null,{"className":"bg-white shadow-sm border-b border-gray-200","children":["$","div",null,{"className":"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8","children":["$","div",null,{"className":"flex justify-between items-center py-4","children":[["$","div",null,{"className":"flex items-center","children":[["$","div",null,{"className":"flex-shrink-0","children":["$","div",null,{"className":"w-8 h-8 bg-bzzz-primary rounded-lg flex items-center justify-center","children":["$","span",null,{"className":"text-white font-bold text-lg","children":"B"}]}]}],["$","div",null,{"className":"ml-3","children":[["$","h1",null,{"className":"text-xl font-semibold text-gray-900","children":"BZZZ Cluster Configuration"}],["$","p",null,{"className":"text-sm text-gray-500","children":"Distributed AI Coordination Platform"}]]}]]}],["$","div",null,{"className":"flex items-center space-x-4","children":["$","div",null,{"className":"status-online","children":"System Online"}]}]]}]}]}],["$","main",null,{"className":"flex-1","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}],["$","footer",null,{"className":"bg-white border-t border-gray-200","children":["$","div",null,{"className":"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4","children":["$","div",null,{"className":"flex justify-between items-center text-sm text-gray-500","children":[["$","div",null,{"children":"© 2025 Chorus Services. All rights reserved."}],["$","div",null,{"className":"flex space-x-4","children":[["$","a",null,{"href":"https://docs.chorus.services/bzzz","target":"_blank","className":"hover:text-bzzz-primary transition-colors","children":"Documentation"}],["$","a",null,{"href":"https://discord.gg/chorus-services","target":"_blank","className":"hover:text-bzzz-primary transition-colors","children":"Support"}]]}]]}]}]}]]}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/setup/_next/static/css/e8d1974119224823.css","precedence":"next","crossOrigin":""}]],"$L6"]]]]
|
||||
6:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"BZZZ Cluster Configuration"}],["$","meta","3",{"name":"description","content":"Configure your BZZZ distributed AI coordination cluster"}]]
|
||||
6:I[9174,["185","static/chunks/app/layout-c7a3764079d7d854.js"],""]
|
||||
0:["6nc517H8s85mwpcxKfi9d",[[["",{"children":["setup",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["setup",{"children":["__PAGE__",{},["$L1",["$","$L2",null,{"propsForComponent":{"params":{}},"Component":"$3","isStaticGeneration":true}],null]]},["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","setup","children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}]]},[null,["$","html",null,{"lang":"en","className":"dark","children":["$","body",null,{"className":"min-h-screen bg-chorus-primary transition-colors duration-200","children":["$","div",null,{"className":"min-h-screen flex flex-col","children":[["$","header",null,{"className":"bg-chorus-primary border-b border-chorus-border-subtle transition-colors duration-200","children":["$","div",null,{"className":"max-w-7xl mx-auto px-8 py-6","children":["$","div",null,{"className":"flex justify-between items-center","children":[["$","div",null,{"className":"flex items-center space-x-4","children":[["$","div",null,{"className":"flex-shrink-0","children":["$","img",null,{"src":"/assets/chorus-mobius-on-white.png","alt":"CHORUS","className":"w-10 h-10"}]}],["$","div",null,{"children":[["$","h1",null,{"className":"heading-subsection","children":"CHORUS Agent Configuration"}],["$","p",null,{"className":"text-small","children":"Distributed Agent Orchestration Platform"}]]}]]}],["$","div",null,{"className":"flex items-center space-x-6","children":[["$","div",null,{"className":"status-online","children":"System Online"}],["$","$L6",null,{}]]}]]}]}]}],["$","main",null,{"className":"flex-1","children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"loading":"$undefined","loadingStyles":"$undefined","loadingScripts":"$undefined","hasLoading":false,"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}],["$","footer",null,{"className":"bg-chorus-primary border-t border-chorus-border-subtle transition-colors duration-200","children":["$","div",null,{"className":"max-w-7xl mx-auto px-8 py-6","children":["$","div",null,{"className":"flex justify-between items-center text-sm text-gray-400","children":[["$","div",null,{"children":"© 2025 Chorus Services. All rights reserved."}],["$","div",null,{"className":"flex space-x-6","children":[["$","a",null,{"href":"https://docs.chorus.services/agents","target":"_blank","className":"btn-text","children":"Documentation"}],["$","a",null,{"href":"https://discord.gg/chorus-services","target":"_blank","className":"btn-text","children":"Support"}]]}]]}]}]}]]}]}]}],null]],[[["$","link","0",{"rel":"stylesheet","href":"/setup/_next/static/css/89a5e633b3793908.css","precedence":"next","crossOrigin":""}]],"$L7"]]]]
|
||||
7:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"CHORUS Agent Configuration"}],["$","meta","3",{"name":"description","content":"Configure your CHORUS distributed agent orchestration platform"}]]
|
||||
1:null
|
||||
|
||||
Reference in New Issue
Block a user