@blade-hq/agent-react 2610.0.0-beta.5 → 2610.0.0-beta.51

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.
Files changed (49) hide show
  1. package/README.md +102 -3
  2. package/dist/chunk-G3PMV62Z.js +36 -0
  3. package/dist/{chunk-ZXXLY4RM.js → chunk-MAAMCOAU.js} +8 -32
  4. package/dist/{chunk-ZXXLY4RM.js.map → chunk-MAAMCOAU.js.map} +1 -1
  5. package/dist/components/AgentChat.d.ts +3 -0
  6. package/dist/components/AgentLoopBlock.d.ts +1 -4
  7. package/dist/components/AskUserQuestionBlock.d.ts +9 -0
  8. package/dist/components/AssistantTurnBlock.d.ts +20 -6
  9. package/dist/components/ChatInput.d.ts +5 -1
  10. package/dist/components/ChatSurface.d.ts +13 -2
  11. package/dist/components/ConnectionBanner.d.ts +1 -1
  12. package/dist/components/ContextCard.d.ts +20 -0
  13. package/dist/components/MarkdownContent.d.ts +2 -0
  14. package/dist/components/McpAppCard.d.ts +14 -0
  15. package/dist/components/MessageList.d.ts +8 -1
  16. package/dist/components/PlanUpdateBlock.d.ts +31 -0
  17. package/dist/components/SessionMemoryToggle.d.ts +19 -0
  18. package/dist/components/SessionPluginConfigDialog.d.ts +10 -0
  19. package/dist/components/SessionPluginConfigForm.d.ts +14 -0
  20. package/dist/components/SessionPluginIcon.d.ts +19 -0
  21. package/dist/components/SessionPluginSelector.d.ts +10 -0
  22. package/dist/components/ToolCallBlock.d.ts +4 -2
  23. package/dist/components/ToolUiCardView.d.ts +9 -0
  24. package/dist/components/UserMessageBubble.d.ts +1 -1
  25. package/dist/components/WhatIfUserBubble.d.ts +7 -0
  26. package/dist/components/display-utils.d.ts +10 -0
  27. package/dist/components/plugin-config-schema.d.ts +51 -0
  28. package/dist/context.d.ts +1 -0
  29. package/dist/embed/entry.d.ts +37 -0
  30. package/dist/{highlighted-body-B3W2YXNL-YD7FAP6V.js → highlighted-body-B3W2YXNL-IASCZDV2.js} +3 -2
  31. package/dist/{highlighted-body-B3W2YXNL-YD7FAP6V.js.map → highlighted-body-B3W2YXNL-IASCZDV2.js.map} +1 -1
  32. package/dist/hooks/use-agent-session.d.ts +5 -0
  33. package/dist/hooks/use-message-pin.d.ts +28 -0
  34. package/dist/index.d.ts +27 -0
  35. package/dist/index.js +28906 -958
  36. package/dist/index.js.map +1 -1
  37. package/dist/lib/agent-computer-command.d.ts +34 -0
  38. package/dist/lib/utils.d.ts +3 -1
  39. package/dist/lib/whatif-prompt.d.ts +18 -0
  40. package/dist/mermaid-3ZIDBTTL-BPVVWTVV.js +9 -0
  41. package/dist/mermaid-3ZIDBTTL-BPVVWTVV.js.map +1 -0
  42. package/dist/style.css +91 -1
  43. package/dist/style.full.css +92 -2
  44. package/dist/webapi-W3IB5DO4.js +2481 -0
  45. package/dist/webapi-W3IB5DO4.js.map +1 -0
  46. package/package.json +2 -2
  47. package/public-api.md +890 -10
  48. package/dist/mermaid-3ZIDBTTL-N7YKJ3SM.js +0 -8
  49. /package/dist/{mermaid-3ZIDBTTL-N7YKJ3SM.js.map → chunk-G3PMV62Z.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -5,19 +5,46 @@ export type { UseAgentSessionOptions, UseAgentSessionResult } from "./hooks/use-
5
5
  export { useReplay } from "./hooks/use-replay";
6
6
  export type { ReplayMismatch, UseReplayResult } from "./hooks/use-replay";
7
7
  export { useLlmChat } from "./hooks/use-llm-chat";
8
+ export { useMessagePin } from "./hooks/use-message-pin";
9
+ export type { UseMessagePinOptions } from "./hooks/use-message-pin";
8
10
  export type { ChatCompletionTool, LlmChatOptions, LlmToolCall, UseLlmChatResult, } from "./hooks/use-llm-chat";
9
11
  export { ChatView } from "./components/ChatView";
10
12
  export type { ChatViewClassNames, ChatViewProps, ChatViewRenderers, ChatViewSlots, FollowupInteractionEvent, } from "./components/ChatView";
13
+ export { SessionPluginSelector } from "./components/SessionPluginSelector";
14
+ export type { SessionPluginSelectorProps } from "./components/SessionPluginSelector";
15
+ export { SessionPluginIcon, sessionPluginLabel } from "./components/SessionPluginIcon";
16
+ export type { SessionPluginIconProps, SessionPluginLabelProps } from "./components/SessionPluginIcon";
17
+ export { SessionPluginConfigDialog } from "./components/SessionPluginConfigDialog";
18
+ export type { SessionPluginConfigDialogProps } from "./components/SessionPluginConfigDialog";
19
+ export { SessionPluginConfigForm } from "./components/SessionPluginConfigForm";
20
+ export type { SessionPluginConfigDraft, SessionPluginConfigFormProps, } from "./components/SessionPluginConfigForm";
11
21
  export { AgentChat } from "./components/AgentChat";
12
22
  export type { AgentChatProps } from "./components/AgentChat";
13
23
  export { LlmChat } from "./components/LlmChat";
14
24
  export type { LlmChatHandle, LlmChatProps } from "./components/LlmChat";
15
25
  export type { LlmAdvancedSettings, LlmOverride } from "./components/LlmAdvancedSettings";
16
26
  export { MarkdownContent } from "./components/MarkdownContent";
27
+ export { normalizeAdjacentUrlFormatting } from "./components/MarkdownContent";
17
28
  export type { MarkdownContentProps } from "./components/MarkdownContent";
29
+ export { WhatIfUserBubble } from "./components/WhatIfUserBubble";
30
+ export type { WhatIfUserBubbleProps } from "./components/WhatIfUserBubble";
31
+ export { parseWhatIfPrompt } from "./lib/whatif-prompt";
32
+ export type { ParsedWhatIfPrompt, WhatIfQuote } from "./lib/whatif-prompt";
18
33
  export { ReplayBar } from "./components/ReplayBar";
19
34
  export type { ReplayBarProps } from "./components/ReplayBar";
20
35
  export { ReplayMismatchPrompt } from "./components/ReplayMismatchPrompt";
21
36
  export type { ReplayMismatchPromptProps } from "./components/ReplayMismatchPrompt";
22
37
  export type { ToolCallRenderer } from "./components/ToolCallBlock";
38
+ export { CurrentPlanPanel, getPlanUpdateDisplayState, isPlanUpdateTool, PLAN_AUTO_COLLAPSE_MS, parsePlanUpdate, pickCurrentPlanStep, PlanUpdateBlock, } from "./components/PlanUpdateBlock";
39
+ export type { PlanStepStatus, PlanUpdateData, PlanUpdateDisplayState, } from "./components/PlanUpdateBlock";
40
+ export { ContextCard, ContextGroupCard } from "./components/ContextCard";
41
+ export type { ContextCardProps, ContextGroupCardProps } from "./components/ContextCard";
42
+ export { collectMemoryRefs, MemoryRefsHint } from "./components/AssistantTurnBlock";
43
+ export { ToolUiCardView } from "./components/ToolUiCardView";
44
+ export { McpAppCard } from "./components/McpAppCard";
45
+ export type { McpAppMessage } from "./components/McpAppCard";
46
+ export { SessionMemoryToggle } from "./components/SessionMemoryToggle";
47
+ export type { SessionMemoryToggleProps } from "./components/SessionMemoryToggle";
48
+ export { isAgentComputerCommand, isAgentComputerToolCall, classifyAgentComputerLaunchOutcome, } from "./lib/agent-computer-command";
49
+ export type { AgentComputerLaunchOutcome } from "./lib/agent-computer-command";
23
50
  export * from "@blade-hq/agent-client";