@tangle-network/sandbox-ui 0.88.0 → 0.89.0

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,7 +19,7 @@ import {
19
19
  snapHarnessToModel,
20
20
  snapModelToHarness,
21
21
  validateComposerFiles
22
- } from "./chunk-DQEBARZ6.js";
22
+ } from "./chunk-GZBXDUDN.js";
23
23
  import "./chunk-TK46XFLM.js";
24
24
  import {
25
25
  MENTION_PILL_CLASS
@@ -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";
@@ -177,7 +177,6 @@ function ReasoningLevelPicker({
177
177
 
178
178
  // src/chat/agent-session-controls.tsx
179
179
  import {
180
- canonicalizeHarness,
181
180
  harnessHonorsEffort,
182
181
  harnessHonorsModel,
183
182
  reasoningEffortsFor
@@ -815,7 +814,7 @@ function AgentSessionControls({
815
814
  }
816
815
  );
817
816
  const modelReasoning = modelReasoningCapability(model?.models, model?.value);
818
- const reasoningOptions = (harness && HARNESS_REASONING_OPTIONS[canonicalizeHarness(harness.value)]) ?? reasoning?.options;
817
+ const reasoningOptions = (harness && HARNESS_REASONING_OPTIONS[harness.value]) ?? reasoning?.options;
819
818
  const reasoningNode = reasoning && /* @__PURE__ */ jsx3(
820
819
  ReasoningLevelPicker,
821
820
  {
@@ -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
@@ -91,7 +91,7 @@ import {
91
91
  snapHarnessToModel,
92
92
  snapModelToHarness,
93
93
  validateComposerFiles
94
- } from "./chunk-DQEBARZ6.js";
94
+ } from "./chunk-GZBXDUDN.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,
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.89.0",
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",
@@ -118,7 +118,7 @@
118
118
  "peerDependencies": {
119
119
  "@hocuspocus/provider": ">=2.15.0 <5.0.0",
120
120
  "@nanostores/react": ">=0.8.4 <2.0.0",
121
- "@tangle-network/agent-interface": ">=0.32.0 <1.0.0",
121
+ "@tangle-network/agent-interface": "^0.34.0",
122
122
  "@tangle-network/brand": "^1.1.0",
123
123
  "@tangle-network/ui": "^11.0.0",
124
124
  "@tanstack/react-query": "^5.0.0",
@@ -189,7 +189,7 @@
189
189
  "@storybook/react": "^10.5.3",
190
190
  "@storybook/react-vite": "^10.5.3",
191
191
  "@tailwindcss/postcss": "^4.3.3",
192
- "@tangle-network/agent-interface": "^0.32.0",
192
+ "@tangle-network/agent-interface": "^0.34.0",
193
193
  "@tangle-network/brand": "^1.1.0",
194
194
  "@tangle-network/ui": "^11.2.0",
195
195
  "@tanstack/react-query": "^5.101.4",