@tangle-network/sandbox-ui 0.17.0 → 0.19.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.d.ts +118 -0
- package/dist/chat.js +12 -3
- package/dist/{chunk-GPT7VKK6.js → chunk-CP2L6B53.js} +21 -4
- package/dist/chunk-MQ52AYJX.js +445 -0
- package/dist/chunk-N5RYCDLD.js +1187 -0
- package/dist/dashboard.d.ts +1 -1
- package/dist/dashboard.js +1 -1
- package/dist/globals.css +1282 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +12 -4
- package/dist/openui.d.ts +0 -1
- package/dist/pages.d.ts +1 -1
- package/dist/pages.js +1 -1
- package/dist/styles.css +1282 -0
- package/dist/{template-card-Dufxl4hV.d.ts → template-card-gf-InrfN.d.ts} +12 -0
- package/dist/workspace.d.ts +1 -1
- package/dist/workspace.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-27X3DWMO.js +0 -815
- package/dist/chunk-QPAJR74X.js +0 -20
|
@@ -30,7 +30,19 @@ interface ModelInfo {
|
|
|
30
30
|
input_modalities?: string[];
|
|
31
31
|
output_modalities?: string[];
|
|
32
32
|
};
|
|
33
|
+
/** Hosting company or router that serves the request. Defaults to `_provider` / `provider`. */
|
|
34
|
+
hostProvider?: string;
|
|
35
|
+
/** Lab/company that authored the model. Inferred from model id/name when omitted. */
|
|
36
|
+
modelLab?: string;
|
|
37
|
+
/** Optional explicit logo keys when provider/lab ids are not stable. */
|
|
38
|
+
logos?: {
|
|
39
|
+
host?: ModelBrandKey;
|
|
40
|
+
lab?: ModelBrandKey;
|
|
41
|
+
hostUrl?: string;
|
|
42
|
+
labUrl?: string;
|
|
43
|
+
};
|
|
33
44
|
}
|
|
45
|
+
type ModelBrandKey = "ai21" | "alibaba" | "anthropic" | "azure" | "bedrock" | "cartesia" | "cerebras" | "cohere" | "deepseek" | "elevenlabs" | "fal" | "fireworks" | "google" | "groq" | "kuaishou" | "luma" | "meta" | "mistral" | "moonshot" | "openai" | "openrouter" | "perplexity" | "pika" | "replicate" | "runway" | "stability" | "tangle" | "tcloud" | "together" | "vertex" | "xai" | "zai" | "unknown";
|
|
34
46
|
type ModelPickerVariant = "field" | "pill";
|
|
35
47
|
interface ModelPickerProps {
|
|
36
48
|
/** Canonical model id (provider-prefixed, e.g. "openai/gpt-5.4"). */
|
package/dist/workspace.d.ts
CHANGED
|
@@ -378,7 +378,7 @@ interface TaskBoardProps {
|
|
|
378
378
|
* Receives the item, its index, and the default card element.
|
|
379
379
|
* Return a ReactNode that wraps/replaces the default element.
|
|
380
380
|
*
|
|
381
|
-
* If not provided, the default
|
|
381
|
+
* If not provided, the default card is rendered.
|
|
382
382
|
*/
|
|
383
383
|
renderItemWrapper?: (item: TaskBoardItem, index: number, defaultCard: ReactNode) => ReactNode;
|
|
384
384
|
}
|
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.19.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",
|
|
@@ -136,6 +136,7 @@
|
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
"dependencies": {
|
|
139
|
+
"@lobehub/icons-static-svg": "^1.90.0",
|
|
139
140
|
"@radix-ui/react-dropdown-menu": "^2.1.0",
|
|
140
141
|
"@radix-ui/react-select": "^2.1.0",
|
|
141
142
|
"lucide-react": "^0.469.0",
|