@vertesia/appgen-docs 1.6.0-dev.20260923.085325Z → 1.6.0-dev.20261004.085740Z

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.
@@ -11,6 +11,7 @@
11
11
  // -----------------------------------------------------------------------------
12
12
  export * from './Avatar.js';
13
13
  export * from './Center.js';
14
+ export * from './CloudIcon.js';
14
15
  export * from './ComboBox.js';
15
16
  export * from './Divider.js';
16
17
  export * from './EmptyCollection.js';
@@ -914,6 +915,7 @@ export { isAppOAuthLoginPending, startAppOAuthLogin } from './auth/oauth';
914
915
  export * from './auth/useAuthState';
915
916
  export * from './auth/useCurrentTenant';
916
917
  export * from './DevSessionProvider';
918
+ export { rememberScopeSelection } from './scopeSelection';
917
919
  export * from './UserSession';
918
920
  export * from './UserSessionProvider';
919
921
  export * from './useUXTracking';
@@ -943,22 +945,17 @@ declare class UserSession {
943
945
  constructor(client?: VertesiaClient, setSession?: (session: UserSession) => void);
944
946
  get store(): import("@vertesia/client").ZenoClient;
945
947
  get user(): AuthTokenPayload | undefined;
946
- get account(): {
947
- id: string;
948
- name: string;
949
- } | undefined;
950
- get project(): {
951
- id: string;
952
- name: string;
953
- account: string;
954
- restricted?: boolean | undefined;
955
- } | undefined;
956
- get accounts(): {
957
- id: string;
958
- name: string;
959
- }[] | undefined;
948
+ get account(): import("@vertesia/common/wire-types").AccountRef | undefined;
949
+ get project(): import("@vertesia/common/wire-types").ProjectRef | undefined;
950
+ get accounts(): import("@vertesia/common/wire-types").AccountRef[] | undefined;
960
951
  get authCallback(): Promise<string>;
961
952
  get rawAuthToken(): Promise<string>;
953
+ /**
954
+ * Adopt a token refreshed for this session. A token for another account or project means the
955
+ * scope moved under the rendered view, which would then mix data from both: reload so the view
956
+ * starts over in one scope, and fail the call so nothing is sent with the other scope's token.
957
+ */
958
+ private adoptToken;
962
959
  /**
963
960
  * Force a fresh Vertesia JWT from STS, bypassing the in-memory cache.
964
961
  * Use this when the current token's claims (e.g. `apps`) are suspected
@@ -966,10 +963,7 @@ declare class UserSession {
966
963
  */
967
964
  refreshAuthToken(): Promise<AuthTokenPayload>;
968
965
  signOut(): void;
969
- getAccount(): {
970
- id: string;
971
- name: string;
972
- } | undefined;
966
+ getAccount(): import("@vertesia/common/wire-types").AccountRef | undefined;
973
967
  login(token: string, options?: UserSessionLoginOptions): Promise<void>;
974
968
  loginGatewaySession(): Promise<AuthTokenPayload>;
975
969
  isLoggedIn(): boolean;
@@ -1040,6 +1034,7 @@ export {};
1040
1034
  import { type AgentMessage, AgentMessageType, type AgentRun, type AgentToolApprovalMode, type ConversationFile, type Plan } from '@vertesia/common';
1041
1035
  import { type AgentResourceResolver } from '@vertesia/ui/widgets';
1042
1036
  import type React from 'react';
1037
+ import { type AgentBudgetRequestOverrides } from './AgentBudgetPauseOverlay';
1043
1038
  import type { AgentConversationViewMode, AgentInitialRequestTemplate, AgentInitialRequestTemplateContext } from './ModernAgentOutput/AllMessagesMixed';
1044
1039
  import type { BatchProgressPanelClassNames } from './ModernAgentOutput/BatchProgressPanel';
1045
1040
  import { type SelectedDocument, type UploadedFile } from './ModernAgentOutput/MessageInput';
@@ -1055,7 +1050,7 @@ export type StartWorkflowFn = (initialMessage?: string, options?: StartWorkflowO
1055
1050
  agent_run_id: string;
1056
1051
  } | undefined>;
1057
1052
  export type SendAgentMessageFn = (message: string, inputMetadata?: Record<string, unknown>) => void;
1058
- export interface ModernAgentConversationProps {
1053
+ export interface ModernAgentConversationProps extends AgentBudgetRequestOverrides {
1059
1054
  /** Stable AgentRun ID — the primary identifier for all runtime operations. */
1060
1055
  agentRunId?: string;
1061
1056
  /**
@@ -1278,6 +1273,7 @@ export * from './SaveVersionConfirmModal';
1278
1273
  export * from './SelectDocument';
1279
1274
  export * from './SelectDocumentModal';
1280
1275
  export * from './useDownloadFile';
1276
+ export * from './VectorSearchWidget';
1281
1277
 
1282
1278
  // -----------------------------------------------------------------------------
1283
1279
  // features/store/collections/index.d.ts