@blade-hq/agent-react 2612.0.0-beta.8 → 2612.0.0-beta.9

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.
@@ -1,12 +1,15 @@
1
1
  import { type MarkdownRendererProps } from "../../components/markdown";
2
2
  import { normalizeAdjacentUrlFormatting } from "./text";
3
+ import { type ComponentPropsWithRef } from "react";
3
4
  import type { CitationEntry } from "../lib/citations";
4
5
  export { normalizeAdjacentUrlFormatting };
6
+ type PreProps = ComponentPropsWithRef<"pre">;
5
7
  export declare function resolveCollapsedContent({ dataKeyAttribute, dataRawAttribute, children, }: {
6
8
  dataKeyAttribute?: string;
7
9
  dataRawAttribute?: string;
8
10
  children?: unknown;
9
11
  }): string;
12
+ export declare function CodeBlockPre({ children, ...props }: PreProps): import("react/jsx-runtime").JSX.Element;
10
13
  export declare function collapseInlineToolCalls(children: string): string;
11
14
  /** `[n]` 形式的引用角标,只有在 `citations` 里能查到 n 对应的证据时才替换成可交互标签
12
15
  * `<blade-citation-ref data-n="n">`;查不到就原样留作纯文本——不给用户一个点了却没有
@@ -6,7 +6,7 @@ import {
6
6
  catalogToConnectorItems,
7
7
  filterConnectorItems,
8
8
  useSessionPluginActivation
9
- } from "./chunk-MERN5XEM.js";
9
+ } from "./chunk-HJ7KNUWM.js";
10
10
 
11
11
  // src/components/connector-panel-types.ts
12
12
  function selectionFromItem(item) {
@@ -255,4 +255,4 @@ export {
255
255
  ConnectorPanel,
256
256
  PluginTriggerStack
257
257
  };
258
- //# sourceMappingURL=chunk-DPDXGYGM.js.map
258
+ //# sourceMappingURL=chunk-3DRBRQXN.js.map
@@ -111,7 +111,7 @@ import {
111
111
  useSessionSource,
112
112
  useSessionState,
113
113
  useSingleSessionSource
114
- } from "./chunk-MERN5XEM.js";
114
+ } from "./chunk-HJ7KNUWM.js";
115
115
  import {
116
116
  __export
117
117
  } from "./chunk-PR4QN5HX.js";
@@ -49553,6 +49553,7 @@ export {
49553
49553
  MessageImage,
49554
49554
  DEFAULT_ALLOWED_TAGS,
49555
49555
  MarkdownRenderer,
49556
+ CodeBlockPre,
49556
49557
  MarkdownContent,
49557
49558
  ToolUiCardView,
49558
49559
  parseWhatIfPrompt,
@@ -49592,4 +49593,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
49592
49593
  js-yaml/dist/js-yaml.mjs:
49593
49594
  (*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT *)
49594
49595
  */
49595
- //# sourceMappingURL=chunk-67GHJQK5.js.map
49596
+ //# sourceMappingURL=chunk-4OG6AJXY.js.map