@opengeni/react 5.0.5-canary.0 → 5.0.5-canary.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/{chunk-SCZ6SUBW.js → chunk-H63SQTGI.js} +1258 -1837
- package/dist/chunk-H63SQTGI.js.map +1 -0
- package/dist/chunk-HQV2I5HV.js +124 -0
- package/dist/chunk-HQV2I5HV.js.map +1 -0
- package/dist/chunk-M2HNWZYR.js +835 -0
- package/dist/chunk-M2HNWZYR.js.map +1 -0
- package/dist/{chunk-Z7WBDB4E.js → chunk-V3WX3TQG.js} +283 -391
- package/dist/chunk-V3WX3TQG.js.map +1 -0
- package/dist/components/message-timeline.d.ts +3 -1
- package/dist/composer.js +2 -1
- package/dist/connect-chooser.d.ts +1 -0
- package/dist/connect-panel.d.ts +2 -1
- package/dist/connect.d.ts +7 -0
- package/dist/connect.js +791 -183
- package/dist/connect.js.map +1 -1
- package/dist/connection-catalog.d.ts +33 -0
- package/dist/connection-installed.d.ts +15 -0
- package/dist/connection-logo.d.ts +6 -0
- package/dist/connection-type-picker.d.ts +6 -0
- package/dist/index.js +17 -12
- package/dist/index.js.map +1 -1
- package/dist/plugin-details.d.ts +14 -0
- package/dist/plugin-discovery.d.ts +14 -0
- package/dist/session-ui.d.ts +3 -0
- package/dist/session-ui.js +113 -2
- package/dist/session-ui.js.map +1 -1
- package/dist/skill-discovery.d.ts +29 -0
- package/dist/timeline/activity-rail.d.ts +3 -1
- package/dist/timeline/genie-loading.d.ts +24 -0
- package/dist/timeline/startup-preference.d.ts +3 -0
- package/dist/timeline/startup-timings.d.ts +4 -0
- package/package.json +4 -3
- package/src/components/message-timeline.tsx +127 -20
- package/src/connect-chooser.tsx +81 -21
- package/src/connect-panel.tsx +7 -1
- package/src/connect.ts +21 -0
- package/src/connection-catalog.tsx +153 -0
- package/src/connection-installed.tsx +45 -0
- package/src/connection-logo.tsx +29 -0
- package/src/connection-type-picker.tsx +36 -0
- package/src/hooks/use-codex-accounts.ts +1 -0
- package/src/plugin-details.tsx +182 -0
- package/src/plugin-discovery.tsx +161 -0
- package/src/session-ui.ts +3 -0
- package/src/skill-discovery.tsx +152 -0
- package/src/timeline/activity-rail.tsx +75 -4
- package/src/timeline/genie-loading.tsx +112 -0
- package/src/timeline/startup-preference.ts +33 -0
- package/src/timeline/startup-timings.tsx +145 -0
- package/src/timeline/turn-summary.tsx +8 -3
- package/styles/compiled.css +73 -0
- package/styles/connect.css +149 -1
- package/styles/index.css +15 -0
- package/dist/chunk-SCZ6SUBW.js.map +0 -1
- package/dist/chunk-Z7WBDB4E.js.map +0 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type GenieLoadingOptions } from "../timeline/genie-loading.js";
|
|
1
2
|
import type { DraftTimelineAnnotation, SessionEvent, SessionStatus } from "@opengeni/sdk";
|
|
2
3
|
import { type ReactNode } from "react";
|
|
3
4
|
import { type OlderHistoryLoader } from "../older-history.js";
|
|
@@ -66,6 +67,7 @@ export type MessageTimelineProps = {
|
|
|
66
67
|
*/
|
|
67
68
|
computeLabel?: string | null | undefined;
|
|
68
69
|
/** Customize collapsed turn facets for this timeline instance. */
|
|
70
|
+
genieLoading?: GenieLoadingOptions | undefined;
|
|
69
71
|
turnSummary?: TurnSummaryOptions | undefined;
|
|
70
72
|
/** Follow new events when pinned to the bottom. Defaults to true. */
|
|
71
73
|
autoFollow?: boolean | undefined;
|
|
@@ -111,7 +113,7 @@ export type MessageTimelineProps = {
|
|
|
111
113
|
* cards, goal markers, and status transitions. Owns stick-to-bottom scrolling
|
|
112
114
|
* with a "jump to latest" affordance when the reader scrolls back.
|
|
113
115
|
*/
|
|
114
|
-
export declare function MessageTimeline({ events, items, status: _status, renderMessageActions, renderMessageText, onOpenSession, onMemoryClick, onReconnect, renderAuthNeeded, shouldRenderAuthNeeded, resolveProviderLogo, toolRegistry, loadRetainedScreenshot, loadRetainedArtifact, loadVideoArtifactPlayback, computeLabel, turnSummary, autoFollow, onAnnotate, draftAnnotations, onDraftAnnotationSelect, hasOlder, loadingOlder, onLoadOlder, onJumpToStart, loadingOldest, hasNewer, loadingNewer, onLoadNewer, onJumpToLatest, trailingState, emptyState, className, }: MessageTimelineProps): import("react").JSX.Element;
|
|
116
|
+
export declare function MessageTimeline({ events, items, status: _status, renderMessageActions, renderMessageText, onOpenSession, onMemoryClick, onReconnect, renderAuthNeeded, shouldRenderAuthNeeded, resolveProviderLogo, toolRegistry, loadRetainedScreenshot, loadRetainedArtifact, loadVideoArtifactPlayback, computeLabel, genieLoading, turnSummary, autoFollow, onAnnotate, draftAnnotations, onDraftAnnotationSelect, hasOlder, loadingOlder, onLoadOlder, onJumpToStart, loadingOldest, hasNewer, loadingNewer, onLoadNewer, onJumpToLatest, trailingState, emptyState, className, }: MessageTimelineProps): import("react").JSX.Element;
|
|
115
117
|
/**
|
|
116
118
|
* Settled turns lift the final agent answer out as a sibling group. Include it
|
|
117
119
|
* in "Copy turn" when present so the chip copies the full assistant reply.
|
package/dist/composer.js
CHANGED
|
@@ -4,6 +4,7 @@ export type ConnectChooserProps = {
|
|
|
4
4
|
/** Exact host return string; no completion parameters are added. */
|
|
5
5
|
returnUrl: string;
|
|
6
6
|
className?: string;
|
|
7
|
+
presentation?: "select" | "catalog";
|
|
7
8
|
};
|
|
8
9
|
/** Catalog readiness is supplied by the authenticated backend, never inferred
|
|
9
10
|
* from the existence of a provider definition. Host replaces the controller on
|
package/dist/connect-panel.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ export type ConnectPanelProps = ConnectSetupProps & {
|
|
|
3
3
|
returnUrl: string;
|
|
4
4
|
title?: string;
|
|
5
5
|
showAccounts?: boolean;
|
|
6
|
+
presentation?: "select" | "catalog";
|
|
6
7
|
};
|
|
7
8
|
/** Optional composition over the same unstyled surfaces. Import
|
|
8
9
|
* @opengeni/react/connect.css for styling; the host retains navigation,
|
|
9
10
|
* transport, actor admission, and controller lifetime. */
|
|
10
|
-
export declare function ConnectPanel({ returnUrl, title, showAccounts, className, ...setup }: ConnectPanelProps): import("react").JSX.Element;
|
|
11
|
+
export declare function ConnectPanel({ returnUrl, title, showAccounts, presentation, className, ...setup }: ConnectPanelProps): import("react").JSX.Element;
|
package/dist/connect.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { SkillDiscovery, type SkillDiscoveryProps, type SkillDiscoveryClient, type SkillDiscoveryItem, type SkillDiscoveryPage, } from "./skill-discovery.js";
|
|
1
2
|
import type { ConnectController } from "@opengeni/connect";
|
|
2
3
|
export { ConnectSetup, type ConnectSetupProps } from "./connect-setup.js";
|
|
3
4
|
export { ConnectChooser, type ConnectChooserProps } from "./connect-chooser.js";
|
|
@@ -28,3 +29,9 @@ export declare function useConnect(controller: ConnectController): {
|
|
|
28
29
|
advance: (action: import("@opengeni/connect").ConnectAdvance, idempotencyKey: string) => Promise<import("@opengeni/connect").ConnectAttempt>;
|
|
29
30
|
cancel: (idempotencyKey: string) => Promise<import("@opengeni/connect").ConnectAttempt>;
|
|
30
31
|
};
|
|
32
|
+
export { ConnectionCatalog, ConnectionServiceRow, ConnectionOptionRow, type ConnectionCatalogProps, type ConnectionCatalogService, type ConnectionCatalogOption, } from "./connection-catalog.js";
|
|
33
|
+
export { ConnectionInstalled, type ConnectionInstalledItem } from "./connection-installed.js";
|
|
34
|
+
export { ConnectionTypePicker, type ConnectionType } from "./connection-type-picker.js";
|
|
35
|
+
export { ConnectionLogo } from "./connection-logo.js";
|
|
36
|
+
export { PluginDiscovery, type PluginDiscoveryProps } from "./plugin-discovery.js";
|
|
37
|
+
export { PluginDetails } from "./plugin-details.js";
|