ghostykit 0.3.2 → 0.4.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.
@@ -1,19 +1,7 @@
1
- import { type ReactNode } from "react";
2
- import type { ConnectPhase } from "../core/types";
3
1
  /** Los tres puntitos de «escribiendo» (color y animación en CSS: `gc-typing`). */
4
2
  export declare function TypingDots(): import("react").JSX.Element;
5
- export declare function WaitLabel({ phase, since, elsewhere, onLost, showDuration, }: {
6
- phase: ConnectPhase;
3
+ export declare function WaitLabel({ since, showDuration, }: {
7
4
  /** Desde que se MANDÓ el mensaje (no desde que se montó la etiqueta). */
8
5
  since?: number | null;
9
- elsewhere?: boolean;
10
- onLost?: () => void;
11
6
  showDuration?: boolean;
12
7
  }): import("react").JSX.Element;
13
- /** Lo que ocupa el hilo mientras se conecta: tres pasos reales en vez de un «Conectando…» mudo. */
14
- export declare function ConnectingState({ phase, error, avatar, onRetry }: {
15
- phase: ConnectPhase;
16
- error: string | null;
17
- avatar?: ReactNode;
18
- onRetry?: () => void;
19
- }): import("react").JSX.Element;
@@ -1,15 +1,15 @@
1
1
  export { Piloto, Piloto as default, type PilotoFeatures, type PilotoHandle, type PilotoProps, type PilotoSlots } from "./Piloto";
2
- export { usePilot, useSseTransport, type PermissionAnswer, type PermissionHandler, type Pilot, type SendOptions, type TurnDoneInfo, type UsePilotOptions } from "./usePilot";
3
- export { AgentBubble, CopyUserMessage, DeliveryChips, ReplyOptionButtons, TurnFooter, UsageStats, UserBubble, type AgentBubbleProps } from "./Bubble";
4
- export { AgentSteps, ClawIcon, DEFAULT_TOOL_ICONS, Narration, ToolRow } from "./Steps";
2
+ export { toAgUiContext, usePilot, type Pilot, type SendOptions, type TurnDoneInfo, type UsePilotOptions } from "./usePilot";
3
+ export { AgentBubble, CopyUserMessage, ReplyOptionButtons, TurnFooter, UsageStats, UserBubble, type AgentBubbleProps } from "./Bubble";
4
+ export { AgentSteps, ArcadeIcon, ClawIcon, DEFAULT_TOOL_ICONS, Narration, RobotArmIcon, ToolRow } from "./Steps";
5
5
  export { LinkSafetyModal, Markdown } from "./Markdown";
6
6
  export { InlineMarkdown, renderInline } from "./InlineMarkdown";
7
7
  export { useTextAtPace } from "./TextAtPace";
8
- export { Composer, ModelPicker, mimeOf, type ComposerProps, type UploadResult } from "./Composer";
8
+ export { Composer, ModelPicker, mimeOf, type ComposerProps, type ModelOption, type UploadResult } from "./Composer";
9
9
  export { ConfirmCard, DecisionLines } from "./ConfirmCard";
10
10
  export { ReferenceChips, Suggestions } from "./Chips";
11
- export { ConnectingState, TypingDots, WaitLabel } from "./Status";
11
+ export { TypingDots, WaitLabel } from "./Status";
12
12
  export { PilotoContext, usePiloto, type MarkdownOptions, type PilotIcon, type PilotoConfig, type PilotTheme } from "./context";
13
13
  export { STRINGS_EN, STRINGS_ES, type PilotStrings } from "./strings";
14
14
  export * from "../core";
15
- export { PilotHttpError, createPostStreamTransport, createSseTransport, readSse, type PilotHistory, type PilotListener, type PilotTransport, type PostStreamTransportOptions, type SseTransportOptions, type SubscribeOptions, } from "../transport";
15
+ export { PilotHttpError, createAgUiTransport, readSse, type AgUiTransportOptions, type PilotTransport, type SseMessage } from "../transport";