@tangle-network/sandbox-ui 0.88.0 → 0.88.1

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.
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-H237JF3H.js";
7
7
  import {
8
8
  TerminalView
9
- } from "./chunk-VIREDUBF.js";
9
+ } from "./chunk-JIPBJJEG.js";
10
10
  import {
11
11
  cn
12
12
  } from "./chunk-EI44GEQ5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePtySession
3
- } from "./chunk-77WVVJA4.js";
3
+ } from "./chunk-YKYZVEVX.js";
4
4
 
5
5
  // src/terminal/terminal-view.tsx
6
6
  import "@xterm/xterm/css/xterm.css";
@@ -17,6 +17,7 @@ function toWsUrl(apiUrl, sessionId) {
17
17
  }
18
18
  }
19
19
  var BEARER_SUBPROTOCOL_PREFIX = "bearer.";
20
+ var TERMINAL_WS_ECHO_SUBPROTOCOL = "tangle.terminal.v1";
20
21
  function toBearerSubprotocol(token) {
21
22
  if (typeof btoa === "undefined") return null;
22
23
  let encoded;
@@ -140,7 +141,7 @@ function usePtySession({ apiUrl, token, onData, connectionId: providedConnection
140
141
  }
141
142
  let ws;
142
143
  try {
143
- ws = new WebSocket(wsUrl, [subprotocol]);
144
+ ws = new WebSocket(wsUrl, [TERMINAL_WS_ECHO_SUBPROTOCOL, subprotocol]);
144
145
  } catch {
145
146
  resolve(false);
146
147
  return;
package/dist/hooks.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-QORIZARI.js";
25
25
  import {
26
26
  usePtySession
27
- } from "./chunk-77WVVJA4.js";
27
+ } from "./chunk-YKYZVEVX.js";
28
28
  import "./chunk-U67V476Y.js";
29
29
  export {
30
30
  RealtimeSessionRegistry,
package/dist/index.js CHANGED
@@ -151,7 +151,7 @@ import {
151
151
  buildUnifiedPatch,
152
152
  computeDiffStats,
153
153
  resolveLanguage
154
- } from "./chunk-WTUPC4OZ.js";
154
+ } from "./chunk-GQPVTYHJ.js";
155
155
  import {
156
156
  FileArtifactPane,
157
157
  FilePreview,
@@ -225,10 +225,10 @@ import {
225
225
  UsageChart,
226
226
  formatPrice
227
227
  } from "./chunk-OMUIPJQZ.js";
228
- import "./chunk-VIREDUBF.js";
228
+ import "./chunk-JIPBJJEG.js";
229
229
  import {
230
230
  usePtySession
231
- } from "./chunk-77WVVJA4.js";
231
+ } from "./chunk-YKYZVEVX.js";
232
232
  import {
233
233
  Avatar,
234
234
  AvatarFallback,
package/dist/terminal.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  DEFAULT_TERMINAL_THEME,
3
3
  TerminalView
4
- } from "./chunk-VIREDUBF.js";
5
- import "./chunk-77WVVJA4.js";
4
+ } from "./chunk-JIPBJJEG.js";
5
+ import "./chunk-YKYZVEVX.js";
6
6
  import "./chunk-U67V476Y.js";
7
7
  export {
8
8
  DEFAULT_TERMINAL_THEME,
package/dist/workbench.js CHANGED
@@ -12,12 +12,12 @@ import {
12
12
  buildUnifiedPatch,
13
13
  computeDiffStats,
14
14
  resolveLanguage
15
- } from "./chunk-WTUPC4OZ.js";
15
+ } from "./chunk-GQPVTYHJ.js";
16
16
  import "./chunk-3J6FG3FJ.js";
17
17
  import "./chunk-H237JF3H.js";
18
18
  import "./chunk-OMUIPJQZ.js";
19
- import "./chunk-VIREDUBF.js";
20
- import "./chunk-77WVVJA4.js";
19
+ import "./chunk-JIPBJJEG.js";
20
+ import "./chunk-YKYZVEVX.js";
21
21
  import "./chunk-4ZZUMXPX.js";
22
22
  import "./chunk-NF3Q4RJU.js";
23
23
  import "./chunk-LAZZBSN4.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.88.0",
3
+ "version": "0.88.1",
4
4
  "description": "Unified UI component library for Tangle Sandbox — primitives, chat, dashboard, terminal, editor, and workspace components",
5
5
  "repository": {
6
6
  "type": "git",