From ea4f1ad8254a92c3134cc9e6b984b766aab21379 Mon Sep 17 00:00:00 2001 From: avrahamr Date: Thu, 9 Jul 2026 17:04:51 +0300 Subject: [PATCH] fix(stack-cli): clarify editor URL in dev server startup output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The startup banner advertised 'Editor Server: http://localhost:', which reads like a browsable page. That port is a Socket.io/port-discovery backend whose only HTTP route is /editor-connect โ€” every other path (including /) returns 'Not Found', so users who open it in a browser hit a 404. Point the line at the actual editor UI (/aiditor on the dev server) and keep the socket server URL as a clarifying sub-line. --- packages/jay-stack/stack-cli/README.md | 3 ++- packages/jay-stack/stack-cli/lib/server.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/jay-stack/stack-cli/README.md b/packages/jay-stack/stack-cli/README.md index ba12d2074..1aa2d0491 100644 --- a/packages/jay-stack/stack-cli/README.md +++ b/packages/jay-stack/stack-cli/README.md @@ -70,7 +70,8 @@ When test mode is enabled, the startup output includes the test endpoints: ``` ๐Ÿš€ Jay Stack dev server started successfully! ๐Ÿ“ฑ Dev Server: http://localhost:3300 -๐ŸŽจ Editor Server: http://localhost:3301 (ID: init) +๐ŸŽจ Editor (AIditor): http://localhost:3300/aiditor + (editor socket server on http://localhost:3301, ID: init) ๐Ÿ“ Pages directory: ./src/pages ๐Ÿงช Test Mode: enabled Health: http://localhost:3300/_jay/health diff --git a/packages/jay-stack/stack-cli/lib/server.ts b/packages/jay-stack/stack-cli/lib/server.ts index aca259b32..ed5fff0e1 100644 --- a/packages/jay-stack/stack-cli/lib/server.ts +++ b/packages/jay-stack/stack-cli/lib/server.ts @@ -198,7 +198,8 @@ export async function startDevServer(options: StartDevServerOptions = {}) { httpServer.listen(devServerPort, () => { log.important(`๐Ÿš€ Jay Stack dev server started successfully!`); log.important(`๐Ÿ“ฑ Dev Server: http://localhost:${devServerPort}`); - log.important(`๐ŸŽจ Editor Server: http://localhost:${editorPort} (ID: ${editorId})`); + log.important(`๐ŸŽจ Editor (AIditor): http://localhost:${devServerPort}/aiditor`); + log.important(` (editor socket server on http://localhost:${editorPort}, ID: ${editorId})`); log.important(`๐Ÿ“ Pages directory: ${resolvedConfig.devServer.pagesBase}`); if (fs.existsSync(publicPath)) { log.important(`๐Ÿ“ Public folder: ${resolvedConfig.devServer.publicFolder}`);