Skip to content

Commit 3c1fede

Browse files
authored
Merge pull request #96 from FlowmemoryAI/release/offline-zip-installer
[fix] align workbench control-plane port
2 parents a12528c + db05d21 commit 3c1fede

8 files changed

Lines changed: 11 additions & 10 deletions

INSTALL_FLOWCHAIN_WINDOWS.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ Write-Host ""
429429
Write-Host "FlowChain local/private setup is ready." -ForegroundColor Green
430430
Write-Host "Repository: $repoDirectory"
431431
Write-Host "Dashboard: http://127.0.0.1:5173/"
432-
Write-Host "Control plane: http://127.0.0.1:8675/"
432+
Write-Host "Control plane: http://127.0.0.1:8787/"
433433
Write-Host ""
434434
Write-Host "To rerun later:"
435435
Write-Host "cd `"$repoDirectory`""

START_FLOWCHAIN_LOCAL.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if (-not $NoServers) {
4949
"-ExecutionPolicy",
5050
"Bypass",
5151
"-Command",
52-
"Set-Location -LiteralPath '$PSScriptRoot'; npm run control-plane:serve -- --host 127.0.0.1 --port 8675"
52+
"Set-Location -LiteralPath '$PSScriptRoot'; npm run control-plane:serve"
5353
)
5454

5555
Start-Process powershell.exe -ArgumentList @(
@@ -64,4 +64,4 @@ if (-not $NoServers) {
6464
Write-Host ""
6565
Write-Host "FlowChain local setup completed." -ForegroundColor Green
6666
Write-Host "Dashboard usually opens at http://127.0.0.1:5173/"
67-
Write-Host "Control plane listens on http://127.0.0.1:8675/ when the server window is running."
67+
Write-Host "Control plane listens on http://127.0.0.1:8787/ when the server window is running."

docs/EASY_SECOND_COMPUTER_SETUP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ powershell -ExecutionPolicy Bypass -File .\START_FLOWCHAIN_LOCAL.ps1 -NoServers
7070
## Useful URLs
7171

7272
- Dashboard/workbench: `http://127.0.0.1:5173/`
73-
- Control plane: `http://127.0.0.1:8675/`
73+
- Control plane: `http://127.0.0.1:8787/`
7474

7575
## Bridge Test
7676

docs/FLOWCHAIN_CONTROL_PLANE_API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Commands:
2020
npm run control-plane:test
2121
npm run control-plane:demo
2222
npm run control-plane:smoke
23-
npm run control-plane:serve -- --host 127.0.0.1 --port 8675
23+
npm run control-plane:serve
2424
```
2525

2626
The service uses deterministic local files only. It does not require secrets, wallets, RPC URLs, private keys, API keys, or production services.

docs/FLOWCHAIN_SECOND_COMPUTER_SETUP.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ npm install --prefix crypto
166166
npm run flowchain:prereq
167167
npm run flowchain:init
168168
npm run flowchain:start
169-
npm run control-plane:serve -- --host 127.0.0.1 --port 8675
169+
npm run control-plane:serve
170170
npm run workbench:dev
171171
npm run flowchain:smoke
172172
npm run flowchain:export
@@ -266,7 +266,7 @@ truth yet.
266266
Expected command once merged:
267267

268268
```powershell
269-
npm run control-plane:serve -- --host 127.0.0.1 --port 8675
269+
npm run control-plane:serve
270270
```
271271

272272
The API must not return secrets.

docs/INDEXER_VERIFIER_MVP.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ Run:
278278
npm run control-plane:test
279279
npm run control-plane:demo
280280
npm run control-plane:smoke
281-
npm run control-plane:serve -- --host 127.0.0.1 --port 8675
281+
npm run control-plane:serve
282282
```
283283

284284
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.

services/control-plane/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ From the repository root:
1212
npm run control-plane:demo
1313
npm run control-plane:test
1414
npm run control-plane:smoke
15-
npm run control-plane:serve -- --host 127.0.0.1 --port 8675
15+
npm run control-plane:serve
1616
```
1717

1818
The demo and tests require no secrets, RPC URLs, wallets, or production services.
19+
The server defaults to `http://127.0.0.1:8787`.
1920

2021
## Methods
2122

services/control-plane/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface ServerOptions {
1212
function parseArgs(args: string[]): ServerOptions {
1313
const options: ServerOptions = {
1414
host: "127.0.0.1",
15-
port: 8675,
15+
port: 8787,
1616
};
1717

1818
for (let index = 0; index < args.length; index += 1) {

0 commit comments

Comments
 (0)