From 87d2c13af4ca7375631a2c27e046bc4c4e15af33 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Mon, 2 Nov 2026 17:32:53 +0800 Subject: [PATCH] fix(experimental-liveshare): classify terminal/watch as owner-only The terminal roster stream joins the other terminal endpoints that a share viewer can never call. --- packages/experimental/liveshare/src/endpoint-classification.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/experimental/liveshare/src/endpoint-classification.ts b/packages/experimental/liveshare/src/endpoint-classification.ts index a5780775e8..d29302e752 100644 --- a/packages/experimental/liveshare/src/endpoint-classification.ts +++ b/packages/experimental/liveshare/src/endpoint-classification.ts @@ -121,6 +121,7 @@ export const VIEWER_ENDPOINT_CLASSES = { 'terminal/rename': 'owner-only', // owner terminals 'terminal/retain': 'owner-only', // owner terminals 'terminal/shells': 'owner-only', // owner terminals + 'terminal/watch': 'owner-only', // owner terminals 'directoryPicker/createDirectory': 'owner-only', // owner filesystem picker 'directoryPicker/list': 'owner-only', // owner filesystem picker 'directoryPicker/pick': 'owner-only', // owner filesystem picker