@tangle-network/sandbox-ui 0.88.1 → 0.90.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/README.md +2 -1
- package/dist/{WorkflowGraph-YZGPXSDJ.js → WorkflowGraph-GUX7XN7Y.js} +1 -1
- package/dist/assets.js +1 -1
- package/dist/auth.js +1 -1
- package/dist/chat.js +2 -2
- package/dist/{chunk-U67V476Y.js → chunk-CZ7CSFO4.js} +5 -1
- package/dist/{chunk-GQPVTYHJ.js → chunk-UF4HGTTM.js} +1 -1
- package/dist/{chunk-DQEBARZ6.js → chunk-UU77AFEU.js} +2 -3
- package/dist/connectors.js +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/editor.js +1 -1
- package/dist/files.js +1 -1
- package/dist/hooks.js +1 -1
- package/dist/index.js +3 -3
- package/dist/integrations.js +1 -1
- package/dist/markdown.js +1 -1
- package/dist/{mention-editor-6PITHKPR.js → mention-editor-3Q6MYOIU.js} +1 -1
- package/dist/openui.js +1 -1
- package/dist/pages.js +1 -1
- package/dist/primitives.js +1 -1
- package/dist/run.js +1 -1
- package/dist/sdk-hooks.js +1 -1
- package/dist/stores.js +1 -1
- package/dist/terminal.js +1 -1
- package/dist/utils.js +1 -1
- package/dist/workbench.js +2 -2
- package/dist/workflows.js +2 -2
- package/dist/workspace.js +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -16,7 +16,8 @@ React component library for [Tangle Sandbox](https://sandbox.tangle.tools) — a
|
|
|
16
16
|
npm install @tangle-network/sandbox-ui
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
**
|
|
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`.
|
|
20
|
+
Optional peers are required only by the subpaths that use them; see [package.json](./package.json).
|
|
20
21
|
|
|
21
22
|
## Usage
|
|
22
23
|
|
package/dist/assets.js
CHANGED
package/dist/auth.js
CHANGED
package/dist/chat.js
CHANGED
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
snapHarnessToModel,
|
|
20
20
|
snapModelToHarness,
|
|
21
21
|
validateComposerFiles
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-UU77AFEU.js";
|
|
23
23
|
import "./chunk-TK46XFLM.js";
|
|
24
24
|
import {
|
|
25
25
|
MENTION_PILL_CLASS
|
|
@@ -28,7 +28,7 @@ import "./chunk-NF3Q4RJU.js";
|
|
|
28
28
|
import "./chunk-LAZZBSN4.js";
|
|
29
29
|
import "./chunk-5XRAKVIV.js";
|
|
30
30
|
import "./chunk-EI44GEQ5.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-CZ7CSFO4.js";
|
|
32
32
|
export {
|
|
33
33
|
AgentComposer,
|
|
34
34
|
AgentProfilePicker,
|
|
@@ -5,7 +5,11 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
5
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __commonJS = (cb, mod) => function __require() {
|
|
8
|
-
|
|
8
|
+
try {
|
|
9
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
10
|
+
} catch (e) {
|
|
11
|
+
throw mod = 0, e;
|
|
12
|
+
}
|
|
9
13
|
};
|
|
10
14
|
var __export = (target, all) => {
|
|
11
15
|
for (var name in all)
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
__commonJS,
|
|
15
15
|
__export,
|
|
16
16
|
__toESM
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CZ7CSFO4.js";
|
|
18
18
|
|
|
19
19
|
// node_modules/.pnpm/@babel+runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js
|
|
20
20
|
var require_objectWithoutPropertiesLoose = __commonJS({
|
|
@@ -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
|
{
|
|
@@ -1157,7 +1156,7 @@ function imageExtension(file) {
|
|
|
1157
1156
|
const fromName = /\.([a-z0-9]+)$/i.exec(file.name)?.[1];
|
|
1158
1157
|
return fromName?.toLowerCase() ?? "png";
|
|
1159
1158
|
}
|
|
1160
|
-
var MentionEditor = React4.lazy(() => import("./mention-editor-
|
|
1159
|
+
var MentionEditor = React4.lazy(() => import("./mention-editor-3Q6MYOIU.js"));
|
|
1161
1160
|
function AgentComposer({
|
|
1162
1161
|
value,
|
|
1163
1162
|
onChange,
|
package/dist/connectors.js
CHANGED
package/dist/dashboard.js
CHANGED
package/dist/editor.js
CHANGED
package/dist/files.js
CHANGED
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-UU77AFEU.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-UF4HGTTM.js";
|
|
155
155
|
import {
|
|
156
156
|
FileArtifactPane,
|
|
157
157
|
FilePreview,
|
|
@@ -341,7 +341,7 @@ import "./chunk-EI44GEQ5.js";
|
|
|
341
341
|
import {
|
|
342
342
|
OpenUIArtifactRenderer
|
|
343
343
|
} from "./chunk-AZ3AWMTM.js";
|
|
344
|
-
import "./chunk-
|
|
344
|
+
import "./chunk-CZ7CSFO4.js";
|
|
345
345
|
|
|
346
346
|
// src/index.ts
|
|
347
347
|
import { CodeBlock as CodeBlock2 } from "@tangle-network/ui/markdown";
|
package/dist/integrations.js
CHANGED
package/dist/markdown.js
CHANGED
package/dist/openui.js
CHANGED
package/dist/pages.js
CHANGED
package/dist/primitives.js
CHANGED
package/dist/run.js
CHANGED
package/dist/sdk-hooks.js
CHANGED
package/dist/stores.js
CHANGED
package/dist/terminal.js
CHANGED
package/dist/utils.js
CHANGED
package/dist/workbench.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
buildUnifiedPatch,
|
|
13
13
|
computeDiffStats,
|
|
14
14
|
resolveLanguage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UF4HGTTM.js";
|
|
16
16
|
import "./chunk-3J6FG3FJ.js";
|
|
17
17
|
import "./chunk-H237JF3H.js";
|
|
18
18
|
import "./chunk-OMUIPJQZ.js";
|
|
@@ -23,7 +23,7 @@ import "./chunk-NF3Q4RJU.js";
|
|
|
23
23
|
import "./chunk-LAZZBSN4.js";
|
|
24
24
|
import "./chunk-5XRAKVIV.js";
|
|
25
25
|
import "./chunk-EI44GEQ5.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-CZ7CSFO4.js";
|
|
27
27
|
export {
|
|
28
28
|
BRAND_PRISM_THEME,
|
|
29
29
|
CodeSurface,
|
package/dist/workflows.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
modelBrandFor
|
|
7
7
|
} from "./chunk-5XRAKVIV.js";
|
|
8
8
|
import "./chunk-EI44GEQ5.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-CZ7CSFO4.js";
|
|
10
10
|
|
|
11
11
|
// src/workflows/WorkflowGraphLazy.tsx
|
|
12
12
|
import {
|
|
@@ -31,7 +31,7 @@ function retryImport(factory, retries = 2, delayMs = 350) {
|
|
|
31
31
|
function lazyWorkflowGraph() {
|
|
32
32
|
return lazy(
|
|
33
33
|
() => retryImport(
|
|
34
|
-
() => import("./WorkflowGraph-
|
|
34
|
+
() => import("./WorkflowGraph-GUX7XN7Y.js").then((m) => ({ default: m.WorkflowGraph }))
|
|
35
35
|
)
|
|
36
36
|
);
|
|
37
37
|
}
|
package/dist/workspace.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangle-network/sandbox-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.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.35.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",
|
|
@@ -186,10 +186,10 @@
|
|
|
186
186
|
"devDependencies": {
|
|
187
187
|
"@hocuspocus/provider": "^4.4.0",
|
|
188
188
|
"@nanostores/react": "^1.1.0",
|
|
189
|
-
"@storybook/react": "^10.5.
|
|
190
|
-
"@storybook/react-vite": "^10.5.
|
|
189
|
+
"@storybook/react": "^10.5.4",
|
|
190
|
+
"@storybook/react-vite": "^10.5.4",
|
|
191
191
|
"@tailwindcss/postcss": "^4.3.3",
|
|
192
|
-
"@tangle-network/agent-interface": "^0.
|
|
192
|
+
"@tangle-network/agent-interface": "^0.35.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",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"react": "^19.2.8",
|
|
214
214
|
"react-dom": "^19.2.8",
|
|
215
215
|
"react-syntax-highlighter": "^16.1.1",
|
|
216
|
-
"storybook": "^10.5.
|
|
216
|
+
"storybook": "^10.5.4",
|
|
217
217
|
"tailwindcss": "^4.3.3",
|
|
218
218
|
"tailwindcss-animate": "^1.0.7",
|
|
219
219
|
"tsup": "^8.4.0",
|