@staff0rd/assist 0.398.0 → 0.400.0

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 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.398.0",
9
+ version: "0.400.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -25515,6 +25515,16 @@ function isWindowsIo(data) {
25515
25515
  return typeof data.sessionId === "string" && isWindowsSessionId(data.sessionId);
25516
25516
  }
25517
25517
 
25518
+ // src/commands/sessions/daemon/logWindowsForward.ts
25519
+ function logWindowsForward(delivered, type, sessionId) {
25520
+ if (!delivered)
25521
+ daemonLog(
25522
+ `windows proxy: DROPPED ${type} for ${sessionId} (windows connection not writable)`
25523
+ );
25524
+ else if (type !== "input")
25525
+ daemonLog(`windows proxy: forwarded ${type} for ${sessionId}`);
25526
+ }
25527
+
25518
25528
  // src/commands/sessions/daemon/WindowsConnection.ts
25519
25529
  import { createInterface as createInterface8 } from "readline";
25520
25530
 
@@ -25727,7 +25737,8 @@ var WindowsProxy = class {
25727
25737
  }
25728
25738
  routeIo(data) {
25729
25739
  const sessionId = stripWindowsSessionId(data.sessionId);
25730
- this.conn.trySend({ ...data, sessionId });
25740
+ const delivered = this.conn.trySend({ ...data, sessionId });
25741
+ logWindowsForward(delivered, data.type, data.sessionId);
25731
25742
  return true;
25732
25743
  }
25733
25744
  dispose() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.398.0",
3
+ "version": "0.400.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {