@athenaintel/react 0.10.40 → 0.10.41-rc.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/README.md +52 -1
- package/dist/chat/StatewireApprovalCard.d.ts +2 -0
- package/dist/chat/StatewireClientToolBridge.d.ts +14 -0
- package/dist/chat/StatewireQueuedMessages.d.ts +8 -0
- package/dist/chat/statewire-approval.d.ts +35 -0
- package/dist/chat/statewire-banners.d.ts +17 -0
- package/dist/chat/statewire-client-tools.d.ts +24 -0
- package/dist/chat/super-grouping/SuperGroupingCard.d.ts +1 -1
- package/dist/index.cjs +6589 -1387
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +21 -2
- package/dist/index.js +6591 -1389
- package/dist/index.js.map +1 -1
- package/dist/lib/athena-urls.d.ts +30 -0
- package/dist/provider/AthenaContext.d.ts +4 -0
- package/dist/provider/AthenaProvider.d.ts +22 -1
- package/dist/provider/config.d.ts +7 -0
- package/dist/provider/statewire-lifecycle-context.d.ts +10 -0
- package/dist/runtime/statewire-lifecycle.d.ts +22 -0
- package/dist/runtime/statewire-run-config.d.ts +38 -0
- package/dist/runtime/transport.d.ts +26 -0
- package/dist/runtime/useAthenaStatewireRuntime.d.ts +67 -0
- package/dist/threads/api.d.ts +14 -0
- package/dist/threads/statewire-thread-list.d.ts +42 -0
- package/dist/threads/useActiveThreadStateHydration.d.ts +4 -6
- package/dist/threads/useAthenaThreadManager.d.ts +7 -2
- package/dist/tools/tool-uis.d.ts +8 -0
- package/package.json +10 -4
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,19 @@ export { capturePosthogEvent, capturePosthogException, getPosthogCaptureGate, wr
|
|
|
8
8
|
export { buildCoalescedCaptureProperties, isCriticalPosthogEvent, withCaptureGateBypass, type CaptureGateSnapshot, type CoalescedCapturePayload, } from './lib/posthog/capture-gate';
|
|
9
9
|
export { AthenaAssistantActionBar, AthenaAssistantMessage, AthenaChat, AthenaReasoningPart, AthenaUserMessage, } from './chat/AthenaChat';
|
|
10
10
|
export type { AthenaAssistantActionBarProps, AthenaAssistantMessageProps, AthenaChatComponents, AthenaChatMessagePartComponents, AthenaChatProps, AthenaReasoningPartProps, AthenaUserMessageProps, WelcomeSuggestion, } from './chat/AthenaChat';
|
|
11
|
+
export { StatewireApprovalCard } from './chat/StatewireApprovalCard';
|
|
12
|
+
export { StatewireQueuedMessages } from './chat/StatewireQueuedMessages';
|
|
13
|
+
export { StatewireConnectionBanner, StatewireErrorBanner, StatewireLegacyReadOnlyBanner, } from './chat/statewire-banners';
|
|
14
|
+
export { StatewireClientToolBridge } from './chat/StatewireClientToolBridge';
|
|
15
|
+
export { collectStatewireClientTools, statewireClientToolWireEntries, } from './chat/statewire-client-tools';
|
|
16
|
+
export type { StatewireClientTool } from './chat/statewire-client-tools';
|
|
17
|
+
export { useAthenaStatewireLifecycle } from './provider/statewire-lifecycle-context';
|
|
18
|
+
export { athenaStatewireErrorNotice } from './runtime/statewire-lifecycle';
|
|
19
|
+
export type { AthenaStatewireErrorNotice, AthenaStatewireLifecycleState, } from './runtime/statewire-lifecycle';
|
|
20
|
+
export { useAthenaStatewireThreadList } from './threads/statewire-thread-list';
|
|
21
|
+
export type { AthenaStatewireThreadListState, AthenaStatewireThreadSummary, } from './threads/statewire-thread-list';
|
|
22
|
+
export { asHitlApproval, hasStatewireThreadExtras, isPendingInterrupt, readInterruptMessage, } from './chat/statewire-approval';
|
|
23
|
+
export type { HitlApprovalPayload } from './chat/statewire-approval';
|
|
11
24
|
export { TiptapComposer } from './chat/tiptap-composer';
|
|
12
25
|
export type { TiptapComposerProps } from './chat/tiptap-composer';
|
|
13
26
|
export { TiptapText } from './chat/tiptap-text';
|
|
@@ -44,7 +57,7 @@ export { ThreadList } from './threads/ThreadList';
|
|
|
44
57
|
export type { ThreadListProps } from './threads/ThreadList';
|
|
45
58
|
export type { ThreadSummary } from './threads/api';
|
|
46
59
|
export { useRefreshThreadList, useAthenaThreadListAdapter, useAthenaThreadId, AthenaThreadIdContext } from './threads/adapter';
|
|
47
|
-
export { listThreads, archiveThread, getThreadState, createThread } from './threads/api';
|
|
60
|
+
export { listThreads, archiveThread, getThreadState, createThread, setThreadReadState } from './threads/api';
|
|
48
61
|
export { useAthenaThreadManager } from './threads/useAthenaThreadManager';
|
|
49
62
|
export type { AthenaThreadManagerState } from './threads/useAthenaThreadManager';
|
|
50
63
|
export { useAppendToComposer } from './composer/useAppendToComposer';
|
|
@@ -65,10 +78,16 @@ export type { MentionTool } from './mentions/use-mention-suggestions';
|
|
|
65
78
|
export { useMentionSuggestions } from './mentions/use-mention-suggestions';
|
|
66
79
|
export { useAthenaRuntime, DEFAULT_BACKEND_URL, DEFAULT_API_URL } from './runtime/useAthenaRuntime';
|
|
67
80
|
export type { AthenaRuntimeConfig } from './runtime/useAthenaRuntime';
|
|
81
|
+
export { DEFAULT_STATEWIRE_MODEL, useAthenaStatewireRuntime, } from './runtime/useAthenaStatewireRuntime';
|
|
82
|
+
export type { AthenaStatewireRuntimeConfig } from './runtime/useAthenaStatewireRuntime';
|
|
83
|
+
export { buildStatewireRunConfig } from './runtime/statewire-run-config';
|
|
84
|
+
export type { StatewireRunConfigOptions } from './runtime/statewire-run-config';
|
|
85
|
+
export { ATHENA_TRANSPORTS, DEFAULT_ATHENA_TRANSPORT, resolveAthenaTransport, } from './runtime/transport';
|
|
86
|
+
export type { AthenaTransport, ResolvedAthenaTransport } from './runtime/transport';
|
|
68
87
|
export { useParentAuth, useParentBridge } from './runtime/auth';
|
|
69
88
|
export type { ParentBridgeState } from './runtime/auth';
|
|
70
89
|
export { autoCloseInFlightSubgraphMessages, convertLangChainToThreadMessages, PTC_SUBCALL_DID_NOT_COMPLETE_MESSAGE, } from './runtime/converter';
|
|
71
|
-
export { createAthenaSpacesUrl, DEFAULT_APP_URL, deriveAthenaApiUrl, deriveAthenaAppUrl, } from './lib/athena-urls';
|
|
90
|
+
export { createAthenaSpacesUrl, DEFAULT_APP_URL, DEFAULT_STATEWIRE_SYNC_URL, deriveAthenaApiUrl, deriveAthenaAppUrl, deriveStatewireSyncUrl, resolveStatewireSyncUrl, } from './lib/athena-urls';
|
|
72
91
|
export type { AthenaEnvironment } from './lib/athena-urls';
|
|
73
92
|
export { Button, buttonVariants } from './ui/button';
|
|
74
93
|
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from './ui/tooltip';
|