hop2 0.11.3 → 0.11.4

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.
@@ -37,6 +37,8 @@
37
37
  "name": "hay-server",
38
38
  "version": "0.9.0",
39
39
  "dependencies": {
40
+ "@xterm/addon-serialize": "^0.14.0",
41
+ "@xterm/headless": "^6.0.0",
40
42
  "express": "^4.21.2",
41
43
  "hay-shared": "*",
42
44
  "node-pty-prebuilt-multiarch": "^0.10.1-pre.5",
@@ -2283,6 +2285,12 @@
2283
2285
  "integrity": "sha512-jYcgT6xtVYhnhgxh3QgYDnnNMYTcf8ElbxxFzX0IZo+vabQqSPAjC3c1wJrKB5E19VwQei89QCiZZP86DCPF7g==",
2284
2286
  "license": "MIT"
2285
2287
  },
2288
+ "node_modules/@xterm/addon-serialize": {
2289
+ "version": "0.14.0",
2290
+ "resolved": "https://registry.npmjs.org/@xterm/addon-serialize/-/addon-serialize-0.14.0.tgz",
2291
+ "integrity": "sha512-uteyTU1EkrQa2Ux6P/uFl2fzmXI46jy5uoQMKEOM0fKTyiW7cSn0WrFenHm5vO5uEXX/GpwW/FgILvv3r0WbkA==",
2292
+ "license": "MIT"
2293
+ },
2286
2294
  "node_modules/@xterm/addon-web-links": {
2287
2295
  "version": "0.12.0",
2288
2296
  "resolved": "https://registry.npmjs.org/@xterm/addon-web-links/-/addon-web-links-0.12.0.tgz",
@@ -2295,6 +2303,15 @@
2295
2303
  "integrity": "sha512-b3fMOsyLVuCeNJWxolACEUED0vm7qC0cy4wRvf3oURSzDTYVQiGPhTnhWZwIHdvC48Y+oLhvYXnY4XDXPoJo6A==",
2296
2304
  "license": "MIT"
2297
2305
  },
2306
+ "node_modules/@xterm/headless": {
2307
+ "version": "6.0.0",
2308
+ "resolved": "https://registry.npmjs.org/@xterm/headless/-/headless-6.0.0.tgz",
2309
+ "integrity": "sha512-5Yj1QINYCyzrZtf8OFIHi47iQtI+0qYFPHmouEfG8dHNxbZ9Tb9YGSuLcsEwj9Z+OL75GJqPyJbyoFer80a2Hw==",
2310
+ "license": "MIT",
2311
+ "workspaces": [
2312
+ "addons/*"
2313
+ ]
2314
+ },
2298
2315
  "node_modules/@xterm/xterm": {
2299
2316
  "version": "6.0.0",
2300
2317
  "resolved": "https://registry.npmjs.org/@xterm/xterm/-/xterm-6.0.0.tgz",
@@ -65,7 +65,12 @@ export const serverMessageSchema = z.discriminatedUnion("type", [
65
65
  // encoding (?1006). Lets a reattaching client scroll the app with per-line
66
66
  // wheel events instead of coarse Page keys.
67
67
  mouseReporting: z.boolean().optional(),
68
- mouseSgr: z.boolean().optional()
68
+ mouseSgr: z.boolean().optional(),
69
+ // True when the room retains more raw history than this snapshot carries.
70
+ // Serialized snapshots are a few KB however deep the session is, so the
71
+ // client can no longer infer "there is more history" from snapshot size —
72
+ // this flag is what keeps the scroll-to-top deep-history reload offered.
73
+ capped: z.boolean().optional()
69
74
  }),
70
75
  z.object({ type: z.literal("collab"), enabled: z.boolean(), controllerId: z.string().nullable() }),
71
76
  z.object({ type: z.literal("input_rejected"), reason: z.string() }),