@hahahhh/sshx 0.0.6-rc.3 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/sshx.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -201,7 +201,7 @@ sshx integrate install vscode
|
|
|
201
201
|
sshx integrate install cursor
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
-
The command locates OpenSSH, installs paired `ssh`/`scp` shims backed by the same sshx binary, patches JSONC `remote.SSH.path`, and verifies the complete invocation chain. It is idempotent and rolls back settings and shims on failure; run it again to repair the integration after moving the sshx executable. npm-managed integrations record a management marker and are refreshed automatically by later `npm install` or `npm update` operations, so the install command does not need to be rerun manually. No restart, integration-specific configuration, or extra binary is required.
|
|
204
|
+
This integration is highly experimental. The command displays a warning and asks for interactive `y/n` confirmation; pass `-y` to confirm non-interactively. It locates OpenSSH, installs paired `ssh`/`scp` shims backed by the same sshx binary, patches JSONC `remote.SSH.path`, and verifies the complete invocation chain. It is idempotent and rolls back settings and shims on failure; run it again to repair the integration after moving the sshx executable. npm-managed integrations record a management marker and are refreshed automatically by later `npm install` or `npm update` operations, so the install command does not need to be rerun manually. No restart, integration-specific configuration, or extra binary is required.
|
|
205
205
|
|
|
206
206
|
Remote-SSH remains the user-visible OpenSSH connection. Every real SSH session through an integration shim receives the same application context wrapper, while information probes remain exact passthrough. The wrapper exports a stable `SSHX_CONTEXT_ID` and context-launcher path before executing the original remote command; stdin is never inspected or buffered. Each live session owns a sidecar, and temporary ControlMaster sockets let concurrent SSH and scp calls reuse authentication without a resident integration daemon.
|
|
207
207
|
|
package/bin/sshx.js
CHANGED
|
@@ -116,7 +116,7 @@ function findNpmIntegrationsToRefresh() {
|
|
|
116
116
|
|
|
117
117
|
function refreshNpmIntegrations(profiles) {
|
|
118
118
|
for (const profile of profiles) {
|
|
119
|
-
const refresh = spawnSync(binaryPath, ["integrate", "install", profile], {
|
|
119
|
+
const refresh = spawnSync(binaryPath, ["integrate", "install", "-y", profile], {
|
|
120
120
|
encoding: "utf8",
|
|
121
121
|
env: nativeEnvironment,
|
|
122
122
|
});
|