@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 +1 -1
- package/dist/{chunk-WTUPC4OZ.js → chunk-GQPVTYHJ.js} +1 -1
- package/dist/{chunk-DQEBARZ6.js → chunk-GZBXDUDN.js} +1 -2
- package/dist/{chunk-VIREDUBF.js → chunk-JIPBJJEG.js} +1 -1
- package/dist/{chunk-77WVVJA4.js → chunk-YKYZVEVX.js} +2 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +4 -4
- package/dist/terminal.js +2 -2
- package/dist/workbench.js +3 -3
- package/package.json +3 -3
package/dist/chat.js
CHANGED
|
@@ -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[
|
|
817
|
+
const reasoningOptions = (harness && HARNESS_REASONING_OPTIONS[harness.value]) ?? reasoning?.options;
|
|
819
818
|
const reasoningNode = reasoning && /* @__PURE__ */ jsx3(
|
|
820
819
|
ReasoningLevelPicker,
|
|
821
820
|
{
|
|
@@ -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
package/dist/index.js
CHANGED
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
snapHarnessToModel,
|
|
92
92
|
snapModelToHarness,
|
|
93
93
|
validateComposerFiles
|
|
94
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
228
|
+
import "./chunk-JIPBJJEG.js";
|
|
229
229
|
import {
|
|
230
230
|
usePtySession
|
|
231
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-YKYZVEVX.js";
|
|
232
232
|
import {
|
|
233
233
|
Avatar,
|
|
234
234
|
AvatarFallback,
|
package/dist/terminal.js
CHANGED
package/dist/workbench.js
CHANGED
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
buildUnifiedPatch,
|
|
13
13
|
computeDiffStats,
|
|
14
14
|
resolveLanguage
|
|
15
|
-
} from "./chunk-
|
|
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-
|
|
20
|
-
import "./chunk-
|
|
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.
|
|
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": "
|
|
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.
|
|
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",
|