@niscorp/moss 0.9.0 → 0.9.2

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/DESIGN.md +1 -1
  3. package/DOCS.md +95 -25
  4. package/dist/{chunk-WTWRLOPK.js → chunk-5ZB7FZ2J.js} +3 -3
  5. package/dist/{chunk-WTWRLOPK.js.map → chunk-5ZB7FZ2J.js.map} +1 -1
  6. package/dist/{chunk-E6YAYR7G.cjs → chunk-6ZWMC2OV.cjs} +6 -6
  7. package/dist/{chunk-E6YAYR7G.cjs.map → chunk-6ZWMC2OV.cjs.map} +1 -1
  8. package/dist/{chunk-UUOATPZ7.js → chunk-FUJRIO4N.js} +20 -4
  9. package/dist/chunk-FUJRIO4N.js.map +1 -0
  10. package/dist/{chunk-TGKDS2T7.cjs → chunk-IY5BOFLK.cjs} +222 -37
  11. package/dist/chunk-IY5BOFLK.cjs.map +1 -0
  12. package/dist/{chunk-LKTS4PCD.cjs → chunk-KMZT6NVL.cjs} +23 -7
  13. package/dist/chunk-KMZT6NVL.cjs.map +1 -0
  14. package/dist/{chunk-L2GHVTJW.cjs → chunk-KVXP6OTW.cjs} +88 -81
  15. package/dist/chunk-KVXP6OTW.cjs.map +1 -0
  16. package/dist/{chunk-3RIWTXGI.cjs → chunk-NCQBGK3E.cjs} +6 -2
  17. package/dist/chunk-NCQBGK3E.cjs.map +1 -0
  18. package/dist/{chunk-4ZGAFZGS.js → chunk-TKXYPO2Y.js} +6 -2
  19. package/dist/chunk-TKXYPO2Y.js.map +1 -0
  20. package/dist/{chunk-TLNRFAQ6.js → chunk-UTFOMFCH.js} +207 -22
  21. package/dist/chunk-UTFOMFCH.js.map +1 -0
  22. package/dist/{chunk-Y7PRASR3.js → chunk-WMIJU6ZZ.js} +12 -5
  23. package/dist/chunk-WMIJU6ZZ.js.map +1 -0
  24. package/dist/client/node.d.cts +2 -2
  25. package/dist/client/node.d.ts +2 -2
  26. package/dist/client.cjs +5 -5
  27. package/dist/client.d.cts +7 -4
  28. package/dist/client.d.ts +7 -4
  29. package/dist/client.js +2 -2
  30. package/dist/{env-CY8EGWnD.d.cts → env-3qvvochI.d.cts} +3 -1
  31. package/dist/{env-DEPqqHEb.d.ts → env-DBPDpfU8.d.ts} +3 -1
  32. package/dist/index.cjs +15 -15
  33. package/dist/index.js +3 -3
  34. package/dist/{messages-CSwCJgH3.d.cts → messages-OSnNJL80.d.cts} +2 -0
  35. package/dist/{messages-CSwCJgH3.d.ts → messages-OSnNJL80.d.ts} +2 -0
  36. package/dist/node.cjs +8 -8
  37. package/dist/node.js +4 -4
  38. package/dist/protocol.cjs +5 -5
  39. package/dist/protocol.d.cts +1 -1
  40. package/dist/protocol.d.ts +1 -1
  41. package/dist/protocol.js +1 -1
  42. package/dist/terminal/dom/index.d.cts +2 -2
  43. package/dist/terminal/dom/index.d.ts +2 -2
  44. package/dist/terminal/index.cjs +3 -3
  45. package/dist/terminal/index.d.cts +2 -2
  46. package/dist/terminal/index.d.ts +2 -2
  47. package/dist/terminal/index.js +2 -2
  48. package/dist/terminal/react/index.d.cts +2 -2
  49. package/dist/terminal/react/index.d.ts +2 -2
  50. package/dist/terminal/react/server.d.cts +2 -2
  51. package/dist/terminal/react/server.d.ts +2 -2
  52. package/dist/terminal/tty/index.d.cts +2 -2
  53. package/dist/terminal/tty/index.d.ts +2 -2
  54. package/dist/terminal/vue/index.d.cts +2 -2
  55. package/dist/terminal/vue/index.d.ts +2 -2
  56. package/dist/terminal/vue/server.d.cts +2 -2
  57. package/dist/terminal/vue/server.d.ts +2 -2
  58. package/dist/unverified.cjs +3 -3
  59. package/dist/unverified.js +2 -2
  60. package/dist/vite.cjs +9 -9
  61. package/dist/vite.js +4 -4
  62. package/package.json +13 -13
  63. package/dist/chunk-3RIWTXGI.cjs.map +0 -1
  64. package/dist/chunk-4ZGAFZGS.js.map +0 -1
  65. package/dist/chunk-L2GHVTJW.cjs.map +0 -1
  66. package/dist/chunk-LKTS4PCD.cjs.map +0 -1
  67. package/dist/chunk-TGKDS2T7.cjs.map +0 -1
  68. package/dist/chunk-TLNRFAQ6.js.map +0 -1
  69. package/dist/chunk-UUOATPZ7.js.map +0 -1
  70. package/dist/chunk-Y7PRASR3.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { W as WireEnv } from '../env-CY8EGWnD.cjs';
2
- import '../messages-CSwCJgH3.cjs';
1
+ import { W as WireEnv } from '../env-3qvvochI.cjs';
2
+ import '../messages-OSnNJL80.cjs';
3
3
  import 'zod';
4
4
  import '@niscorp/nova';
5
5
 
@@ -1,5 +1,5 @@
1
- import { W as WireEnv } from '../env-DEPqqHEb.js';
2
- import '../messages-CSwCJgH3.js';
1
+ import { W as WireEnv } from '../env-DBPDpfU8.js';
2
+ import '../messages-OSnNJL80.js';
3
3
  import 'zod';
4
4
  import '@niscorp/nova';
5
5
 
package/dist/client.cjs CHANGED
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunkTGKDS2T7_cjs = require('./chunk-TGKDS2T7.cjs');
4
- require('./chunk-3RIWTXGI.cjs');
3
+ var chunkIY5BOFLK_cjs = require('./chunk-IY5BOFLK.cjs');
4
+ require('./chunk-NCQBGK3E.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "browserEnv", {
9
9
  enumerable: true,
10
- get: function () { return chunkTGKDS2T7_cjs.browserEnv; }
10
+ get: function () { return chunkIY5BOFLK_cjs.browserEnv; }
11
11
  });
12
12
  Object.defineProperty(exports, "createWire", {
13
13
  enumerable: true,
14
- get: function () { return chunkTGKDS2T7_cjs.createWire; }
14
+ get: function () { return chunkIY5BOFLK_cjs.createWire; }
15
15
  });
16
16
  Object.defineProperty(exports, "readDocumentSnapshot", {
17
17
  enumerable: true,
18
- get: function () { return chunkTGKDS2T7_cjs.readDocumentSnapshot; }
18
+ get: function () { return chunkIY5BOFLK_cjs.readDocumentSnapshot; }
19
19
  });
20
20
  //# sourceMappingURL=client.cjs.map
21
21
  //# sourceMappingURL=client.cjs.map
package/dist/client.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { RenderNode, NovaEvent } from '@niscorp/nova';
2
- import { D as DocumentSnapshot } from './messages-CSwCJgH3.cjs';
3
- import { W as WireEnv } from './env-CY8EGWnD.cjs';
4
- export { b as browserEnv, r as readDocumentSnapshot } from './env-CY8EGWnD.cjs';
2
+ import { D as DocumentSnapshot } from './messages-OSnNJL80.cjs';
3
+ import { W as WireEnv } from './env-3qvvochI.cjs';
4
+ export { b as browserEnv, r as readDocumentSnapshot } from './env-3qvvochI.cjs';
5
5
  import 'zod';
6
6
 
7
7
  type WireSnapshot = {
@@ -21,6 +21,7 @@ type Wire = {
21
21
  subscribe: (listener: () => void) => () => void;
22
22
  snapshot: () => WireSnapshot;
23
23
  status: () => WireStatus;
24
+ droppedEvents?: () => number;
24
25
  dispatch: (canvasId: string, event: NovaEvent) => void;
25
26
  publish: (channel: string, payload?: unknown) => void;
26
27
  reset: () => void;
@@ -28,6 +29,8 @@ type Wire = {
28
29
  popTo: (canvas: string, instance: string) => void;
29
30
  dispose: () => void;
30
31
  };
31
- declare const createWire: (config?: WireConfig) => Wire;
32
+ declare const createWire: (config?: WireConfig) => Wire & {
33
+ droppedEvents: () => number;
34
+ };
32
35
 
33
36
  export { DocumentSnapshot, type Wire, type WireConfig, WireEnv, type WireSnapshot, type WireStatus, createWire };
package/dist/client.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { RenderNode, NovaEvent } from '@niscorp/nova';
2
- import { D as DocumentSnapshot } from './messages-CSwCJgH3.js';
3
- import { W as WireEnv } from './env-DEPqqHEb.js';
4
- export { b as browserEnv, r as readDocumentSnapshot } from './env-DEPqqHEb.js';
2
+ import { D as DocumentSnapshot } from './messages-OSnNJL80.js';
3
+ import { W as WireEnv } from './env-DBPDpfU8.js';
4
+ export { b as browserEnv, r as readDocumentSnapshot } from './env-DBPDpfU8.js';
5
5
  import 'zod';
6
6
 
7
7
  type WireSnapshot = {
@@ -21,6 +21,7 @@ type Wire = {
21
21
  subscribe: (listener: () => void) => () => void;
22
22
  snapshot: () => WireSnapshot;
23
23
  status: () => WireStatus;
24
+ droppedEvents?: () => number;
24
25
  dispatch: (canvasId: string, event: NovaEvent) => void;
25
26
  publish: (channel: string, payload?: unknown) => void;
26
27
  reset: () => void;
@@ -28,6 +29,8 @@ type Wire = {
28
29
  popTo: (canvas: string, instance: string) => void;
29
30
  dispose: () => void;
30
31
  };
31
- declare const createWire: (config?: WireConfig) => Wire;
32
+ declare const createWire: (config?: WireConfig) => Wire & {
33
+ droppedEvents: () => number;
34
+ };
32
35
 
33
36
  export { DocumentSnapshot, type Wire, type WireConfig, WireEnv, type WireSnapshot, type WireStatus, createWire };
package/dist/client.js CHANGED
@@ -1,4 +1,4 @@
1
- export { browserEnv, createWire, readDocumentSnapshot } from './chunk-TLNRFAQ6.js';
2
- import './chunk-4ZGAFZGS.js';
1
+ export { browserEnv, createWire, readDocumentSnapshot } from './chunk-UTFOMFCH.js';
2
+ import './chunk-TKXYPO2Y.js';
3
3
  //# sourceMappingURL=client.js.map
4
4
  //# sourceMappingURL=client.js.map
@@ -1,4 +1,4 @@
1
- import { D as DocumentSnapshot } from './messages-CSwCJgH3.cjs';
1
+ import { D as DocumentSnapshot } from './messages-OSnNJL80.cjs';
2
2
 
3
3
  type WireTokenStore = {
4
4
  load: () => string | null;
@@ -14,6 +14,8 @@ type WireEnv = {
14
14
  offered: string[];
15
15
  }) => WebSocket;
16
16
  defaultUrl: () => string;
17
+ onResume?: (resumed: () => void) => () => void;
18
+ visible?: () => boolean;
17
19
  };
18
20
  declare const browserEnv: (config?: {
19
21
  tokenKey?: string;
@@ -1,4 +1,4 @@
1
- import { D as DocumentSnapshot } from './messages-CSwCJgH3.js';
1
+ import { D as DocumentSnapshot } from './messages-OSnNJL80.js';
2
2
 
3
3
  type WireTokenStore = {
4
4
  load: () => string | null;
@@ -14,6 +14,8 @@ type WireEnv = {
14
14
  offered: string[];
15
15
  }) => WebSocket;
16
16
  defaultUrl: () => string;
17
+ onResume?: (resumed: () => void) => () => void;
18
+ visible?: () => boolean;
17
19
  };
18
20
  declare const browserEnv: (config?: {
19
21
  tokenKey?: string;
package/dist/index.cjs CHANGED
@@ -1,59 +1,59 @@
1
1
  'use strict';
2
2
 
3
- var chunkL2GHVTJW_cjs = require('./chunk-L2GHVTJW.cjs');
4
- var chunkE6YAYR7G_cjs = require('./chunk-E6YAYR7G.cjs');
3
+ var chunkKVXP6OTW_cjs = require('./chunk-KVXP6OTW.cjs');
4
+ var chunk6ZWMC2OV_cjs = require('./chunk-6ZWMC2OV.cjs');
5
5
  require('./chunk-PVZMCEBX.cjs');
6
- require('./chunk-3RIWTXGI.cjs');
6
+ require('./chunk-NCQBGK3E.cjs');
7
7
 
8
8
 
9
9
 
10
10
  Object.defineProperty(exports, "MOSS_SEQUENCE", {
11
11
  enumerable: true,
12
- get: function () { return chunkL2GHVTJW_cjs.MOSS_SEQUENCE; }
12
+ get: function () { return chunkKVXP6OTW_cjs.MOSS_SEQUENCE; }
13
13
  });
14
14
  Object.defineProperty(exports, "createServer", {
15
15
  enumerable: true,
16
- get: function () { return chunkL2GHVTJW_cjs.createServer; }
16
+ get: function () { return chunkKVXP6OTW_cjs.createServer; }
17
17
  });
18
18
  Object.defineProperty(exports, "exportDocuments", {
19
19
  enumerable: true,
20
- get: function () { return chunkL2GHVTJW_cjs.exportDocuments; }
20
+ get: function () { return chunkKVXP6OTW_cjs.exportDocuments; }
21
21
  });
22
22
  Object.defineProperty(exports, "migrateTables", {
23
23
  enumerable: true,
24
- get: function () { return chunkL2GHVTJW_cjs.migrateTables; }
24
+ get: function () { return chunkKVXP6OTW_cjs.migrateTables; }
25
25
  });
26
26
  Object.defineProperty(exports, "mintDevToken", {
27
27
  enumerable: true,
28
- get: function () { return chunkL2GHVTJW_cjs.mintDevToken; }
28
+ get: function () { return chunkKVXP6OTW_cjs.mintDevToken; }
29
29
  });
30
30
  Object.defineProperty(exports, "mintSession", {
31
31
  enumerable: true,
32
- get: function () { return chunkL2GHVTJW_cjs.mintSession; }
32
+ get: function () { return chunkKVXP6OTW_cjs.mintSession; }
33
33
  });
34
34
  Object.defineProperty(exports, "renderDocument", {
35
35
  enumerable: true,
36
- get: function () { return chunkL2GHVTJW_cjs.renderDocument; }
36
+ get: function () { return chunkKVXP6OTW_cjs.renderDocument; }
37
37
  });
38
38
  Object.defineProperty(exports, "revokeAllFor", {
39
39
  enumerable: true,
40
- get: function () { return chunkL2GHVTJW_cjs.revokeAllFor; }
40
+ get: function () { return chunkKVXP6OTW_cjs.revokeAllFor; }
41
41
  });
42
42
  Object.defineProperty(exports, "sessionCookies", {
43
43
  enumerable: true,
44
- get: function () { return chunkL2GHVTJW_cjs.sessionCookies; }
44
+ get: function () { return chunkKVXP6OTW_cjs.sessionCookies; }
45
45
  });
46
46
  Object.defineProperty(exports, "tableStatus", {
47
47
  enumerable: true,
48
- get: function () { return chunkL2GHVTJW_cjs.tableStatus; }
48
+ get: function () { return chunkKVXP6OTW_cjs.tableStatus; }
49
49
  });
50
50
  Object.defineProperty(exports, "defineApp", {
51
51
  enumerable: true,
52
- get: function () { return chunkE6YAYR7G_cjs.defineApp; }
52
+ get: function () { return chunk6ZWMC2OV_cjs.defineApp; }
53
53
  });
54
54
  Object.defineProperty(exports, "verifyApp", {
55
55
  enumerable: true,
56
- get: function () { return chunkE6YAYR7G_cjs.verifyApp; }
56
+ get: function () { return chunk6ZWMC2OV_cjs.verifyApp; }
57
57
  });
58
58
  //# sourceMappingURL=index.cjs.map
59
59
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export { MOSS_SEQUENCE, createServer, exportDocuments, migrateTables, mintDevToken, mintSession, renderDocument, revokeAllFor, sessionCookies, tableStatus } from './chunk-Y7PRASR3.js';
2
- export { defineApp, verifyApp } from './chunk-WTWRLOPK.js';
1
+ export { MOSS_SEQUENCE, createServer, exportDocuments, migrateTables, mintDevToken, mintSession, renderDocument, revokeAllFor, sessionCookies, tableStatus } from './chunk-WMIJU6ZZ.js';
2
+ export { defineApp, verifyApp } from './chunk-5ZB7FZ2J.js';
3
3
  import './chunk-QAHDSRPK.js';
4
- import './chunk-4ZGAFZGS.js';
4
+ import './chunk-TKXYPO2Y.js';
5
5
  //# sourceMappingURL=index.js.map
6
6
  //# sourceMappingURL=index.js.map
@@ -25,6 +25,8 @@ declare const ServerMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<
25
25
  }, z.core.$strict>, z.ZodObject<{
26
26
  type: z.ZodLiteral<"frame">;
27
27
  tree: z.ZodArray<z.ZodType<RenderNode, unknown, z.core.$ZodTypeInternals<RenderNode, unknown>>>;
28
+ }, z.core.$strict>, z.ZodObject<{
29
+ type: z.ZodLiteral<"pong">;
28
30
  }, z.core.$strict>, z.ZodObject<{
29
31
  type: z.ZodLiteral<"render">;
30
32
  canvas: z.ZodString;
@@ -25,6 +25,8 @@ declare const ServerMessageSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<
25
25
  }, z.core.$strict>, z.ZodObject<{
26
26
  type: z.ZodLiteral<"frame">;
27
27
  tree: z.ZodArray<z.ZodType<RenderNode, unknown, z.core.$ZodTypeInternals<RenderNode, unknown>>>;
28
+ }, z.core.$strict>, z.ZodObject<{
29
+ type: z.ZodLiteral<"pong">;
28
30
  }, z.core.$strict>, z.ZodObject<{
29
31
  type: z.ZodLiteral<"render">;
30
32
  canvas: z.ZodString;
package/dist/node.cjs CHANGED
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkLKTS4PCD_cjs = require('./chunk-LKTS4PCD.cjs');
4
- require('./chunk-L2GHVTJW.cjs');
5
- require('./chunk-E6YAYR7G.cjs');
3
+ var chunkKMZT6NVL_cjs = require('./chunk-KMZT6NVL.cjs');
4
+ require('./chunk-KVXP6OTW.cjs');
5
+ require('./chunk-6ZWMC2OV.cjs');
6
6
  require('./chunk-PVZMCEBX.cjs');
7
- require('./chunk-3RIWTXGI.cjs');
7
+ require('./chunk-NCQBGK3E.cjs');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "MOSS_PATHS", {
12
12
  enumerable: true,
13
- get: function () { return chunkLKTS4PCD_cjs.MOSS_PATHS; }
13
+ get: function () { return chunkKMZT6NVL_cjs.MOSS_PATHS; }
14
14
  });
15
15
  Object.defineProperty(exports, "attachSocket", {
16
16
  enumerable: true,
17
- get: function () { return chunkLKTS4PCD_cjs.attachSocket; }
17
+ get: function () { return chunkKMZT6NVL_cjs.attachSocket; }
18
18
  });
19
19
  Object.defineProperty(exports, "mountSite", {
20
20
  enumerable: true,
21
- get: function () { return chunkLKTS4PCD_cjs.mountSite; }
21
+ get: function () { return chunkKMZT6NVL_cjs.mountSite; }
22
22
  });
23
23
  Object.defineProperty(exports, "serve", {
24
24
  enumerable: true,
25
- get: function () { return chunkLKTS4PCD_cjs.serve; }
25
+ get: function () { return chunkKMZT6NVL_cjs.serve; }
26
26
  });
27
27
  //# sourceMappingURL=node.cjs.map
28
28
  //# sourceMappingURL=node.cjs.map
package/dist/node.js CHANGED
@@ -1,7 +1,7 @@
1
- export { MOSS_PATHS, attachSocket, mountSite, serve } from './chunk-UUOATPZ7.js';
2
- import './chunk-Y7PRASR3.js';
3
- import './chunk-WTWRLOPK.js';
1
+ export { MOSS_PATHS, attachSocket, mountSite, serve } from './chunk-FUJRIO4N.js';
2
+ import './chunk-WMIJU6ZZ.js';
3
+ import './chunk-5ZB7FZ2J.js';
4
4
  import './chunk-QAHDSRPK.js';
5
- import './chunk-4ZGAFZGS.js';
5
+ import './chunk-TKXYPO2Y.js';
6
6
  //# sourceMappingURL=node.js.map
7
7
  //# sourceMappingURL=node.js.map
package/dist/protocol.cjs CHANGED
@@ -1,24 +1,24 @@
1
1
  'use strict';
2
2
 
3
- var chunk3RIWTXGI_cjs = require('./chunk-3RIWTXGI.cjs');
3
+ var chunkNCQBGK3E_cjs = require('./chunk-NCQBGK3E.cjs');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "CLOSE_INVALID_TOKEN", {
8
8
  enumerable: true,
9
- get: function () { return chunk3RIWTXGI_cjs.CLOSE_INVALID_TOKEN; }
9
+ get: function () { return chunkNCQBGK3E_cjs.CLOSE_INVALID_TOKEN; }
10
10
  });
11
11
  Object.defineProperty(exports, "CLOSE_SIGNED_OUT", {
12
12
  enumerable: true,
13
- get: function () { return chunk3RIWTXGI_cjs.CLOSE_SIGNED_OUT; }
13
+ get: function () { return chunkNCQBGK3E_cjs.CLOSE_SIGNED_OUT; }
14
14
  });
15
15
  Object.defineProperty(exports, "PROTOCOL", {
16
16
  enumerable: true,
17
- get: function () { return chunk3RIWTXGI_cjs.PROTOCOL; }
17
+ get: function () { return chunkNCQBGK3E_cjs.PROTOCOL; }
18
18
  });
19
19
  Object.defineProperty(exports, "offerToken", {
20
20
  enumerable: true,
21
- get: function () { return chunk3RIWTXGI_cjs.offerToken; }
21
+ get: function () { return chunkNCQBGK3E_cjs.offerToken; }
22
22
  });
23
23
  //# sourceMappingURL=protocol.cjs.map
24
24
  //# sourceMappingURL=protocol.cjs.map
@@ -1,4 +1,4 @@
1
- export { S as ServerMessage } from './messages-CSwCJgH3.cjs';
1
+ export { S as ServerMessage } from './messages-OSnNJL80.cjs';
2
2
  export { C as Connection } from './socket-D90h1xSV.cjs';
3
3
  import 'zod';
4
4
  import '@niscorp/nova';
@@ -1,4 +1,4 @@
1
- export { S as ServerMessage } from './messages-CSwCJgH3.js';
1
+ export { S as ServerMessage } from './messages-OSnNJL80.js';
2
2
  export { C as Connection } from './socket-D90h1xSV.js';
3
3
  import 'zod';
4
4
  import '@niscorp/nova';
package/dist/protocol.js CHANGED
@@ -1,3 +1,3 @@
1
- export { CLOSE_INVALID_TOKEN, CLOSE_SIGNED_OUT, PROTOCOL, offerToken } from './chunk-4ZGAFZGS.js';
1
+ export { CLOSE_INVALID_TOKEN, CLOSE_SIGNED_OUT, PROTOCOL, offerToken } from './chunk-TKXYPO2Y.js';
2
2
  //# sourceMappingURL=protocol.js.map
3
3
  //# sourceMappingURL=protocol.js.map
@@ -2,9 +2,9 @@ import { DomComponent } from '@niscorp/nova/adapters/dom';
2
2
  import { ComponentRegistry } from '@niscorp/nova';
3
3
  import { Target } from '../index.cjs';
4
4
  import '../../client.cjs';
5
- import '../../messages-CSwCJgH3.cjs';
5
+ import '../../messages-OSnNJL80.cjs';
6
6
  import 'zod';
7
- import '../../env-CY8EGWnD.cjs';
7
+ import '../../env-3qvvochI.cjs';
8
8
 
9
9
  declare const domTarget: (config: {
10
10
  root: HTMLElement;
@@ -2,9 +2,9 @@ import { DomComponent } from '@niscorp/nova/adapters/dom';
2
2
  import { ComponentRegistry } from '@niscorp/nova';
3
3
  import { Target } from '../index.js';
4
4
  import '../../client.js';
5
- import '../../messages-CSwCJgH3.js';
5
+ import '../../messages-OSnNJL80.js';
6
6
  import 'zod';
7
- import '../../env-DEPqqHEb.js';
7
+ import '../../env-DBPDpfU8.js';
8
8
 
9
9
  declare const domTarget: (config: {
10
10
  root: HTMLElement;
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkTGKDS2T7_cjs = require('../chunk-TGKDS2T7.cjs');
4
- require('../chunk-3RIWTXGI.cjs');
3
+ var chunkIY5BOFLK_cjs = require('../chunk-IY5BOFLK.cjs');
4
+ require('../chunk-NCQBGK3E.cjs');
5
5
  var document$1 = require('@niscorp/nova/document');
6
6
 
7
7
  // src/terminal/history.ts
@@ -72,7 +72,7 @@ var mountTerminal = (config) => {
72
72
  const keys = Object.keys(config.targets);
73
73
  if (keys.length === 0) throw new Error("mountTerminal: at least one target is required");
74
74
  const ownsWire = config.wire === void 0;
75
- const wire = config.wire ?? chunkTGKDS2T7_cjs.createWire(config.url !== void 0 ? { url: config.url } : {});
75
+ const wire = config.wire ?? chunkIY5BOFLK_cjs.createWire(config.url !== void 0 ? { url: config.url } : {});
76
76
  const targetAt = (i) => {
77
77
  const key = keys[i];
78
78
  const target = key === void 0 ? void 0 : config.targets[key];
@@ -1,8 +1,8 @@
1
1
  import { RenderApi } from '@niscorp/nova';
2
2
  import { WireStatus, Wire } from '../client.cjs';
3
- import '../messages-CSwCJgH3.cjs';
3
+ import '../messages-OSnNJL80.cjs';
4
4
  import 'zod';
5
- import '../env-CY8EGWnD.cjs';
5
+ import '../env-3qvvochI.cjs';
6
6
 
7
7
  type TerminalApi = RenderApi & {
8
8
  status: () => WireStatus;
@@ -1,8 +1,8 @@
1
1
  import { RenderApi } from '@niscorp/nova';
2
2
  import { WireStatus, Wire } from '../client.js';
3
- import '../messages-CSwCJgH3.js';
3
+ import '../messages-OSnNJL80.js';
4
4
  import 'zod';
5
- import '../env-DEPqqHEb.js';
5
+ import '../env-DBPDpfU8.js';
6
6
 
7
7
  type TerminalApi = RenderApi & {
8
8
  status: () => WireStatus;
@@ -1,5 +1,5 @@
1
- import { createWire } from '../chunk-TLNRFAQ6.js';
2
- import '../chunk-4ZGAFZGS.js';
1
+ import { createWire } from '../chunk-UTFOMFCH.js';
2
+ import '../chunk-TKXYPO2Y.js';
3
3
  import { createHeadKeeper, headOf } from '@niscorp/nova/document';
4
4
 
5
5
  // src/terminal/history.ts
@@ -4,9 +4,9 @@ import { Target } from '../index.cjs';
4
4
  import { T as TerminalSlotWrapper } from '../../slots-CU-AbnJg.cjs';
5
5
  export { a as TerminalApiContext, b as TerminalSlotWrapperProps } from '../../slots-CU-AbnJg.cjs';
6
6
  import '../../client.cjs';
7
- import '../../messages-CSwCJgH3.cjs';
7
+ import '../../messages-OSnNJL80.cjs';
8
8
  import 'zod';
9
- import '../../env-CY8EGWnD.cjs';
9
+ import '../../env-3qvvochI.cjs';
10
10
  import 'react';
11
11
 
12
12
  declare const reactTarget: (config: {
@@ -4,9 +4,9 @@ import { Target } from '../index.js';
4
4
  import { T as TerminalSlotWrapper } from '../../slots-BX5N0Juv.js';
5
5
  export { a as TerminalApiContext, b as TerminalSlotWrapperProps } from '../../slots-BX5N0Juv.js';
6
6
  import '../../client.js';
7
- import '../../messages-CSwCJgH3.js';
7
+ import '../../messages-OSnNJL80.js';
8
8
  import 'zod';
9
- import '../../env-DEPqqHEb.js';
9
+ import '../../env-DBPDpfU8.js';
10
10
  import 'react';
11
11
 
12
12
  declare const reactTarget: (config: {
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-CU-AbnJg.cjs';
5
5
  import 'react';
6
6
  import '../index.cjs';
7
7
  import '../../client.cjs';
8
- import '../../messages-CSwCJgH3.cjs';
8
+ import '../../messages-OSnNJL80.cjs';
9
9
  import 'zod';
10
- import '../../env-CY8EGWnD.cjs';
10
+ import '../../env-3qvvochI.cjs';
11
11
 
12
12
  type RenderSnapshotConfig = {
13
13
  snapshot: DrawnSnapshot;
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-BX5N0Juv.js';
5
5
  import 'react';
6
6
  import '../index.js';
7
7
  import '../../client.js';
8
- import '../../messages-CSwCJgH3.js';
8
+ import '../../messages-OSnNJL80.js';
9
9
  import 'zod';
10
- import '../../env-DEPqqHEb.js';
10
+ import '../../env-DBPDpfU8.js';
11
11
 
12
12
  type RenderSnapshotConfig = {
13
13
  snapshot: DrawnSnapshot;
@@ -2,9 +2,9 @@ import { TtyComponent } from '@niscorp/nova/adapters/tty';
2
2
  import { ComponentRegistry } from '@niscorp/nova';
3
3
  import { Target } from '../index.cjs';
4
4
  import '../../client.cjs';
5
- import '../../messages-CSwCJgH3.cjs';
5
+ import '../../messages-OSnNJL80.cjs';
6
6
  import 'zod';
7
- import '../../env-CY8EGWnD.cjs';
7
+ import '../../env-3qvvochI.cjs';
8
8
 
9
9
  type TtyTargetConfig = {
10
10
  input: NodeJS.ReadableStream;
@@ -2,9 +2,9 @@ import { TtyComponent } from '@niscorp/nova/adapters/tty';
2
2
  import { ComponentRegistry } from '@niscorp/nova';
3
3
  import { Target } from '../index.js';
4
4
  import '../../client.js';
5
- import '../../messages-CSwCJgH3.js';
5
+ import '../../messages-OSnNJL80.js';
6
6
  import 'zod';
7
- import '../../env-DEPqqHEb.js';
7
+ import '../../env-DBPDpfU8.js';
8
8
 
9
9
  type TtyTargetConfig = {
10
10
  input: NodeJS.ReadableStream;
@@ -4,9 +4,9 @@ import { Target } from '../index.cjs';
4
4
  import { T as TerminalSlotWrapper } from '../../slots-96gNc9uH.cjs';
5
5
  export { a as TerminalApiKey, b as TerminalSlotWrapperProps } from '../../slots-96gNc9uH.cjs';
6
6
  import '../../client.cjs';
7
- import '../../messages-CSwCJgH3.cjs';
7
+ import '../../messages-OSnNJL80.cjs';
8
8
  import 'zod';
9
- import '../../env-CY8EGWnD.cjs';
9
+ import '../../env-3qvvochI.cjs';
10
10
  import 'vue';
11
11
 
12
12
  type VueTargetConfig = {
@@ -4,9 +4,9 @@ import { Target } from '../index.js';
4
4
  import { T as TerminalSlotWrapper } from '../../slots-sLXDrlbG.js';
5
5
  export { a as TerminalApiKey, b as TerminalSlotWrapperProps } from '../../slots-sLXDrlbG.js';
6
6
  import '../../client.js';
7
- import '../../messages-CSwCJgH3.js';
7
+ import '../../messages-OSnNJL80.js';
8
8
  import 'zod';
9
- import '../../env-DEPqqHEb.js';
9
+ import '../../env-DBPDpfU8.js';
10
10
  import 'vue';
11
11
 
12
12
  type VueTargetConfig = {
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-96gNc9uH.cjs';
5
5
  import 'vue';
6
6
  import '../index.cjs';
7
7
  import '../../client.cjs';
8
- import '../../messages-CSwCJgH3.cjs';
8
+ import '../../messages-OSnNJL80.cjs';
9
9
  import 'zod';
10
- import '../../env-CY8EGWnD.cjs';
10
+ import '../../env-3qvvochI.cjs';
11
11
 
12
12
  type RenderSnapshotConfig = {
13
13
  snapshot: DrawnSnapshot;
@@ -5,9 +5,9 @@ import { T as TerminalSlotWrapper } from '../../slots-sLXDrlbG.js';
5
5
  import 'vue';
6
6
  import '../index.js';
7
7
  import '../../client.js';
8
- import '../../messages-CSwCJgH3.js';
8
+ import '../../messages-OSnNJL80.js';
9
9
  import 'zod';
10
- import '../../env-DEPqqHEb.js';
10
+ import '../../env-DBPDpfU8.js';
11
11
 
12
12
  type RenderSnapshotConfig = {
13
13
  snapshot: DrawnSnapshot;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var chunkE6YAYR7G_cjs = require('./chunk-E6YAYR7G.cjs');
3
+ var chunk6ZWMC2OV_cjs = require('./chunk-6ZWMC2OV.cjs');
4
4
  require('./chunk-PVZMCEBX.cjs');
5
- require('./chunk-3RIWTXGI.cjs');
5
+ require('./chunk-NCQBGK3E.cjs');
6
6
 
7
7
  // src/shells/unverified.ts
8
- var unverifiedShell = (session) => chunkE6YAYR7G_cjs.wholeShellOf(session.shell);
8
+ var unverifiedShell = (session) => chunk6ZWMC2OV_cjs.wholeShellOf(session.shell);
9
9
 
10
10
  exports.unverifiedShell = unverifiedShell;
11
11
  //# sourceMappingURL=unverified.cjs.map
@@ -1,6 +1,6 @@
1
- import { wholeShellOf } from './chunk-WTWRLOPK.js';
1
+ import { wholeShellOf } from './chunk-5ZB7FZ2J.js';
2
2
  import './chunk-QAHDSRPK.js';
3
- import './chunk-4ZGAFZGS.js';
3
+ import './chunk-TKXYPO2Y.js';
4
4
 
5
5
  // src/shells/unverified.ts
6
6
  var unverifiedShell = (session) => wholeShellOf(session.shell);