From db05d219240bed7fbaf0d6c3061efa96a8289c1b Mon Sep 17 00:00:00 2001 From: FlowmemoryAI <283694809+FlowmemoryAI@users.noreply.github.com> Date: Wed, 13 May 2026 17:01:18 -0500 Subject: [PATCH] Align workbench control plane port --- INSTALL_FLOWCHAIN_WINDOWS.ps1 | 2 +- START_FLOWCHAIN_LOCAL.ps1 | 4 ++-- docs/EASY_SECOND_COMPUTER_SETUP.md | 2 +- docs/FLOWCHAIN_CONTROL_PLANE_API.md | 2 +- docs/FLOWCHAIN_SECOND_COMPUTER_SETUP.md | 4 ++-- docs/INDEXER_VERIFIER_MVP.md | 2 +- services/control-plane/README.md | 3 ++- services/control-plane/src/server.ts | 2 +- 8 files changed, 11 insertions(+), 10 deletions(-) diff --git a/INSTALL_FLOWCHAIN_WINDOWS.ps1 b/INSTALL_FLOWCHAIN_WINDOWS.ps1 index 04485126..b9f4726a 100644 --- a/INSTALL_FLOWCHAIN_WINDOWS.ps1 +++ b/INSTALL_FLOWCHAIN_WINDOWS.ps1 @@ -429,7 +429,7 @@ Write-Host "" Write-Host "FlowChain local/private setup is ready." -ForegroundColor Green Write-Host "Repository: $repoDirectory" Write-Host "Dashboard: http://127.0.0.1:5173/" -Write-Host "Control plane: http://127.0.0.1:8675/" +Write-Host "Control plane: http://127.0.0.1:8787/" Write-Host "" Write-Host "To rerun later:" Write-Host "cd `"$repoDirectory`"" diff --git a/START_FLOWCHAIN_LOCAL.ps1 b/START_FLOWCHAIN_LOCAL.ps1 index 20b4afff..d5e17535 100644 --- a/START_FLOWCHAIN_LOCAL.ps1 +++ b/START_FLOWCHAIN_LOCAL.ps1 @@ -49,7 +49,7 @@ if (-not $NoServers) { "-ExecutionPolicy", "Bypass", "-Command", - "Set-Location -LiteralPath '$PSScriptRoot'; npm run control-plane:serve -- --host 127.0.0.1 --port 8675" + "Set-Location -LiteralPath '$PSScriptRoot'; npm run control-plane:serve" ) Start-Process powershell.exe -ArgumentList @( @@ -64,4 +64,4 @@ if (-not $NoServers) { Write-Host "" Write-Host "FlowChain local setup completed." -ForegroundColor Green Write-Host "Dashboard usually opens at http://127.0.0.1:5173/" -Write-Host "Control plane listens on http://127.0.0.1:8675/ when the server window is running." +Write-Host "Control plane listens on http://127.0.0.1:8787/ when the server window is running." diff --git a/docs/EASY_SECOND_COMPUTER_SETUP.md b/docs/EASY_SECOND_COMPUTER_SETUP.md index 1cba966a..b5a666fc 100644 --- a/docs/EASY_SECOND_COMPUTER_SETUP.md +++ b/docs/EASY_SECOND_COMPUTER_SETUP.md @@ -70,7 +70,7 @@ powershell -ExecutionPolicy Bypass -File .\START_FLOWCHAIN_LOCAL.ps1 -NoServers ## Useful URLs - Dashboard/workbench: `http://127.0.0.1:5173/` -- Control plane: `http://127.0.0.1:8675/` +- Control plane: `http://127.0.0.1:8787/` ## Bridge Test diff --git a/docs/FLOWCHAIN_CONTROL_PLANE_API.md b/docs/FLOWCHAIN_CONTROL_PLANE_API.md index 251a43e1..e0b3a84c 100644 --- a/docs/FLOWCHAIN_CONTROL_PLANE_API.md +++ b/docs/FLOWCHAIN_CONTROL_PLANE_API.md @@ -20,7 +20,7 @@ Commands: npm run control-plane:test npm run control-plane:demo npm run control-plane:smoke -npm run control-plane:serve -- --host 127.0.0.1 --port 8675 +npm run control-plane:serve ``` The service uses deterministic local files only. It does not require secrets, wallets, RPC URLs, private keys, API keys, or production services. diff --git a/docs/FLOWCHAIN_SECOND_COMPUTER_SETUP.md b/docs/FLOWCHAIN_SECOND_COMPUTER_SETUP.md index 0ded9bb3..4c3f91bb 100644 --- a/docs/FLOWCHAIN_SECOND_COMPUTER_SETUP.md +++ b/docs/FLOWCHAIN_SECOND_COMPUTER_SETUP.md @@ -166,7 +166,7 @@ npm install --prefix crypto npm run flowchain:prereq npm run flowchain:init npm run flowchain:start -npm run control-plane:serve -- --host 127.0.0.1 --port 8675 +npm run control-plane:serve npm run workbench:dev npm run flowchain:smoke npm run flowchain:export @@ -266,7 +266,7 @@ truth yet. Expected command once merged: ```powershell -npm run control-plane:serve -- --host 127.0.0.1 --port 8675 +npm run control-plane:serve ``` The API must not return secrets. diff --git a/docs/INDEXER_VERIFIER_MVP.md b/docs/INDEXER_VERIFIER_MVP.md index 57027931..7b887c3e 100644 --- a/docs/INDEXER_VERIFIER_MVP.md +++ b/docs/INDEXER_VERIFIER_MVP.md @@ -278,7 +278,7 @@ Run: npm run control-plane:test npm run control-plane:demo npm run control-plane:smoke -npm run control-plane:serve -- --host 127.0.0.1 --port 8675 +npm run control-plane:serve ``` The control-plane reads committed launch-core, indexer, verifier, artifact, transaction fixture, and local devnet handoff files first. If the generated launch-core fixture is missing, it rebuilds an in-memory view from deterministic indexer/verifier fixtures. It exposes read methods for health, chain status, blocks, transactions, rootfields, agents, models, work receipts, artifact availability, verifier modules, verifier reports, memory cells, challenges, finality, provenance, and raw JSON. It does not fetch production RPC data, store secrets, or make production API claims. diff --git a/services/control-plane/README.md b/services/control-plane/README.md index 6f110e07..f9888891 100644 --- a/services/control-plane/README.md +++ b/services/control-plane/README.md @@ -12,10 +12,11 @@ From the repository root: npm run control-plane:demo npm run control-plane:test npm run control-plane:smoke -npm run control-plane:serve -- --host 127.0.0.1 --port 8675 +npm run control-plane:serve ``` The demo and tests require no secrets, RPC URLs, wallets, or production services. +The server defaults to `http://127.0.0.1:8787`. ## Methods diff --git a/services/control-plane/src/server.ts b/services/control-plane/src/server.ts index 5ca64028..08185c96 100644 --- a/services/control-plane/src/server.ts +++ b/services/control-plane/src/server.ts @@ -12,7 +12,7 @@ interface ServerOptions { function parseArgs(args: string[]): ServerOptions { const options: ServerOptions = { host: "127.0.0.1", - port: 8675, + port: 8787, }; for (let index = 0; index < args.length; index += 1) {