@tangle-network/agent-app 0.60.140 → 0.60.142
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/assistant/index.js +10 -10
- package/dist/chat-react/index.js +5 -5
- package/dist/chatgpt-react/index.js +1 -1
- package/dist/{chunk-GE7Y7ODP.js → chunk-AA4FKEQW.js} +2 -2
- package/dist/{chunk-GHOXLL2T.js → chunk-CW6F6GDP.js} +3 -3
- package/dist/{chunk-JTBPQEGM.js → chunk-EGEULRT2.js} +2 -2
- package/dist/{chunk-NTSZGBHZ.js → chunk-ILZQAXJH.js} +2 -2
- package/dist/{chunk-2DJSGH52.js → chunk-MOFLIBQW.js} +3 -3
- package/dist/{chunk-WTHMHOU2.js → chunk-R5K5ML3Q.js} +2 -2
- package/dist/chunk-RASGKEAL.js +40 -0
- package/dist/chunk-RASGKEAL.js.map +1 -0
- package/dist/{chunk-ZBKUJXD7.js → chunk-S5QRYJW5.js} +3 -3
- package/dist/{chunk-T6BAHD5S.js → chunk-XSPUKVHF.js} +3 -3
- package/dist/{chunk-WAMJU3G4.js → chunk-ZEMO7S2G.js} +4 -4
- package/dist/{mention-editor-2WLBHH3A.js → mention-editor-JO2Y6C6S.js} +3 -3
- package/dist/studio-react/index.js +4 -4
- package/dist/web-react/agent-profile-editor.js +5 -5
- package/dist/web-react/index.js +10 -10
- package/dist/web-react/provider-logo.d.ts +7 -6
- package/dist/workspace-export/index.js +129 -43
- package/dist/workspace-export/index.js.map +1 -1
- package/dist/workspace-react/index.js +5 -5
- package/package.json +2 -2
- package/dist/chunk-MLG6XKPV.js +0 -44
- package/dist/chunk-MLG6XKPV.js.map +0 -1
- /package/dist/{chunk-GE7Y7ODP.js.map → chunk-AA4FKEQW.js.map} +0 -0
- /package/dist/{chunk-GHOXLL2T.js.map → chunk-CW6F6GDP.js.map} +0 -0
- /package/dist/{chunk-JTBPQEGM.js.map → chunk-EGEULRT2.js.map} +0 -0
- /package/dist/{chunk-NTSZGBHZ.js.map → chunk-ILZQAXJH.js.map} +0 -0
- /package/dist/{chunk-2DJSGH52.js.map → chunk-MOFLIBQW.js.map} +0 -0
- /package/dist/{chunk-WTHMHOU2.js.map → chunk-R5K5ML3Q.js.map} +0 -0
- /package/dist/{chunk-ZBKUJXD7.js.map → chunk-S5QRYJW5.js.map} +0 -0
- /package/dist/{chunk-T6BAHD5S.js.map → chunk-XSPUKVHF.js.map} +0 -0
- /package/dist/{chunk-WAMJU3G4.js.map → chunk-ZEMO7S2G.js.map} +0 -0
- /package/dist/{mention-editor-2WLBHH3A.js.map → mention-editor-JO2Y6C6S.js.map} +0 -0
package/dist/assistant/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chatToolCallPart
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-EGEULRT2.js";
|
|
4
|
+
import "../chunk-MOFLIBQW.js";
|
|
5
5
|
import "../chunk-3HUFJ5LO.js";
|
|
6
6
|
import "../chunk-FBVLEGEG.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-CW6F6GDP.js";
|
|
8
|
+
import "../chunk-ILZQAXJH.js";
|
|
9
9
|
import "../chunk-E4AY62T2.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-S5QRYJW5.js";
|
|
11
11
|
import "../chunk-Y6PRDUFJ.js";
|
|
12
12
|
import "../chunk-GEYACSFW.js";
|
|
13
13
|
import {
|
|
14
14
|
ChatComposer
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-ZEMO7S2G.js";
|
|
16
16
|
import "../chunk-L7MB2LLM.js";
|
|
17
17
|
import "../chunk-SJWIZT7B.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-XSPUKVHF.js";
|
|
19
|
+
import "../chunk-R5K5ML3Q.js";
|
|
20
20
|
import {
|
|
21
21
|
ModelPicker
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-AA4FKEQW.js";
|
|
23
|
+
import "../chunk-RASGKEAL.js";
|
|
24
24
|
import {
|
|
25
25
|
AsyncView
|
|
26
26
|
} from "../chunk-LSUELMHY.js";
|
package/dist/chat-react/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ComposerModeControls,
|
|
3
3
|
EntryComposer
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-ZEMO7S2G.js";
|
|
5
5
|
import "../chunk-L7MB2LLM.js";
|
|
6
6
|
import "../chunk-SJWIZT7B.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-XSPUKVHF.js";
|
|
8
|
+
import "../chunk-R5K5ML3Q.js";
|
|
9
|
+
import "../chunk-AA4FKEQW.js";
|
|
10
|
+
import "../chunk-RASGKEAL.js";
|
|
11
11
|
import "../chunk-WTC6AOPL.js";
|
|
12
12
|
import "../chunk-WVESWAJJ.js";
|
|
13
13
|
import "../chunk-AMUXRAUO.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProviderLogo
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RASGKEAL.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_RECOMMENDED_MODELS,
|
|
6
6
|
sortModelsByFreshness
|
|
@@ -727,4 +727,4 @@ export {
|
|
|
727
727
|
EffortMeter,
|
|
728
728
|
EffortPicker
|
|
729
729
|
};
|
|
730
|
-
//# sourceMappingURL=chunk-
|
|
730
|
+
//# sourceMappingURL=chunk-AA4FKEQW.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R5K5ML3Q.js";
|
|
4
4
|
import {
|
|
5
5
|
CheckGlyph,
|
|
6
6
|
OVERLAY_SHADOW,
|
|
7
7
|
PopoverSurface
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AA4FKEQW.js";
|
|
9
9
|
|
|
10
10
|
// src/web-react/workspace-switcher.tsx
|
|
11
11
|
import { useCallback, useState } from "react";
|
|
@@ -116,4 +116,4 @@ export {
|
|
|
116
116
|
WorkspaceSwitcher,
|
|
117
117
|
WorkspaceInitial
|
|
118
118
|
};
|
|
119
|
-
//# sourceMappingURL=chunk-
|
|
119
|
+
//# sourceMappingURL=chunk-CW6F6GDP.js.map
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
PopoverSurface,
|
|
28
28
|
usePending,
|
|
29
29
|
usePopover
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AA4FKEQW.js";
|
|
31
31
|
import {
|
|
32
32
|
AsyncView
|
|
33
33
|
} from "./chunk-LSUELMHY.js";
|
|
@@ -6804,4 +6804,4 @@ export {
|
|
|
6804
6804
|
useThinkingSeconds,
|
|
6805
6805
|
ChatMessages
|
|
6806
6806
|
};
|
|
6807
|
-
//# sourceMappingURL=chunk-
|
|
6807
|
+
//# sourceMappingURL=chunk-EGEULRT2.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OVERLAY_SHADOW
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AA4FKEQW.js";
|
|
4
4
|
|
|
5
5
|
// src/web-react/action-dialog.tsx
|
|
6
6
|
import { useEffect } from "react";
|
|
@@ -75,4 +75,4 @@ export {
|
|
|
75
75
|
ActionDialogButton,
|
|
76
76
|
ActionDialog
|
|
77
77
|
};
|
|
78
|
-
//# sourceMappingURL=chunk-
|
|
78
|
+
//# sourceMappingURL=chunk-ILZQAXJH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ActionDialog,
|
|
3
3
|
ActionDialogButton
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ILZQAXJH.js";
|
|
5
5
|
import {
|
|
6
6
|
UNTITLED_SESSION_LABEL,
|
|
7
7
|
mergeSessionPages,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
OVERLAY_SHADOW,
|
|
12
12
|
PopoverSurface,
|
|
13
13
|
usePopover
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AA4FKEQW.js";
|
|
15
15
|
|
|
16
16
|
// src/web-react/session-history.tsx
|
|
17
17
|
import {
|
|
@@ -746,4 +746,4 @@ export {
|
|
|
746
746
|
formatSessionTimestamp,
|
|
747
747
|
SessionHistoryPanel
|
|
748
748
|
};
|
|
749
|
-
//# sourceMappingURL=chunk-
|
|
749
|
+
//# sourceMappingURL=chunk-MOFLIBQW.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopover
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AA4FKEQW.js";
|
|
4
4
|
|
|
5
5
|
// src/web-react/popover-dialog.ts
|
|
6
6
|
import { useEffect, useId } from "react";
|
|
@@ -45,4 +45,4 @@ function usePopoverDialog(open, onOpenChange) {
|
|
|
45
45
|
export {
|
|
46
46
|
usePopoverDialog
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-R5K5ML3Q.js.map
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// src/web-react/provider-logo.tsx
|
|
2
|
+
import { ProviderMark } from "@tangle-network/sandbox-ui/dashboard";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
var ALIASES = {
|
|
5
|
+
moonshot: "moonshotai",
|
|
6
|
+
deepseek_ai: "deepseek",
|
|
7
|
+
"x-ai": "xai",
|
|
8
|
+
"meta-llama": "meta"
|
|
9
|
+
};
|
|
10
|
+
var MONOGRAM = {
|
|
11
|
+
cohere: { bg: "#fae8ff", fg: "#c026d3" },
|
|
12
|
+
groq: { bg: "#fce7f3", fg: "#db2777" },
|
|
13
|
+
cerebras: { bg: "#ccfbf1", fg: "#0d9488" },
|
|
14
|
+
zai: { bg: "#ede9fe", fg: "#7c3aed" },
|
|
15
|
+
"z-ai": { bg: "#ede9fe", fg: "#7c3aed" },
|
|
16
|
+
tuner: { bg: "#dbeafe", fg: "#2563eb" }
|
|
17
|
+
};
|
|
18
|
+
function Monogram({ name, size }) {
|
|
19
|
+
const mono = MONOGRAM[name];
|
|
20
|
+
return /* @__PURE__ */ jsxs("svg", { width: size, height: size, viewBox: "0 0 16 16", role: "img", "aria-label": name || "model", children: [
|
|
21
|
+
/* @__PURE__ */ jsx("rect", { width: "16", height: "16", rx: "4", style: { fill: mono ? mono.bg : "hsl(var(--secondary))" } }),
|
|
22
|
+
/* @__PURE__ */ jsx("text", { x: "8", y: "11.6", textAnchor: "middle", style: { fill: mono ? mono.fg : "hsl(var(--muted-foreground))" }, fontSize: "9", fontWeight: "700", fontFamily: "system-ui, sans-serif", children: (name || "?").charAt(0).toUpperCase() })
|
|
23
|
+
] });
|
|
24
|
+
}
|
|
25
|
+
function ProviderLogo({ provider, size = 16 }) {
|
|
26
|
+
const key = ALIASES[provider ?? ""] ?? provider ?? "";
|
|
27
|
+
return /* @__PURE__ */ jsx(
|
|
28
|
+
ProviderMark,
|
|
29
|
+
{
|
|
30
|
+
provider: key,
|
|
31
|
+
size: size <= 14 ? "xs" : size <= 20 ? "sm" : "md",
|
|
32
|
+
fallback: /* @__PURE__ */ jsx(Monogram, { name: key, size })
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
ProviderLogo
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=chunk-RASGKEAL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/web-react/provider-logo.tsx"],"sourcesContent":["/**\n * Provider and model-maker marks. The marks themselves live in one table,\n * sandbox-ui's `ProviderMark` (the bundled lobehub set: Anthropic, OpenAI,\n * Google, Kling, Runway, ByteDance, Lightricks, …), so chat, Studio and every\n * picker show the same glyph. A provider with no bundled mark falls back to a\n * tinted monogram chip. Aliases (z-ai/zai, moonshot/moonshotai, x-ai/xai)\n * normalize to one entry first.\n */\n\nimport type { ReactNode } from 'react'\nimport { ProviderMark } from '@tangle-network/sandbox-ui/dashboard'\n\nconst ALIASES: Record<string, string> = {\n moonshot: 'moonshotai',\n deepseek_ai: 'deepseek',\n 'x-ai': 'xai',\n 'meta-llama': 'meta',\n}\n\nconst MONOGRAM: Record<string, { bg: string; fg: string }> = {\n cohere: { bg: '#fae8ff', fg: '#c026d3' },\n groq: { bg: '#fce7f3', fg: '#db2777' },\n cerebras: { bg: '#ccfbf1', fg: '#0d9488' },\n zai: { bg: '#ede9fe', fg: '#7c3aed' },\n 'z-ai': { bg: '#ede9fe', fg: '#7c3aed' },\n tuner: { bg: '#dbeafe', fg: '#2563eb' },\n}\n\nexport interface ProviderLogoProps {\n provider?: string\n size?: number\n}\n\nfunction Monogram({ name, size }: { name: string; size: number }) {\n // Unknown providers get a neutral monogram drawn from theme tokens (secondary\n // tile, muted glyph); `style` rather than `fill` so the var() references resolve.\n const mono = MONOGRAM[name]\n return (\n <svg width={size} height={size} viewBox=\"0 0 16 16\" role=\"img\" aria-label={name || 'model'}>\n <rect width=\"16\" height=\"16\" rx=\"4\" style={{ fill: mono ? mono.bg : 'hsl(var(--secondary))' }} />\n <text x=\"8\" y=\"11.6\" textAnchor=\"middle\" style={{ fill: mono ? mono.fg : 'hsl(var(--muted-foreground))' }} fontSize=\"9\" fontWeight=\"700\" fontFamily=\"system-ui, sans-serif\">\n {(name || '?').charAt(0).toUpperCase()}\n </text>\n </svg>\n )\n}\n\n/** The shared brand mark when one is bundled; a tinted monogram otherwise. */\nexport function ProviderLogo({ provider, size = 16 }: ProviderLogoProps): ReactNode {\n const key = ALIASES[provider ?? ''] ?? provider ?? ''\n return (\n <ProviderMark\n provider={key}\n size={size <= 14 ? 'xs' : size <= 20 ? 'sm' : 'md'}\n fallback={<Monogram name={key} size={size} />}\n />\n )\n}\n"],"mappings":";AAUA,SAAS,oBAAoB;AA4BzB,SACE,KADF;AA1BJ,IAAM,UAAkC;AAAA,EACtC,UAAU;AAAA,EACV,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,cAAc;AAChB;AAEA,IAAM,WAAuD;AAAA,EAC3D,QAAQ,EAAE,IAAI,WAAW,IAAI,UAAU;AAAA,EACvC,MAAM,EAAE,IAAI,WAAW,IAAI,UAAU;AAAA,EACrC,UAAU,EAAE,IAAI,WAAW,IAAI,UAAU;AAAA,EACzC,KAAK,EAAE,IAAI,WAAW,IAAI,UAAU;AAAA,EACpC,QAAQ,EAAE,IAAI,WAAW,IAAI,UAAU;AAAA,EACvC,OAAO,EAAE,IAAI,WAAW,IAAI,UAAU;AACxC;AAOA,SAAS,SAAS,EAAE,MAAM,KAAK,GAAmC;AAGhE,QAAM,OAAO,SAAS,IAAI;AAC1B,SACE,qBAAC,SAAI,OAAO,MAAM,QAAQ,MAAM,SAAQ,aAAY,MAAK,OAAM,cAAY,QAAQ,SACjF;AAAA,wBAAC,UAAK,OAAM,MAAK,QAAO,MAAK,IAAG,KAAI,OAAO,EAAE,MAAM,OAAO,KAAK,KAAK,wBAAwB,GAAG;AAAA,IAC/F,oBAAC,UAAK,GAAE,KAAI,GAAE,QAAO,YAAW,UAAS,OAAO,EAAE,MAAM,OAAO,KAAK,KAAK,+BAA+B,GAAG,UAAS,KAAI,YAAW,OAAM,YAAW,yBAChJ,mBAAQ,KAAK,OAAO,CAAC,EAAE,YAAY,GACvC;AAAA,KACF;AAEJ;AAGO,SAAS,aAAa,EAAE,UAAU,OAAO,GAAG,GAAiC;AAClF,QAAM,MAAM,QAAQ,YAAY,EAAE,KAAK,YAAY;AACnD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,UAAU;AAAA,MACV,MAAM,QAAQ,KAAK,OAAO,QAAQ,KAAK,OAAO;AAAA,MAC9C,UAAU,oBAAC,YAAS,MAAM,KAAK,MAAY;AAAA;AAAA,EAC7C;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HarnessPicker,
|
|
3
3
|
filterAcceptedFiles
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XSPUKVHF.js";
|
|
5
5
|
import {
|
|
6
6
|
EffortPicker,
|
|
7
7
|
ModelPicker,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
POPOVER_OPTION_FOCUS,
|
|
10
10
|
PopoverSurface,
|
|
11
11
|
effortLevelsFromIds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AA4FKEQW.js";
|
|
13
13
|
import {
|
|
14
14
|
isModelCompatibleWithHarness,
|
|
15
15
|
snapModelToHarness
|
|
@@ -2210,4 +2210,4 @@ export {
|
|
|
2210
2210
|
AGENT_PROFILE_EDITOR_SECTIONS,
|
|
2211
2211
|
AgentProfileEditor
|
|
2212
2212
|
};
|
|
2213
|
-
//# sourceMappingURL=chunk-
|
|
2213
|
+
//# sourceMappingURL=chunk-S5QRYJW5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverDialog
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R5K5ML3Q.js";
|
|
4
4
|
import {
|
|
5
5
|
CheckGlyph,
|
|
6
6
|
EffortPicker,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
pickerRootClass,
|
|
12
12
|
quietPickerTriggerClass,
|
|
13
13
|
usePopover
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AA4FKEQW.js";
|
|
15
15
|
import {
|
|
16
16
|
snapHarnessToModel,
|
|
17
17
|
snapModelToHarness
|
|
@@ -576,4 +576,4 @@ export {
|
|
|
576
576
|
HarnessPicker,
|
|
577
577
|
AgentSessionControls
|
|
578
578
|
};
|
|
579
|
-
//# sourceMappingURL=chunk-
|
|
579
|
+
//# sourceMappingURL=chunk-XSPUKVHF.js.map
|
|
@@ -10,12 +10,12 @@ import {
|
|
|
10
10
|
filterAcceptedFiles,
|
|
11
11
|
isAcceptedFileType,
|
|
12
12
|
renamePastedImages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XSPUKVHF.js";
|
|
14
14
|
import {
|
|
15
15
|
OVERLAY_SHADOW,
|
|
16
16
|
POPOVER_OPTION_FOCUS,
|
|
17
17
|
PopoverSurface
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AA4FKEQW.js";
|
|
19
19
|
import {
|
|
20
20
|
ATTACHMENT_ACCEPT,
|
|
21
21
|
ATTACHMENT_MAX_COUNT,
|
|
@@ -267,7 +267,7 @@ import {
|
|
|
267
267
|
import { focusFieldWithin } from "@tangle-network/ui/utils";
|
|
268
268
|
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
269
269
|
function createLazyMentionEditor() {
|
|
270
|
-
return lazy2(() => import("./mention-editor-
|
|
270
|
+
return lazy2(() => import("./mention-editor-JO2Y6C6S.js").then((m) => m.loadMentionEditor()));
|
|
271
271
|
}
|
|
272
272
|
var IS_APPLE_PLATFORM = typeof navigator !== "undefined" && /Mac|iPhone|iPad|iPod/i.test(navigator.platform);
|
|
273
273
|
function SendGlyph({ className }) {
|
|
@@ -1552,4 +1552,4 @@ export {
|
|
|
1552
1552
|
ComposerModeControls,
|
|
1553
1553
|
EntryComposer
|
|
1554
1554
|
};
|
|
1555
|
-
//# sourceMappingURL=chunk-
|
|
1555
|
+
//# sourceMappingURL=chunk-ZEMO7S2G.js.map
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
} from "./chunk-L7MB2LLM.js";
|
|
11
11
|
import {
|
|
12
12
|
PopoverSurface
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-AA4FKEQW.js";
|
|
14
|
+
import "./chunk-RASGKEAL.js";
|
|
15
15
|
import "./chunk-AMUXRAUO.js";
|
|
16
16
|
|
|
17
17
|
// src/web-react/mention-editor.tsx
|
|
@@ -538,4 +538,4 @@ export {
|
|
|
538
538
|
loadMentionEditor,
|
|
539
539
|
loadTiptapModules
|
|
540
540
|
};
|
|
541
|
-
//# sourceMappingURL=mention-editor-
|
|
541
|
+
//# sourceMappingURL=mention-editor-JO2Y6C6S.js.map
|
|
@@ -39,8 +39,8 @@ import {
|
|
|
39
39
|
} from "../chunk-6PRQ45QE.js";
|
|
40
40
|
import {
|
|
41
41
|
useInfiniteScroll
|
|
42
|
-
} from "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
} from "../chunk-MOFLIBQW.js";
|
|
43
|
+
import "../chunk-ILZQAXJH.js";
|
|
44
44
|
import "../chunk-SJWIZT7B.js";
|
|
45
45
|
import {
|
|
46
46
|
CheckGlyph,
|
|
@@ -51,10 +51,10 @@ import {
|
|
|
51
51
|
POPOVER_SURFACE_ATTR,
|
|
52
52
|
PopoverSurface,
|
|
53
53
|
usePopover
|
|
54
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-AA4FKEQW.js";
|
|
55
55
|
import {
|
|
56
56
|
ProviderLogo
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-RASGKEAL.js";
|
|
58
58
|
import "../chunk-AMUXRAUO.js";
|
|
59
59
|
|
|
60
60
|
// src/studio-react/use-studio-generations.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AGENT_PROFILE_EDITOR_SECTIONS,
|
|
3
3
|
AgentProfileEditor
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-S5QRYJW5.js";
|
|
5
|
+
import "../chunk-XSPUKVHF.js";
|
|
6
|
+
import "../chunk-R5K5ML3Q.js";
|
|
7
|
+
import "../chunk-AA4FKEQW.js";
|
|
8
|
+
import "../chunk-RASGKEAL.js";
|
|
9
9
|
import "../chunk-WVESWAJJ.js";
|
|
10
10
|
import "../chunk-B7CL7ENS.js";
|
|
11
11
|
import "../chunk-PV33JZKV.js";
|
package/dist/web-react/index.js
CHANGED
|
@@ -138,14 +138,14 @@ import {
|
|
|
138
138
|
withoutRecordGridCreated,
|
|
139
139
|
withoutRecordGridRemoved,
|
|
140
140
|
withoutRecordGridUpdate
|
|
141
|
-
} from "../chunk-
|
|
141
|
+
} from "../chunk-EGEULRT2.js";
|
|
142
142
|
import {
|
|
143
143
|
SessionHistoryPanel,
|
|
144
144
|
formatSessionTimestamp,
|
|
145
145
|
useInfiniteScroll,
|
|
146
146
|
useSessionActions,
|
|
147
147
|
useSessionHistory
|
|
148
|
-
} from "../chunk-
|
|
148
|
+
} from "../chunk-MOFLIBQW.js";
|
|
149
149
|
import {
|
|
150
150
|
MENTION_PILL_CLASS
|
|
151
151
|
} from "../chunk-3HUFJ5LO.js";
|
|
@@ -153,8 +153,8 @@ import "../chunk-FBVLEGEG.js";
|
|
|
153
153
|
import {
|
|
154
154
|
WorkspaceInitial,
|
|
155
155
|
WorkspaceSwitcher
|
|
156
|
-
} from "../chunk-
|
|
157
|
-
import "../chunk-
|
|
156
|
+
} from "../chunk-CW6F6GDP.js";
|
|
157
|
+
import "../chunk-ILZQAXJH.js";
|
|
158
158
|
import {
|
|
159
159
|
tabTerminalConnectionId,
|
|
160
160
|
useSandboxTerminalConnection
|
|
@@ -163,7 +163,7 @@ import {
|
|
|
163
163
|
AGENT_PROFILE_EDITOR_SECTIONS,
|
|
164
164
|
AgentProfileEditor,
|
|
165
165
|
AgentProfileRegistryError
|
|
166
|
-
} from "../chunk-
|
|
166
|
+
} from "../chunk-S5QRYJW5.js";
|
|
167
167
|
import {
|
|
168
168
|
EvidenceLineageTable,
|
|
169
169
|
ExceptionList,
|
|
@@ -192,7 +192,7 @@ import {
|
|
|
192
192
|
preloadWhenIdle,
|
|
193
193
|
useComposerAttachments,
|
|
194
194
|
useDictation
|
|
195
|
-
} from "../chunk-
|
|
195
|
+
} from "../chunk-ZEMO7S2G.js";
|
|
196
196
|
import "../chunk-L7MB2LLM.js";
|
|
197
197
|
import "../chunk-SJWIZT7B.js";
|
|
198
198
|
import {
|
|
@@ -204,8 +204,8 @@ import {
|
|
|
204
204
|
filterAcceptedFiles,
|
|
205
205
|
isAcceptedFileType,
|
|
206
206
|
renamePastedImages
|
|
207
|
-
} from "../chunk-
|
|
208
|
-
import "../chunk-
|
|
207
|
+
} from "../chunk-XSPUKVHF.js";
|
|
208
|
+
import "../chunk-R5K5ML3Q.js";
|
|
209
209
|
import {
|
|
210
210
|
DEFAULT_EFFORT_LEVELS,
|
|
211
211
|
EFFORT_METER_SEGMENTS,
|
|
@@ -223,10 +223,10 @@ import {
|
|
|
223
223
|
reconcileEffortLevels,
|
|
224
224
|
usePending,
|
|
225
225
|
usePopover
|
|
226
|
-
} from "../chunk-
|
|
226
|
+
} from "../chunk-AA4FKEQW.js";
|
|
227
227
|
import {
|
|
228
228
|
ProviderLogo
|
|
229
|
-
} from "../chunk-
|
|
229
|
+
} from "../chunk-RASGKEAL.js";
|
|
230
230
|
import "../chunk-LSUELMHY.js";
|
|
231
231
|
import "../chunk-FQYAJYPW.js";
|
|
232
232
|
import {
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Provider
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
2
|
+
* Provider and model-maker marks. The marks themselves live in one table,
|
|
3
|
+
* sandbox-ui's `ProviderMark` (the bundled lobehub set: Anthropic, OpenAI,
|
|
4
|
+
* Google, Kling, Runway, ByteDance, Lightricks, …), so chat, Studio and every
|
|
5
|
+
* picker show the same glyph. A provider with no bundled mark falls back to a
|
|
6
|
+
* tinted monogram chip. Aliases (z-ai/zai, moonshot/moonshotai, x-ai/xai)
|
|
7
|
+
* normalize to one entry first.
|
|
7
8
|
*/
|
|
8
9
|
import type { ReactNode } from 'react';
|
|
9
10
|
export interface ProviderLogoProps {
|
|
10
11
|
provider?: string;
|
|
11
12
|
size?: number;
|
|
12
13
|
}
|
|
13
|
-
/**
|
|
14
|
+
/** The shared brand mark when one is bundled; a tinted monogram otherwise. */
|
|
14
15
|
export declare function ProviderLogo({ provider, size }: ProviderLogoProps): ReactNode;
|