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

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