@tangle-network/sandbox-ui 0.87.1 → 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.
package/dist/chat.js CHANGED
@@ -19,13 +19,13 @@ import {
19
19
  snapHarnessToModel,
20
20
  snapModelToHarness,
21
21
  validateComposerFiles
22
- } from "./chunk-3RIYD2WD.js";
22
+ } from "./chunk-DQEBARZ6.js";
23
23
  import "./chunk-TK46XFLM.js";
24
24
  import {
25
25
  MENTION_PILL_CLASS
26
26
  } from "./chunk-WGOOQAW3.js";
27
27
  import "./chunk-NF3Q4RJU.js";
28
- import "./chunk-EHMD4JJM.js";
28
+ import "./chunk-LAZZBSN4.js";
29
29
  import "./chunk-5XRAKVIV.js";
30
30
  import "./chunk-EI44GEQ5.js";
31
31
  import "./chunk-U67V476Y.js";
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  ModelPicker,
11
11
  stripBrandPrefix
12
- } from "./chunk-EHMD4JJM.js";
12
+ } from "./chunk-LAZZBSN4.js";
13
13
  import {
14
14
  ModelBrandStack,
15
15
  canonicalModelId,
@@ -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";
@@ -113,7 +113,7 @@ function ModelPicker({
113
113
  popular,
114
114
  excludeProviders,
115
115
  modalities,
116
- variant = "field",
116
+ variant = "pill",
117
117
  label = "Model",
118
118
  placeholder = "Choose a model",
119
119
  className,
@@ -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/dashboard.js CHANGED
@@ -79,7 +79,7 @@ import {
79
79
  formatContext,
80
80
  formatPricing,
81
81
  modelDedupKey
82
- } from "./chunk-EHMD4JJM.js";
82
+ } from "./chunk-LAZZBSN4.js";
83
83
  import {
84
84
  ModelBrandStack,
85
85
  canonicalModelId,
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
@@ -91,7 +91,7 @@ import {
91
91
  snapHarnessToModel,
92
92
  snapModelToHarness,
93
93
  validateComposerFiles
94
- } from "./chunk-3RIYD2WD.js";
94
+ } from "./chunk-DQEBARZ6.js";
95
95
  import {
96
96
  TOOL_CATEGORY_ICONS,
97
97
  cn,
@@ -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,
@@ -331,7 +331,7 @@ import {
331
331
  formatContext,
332
332
  formatPricing,
333
333
  modelDedupKey
334
- } from "./chunk-EHMD4JJM.js";
334
+ } from "./chunk-LAZZBSN4.js";
335
335
  import {
336
336
  ModelBrandStack,
337
337
  canonicalModelId,
package/dist/pages.js CHANGED
@@ -24,7 +24,7 @@ import {
24
24
  Switch,
25
25
  Textarea
26
26
  } from "./chunk-4ZZUMXPX.js";
27
- import "./chunk-EHMD4JJM.js";
27
+ import "./chunk-LAZZBSN4.js";
28
28
  import "./chunk-5XRAKVIV.js";
29
29
  import {
30
30
  cn
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,15 +12,15 @@ 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
- import "./chunk-EHMD4JJM.js";
23
+ import "./chunk-LAZZBSN4.js";
24
24
  import "./chunk-5XRAKVIV.js";
25
25
  import "./chunk-EI44GEQ5.js";
26
26
  import "./chunk-U67V476Y.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/sandbox-ui",
3
- "version": "0.87.1",
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",