@staff0rd/assist 0.297.2 → 0.297.3
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/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Command } from "commander";
|
|
|
6
6
|
// package.json
|
|
7
7
|
var package_default = {
|
|
8
8
|
name: "@staff0rd/assist",
|
|
9
|
-
version: "0.297.
|
|
9
|
+
version: "0.297.3",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -19033,7 +19033,7 @@ async function forwardWindowsCreate(conn, state, client, data) {
|
|
|
19033
19033
|
await conn.ensure();
|
|
19034
19034
|
daemonLog("windows proxy: connection ready, forwarding create");
|
|
19035
19035
|
state.pendingCreators.push(client);
|
|
19036
|
-
conn.write(data);
|
|
19036
|
+
conn.write(stripOutboundSessionId(data));
|
|
19037
19037
|
} catch (error) {
|
|
19038
19038
|
const message = error instanceof Error ? error.message : String(error);
|
|
19039
19039
|
daemonLog(`windows proxy: forwardCreate failed: ${message}`);
|
|
@@ -19043,6 +19043,10 @@ async function forwardWindowsCreate(conn, state, client, data) {
|
|
|
19043
19043
|
});
|
|
19044
19044
|
}
|
|
19045
19045
|
}
|
|
19046
|
+
function stripOutboundSessionId(data) {
|
|
19047
|
+
if (typeof data.sessionId !== "string") return data;
|
|
19048
|
+
return { ...data, sessionId: stripWindowsSessionId(data.sessionId) };
|
|
19049
|
+
}
|
|
19046
19050
|
|
|
19047
19051
|
// src/commands/sessions/daemon/buildHello.ts
|
|
19048
19052
|
var ASSIST_VERSION = package_default.version;
|