@easbot/llm 0.3.26 → 0.3.27

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.cts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as _ai_sdk_provider from '@ai-sdk/provider';
2
2
  import { JSONSchema7, LanguageModelV3 } from '@ai-sdk/provider';
3
- import z from 'zod';
3
+ import z, { z as z$1 } from 'zod';
4
4
  import { LanguageModel, EmbeddingModel, RerankingModel, APICallError, ModelMessage } from 'ai';
5
5
  import { JSONSchema } from 'zod/v4/core';
6
6
  import { FetchFunction } from '@ai-sdk/provider-utils';
7
+ import { EasbotClient } from '@easbot/sdk';
7
8
 
8
9
  declare namespace ModelsDev {
9
10
  const Model: z.ZodObject<{
@@ -1577,6 +1578,213 @@ declare namespace EmbeddingProvider {
1577
1578
  function normalize(vector: number[]): number[];
1578
1579
  }
1579
1580
 
1581
+ declare enum SdkEventType {
1582
+ SDK_SESSION_STATUS = "agent.status",
1583
+ SDK_ERROR = "sdk.error",
1584
+ SDK_SESSION_UPDATE = "sdk.session_update",
1585
+ SDK_PERMISSION_REQUEST = "sdk.permission_request",
1586
+ SDK_SESSION_DELETED = "sdk.session_deleted"
1587
+ }
1588
+ declare const SdkSessionStatusSchema: z$1.ZodObject<{
1589
+ sessionId: z$1.ZodString;
1590
+ status: z$1.ZodEnum<{
1591
+ idle: "idle";
1592
+ busy: "busy";
1593
+ retry: "retry";
1594
+ }>;
1595
+ timestamp: z$1.ZodNumber;
1596
+ }, z$1.core.$strip>;
1597
+ type SdkSessionStatusProps = z$1.infer<typeof SdkSessionStatusSchema>;
1598
+ declare const SdkErrorSchema: z$1.ZodObject<{
1599
+ error: z$1.ZodString;
1600
+ context: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1601
+ timestamp: z$1.ZodNumber;
1602
+ }, z$1.core.$strip>;
1603
+ type SdkErrorProps = z$1.infer<typeof SdkErrorSchema>;
1604
+ declare const SdkSessionUpdateSchema: z$1.ZodObject<{
1605
+ sessionId: z$1.ZodString;
1606
+ sessionEvent: z$1.ZodUnknown;
1607
+ timestamp: z$1.ZodNumber;
1608
+ }, z$1.core.$strip>;
1609
+ type SdkSessionUpdateProps = z$1.infer<typeof SdkSessionUpdateSchema>;
1610
+ declare const SdkPermissionRequestSchema: z$1.ZodObject<{
1611
+ requestId: z$1.ZodString;
1612
+ sessionId: z$1.ZodString;
1613
+ permission: z$1.ZodString;
1614
+ tool: z$1.ZodOptional<z$1.ZodObject<{
1615
+ callId: z$1.ZodOptional<z$1.ZodString>;
1616
+ }, z$1.core.$strip>>;
1617
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1618
+ timestamp: z$1.ZodNumber;
1619
+ }, z$1.core.$strip>;
1620
+ type SdkPermissionRequestProps = z$1.infer<typeof SdkPermissionRequestSchema>;
1621
+ declare const SdkSessionDeletedSchema: z$1.ZodObject<{
1622
+ sessionId: z$1.ZodString;
1623
+ timestamp: z$1.ZodNumber;
1624
+ }, z$1.core.$strip>;
1625
+ type SdkSessionDeletedProps = z$1.infer<typeof SdkSessionDeletedSchema>;
1626
+ type LocalEventProperties = SdkSessionStatusProps | SdkErrorProps | SdkSessionUpdateProps | SdkPermissionRequestProps | SdkSessionDeletedProps;
1627
+ interface LocalEvent<T extends SdkEventType = SdkEventType> {
1628
+ type: T;
1629
+ properties: LocalEventProperties;
1630
+ }
1631
+ type LocalEventCallback = (event: LocalEvent) => void | Promise<void>;
1632
+ declare class SdkEventBus {
1633
+ private subscriptions;
1634
+ private wildcardSubscriptions;
1635
+ private destroyed;
1636
+ subscribe(eventType: SdkEventType, callback: LocalEventCallback): () => void;
1637
+ subscribeAll(callback: LocalEventCallback): () => void;
1638
+ publish(event: LocalEvent): Promise<void>;
1639
+ publishSync(event: LocalEvent): void;
1640
+ private collectCallbacks;
1641
+ subscriberCount(eventType?: SdkEventType): number;
1642
+ totalSubscribers(): number;
1643
+ hasSubscribers(eventType?: SdkEventType): boolean;
1644
+ clear(): void;
1645
+ destroy(): void;
1646
+ isDestroyed(): boolean;
1647
+ }
1648
+
1649
+ declare class SdkEventBridge {
1650
+ private sdk;
1651
+ private sdkEventBus?;
1652
+ private abortController;
1653
+ private started;
1654
+ private readonly sessionFilter?;
1655
+ private _cachedPrimaryAgents;
1656
+ private readonly _messageMetaCache;
1657
+ constructor(sdk: EasbotClient, localEventBus?: SdkEventBus, sessionFilter?: (sessionId: string) => boolean);
1658
+ private getMessageMeta;
1659
+ private clearMessageMetaCache;
1660
+ private pushSessionEvent;
1661
+ start(): Promise<void>;
1662
+ stop(): Promise<void>;
1663
+ isStarted(): boolean;
1664
+ private runEventLoop;
1665
+ private handleEvent;
1666
+ private handleSessionDeleted;
1667
+ private handlePermissionAsked;
1668
+ private handleMessagePartUpdated;
1669
+ private handleToolPart;
1670
+ private handleTextPart;
1671
+ private handleStepStartPart;
1672
+ private handleStepFinishPart;
1673
+ private handleReasoningPart;
1674
+ private handleSessionStatus;
1675
+ private shouldFilterAgent;
1676
+ }
1677
+
1678
+ interface AgentClientFilterConfig {
1679
+ includeThinking: boolean;
1680
+ includeToolDetails: boolean;
1681
+ includeToolOutput: boolean;
1682
+ includeSteps: boolean;
1683
+ }
1684
+ declare const DEFAULT_AGENT_FILTER: AgentClientFilterConfig;
1685
+ declare const DEBUG_AGENT_FILTER: AgentClientFilterConfig;
1686
+ interface AgentMessage {
1687
+ role: 'user' | 'assistant';
1688
+ text: string;
1689
+ thinking?: string;
1690
+ tools?: Array<{
1691
+ name: string;
1692
+ callId?: string;
1693
+ title?: string;
1694
+ status: 'completed' | 'error';
1695
+ output?: unknown;
1696
+ error?: string;
1697
+ input?: Record<string, unknown>;
1698
+ }>;
1699
+ metadata: {
1700
+ sessionId: string;
1701
+ sessionStatus?: 'idle' | 'busy' | 'retry' | 'error';
1702
+ messageId: string;
1703
+ timestamp: number;
1704
+ tokens?: {
1705
+ input: number;
1706
+ output: number;
1707
+ total: number;
1708
+ };
1709
+ error?: string;
1710
+ };
1711
+ }
1712
+ type SessionEventType = 'part.updated' | 'session.status' | 'message.updated' | 'message.part.updated' | 'session.error';
1713
+ interface SessionError {
1714
+ name: string;
1715
+ data: {
1716
+ message?: string;
1717
+ providerId?: string;
1718
+ statusCode?: number;
1719
+ isRetryable?: boolean;
1720
+ responseHeaders?: Record<string, string>;
1721
+ metadata?: Record<string, unknown>;
1722
+ retries?: number;
1723
+ [key: string]: unknown;
1724
+ };
1725
+ }
1726
+ interface SessionEvent {
1727
+ type: SessionEventType;
1728
+ properties: {
1729
+ sessionId?: string;
1730
+ info?: {
1731
+ id?: string;
1732
+ };
1733
+ part?: PartData;
1734
+ status?: {
1735
+ type?: string;
1736
+ };
1737
+ error?: SessionError;
1738
+ };
1739
+ }
1740
+ interface PartData {
1741
+ type: 'text' | 'reasoning' | 'tool' | 'step-start' | 'step-finish';
1742
+ text?: string;
1743
+ messageId?: string;
1744
+ time?: {
1745
+ start?: number;
1746
+ end?: number;
1747
+ };
1748
+ tool?: string;
1749
+ callId?: string;
1750
+ state?: {
1751
+ status?: 'pending' | 'running' | 'completed' | 'error';
1752
+ input?: Record<string, unknown>;
1753
+ output?: unknown;
1754
+ error?: string;
1755
+ title?: string;
1756
+ metadata?: Record<string, unknown>;
1757
+ };
1758
+ tokens?: {
1759
+ input: number;
1760
+ output: number;
1761
+ reasoning: number;
1762
+ };
1763
+ }
1764
+ declare class SdkMessageCollector {
1765
+ private filterConfig;
1766
+ events: SessionEvent[];
1767
+ isComplete: boolean;
1768
+ private hasTextEnd;
1769
+ private hasStepFinish;
1770
+ private error;
1771
+ private sessionStatus;
1772
+ private sessionId;
1773
+ private messageId;
1774
+ constructor(filterConfig?: AgentClientFilterConfig);
1775
+ addEvent(event: SessionEvent): void;
1776
+ private shouldIncludeEvent;
1777
+ private checkCompletion;
1778
+ checkComplete(): boolean;
1779
+ hasTextEndReady(): boolean;
1780
+ isTextOnlyComplete(): boolean;
1781
+ resetForNextMessage(): void;
1782
+ getSessionStatus(): 'idle' | 'busy' | 'retry' | 'error';
1783
+ getCurrentMessageId(): string;
1784
+ assembleMessage(): AgentMessage;
1785
+ reset(): void;
1786
+ }
1787
+
1580
1788
  interface IConfigProvider {
1581
1789
  getInfo(): Promise<{
1582
1790
  provider?: Record<string, Record<string, unknown>>;
@@ -1907,4 +2115,4 @@ declare function bootstrapLlmStandalone(options: {
1907
2115
  };
1908
2116
  }): void;
1909
2117
 
1910
- export { type AdapterRegistry, type BootstrapLlmOptions, type BootstrapLlmResult, type BootstrapModels, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, Config, DEFAULT_ENABLED_PROVIDERS, EmbeddingProvider, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, Flag, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, type MetaEntry, ModelsDev, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, ProbeEmbeddingError, type ProbeEmbeddingOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, RerankProvider, SummaryProvider, bootstrapLlm, bootstrapLlmStandalone, buildEntityExtractionPrompt, createOpenaiCompatible, extractEntitiesByRules, getAdapterRegistry, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, initModelsRefresh, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, sanitizeEntityToken, setAdapterRegistry, syncMeta };
2118
+ export { type AdapterRegistry, type AgentClientFilterConfig, type AgentMessage, type BootstrapLlmOptions, type BootstrapLlmResult, type BootstrapModels, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, Config, DEBUG_AGENT_FILTER, DEFAULT_AGENT_FILTER, DEFAULT_ENABLED_PROVIDERS, EmbeddingProvider, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, Flag, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, type MetaEntry, ModelsDev, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, type PartData, ProbeEmbeddingError, type ProbeEmbeddingOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, RerankProvider, SdkEventBridge, SdkEventBus, SdkEventType, SdkMessageCollector, type SdkSessionStatusProps, type SessionEvent, SummaryProvider, bootstrapLlm, bootstrapLlmStandalone, buildEntityExtractionPrompt, createOpenaiCompatible, extractEntitiesByRules, getAdapterRegistry, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, initModelsRefresh, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, sanitizeEntityToken, setAdapterRegistry, syncMeta };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as _ai_sdk_provider from '@ai-sdk/provider';
2
2
  import { JSONSchema7, LanguageModelV3 } from '@ai-sdk/provider';
3
- import z from 'zod';
3
+ import z, { z as z$1 } from 'zod';
4
4
  import { LanguageModel, EmbeddingModel, RerankingModel, APICallError, ModelMessage } from 'ai';
5
5
  import { JSONSchema } from 'zod/v4/core';
6
6
  import { FetchFunction } from '@ai-sdk/provider-utils';
7
+ import { EasbotClient } from '@easbot/sdk';
7
8
 
8
9
  declare namespace ModelsDev {
9
10
  const Model: z.ZodObject<{
@@ -1577,6 +1578,213 @@ declare namespace EmbeddingProvider {
1577
1578
  function normalize(vector: number[]): number[];
1578
1579
  }
1579
1580
 
1581
+ declare enum SdkEventType {
1582
+ SDK_SESSION_STATUS = "agent.status",
1583
+ SDK_ERROR = "sdk.error",
1584
+ SDK_SESSION_UPDATE = "sdk.session_update",
1585
+ SDK_PERMISSION_REQUEST = "sdk.permission_request",
1586
+ SDK_SESSION_DELETED = "sdk.session_deleted"
1587
+ }
1588
+ declare const SdkSessionStatusSchema: z$1.ZodObject<{
1589
+ sessionId: z$1.ZodString;
1590
+ status: z$1.ZodEnum<{
1591
+ idle: "idle";
1592
+ busy: "busy";
1593
+ retry: "retry";
1594
+ }>;
1595
+ timestamp: z$1.ZodNumber;
1596
+ }, z$1.core.$strip>;
1597
+ type SdkSessionStatusProps = z$1.infer<typeof SdkSessionStatusSchema>;
1598
+ declare const SdkErrorSchema: z$1.ZodObject<{
1599
+ error: z$1.ZodString;
1600
+ context: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1601
+ timestamp: z$1.ZodNumber;
1602
+ }, z$1.core.$strip>;
1603
+ type SdkErrorProps = z$1.infer<typeof SdkErrorSchema>;
1604
+ declare const SdkSessionUpdateSchema: z$1.ZodObject<{
1605
+ sessionId: z$1.ZodString;
1606
+ sessionEvent: z$1.ZodUnknown;
1607
+ timestamp: z$1.ZodNumber;
1608
+ }, z$1.core.$strip>;
1609
+ type SdkSessionUpdateProps = z$1.infer<typeof SdkSessionUpdateSchema>;
1610
+ declare const SdkPermissionRequestSchema: z$1.ZodObject<{
1611
+ requestId: z$1.ZodString;
1612
+ sessionId: z$1.ZodString;
1613
+ permission: z$1.ZodString;
1614
+ tool: z$1.ZodOptional<z$1.ZodObject<{
1615
+ callId: z$1.ZodOptional<z$1.ZodString>;
1616
+ }, z$1.core.$strip>>;
1617
+ metadata: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
1618
+ timestamp: z$1.ZodNumber;
1619
+ }, z$1.core.$strip>;
1620
+ type SdkPermissionRequestProps = z$1.infer<typeof SdkPermissionRequestSchema>;
1621
+ declare const SdkSessionDeletedSchema: z$1.ZodObject<{
1622
+ sessionId: z$1.ZodString;
1623
+ timestamp: z$1.ZodNumber;
1624
+ }, z$1.core.$strip>;
1625
+ type SdkSessionDeletedProps = z$1.infer<typeof SdkSessionDeletedSchema>;
1626
+ type LocalEventProperties = SdkSessionStatusProps | SdkErrorProps | SdkSessionUpdateProps | SdkPermissionRequestProps | SdkSessionDeletedProps;
1627
+ interface LocalEvent<T extends SdkEventType = SdkEventType> {
1628
+ type: T;
1629
+ properties: LocalEventProperties;
1630
+ }
1631
+ type LocalEventCallback = (event: LocalEvent) => void | Promise<void>;
1632
+ declare class SdkEventBus {
1633
+ private subscriptions;
1634
+ private wildcardSubscriptions;
1635
+ private destroyed;
1636
+ subscribe(eventType: SdkEventType, callback: LocalEventCallback): () => void;
1637
+ subscribeAll(callback: LocalEventCallback): () => void;
1638
+ publish(event: LocalEvent): Promise<void>;
1639
+ publishSync(event: LocalEvent): void;
1640
+ private collectCallbacks;
1641
+ subscriberCount(eventType?: SdkEventType): number;
1642
+ totalSubscribers(): number;
1643
+ hasSubscribers(eventType?: SdkEventType): boolean;
1644
+ clear(): void;
1645
+ destroy(): void;
1646
+ isDestroyed(): boolean;
1647
+ }
1648
+
1649
+ declare class SdkEventBridge {
1650
+ private sdk;
1651
+ private sdkEventBus?;
1652
+ private abortController;
1653
+ private started;
1654
+ private readonly sessionFilter?;
1655
+ private _cachedPrimaryAgents;
1656
+ private readonly _messageMetaCache;
1657
+ constructor(sdk: EasbotClient, localEventBus?: SdkEventBus, sessionFilter?: (sessionId: string) => boolean);
1658
+ private getMessageMeta;
1659
+ private clearMessageMetaCache;
1660
+ private pushSessionEvent;
1661
+ start(): Promise<void>;
1662
+ stop(): Promise<void>;
1663
+ isStarted(): boolean;
1664
+ private runEventLoop;
1665
+ private handleEvent;
1666
+ private handleSessionDeleted;
1667
+ private handlePermissionAsked;
1668
+ private handleMessagePartUpdated;
1669
+ private handleToolPart;
1670
+ private handleTextPart;
1671
+ private handleStepStartPart;
1672
+ private handleStepFinishPart;
1673
+ private handleReasoningPart;
1674
+ private handleSessionStatus;
1675
+ private shouldFilterAgent;
1676
+ }
1677
+
1678
+ interface AgentClientFilterConfig {
1679
+ includeThinking: boolean;
1680
+ includeToolDetails: boolean;
1681
+ includeToolOutput: boolean;
1682
+ includeSteps: boolean;
1683
+ }
1684
+ declare const DEFAULT_AGENT_FILTER: AgentClientFilterConfig;
1685
+ declare const DEBUG_AGENT_FILTER: AgentClientFilterConfig;
1686
+ interface AgentMessage {
1687
+ role: 'user' | 'assistant';
1688
+ text: string;
1689
+ thinking?: string;
1690
+ tools?: Array<{
1691
+ name: string;
1692
+ callId?: string;
1693
+ title?: string;
1694
+ status: 'completed' | 'error';
1695
+ output?: unknown;
1696
+ error?: string;
1697
+ input?: Record<string, unknown>;
1698
+ }>;
1699
+ metadata: {
1700
+ sessionId: string;
1701
+ sessionStatus?: 'idle' | 'busy' | 'retry' | 'error';
1702
+ messageId: string;
1703
+ timestamp: number;
1704
+ tokens?: {
1705
+ input: number;
1706
+ output: number;
1707
+ total: number;
1708
+ };
1709
+ error?: string;
1710
+ };
1711
+ }
1712
+ type SessionEventType = 'part.updated' | 'session.status' | 'message.updated' | 'message.part.updated' | 'session.error';
1713
+ interface SessionError {
1714
+ name: string;
1715
+ data: {
1716
+ message?: string;
1717
+ providerId?: string;
1718
+ statusCode?: number;
1719
+ isRetryable?: boolean;
1720
+ responseHeaders?: Record<string, string>;
1721
+ metadata?: Record<string, unknown>;
1722
+ retries?: number;
1723
+ [key: string]: unknown;
1724
+ };
1725
+ }
1726
+ interface SessionEvent {
1727
+ type: SessionEventType;
1728
+ properties: {
1729
+ sessionId?: string;
1730
+ info?: {
1731
+ id?: string;
1732
+ };
1733
+ part?: PartData;
1734
+ status?: {
1735
+ type?: string;
1736
+ };
1737
+ error?: SessionError;
1738
+ };
1739
+ }
1740
+ interface PartData {
1741
+ type: 'text' | 'reasoning' | 'tool' | 'step-start' | 'step-finish';
1742
+ text?: string;
1743
+ messageId?: string;
1744
+ time?: {
1745
+ start?: number;
1746
+ end?: number;
1747
+ };
1748
+ tool?: string;
1749
+ callId?: string;
1750
+ state?: {
1751
+ status?: 'pending' | 'running' | 'completed' | 'error';
1752
+ input?: Record<string, unknown>;
1753
+ output?: unknown;
1754
+ error?: string;
1755
+ title?: string;
1756
+ metadata?: Record<string, unknown>;
1757
+ };
1758
+ tokens?: {
1759
+ input: number;
1760
+ output: number;
1761
+ reasoning: number;
1762
+ };
1763
+ }
1764
+ declare class SdkMessageCollector {
1765
+ private filterConfig;
1766
+ events: SessionEvent[];
1767
+ isComplete: boolean;
1768
+ private hasTextEnd;
1769
+ private hasStepFinish;
1770
+ private error;
1771
+ private sessionStatus;
1772
+ private sessionId;
1773
+ private messageId;
1774
+ constructor(filterConfig?: AgentClientFilterConfig);
1775
+ addEvent(event: SessionEvent): void;
1776
+ private shouldIncludeEvent;
1777
+ private checkCompletion;
1778
+ checkComplete(): boolean;
1779
+ hasTextEndReady(): boolean;
1780
+ isTextOnlyComplete(): boolean;
1781
+ resetForNextMessage(): void;
1782
+ getSessionStatus(): 'idle' | 'busy' | 'retry' | 'error';
1783
+ getCurrentMessageId(): string;
1784
+ assembleMessage(): AgentMessage;
1785
+ reset(): void;
1786
+ }
1787
+
1580
1788
  interface IConfigProvider {
1581
1789
  getInfo(): Promise<{
1582
1790
  provider?: Record<string, Record<string, unknown>>;
@@ -1907,4 +2115,4 @@ declare function bootstrapLlmStandalone(options: {
1907
2115
  };
1908
2116
  }): void;
1909
2117
 
1910
- export { type AdapterRegistry, type BootstrapLlmOptions, type BootstrapLlmResult, type BootstrapModels, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, Config, DEFAULT_ENABLED_PROVIDERS, EmbeddingProvider, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, Flag, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, type MetaEntry, ModelsDev, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, ProbeEmbeddingError, type ProbeEmbeddingOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, RerankProvider, SummaryProvider, bootstrapLlm, bootstrapLlmStandalone, buildEntityExtractionPrompt, createOpenaiCompatible, extractEntitiesByRules, getAdapterRegistry, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, initModelsRefresh, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, sanitizeEntityToken, setAdapterRegistry, syncMeta };
2118
+ export { type AdapterRegistry, type AgentClientFilterConfig, type AgentMessage, type BootstrapLlmOptions, type BootstrapLlmResult, type BootstrapModels, type BuildPromptOptions, CUSTOM_PROVIDER_DEFINITIONS, Config, DEBUG_AGENT_FILTER, DEFAULT_AGENT_FILTER, DEFAULT_ENABLED_PROVIDERS, EmbeddingProvider, type ExtractedEntity, type ExtractedRelation, type ExtractionResult, Flag, type GraphEntityTypeDef, GraphProvider, type GraphRelationTypeDef, type IConfigProvider, type IGlobalPathProvider, type IInstallationProvider, type IInstanceProvider, type ILLM, type ILLMCapabilities, type ILLMInitConfig, type ILLMModels, LLMConfig, LLMConfig as LLMConfigType, type MetaEntry, ModelsDev, type OpenaiCompatibleProvider, type OpenaiCompatibleProviderSettings, PROVIDER_DISPLAY_NAMES, type PartData, ProbeEmbeddingError, type ProbeEmbeddingOptions, Provider, ProviderAuth, ProviderAuthMethod, ProviderAuthMethod as ProviderAuthMethodType, ProviderConfig, ProviderConfig as ProviderConfigType, ProviderError, ProviderTransform, RerankProvider, SdkEventBridge, SdkEventBus, SdkEventType, SdkMessageCollector, type SdkSessionStatusProps, type SessionEvent, SummaryProvider, bootstrapLlm, bootstrapLlmStandalone, buildEntityExtractionPrompt, createOpenaiCompatible, extractEntitiesByRules, getAdapterRegistry, getIConfigProvider, getIGlobalPathProvider, getIInstallationProvider, getIInstanceProvider, hasAdapterRegistry, inferEntityType, initModelsRefresh, normalizeExtractionResult, openaiCompatible, parseEntityExtractionResult, probeEmbeddingDims, readEnvString, readFlagBool, readFlagNumber, sanitizeEntityToken, setAdapterRegistry, syncMeta };