@athenaintel/react 0.9.24 → 0.10.0

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.ts CHANGED
@@ -245,7 +245,7 @@ export declare interface AthenaOrg {
245
245
  urlSafeOrgName: string;
246
246
  }
247
247
 
248
- export declare function AthenaProvider({ children, config, apiKey, token: tokenProp, agent, model, tools, frontendTools, apiUrl, backendUrl, appUrl, environment, workbench, knowledgeBase, systemPrompt, threadId: threadIdProp, enableThreadList, theme, linkClicks, citationLinks, posthog: posthogProp, }: AthenaProviderProps): ReactElement<unknown, string | JSXElementConstructor<any>> | null;
248
+ export declare function AthenaProvider({ children, config, apiKey, token: tokenProp, agent, model, tools, frontendTools, apiUrl, backendUrl, appUrl, environment, workbench, knowledgeBase, systemPrompt, customToolConfigs, threadId: threadIdProp, enableThreadList, theme, linkClicks, citationLinks, posthog: posthogProp, }: AthenaProviderProps): ReactElement<unknown, string | JSXElementConstructor<any>> | null;
249
249
 
250
250
  export declare interface AthenaProviderConfig {
251
251
  /** API key for standalone authentication when no token is provided. */
@@ -297,6 +297,19 @@ export declare interface AthenaProviderProps {
297
297
  knowledgeBase?: string[];
298
298
  /** System prompt override. */
299
299
  systemPrompt?: string;
300
+ /** Custom tool configurations (e.g. MCP servers).
301
+ * Passed through as `custom_tool_configs` in runConfig.custom.
302
+ *
303
+ * @example
304
+ * <AthenaProvider customToolConfigs={{
305
+ * mcp: {
306
+ * "my-server": {
307
+ * config: { transport: "streamable_http", url: "https://..." },
308
+ * }
309
+ * }
310
+ * }}>
311
+ */
312
+ customToolConfigs?: Record<string, unknown>;
300
313
  /** Thread ID override. Auto-generated if not provided. */
301
314
  threadId?: string;
302
315
  /** Enable thread list management (sidebar thread switching). */
@@ -355,6 +368,8 @@ export declare interface AthenaRuntimeConfig {
355
368
  knowledgeBase?: string[];
356
369
  /** System prompt override. */
357
370
  systemPrompt?: string;
371
+ /** Custom tool configurations (e.g. MCP servers). Passed as custom_tool_configs in runConfig. */
372
+ customToolConfigs?: Record<string, unknown>;
358
373
  /** Thread ID override. Auto-generated if not provided. */
359
374
  threadId?: string;
360
375
  }