*/
export function getRemoteCLIInstallRoot(serverDataFolderName: string): string {
const d = validateShellToken(serverDataFolderName, 'server data folder name');
sshRemoteAgentHostHelpers.ts
return `~/${d}`;
}
/**
Frontier kind: Code frontier
unlabeled · c_df68281dfd50
63 tests · 8550 LOC · 42 files · introduces 0 tests · 3 LOC · 1 file
The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.
Introduced files, introduced tests, and structurally relevant concept specialization
In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.
Graph controls are ready.
Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.
Every exact file and test below is linked only from the concept that introduces it.
mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow messages from superseded relay still arrive (only close is suppressed)|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow reconnect does not fire onDidRelayClose for superseded relay|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow reconnect suppresses synchronous close from old relay during replacement|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow creates fresh relay on reconnect without restarting agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow reconnect preserves connection token and address|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow reconnect removes old close/error listeners from shared SSH client|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow commit-pinned install always invokes cleanup of old commit-keyed CLIs|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow commit-pinned install reuses existing commit-keyed CLI without re-downloading|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow relay messages fire onDidRelayMessage with correct connectionId|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow relay messages from two connections are distinguished by connectionId|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow connects to two different hosts independently|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow defaults to port 22 in connection key|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow sanitizes config in result (strips password and privateKeyPath)|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow skips platform detection and CLI install with remoteAgentHostCommand|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow uses host:port as connection key without sshConfigHost|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow cleans up SSH client on error|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostService.test|title=SSHRemoteAgentHostMainService - connect flow does not retry when relay fails on freshly started agent|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers getRemoteCLIBin normalizes uppercase hex commits to lowercase|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers getRemoteCLIBin returns commit-keyed path for exploration|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers getRemoteCLIBin returns commit-keyed path for insider|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers getRemoteCLIBin returns commit-keyed path under shared install root for stable|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath accepts commit-keyed path under the shared install root|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath rejects commit suffix with non-hex characters|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath rejects commit suffix with wrong length|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath rejects shell metacharacters|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath rejects empty input|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath rejects paths under an unexpected root|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath accepts legacy ~/.vscode-cli-<quality>/<archive> path for insider|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers isValidFallbackCLIPath accepts legacy ~/.vscode-cli/code path for stable|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers buildFindFallbackCLICommand lists commit-keyed candidates then legacy paths for insider|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers buildFindFallbackCLICommand uses no-suffix legacy dir for stable|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers buildCleanupOldCLIsCommand produces a snippet that keeps the 5 most recent commit-keyed CLIs for insider|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/platform/agentHost/test/node/sshRemoteAgentHostHelpers.test|title=SSH Remote Agent Host Helpers buildCleanupOldCLIsCommand uses `code-` archive name for stable|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/charCode.test|title=CharCode has good values|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/path.test|title=Paths (Node Implementation) path|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI File paths containing apostrophes break URI parsing and cannot be opened #276075|occurrence=1mocha:v1|namespace=vscode@05c208e9e28d8c1c723fa08f85e2b7a96092e8e5|file=vs/base/test/common/uri.test|title=URI URI#file, win-speciale|occurrence=1Every collected test enters the hierarchy at exactly one concept.
No tests are introduced at this concept. Its intent tests are introduced by other concepts.
Every collected source range enters the hierarchy at exactly one concept.
1 file ranked by introduced lines: 3 introduced LOC across 1 ranges. Expand a file to inspect source; the > gutter marks introduced lines.
*/
export function getRemoteCLIInstallRoot(serverDataFolderName: string): string {
const d = validateShellToken(serverDataFolderName, 'server data folder name');
sshRemoteAgentHostHelpers.ts
return `~/${d}`;
}
/**