Skip to content

Commit 687a690

Browse files
committed
fix: broadcast submitted prompts to every web client and drop --allow-remote-terminals
The engine now publishes prompt.submitted when a prompt is enqueued and prompt.started when its turn launches; the gateway projects both into the transcript so a message sent from one web client shows up on every other client attached to the same session. PTY terminal routes stay available on loopback binds only; the --allow-remote-terminals flag is removed from 'pythinker web'.
1 parent b005482 commit 687a690

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

apps/pythinker-code/test/cli/web/web.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,6 @@ describe('`pythinker web` option threading', () => {
409409
dangerousBypassAuth: true,
410410
debugEndpoints: true,
411411
allowRemoteShutdown: true,
412-
allowRemoteTerminals: true,
413412
open: false,
414413
},
415414
{ startServerForeground: runner, openUrl: vi.fn(), stdout, stderr },
@@ -422,7 +421,6 @@ describe('`pythinker web` option threading', () => {
422421
debugEndpoints: true,
423422
insecureNoTls: true,
424423
allowRemoteShutdown: true,
425-
allowRemoteTerminals: true,
426424
dangerousBypassAuth: true,
427425
allowedHosts: ['.example.com'],
428426
});

0 commit comments

Comments
 (0)