@tangle-network/sandbox-ui 0.90.0 → 0.90.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.
package/README.md CHANGED
@@ -16,7 +16,7 @@ React component library for [Tangle Sandbox](https://sandbox.tangle.tools) — a
16
16
  npm install @tangle-network/sandbox-ui
17
17
  ```
18
18
 
19
- **Required peers:** `react` and `react-dom` 18 or 19, `@tangle-network/agent-interface ^0.35.0`, `@tangle-network/brand ^1.1.0`, and `@tangle-network/ui ^11.0.0`.
19
+ **Required peers:** `react` and `react-dom` 18 or 19, `@tangle-network/agent-interface ^0.36.0`, `@tangle-network/brand ^1.1.0`, and `@tangle-network/ui ^11.0.0`.
20
20
  Optional peers are required only by the subpaths that use them; see [package.json](./package.json).
21
21
 
22
22
  ## Usage
@@ -385,7 +385,11 @@ function usePtySession({ apiUrl, token, onData, connectionId: providedConnection
385
385
  Authorization: `Bearer ${tokenRef.current}`,
386
386
  "Content-Type": "application/json"
387
387
  },
388
- credentials: "include"
388
+ credentials: "include",
389
+ body: JSON.stringify({
390
+ cols: colsRef.current,
391
+ rows: rowsRef.current
392
+ })
389
393
  });
390
394
  if (!res.ok) {
391
395
  throw new Error(`Failed to create terminal: ${res.status}`);
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-H237JF3H.js";
7
7
  import {
8
8
  TerminalView
9
- } from "./chunk-JIPBJJEG.js";
9
+ } from "./chunk-WYMAC3T3.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-YKYZVEVX.js";
3
+ } from "./chunk-KEYPUGS3.js";
4
4
 
5
5
  // src/terminal/terminal-view.tsx
6
6
  import "@xterm/xterm/css/xterm.css";
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-YKYZVEVX.js";
27
+ } from "./chunk-KEYPUGS3.js";
28
28
  import "./chunk-CZ7CSFO4.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-UF4HGTTM.js";
154
+ } from "./chunk-S6J6JIIP.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-JIPBJJEG.js";
228
+ import "./chunk-WYMAC3T3.js";
229
229
  import {
230
230
  usePtySession
231
- } from "./chunk-YKYZVEVX.js";
231
+ } from "./chunk-KEYPUGS3.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-JIPBJJEG.js";
5
- import "./chunk-YKYZVEVX.js";
4
+ } from "./chunk-WYMAC3T3.js";
5
+ import "./chunk-KEYPUGS3.js";
6
6
  import "./chunk-CZ7CSFO4.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-UF4HGTTM.js";
15
+ } from "./chunk-S6J6JIIP.js";
16
16
  import "./chunk-3J6FG3FJ.js";
17
17
  import "./chunk-H237JF3H.js";
18
18
  import "./chunk-OMUIPJQZ.js";
19
- import "./chunk-JIPBJJEG.js";
20
- import "./chunk-YKYZVEVX.js";
19
+ import "./chunk-WYMAC3T3.js";
20
+ import "./chunk-KEYPUGS3.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.90.0",
3
+ "version": "0.90.2",
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.35.0",
121
+ "@tangle-network/agent-interface": "^0.36.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.4",
190
190
  "@storybook/react-vite": "^10.5.4",
191
191
  "@tailwindcss/postcss": "^4.3.3",
192
- "@tangle-network/agent-interface": "^0.35.0",
192
+ "@tangle-network/agent-interface": "^0.36.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",