@@ -82,8 +82,8 @@ export class CoreProcessService extends Disposable implements ICoreProcessServic
8282 options . resolveOAuthTokenProvider ??
8383 CoreProcessService . _defaultOAuthTokenResolver ( env . homeDir ) ;
8484
85- // Default-wire the product User-Agent without legacy X-Msh-*
86- // device headers. Mirrors the in-process TUI path in SDKRpcClient.
85+ // Default-wire the product User-Agent without device identity headers.
86+ // Mirrors the in-process TUI path in SDKRpcClient.
8787 // Caller-supplied `pythinkerRequestHeaders` always wins; absent that, we
8888 // synthesize from `options.identity`. Hosts that pass neither
8989 // (no identity, no headers) still construct — but their requests will
@@ -194,13 +194,12 @@ export class CoreProcessService extends Disposable implements ICoreProcessServic
194194 /**
195195 * Build the default `pythinkerRequestHeaders` from `options.identity` so the
196196 * outbound User-Agent identifies this process (for example,
197- * `pythinker-code-cli/<ver>`). X-Msh-* device headers stay
198- * absent.
197+ * `pythinker-code-cli/<ver>`). Device identity headers stay absent.
199198 *
200199 * Returns `undefined` when no identity is provided — preserves the
201200 * pre-fix contract for hosts that pass headers explicitly via
202201 * `options.pythinkerRequestHeaders` (or for legacy callers / tests that
203- * don't talk to the managed endpoint at all ).
202+ * do not send provider requests ).
204203 *
205204 * Exposed as `static` so tests can assert the wiring without booting
206205 * the service.
0 commit comments