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.
This commit is contained in:
Yichen Jiang committed 2026-11-02 17:32:53 +08:00
1 parent 8c1c288bc9
commit 87d2c13af4
1 file changed
+1
@@ -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