@howone/sdk 0.3.2 → 0.3.5

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 CHANGED
@@ -1130,275 +1130,6 @@ declare function useWorkflowStream(): {
1130
1130
  state: UseWorkflowStreamState;
1131
1131
  };
1132
1132
 
1133
- /**
1134
- * 错误处理模块 - 核心类型定义
1135
- *
1136
- */
1137
- declare global {
1138
- interface Window {
1139
- __AUTO_ENGINEER_INTERACTION_TRAIL__?: UserInteraction[];
1140
- __AUTO_ENGINEER_ERRORS__?: any[];
1141
- __SEND_ERROR_TO_PARENT__?: (error: Error | string, details?: any) => void;
1142
- __FETCH_INTERCEPTED__?: boolean;
1143
- __XHR_INTERCEPTED__?: boolean;
1144
- __CONSOLE_INTERCEPTED__?: boolean;
1145
- __VITE_HMR__?: any;
1146
- __vite_plugin_react_preamble_installed__?: boolean;
1147
- __REACT_DEVTOOLS_GLOBAL_HOOK__?: any;
1148
- React?: any;
1149
- ReactDOM?: any;
1150
- Vue?: any;
1151
- Angular?: any;
1152
- jQuery?: any;
1153
- $?: any;
1154
- }
1155
- }
1156
- type ErrorSeverity = 'critical' | 'high' | 'medium' | 'low';
1157
- type ErrorType = 'runtime' | 'promise' | 'network' | 'resource' | 'console' | 'vite' | 'react' | 'module' | 'unknown';
1158
- interface UserInteraction {
1159
- type: 'click' | 'input' | 'scroll' | 'navigation' | 'mousemove' | 'focus' | 'blur' | 'resize' | 'submit' | 'visibility' | 'keydown' | 'change' | 'keyup';
1160
- element?: string;
1161
- timestamp: number;
1162
- details?: any;
1163
- }
1164
- interface ViewInfo {
1165
- title: string;
1166
- url: string;
1167
- timestamp: number;
1168
- viewport?: {
1169
- width: number;
1170
- height: number;
1171
- };
1172
- }
1173
- interface ErrorPayload {
1174
- message: string;
1175
- stack?: string;
1176
- filename?: string;
1177
- lineno?: number;
1178
- colno?: number;
1179
- timestamp: number;
1180
- type: ErrorType | string;
1181
- severity: ErrorSeverity;
1182
- category?: string;
1183
- userAgent?: string;
1184
- url?: string;
1185
- view?: string;
1186
- userInteractions?: UserInteraction[];
1187
- networkInfo?: any;
1188
- details?: any;
1189
- context?: {
1190
- source?: string;
1191
- [key: string]: any;
1192
- };
1193
- }
1194
- interface SimpleErrorConfig {
1195
- maxErrors: number;
1196
- dedupWindow: number;
1197
- debounceTime: number;
1198
- reportToParent: boolean;
1199
- reportToConsole: boolean;
1200
- }
1201
- interface EnhancedErrorConfig {
1202
- MAX_ERRORS: number;
1203
- MAX_INTERACTIONS: number;
1204
- DEDUP_WINDOW: number;
1205
- DEBOUNCE_TIME: number;
1206
- CACHE_DURATION: number;
1207
- SEVERITY_KEYWORDS: {
1208
- CRITICAL: string[];
1209
- HIGH: string[];
1210
- MEDIUM: string[];
1211
- LOW: string[];
1212
- };
1213
- CATEGORY_KEYWORDS: {
1214
- SYNTAX: string[];
1215
- NETWORK: string[];
1216
- RUNTIME: string[];
1217
- SECURITY: string[];
1218
- PERFORMANCE: string[];
1219
- DEVELOPMENT: string[];
1220
- };
1221
- }
1222
- interface GlobalStateConfig {
1223
- ALLOWED_ORIGINS: string[];
1224
- DEBOUNCE_DELAY: number;
1225
- OVERRIDE_STYLESHEET_ID: string;
1226
- }
1227
- interface SelectorConfig {
1228
- HIGHLIGHT_COLOR: string;
1229
- HIGHLIGHT_BORDER_WIDTH: string;
1230
- HIGHLIGHT_BORDER_STYLE: string;
1231
- SELECTED_COLOR: string;
1232
- SELECTED_BORDER_WIDTH: string;
1233
- TOOLTIP_BACKGROUND: string;
1234
- TOOLTIP_COLOR: string;
1235
- TOOLTIP_PADDING: string;
1236
- TOOLTIP_BORDER_RADIUS: string;
1237
- TOOLTIP_FONT_SIZE: string;
1238
- TOOLTIP_Z_INDEX: string;
1239
- FULL_WIDTH_TOOLTIP_OFFSET: number;
1240
- highlightClass: string;
1241
- selectedClass: string;
1242
- cursor: string;
1243
- }
1244
- interface SelectorState {
1245
- isActive: boolean;
1246
- highlightedElement: any;
1247
- selectedElements: any[];
1248
- config: SelectorConfig;
1249
- }
1250
- /**
1251
- * 统一消息类型定义
1252
- */
1253
- type MessageType = 'ERROR_EVENT' | 'NETWORK_EVENT' | 'CONSOLE_EVENT' | 'SYSTEM_EVENT' | 'ELEMENT_EVENT' | 'SELECTOR_EVENT' | 'COMPONENT_EVENT' | 'STYLE_EVENT' | 'INTERACTION_EVENT' | 'STATE_EVENT';
1254
- interface ErrorStats {
1255
- totalErrors: number;
1256
- sentToParent?: number;
1257
- errorsByCategory?: Record<string, number>;
1258
- errorsBySeverity?: Record<ErrorSeverity, number>;
1259
- recentErrors?: ErrorPayload[];
1260
- jsErrors?: number;
1261
- networkErrors?: number;
1262
- consoleErrors?: number;
1263
- lastErrorTime?: number;
1264
- }
1265
- declare const ERROR_CONFIG: EnhancedErrorConfig;
1266
- declare const GLOBAL_CONFIG: GlobalStateConfig;
1267
- declare const DEFAULT_SELECTOR_CONFIG: SelectorConfig;
1268
-
1269
- interface RefreshResult {
1270
- success: boolean;
1271
- clearedCaches?: string[];
1272
- unregisteredWorkers?: number;
1273
- clearedStorage?: string[];
1274
- error?: string;
1275
- }
1276
-
1277
- /**
1278
- * 统一错误处理器主类
1279
- * 提供完整的错误处理、交互追踪、元素选择等功能
1280
- */
1281
- declare class ErrorHandler {
1282
- private initialized;
1283
- private errorHistory;
1284
- private messageSender;
1285
- private errorTracking;
1286
- private interactionTracking;
1287
- private messageBridge;
1288
- private viteHMRDetector;
1289
- private hardRefreshManager;
1290
- private viewDetector;
1291
- private componentTreeGenerator;
1292
- private config;
1293
- constructor(options?: Partial<typeof this.config>);
1294
- /** ----------------- 主要初始化方法 ----------------- */
1295
- /**
1296
- * 初始化错误处理器
1297
- */
1298
- init(): void;
1299
- /**
1300
- * 初始化核心功能
1301
- */
1302
- private initializeCore;
1303
- /**
1304
- * 初始化全局状态
1305
- */
1306
- private initializeGlobalState;
1307
- /**
1308
- * 设置调试端点
1309
- */
1310
- private setupDebugEndpoint;
1311
- /**
1312
- * 设置模块间的协作
1313
- */
1314
- private setupModuleIntegration;
1315
- /**
1316
- * 启用功能模块
1317
- */
1318
- private enableFeatures;
1319
- /**
1320
- * 处理硬刷新逻辑
1321
- */
1322
- private handleHardRefreshLogic;
1323
- /**
1324
- * 设置视图检测
1325
- */
1326
- private setupViewDetection;
1327
- /**
1328
- * 发送初始化完成消息
1329
- */
1330
- /** ----------------- 公共接口方法 ----------------- */
1331
- /**
1332
- * 获取错误统计
1333
- */
1334
- getErrorStats(): ErrorStats;
1335
- /**
1336
- * 获取交互历史
1337
- */
1338
- getInteractionHistory(): UserInteraction[];
1339
- /**
1340
- * 获取当前视图信息
1341
- */
1342
- getCurrentView(): ViewInfo;
1343
- /**
1344
- * 执行硬刷新
1345
- */
1346
- performHardRefresh(options?: any): Promise<RefreshResult>;
1347
- /**
1348
- * 获取深度序列化的错误历史
1349
- */
1350
- getSerializedErrorHistory(): any;
1351
- /**
1352
- * 检查是否在 Vite 环境中
1353
- */
1354
- isViteEnvironment(): boolean;
1355
- /**
1356
- * 更新配置
1357
- */
1358
- updateConfig(newConfig: Partial<typeof this.config>): void;
1359
- /**
1360
- * 销毁错误处理器
1361
- */
1362
- destroy(): void;
1363
- /**
1364
- * 检查是否已初始化
1365
- */
1366
- isInitialized(): boolean;
1367
- /**
1368
- * 报告当前状态
1369
- */
1370
- reportStatus(): void;
1371
- }
1372
-
1373
- /**
1374
- * 简化版错误处理器
1375
- * 去除所有复杂功能,只保留最基本的错误收集和发送
1376
- */
1377
- declare class SimpleErrorHandler {
1378
- private initialized;
1379
- private sendMessage;
1380
- /**
1381
- * 初始化错误处理器
1382
- */
1383
- init(): void;
1384
- /**
1385
- * 设置错误监听器
1386
- */
1387
- private setupErrorListeners;
1388
- /**
1389
- * 设置兼容性函数
1390
- */
1391
- private setupCompatibility;
1392
- /**
1393
- * 发送错误到父窗口
1394
- */
1395
- private sendError;
1396
- /**
1397
- * 手动捕获错误
1398
- */
1399
- captureError(error: Error, details?: any): void;
1400
- }
1401
-
1402
1133
  /**
1403
1134
  * iframe navigation and element selector utilities
1404
1135
  * Replaces the standalone iframe.js script
@@ -1469,4 +1200,4 @@ declare const elementSelector: {
1469
1200
  isActive: () => boolean;
1470
1201
  };
1471
1202
 
1472
- export { type AIWorkflowClientOptions, type AIWorkflowResponse, AUTH_TOKEN_KEY, type AccessContext, type Artifact, type ArtifactCreateInput, type ArtifactListQuery, type AxiosAIWorkflowOptions, ClayxButton, ClayxToast, type CostUpdate, DEFAULT_SELECTOR_CONFIG, DefaultErrorFallback, ERROR_CONFIG, type ElementSelectionData, ElementSelector, ElementSelectorProvider, type EmailLoginRequest, type EmailLoginResponse, type EnhancedErrorConfig, type Environment, ErrorBoundary, ErrorHandler, type ErrorPayload, type ErrorSeverity, type ErrorStats, type ErrorType, type ExecutionResult, FloatingButton, GLOBAL_CONFIG, GlobalToastContainer, HowOneProvider, type HowOneProviderProps, Loading, LoadingSpinner, LoginForm, type MessageType, type NodeExecution, type SSEClient, type SSEClientConfig, type SSEEventPayload, type SSEExecutionOptions, type SSERequest, type SSESession, type SSEStreamConfig, type SSEWorkflowOptions, type SSEWorkflowRequestInit, type SelectorState, type SendCodeRequest, type SendCodeResponse, type SimpleErrorConfig, SimpleErrorHandler, type SourceLocation, ThemeProvider, ThemeToggle, type UseElementSelectorReturn, type UseWorkflowStreamState, type UserInteraction, type ViewInfo, type Visibility, aiWorkflow, canAccessArtifact, createAIWorkflowClient, createAIWorkflowClientAxios, createArtifactsClient, createClient, createSSEClient, createSSERequest, elementSelector, type envs, executeSSEWorkflow, getCodeStatus, getDefaultProjectId, getEnvironment, getEnvs, getGlobalEnvironment, getToken, howone, iframeNavigation, initIframeNavigation, isTokenValid, loginWithEmailCode, onAuthStateChanged, parseUserFromToken, sendElementSelectionToParent, sendEmailVerificationCode, setDefaultProjectId, setEnvironment, setToken, showLimitUpgradeToast, unifiedAuth, unifiedOAuth, useAuth, useDebounce, useElementSelector, useHowoneContext, useIsMobile, useTheme, useWorkflowStream };
1203
+ export { type AIWorkflowClientOptions, type AIWorkflowResponse, AUTH_TOKEN_KEY, type AccessContext, type Artifact, type ArtifactCreateInput, type ArtifactListQuery, type AxiosAIWorkflowOptions, ClayxButton, ClayxToast, type CostUpdate, DefaultErrorFallback, type ElementSelectionData, ElementSelector, ElementSelectorProvider, type EmailLoginRequest, type EmailLoginResponse, type Environment, ErrorBoundary, type ExecutionResult, FloatingButton, GlobalToastContainer, HowOneProvider, type HowOneProviderProps, Loading, LoadingSpinner, LoginForm, type NodeExecution, type SSEClient, type SSEClientConfig, type SSEEventPayload, type SSEExecutionOptions, type SSERequest, type SSESession, type SSEStreamConfig, type SSEWorkflowOptions, type SSEWorkflowRequestInit, type SendCodeRequest, type SendCodeResponse, type SourceLocation, ThemeProvider, ThemeToggle, type UseElementSelectorReturn, type UseWorkflowStreamState, type Visibility, aiWorkflow, canAccessArtifact, createAIWorkflowClient, createAIWorkflowClientAxios, createArtifactsClient, createClient, createSSEClient, createSSERequest, elementSelector, type envs, executeSSEWorkflow, getCodeStatus, getDefaultProjectId, getEnvironment, getEnvs, getGlobalEnvironment, getToken, howone, iframeNavigation, initIframeNavigation, isTokenValid, loginWithEmailCode, onAuthStateChanged, parseUserFromToken, sendElementSelectionToParent, sendEmailVerificationCode, setDefaultProjectId, setEnvironment, setToken, showLimitUpgradeToast, unifiedAuth, unifiedOAuth, useAuth, useDebounce, useElementSelector, useHowoneContext, useIsMobile, useTheme, useWorkflowStream };
package/dist/index.d.ts CHANGED
@@ -1130,275 +1130,6 @@ declare function useWorkflowStream(): {
1130
1130
  state: UseWorkflowStreamState;
1131
1131
  };
1132
1132
 
1133
- /**
1134
- * 错误处理模块 - 核心类型定义
1135
- *
1136
- */
1137
- declare global {
1138
- interface Window {
1139
- __AUTO_ENGINEER_INTERACTION_TRAIL__?: UserInteraction[];
1140
- __AUTO_ENGINEER_ERRORS__?: any[];
1141
- __SEND_ERROR_TO_PARENT__?: (error: Error | string, details?: any) => void;
1142
- __FETCH_INTERCEPTED__?: boolean;
1143
- __XHR_INTERCEPTED__?: boolean;
1144
- __CONSOLE_INTERCEPTED__?: boolean;
1145
- __VITE_HMR__?: any;
1146
- __vite_plugin_react_preamble_installed__?: boolean;
1147
- __REACT_DEVTOOLS_GLOBAL_HOOK__?: any;
1148
- React?: any;
1149
- ReactDOM?: any;
1150
- Vue?: any;
1151
- Angular?: any;
1152
- jQuery?: any;
1153
- $?: any;
1154
- }
1155
- }
1156
- type ErrorSeverity = 'critical' | 'high' | 'medium' | 'low';
1157
- type ErrorType = 'runtime' | 'promise' | 'network' | 'resource' | 'console' | 'vite' | 'react' | 'module' | 'unknown';
1158
- interface UserInteraction {
1159
- type: 'click' | 'input' | 'scroll' | 'navigation' | 'mousemove' | 'focus' | 'blur' | 'resize' | 'submit' | 'visibility' | 'keydown' | 'change' | 'keyup';
1160
- element?: string;
1161
- timestamp: number;
1162
- details?: any;
1163
- }
1164
- interface ViewInfo {
1165
- title: string;
1166
- url: string;
1167
- timestamp: number;
1168
- viewport?: {
1169
- width: number;
1170
- height: number;
1171
- };
1172
- }
1173
- interface ErrorPayload {
1174
- message: string;
1175
- stack?: string;
1176
- filename?: string;
1177
- lineno?: number;
1178
- colno?: number;
1179
- timestamp: number;
1180
- type: ErrorType | string;
1181
- severity: ErrorSeverity;
1182
- category?: string;
1183
- userAgent?: string;
1184
- url?: string;
1185
- view?: string;
1186
- userInteractions?: UserInteraction[];
1187
- networkInfo?: any;
1188
- details?: any;
1189
- context?: {
1190
- source?: string;
1191
- [key: string]: any;
1192
- };
1193
- }
1194
- interface SimpleErrorConfig {
1195
- maxErrors: number;
1196
- dedupWindow: number;
1197
- debounceTime: number;
1198
- reportToParent: boolean;
1199
- reportToConsole: boolean;
1200
- }
1201
- interface EnhancedErrorConfig {
1202
- MAX_ERRORS: number;
1203
- MAX_INTERACTIONS: number;
1204
- DEDUP_WINDOW: number;
1205
- DEBOUNCE_TIME: number;
1206
- CACHE_DURATION: number;
1207
- SEVERITY_KEYWORDS: {
1208
- CRITICAL: string[];
1209
- HIGH: string[];
1210
- MEDIUM: string[];
1211
- LOW: string[];
1212
- };
1213
- CATEGORY_KEYWORDS: {
1214
- SYNTAX: string[];
1215
- NETWORK: string[];
1216
- RUNTIME: string[];
1217
- SECURITY: string[];
1218
- PERFORMANCE: string[];
1219
- DEVELOPMENT: string[];
1220
- };
1221
- }
1222
- interface GlobalStateConfig {
1223
- ALLOWED_ORIGINS: string[];
1224
- DEBOUNCE_DELAY: number;
1225
- OVERRIDE_STYLESHEET_ID: string;
1226
- }
1227
- interface SelectorConfig {
1228
- HIGHLIGHT_COLOR: string;
1229
- HIGHLIGHT_BORDER_WIDTH: string;
1230
- HIGHLIGHT_BORDER_STYLE: string;
1231
- SELECTED_COLOR: string;
1232
- SELECTED_BORDER_WIDTH: string;
1233
- TOOLTIP_BACKGROUND: string;
1234
- TOOLTIP_COLOR: string;
1235
- TOOLTIP_PADDING: string;
1236
- TOOLTIP_BORDER_RADIUS: string;
1237
- TOOLTIP_FONT_SIZE: string;
1238
- TOOLTIP_Z_INDEX: string;
1239
- FULL_WIDTH_TOOLTIP_OFFSET: number;
1240
- highlightClass: string;
1241
- selectedClass: string;
1242
- cursor: string;
1243
- }
1244
- interface SelectorState {
1245
- isActive: boolean;
1246
- highlightedElement: any;
1247
- selectedElements: any[];
1248
- config: SelectorConfig;
1249
- }
1250
- /**
1251
- * 统一消息类型定义
1252
- */
1253
- type MessageType = 'ERROR_EVENT' | 'NETWORK_EVENT' | 'CONSOLE_EVENT' | 'SYSTEM_EVENT' | 'ELEMENT_EVENT' | 'SELECTOR_EVENT' | 'COMPONENT_EVENT' | 'STYLE_EVENT' | 'INTERACTION_EVENT' | 'STATE_EVENT';
1254
- interface ErrorStats {
1255
- totalErrors: number;
1256
- sentToParent?: number;
1257
- errorsByCategory?: Record<string, number>;
1258
- errorsBySeverity?: Record<ErrorSeverity, number>;
1259
- recentErrors?: ErrorPayload[];
1260
- jsErrors?: number;
1261
- networkErrors?: number;
1262
- consoleErrors?: number;
1263
- lastErrorTime?: number;
1264
- }
1265
- declare const ERROR_CONFIG: EnhancedErrorConfig;
1266
- declare const GLOBAL_CONFIG: GlobalStateConfig;
1267
- declare const DEFAULT_SELECTOR_CONFIG: SelectorConfig;
1268
-
1269
- interface RefreshResult {
1270
- success: boolean;
1271
- clearedCaches?: string[];
1272
- unregisteredWorkers?: number;
1273
- clearedStorage?: string[];
1274
- error?: string;
1275
- }
1276
-
1277
- /**
1278
- * 统一错误处理器主类
1279
- * 提供完整的错误处理、交互追踪、元素选择等功能
1280
- */
1281
- declare class ErrorHandler {
1282
- private initialized;
1283
- private errorHistory;
1284
- private messageSender;
1285
- private errorTracking;
1286
- private interactionTracking;
1287
- private messageBridge;
1288
- private viteHMRDetector;
1289
- private hardRefreshManager;
1290
- private viewDetector;
1291
- private componentTreeGenerator;
1292
- private config;
1293
- constructor(options?: Partial<typeof this.config>);
1294
- /** ----------------- 主要初始化方法 ----------------- */
1295
- /**
1296
- * 初始化错误处理器
1297
- */
1298
- init(): void;
1299
- /**
1300
- * 初始化核心功能
1301
- */
1302
- private initializeCore;
1303
- /**
1304
- * 初始化全局状态
1305
- */
1306
- private initializeGlobalState;
1307
- /**
1308
- * 设置调试端点
1309
- */
1310
- private setupDebugEndpoint;
1311
- /**
1312
- * 设置模块间的协作
1313
- */
1314
- private setupModuleIntegration;
1315
- /**
1316
- * 启用功能模块
1317
- */
1318
- private enableFeatures;
1319
- /**
1320
- * 处理硬刷新逻辑
1321
- */
1322
- private handleHardRefreshLogic;
1323
- /**
1324
- * 设置视图检测
1325
- */
1326
- private setupViewDetection;
1327
- /**
1328
- * 发送初始化完成消息
1329
- */
1330
- /** ----------------- 公共接口方法 ----------------- */
1331
- /**
1332
- * 获取错误统计
1333
- */
1334
- getErrorStats(): ErrorStats;
1335
- /**
1336
- * 获取交互历史
1337
- */
1338
- getInteractionHistory(): UserInteraction[];
1339
- /**
1340
- * 获取当前视图信息
1341
- */
1342
- getCurrentView(): ViewInfo;
1343
- /**
1344
- * 执行硬刷新
1345
- */
1346
- performHardRefresh(options?: any): Promise<RefreshResult>;
1347
- /**
1348
- * 获取深度序列化的错误历史
1349
- */
1350
- getSerializedErrorHistory(): any;
1351
- /**
1352
- * 检查是否在 Vite 环境中
1353
- */
1354
- isViteEnvironment(): boolean;
1355
- /**
1356
- * 更新配置
1357
- */
1358
- updateConfig(newConfig: Partial<typeof this.config>): void;
1359
- /**
1360
- * 销毁错误处理器
1361
- */
1362
- destroy(): void;
1363
- /**
1364
- * 检查是否已初始化
1365
- */
1366
- isInitialized(): boolean;
1367
- /**
1368
- * 报告当前状态
1369
- */
1370
- reportStatus(): void;
1371
- }
1372
-
1373
- /**
1374
- * 简化版错误处理器
1375
- * 去除所有复杂功能,只保留最基本的错误收集和发送
1376
- */
1377
- declare class SimpleErrorHandler {
1378
- private initialized;
1379
- private sendMessage;
1380
- /**
1381
- * 初始化错误处理器
1382
- */
1383
- init(): void;
1384
- /**
1385
- * 设置错误监听器
1386
- */
1387
- private setupErrorListeners;
1388
- /**
1389
- * 设置兼容性函数
1390
- */
1391
- private setupCompatibility;
1392
- /**
1393
- * 发送错误到父窗口
1394
- */
1395
- private sendError;
1396
- /**
1397
- * 手动捕获错误
1398
- */
1399
- captureError(error: Error, details?: any): void;
1400
- }
1401
-
1402
1133
  /**
1403
1134
  * iframe navigation and element selector utilities
1404
1135
  * Replaces the standalone iframe.js script
@@ -1469,4 +1200,4 @@ declare const elementSelector: {
1469
1200
  isActive: () => boolean;
1470
1201
  };
1471
1202
 
1472
- export { type AIWorkflowClientOptions, type AIWorkflowResponse, AUTH_TOKEN_KEY, type AccessContext, type Artifact, type ArtifactCreateInput, type ArtifactListQuery, type AxiosAIWorkflowOptions, ClayxButton, ClayxToast, type CostUpdate, DEFAULT_SELECTOR_CONFIG, DefaultErrorFallback, ERROR_CONFIG, type ElementSelectionData, ElementSelector, ElementSelectorProvider, type EmailLoginRequest, type EmailLoginResponse, type EnhancedErrorConfig, type Environment, ErrorBoundary, ErrorHandler, type ErrorPayload, type ErrorSeverity, type ErrorStats, type ErrorType, type ExecutionResult, FloatingButton, GLOBAL_CONFIG, GlobalToastContainer, HowOneProvider, type HowOneProviderProps, Loading, LoadingSpinner, LoginForm, type MessageType, type NodeExecution, type SSEClient, type SSEClientConfig, type SSEEventPayload, type SSEExecutionOptions, type SSERequest, type SSESession, type SSEStreamConfig, type SSEWorkflowOptions, type SSEWorkflowRequestInit, type SelectorState, type SendCodeRequest, type SendCodeResponse, type SimpleErrorConfig, SimpleErrorHandler, type SourceLocation, ThemeProvider, ThemeToggle, type UseElementSelectorReturn, type UseWorkflowStreamState, type UserInteraction, type ViewInfo, type Visibility, aiWorkflow, canAccessArtifact, createAIWorkflowClient, createAIWorkflowClientAxios, createArtifactsClient, createClient, createSSEClient, createSSERequest, elementSelector, type envs, executeSSEWorkflow, getCodeStatus, getDefaultProjectId, getEnvironment, getEnvs, getGlobalEnvironment, getToken, howone, iframeNavigation, initIframeNavigation, isTokenValid, loginWithEmailCode, onAuthStateChanged, parseUserFromToken, sendElementSelectionToParent, sendEmailVerificationCode, setDefaultProjectId, setEnvironment, setToken, showLimitUpgradeToast, unifiedAuth, unifiedOAuth, useAuth, useDebounce, useElementSelector, useHowoneContext, useIsMobile, useTheme, useWorkflowStream };
1203
+ export { type AIWorkflowClientOptions, type AIWorkflowResponse, AUTH_TOKEN_KEY, type AccessContext, type Artifact, type ArtifactCreateInput, type ArtifactListQuery, type AxiosAIWorkflowOptions, ClayxButton, ClayxToast, type CostUpdate, DefaultErrorFallback, type ElementSelectionData, ElementSelector, ElementSelectorProvider, type EmailLoginRequest, type EmailLoginResponse, type Environment, ErrorBoundary, type ExecutionResult, FloatingButton, GlobalToastContainer, HowOneProvider, type HowOneProviderProps, Loading, LoadingSpinner, LoginForm, type NodeExecution, type SSEClient, type SSEClientConfig, type SSEEventPayload, type SSEExecutionOptions, type SSERequest, type SSESession, type SSEStreamConfig, type SSEWorkflowOptions, type SSEWorkflowRequestInit, type SendCodeRequest, type SendCodeResponse, type SourceLocation, ThemeProvider, ThemeToggle, type UseElementSelectorReturn, type UseWorkflowStreamState, type Visibility, aiWorkflow, canAccessArtifact, createAIWorkflowClient, createAIWorkflowClientAxios, createArtifactsClient, createClient, createSSEClient, createSSERequest, elementSelector, type envs, executeSSEWorkflow, getCodeStatus, getDefaultProjectId, getEnvironment, getEnvs, getGlobalEnvironment, getToken, howone, iframeNavigation, initIframeNavigation, isTokenValid, loginWithEmailCode, onAuthStateChanged, parseUserFromToken, sendElementSelectionToParent, sendEmailVerificationCode, setDefaultProjectId, setEnvironment, setToken, showLimitUpgradeToast, unifiedAuth, unifiedOAuth, useAuth, useDebounce, useElementSelector, useHowoneContext, useIsMobile, useTheme, useWorkflowStream };