@ateam-ai-mobile/core 0.1.38 → 0.1.41
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/index.d.mts +76 -1
- package/dist/index.d.ts +76 -1
- package/dist/index.js +264 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +257 -37
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/tenants.ts +2 -0
- package/src/chat/liveGoals.ts +39 -0
- package/src/chat/sideChat.ts +165 -0
- package/src/chat/sideChatPure.ts +59 -0
- package/src/chat/store.ts +15 -7
- package/src/chat/types.ts +7 -1
- package/src/index.ts +6 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
|
+
import { UseBoundStore, StoreApi } from 'zustand';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Storage adapter contracts. The core is platform-agnostic (no Expo, no
|
|
@@ -766,6 +767,25 @@ declare function listMyTenants(): Promise<TenantMembership[]>;
|
|
|
766
767
|
*/
|
|
767
768
|
declare function switchTenant(targetTenantId: string): Promise<AdasSession>;
|
|
768
769
|
|
|
770
|
+
type GoalWire = {
|
|
771
|
+
l: [string, string, string][];
|
|
772
|
+
c?: string | null;
|
|
773
|
+
};
|
|
774
|
+
type JobGoals = {
|
|
775
|
+
l: [string, string, string][];
|
|
776
|
+
c: string | null;
|
|
777
|
+
tools: Record<string, string[]>;
|
|
778
|
+
lastKey?: string;
|
|
779
|
+
ids?: string;
|
|
780
|
+
};
|
|
781
|
+
type GoalRow = {
|
|
782
|
+
id: string;
|
|
783
|
+
title: string;
|
|
784
|
+
state: 'done' | 'current' | 'todo';
|
|
785
|
+
tools: string[];
|
|
786
|
+
};
|
|
787
|
+
declare function goalRows(goals: JobGoals | undefined): GoalRow[];
|
|
788
|
+
|
|
769
789
|
interface ToolCall {
|
|
770
790
|
name: string;
|
|
771
791
|
args: Record<string, unknown>;
|
|
@@ -794,6 +814,7 @@ interface JobProgress {
|
|
|
794
814
|
message: string;
|
|
795
815
|
step?: number;
|
|
796
816
|
total?: number;
|
|
817
|
+
seq?: number;
|
|
797
818
|
};
|
|
798
819
|
/** One warm, present-tense, localized line describing the current action
|
|
799
820
|
* (backend statusI18n). Absent when disabled / not yet cached → fall back
|
|
@@ -801,6 +822,10 @@ interface JobProgress {
|
|
|
801
822
|
humanStatus?: string;
|
|
802
823
|
/** Lookup { rawToken → friendly phrase } for tokens in this snapshot. */
|
|
803
824
|
humanLabels?: Record<string, string>;
|
|
825
|
+
/** The job's goal checklist, built from the goals Core streams on the job message plus the live `→ tool` line (chat/liveGoals.ts). */
|
|
826
|
+
goals?: JobGoals;
|
|
827
|
+
/** The raw `goals` of ONE job message, in transit from snapshotToProgress to updateJobProgress (which folds it into `goals` and drops it). */
|
|
828
|
+
goalsWire?: GoalWire;
|
|
804
829
|
pendingQuestion?: {
|
|
805
830
|
inputId: string;
|
|
806
831
|
question: string;
|
|
@@ -847,6 +872,8 @@ interface Message {
|
|
|
847
872
|
chainId?: string;
|
|
848
873
|
/** Turn variant. 'notification' = proactive/system-initiated. */
|
|
849
874
|
kind?: 'notification' | string;
|
|
875
|
+
/** A side chat's own message this phone sent that the server has not saved yet (see chat/sideChat.ts). */
|
|
876
|
+
local?: boolean;
|
|
850
877
|
}
|
|
851
878
|
|
|
852
879
|
interface ChatState {
|
|
@@ -886,6 +913,54 @@ declare function setClientDeclarationProvider(fn: (() => ClientDeclaration | nul
|
|
|
886
913
|
/** Tear down the live connection (env/auth switch, SDK unmount). */
|
|
887
914
|
declare function closeChatStream(): void;
|
|
888
915
|
|
|
916
|
+
interface SideChatState {
|
|
917
|
+
pageId: string;
|
|
918
|
+
messages: Message[];
|
|
919
|
+
/** A turn of this chat is running: Send waits (the web window does the same). */
|
|
920
|
+
loading: boolean;
|
|
921
|
+
loaded: boolean;
|
|
922
|
+
load: () => Promise<void>;
|
|
923
|
+
send: (text: string) => Promise<boolean>;
|
|
924
|
+
}
|
|
925
|
+
type SideChatStore = UseBoundStore<StoreApi<SideChatState>>;
|
|
926
|
+
/** The side chat for this page in the current workspace; reopened chats keep a running turn. */
|
|
927
|
+
declare function getSideChatStore(pageId: string): SideChatStore;
|
|
928
|
+
/** Forget every side chat (sign-out, workspace or environment switch). */
|
|
929
|
+
declare function clearSideChats(): void;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Side chat — the pure rules (no imports of the SDK, so they run under plain node tests).
|
|
933
|
+
*
|
|
934
|
+
* A builder's page asks for a side chat with the widget message `open-side-chat`. The look it may give the chat is
|
|
935
|
+
* cleaned here (same limits and shape as the web host: ai-dev-assistant packages/widget-surface/src/sideChatOptions.js),
|
|
936
|
+
* and the chat's saved turns are merged with the messages this phone sent that the server has not saved yet.
|
|
937
|
+
*/
|
|
938
|
+
|
|
939
|
+
declare const SIDE_CHAT_LIMITS: {
|
|
940
|
+
readonly title: 60;
|
|
941
|
+
readonly header: 40;
|
|
942
|
+
readonly welcome: 200;
|
|
943
|
+
readonly placeholder: 60;
|
|
944
|
+
};
|
|
945
|
+
interface SideChatOptions {
|
|
946
|
+
title: string;
|
|
947
|
+
header: string;
|
|
948
|
+
welcome: string;
|
|
949
|
+
placeholder: string;
|
|
950
|
+
accent: string | null;
|
|
951
|
+
side: 'left' | 'right';
|
|
952
|
+
}
|
|
953
|
+
/** What the page asked for, cleaned: plain text cut to a length, one hex color, `left`/`right`. A widget is not trusted with markup. */
|
|
954
|
+
declare function sideChatOptions(payload: unknown): SideChatOptions;
|
|
955
|
+
/** The words in the TOPIC tag: the title the page gave, else the last part of its page id ("mcp:crm:deal-board" → "Deal Board"). */
|
|
956
|
+
declare function topicLabel(pageId: string, title?: string): string;
|
|
957
|
+
/**
|
|
958
|
+
* The chat's messages: the server's saved turns (oldest first), then this phone's own messages of a turn the server does
|
|
959
|
+
* not hold yet. A local message carries `chainId`; it is dropped once a saved message of that chain is there. A local
|
|
960
|
+
* message with no chain (a send that never started, an error) stays. So a turn is drawn once.
|
|
961
|
+
*/
|
|
962
|
+
declare function mergeSideChatHistory(saved: Message[], current: Message[]): Message[];
|
|
963
|
+
|
|
889
964
|
/**
|
|
890
965
|
* What the phone's chat bubble is handed for a reply: the blocks of a conversation turn as ONE flat string, and that string
|
|
891
966
|
* split back into what the bubble draws. Pure and import-free, so a test runs it in node (it used to sit in store.ts).
|
|
@@ -1564,4 +1639,4 @@ interface AcsKvStorage {
|
|
|
1564
1639
|
}
|
|
1565
1640
|
declare function setAcsCacheStorage(kv: AcsKvStorage | null): void;
|
|
1566
1641
|
|
|
1567
|
-
export { type AcsArtifact, type AcsDeleteReason, type AcsEvent, type AcsKvStorage, type AcsPatchReason, type AcsReachabilityReporter, type AcsSurface, type AdasConfig, type AdasGateFlags, type AdasPhase, type AdasSession, type AdasUser, type AttachmentCache, type AttachmentPreview, type AuthSession, type AuthSessionDeps, type AuthSessionState, type BlockSegment, type BufferedCommand, CHART_BLOCK_CLOSE, CHART_BLOCK_OPEN, COMPARISON_BLOCK_CLOSE, COMPARISON_BLOCK_OPEN, type ChannelPrefs, type ChartSeries, type ChartView, type ComparisonOption, type ComparisonRow, type ComparisonView, type ConsumerCapabilityConfig, type ConsumerProviderConfig, type ConsumerSignInResult, type ConversationBlock, DETAILS_BLOCK_CLOSE, DETAILS_BLOCK_OPEN, DIAGRAM_BLOCK_CLOSE, DIAGRAM_BLOCK_OPEN, DIAGRAM_STATUSES, type DeleteResult, type DevModeState, type DevicePlatform, type DiagramFlow, type DiagramStatus, type DiagramStep, type DiagramView, type DispatchRow, type FileUploadRequest, type FileUploader, type HandoffExchangeResult, type HomeAction, type HomeActionLeaf, type HomeActionReason, type InvitePreview, type JobProgress, type LauncherPlace, type LauncherPlaces, MAX_ATTACHMENT_BYTES, MAX_INLINE_ATTACHMENT_BYTES, type Message, type MessageAttachment, type NotifChannel, type NotifPrefs, type OtpStartResult, type OutgoingAttachment, type PatchResult, PluginCommandEmitter, type PushBackend, type PushRegistration, type QuietHoursPrefs, type RefreshOutcome, type RegisterDeviceResponse, type Session, type SessionEnv, type SessionPersistence, type SessionStatus, type SessionUser, TABLE_BLOCK_CLOSE, TABLE_BLOCK_OPEN, TIMELINE_BLOCK_CLOSE, TIMELINE_BLOCK_OPEN, type TelegramBotInfo, type TenantMembership, type TenantRow, type TimelineDay, type TimelineEvent, type TimelineView, type TokenProvider, type ToolCall, type UIAction, type UploadedArtifact, VISUALS, type VisualKind, type WireAttachment, type WorkspaceCapabilities, type WorkspaceSnapshot, type WorkspaceState, ada, apiFetch, apiFetchRaw, blocksToText, borderRadius, capabilityEnabled, chartAsText, chartScale, chartView, closeChatStream, colors, comparisonAsText, comparisonView, connectAcsWs, connectorCall, createAuthSession, createPushRegistration, deleteArtifact, devModeFromCatalog, diagramAsText, diagramFlow, diagramView, disconnectAcsWs, exchangeHandoff, fetchConsumerConfig, fetchLauncherPlaces, focusPlugin, fontSize, getConfig, getConsumerAuthApiUrl, getCoreApiUrl, getCoreWsUrl, getPrefs as getNotifPrefs, getTelegramBotInfo as getNotifTelegramBotInfo, getSession, getTenant, getToken, getUser, getVoiceApiUrl, initAdas, isAdasInitialized, isDevHost, isVisualKind, joinWithApple, joinWithGoogle, linkChannelStart, linkChannelVerify, linkTelegram as linkNotifTelegram, listHomeActions, listMadeForYou, listMyTenants, listSurface, mcpFetch, mcpToolCall, nestByMaster, notifyAcsWsForeground, notifyAppForeground, numText, onAppForeground, openJoinWithApple, openJoinWithGoogle, parseDeepLinkParam, parseHandoffCode, parseInviteCode, patchArtifact, patchHomeAction, plainTextOf, pluginCommandEmitter, postCommandResult, prepareAttachments, previewInvite, readDevMode, recentDispatches as recentNotifDispatches, recordEvent, recordWidgetOpen, refreshToken, registerHostIntent, registerDevice as registerPushDevice, resolveAdasPhase, setAcsCacheStorage, setAcsReachabilityReporter, setClientDeclarationProvider, setDevMode, setHomeActionOrder, setPrefs as setNotifPrefs, setOrder, signInWithApple, signInWithGoogle, spacing, splitBlockSegments, switchTenant, tenantFromToken, timelineAsText, timelineView, unlinkChannel as unlinkNotifChannel, unregisterDevice as unregisterPushDevice, unwrapMcpResult, useCapability, useChatStore, useHomeActionsStore, useWidgetsStore, useWorkspaceStore, userFromJwt, visualViewOf };
|
|
1642
|
+
export { type AcsArtifact, type AcsDeleteReason, type AcsEvent, type AcsKvStorage, type AcsPatchReason, type AcsReachabilityReporter, type AcsSurface, type AdasConfig, type AdasGateFlags, type AdasPhase, type AdasSession, type AdasUser, type AttachmentCache, type AttachmentPreview, type AuthSession, type AuthSessionDeps, type AuthSessionState, type BlockSegment, type BufferedCommand, CHART_BLOCK_CLOSE, CHART_BLOCK_OPEN, COMPARISON_BLOCK_CLOSE, COMPARISON_BLOCK_OPEN, type ChannelPrefs, type ChartSeries, type ChartView, type ComparisonOption, type ComparisonRow, type ComparisonView, type ConsumerCapabilityConfig, type ConsumerProviderConfig, type ConsumerSignInResult, type ConversationBlock, DETAILS_BLOCK_CLOSE, DETAILS_BLOCK_OPEN, DIAGRAM_BLOCK_CLOSE, DIAGRAM_BLOCK_OPEN, DIAGRAM_STATUSES, type DeleteResult, type DevModeState, type DevicePlatform, type DiagramFlow, type DiagramStatus, type DiagramStep, type DiagramView, type DispatchRow, type FileUploadRequest, type FileUploader, type GoalRow, type HandoffExchangeResult, type HomeAction, type HomeActionLeaf, type HomeActionReason, type InvitePreview, type JobGoals, type JobProgress, type LauncherPlace, type LauncherPlaces, MAX_ATTACHMENT_BYTES, MAX_INLINE_ATTACHMENT_BYTES, type Message, type MessageAttachment, type NotifChannel, type NotifPrefs, type OtpStartResult, type OutgoingAttachment, type PatchResult, PluginCommandEmitter, type PushBackend, type PushRegistration, type QuietHoursPrefs, type RefreshOutcome, type RegisterDeviceResponse, SIDE_CHAT_LIMITS, type Session, type SessionEnv, type SessionPersistence, type SessionStatus, type SessionUser, type SideChatOptions, type SideChatState, TABLE_BLOCK_CLOSE, TABLE_BLOCK_OPEN, TIMELINE_BLOCK_CLOSE, TIMELINE_BLOCK_OPEN, type TelegramBotInfo, type TenantMembership, type TenantRow, type TimelineDay, type TimelineEvent, type TimelineView, type TokenProvider, type ToolCall, type UIAction, type UploadedArtifact, VISUALS, type VisualKind, type WireAttachment, type WorkspaceCapabilities, type WorkspaceSnapshot, type WorkspaceState, ada, apiFetch, apiFetchRaw, blocksToText, borderRadius, capabilityEnabled, chartAsText, chartScale, chartView, clearSideChats, closeChatStream, colors, comparisonAsText, comparisonView, connectAcsWs, connectorCall, createAuthSession, createPushRegistration, deleteArtifact, devModeFromCatalog, diagramAsText, diagramFlow, diagramView, disconnectAcsWs, exchangeHandoff, fetchConsumerConfig, fetchLauncherPlaces, focusPlugin, fontSize, getConfig, getConsumerAuthApiUrl, getCoreApiUrl, getCoreWsUrl, getPrefs as getNotifPrefs, getTelegramBotInfo as getNotifTelegramBotInfo, getSession, getSideChatStore, getTenant, getToken, getUser, getVoiceApiUrl, goalRows, initAdas, isAdasInitialized, isDevHost, isVisualKind, joinWithApple, joinWithGoogle, linkChannelStart, linkChannelVerify, linkTelegram as linkNotifTelegram, listHomeActions, listMadeForYou, listMyTenants, listSurface, mcpFetch, mcpToolCall, mergeSideChatHistory, nestByMaster, notifyAcsWsForeground, notifyAppForeground, numText, onAppForeground, openJoinWithApple, openJoinWithGoogle, parseDeepLinkParam, parseHandoffCode, parseInviteCode, patchArtifact, patchHomeAction, plainTextOf, pluginCommandEmitter, postCommandResult, prepareAttachments, previewInvite, readDevMode, recentDispatches as recentNotifDispatches, recordEvent, recordWidgetOpen, refreshToken, registerHostIntent, registerDevice as registerPushDevice, resolveAdasPhase, setAcsCacheStorage, setAcsReachabilityReporter, setClientDeclarationProvider, setDevMode, setHomeActionOrder, setPrefs as setNotifPrefs, setOrder, sideChatOptions, signInWithApple, signInWithGoogle, spacing, splitBlockSegments, switchTenant, tenantFromToken, timelineAsText, timelineView, topicLabel, unlinkChannel as unlinkNotifChannel, unregisterDevice as unregisterPushDevice, unwrapMcpResult, useCapability, useChatStore, useHomeActionsStore, useWidgetsStore, useWorkspaceStore, userFromJwt, visualViewOf };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as zustand from 'zustand';
|
|
2
|
+
import { UseBoundStore, StoreApi } from 'zustand';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Storage adapter contracts. The core is platform-agnostic (no Expo, no
|
|
@@ -766,6 +767,25 @@ declare function listMyTenants(): Promise<TenantMembership[]>;
|
|
|
766
767
|
*/
|
|
767
768
|
declare function switchTenant(targetTenantId: string): Promise<AdasSession>;
|
|
768
769
|
|
|
770
|
+
type GoalWire = {
|
|
771
|
+
l: [string, string, string][];
|
|
772
|
+
c?: string | null;
|
|
773
|
+
};
|
|
774
|
+
type JobGoals = {
|
|
775
|
+
l: [string, string, string][];
|
|
776
|
+
c: string | null;
|
|
777
|
+
tools: Record<string, string[]>;
|
|
778
|
+
lastKey?: string;
|
|
779
|
+
ids?: string;
|
|
780
|
+
};
|
|
781
|
+
type GoalRow = {
|
|
782
|
+
id: string;
|
|
783
|
+
title: string;
|
|
784
|
+
state: 'done' | 'current' | 'todo';
|
|
785
|
+
tools: string[];
|
|
786
|
+
};
|
|
787
|
+
declare function goalRows(goals: JobGoals | undefined): GoalRow[];
|
|
788
|
+
|
|
769
789
|
interface ToolCall {
|
|
770
790
|
name: string;
|
|
771
791
|
args: Record<string, unknown>;
|
|
@@ -794,6 +814,7 @@ interface JobProgress {
|
|
|
794
814
|
message: string;
|
|
795
815
|
step?: number;
|
|
796
816
|
total?: number;
|
|
817
|
+
seq?: number;
|
|
797
818
|
};
|
|
798
819
|
/** One warm, present-tense, localized line describing the current action
|
|
799
820
|
* (backend statusI18n). Absent when disabled / not yet cached → fall back
|
|
@@ -801,6 +822,10 @@ interface JobProgress {
|
|
|
801
822
|
humanStatus?: string;
|
|
802
823
|
/** Lookup { rawToken → friendly phrase } for tokens in this snapshot. */
|
|
803
824
|
humanLabels?: Record<string, string>;
|
|
825
|
+
/** The job's goal checklist, built from the goals Core streams on the job message plus the live `→ tool` line (chat/liveGoals.ts). */
|
|
826
|
+
goals?: JobGoals;
|
|
827
|
+
/** The raw `goals` of ONE job message, in transit from snapshotToProgress to updateJobProgress (which folds it into `goals` and drops it). */
|
|
828
|
+
goalsWire?: GoalWire;
|
|
804
829
|
pendingQuestion?: {
|
|
805
830
|
inputId: string;
|
|
806
831
|
question: string;
|
|
@@ -847,6 +872,8 @@ interface Message {
|
|
|
847
872
|
chainId?: string;
|
|
848
873
|
/** Turn variant. 'notification' = proactive/system-initiated. */
|
|
849
874
|
kind?: 'notification' | string;
|
|
875
|
+
/** A side chat's own message this phone sent that the server has not saved yet (see chat/sideChat.ts). */
|
|
876
|
+
local?: boolean;
|
|
850
877
|
}
|
|
851
878
|
|
|
852
879
|
interface ChatState {
|
|
@@ -886,6 +913,54 @@ declare function setClientDeclarationProvider(fn: (() => ClientDeclaration | nul
|
|
|
886
913
|
/** Tear down the live connection (env/auth switch, SDK unmount). */
|
|
887
914
|
declare function closeChatStream(): void;
|
|
888
915
|
|
|
916
|
+
interface SideChatState {
|
|
917
|
+
pageId: string;
|
|
918
|
+
messages: Message[];
|
|
919
|
+
/** A turn of this chat is running: Send waits (the web window does the same). */
|
|
920
|
+
loading: boolean;
|
|
921
|
+
loaded: boolean;
|
|
922
|
+
load: () => Promise<void>;
|
|
923
|
+
send: (text: string) => Promise<boolean>;
|
|
924
|
+
}
|
|
925
|
+
type SideChatStore = UseBoundStore<StoreApi<SideChatState>>;
|
|
926
|
+
/** The side chat for this page in the current workspace; reopened chats keep a running turn. */
|
|
927
|
+
declare function getSideChatStore(pageId: string): SideChatStore;
|
|
928
|
+
/** Forget every side chat (sign-out, workspace or environment switch). */
|
|
929
|
+
declare function clearSideChats(): void;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Side chat — the pure rules (no imports of the SDK, so they run under plain node tests).
|
|
933
|
+
*
|
|
934
|
+
* A builder's page asks for a side chat with the widget message `open-side-chat`. The look it may give the chat is
|
|
935
|
+
* cleaned here (same limits and shape as the web host: ai-dev-assistant packages/widget-surface/src/sideChatOptions.js),
|
|
936
|
+
* and the chat's saved turns are merged with the messages this phone sent that the server has not saved yet.
|
|
937
|
+
*/
|
|
938
|
+
|
|
939
|
+
declare const SIDE_CHAT_LIMITS: {
|
|
940
|
+
readonly title: 60;
|
|
941
|
+
readonly header: 40;
|
|
942
|
+
readonly welcome: 200;
|
|
943
|
+
readonly placeholder: 60;
|
|
944
|
+
};
|
|
945
|
+
interface SideChatOptions {
|
|
946
|
+
title: string;
|
|
947
|
+
header: string;
|
|
948
|
+
welcome: string;
|
|
949
|
+
placeholder: string;
|
|
950
|
+
accent: string | null;
|
|
951
|
+
side: 'left' | 'right';
|
|
952
|
+
}
|
|
953
|
+
/** What the page asked for, cleaned: plain text cut to a length, one hex color, `left`/`right`. A widget is not trusted with markup. */
|
|
954
|
+
declare function sideChatOptions(payload: unknown): SideChatOptions;
|
|
955
|
+
/** The words in the TOPIC tag: the title the page gave, else the last part of its page id ("mcp:crm:deal-board" → "Deal Board"). */
|
|
956
|
+
declare function topicLabel(pageId: string, title?: string): string;
|
|
957
|
+
/**
|
|
958
|
+
* The chat's messages: the server's saved turns (oldest first), then this phone's own messages of a turn the server does
|
|
959
|
+
* not hold yet. A local message carries `chainId`; it is dropped once a saved message of that chain is there. A local
|
|
960
|
+
* message with no chain (a send that never started, an error) stays. So a turn is drawn once.
|
|
961
|
+
*/
|
|
962
|
+
declare function mergeSideChatHistory(saved: Message[], current: Message[]): Message[];
|
|
963
|
+
|
|
889
964
|
/**
|
|
890
965
|
* What the phone's chat bubble is handed for a reply: the blocks of a conversation turn as ONE flat string, and that string
|
|
891
966
|
* split back into what the bubble draws. Pure and import-free, so a test runs it in node (it used to sit in store.ts).
|
|
@@ -1564,4 +1639,4 @@ interface AcsKvStorage {
|
|
|
1564
1639
|
}
|
|
1565
1640
|
declare function setAcsCacheStorage(kv: AcsKvStorage | null): void;
|
|
1566
1641
|
|
|
1567
|
-
export { type AcsArtifact, type AcsDeleteReason, type AcsEvent, type AcsKvStorage, type AcsPatchReason, type AcsReachabilityReporter, type AcsSurface, type AdasConfig, type AdasGateFlags, type AdasPhase, type AdasSession, type AdasUser, type AttachmentCache, type AttachmentPreview, type AuthSession, type AuthSessionDeps, type AuthSessionState, type BlockSegment, type BufferedCommand, CHART_BLOCK_CLOSE, CHART_BLOCK_OPEN, COMPARISON_BLOCK_CLOSE, COMPARISON_BLOCK_OPEN, type ChannelPrefs, type ChartSeries, type ChartView, type ComparisonOption, type ComparisonRow, type ComparisonView, type ConsumerCapabilityConfig, type ConsumerProviderConfig, type ConsumerSignInResult, type ConversationBlock, DETAILS_BLOCK_CLOSE, DETAILS_BLOCK_OPEN, DIAGRAM_BLOCK_CLOSE, DIAGRAM_BLOCK_OPEN, DIAGRAM_STATUSES, type DeleteResult, type DevModeState, type DevicePlatform, type DiagramFlow, type DiagramStatus, type DiagramStep, type DiagramView, type DispatchRow, type FileUploadRequest, type FileUploader, type HandoffExchangeResult, type HomeAction, type HomeActionLeaf, type HomeActionReason, type InvitePreview, type JobProgress, type LauncherPlace, type LauncherPlaces, MAX_ATTACHMENT_BYTES, MAX_INLINE_ATTACHMENT_BYTES, type Message, type MessageAttachment, type NotifChannel, type NotifPrefs, type OtpStartResult, type OutgoingAttachment, type PatchResult, PluginCommandEmitter, type PushBackend, type PushRegistration, type QuietHoursPrefs, type RefreshOutcome, type RegisterDeviceResponse, type Session, type SessionEnv, type SessionPersistence, type SessionStatus, type SessionUser, TABLE_BLOCK_CLOSE, TABLE_BLOCK_OPEN, TIMELINE_BLOCK_CLOSE, TIMELINE_BLOCK_OPEN, type TelegramBotInfo, type TenantMembership, type TenantRow, type TimelineDay, type TimelineEvent, type TimelineView, type TokenProvider, type ToolCall, type UIAction, type UploadedArtifact, VISUALS, type VisualKind, type WireAttachment, type WorkspaceCapabilities, type WorkspaceSnapshot, type WorkspaceState, ada, apiFetch, apiFetchRaw, blocksToText, borderRadius, capabilityEnabled, chartAsText, chartScale, chartView, closeChatStream, colors, comparisonAsText, comparisonView, connectAcsWs, connectorCall, createAuthSession, createPushRegistration, deleteArtifact, devModeFromCatalog, diagramAsText, diagramFlow, diagramView, disconnectAcsWs, exchangeHandoff, fetchConsumerConfig, fetchLauncherPlaces, focusPlugin, fontSize, getConfig, getConsumerAuthApiUrl, getCoreApiUrl, getCoreWsUrl, getPrefs as getNotifPrefs, getTelegramBotInfo as getNotifTelegramBotInfo, getSession, getTenant, getToken, getUser, getVoiceApiUrl, initAdas, isAdasInitialized, isDevHost, isVisualKind, joinWithApple, joinWithGoogle, linkChannelStart, linkChannelVerify, linkTelegram as linkNotifTelegram, listHomeActions, listMadeForYou, listMyTenants, listSurface, mcpFetch, mcpToolCall, nestByMaster, notifyAcsWsForeground, notifyAppForeground, numText, onAppForeground, openJoinWithApple, openJoinWithGoogle, parseDeepLinkParam, parseHandoffCode, parseInviteCode, patchArtifact, patchHomeAction, plainTextOf, pluginCommandEmitter, postCommandResult, prepareAttachments, previewInvite, readDevMode, recentDispatches as recentNotifDispatches, recordEvent, recordWidgetOpen, refreshToken, registerHostIntent, registerDevice as registerPushDevice, resolveAdasPhase, setAcsCacheStorage, setAcsReachabilityReporter, setClientDeclarationProvider, setDevMode, setHomeActionOrder, setPrefs as setNotifPrefs, setOrder, signInWithApple, signInWithGoogle, spacing, splitBlockSegments, switchTenant, tenantFromToken, timelineAsText, timelineView, unlinkChannel as unlinkNotifChannel, unregisterDevice as unregisterPushDevice, unwrapMcpResult, useCapability, useChatStore, useHomeActionsStore, useWidgetsStore, useWorkspaceStore, userFromJwt, visualViewOf };
|
|
1642
|
+
export { type AcsArtifact, type AcsDeleteReason, type AcsEvent, type AcsKvStorage, type AcsPatchReason, type AcsReachabilityReporter, type AcsSurface, type AdasConfig, type AdasGateFlags, type AdasPhase, type AdasSession, type AdasUser, type AttachmentCache, type AttachmentPreview, type AuthSession, type AuthSessionDeps, type AuthSessionState, type BlockSegment, type BufferedCommand, CHART_BLOCK_CLOSE, CHART_BLOCK_OPEN, COMPARISON_BLOCK_CLOSE, COMPARISON_BLOCK_OPEN, type ChannelPrefs, type ChartSeries, type ChartView, type ComparisonOption, type ComparisonRow, type ComparisonView, type ConsumerCapabilityConfig, type ConsumerProviderConfig, type ConsumerSignInResult, type ConversationBlock, DETAILS_BLOCK_CLOSE, DETAILS_BLOCK_OPEN, DIAGRAM_BLOCK_CLOSE, DIAGRAM_BLOCK_OPEN, DIAGRAM_STATUSES, type DeleteResult, type DevModeState, type DevicePlatform, type DiagramFlow, type DiagramStatus, type DiagramStep, type DiagramView, type DispatchRow, type FileUploadRequest, type FileUploader, type GoalRow, type HandoffExchangeResult, type HomeAction, type HomeActionLeaf, type HomeActionReason, type InvitePreview, type JobGoals, type JobProgress, type LauncherPlace, type LauncherPlaces, MAX_ATTACHMENT_BYTES, MAX_INLINE_ATTACHMENT_BYTES, type Message, type MessageAttachment, type NotifChannel, type NotifPrefs, type OtpStartResult, type OutgoingAttachment, type PatchResult, PluginCommandEmitter, type PushBackend, type PushRegistration, type QuietHoursPrefs, type RefreshOutcome, type RegisterDeviceResponse, SIDE_CHAT_LIMITS, type Session, type SessionEnv, type SessionPersistence, type SessionStatus, type SessionUser, type SideChatOptions, type SideChatState, TABLE_BLOCK_CLOSE, TABLE_BLOCK_OPEN, TIMELINE_BLOCK_CLOSE, TIMELINE_BLOCK_OPEN, type TelegramBotInfo, type TenantMembership, type TenantRow, type TimelineDay, type TimelineEvent, type TimelineView, type TokenProvider, type ToolCall, type UIAction, type UploadedArtifact, VISUALS, type VisualKind, type WireAttachment, type WorkspaceCapabilities, type WorkspaceSnapshot, type WorkspaceState, ada, apiFetch, apiFetchRaw, blocksToText, borderRadius, capabilityEnabled, chartAsText, chartScale, chartView, clearSideChats, closeChatStream, colors, comparisonAsText, comparisonView, connectAcsWs, connectorCall, createAuthSession, createPushRegistration, deleteArtifact, devModeFromCatalog, diagramAsText, diagramFlow, diagramView, disconnectAcsWs, exchangeHandoff, fetchConsumerConfig, fetchLauncherPlaces, focusPlugin, fontSize, getConfig, getConsumerAuthApiUrl, getCoreApiUrl, getCoreWsUrl, getPrefs as getNotifPrefs, getTelegramBotInfo as getNotifTelegramBotInfo, getSession, getSideChatStore, getTenant, getToken, getUser, getVoiceApiUrl, goalRows, initAdas, isAdasInitialized, isDevHost, isVisualKind, joinWithApple, joinWithGoogle, linkChannelStart, linkChannelVerify, linkTelegram as linkNotifTelegram, listHomeActions, listMadeForYou, listMyTenants, listSurface, mcpFetch, mcpToolCall, mergeSideChatHistory, nestByMaster, notifyAcsWsForeground, notifyAppForeground, numText, onAppForeground, openJoinWithApple, openJoinWithGoogle, parseDeepLinkParam, parseHandoffCode, parseInviteCode, patchArtifact, patchHomeAction, plainTextOf, pluginCommandEmitter, postCommandResult, prepareAttachments, previewInvite, readDevMode, recentDispatches as recentNotifDispatches, recordEvent, recordWidgetOpen, refreshToken, registerHostIntent, registerDevice as registerPushDevice, resolveAdasPhase, setAcsCacheStorage, setAcsReachabilityReporter, setClientDeclarationProvider, setDevMode, setHomeActionOrder, setPrefs as setNotifPrefs, setOrder, sideChatOptions, signInWithApple, signInWithGoogle, spacing, splitBlockSegments, switchTenant, tenantFromToken, timelineAsText, timelineView, topicLabel, unlinkChannel as unlinkNotifChannel, unregisterDevice as unregisterPushDevice, unwrapMcpResult, useCapability, useChatStore, useHomeActionsStore, useWidgetsStore, useWorkspaceStore, userFromJwt, visualViewOf };
|