@dev-anywhere/proxy 0.5.45 → 0.5.47

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.
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3HJM2NFD.js";
5
5
  import {
6
6
  createIpcReader
7
- } from "./chunk-WDFYF3IR.js";
7
+ } from "./chunk-RE6MSXP6.js";
8
8
  import {
9
9
  terminalLogger
10
10
  } from "./chunk-NOUZTHUN.js";
@@ -112,4 +112,4 @@ export {
112
112
  waitForMessage,
113
113
  swapServeSocket
114
114
  };
115
- //# sourceMappingURL=chunk-KPYXW3IY.js.map
115
+ //# sourceMappingURL=chunk-EZKYZP33.js.map
@@ -1062,7 +1062,7 @@ var relayControlDefinitions = [
1062
1062
  }))
1063
1063
  }),
1064
1064
  // PTY 会话订阅,client -> proxy,触发 terminal serialize() 返回当前状态
1065
- control("session_subscribe", { sessionId: IdSchema, requestId: IdSchema.optional() }, "client_to_proxy"),
1065
+ control("session_subscribe", { sessionId: IdSchema, requestId: IdSchema }, "client_to_proxy"),
1066
1066
  // PTY 会话快照,proxy -> client,serialize() 的全量终端状态
1067
1067
  control("session_snapshot", {
1068
1068
  sessionId: IdSchema,
@@ -1070,7 +1070,7 @@ var relayControlDefinitions = [
1070
1070
  rows: z9.number().int().positive(),
1071
1071
  data: z9.string(),
1072
1072
  outputSeq: z9.number().int().nonnegative(),
1073
- requestId: IdSchema.optional()
1073
+ requestId: IdSchema
1074
1074
  }, "proxy_to_client")
1075
1075
  ];
1076
1076
  var relayControlSchemas = relayControlDefinitions.map((definition) => definition.schema);
@@ -1360,7 +1360,7 @@ var IpcMessageSchema = z10.discriminatedUnion("type", [
1360
1360
  z10.object({
1361
1361
  type: z10.literal("pty_subscribe"),
1362
1362
  sessionId: z10.string(),
1363
- requestId: z10.string().optional()
1363
+ requestId: z10.string()
1364
1364
  }),
1365
1365
  // terminal → serve:serialize() 结果
1366
1366
  z10.object({
@@ -1370,7 +1370,7 @@ var IpcMessageSchema = z10.discriminatedUnion("type", [
1370
1370
  rows: z10.number(),
1371
1371
  data: z10.string(),
1372
1372
  outputSeq: z10.number().int().nonnegative(),
1373
- requestId: z10.string().optional()
1373
+ requestId: z10.string()
1374
1374
  }),
1375
1375
  // serve → terminal:relay 连接状态变更,供终端给用户显示 remote viewing 是否通畅
1376
1376
  z10.object({
@@ -1559,4 +1559,4 @@ export {
1559
1559
  serializeIpc,
1560
1560
  createIpcReader
1561
1561
  };
1562
- //# sourceMappingURL=chunk-WDFYF3IR.js.map
1562
+ //# sourceMappingURL=chunk-RE6MSXP6.js.map