@blade-hq/agent-react 2612.0.0-beta.8 → 2612.0.0-beta.80
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 +47 -0
- package/dist/SessionPluginConfigForm-7LJ5SUNY.js +9 -0
- package/dist/SessionPluginConfigForm-7LJ5SUNY.js.map +1 -0
- package/dist/chat/AgentLoopBlock.d.ts +0 -2
- package/dist/chat/AskUserQuestionBlock.d.ts +3 -20
- package/dist/chat/AssistantTurnBlock.d.ts +1 -9
- package/dist/chat/AttachmentPreviewDialog.d.ts +0 -1
- package/dist/chat/ChatLoadingIndicator.d.ts +7 -0
- package/dist/chat/ContextAttachmentPills.d.ts +4 -0
- package/dist/chat/CurrentPlanPanel.d.ts +0 -3
- package/dist/chat/FileDeliveryCards.d.ts +0 -4
- package/dist/chat/FinalArtifactCards.d.ts +0 -1
- package/dist/chat/ImageLightbox.d.ts +1 -1
- package/dist/chat/LiteMessageList.d.ts +5 -3
- package/dist/chat/MessageFileAttachmentList.d.ts +0 -5
- package/dist/chat/QuestionnaireQuestionBlock.d.ts +11 -0
- package/dist/chat/SessionReplayBar.d.ts +0 -1
- package/dist/chat/TextAttachmentPills.d.ts +0 -3
- package/dist/chat/TurnNavRail.d.ts +1 -7
- package/dist/chat/WorkflowRunBlock.d.ts +21 -4
- package/dist/chat/ai-elements/shimmer.d.ts +0 -4
- package/dist/chat/customization.d.ts +1 -1
- package/dist/chat/index.d.ts +3 -2
- package/dist/chat/markdown/ExternalAnchor.d.ts +2 -2
- package/dist/chat/markdown/MarkdownContent.d.ts +3 -0
- package/dist/chat/message-list-blocks.d.ts +0 -1
- package/dist/chat/runtime/actions.d.ts +2 -2
- package/dist/chat/runtime/background-task-dismissals.d.ts +0 -1
- package/dist/chat/runtime/composer-channels.d.ts +0 -3
- package/dist/chat/runtime/input-cache-reset.d.ts +0 -5
- package/dist/chat/runtime/input-services.d.ts +10 -0
- package/dist/chat/runtime/session-source.d.ts +0 -5
- package/dist/chat/runtime/use-chat-actions.d.ts +0 -4
- package/dist/chat/turn-locate-channel.d.ts +53 -0
- package/dist/{chat-OCLOVB3H.css → chat-IHPRU35X.css} +5 -18
- package/dist/chat.css +5 -18
- package/dist/chunk-66JXSDLB.js +13770 -0
- package/dist/chunk-66JXSDLB.js.map +1 -0
- package/dist/chunk-C3LBNHVM.js +9482 -0
- package/dist/chunk-C3LBNHVM.js.map +1 -0
- package/dist/chunk-F4MWGSKX.js +1308 -0
- package/dist/chunk-F4MWGSKX.js.map +1 -0
- package/dist/chunk-FBGCDXRK.js +607 -0
- package/dist/chunk-FBGCDXRK.js.map +1 -0
- package/dist/{chunk-67GHJQK5.js → chunk-FDB3J5QF.js} +3889 -26106
- package/dist/chunk-FDB3J5QF.js.map +1 -0
- package/dist/chunk-FH5HA3GW.js +2416 -0
- package/dist/chunk-FH5HA3GW.js.map +1 -0
- package/dist/chunk-KHJEIHMJ.js +973 -0
- package/dist/chunk-KHJEIHMJ.js.map +1 -0
- package/dist/chunk-MWILWSPG.js +9629 -0
- package/dist/chunk-MWILWSPG.js.map +1 -0
- package/dist/chunk-NRYLAO3X.js +3978 -0
- package/dist/chunk-NRYLAO3X.js.map +1 -0
- package/dist/{chunk-MERN5XEM.js → chunk-SK43YNRX.js} +4181 -16594
- package/dist/chunk-SK43YNRX.js.map +1 -0
- package/dist/components/AccountConnectorRules.d.ts +7 -0
- package/dist/components/AccountConnectors.d.ts +13 -0
- package/dist/components/BrowserConnectionDialog.d.ts +8 -0
- package/dist/components/ChatInput.d.ts +1 -15
- package/dist/components/ConfigConnection.d.ts +16 -0
- package/dist/components/ConnectorAuthorizationProgress.d.ts +6 -0
- package/dist/components/ConnectorConnection.d.ts +4 -0
- package/dist/components/ConnectorDetail.d.ts +46 -0
- package/dist/components/ConnectorPanel.d.ts +3 -1
- package/dist/components/ConnectorRulesPanel.d.ts +10 -0
- package/dist/components/ConnectorRuntimeDiagnostics.d.ts +5 -0
- package/dist/components/DeviceConnection.d.ts +17 -0
- package/dist/components/FeishuCapabilitySelection.d.ts +14 -0
- package/dist/components/FeishuPermissionStatus.d.ts +7 -0
- package/dist/components/LlmAdvancedSettings.d.ts +0 -1
- package/dist/components/ManagedConnection.d.ts +12 -0
- package/dist/components/McpAppFrame.d.ts +17 -0
- package/dist/components/PackEventNotice.d.ts +3 -0
- package/dist/components/PlanUpdateBlock.d.ts +0 -1
- package/dist/components/SessionPluginConfigForm.d.ts +4 -1
- package/dist/components/SessionPluginIcon.d.ts +1 -0
- package/dist/components/plugin-connector.d.ts +1 -0
- package/dist/connectors.d.ts +6 -0
- package/dist/connectors.js +19 -0
- package/dist/connectors.js.map +1 -0
- package/dist/embed/blade-chat-element.d.ts +0 -8
- package/dist/embed/entry.d.ts +13 -19
- package/dist/hooks/use-message-pin.d.ts +1 -1
- package/dist/hooks/use-turn-navigation.d.ts +19 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +23 -3
- package/dist/internal.d.ts +7 -3
- package/dist/internal.js +59 -71
- package/dist/internal.js.map +1 -1
- package/dist/lib/message-shortcuts.d.ts +5 -0
- package/dist/questions.d.ts +7 -0
- package/dist/questions.js +910 -0
- package/dist/questions.js.map +1 -0
- package/dist/rich-input/ConnectButton.d.ts +7 -5
- package/dist/rich-input/FileCompletionMenu.d.ts +1 -2
- package/dist/rich-input/InputActionSubmenu.d.ts +10 -0
- package/dist/rich-input/SkillActionMenu.d.ts +10 -0
- package/dist/rich-input/SkillStatusBar.d.ts +0 -6
- package/dist/rich-input/extensions/skill-mention.d.ts +3 -20
- package/dist/rich-input/index.d.ts +3 -2
- package/dist/rich-input/lib/composer-content.d.ts +5 -1
- package/dist/rich-input/lib/plugin-suggestions.d.ts +5 -5
- package/dist/rich-input/lib/reference-candidates.d.ts +0 -1
- package/dist/rich-input/lib/skill-suggestions.d.ts +1 -1
- package/dist/rich-input/lib/user-home.d.ts +0 -17
- package/dist/rich-input/services.d.ts +1 -1
- package/dist/rich-input/voice/VoiceWaveform.d.ts +0 -3
- package/dist/rich-input.js +793 -1068
- package/dist/rich-input.js.map +1 -1
- package/dist/style.css +16 -55
- package/dist/style.full.css +23 -77
- package/dist/tool-details.d.ts +8 -0
- package/dist/tool-details.js +25 -0
- package/dist/tool-details.js.map +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/ext-apps/README.md +284 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/docs/patterns.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.d.ts +1348 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-bridge.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app-with-deps.js +82 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.d.ts +1214 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/app.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/constants.d.ts +65 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/events.d.ts +47 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/events.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.d.ts +1047 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.json +6170 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/generated/schema.test.d.ts +41 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/interop-v1.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/legacy-handlers.d.ts +66 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/legacy-handlers.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.d.ts +126 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/message-transport.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.d.ts +37 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/index.js +39 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/react-with-deps.js +82 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useApp.d.ts +115 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useApp.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useAutoResize.d.ts +54 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useAutoResize.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useDocumentTheme.d.ts +44 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useDocumentTheme.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useHostStyles.d.ts +113 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/react/useHostStyles.examples.d.ts +6 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.d.ts +381 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.js +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/spec.types.d.ts +698 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/standard-schema.d.ts +23 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/styles.d.ts +184 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/styles.examples.d.ts +9 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/types.d.ts +33 -0
- package/node_modules/@modelcontextprotocol/ext-apps/dist/src/wire-compat.test.d.ts +1 -0
- package/node_modules/@modelcontextprotocol/ext-apps/package.json +144 -0
- package/node_modules/@standard-schema/spec/LICENSE +21 -0
- package/node_modules/@standard-schema/spec/README.md +198 -0
- package/node_modules/@standard-schema/spec/dist/index.cjs +18 -0
- package/node_modules/@standard-schema/spec/dist/index.d.cts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.d.ts +119 -0
- package/node_modules/@standard-schema/spec/dist/index.js +0 -0
- package/node_modules/@standard-schema/spec/package.json +52 -0
- package/package.json +19 -3
- package/public-api.md +60 -4
- package/dist/chunk-67GHJQK5.js.map +0 -1
- package/dist/chunk-DPDXGYGM.js +0 -258
- package/dist/chunk-DPDXGYGM.js.map +0 -1
- package/dist/chunk-MERN5XEM.js.map +0 -1
- package/dist/lib/agent-computer-command.d.ts +0 -32
- package/dist/rich-input/extensions/workflow-mention.d.ts +0 -10
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BladeClient } from "@blade-hq/agent-client";
|
|
2
|
+
/** One authenticated rules binding for every account authorization type. */
|
|
3
|
+
export declare function AccountConnectorRules({ client, name, refresh }: {
|
|
4
|
+
client: BladeClient;
|
|
5
|
+
name: string;
|
|
6
|
+
refresh?: number;
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { AccountConnector, BladeClient } from "@blade-hq/agent-client/internal";
|
|
2
|
+
export declare function AccountConnectors({ client, query, sessionId, pending, onUse, onSelectedChange, disabledReason, catalog, manage, onEdit }: {
|
|
3
|
+
client: BladeClient;
|
|
4
|
+
query?: string;
|
|
5
|
+
sessionId?: string | null;
|
|
6
|
+
pending?: Set<string>;
|
|
7
|
+
onUse?: (name: string, label: string, enabled: boolean, icon?: string | null) => Promise<void>;
|
|
8
|
+
onSelectedChange?: (items: AccountConnector[]) => void;
|
|
9
|
+
disabledReason?: string | null;
|
|
10
|
+
manage?: boolean;
|
|
11
|
+
onEdit?: (item: AccountConnector) => void;
|
|
12
|
+
catalog?: boolean;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AccountConnector, BladeClient } from "@blade-hq/agent-client";
|
|
2
|
+
export declare function BrowserConnectionDialog({ client, name, label, connector, onClose }: {
|
|
3
|
+
client: BladeClient;
|
|
4
|
+
name: string;
|
|
5
|
+
label?: string;
|
|
6
|
+
connector?: AccountConnector;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,31 +1,17 @@
|
|
|
1
1
|
import { type KeyboardEvent } from "react";
|
|
2
2
|
interface Props {
|
|
3
|
-
/** 受控输入内容(由 ChatView 持有,便于 attach/insertText 注入)。 */
|
|
4
3
|
value: string;
|
|
5
4
|
onValueChange: (value: string) => void;
|
|
6
|
-
onSend: (text: string) => boolean | Promise<boolean>;
|
|
5
|
+
onSend: (text: string, queueWhenRunning?: boolean) => boolean | Promise<boolean>;
|
|
7
6
|
onStop: () => void;
|
|
8
7
|
isStreaming: boolean;
|
|
9
8
|
isStopping?: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* 宿主是否渲染了队列面板。没有面板时不给"运行中提交"入口:消息进了队列却看不见,
|
|
12
|
-
* 比明确提示用户等一等更糟。ChatSurface 按 queuePanel 是否存在传入。
|
|
13
|
-
*/
|
|
14
9
|
queueWhileRunning?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* 上方紧贴着一个比自己窄的面板(队列面板)时置 true:上两角改直角。
|
|
17
|
-
*
|
|
18
|
-
* 面板比输入框窄一圈,输入框上角留圆弧的话,那两段弧会从面板两侧露出来,
|
|
19
|
-
* 看着就是两个尖角。跟内置 Web 的 ChatInput 是同一个判据。
|
|
20
|
-
*/
|
|
21
10
|
mergesWithPanelAbove?: boolean;
|
|
22
11
|
placeholder?: string;
|
|
23
12
|
className?: string;
|
|
24
|
-
/** 输入框卡片(`.blade-chat-input-inner`):边框、圆角、底色在这里。 */
|
|
25
13
|
innerClassName?: string;
|
|
26
|
-
/** 文本输入框(`.blade-chat-textarea`)。 */
|
|
27
14
|
textareaClassName?: string;
|
|
28
|
-
/** 右侧按钮组(`.blade-chat-input-toolbar`)。 */
|
|
29
15
|
toolbarClassName?: string;
|
|
30
16
|
queueKey?: string;
|
|
31
17
|
hasAttachments?: boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type ConnectorDetailOptions } from "./ConnectorDetail";
|
|
3
|
+
/** Schema and browser login contents remain supplied by their authenticated host. */
|
|
4
|
+
export declare function ConfigConnection({ detail, status, account, verifiedAt, busy, connection, editDescription, onEdit, onDisconnect, onVerify, diagnostics }: {
|
|
5
|
+
detail: ConnectorDetailOptions;
|
|
6
|
+
status: string;
|
|
7
|
+
account?: string;
|
|
8
|
+
verifiedAt?: string;
|
|
9
|
+
busy?: boolean;
|
|
10
|
+
connection?: ReactNode;
|
|
11
|
+
editDescription?: string;
|
|
12
|
+
onEdit: () => unknown;
|
|
13
|
+
onDisconnect: () => Promise<unknown>;
|
|
14
|
+
onVerify?: () => Promise<unknown>;
|
|
15
|
+
diagnostics?: ReactNode;
|
|
16
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ConnectorAuthorization } from "@blade-hq/agent-client";
|
|
2
|
+
export declare function ConnectorAuthorizationProgress({ result, onCheck, busy }: {
|
|
3
|
+
result: ConnectorAuthorization["authorization_result"];
|
|
4
|
+
onCheck: () => void;
|
|
5
|
+
busy: boolean;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export interface ConnectorDetailAction {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
danger?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
run?: () => unknown;
|
|
9
|
+
confirmation?: {
|
|
10
|
+
title: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
page?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/** Product data and navigation belong to the host; presentation belongs to the SDK. */
|
|
16
|
+
export interface ConnectorDetailOptions {
|
|
17
|
+
title: string;
|
|
18
|
+
name?: string;
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
rules?: ReactNode;
|
|
21
|
+
preferences?: ReactNode;
|
|
22
|
+
pushFrequency?: ReactNode;
|
|
23
|
+
onOpenPush?: () => void;
|
|
24
|
+
actions?: ConnectorDetailAction[];
|
|
25
|
+
}
|
|
26
|
+
export declare function ConnectorDetail({ title, icon, account, status, statusLabel, connected, busy, actions, notice, noticeTitle, noticeCollapsedTitle, noticeStorageKey, connection, tabs, children }: {
|
|
27
|
+
title: string;
|
|
28
|
+
icon?: ReactNode;
|
|
29
|
+
account?: string;
|
|
30
|
+
status: "connected" | "attention" | "disconnected";
|
|
31
|
+
statusLabel?: string;
|
|
32
|
+
connected: boolean;
|
|
33
|
+
busy?: boolean;
|
|
34
|
+
actions?: ConnectorDetailAction[];
|
|
35
|
+
notice?: ReactNode;
|
|
36
|
+
noticeTitle?: string;
|
|
37
|
+
noticeCollapsedTitle?: string;
|
|
38
|
+
noticeStorageKey?: string;
|
|
39
|
+
connection?: ReactNode;
|
|
40
|
+
tabs?: Array<{
|
|
41
|
+
id: string;
|
|
42
|
+
label: string;
|
|
43
|
+
content: ReactNode;
|
|
44
|
+
}>;
|
|
45
|
+
children?: ReactNode;
|
|
46
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,6 +25,8 @@ export interface ConnectorPanelProps {
|
|
|
25
25
|
onSelectedChange?: (items: PluginConnectorItem[]) => void;
|
|
26
26
|
/** 宿主注入:电脑分区。参数是搜索词,宿主自己决定怎么过滤。 */
|
|
27
27
|
renderComputerSection?: (query: string) => ReactNode;
|
|
28
|
+
/** 宿主注入:手机分区,渲染在电脑下面。参数是搜索词。 */
|
|
29
|
+
renderPhoneSection?: (query: string) => ReactNode;
|
|
28
30
|
/** 宿主注入:外部账号分区(飞书 / GitHub 等固定连接入口)。 */
|
|
29
31
|
renderExternalAccounts?: (query: string) => ReactNode;
|
|
30
32
|
/** 宿主注入:底部操作区;不注入就不渲染这一块。 */
|
|
@@ -38,4 +40,4 @@ export interface ConnectorPanelProps {
|
|
|
38
40
|
* 判定不各写一份。电脑与外部账号由宿主注入——那些入口需要宿主的路由与 CLI
|
|
39
41
|
* 引导,SDK 不硬编码内部路径,也不替第三方决定跳到哪里。
|
|
40
42
|
*/
|
|
41
|
-
export declare function ConnectorPanel({ client, sessionId, pendingPlugins, onPendingPluginsChange, pendingDisabledReason, onPluginsChanged, onSelectedChange, renderComputerSection, renderExternalAccounts, renderFooterActions, className, }: ConnectorPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare function ConnectorPanel({ client, sessionId, pendingPlugins, onPendingPluginsChange, pendingDisabledReason, onPluginsChanged, onSelectedChange, renderComputerSection, renderPhoneSection, renderExternalAccounts, renderFooterActions, className, }: ConnectorPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ConnectorRules, ConnectorRuleValue } from "@blade-hq/agent-client";
|
|
2
|
+
/** Hosts supply authenticated SDK reads/writes and their existing theme. */
|
|
3
|
+
export declare function ConnectorRulesPanel({ read, update, onCountChange, refresh, className, compact }: {
|
|
4
|
+
compact?: boolean;
|
|
5
|
+
read: () => Promise<ConnectorRules>;
|
|
6
|
+
update: (set: Record<string, ConnectorRuleValue>) => Promise<ConnectorRules>;
|
|
7
|
+
onCountChange?: (count: number, operations?: number) => void;
|
|
8
|
+
refresh?: number;
|
|
9
|
+
className?: string;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ConnectorDiagnostics } from "@blade-hq/agent-client";
|
|
2
|
+
/** These are SW's persisted observations, never an inferred connectivity check. */
|
|
3
|
+
export declare function ConnectorRuntimeDiagnostics({ runtime }: {
|
|
4
|
+
runtime: NonNullable<ConnectorDiagnostics["runtime"]>;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ConnectorDetailOptions } from "./ConnectorDetail";
|
|
2
|
+
import type { ConnectorAuthorization, ConnectorAuthorizationAction, ConnectorAuthorizationOptions, ConnectorAuthorizationPlan, ConnectorDiagnostics } from "@blade-hq/agent-client";
|
|
3
|
+
export declare function DeviceConnection({ read, act, diagnostics, onChanged, bindDelivery, onDisable, initialPage, authorizationCapabilities, autoAuthorize, detail }: {
|
|
4
|
+
detail?: ConnectorDetailOptions;
|
|
5
|
+
read: () => Promise<ConnectorAuthorization>;
|
|
6
|
+
act: (action: ConnectorAuthorizationAction, options?: ConnectorAuthorizationOptions) => Promise<ConnectorAuthorization>;
|
|
7
|
+
plan?: (capabilities: string[]) => Promise<ConnectorAuthorizationPlan>;
|
|
8
|
+
diagnostics?: () => Promise<ConnectorDiagnostics>;
|
|
9
|
+
onChanged: () => Promise<unknown>;
|
|
10
|
+
bindDelivery?: boolean;
|
|
11
|
+
onDisable?: () => Promise<unknown>;
|
|
12
|
+
initialPage?: "connection" | "manage";
|
|
13
|
+
/** A chat recovery opens only the failed operation, without another selection. */
|
|
14
|
+
authorizationCapabilities?: string[];
|
|
15
|
+
/** A user opened the chat connection card; begin the official QR flow. */
|
|
16
|
+
autoAuthorize?: boolean;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ConnectorCapability, ConnectorDomain, ConnectorPermission } from "@blade-hq/agent-client";
|
|
2
|
+
export type BusinessCapability = ConnectorCapability;
|
|
3
|
+
export declare const capabilityStatus: Record<string, string>;
|
|
4
|
+
export declare function selectableCapabilities(capabilities: BusinessCapability[]): ConnectorCapability[];
|
|
5
|
+
export declare function defaultCapabilities(capabilities: BusinessCapability[]): string[];
|
|
6
|
+
export declare function FeishuCapabilitySelection({ capabilities, permissions, domains }: {
|
|
7
|
+
capabilities: BusinessCapability[];
|
|
8
|
+
permissions?: ConnectorPermission[];
|
|
9
|
+
operations?: BusinessCapability[];
|
|
10
|
+
domains?: ConnectorDomain[];
|
|
11
|
+
selected: string[];
|
|
12
|
+
onChange: (ids: string[]) => void;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ConnectorAuthorization, ConnectorPermission } from "@blade-hq/agent-client";
|
|
2
|
+
export declare function FeishuPermissionStatus({ permissions, template, expanded, hideScopes }: {
|
|
3
|
+
expanded?: boolean;
|
|
4
|
+
hideScopes?: boolean;
|
|
5
|
+
permissions: ConnectorPermission[];
|
|
6
|
+
template?: ConnectorAuthorization["permission_template"];
|
|
7
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -24,7 +24,6 @@ export declare function readOverride(settings: boolean | LlmAdvancedSettings | u
|
|
|
24
24
|
declare function writeOverride(settings: boolean | LlmAdvancedSettings | undefined, baseURL: string, override: LlmOverride): void;
|
|
25
25
|
interface Props {
|
|
26
26
|
settings: boolean | LlmAdvancedSettings;
|
|
27
|
-
/** 组件拿到的默认值,用来做占位提示与"恢复默认" */
|
|
28
27
|
defaults: {
|
|
29
28
|
baseURL: string;
|
|
30
29
|
model: string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ConnectorDetailOptions } from "./ConnectorDetail";
|
|
2
|
+
import type { ConnectorAuthorization, ConnectorAuthorizationAction, ConnectorAuthorizationOptions, ConnectorDiagnostics } from "@blade-hq/agent-client";
|
|
3
|
+
export interface ManagedConnectionProps {
|
|
4
|
+
detail?: ConnectorDetailOptions;
|
|
5
|
+
diagnostics?: () => Promise<ConnectorDiagnostics>;
|
|
6
|
+
read: () => Promise<ConnectorAuthorization>;
|
|
7
|
+
act: (action: ConnectorAuthorizationAction, options?: ConnectorAuthorizationOptions) => Promise<ConnectorAuthorization>;
|
|
8
|
+
onChanged: () => Promise<unknown>;
|
|
9
|
+
bindDelivery?: boolean;
|
|
10
|
+
onDisable?: () => Promise<unknown>;
|
|
11
|
+
}
|
|
12
|
+
export declare function ManagedConnection({ read, act, onChanged, bindDelivery, onDisable, detail, diagnostics }: ManagedConnectionProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AppBridge } from "@modelcontextprotocol/ext-apps/app-bridge";
|
|
2
|
+
export interface McpAppFrameProps {
|
|
3
|
+
html?: string;
|
|
4
|
+
resourceMeta: Record<string, unknown>;
|
|
5
|
+
title?: string;
|
|
6
|
+
error?: string | null;
|
|
7
|
+
toolInput?: Parameters<AppBridge["sendToolInput"]>[0];
|
|
8
|
+
callTool?: AppBridge["oncalltool"];
|
|
9
|
+
sendMessage?: AppBridge["onmessage"];
|
|
10
|
+
updateModelContext?: AppBridge["onupdatemodelcontext"];
|
|
11
|
+
requestDisplayMode?: AppBridge["onrequestdisplaymode"];
|
|
12
|
+
sizeChange?: AppBridge["onsizechange"];
|
|
13
|
+
openLink?: AppBridge["onopenlink"];
|
|
14
|
+
onReady?: (bridge: AppBridge) => void;
|
|
15
|
+
}
|
|
16
|
+
/** Sandboxed MCP App surface shared by chat cards and file previews. */
|
|
17
|
+
export declare function McpAppFrame(props: McpAppFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,7 +18,6 @@ export declare function pickCurrentPlanStep(plan: PlanUpdateData["plan"]): PlanU
|
|
|
18
18
|
export declare function PlanUpdateBlock({ toolCall, running, autoReveal, className, }: {
|
|
19
19
|
toolCall: ToolCallInfo;
|
|
20
20
|
running?: boolean;
|
|
21
|
-
/** 实时收到的新进度短暂展开;加载历史时保持默认收起。 */
|
|
22
21
|
autoReveal?: boolean;
|
|
23
22
|
className?: string;
|
|
24
23
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -4,11 +4,14 @@ export interface SessionPluginConfigDraft {
|
|
|
4
4
|
remove: string[];
|
|
5
5
|
}
|
|
6
6
|
export interface SessionPluginConfigFormProps {
|
|
7
|
+
collapseHelp?: boolean;
|
|
7
8
|
config: SessionPluginConfigState;
|
|
8
9
|
submitting: boolean;
|
|
9
10
|
errors: SessionPluginConfigError[];
|
|
10
11
|
failure: string | null;
|
|
11
12
|
onSubmit: (draft: SessionPluginConfigDraft) => void;
|
|
12
13
|
onCancel: () => void;
|
|
14
|
+
submitLabel?: string;
|
|
15
|
+
submittingLabel?: string;
|
|
13
16
|
}
|
|
14
|
-
export declare function SessionPluginConfigForm({ config, submitting, errors, failure, onSubmit, onCancel, }: SessionPluginConfigFormProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare function SessionPluginConfigForm({ config, submitting, errors, failure, onSubmit, onCancel, submitLabel, submittingLabel, collapseHelp, }: SessionPluginConfigFormProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -6,6 +6,7 @@ export interface SessionPluginIconProps {
|
|
|
6
6
|
* 这样首页这种还没有会话的地方也能显示包内图标。
|
|
7
7
|
*/
|
|
8
8
|
sessionId: string | null;
|
|
9
|
+
/** Also accepts the package data image returned by the connector catalog. */
|
|
9
10
|
plugin: Pick<SessionPlugin, "name" | "icon">;
|
|
10
11
|
/** 边长,默认 20。 */
|
|
11
12
|
size?: number;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { DeviceConnection } from "./components/DeviceConnection";
|
|
2
|
+
export { ConnectorConnection } from "./components/ConnectorConnection";
|
|
3
|
+
export { ConnectorRulesPanel } from "./components/ConnectorRulesPanel";
|
|
4
|
+
export { ConnectorDetail } from "./components/ConnectorDetail";
|
|
5
|
+
export type { ConnectorDetailOptions, ConnectorDetailAction } from "./components/ConnectorDetail";
|
|
6
|
+
export { ConfigConnection } from "./components/ConfigConnection";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ConnectorConnection,
|
|
3
|
+
DeviceConnection
|
|
4
|
+
} from "./chunk-FH5HA3GW.js";
|
|
5
|
+
import {
|
|
6
|
+
ConfigConnection,
|
|
7
|
+
ConnectorDetail,
|
|
8
|
+
ConnectorRulesPanel
|
|
9
|
+
} from "./chunk-MWILWSPG.js";
|
|
10
|
+
import "./chunk-KHJEIHMJ.js";
|
|
11
|
+
import "./chunk-PR4QN5HX.js";
|
|
12
|
+
export {
|
|
13
|
+
ConfigConnection,
|
|
14
|
+
ConnectorConnection,
|
|
15
|
+
ConnectorDetail,
|
|
16
|
+
ConnectorRulesPanel,
|
|
17
|
+
DeviceConnection
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=connectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -15,7 +15,6 @@ export declare class BladeChatElement extends HTMLElement {
|
|
|
15
15
|
/** 当前会话(连接完成后可用);BladeAgent.getChat() 依赖它。 */
|
|
16
16
|
session: AgentSession | null;
|
|
17
17
|
private sessionWaiters;
|
|
18
|
-
/** 自动创建的会话 id:attribute 变化触发的重渲染要继续用它,避免重复建会话。 */
|
|
19
18
|
private autoCreatedSessionId;
|
|
20
19
|
private mountRenderers;
|
|
21
20
|
/** 转换后的 React 渲染器按渲染器对象缓存,避免每次渲染重建挂载内容。 */
|
|
@@ -29,13 +28,6 @@ export declare class BladeChatElement extends HTMLElement {
|
|
|
29
28
|
set renderers(value: BladeChatMountRenderers | null);
|
|
30
29
|
private currentReactRenderers;
|
|
31
30
|
connectedCallback(): void;
|
|
32
|
-
/**
|
|
33
|
-
* 自定义样式口子:<blade-chat> 的直接 <style> 子元素会被拷入 Shadow DOM,
|
|
34
|
-
* 排在内置样式之后(同优先级时后者胜)。配合内置的 .blade-chat-* 类名、
|
|
35
|
-
* ::part()(每个可见区块都带与锚点同名的 part,如
|
|
36
|
-
* blade-chat::part(user-bubble))与 CSS 变量(--primary / --background 等,
|
|
37
|
-
* 页面直接对 blade-chat 元素设置即可穿透),无需构建工具即可深度定制。
|
|
38
|
-
*/
|
|
39
31
|
private adoptUserStyles;
|
|
40
32
|
disconnectedCallback(): void;
|
|
41
33
|
attributeChangedCallback(): void;
|
package/dist/embed/entry.d.ts
CHANGED
|
@@ -1,27 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* blade-agent.js(IIFE)入口:纯静态 HTML 的接入方式。
|
|
3
|
-
*
|
|
4
|
-
* ```html
|
|
5
|
-
* <script src="https://blade.example.com/sdk/blade-agent.js"></script>
|
|
6
|
-
* <blade-chat base-url="https://blade.example.com"></blade-chat>
|
|
7
|
-
* <script>
|
|
8
|
-
* const chat = await BladeAgent.getChat(document.querySelector("blade-chat"))
|
|
9
|
-
* chat.onCommand("map.highlight", (data) => { ... })
|
|
10
|
-
* </script>
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
1
|
import * as agentClient from "@blade-hq/agent-client";
|
|
14
2
|
import type { AgentSession } from "@blade-hq/agent-client";
|
|
15
3
|
import { BladeChatElement } from "./blade-chat-element";
|
|
16
|
-
/** 取某个 `<blade-chat>` 元素背后的会话对象(等待连接就绪)。 */
|
|
17
4
|
declare function getChat(element: Element | null): Promise<AgentSession>;
|
|
18
5
|
declare const BladeAgent: {
|
|
6
|
+
BladeApplicationClient: typeof agentClient.BladeApplicationClient;
|
|
19
7
|
BladeClient: typeof agentClient.BladeClient;
|
|
8
|
+
ConnectorsResource: typeof agentClient.ConnectorsResource;
|
|
20
9
|
BladeApiError: typeof agentClient.BladeApiError;
|
|
21
10
|
SDK_NAME: "agent-client";
|
|
22
11
|
SDK_VERSION: string;
|
|
23
12
|
AgentSession: typeof AgentSession;
|
|
24
13
|
AgentSessionError: typeof agentClient.AgentSessionError;
|
|
14
|
+
parseAskUserQuestion: typeof agentClient.parseAskUserQuestion;
|
|
15
|
+
formatAskUserAnswer: typeof agentClient.formatAskUserAnswer;
|
|
25
16
|
SessionSetupError: typeof agentClient.SessionSetupError;
|
|
26
17
|
DEFAULT_REPLAY_SPEED: agentClient.ReplaySpeed;
|
|
27
18
|
SessionInfo: import("arktype/internal/variants/object.ts").ObjectType<{
|
|
@@ -31,12 +22,13 @@ declare const BladeAgent: {
|
|
|
31
22
|
created_at: string;
|
|
32
23
|
updated_at: string;
|
|
33
24
|
shared?: boolean | undefined;
|
|
25
|
+
anonymous?: boolean | undefined;
|
|
34
26
|
memory_enabled?: boolean | undefined;
|
|
35
27
|
is_persistent?: boolean | undefined;
|
|
36
28
|
initiator?: "sdk" | "ui" | "unknown" | null | undefined;
|
|
37
29
|
is_headless?: boolean | undefined;
|
|
30
|
+
scheduled_task_id?: string | undefined;
|
|
38
31
|
viewer_role?: "owner" | "viewer" | undefined;
|
|
39
|
-
template_id?: string | null | undefined;
|
|
40
32
|
model?: string | null | undefined;
|
|
41
33
|
enable_thinking?: boolean | null | undefined;
|
|
42
34
|
solution_id?: string | null | undefined;
|
|
@@ -44,17 +36,12 @@ declare const BladeAgent: {
|
|
|
44
36
|
biz_role_id?: string | null | undefined;
|
|
45
37
|
solution?: unknown;
|
|
46
38
|
plan_summary?: string | null | undefined;
|
|
47
|
-
primary_skill_id?: string | null | undefined;
|
|
48
|
-
bound_skill_id?: string | null | undefined;
|
|
49
39
|
replay_state?: unknown;
|
|
50
40
|
is_pinned?: boolean | undefined;
|
|
51
41
|
pinned_at?: string | null | undefined;
|
|
52
42
|
is_example?: boolean | undefined;
|
|
53
43
|
ports?: unknown;
|
|
54
44
|
disable_tools?: string[] | undefined;
|
|
55
|
-
runtime_type?: string | null | undefined;
|
|
56
|
-
daemon_id?: string | null | undefined;
|
|
57
|
-
agent_runtime_id?: string | null | undefined;
|
|
58
45
|
workspace_path?: string | null | undefined;
|
|
59
46
|
ba_version?: string | null | undefined;
|
|
60
47
|
sandbox_version?: string | null | undefined;
|
|
@@ -72,6 +59,13 @@ declare const BladeAgent: {
|
|
|
72
59
|
userFacingErrorText: typeof agentClient.userFacingErrorText;
|
|
73
60
|
normalizeTopicAssetRefs: typeof agentClient.normalizeTopicAssetRefs;
|
|
74
61
|
normalizePluginRefs: typeof agentClient.normalizePluginRefs;
|
|
62
|
+
normalizeMessageRefs: typeof agentClient.normalizeMessageRefs;
|
|
63
|
+
ToolProvider: typeof agentClient.ToolProvider;
|
|
64
|
+
SandboxResource: typeof agentClient.SandboxResource;
|
|
65
|
+
ProfileResource: typeof agentClient.ProfileResource;
|
|
66
|
+
PacksResource: typeof agentClient.PacksResource;
|
|
67
|
+
PackRecordsResource: typeof agentClient.PackRecordsResource;
|
|
68
|
+
attachPackPageBridge: typeof agentClient.attachPackPageBridge;
|
|
75
69
|
getChat: typeof getChat;
|
|
76
70
|
BladeChatElement: typeof BladeChatElement;
|
|
77
71
|
};
|
|
@@ -22,7 +22,7 @@ export interface UseMessagePinOptions {
|
|
|
22
22
|
* 用户发言顶置的共享状态机。SDK 和内置轻量列表只提供 DOM/虚拟列表适配器,
|
|
23
23
|
* 触发、调度、resize、手动接管和跟随交还的决策只在这里维护。
|
|
24
24
|
*/
|
|
25
|
-
export declare function useMessagePin({ targetKey, pinTarget, isStreaming, layoutKey, getScrollElement, getContentElement, getTargetElement, getTargetScrollTop, getSpacerHeight, setSpacerHeight, stopAutoScroll,
|
|
25
|
+
export declare function useMessagePin({ targetKey, pinTarget, isStreaming, layoutKey, getScrollElement, getContentElement, getTargetElement, getTargetScrollTop, getSpacerHeight, setSpacerHeight, stopAutoScroll, margin, }: UseMessagePinOptions): {
|
|
26
26
|
release: () => void;
|
|
27
27
|
isActive: () => boolean;
|
|
28
28
|
};
|
|
@@ -11,6 +11,25 @@ export declare const TURN_NAV_HIGHLIGHT_CLASS = "blade-turn-nav-flash";
|
|
|
11
11
|
export interface TurnNavItem {
|
|
12
12
|
id: string;
|
|
13
13
|
title: string;
|
|
14
|
+
/** 这一段的小结(post_chat_followup.recaption);空时表示这一段没有小结。 */
|
|
15
|
+
recaption?: string;
|
|
16
|
+
/** 这一段交付的产物(final_artifacts),脉络卡片上直接列出来。 */
|
|
17
|
+
artifacts?: TurnNavArtifact[];
|
|
18
|
+
/** 这一段里的每一次用户发言(脉络展开后逐条列出)。 */
|
|
19
|
+
entries?: TurnNavEntry[];
|
|
20
|
+
}
|
|
21
|
+
/** 分段里的一次用户发言。 */
|
|
22
|
+
export interface TurnNavEntry {
|
|
23
|
+
id: string;
|
|
24
|
+
title: string;
|
|
25
|
+
/** AskUserQuestion 的应答:消息列表里没有独立行,点它定位不到。 */
|
|
26
|
+
answer?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** 这一段交付的产物(文件 / 链接)。 */
|
|
29
|
+
export interface TurnNavArtifact {
|
|
30
|
+
kind: "file" | "link";
|
|
31
|
+
target: string;
|
|
32
|
+
label: string;
|
|
14
33
|
}
|
|
15
34
|
export interface TurnNavigationSource {
|
|
16
35
|
/** 目录来源;不传就不请求目录,导航条目只由 `fallbackItems` 兜底。 */
|
package/dist/index.d.ts
CHANGED
|
@@ -21,3 +21,9 @@ export { MarkdownContent } from "./chat/markdown/MarkdownContent";
|
|
|
21
21
|
export type { MarkdownContentProps } from "./chat/markdown/MarkdownContent";
|
|
22
22
|
export { TopicAssetSubmitDialog, useTopicAssetSubmissionAccess } from "./components/TopicAssetSubmitDialog";
|
|
23
23
|
export type { TopicAssetSubmitDialogProps } from "./components/TopicAssetSubmitDialog";
|
|
24
|
+
export { DeviceConnection } from "./components/DeviceConnection";
|
|
25
|
+
export { ConnectorConnection } from "./components/ConnectorConnection";
|
|
26
|
+
export { ConnectorRulesPanel } from "./components/ConnectorRulesPanel";
|
|
27
|
+
export { ConnectorDetail } from "./components/ConnectorDetail";
|
|
28
|
+
export type { ConnectorDetailOptions, ConnectorDetailAction } from "./components/ConnectorDetail";
|
|
29
|
+
export { ConfigConnection } from "./components/ConfigConnection";
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatView,
|
|
3
|
-
MarkdownContent,
|
|
4
3
|
ReplayBar,
|
|
5
4
|
ReplayMismatchPrompt,
|
|
6
5
|
TopicAssetSubmitDialog,
|
|
7
6
|
useAgentSession,
|
|
8
7
|
useReplay,
|
|
9
8
|
useTopicAssetSubmissionAccess
|
|
10
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-66JXSDLB.js";
|
|
10
|
+
import "./chunk-F4MWGSKX.js";
|
|
11
|
+
import {
|
|
12
|
+
ConnectorConnection,
|
|
13
|
+
DeviceConnection
|
|
14
|
+
} from "./chunk-FH5HA3GW.js";
|
|
15
|
+
import "./chunk-FDB3J5QF.js";
|
|
16
|
+
import {
|
|
17
|
+
MarkdownContent
|
|
18
|
+
} from "./chunk-C3LBNHVM.js";
|
|
11
19
|
import {
|
|
12
20
|
BladeProvider,
|
|
13
21
|
useBladeClient
|
|
14
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NRYLAO3X.js";
|
|
23
|
+
import {
|
|
24
|
+
ConfigConnection,
|
|
25
|
+
ConnectorDetail,
|
|
26
|
+
ConnectorRulesPanel
|
|
27
|
+
} from "./chunk-MWILWSPG.js";
|
|
28
|
+
import "./chunk-SK43YNRX.js";
|
|
29
|
+
import "./chunk-KHJEIHMJ.js";
|
|
15
30
|
import "./chunk-PR4QN5HX.js";
|
|
16
31
|
export {
|
|
17
32
|
BladeProvider,
|
|
18
33
|
ChatView,
|
|
34
|
+
ConfigConnection,
|
|
35
|
+
ConnectorConnection,
|
|
36
|
+
ConnectorDetail,
|
|
37
|
+
ConnectorRulesPanel,
|
|
38
|
+
DeviceConnection,
|
|
19
39
|
MarkdownContent,
|
|
20
40
|
ReplayBar,
|
|
21
41
|
ReplayMismatchPrompt,
|
package/dist/internal.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export type { UseMessagePinOptions } from "./hooks/use-message-pin";
|
|
|
8
8
|
export { useTypewriterReveal } from "./hooks/use-typewriter-reveal";
|
|
9
9
|
export type { UseTypewriterRevealResult } from "./hooks/use-typewriter-reveal";
|
|
10
10
|
export { latestUserSpeechEntryId, TURN_NAV_HIGHLIGHT_CLASS, turnNavItemsFromMessages, useTurnNavigation, } from "./hooks/use-turn-navigation";
|
|
11
|
-
export type { TurnNavigationOptions, TurnNavigationResult, TurnNavigationSource, } from "./hooks/use-turn-navigation";
|
|
11
|
+
export type { TurnNavigationOptions, TurnNavigationResult, TurnNavigationSource, TurnNavArtifact, TurnNavEntry, TurnNavItem, } from "./hooks/use-turn-navigation";
|
|
12
12
|
export type { UseLlmChatResult } from "./hooks/use-llm-chat";
|
|
13
13
|
export { ConnectorPanel } from "./components/ConnectorPanel";
|
|
14
14
|
export type { ConnectorPanelProps } from "./components/ConnectorPanel";
|
|
@@ -52,11 +52,15 @@ export { SessionMemoryToggle } from "./components/SessionMemoryToggle";
|
|
|
52
52
|
export type { SessionMemoryToggleProps } from "./components/SessionMemoryToggle";
|
|
53
53
|
export { SessionQueuePanel, isQueuePanelVisible } from "./components/SessionQueuePanel";
|
|
54
54
|
export type { SessionQueuePanelProps } from "./components/SessionQueuePanel";
|
|
55
|
-
export { isAgentComputerCommand, isAgentComputerToolCall, classifyAgentComputerLaunchOutcome, } from "./lib/agent-computer-command";
|
|
56
|
-
export type { AgentComputerLaunchOutcome } from "./lib/agent-computer-command";
|
|
57
55
|
export { SessionBranchPicker } from "./components/SessionBranchPicker";
|
|
58
56
|
export type { SessionBranchPickerProps } from "./components/SessionBranchPicker";
|
|
59
57
|
export { MessageImage, type MessageImageProps } from "./components/MessageImage";
|
|
60
58
|
export { BackgroundWakeNotice } from "./components/BackgroundWakeNotice";
|
|
61
59
|
export { TopicAssetSubmitDialog, useTopicAssetSubmissionAccess } from "./components/TopicAssetSubmitDialog";
|
|
62
60
|
export type { TopicAssetSubmitDialogProps } from "./components/TopicAssetSubmitDialog";
|
|
61
|
+
export { CodeBlockPre } from "./chat/markdown/MarkdownContent";
|
|
62
|
+
export { ChatLoadingIndicator, isPreparingReply } from "./chat/ChatLoadingIndicator";
|
|
63
|
+
export { BrowserConnectionDialog } from "./components/BrowserConnectionDialog";
|
|
64
|
+
export { AccountConnectors } from "./components/AccountConnectors";
|
|
65
|
+
export { McpAppFrame } from "./components/McpAppFrame";
|
|
66
|
+
export type { McpAppFrameProps } from "./components/McpAppFrame";
|