art-framework 0.3.8 → 0.4.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/LICENSE +21 -0
- package/README.md +4 -1
- package/dist/index.cjs +76 -135
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +139 -125
- package/dist/index.d.ts +139 -125
- package/dist/index.js +76 -135
- package/dist/index.js.map +1 -1
- package/package.json +22 -5
package/dist/index.d.cts
CHANGED
|
@@ -437,6 +437,47 @@ declare class LLMStreamSocket extends TypedSocket<StreamEvent, StreamEventTypeFi
|
|
|
437
437
|
notifyStreamEvent(event: StreamEvent): void;
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
+
declare enum TodoItemStatus {
|
|
441
|
+
PENDING = "pending",
|
|
442
|
+
IN_PROGRESS = "in_progress",
|
|
443
|
+
COMPLETED = "completed",
|
|
444
|
+
FAILED = "failed",
|
|
445
|
+
CANCELLED = "cancelled",
|
|
446
|
+
WAITING = "waiting"
|
|
447
|
+
}
|
|
448
|
+
interface TodoItem {
|
|
449
|
+
id: string;
|
|
450
|
+
description: string;
|
|
451
|
+
status: TodoItemStatus;
|
|
452
|
+
dependencies?: string[];
|
|
453
|
+
result?: any;
|
|
454
|
+
thoughts?: string[];
|
|
455
|
+
toolCalls?: ParsedToolCall[];
|
|
456
|
+
toolResults?: ToolResult[];
|
|
457
|
+
createdTimestamp: number;
|
|
458
|
+
updatedTimestamp: number;
|
|
459
|
+
}
|
|
460
|
+
interface PESAgentStateData {
|
|
461
|
+
threadId: string;
|
|
462
|
+
intent: string;
|
|
463
|
+
title: string;
|
|
464
|
+
plan: string;
|
|
465
|
+
todoList: TodoItem[];
|
|
466
|
+
currentStepId: string | null;
|
|
467
|
+
isPaused: boolean;
|
|
468
|
+
}
|
|
469
|
+
interface ExecutionOutput {
|
|
470
|
+
thoughts?: string;
|
|
471
|
+
content?: string;
|
|
472
|
+
toolCalls?: ParsedToolCall[];
|
|
473
|
+
nextStepDecision?: 'continue' | 'wait' | 'complete_item' | 'update_plan';
|
|
474
|
+
updatedPlan?: {
|
|
475
|
+
intent?: string;
|
|
476
|
+
plan?: string;
|
|
477
|
+
todoList?: TodoItem[];
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
|
|
440
481
|
/**
|
|
441
482
|
* @module types/schemas
|
|
442
483
|
* This module defines Zod schemas for validating the core data structures of the ART framework,
|
|
@@ -996,6 +1037,10 @@ declare enum ObservationType {
|
|
|
996
1037
|
FINAL_RESPONSE = "FINAL_RESPONSE",
|
|
997
1038
|
/** Records changes made to the agent's persistent state. */
|
|
998
1039
|
STATE_UPDATE = "STATE_UPDATE",
|
|
1040
|
+
/** Records updates to the plan structure (intent, title, or list changes). */
|
|
1041
|
+
PLAN_UPDATE = "PLAN_UPDATE",
|
|
1042
|
+
/** Records status changes of a specific todo item. */
|
|
1043
|
+
ITEM_STATUS_CHANGE = "ITEM_STATUS_CHANGE",
|
|
999
1044
|
/** Logged by Agent Core when LLM stream consumption begins. */
|
|
1000
1045
|
LLM_STREAM_START = "LLM_STREAM_START",
|
|
1001
1046
|
/** Logged by Agent Core upon receiving a METADATA stream event. Content should be LLMMetadata. */
|
|
@@ -1043,6 +1088,12 @@ interface Observation {
|
|
|
1043
1088
|
* @property {string} threadId
|
|
1044
1089
|
*/
|
|
1045
1090
|
threadId: string;
|
|
1091
|
+
/**
|
|
1092
|
+
* An optional identifier for the parent object (e.g., a TodoItem ID) to which this observation belongs.
|
|
1093
|
+
* This allows differentiation between primary (user query) and secondary (sub-task) observations.
|
|
1094
|
+
* @property {string} [parentId]
|
|
1095
|
+
*/
|
|
1096
|
+
parentId?: string;
|
|
1046
1097
|
/**
|
|
1047
1098
|
* An optional identifier for tracing a request across multiple systems or components.
|
|
1048
1099
|
* @property {string} [traceId]
|
|
@@ -2787,41 +2838,6 @@ interface ReasoningEngine {
|
|
|
2787
2838
|
*/
|
|
2788
2839
|
call(prompt: FormattedPrompt, options: CallOptions): Promise<AsyncIterable<StreamEvent>>;
|
|
2789
2840
|
}
|
|
2790
|
-
/**
|
|
2791
|
-
* Interface for the stateless prompt assembler.
|
|
2792
|
-
* Uses a blueprint (template) and context provided by Agent Logic
|
|
2793
|
-
* to create a standardized prompt format (`ArtStandardPrompt`).
|
|
2794
|
-
*/
|
|
2795
|
-
interface PromptManager {
|
|
2796
|
-
/**
|
|
2797
|
-
* Retrieves a named prompt fragment (e.g., a piece of instruction text).
|
|
2798
|
-
* Optionally allows for simple variable substitution if the fragment is a basic template.
|
|
2799
|
-
*
|
|
2800
|
-
* @param name - The unique identifier for the fragment.
|
|
2801
|
-
* @param context - Optional data for simple variable substitution within the fragment.
|
|
2802
|
-
* @returns The processed prompt fragment string.
|
|
2803
|
-
* @throws {ARTError} If the fragment is not found.
|
|
2804
|
-
*/
|
|
2805
|
-
getFragment(name: string, context?: Record<string, any>): string;
|
|
2806
|
-
/**
|
|
2807
|
-
* Validates a constructed prompt object against the standard schema.
|
|
2808
|
-
*
|
|
2809
|
-
* @param prompt - The ArtStandardPrompt object constructed by the agent.
|
|
2810
|
-
* @returns The validated prompt object (potentially after normalization if the schema does that).
|
|
2811
|
-
* @throws {ZodError} If validation fails (can be caught and wrapped in ARTError).
|
|
2812
|
-
*/
|
|
2813
|
-
validatePrompt(prompt: ArtStandardPrompt): ArtStandardPrompt;
|
|
2814
|
-
/**
|
|
2815
|
-
* Assembles a prompt using a Mustache template (blueprint) and context data.
|
|
2816
|
-
* Renders the template with the provided context and parses the result as an ArtStandardPrompt.
|
|
2817
|
-
*
|
|
2818
|
-
* @param blueprint - The Mustache template containing the prompt structure.
|
|
2819
|
-
* @param context - The context data to inject into the template.
|
|
2820
|
-
* @returns A promise resolving to the assembled ArtStandardPrompt.
|
|
2821
|
-
* @throws {ARTError} If template rendering or JSON parsing fails.
|
|
2822
|
-
*/
|
|
2823
|
-
assemblePrompt(blueprint: PromptBlueprint, context: PromptContext): Promise<ArtStandardPrompt>;
|
|
2824
|
-
}
|
|
2825
2841
|
/**
|
|
2826
2842
|
* Resolves the final system prompt from base + instance/thread/call overrides
|
|
2827
2843
|
* using tag+variables and merge strategies.
|
|
@@ -2864,7 +2880,14 @@ interface OutputParser {
|
|
|
2864
2880
|
plan?: string;
|
|
2865
2881
|
toolCalls?: ParsedToolCall[];
|
|
2866
2882
|
thoughts?: string;
|
|
2883
|
+
todoList?: TodoItem[];
|
|
2867
2884
|
}>;
|
|
2885
|
+
/**
|
|
2886
|
+
* Parses the raw string output from the execution LLM call (per todo item).
|
|
2887
|
+
* @param output - The raw string response from the execution LLM call.
|
|
2888
|
+
* @returns A promise resolving to the structured execution output.
|
|
2889
|
+
*/
|
|
2890
|
+
parseExecutionOutput(output: string): Promise<ExecutionOutput>;
|
|
2868
2891
|
/**
|
|
2869
2892
|
* Parses the raw string output from the synthesis LLM call to extract the final, user-facing response content.
|
|
2870
2893
|
* This might involve removing extraneous tags or formatting.
|
|
@@ -3477,6 +3500,76 @@ declare class McpManager {
|
|
|
3477
3500
|
uninstallServer(serverId: string): Promise<void>;
|
|
3478
3501
|
}
|
|
3479
3502
|
|
|
3503
|
+
/**
|
|
3504
|
+
* Configuration object required by the AgentFactory and createArtInstance function.
|
|
3505
|
+
* This will now use ArtInstanceConfig from types.ts which includes stateSavingStrategy.
|
|
3506
|
+
*/
|
|
3507
|
+
/**
|
|
3508
|
+
* Handles the instantiation and wiring of all core ART framework components based on provided configuration.
|
|
3509
|
+
* This class performs the dependency injection needed to create a functional `ArtInstance`.
|
|
3510
|
+
* It's typically used internally by the `createArtInstance` function.
|
|
3511
|
+
*/
|
|
3512
|
+
declare class AgentFactory {
|
|
3513
|
+
private config;
|
|
3514
|
+
private storageAdapter;
|
|
3515
|
+
private uiSystem;
|
|
3516
|
+
private conversationRepository;
|
|
3517
|
+
private observationRepository;
|
|
3518
|
+
private stateRepository;
|
|
3519
|
+
private a2aTaskRepository;
|
|
3520
|
+
private conversationManager;
|
|
3521
|
+
private stateManager;
|
|
3522
|
+
private observationManager;
|
|
3523
|
+
private toolRegistry;
|
|
3524
|
+
private providerManager;
|
|
3525
|
+
private reasoningEngine;
|
|
3526
|
+
private outputParser;
|
|
3527
|
+
private systemPromptResolver;
|
|
3528
|
+
private toolSystem;
|
|
3529
|
+
private authManager;
|
|
3530
|
+
private mcpManager;
|
|
3531
|
+
private agentDiscoveryService;
|
|
3532
|
+
private taskDelegationService;
|
|
3533
|
+
/**
|
|
3534
|
+
* Creates a new AgentFactory instance.
|
|
3535
|
+
* @param config - The configuration specifying which adapters and components to use.
|
|
3536
|
+
*/
|
|
3537
|
+
constructor(config: ArtInstanceConfig);
|
|
3538
|
+
/**
|
|
3539
|
+
* Asynchronously initializes all core components based on the configuration.
|
|
3540
|
+
* This includes setting up the storage adapter, repositories, managers, tool registry,
|
|
3541
|
+
* reasoning engine, and UI system.
|
|
3542
|
+
* This method MUST be called before `createAgent()`.
|
|
3543
|
+
* @returns A promise that resolves when initialization is complete.
|
|
3544
|
+
* @throws {Error} If configuration is invalid or initialization fails for a component.
|
|
3545
|
+
*/
|
|
3546
|
+
initialize(): Promise<void>;
|
|
3547
|
+
/**
|
|
3548
|
+
* Creates an instance of the configured Agent Core (e.g., `PESAgent`) and injects
|
|
3549
|
+
* all necessary initialized dependencies (managers, systems, etc.).
|
|
3550
|
+
* Requires `initialize()` to have been successfully called beforehand.
|
|
3551
|
+
* @returns An instance implementing the `IAgentCore` interface.
|
|
3552
|
+
* @throws {Error} If `initialize()` was not called or if essential components failed to initialize.
|
|
3553
|
+
*/
|
|
3554
|
+
createAgent(): IAgentCore;
|
|
3555
|
+
/** Gets the initialized Storage Adapter instance. */
|
|
3556
|
+
getStorageAdapter(): StorageAdapter | null;
|
|
3557
|
+
/** Gets the initialized UI System instance. */
|
|
3558
|
+
getUISystem(): UISystem$1 | null;
|
|
3559
|
+
/** Gets the initialized Tool Registry instance. */
|
|
3560
|
+
getToolRegistry(): ToolRegistry$1 | null;
|
|
3561
|
+
/** Gets the initialized State Manager instance. */
|
|
3562
|
+
getStateManager(): StateManager$1 | null;
|
|
3563
|
+
/** Gets the initialized Conversation Manager instance. */
|
|
3564
|
+
getConversationManager(): ConversationManager | null;
|
|
3565
|
+
/** Gets the initialized Observation Manager instance. */
|
|
3566
|
+
getObservationManager(): ObservationManager | null;
|
|
3567
|
+
/** Gets the initialized Auth Manager instance. */
|
|
3568
|
+
getAuthManager(): AuthManager | null;
|
|
3569
|
+
/** Gets the initialized MCP Manager instance. */
|
|
3570
|
+
getMcpManager(): McpManager | null;
|
|
3571
|
+
}
|
|
3572
|
+
|
|
3480
3573
|
/**
|
|
3481
3574
|
* High-level factory function to create and initialize a complete ART framework instance.
|
|
3482
3575
|
* This simplifies the setup process by handling the instantiation and wiring of all
|
|
@@ -3691,11 +3784,6 @@ declare class TaskDelegationService {
|
|
|
3691
3784
|
interface PESAgentDependencies {
|
|
3692
3785
|
/** Manages thread configuration and state. */
|
|
3693
3786
|
stateManager: StateManager$1;
|
|
3694
|
-
/**
|
|
3695
|
-
* Optional default system prompt string provided at the ART instance level.
|
|
3696
|
-
* This serves as a custom prompt part if no thread-specific or call-specific
|
|
3697
|
-
* system prompt is provided. It's appended to the agent's base system prompt.
|
|
3698
|
-
*/
|
|
3699
3787
|
/** Manages conversation history. */
|
|
3700
3788
|
conversationManager: ConversationManager;
|
|
3701
3789
|
/** Registry for available tools. */
|
|
@@ -3723,101 +3811,27 @@ interface PESAgentDependencies {
|
|
|
3723
3811
|
}
|
|
3724
3812
|
/**
|
|
3725
3813
|
* Implements the Plan-Execute-Synthesize (PES) agent orchestration logic.
|
|
3726
|
-
*
|
|
3727
|
-
* 1. **Plan:** Understand the user query, determine intent, and create a plan (potentially involving tool calls).
|
|
3728
|
-
* 2. **Execute:** Run any necessary tools identified in the planning phase.
|
|
3729
|
-
* 3. **Synthesize:** Generate a final response based on the query, plan, and tool results.
|
|
3730
|
-
*
|
|
3731
|
-
* It constructs standardized prompts (`ArtStandardPrompt`) directly as JavaScript objects
|
|
3732
|
-
* for the `ReasoningEngine`. It processes the `StreamEvent` output from the reasoning engine for both planning and synthesis.
|
|
3733
|
-
*
|
|
3734
|
-
* // @see {PromptManager} // Removed
|
|
3735
|
-
* @see {ReasoningEngine}
|
|
3736
|
-
* @see {ArtStandardPrompt}
|
|
3737
|
-
* @see {StreamEvent}
|
|
3814
|
+
* Refactored to support persistent TodoList execution and iterative refinement.
|
|
3738
3815
|
*/
|
|
3739
3816
|
declare class PESAgent implements IAgentCore {
|
|
3740
3817
|
private readonly deps;
|
|
3741
3818
|
private readonly persona;
|
|
3742
|
-
/**
|
|
3743
|
-
* Creates an instance of the PESAgent.
|
|
3744
|
-
* @param {module:core/agents/pes-agent.PESAgentDependencies} dependencies - An object containing instances of all required subsystems (managers, registries, etc.).
|
|
3745
|
-
*/
|
|
3746
3819
|
constructor(dependencies: PESAgentDependencies);
|
|
3747
|
-
/**
|
|
3748
|
-
* Executes the full Plan-Execute-Synthesize cycle for a given user query.
|
|
3749
|
-
*
|
|
3750
|
-
* **Workflow:**
|
|
3751
|
-
* 1. **Initiation & Config:** Loads thread configuration and resolves system prompt
|
|
3752
|
-
* 2. **Data Gathering:** Gathers history, available tools
|
|
3753
|
-
* 3. **Planning:** LLM call for planning and parsing
|
|
3754
|
-
* 4. **A2A Discovery & Delegation:** Identifies and delegates A2A tasks to remote agents
|
|
3755
|
-
* 5. **Tool Execution:** Executes identified local tool calls
|
|
3756
|
-
* 6. **Synthesis:** LLM call for final response generation including A2A results
|
|
3757
|
-
* 7. **Finalization:** Saves messages and cleanup
|
|
3758
|
-
*
|
|
3759
|
-
* @param {AgentProps} props - The input properties containing the user query, threadId, userId, traceId, etc.
|
|
3760
|
-
* @returns {Promise<AgentFinalResponse>} A promise resolving to the final response, including the AI message and execution metadata.
|
|
3761
|
-
* @throws {ARTError} If a critical error occurs that prevents the agent from completing the process.
|
|
3762
|
-
*/
|
|
3763
3820
|
process(props: AgentProps): Promise<AgentFinalResponse>;
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3821
|
+
private _saveState;
|
|
3822
|
+
private _recordPlanObservations;
|
|
3823
|
+
private _performPlanning;
|
|
3824
|
+
private _performPlanRefinement;
|
|
3825
|
+
private _callPlanningLLM;
|
|
3826
|
+
private _executeTodoList;
|
|
3827
|
+
private _processTodoItem;
|
|
3828
|
+
private _performSynthesis;
|
|
3768
3829
|
private _loadConfiguration;
|
|
3769
|
-
/**
|
|
3770
|
-
* Gathers conversation history for the current thread.
|
|
3771
|
-
* @private
|
|
3772
|
-
*/
|
|
3773
3830
|
private _gatherHistory;
|
|
3774
|
-
/**
|
|
3775
|
-
* Gathers available tools for the current thread.
|
|
3776
|
-
* @private
|
|
3777
|
-
*/
|
|
3778
3831
|
private _gatherTools;
|
|
3779
|
-
/**
|
|
3780
|
-
* Performs the planning phase including LLM call and output parsing.
|
|
3781
|
-
* @private
|
|
3782
|
-
*
|
|
3783
|
-
* @remarks
|
|
3784
|
-
* The planning prompt instructs the LLM to produce a concise `title` (<= 10 words)
|
|
3785
|
-
* alongside `intent`, `plan`, and `toolCalls`. After parsing, a `TITLE` observation
|
|
3786
|
-
* is emitted (if present) for UI components to subscribe via `ObservationSocket`.
|
|
3787
|
-
*/
|
|
3788
|
-
private _performPlanning;
|
|
3789
|
-
/**
|
|
3790
|
-
* Delegates A2A tasks identified in the planning phase.
|
|
3791
|
-
* @private
|
|
3792
|
-
*/
|
|
3793
3832
|
private _delegateA2ATasks;
|
|
3794
|
-
/**
|
|
3795
|
-
* Waits for A2A tasks to complete with configurable timeout.
|
|
3796
|
-
* Polls task status periodically and updates local repository with results.
|
|
3797
|
-
* @private
|
|
3798
|
-
*/
|
|
3799
3833
|
private _waitForA2ACompletion;
|
|
3800
|
-
/**
|
|
3801
|
-
* Executes local tools identified during planning.
|
|
3802
|
-
* @private
|
|
3803
|
-
*/
|
|
3804
|
-
private _executeLocalTools;
|
|
3805
|
-
/**
|
|
3806
|
-
* Performs the synthesis phase including LLM call for final response generation.
|
|
3807
|
-
* @private
|
|
3808
|
-
*/
|
|
3809
|
-
private _performSynthesis;
|
|
3810
|
-
/**
|
|
3811
|
-
* Finalizes the agent execution by saving the final message and performing cleanup.
|
|
3812
|
-
* @private
|
|
3813
|
-
*/
|
|
3814
3834
|
private _finalize;
|
|
3815
|
-
/**
|
|
3816
|
-
* Formats conversation history messages for direct inclusion in ArtStandardPrompt.
|
|
3817
|
-
* Converts internal MessageRole to ArtStandardMessageRole.
|
|
3818
|
-
* @param history - Array of ConversationMessage objects.
|
|
3819
|
-
* @returns Array of messages suitable for ArtStandardPrompt.
|
|
3820
|
-
*/
|
|
3821
3835
|
private formatHistoryForPrompt;
|
|
3822
3836
|
}
|
|
3823
3837
|
|
|
@@ -4130,7 +4144,7 @@ declare class SupabaseStorageAdapter implements StorageAdapter {
|
|
|
4130
4144
|
interface GeminiAdapterOptions {
|
|
4131
4145
|
/** Your Google AI API key (e.g., from Google AI Studio). Handle securely. */
|
|
4132
4146
|
apiKey: string;
|
|
4133
|
-
/** The default Gemini model ID to use (e.g., 'gemini-
|
|
4147
|
+
/** The default Gemini model ID to use (e.g., 'gemini-2.5-flash', 'gemini-pro'). Defaults to 'gemini-2.5-flash' if not provided. */
|
|
4134
4148
|
model?: string;
|
|
4135
4149
|
/** Optional: Override the base URL for the Google Generative AI API. */
|
|
4136
4150
|
apiBaseUrl?: string;
|
|
@@ -5253,4 +5267,4 @@ declare const generateUUID: () => string;
|
|
|
5253
5267
|
*/
|
|
5254
5268
|
declare const VERSION = "0.3.8";
|
|
5255
5269
|
|
|
5256
|
-
export { type A2AAgentInfo, type A2ATask, type A2ATaskEvent, type A2ATaskFilter, type A2ATaskMetadata, A2ATaskPriority, type A2ATaskResult, A2ATaskSocket, A2ATaskStatus, ARTError, AdapterInstantiationError, type AgentDiscoveryConfig, AgentDiscoveryService, type AgentFinalResponse, type AgentOptions, type AgentPersona, type AgentProps, type AgentState, AnthropicAdapter, type AnthropicAdapterOptions, ApiKeyStrategy, ApiQueueTimeoutError, type ArtInstance, type ArtInstanceConfig, type ArtStandardMessage, type ArtStandardMessageRole, ArtStandardMessageSchema, type ArtStandardPrompt, ArtStandardPromptSchema, AuthManager, type AvailableProviderEntry, CalculatorTool, type CallOptions, type ConversationManager, type ConversationMessage, ConversationSocket, type CreateA2ATaskRequest, DeepSeekAdapter, type DeepSeekAdapterOptions, ErrorCode, type ExecutionContext, type ExecutionMetadata, type FilterOptions, type FormattedPrompt, GeminiAdapter, type GeminiAdapterOptions, GenericOAuthStrategy, type IA2ATaskRepository, type IAgentCore, type IAuthStrategy, type IConversationRepository, type IObservationRepository, type IProviderManager, type IStateRepository, type IToolExecutor, type ITypedSocket, InMemoryStorageAdapter, IndexedDBStorageAdapter, type JsonObjectSchema, type JsonSchema, type LLMMetadata, LLMStreamSocket, LocalInstanceBusyError, LocalProviderConflictError, LogLevel, Logger, type LoggerConfig, type ManagedAdapterAccessor, McpClientController, McpManager, type McpManagerConfig, McpProxyTool, type McpResource, type McpResourceTemplate, type McpServerConfig, type McpServerStatus, type McpToolDefinition, type MessageOptions, MessageRole, ModelCapability, type OAuthConfig, type Observation, type ObservationFilter, type ObservationManager, ObservationSocket, ObservationType, OllamaAdapter, type OllamaAdapterOptions, OpenAIAdapter, type OpenAIAdapterOptions, OpenRouterAdapter, type OpenRouterAdapterOptions, type OutputParser, PESAgent, type PKCEOAuthConfig, PKCEOAuthStrategy, type ParsedToolCall, type PromptBlueprint, type PromptContext, type
|
|
5270
|
+
export { type A2AAgentInfo, type A2ATask, type A2ATaskEvent, type A2ATaskFilter, type A2ATaskMetadata, A2ATaskPriority, type A2ATaskResult, A2ATaskSocket, A2ATaskStatus, ARTError, AdapterInstantiationError, type AgentDiscoveryConfig, AgentDiscoveryService, AgentFactory, type AgentFinalResponse, type AgentOptions, type AgentPersona, type AgentProps, type AgentState, AnthropicAdapter, type AnthropicAdapterOptions, ApiKeyStrategy, ApiQueueTimeoutError, type ArtInstance, type ArtInstanceConfig, type ArtStandardMessage, type ArtStandardMessageRole, ArtStandardMessageSchema, type ArtStandardPrompt, ArtStandardPromptSchema, AuthManager, type AvailableProviderEntry, CalculatorTool, type CallOptions, type ConversationManager, type ConversationMessage, ConversationSocket, type CreateA2ATaskRequest, DeepSeekAdapter, type DeepSeekAdapterOptions, ErrorCode, type ExecutionContext, type ExecutionMetadata, type ExecutionOutput, type FilterOptions, type FormattedPrompt, GeminiAdapter, type GeminiAdapterOptions, GenericOAuthStrategy, type IA2ATaskRepository, type IAgentCore, type IAuthStrategy, type IConversationRepository, type IObservationRepository, type IProviderManager, type IStateRepository, type IToolExecutor, type ITypedSocket, InMemoryStorageAdapter, IndexedDBStorageAdapter, type JsonObjectSchema, type JsonSchema, type LLMMetadata, LLMStreamSocket, LocalInstanceBusyError, LocalProviderConflictError, LogLevel, Logger, type LoggerConfig, type ManagedAdapterAccessor, McpClientController, McpManager, type McpManagerConfig, McpProxyTool, type McpResource, type McpResourceTemplate, type McpServerConfig, type McpServerStatus, type McpToolDefinition, type MessageOptions, MessageRole, ModelCapability, type OAuthConfig, type Observation, type ObservationFilter, type ObservationManager, ObservationSocket, ObservationType, OllamaAdapter, type OllamaAdapterOptions, OpenAIAdapter, type OpenAIAdapterOptions, OpenRouterAdapter, type OpenRouterAdapterOptions, type OutputParser, PESAgent, type PESAgentStateData, type PKCEOAuthConfig, PKCEOAuthStrategy, type ParsedToolCall, type PromptBlueprint, type PromptContext, type ProviderAdapter, type ProviderManagerConfig, ProviderManagerImpl, type ReasoningEngine, type RuntimeProviderConfig, type StageSpecificPrompts, StateManager, type StateSavingStrategy, type StorageAdapter, type StreamEvent, type StreamEventTypeFilter, SupabaseStorageAdapter, type SystemPromptMergeStrategy, type SystemPromptOverride, type SystemPromptResolver, type SystemPromptSpec, type SystemPromptsRegistry, type TaskDelegationConfig, TaskDelegationService, type TaskStatusResponse, type ThreadConfig, type ThreadContext, type TodoItem, TodoItemStatus, ToolRegistry, type ToolResult, type ToolSchema, type ToolSystem, TypedSocket, UISystem, UnknownProviderError, type UnsubscribeFunction, type UpdateA2ATaskRequest, VERSION, type ZyntopiaOAuthConfig, ZyntopiaOAuthStrategy, createArtInstance, generateUUID };
|