@mcp-b/react-components 0.45.0 → 0.46.1
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/{AgentChat-Bibfj7u1.d.ts → AgentChat-BLmQghkt.d.ts} +2 -2
- package/dist/{CodeBlock-8K1p1BDU.js → CodeBlock-BpooTofO.js} +1 -1
- package/dist/{FileTree-QTP57Qz4.js → FileTree-CAXWXH63.js} +1 -1
- package/dist/{McpConnectorForm-MRm1r59e.d.ts → McpConnectorForm-BETdVBRk.d.ts} +1 -1
- package/dist/{McpPluginCatalog-mbGw8FTu.d.ts → McpPluginCatalog-C6ip9IvL.d.ts} +2 -2
- package/dist/{PromptInput-BRX7FhjH.d.ts → PromptInput-DtJHyp0S.d.ts} +27 -22
- package/dist/{SetupChecklist-CZeToAbu.js → SetupChecklist-DyPZWzK2.js} +2 -2
- package/dist/{ThinkChat-CWMcl79Q.js → ThinkChat-CV0xWmL4.js} +5 -2
- package/dist/{ThinkChatActivity-CgvmTXXB.d.ts → ThinkChatActivity-B3lGVS-6.d.ts} +1 -1
- package/dist/{WorkspaceFileView-DJ8Oxz57.js → WorkspaceFileView-BvDbKM2c.js} +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChat.js +30 -31
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +2 -2
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/ManagerOffice.d.ts +2 -1
- package/dist/components/agents-sdk/ManagerOffice.js +30 -12
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +10 -4
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +9 -5
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +2 -2
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -2
- package/dist/components/agents-sdk/PromptInputCommands.js +81 -3
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +3 -3
- package/dist/components/agents-sdk/ThinkChat.js +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +2 -2
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkFullApp.js +2 -2
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineForm.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +3 -3
- package/dist/components/agents-sdk/ThinkSidepanel.js +26 -13
- package/dist/components/agents-sdk/ThinkThreadPicker.js +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +2 -2
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +1 -1
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +27 -0
- package/dist/components/ai-sdk/ComposerLink.js +111 -0
- package/dist/components/ai-sdk/ConnectedAppCards.js +1 -1
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.js +18 -2
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
- package/dist/components/ai-sdk/PromptInput.js +78 -59
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +31 -0
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +198 -0
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +2 -2
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/foundations/AppIcon.js +1 -1
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/icons.d.ts +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingConfirmationDialog.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.js +1 -1
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.js +1 -1
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +1 -1
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.js +3 -3
- package/dist/{copy-button-BpA7wQva.js → copy-button-D7ySsRRo.js} +1 -1
- package/dist/{icons-DbrksZyY.js → icons-BNEY4gO5.js} +44 -4
- package/dist/{icons-6ZnyZJiR.d.ts → icons-D0Pd2P9v.d.ts} +9 -4
- package/dist/{mcp-server-SD_S-IpB.js → mcp-server-7NR24ASj.js} +31 -4
- package/dist/{mcp-server-catalog-CCj2ItkV.d.ts → mcp-server-catalog-Cbu483Zb.d.ts} +9 -9
- package/dist/{provider-logos-zjZycgV6.js → provider-logos-DWYY8wNz.js} +31 -6
- package/dist/styles/action-guide.css +4 -0
- package/dist/styles/agent-attention.css +5 -1
- package/dist/styles/agent-chat.css +21 -18
- package/dist/styles/app-icon.css +21 -0
- package/dist/styles/brand-marks.css +22 -0
- package/dist/styles/composer-link.css +99 -0
- package/dist/styles/connected-app-card.css +9 -0
- package/dist/styles/github-motion-mark.css +8 -1
- package/dist/styles/index.css +2 -0
- package/dist/styles/manager-office.css +10 -3
- package/dist/styles/mcp-plugin-catalog.css +4 -0
- package/dist/styles/mcp-server-picker.css +2 -0
- package/dist/styles/prompt-input.css +14 -53
- package/dist/styles/think-sidepanel.css +9 -0
- package/dist/utils/composer-link.d.ts +59 -0
- package/dist/utils/composer-link.js +203 -0
- package/dist/utils/mcp-server-catalog.d.ts +1 -1
- package/dist/utils/mcp-server-catalog.js +9 -9
- package/package.json +2 -2
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
import { parseComposerHref, sampleImageAccent, splitComposerDraft } from "../../utils/composer-link.js";
|
|
2
|
+
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
+
import { n as clamp } from "../../format-COCyV98Z.js";
|
|
4
|
+
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
5
|
+
import { composerLinkAccent, composerLinkIconSrc, composerLinkUsesCube } from "./ComposerLink.js";
|
|
6
|
+
import * as React from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
//#region src/components/ai-sdk/PromptInputComposerEditor.tsx
|
|
9
|
+
const MIN_COMPOSER_HEIGHT_PX = 24;
|
|
10
|
+
const MAX_COMPOSER_HEIGHT_PX = 240;
|
|
11
|
+
function appendPlainText(parent, text) {
|
|
12
|
+
text.split("\n").forEach((line, index) => {
|
|
13
|
+
if (index > 0) parent.append(document.createElement("br"));
|
|
14
|
+
if (line) parent.append(document.createTextNode(line));
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function createComposerLinkElement(parts, label) {
|
|
18
|
+
const link = document.createElement("a");
|
|
19
|
+
link.className = "composer-link";
|
|
20
|
+
link.href = parts.href;
|
|
21
|
+
link.contentEditable = "false";
|
|
22
|
+
link.draggable = false;
|
|
23
|
+
link.tabIndex = -1;
|
|
24
|
+
link.dataset.composerLink = parts.kind;
|
|
25
|
+
link.rel = "nofollow";
|
|
26
|
+
link.addEventListener("click", (event) => event.preventDefault());
|
|
27
|
+
const accent = composerLinkAccent(parts);
|
|
28
|
+
if (accent) link.style.setProperty("--composer-link-color", accent);
|
|
29
|
+
const src = composerLinkIconSrc(parts);
|
|
30
|
+
if (src) {
|
|
31
|
+
const image = document.createElement("img");
|
|
32
|
+
image.alt = "";
|
|
33
|
+
image.setAttribute("aria-hidden", "true");
|
|
34
|
+
image.className = "composer-link__icon";
|
|
35
|
+
image.decoding = "async";
|
|
36
|
+
image.draggable = false;
|
|
37
|
+
image.referrerPolicy = "no-referrer";
|
|
38
|
+
image.src = src;
|
|
39
|
+
if (!accent) {
|
|
40
|
+
const applySample = () => {
|
|
41
|
+
const sampled = sampleImageAccent(image);
|
|
42
|
+
if (sampled) link.style.setProperty("--composer-link-color", sampled);
|
|
43
|
+
};
|
|
44
|
+
if (image.complete) applySample();
|
|
45
|
+
else image.addEventListener("load", applySample, { once: true });
|
|
46
|
+
}
|
|
47
|
+
link.append(image);
|
|
48
|
+
} else if (composerLinkUsesCube(parts)) {
|
|
49
|
+
const icon = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
50
|
+
icon.setAttribute("viewBox", "0 0 24 24");
|
|
51
|
+
icon.setAttribute("fill", "none");
|
|
52
|
+
icon.setAttribute("stroke", "currentColor");
|
|
53
|
+
icon.setAttribute("stroke-width", "1.75");
|
|
54
|
+
icon.setAttribute("stroke-linecap", "round");
|
|
55
|
+
icon.setAttribute("stroke-linejoin", "round");
|
|
56
|
+
icon.setAttribute("aria-hidden", "true");
|
|
57
|
+
icon.setAttribute("focusable", "false");
|
|
58
|
+
icon.classList.add("composer-link__icon");
|
|
59
|
+
for (const d of [
|
|
60
|
+
"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",
|
|
61
|
+
"m3.3 7 8.7 5 8.7-5",
|
|
62
|
+
"M12 22V12"
|
|
63
|
+
]) {
|
|
64
|
+
const path = document.createElementNS("http://www.w3.org/2000/svg", "path");
|
|
65
|
+
path.setAttribute("d", d);
|
|
66
|
+
icon.append(path);
|
|
67
|
+
}
|
|
68
|
+
link.append(icon);
|
|
69
|
+
}
|
|
70
|
+
const text = document.createElement("span");
|
|
71
|
+
text.className = "composer-link__label";
|
|
72
|
+
text.textContent = label;
|
|
73
|
+
link.append(text);
|
|
74
|
+
return link;
|
|
75
|
+
}
|
|
76
|
+
function writeComposerDom(element, markdown) {
|
|
77
|
+
element.replaceChildren();
|
|
78
|
+
for (const segment of splitComposerDraft(markdown)) if (segment.type === "text") appendPlainText(element, segment.value);
|
|
79
|
+
else element.append(createComposerLinkElement(segment.parts, segment.label));
|
|
80
|
+
}
|
|
81
|
+
function readComposerDom(element) {
|
|
82
|
+
let markdown = "";
|
|
83
|
+
const walk = (node) => {
|
|
84
|
+
if (node.nodeType === Node.TEXT_NODE) {
|
|
85
|
+
markdown += node.textContent ?? "";
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
if (node instanceof HTMLBRElement) {
|
|
89
|
+
markdown += "\n";
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
if (node instanceof HTMLAnchorElement && node.classList.contains("composer-link")) {
|
|
93
|
+
const href = node.getAttribute("href") ?? "";
|
|
94
|
+
const label = node.querySelector(".composer-link__label")?.textContent ?? node.textContent ?? "";
|
|
95
|
+
const parsed = parseComposerHref(href);
|
|
96
|
+
markdown += `[${label}](${parsed?.href ?? href})`;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (node instanceof HTMLElement && node !== element && node.tagName === "DIV") {
|
|
100
|
+
if (markdown && !markdown.endsWith("\n")) markdown += "\n";
|
|
101
|
+
}
|
|
102
|
+
node.childNodes.forEach(walk);
|
|
103
|
+
};
|
|
104
|
+
walk(element);
|
|
105
|
+
return markdown;
|
|
106
|
+
}
|
|
107
|
+
function placeCaretAtEnd(element) {
|
|
108
|
+
const selection = window.getSelection();
|
|
109
|
+
if (!selection) return;
|
|
110
|
+
const range = document.createRange();
|
|
111
|
+
range.selectNodeContents(element);
|
|
112
|
+
range.collapse(false);
|
|
113
|
+
selection.removeAllRanges();
|
|
114
|
+
selection.addRange(range);
|
|
115
|
+
}
|
|
116
|
+
function PromptInputComposerEditor({ className, placeholder = "How can I help?", minHeight = MIN_COMPOSER_HEIGHT_PX, maxHeight = MAX_COMPOSER_HEIGHT_PX, draft, onDraftChange, onKeyDown, onPaste, disabled, ref, ...props }) {
|
|
117
|
+
const innerRef = React.useRef(null);
|
|
118
|
+
const lastWritten = React.useRef(null);
|
|
119
|
+
const isComposingRef = React.useRef(false);
|
|
120
|
+
const resize = React.useCallback(() => {
|
|
121
|
+
const el = innerRef.current;
|
|
122
|
+
if (!el) return;
|
|
123
|
+
el.style.height = "auto";
|
|
124
|
+
const next = clamp(el.scrollHeight, minHeight, maxHeight);
|
|
125
|
+
el.style.height = `${next}px`;
|
|
126
|
+
el.style.overflowY = el.scrollHeight > maxHeight ? "auto" : "hidden";
|
|
127
|
+
}, [maxHeight, minHeight]);
|
|
128
|
+
React.useLayoutEffect(() => {
|
|
129
|
+
const el = innerRef.current;
|
|
130
|
+
if (!el) return;
|
|
131
|
+
Object.defineProperty(el, "value", {
|
|
132
|
+
configurable: true,
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: () => lastWritten.current ?? "",
|
|
135
|
+
set: () => void 0
|
|
136
|
+
});
|
|
137
|
+
}, []);
|
|
138
|
+
React.useLayoutEffect(() => {
|
|
139
|
+
const el = innerRef.current;
|
|
140
|
+
if (!el) return;
|
|
141
|
+
if (lastWritten.current === draft && (el.childNodes.length > 0 || draft === "")) {
|
|
142
|
+
if (draft === "" && el.childNodes.length > 0) writeComposerDom(el, draft);
|
|
143
|
+
resize();
|
|
144
|
+
return;
|
|
145
|
+
}
|
|
146
|
+
writeComposerDom(el, draft);
|
|
147
|
+
lastWritten.current = draft;
|
|
148
|
+
if (document.activeElement === el) placeCaretAtEnd(el);
|
|
149
|
+
resize();
|
|
150
|
+
}, [resize, draft]);
|
|
151
|
+
return /* @__PURE__ */ jsx("div", {
|
|
152
|
+
...props,
|
|
153
|
+
ref: mergeRefs(innerRef, ref),
|
|
154
|
+
role: "textbox",
|
|
155
|
+
contentEditable: disabled ? false : true,
|
|
156
|
+
suppressContentEditableWarning: true,
|
|
157
|
+
"aria-disabled": disabled || void 0,
|
|
158
|
+
"aria-label": props["aria-label"] ?? "Message",
|
|
159
|
+
"aria-multiline": "true",
|
|
160
|
+
"aria-placeholder": placeholder,
|
|
161
|
+
"data-prompt-input-textarea": "true",
|
|
162
|
+
"data-placeholder": placeholder,
|
|
163
|
+
"data-empty": draft.trim() ? void 0 : "",
|
|
164
|
+
className: cx("prompt-input__textarea", className),
|
|
165
|
+
style: {
|
|
166
|
+
minHeight,
|
|
167
|
+
maxHeight,
|
|
168
|
+
...props.style
|
|
169
|
+
},
|
|
170
|
+
onCompositionStart: (event) => {
|
|
171
|
+
isComposingRef.current = true;
|
|
172
|
+
props.onCompositionStart?.(event);
|
|
173
|
+
},
|
|
174
|
+
onCompositionEnd: (event) => {
|
|
175
|
+
isComposingRef.current = false;
|
|
176
|
+
props.onCompositionEnd?.(event);
|
|
177
|
+
},
|
|
178
|
+
onInput: () => {
|
|
179
|
+
const el = innerRef.current;
|
|
180
|
+
if (!el) return;
|
|
181
|
+
const next = readComposerDom(el);
|
|
182
|
+
lastWritten.current = next;
|
|
183
|
+
onDraftChange(next);
|
|
184
|
+
resize();
|
|
185
|
+
},
|
|
186
|
+
onKeyDown: (event) => {
|
|
187
|
+
onKeyDown?.(event);
|
|
188
|
+
if (event.defaultPrevented) return;
|
|
189
|
+
if (event.key === "Enter" && !event.shiftKey && !isComposingRef.current && !event.nativeEvent.isComposing) {
|
|
190
|
+
event.preventDefault();
|
|
191
|
+
event.currentTarget.closest("form")?.requestSubmit();
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
onPaste
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
//#endregion
|
|
198
|
+
export { PromptInputComposerEditor, readComposerDom, writeComposerDom };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-
|
|
3
|
+
import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-BNEY4gO5.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
6
6
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { q as SpinnerIcon } from "../../icons-
|
|
2
|
+
import { q as SpinnerIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
|
|
4
4
|
import { MessageResponse } from "./Message.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-
|
|
3
|
+
import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-BNEY4gO5.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Sources.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import { S as FileIcon, W as SearchIcon, p as ChevronRightIcon } from "../../icons-
|
|
3
|
+
import { S as FileIcon, W as SearchIcon, p as ChevronRightIcon } from "../../icons-BNEY4gO5.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Task.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { q as SpinnerIcon } from "../../icons-
|
|
2
|
+
import { q as SpinnerIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { t as ProviderLogo } from "../../provider-logos-
|
|
4
|
+
import { t as ProviderLogo } from "../../provider-logos-DWYY8wNz.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/extension/ChatGptSignInScreen.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { U as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-
|
|
2
|
+
import { U as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
5
|
import { c as titleCase } from "../../format-COCyV98Z.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { et as WarningIcon } from "../../icons-
|
|
1
|
+
import { et as WarningIcon } from "../../icons-BNEY4gO5.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { Menu } from "../foundations/Menu.js";
|
|
4
4
|
import { a as formatErrorMessage } from "../../format-COCyV98Z.js";
|
|
@@ -18,7 +18,7 @@ function AppIconRoot({ className, size = "md", variant = "artwork", ref, ...prop
|
|
|
18
18
|
function AppIconImage({ className, decoding = "async", loading = "lazy", ref, referrerPolicy = "no-referrer", ...props }) {
|
|
19
19
|
return /* @__PURE__ */ jsx(Avatar.Image, {
|
|
20
20
|
ref,
|
|
21
|
-
className: mergeBaseClassName("app-icon__image", className),
|
|
21
|
+
className: mergeBaseClassName("app-icon__image sigvelo-brand-mark sigvelo-brand-mark--colorful", className),
|
|
22
22
|
decoding,
|
|
23
23
|
loading,
|
|
24
24
|
referrerPolicy,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { d as CheckIcon } from "../../icons-
|
|
2
|
+
import { d as CheckIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
5
5
|
//#region src/components/foundations/Checkbox.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { W as SearchIcon } from "../../icons-
|
|
2
|
+
import { W as SearchIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Field } from "./Field.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/foundations/SearchField.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { d as CheckIcon, q as SpinnerIcon } from "../../icons-
|
|
2
|
+
import { d as CheckIcon, q as SpinnerIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Tabs } from "./Tabs.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { nt as XIcon } from "../../icons-
|
|
2
|
+
import { nt as XIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as ToggleVariantsOptions } from "../../Toggle-DLrIf5YH.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { Toggle } from "@base-ui/react/toggle";
|
|
4
3
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
4
|
+
import { Toggle } from "@base-ui/react/toggle";
|
|
5
5
|
|
|
6
6
|
//#region src/components/foundations/ToggleGroup.d.ts
|
|
7
7
|
type ToggleGroupSize = ToggleVariantsOptions["size"];
|
|
@@ -3,8 +3,8 @@ import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
|
3
3
|
import { toggleVariants } from "./Toggle.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { Toggle } from "@base-ui/react/toggle";
|
|
7
6
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
7
|
+
import { Toggle } from "@base-ui/react/toggle";
|
|
8
8
|
//#region src/components/foundations/ToggleGroup.tsx
|
|
9
9
|
/**
|
|
10
10
|
* Tracks the pressed item's box so the segmented thumb can slide to it instead
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TargetIcon, A as MailIcon, B as PauseIcon, C as FileIcon, D as InfoIcon, E as IconProps, F as MinusIcon, G as RefreshIcon, H as PlayIcon, I as MonitorIcon, J as SlackIcon, K as SearchIcon, L as MoonIcon, M as McpIcon, N as MessageSquareIcon, O as KeyboardIcon, P as MicrophoneIcon, Q as SunIcon, R as MoveToFrontIcon, S as EyeOffIcon, T as FolderOpenIcon, U as PlusIcon, V as PencilIcon, W as QueueIcon, X as SquareIcon, Y as SpinnerIcon, Z as StopIcon, _ as DiscordIcon, a as ArrowUpIcon, b as EllipsisIcon, c as BoxIcon, d as CalendarIcon, et as TerminalIcon, f as CheckIcon, g as CopyIcon, h as CodeIcon, i as ArrowRightIcon, it as XIcon, j as MaximizeIcon, k as LinkIcon, l as BrainIcon, m as ChevronRightIcon, n as ArrowDownIcon, nt as WarningIcon, o as ArrowUpRightIcon, p as ChevronDownIcon, q as SidebarIcon, r as ArrowLeftIcon, rt as WrenchIcon, s as BookmarkIcon, t as ArchiveIcon, tt as TrashIcon, u as BrandIconProps, v as DotIcon, w as FolderIcon, x as EyeIcon, y as DownloadIcon, z as PaperclipIcon } from "../../icons-
|
|
1
|
+
import { $ as TargetIcon, A as MailIcon, B as PauseIcon, C as FileIcon, D as InfoIcon, E as IconProps, F as MinusIcon, G as RefreshIcon, H as PlayIcon, I as MonitorIcon, J as SlackIcon, K as SearchIcon, L as MoonIcon, M as McpIcon, N as MessageSquareIcon, O as KeyboardIcon, P as MicrophoneIcon, Q as SunIcon, R as MoveToFrontIcon, S as EyeOffIcon, T as FolderOpenIcon, U as PlusIcon, V as PencilIcon, W as QueueIcon, X as SquareIcon, Y as SpinnerIcon, Z as StopIcon, _ as DiscordIcon, a as ArrowUpIcon, b as EllipsisIcon, c as BoxIcon, d as CalendarIcon, et as TerminalIcon, f as CheckIcon, g as CopyIcon, h as CodeIcon, i as ArrowRightIcon, it as XIcon, j as MaximizeIcon, k as LinkIcon, l as BrainIcon, m as ChevronRightIcon, n as ArrowDownIcon, nt as WarningIcon, o as ArrowUpRightIcon, p as ChevronDownIcon, q as SidebarIcon, r as ArrowLeftIcon, rt as WrenchIcon, s as BookmarkIcon, t as ArchiveIcon, tt as TrashIcon, u as BrandIconProps, v as DotIcon, w as FolderIcon, x as EyeIcon, y as DownloadIcon, z as PaperclipIcon } from "../../icons-D0Pd2P9v.js";
|
|
2
2
|
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, BrandIconProps, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, IconProps, InfoIcon, KeyboardIcon, LinkIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, MoveToFrontIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as TrashIcon, A as McpIcon, B as PlayIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SidebarIcon, H as QueueIcon, I as MoveToFrontIcon, J as SquareIcon, K as SlackIcon, L as PaperclipIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TerminalIcon, R as PauseIcon, S as FileIcon, T as InfoIcon, U as RefreshIcon, V as PlusIcon, W as SearchIcon, X as SunIcon, Y as StopIcon, Z as TargetIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SpinnerIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PencilIcon } from "../../icons-
|
|
1
|
+
import { $ as TrashIcon, A as McpIcon, B as PlayIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SidebarIcon, H as QueueIcon, I as MoveToFrontIcon, J as SquareIcon, K as SlackIcon, L as PaperclipIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TerminalIcon, R as PauseIcon, S as FileIcon, T as InfoIcon, U as RefreshIcon, V as PlusIcon, W as SearchIcon, X as SunIcon, Y as StopIcon, Z as TargetIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SpinnerIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PencilIcon } from "../../icons-BNEY4gO5.js";
|
|
2
2
|
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LinkIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, MoveToFrontIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import { S as FileIcon, p as ChevronRightIcon } from "../../icons-
|
|
4
|
-
import { t as CopyButton } from "../../copy-button-BpA7wQva.js";
|
|
3
|
+
import { S as FileIcon, p as ChevronRightIcon } from "../../icons-BNEY4gO5.js";
|
|
5
4
|
import { Avatar } from "../foundations/Avatar.js";
|
|
5
|
+
import { t as CopyButton } from "../../copy-button-D7ySsRRo.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/general-purpose/Commit.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { b as EyeIcon, x as EyeOffIcon } from "../../icons-
|
|
3
|
-
import { t as CopyButton } from "../../copy-button-
|
|
2
|
+
import { b as EyeIcon, x as EyeOffIcon } from "../../icons-BNEY4gO5.js";
|
|
3
|
+
import { t as CopyButton } from "../../copy-button-D7ySsRRo.js";
|
|
4
4
|
import { Switch } from "../foundations/Switch.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-
|
|
1
|
+
import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-CAXWXH63.js";
|
|
2
2
|
export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button } from "../foundations/Button.js";
|
|
2
|
-
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
3
2
|
import { getPlanPrice, getPlanYearlySavings } from "./Pricing.js";
|
|
3
|
+
import { AlertDialog } from "../foundations/AlertDialog.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/general-purpose/PricingConfirmationDialog.tsx
|
|
6
6
|
function getActionLabel(action) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { Card } from "../foundations/Card.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Card } from "../foundations/Card.js";
|
|
3
3
|
import { Separator } from "../foundations/Separator.js";
|
|
4
|
+
import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
|
|
4
5
|
import { Progress } from "../foundations/Progress.js";
|
|
5
6
|
import { Slider } from "../foundations/Slider.js";
|
|
6
|
-
import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/general-purpose/PricingUsageCalculator.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { G as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-
|
|
2
|
+
import { G as SidebarIcon, et as WarningIcon, f as ChevronDownIcon, r as ArrowLeftIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as capitalize } from "../../format-COCyV98Z.js";
|
|
5
5
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-
|
|
1
|
+
import { n as SetupChecklistGroup, t as SetupChecklistAction } from "../../SetupChecklist-DyPZWzK2.js";
|
|
2
2
|
export { SetupChecklistAction, SetupChecklistGroup };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { Q as TerminalIcon, nt as XIcon } from "../../icons-
|
|
2
|
+
import { Q as TerminalIcon, nt as XIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { IconButton } from "../foundations/IconButton.js";
|
|
4
|
-
import { t as CopyButton } from "../../copy-button-
|
|
4
|
+
import { t as CopyButton } from "../../copy-button-D7ySsRRo.js";
|
|
5
5
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import { d as CheckIcon, nt as XIcon, p as ChevronRightIcon, q as SpinnerIcon } from "../../icons-
|
|
3
|
+
import { d as CheckIcon, nt as XIcon, p as ChevronRightIcon, q as SpinnerIcon } from "../../icons-BNEY4gO5.js";
|
|
4
4
|
import { Progress } from "../foundations/Progress.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as MoonIcon, P as MonitorIcon, X as SunIcon } from "../../icons-
|
|
1
|
+
import { F as MoonIcon, P as MonitorIcon, X as SunIcon } from "../../icons-BNEY4gO5.js";
|
|
2
2
|
import { Radio, RadioGroup } from "../foundations/RadioGroup.js";
|
|
3
3
|
import { useTheme } from "../foundations/ThemeProvider.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import { U as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-
|
|
3
|
+
import { U as RefreshIcon, f as ChevronDownIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-BNEY4gO5.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
5
|
import { Input } from "../foundations/Input.js";
|
|
6
6
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { D as LinkIcon } from "../../icons-
|
|
2
|
+
import { D as LinkIcon } from "../../icons-BNEY4gO5.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
|
-
import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-
|
|
4
|
+
import { a as CodeBlockCopyButton, i as CodeBlockContent, n as CodeBlockActions, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock } from "../../CodeBlock-BpooTofO.js";
|
|
5
5
|
import { Popover } from "../foundations/Popover.js";
|
|
6
6
|
import { ToggleGroup } from "../foundations/ToggleGroup.js";
|
|
7
7
|
import * as React from "react";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { r as ArrowLeftIcon } from "../../icons-
|
|
3
|
-
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
2
|
+
import { r as ArrowLeftIcon } from "../../icons-BNEY4gO5.js";
|
|
4
3
|
import { AppTopBar } from "../general-purpose/AppTopBar.js";
|
|
5
4
|
import { NaniteMark } from "./NaniteScene.js";
|
|
6
5
|
import { SubagentRunIndicator, getSubagentRunName } from "../agents-sdk/SubagentRunIndicator.js";
|
|
7
6
|
import { SubagentRunMilestone, SubagentRunMilestones, SubagentRunProgress } from "../agents-sdk/SubagentRunDetails.js";
|
|
8
|
-
import {
|
|
7
|
+
import { TransitionSurface } from "../foundations/TransitionSurface.js";
|
|
8
|
+
import { t as ThinkChat } from "../../ThinkChat-CV0xWmL4.js";
|
|
9
9
|
import * as React from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { useAgentChat } from "@cloudflare/think/react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as CheckIcon, h as CopyIcon } from "./icons-
|
|
1
|
+
import { d as CheckIcon, h as CopyIcon } from "./icons-BNEY4gO5.js";
|
|
2
2
|
import { IconButton } from "./components/foundations/IconButton.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "./class-names-BiMDVpUo.js";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpRight, Bookmark, Box, Brain, CalendarDays, Check, ChevronDown, ChevronRight, CircleStop, CodeXml, Copy, CornerDownRight, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Info, Keyboard, Link2, ListRestart, LoaderCircle, Mail, Maximize2, MessageSquare, Mic, Minus, Monitor, Moon, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Square, Sun, Target, Terminal, Trash2, TriangleAlert, Wrench, X } from "lucide-react";
|
|
4
|
-
import { FaSlack } from "react-icons/fa6";
|
|
5
4
|
import { SiDiscord, SiModelcontextprotocol } from "react-icons/si";
|
|
6
5
|
//#region src/components/_internal/icons.tsx
|
|
7
6
|
function icon(Component) {
|
|
@@ -84,8 +83,49 @@ const MonitorIcon = icon(Monitor);
|
|
|
84
83
|
const MessageSquareIcon = icon(MessageSquare);
|
|
85
84
|
const MailIcon = icon(Mail);
|
|
86
85
|
const McpIcon = brandIcon(SiModelcontextprotocol);
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
/** Discord Blurple. Callers override with `color` or a `className` that sets color. */
|
|
87
|
+
function DiscordIcon({ size = 16, color = "#5865F2", className, ...props }) {
|
|
88
|
+
return /* @__PURE__ */ jsx(SiDiscord, {
|
|
89
|
+
size,
|
|
90
|
+
color,
|
|
91
|
+
"aria-hidden": "true",
|
|
92
|
+
focusable: "false",
|
|
93
|
+
className: cx("sigvelo-brand-mark", "sigvelo-brand-mark--discord", className),
|
|
94
|
+
...props
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/** Four-color Slack hash. Official fills live on the paths, not currentColor. */
|
|
98
|
+
function SlackIcon({ size = 16, className, ...props }) {
|
|
99
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
100
|
+
width: size,
|
|
101
|
+
height: size,
|
|
102
|
+
viewBox: "0 0 200 200",
|
|
103
|
+
fill: "none",
|
|
104
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
105
|
+
"aria-hidden": "true",
|
|
106
|
+
focusable: "false",
|
|
107
|
+
className: cx("sigvelo-brand-mark", "sigvelo-brand-mark--colorful", className),
|
|
108
|
+
...props,
|
|
109
|
+
children: [
|
|
110
|
+
/* @__PURE__ */ jsx("path", {
|
|
111
|
+
d: "M53.0056 121.477C53.0056 130.921 45.3784 138.555 35.9413 138.555C26.5042 138.555 18.877 130.921 18.877 121.477C18.877 112.032 26.5042 104.398 35.9413 104.398H53.0056V121.477ZM61.5378 121.477C61.5378 112.032 69.165 104.398 78.6021 104.398C88.0392 104.398 95.6664 112.032 95.6664 121.477V164.172C95.6664 173.617 88.0392 181.25 78.6021 181.25C69.165 181.25 61.5378 173.617 61.5378 164.172V121.477Z",
|
|
112
|
+
fill: "#E01E5A"
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ jsx("path", {
|
|
115
|
+
d: "M78.6044 52.9062C69.1673 52.9062 61.5401 45.2728 61.5401 35.8281C61.5401 26.3834 69.1673 18.75 78.6044 18.75C88.0415 18.75 95.6688 26.3834 95.6688 35.8281V52.9062H78.6044ZM78.6044 61.5747C88.0415 61.5747 95.6688 69.2081 95.6688 78.6528C95.6688 88.0975 88.0415 95.7309 78.6044 95.7309H35.8143C26.3772 95.7309 18.75 88.0975 18.75 78.6528C18.75 69.2081 26.3772 61.5747 35.8143 61.5747H78.6044Z",
|
|
116
|
+
fill: "#36C5F0"
|
|
117
|
+
}),
|
|
118
|
+
/* @__PURE__ */ jsx("path", {
|
|
119
|
+
d: "M146.991 78.6528C146.991 69.2081 154.618 61.5747 164.055 61.5747C173.492 61.5747 181.12 69.2081 181.12 78.6528C181.12 88.0975 173.492 95.7309 164.055 95.7309H146.991V78.6528ZM138.459 78.6528C138.459 88.0975 130.831 95.7309 121.394 95.7309C111.957 95.7309 104.33 88.0975 104.33 78.6528V35.8281C104.33 26.3834 111.957 18.75 121.394 18.75C130.831 18.75 138.459 26.3834 138.459 35.8281V78.6528Z",
|
|
120
|
+
fill: "#2EB67D"
|
|
121
|
+
}),
|
|
122
|
+
/* @__PURE__ */ jsx("path", {
|
|
123
|
+
d: "M121.394 147.094C130.831 147.094 138.459 154.727 138.459 164.172C138.459 173.617 130.831 181.25 121.394 181.25C111.957 181.25 104.33 173.617 104.33 164.172V147.094H121.394ZM121.394 138.555C111.957 138.555 104.33 130.921 104.33 121.477C104.33 112.032 111.957 104.398 121.394 104.398H164.184C173.622 104.398 181.249 112.032 181.249 121.477C181.249 130.921 173.622 138.555 164.184 138.555H121.394Z",
|
|
124
|
+
fill: "#ECB22E"
|
|
125
|
+
})
|
|
126
|
+
]
|
|
127
|
+
});
|
|
128
|
+
}
|
|
89
129
|
const MoonIcon = icon(Moon);
|
|
90
130
|
const SunIcon = icon(Sun);
|
|
91
131
|
const TargetIcon = icon(Target);
|
|
@@ -262,14 +262,19 @@ declare const McpIcon: ({
|
|
|
262
262
|
size,
|
|
263
263
|
...props
|
|
264
264
|
}: BrandIconProps) => import("react").JSX.Element;
|
|
265
|
-
|
|
265
|
+
/** Discord Blurple. Callers override with `color` or a `className` that sets color. */
|
|
266
|
+
declare function DiscordIcon({
|
|
266
267
|
size,
|
|
268
|
+
color,
|
|
269
|
+
className,
|
|
267
270
|
...props
|
|
268
|
-
}: BrandIconProps)
|
|
269
|
-
|
|
271
|
+
}: BrandIconProps): import("react").JSX.Element;
|
|
272
|
+
/** Four-color Slack hash. Official fills live on the paths, not currentColor. */
|
|
273
|
+
declare function SlackIcon({
|
|
270
274
|
size,
|
|
275
|
+
className,
|
|
271
276
|
...props
|
|
272
|
-
}: BrandIconProps)
|
|
277
|
+
}: BrandIconProps): import("react").JSX.Element;
|
|
273
278
|
declare const MoonIcon: ({
|
|
274
279
|
size,
|
|
275
280
|
strokeWidth,
|