@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
859 lines • 50.3 kB
TypeScript
import type { BookParameter } from '../book-2.0/agent-source/AgentBasicInformation';
import type { AgentCapability } from '../book-2.0/agent-source/AgentBasicInformation';
import type { AgentBasicInformation } from '../book-2.0/agent-source/AgentBasicInformation';
import type { AgentModelRequirements } from '../book-2.0/agent-source/AgentModelRequirements';
import type { CreateAgentModelRequirementsOptions } from '../book-2.0/agent-source/CreateAgentModelRequirementsOptions';
import type { string_book } from '../book-2.0/agent-source/string_book';
import type { AvatarChipProps } from '../book-components/AvatarProfile/AvatarChip/AvatarChip';
import type { AvatarChipFromSourceProps } from '../book-components/AvatarProfile/AvatarChip/AvatarChipFromSource';
import type { AvatarProfileProps } from '../book-components/AvatarProfile/AvatarProfile/AvatarProfile';
import type { AvatarProfileFromSourceProps } from '../book-components/AvatarProfile/AvatarProfile/AvatarProfileFromSource';
import type { BookEditorUploadProgressCallback } from '../book-components/BookEditor/BookEditor';
import type { BookEditorUploadOptions } from '../book-components/BookEditor/BookEditor';
import type { BookEditorProps } from '../book-components/BookEditor/BookEditor';
import type { UploadItem } from '../book-components/BookEditor/useBookEditorMonacoUploads';
import type { UploadStats } from '../book-components/BookEditor/useBookEditorMonacoUploads';
import type { AgentChatProps } from '../book-components/Chat/AgentChat/AgentChatProps';
import type { AgentChipData } from '../book-components/Chat/AgentChip/AgentChip';
import type { AgentChipProps } from '../book-components/Chat/AgentChip/AgentChip';
import type { ChatFeedbackResponse } from '../book-components/Chat/Chat/ChatProps';
import type { ChatFeedbackMode } from '../book-components/Chat/Chat/ChatProps';
import type { ChatVisualMode } from '../book-components/Chat/Chat/ChatProps';
import type { ChatFeedbackTranslations } from '../book-components/Chat/Chat/ChatProps';
import type { ChatUiTranslations } from '../book-components/Chat/Chat/ChatProps';
import type { ChatTimingTranslations } from '../book-components/Chat/Chat/ChatProps';
import type { ChatSoundSystem } from '../book-components/Chat/Chat/ChatProps';
import type { ChatProps } from '../book-components/Chat/Chat/ChatProps';
import type { ChatSoundToggleProps } from '../book-components/Chat/Chat/ChatSoundToggle';
import type { ChatVibrationToggleProps } from '../book-components/Chat/Chat/ChatSoundToggle';
import type { ChatSoundAndVibrationPanelProps } from '../book-components/Chat/Chat/ChatSoundToggle';
import type { ChatEffect } from '../book-components/Chat/effects/types/ChatEffect';
import type { ChatEffectConfig } from '../book-components/Chat/effects/types/ChatEffectConfig';
import type { ChatEffectsSystemProps } from '../book-components/Chat/effects/types/ChatEffectsSystemProps';
import type { ChatEffectType } from '../book-components/Chat/effects/types/ChatEffectType';
import type { ChatActionsOverlapResult } from '../book-components/Chat/hooks/useChatActionsOverlap';
import type { ChatAutoScrollConfig } from '../book-components/Chat/hooks/useChatAutoScroll';
import type { SendMessageToLlmChatFunction } from '../book-components/Chat/hooks/useSendMessageToLlmChat';
import type { FriendlyErrorMessage } from '../book-components/Chat/LlmChat/FriendlyErrorMessage';
import type { LlmChatProps } from '../book-components/Chat/LlmChat/LlmChatProps';
import type { MockedChatDelayConfig } from '../book-components/Chat/MockedChat/MockedChat';
import type { MockedChatProps } from '../book-components/Chat/MockedChat/MockedChat';
import type { ChatSaveFormatDefinition } from '../book-components/Chat/save/_common/ChatSaveFormatDefinition';
import type { string_chat_format_name } from '../book-components/Chat/save/_common/string_chat_format_name';
import type { SourceChipProps } from '../book-components/Chat/SourceChip/SourceChip';
import type { ChatToolCall } from '../book-components/Chat/types/ChatMessage';
import type { ChatProgressItem } from '../book-components/Chat/types/ChatMessage';
import type { ChatProgressCard } from '../book-components/Chat/types/ChatMessage';
import type { ChatMessageReplyingTo } from '../book-components/Chat/types/ChatMessage';
import type { ChatMessage } from '../book-components/Chat/types/ChatMessage';
import type { ChatParticipant } from '../book-components/Chat/types/ChatParticipant';
import type { ParsedCitation } from '../book-components/Chat/utils/parseCitationsFromContent';
import type { MessageButton } from '../book-components/Chat/utils/parseMessageButtons';
import type { TeamToolResult } from '../book-components/Chat/utils/toolCallParsing/TeamToolResult';
import type { QrCodeOptions } from '../book-components/Qr/useQrCode';
import type { AgentCollection } from '../collection/agent-collection/AgentCollection';
import type { AgentCollectionInSupabaseOptions } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabaseOptions';
import type { Json } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { AgentsDatabaseSchema } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { Tables } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { TablesInsert } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { TablesUpdate } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { Enums } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { CompositeTypes } from '../collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema';
import type { PipelineCollection } from '../collection/pipeline-collection/PipelineCollection';
import type { Command } from '../commands/_common/types/Command';
import type { CommandParser } from '../commands/_common/types/CommandParser';
import type { PipelineBothCommandParser } from '../commands/_common/types/CommandParser';
import type { PipelineHeadCommandParser } from '../commands/_common/types/CommandParser';
import type { PipelineTaskCommandParser } from '../commands/_common/types/CommandParser';
import type { CommandParserInput } from '../commands/_common/types/CommandParser';
import type { CommandType } from '../commands/_common/types/CommandType';
import type { CommandUsagePlace } from '../commands/_common/types/CommandUsagePlaces';
import type { BookVersionCommand } from '../commands/BOOK_VERSION/BookVersionCommand';
import type { ExpectCommand } from '../commands/EXPECT/ExpectCommand';
import type { ForeachCommand } from '../commands/FOREACH/ForeachCommand';
import type { ForeachJson } from '../commands/FOREACH/ForeachJson';
import type { FormatCommand } from '../commands/FORMAT/FormatCommand';
import type { FormfactorCommand } from '../commands/FORMFACTOR/FormfactorCommand';
import type { JokerCommand } from '../commands/JOKER/JokerCommand';
import type { KnowledgeCommand } from '../commands/KNOWLEDGE/KnowledgeCommand';
import type { ModelCommand } from '../commands/MODEL/ModelCommand';
import type { ParameterCommand } from '../commands/PARAMETER/ParameterCommand';
import type { PersonaCommand } from '../commands/PERSONA/PersonaCommand';
import type { PostprocessCommand } from '../commands/POSTPROCESS/PostprocessCommand';
import type { SectionCommand } from '../commands/SECTION/SectionCommand';
import type { UrlCommand } from '../commands/URL/UrlCommand';
import type { ActionCommand } from '../commands/X_ACTION/ActionCommand';
import type { InstrumentCommand } from '../commands/X_INSTRUMENT/InstrumentCommand';
import type { BookCommitment } from '../commitments/_base/BookCommitment';
import type { CommitmentDefinition } from '../commitments/_base/CommitmentDefinition';
import type { ParsedCommitment } from '../commitments/_base/ParsedCommitment';
import type { PrettifyOptions } from '../conversion/prettify/PrettifyOptions';
import type { renderPipelineMermaidOptions } from '../conversion/prettify/renderPipelineMermaidOptions';
import type { CallbackInterfaceToolsOptions } from '../dialogs/callback/CallbackInterfaceToolsOptions';
import type { ErrorJson } from '../errors/utils/ErrorJson';
import type { LocateAppOptions } from '../executables/locateApp';
import type { AbstractTaskResult } from '../execution/AbstractTaskResult';
import type { AvailableModel } from '../execution/AvailableModel';
import type { CommonToolsOptions } from '../execution/CommonToolsOptions';
import type { CreatePipelineExecutorOptions } from '../execution/createPipelineExecutor/00-CreatePipelineExecutorOptions';
import type { EmbeddingVector } from '../execution/EmbeddingVector';
import type { Executables } from '../execution/Executables';
import type { ExecutionPromptReportJson } from '../execution/execution-report/ExecutionPromptReportJson';
import type { ExecutionReportJson } from '../execution/execution-report/ExecutionReportJson';
import type { ExecutionReportString } from '../execution/execution-report/ExecutionReportString';
import type { ExecutionReportStringOptions } from '../execution/execution-report/ExecutionReportStringOptions';
import type { ExecutionTask } from '../execution/ExecutionTask';
import type { PreparationTask } from '../execution/ExecutionTask';
import type { task_status } from '../execution/ExecutionTask';
import type { AbstractTask } from '../execution/ExecutionTask';
import type { Task } from '../execution/ExecutionTask';
import type { ExecutionTools } from '../execution/ExecutionTools';
import type { FilesystemTools } from '../execution/FilesystemTools';
import type { LlmExecutionTools } from '../execution/LlmExecutionTools';
import type { LlmExecutionToolsConstructor } from '../execution/LlmExecutionToolsConstructor';
import type { PipelineExecutor } from '../execution/PipelineExecutor';
import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
import type { PromptbookFetch } from '../execution/PromptbookFetch';
import type { PromptResult } from '../execution/PromptResult';
import type { CompletionPromptResult } from '../execution/PromptResult';
import type { ChatPromptResult } from '../execution/PromptResult';
import type { ImagePromptResult } from '../execution/PromptResult';
import type { EmbeddingPromptResult } from '../execution/PromptResult';
import type { ScriptExecutionTools } from '../execution/ScriptExecutionTools';
import type { ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
import type { UncertainNumber } from '../execution/UncertainNumber';
import type { Usage } from '../execution/Usage';
import type { UsageCounts } from '../execution/Usage';
import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
import type { ValidatePromptResultOptions } from '../execution/utils/validatePromptResult';
import type { ValidatePromptResultResult } from '../execution/utils/validatePromptResult';
import type { FileSecurityChecker } from '../file-security-checkers/FileSecurityChecker';
import type { FileSecurityCheckResult } from '../file-security-checkers/FileSecurityCheckResult';
import type { FormatSubvalueParser } from '../formats/_common/FormatSubvalueParser';
import type { FormatSubvalueParserMapValuesOptions } from '../formats/_common/FormatSubvalueParser';
import type { CsvSettings } from '../formats/csv/CsvSettings';
import type { AbstractFormfactorDefinition } from '../formfactors/_common/AbstractFormfactorDefinition';
import type { FormfactorDefinition } from '../formfactors/_common/FormfactorDefinition';
import type { string_formfactor_name } from '../formfactors/_common/string_formfactor_name';
import type { FileImportPlugin } from '../import-plugins/FileImportPlugin';
import type { LlmToolsConfiguration } from '../llm-providers/_common/register/LlmToolsConfiguration';
import type { LlmToolsMetadata } from '../llm-providers/_common/register/LlmToolsMetadata';
import type { LlmToolsOptions } from '../llm-providers/_common/register/LlmToolsOptions';
import type { CacheItem } from '../llm-providers/_common/utils/cache/CacheItem';
import type { CacheLlmToolsOptions } from '../llm-providers/_common/utils/cache/CacheLlmToolsOptions';
import type { LlmExecutionToolsWithTotalUsage } from '../llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
import type { AgentOptions } from '../llm-providers/agent/AgentOptions';
import type { CreateAgentLlmExecutionToolsOptions } from '../llm-providers/agent/CreateAgentLlmExecutionToolsOptions';
import type { RemoteAgentOptions } from '../llm-providers/agent/RemoteAgentOptions';
import type { AnthropicClaudeExecutionToolsOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import type { AnthropicClaudeExecutionToolsNonProxiedOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import type { AnthropicClaudeExecutionToolsProxiedOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions';
import type { DeepseekExecutionToolsOptions } from '../llm-providers/deepseek/DeepseekExecutionToolsOptions';
import type { GoogleExecutionToolsOptions } from '../llm-providers/google/GoogleExecutionToolsOptions';
import type { OllamaExecutionToolsOptions } from '../llm-providers/ollama/OllamaExecutionToolsOptions';
import type { OpenAiAgentKitExecutionToolsOptions } from '../llm-providers/openai/OpenAiAgentKitExecutionToolsOptions';
import type { OpenAiAssistantExecutionToolsOptions } from '../llm-providers/openai/OpenAiAssistantExecutionToolsOptions';
import type { OpenAiCompatibleExecutionToolsOptions } from '../llm-providers/openai/OpenAiCompatibleExecutionToolsOptions';
import type { OpenAiCompatibleExecutionToolsNonProxiedOptions } from '../llm-providers/openai/OpenAiCompatibleExecutionToolsOptions';
import type { OpenAiCompatibleExecutionToolsProxiedOptions } from '../llm-providers/openai/OpenAiCompatibleExecutionToolsOptions';
import type { OpenAiExecutionToolsOptions } from '../llm-providers/openai/OpenAiExecutionToolsOptions';
import type { OpenAiVectorStoreHandlerOptions } from '../llm-providers/openai/OpenAiVectorStoreHandler';
import type { VercelExecutionToolsOptions } from '../llm-providers/vercel/VercelExecutionToolsOptions';
import type { VercelProvider } from '../llm-providers/vercel/VercelProvider';
import type { IsPipelineImplementingInterfaceOptions } from '../pipeline/PipelineInterface/isPipelineImplementingInterface';
import type { PipelineInterface } from '../pipeline/PipelineInterface/PipelineInterface';
import type { CommonTaskJson } from '../pipeline/PipelineJson/CommonTaskJson';
import type { DialogTaskJson } from '../pipeline/PipelineJson/DialogTaskJson';
import type { Expectations } from '../pipeline/PipelineJson/Expectations';
import type { ExpectationUnit } from '../pipeline/PipelineJson/Expectations';
import type { ExpectationAmount } from '../pipeline/PipelineJson/Expectations';
import type { KnowledgePiecePreparedJson } from '../pipeline/PipelineJson/KnowledgePieceJson';
import type { KnowledgeSourceJson } from '../pipeline/PipelineJson/KnowledgeSourceJson';
import type { KnowledgeSourcePreparedJson } from '../pipeline/PipelineJson/KnowledgeSourceJson';
import type { ParameterJson } from '../pipeline/PipelineJson/ParameterJson';
import type { InputParameterJson } from '../pipeline/PipelineJson/ParameterJson';
import type { IntermediateParameterJson } from '../pipeline/PipelineJson/ParameterJson';
import type { OutputParameterJson } from '../pipeline/PipelineJson/ParameterJson';
import type { CommonParameterJson } from '../pipeline/PipelineJson/ParameterJson';
import type { PersonaJson } from '../pipeline/PipelineJson/PersonaJson';
import type { PersonaPreparedJson } from '../pipeline/PipelineJson/PersonaJson';
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
import type { PreparationJson } from '../pipeline/PipelineJson/PreparationJson';
import type { PromptTaskJson } from '../pipeline/PipelineJson/PromptTaskJson';
import type { ScriptTaskJson } from '../pipeline/PipelineJson/ScriptTaskJson';
import type { SimpleTaskJson } from '../pipeline/PipelineJson/SimpleTaskJson';
import type { TaskJson } from '../pipeline/PipelineJson/TaskJson';
import type { PipelineString } from '../pipeline/PipelineString';
import type { PrepareAndScrapeOptions } from '../prepare/PrepareAndScrapeOptions';
import type { paths } from '../remote-server/openapi-types';
import type { webhooks } from '../remote-server/openapi-types';
import type { components } from '../remote-server/openapi-types';
import type { $defs } from '../remote-server/openapi-types';
import type { operations } from '../remote-server/openapi-types';
import type { RemoteServer } from '../remote-server/RemoteServer';
import type { Identification } from '../remote-server/socket-types/_subtypes/Identification';
import type { ApplicationModeIdentification } from '../remote-server/socket-types/_subtypes/Identification';
import type { AnonymousModeIdentification } from '../remote-server/socket-types/_subtypes/Identification';
import type { RemoteClientOptions } from '../remote-server/types/RemoteClientOptions';
import type { RemoteServerOptions } from '../remote-server/types/RemoteServerOptions';
import type { AnonymousRemoteServerOptions } from '../remote-server/types/RemoteServerOptions';
import type { ApplicationRemoteServerOptions } from '../remote-server/types/RemoteServerOptions';
import type { ApplicationRemoteServerClientOptions } from '../remote-server/types/RemoteServerOptions';
import type { LoginRequest } from '../remote-server/types/RemoteServerOptions';
import type { LoginResponse } from '../remote-server/types/RemoteServerOptions';
import type { ServerInfo } from '../remote-server/ui/types';
import type { Converter } from '../scrapers/_common/Converter';
import type { ScraperAndConverterMetadata } from '../scrapers/_common/register/ScraperAndConverterMetadata';
import type { ScraperConstructor } from '../scrapers/_common/register/ScraperConstructor';
import type { Scraper } from '../scrapers/_common/Scraper';
import type { ScraperSourceHandler } from '../scrapers/_common/Scraper';
import type { ScraperIntermediateSource } from '../scrapers/_common/ScraperIntermediateSource';
import type { JavascriptExecutionToolsOptions } from '../scripting/javascript/JavascriptExecutionToolsOptions';
import type { PostprocessingFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
import type { ToolFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
import type { SearchEngine } from '../search-engines/SearchEngine';
import type { SearchResult } from '../search-engines/SearchResult';
import type { OpenAiSpeechRecognitionOptions } from '../speech-recognition/OpenAiSpeechRecognition';
import type { PromptbookStorage } from '../storage/_common/PromptbookStorage';
import type { FileCacheStorageOptions } from '../storage/file-cache-storage/FileCacheStorageOptions';
import type { IndexedDbStorageOptions } from '../storage/local-storage/utils/IndexedDbStorageOptions';
import type { BookTranspiler } from '../transpilers/_common/BookTranspiler';
import type { BookTranspilerOptions } from '../transpilers/_common/BookTranspilerOptions';
import type { TranspiledTeamAgentModelRequirements } from '../transpilers/_common/TranspiledTeamExport';
import type { TranspiledTeamTeammate } from '../transpilers/_common/TranspiledTeamExport';
import type { TranspiledTeamAgent } from '../transpilers/_common/TranspiledTeamExport';
import type { TranspiledTeamExport } from '../transpilers/_common/TranspiledTeamExport';
import type { IntermediateFilesStrategy } from '../types/IntermediateFilesStrategy';
import type { LlmCall } from '../types/LlmCall';
import type { LlmToolDefinition } from '../types/LlmToolDefinition';
import type { Message } from '../types/Message';
import type { ModelRequirements } from '../types/ModelRequirements';
import type { CompletionModelRequirements } from '../types/ModelRequirements';
import type { ChatModelRequirements } from '../types/ModelRequirements';
import type { ImageGenerationModelRequirements } from '../types/ModelRequirements';
import type { EmbeddingModelRequirements } from '../types/ModelRequirements';
import type { ModelVariant } from '../types/ModelVariant';
import type { NonEmptyArray } from '../types/NonEmptyArray';
import type { NonEmptyReadonlyArray } from '../types/NonEmptyArray';
import type { number_bytes } from '../types/number_bytes';
import type { number_kilobytes } from '../types/number_bytes';
import type { number_megabytes } from '../types/number_bytes';
import type { number_gigabytes } from '../types/number_bytes';
import type { number_terabytes } from '../types/number_bytes';
import type { number_id } from '../types/number_id';
import type { number_linecol_number } from '../types/number_id';
import type { number_tokens } from '../types/number_id';
import type { number_likeness } from '../types/number_likeness';
import type { number_milliseconds } from '../types/number_milliseconds';
import type { number_seconds } from '../types/number_milliseconds';
import type { number_minutes } from '../types/number_milliseconds';
import type { number_hours } from '../types/number_milliseconds';
import type { number_days } from '../types/number_milliseconds';
import type { number_weeks } from '../types/number_milliseconds';
import type { number_months } from '../types/number_milliseconds';
import type { number_years } from '../types/number_milliseconds';
import type { number_percent } from '../types/number_percent';
import type { number_model_temperature } from '../types/number_percent';
import type { number_seed } from '../types/number_percent';
import type { number_positive } from '../types/number_positive';
import type { number_negative } from '../types/number_positive';
import type { number_integer } from '../types/number_positive';
import type { number_port } from '../types/number_positive';
import type { number_usd } from '../types/number_usd';
import type { Parameters } from '../types/Parameters';
import type { InputParameters } from '../types/Parameters';
import type { ReservedParameters } from '../types/Parameters';
import type { Prompt } from '../types/Prompt';
import type { CompletionPrompt } from '../types/Prompt';
import type { ChatPrompt } from '../types/Prompt';
import type { ImagePrompt } from '../types/Prompt';
import type { EmbeddingPrompt } from '../types/Prompt';
import type { ScriptLanguage } from '../types/ScriptLanguage';
import type { SectionType } from '../types/SectionType';
import type { SpeechRecognitionErrorCode } from '../types/SpeechRecognition';
import type { SpeechRecognition } from '../types/SpeechRecognition';
import type { SpeechRecognitionStartOptions } from '../types/SpeechRecognition';
import type { SpeechRecognitionState } from '../types/SpeechRecognition';
import type { SpeechRecognitionEvent } from '../types/SpeechRecognition';
import type { string_agent_name } from '../types/string_agent_name';
import type { string_agent_name_in_book } from '../types/string_agent_name';
import type { string_agent_hash } from '../types/string_agent_name';
import type { string_agent_permanent_id } from '../types/string_agent_name';
import type { string_agent_url } from '../types/string_agent_url';
import type { string_base_url } from '../types/string_base_url';
import type { string_base64 } from '../types/string_base64';
import type { string_data_url } from '../types/string_base64';
import type { string_business_category_name } from '../types/string_business_category_name';
import type { string_email } from '../types/string_email';
import type { string_emails } from '../types/string_email';
import type { string_absolute_filename } from '../types/string_filename';
import type { string_relative_filename } from '../types/string_filename';
import type { string_filename } from '../types/string_filename';
import type { string_absolute_dirname } from '../types/string_filename';
import type { string_relative_dirname } from '../types/string_filename';
import type { string_dirname } from '../types/string_filename';
import type { string_executable_path } from '../types/string_filename';
import type { string_domain } from '../types/string_host';
import type { string_origin } from '../types/string_host';
import type { string_tdl } from '../types/string_host';
import type { string_hostname } from '../types/string_host';
import type { string_host } from '../types/string_host';
import type { string_protocol } from '../types/string_host';
import type { string_ip_address } from '../types/string_host';
import type { string_href } from '../types/string_href';
import type { string_uri } from '../types/string_href';
import type { string_uri_part } from '../types/string_href';
import type { string_knowledge_source_content } from '../types/string_knowledge_source_content';
import type { string_knowledge_source_link } from '../types/string_knowledge_source_content';
import type { string_html } from '../types/string_markdown';
import type { string_xml } from '../types/string_markdown';
import type { string_markdown } from '../types/string_markdown';
import type { string_markdown_section } from '../types/string_markdown';
import type { string_markdown_section_content } from '../types/string_markdown';
import type { string_markdown_text } from '../types/string_markdown';
import type { string_markdown_codeblock_language } from '../types/string_markdown';
import type { string_promptbook_documentation_url } from '../types/string_markdown';
import type { string_css } from '../types/string_markdown';
import type { string_svg } from '../types/string_markdown';
import type { string_script } from '../types/string_markdown';
import type { string_javascript } from '../types/string_markdown';
import type { string_typescript } from '../types/string_markdown';
import type { string_json } from '../types/string_markdown';
import type { string_css_class } from '../types/string_markdown';
import type { string_css_property } from '../types/string_markdown';
import type { string_fonts } from '../types/string_markdown';
import type { string_css_value } from '../types/string_markdown';
import type { string_css_selector } from '../types/string_markdown';
import type { string_mime_type } from '../types/string_mime_type';
import type { string_mime_type_with_wildcard } from '../types/string_mime_type';
import type { string_model_name } from '../types/string_model_name';
import type { string_name } from '../types/string_name';
import type { string_parameter_name } from '../types/string_name';
import type { string_parameter_value } from '../types/string_name';
import type { string_reserved_parameter_name } from '../types/string_name';
import type { string_page } from '../types/string_page';
import type { string_char } from '../types/string_page';
import type { string_person_fullname } from '../types/string_person_fullname';
import type { string_person_firstname } from '../types/string_person_fullname';
import type { string_person_lastname } from '../types/string_person_fullname';
import type { string_person_profile } from '../types/string_person_fullname';
import type { string_license } from '../types/string_person_fullname';
import type { string_legal_entity } from '../types/string_person_fullname';
import type { string_attribute } from '../types/string_person_fullname';
import type { string_attribute_value_scope } from '../types/string_person_fullname';
import type { string_color } from '../types/string_person_fullname';
import type { string_translate_name } from '../types/string_person_fullname';
import type { string_translate_name_not_normalized } from '../types/string_person_fullname';
import type { string_translate_language } from '../types/string_person_fullname';
import type { string_javascript_name } from '../types/string_person_fullname';
import type { string_postprocessing_function_name } from '../types/string_person_fullname';
import type { string_persona_description } from '../types/string_persona_description';
import type { string_model_description } from '../types/string_persona_description';
import type { string_pipeline_root_url } from '../types/string_pipeline_root_url';
import type { string_pipeline_url } from '../types/string_pipeline_url';
import type { string_pipeline_url_with_task_hash } from '../types/string_pipeline_url';
import type { string_prompt } from '../types/string_prompt';
import type { string_prompt_image } from '../types/string_prompt';
import type { string_template } from '../types/string_prompt';
import type { string_text_prompt } from '../types/string_prompt';
import type { string_chat_prompt } from '../types/string_prompt';
import type { string_system_message } from '../types/string_prompt';
import type { string_completion_prompt } from '../types/string_prompt';
import type { string_promptbook_server_url } from '../types/string_promptbook_server_url';
import type { string_uuid } from '../types/string_sha256';
import type { string_sha256 } from '../types/string_sha256';
import type { string_base_58 } from '../types/string_sha256';
import type { string_semantic_version } from '../types/string_sha256';
import type { string_version_dependency } from '../types/string_sha256';
import type { string_file_extension } from '../types/string_sha256';
import type { string_title } from '../types/string_title';
import type { id } from '../types/string_token';
import type { task_id } from '../types/string_token';
import type { string_token } from '../types/string_token';
import type { string_promptbook_token } from '../types/string_token';
import type { string_license_token } from '../types/string_token';
import type { string_password } from '../types/string_token';
import type { string_ssh_key } from '../types/string_token';
import type { string_pgp_key } from '../types/string_token';
import type { string_language } from '../types/string_token';
import type { string_date_iso8601 } from '../types/string_token';
import type { string_app_id } from '../types/string_token';
import type { string_user_id } from '../types/string_token';
import type { string_url_image } from '../types/string_url_image';
import type { string_url } from '../types/string_url';
import type { TaskType } from '../types/TaskType';
import type { ToolCallState } from '../types/ToolCall';
import type { ToolCallLogLevel } from '../types/ToolCall';
import type { ToolCallLogEntry } from '../types/ToolCall';
import type { ToolCall } from '../types/ToolCall';
import type { SelfLearningCommitmentTypeCounts } from '../types/ToolCall';
import type { SelfLearningTeacherSummary } from '../types/ToolCall';
import type { SelfLearningToolCallResult } from '../types/ToolCall';
import type { ASSISTANT_PREPARATION_TOOL_CALL_NAME } from '../types/ToolCall';
import type { isAssistantPreparationToolCall } from '../types/ToolCall';
import type { string_char_emoji } from '../types/typeAliasEmoji';
import type { Updatable } from '../types/Updatable';
import type { ChatAttachment } from '../utils/chat/chatAttachments';
import type { ResolvedChatAttachmentContent } from '../utils/chat/chatAttachments';
import type { ResolveChatAttachmentOptions } from '../utils/chat/chatAttachments';
import type { ColorTransformer } from '../utils/color/operators/ColorTransformer';
import type { ThinkingMessageVariant } from '../utils/DEFAULT_THINKING_MESSAGES';
import type { PipelineEditableSerialized } from '../utils/editable/types/PipelineEditableSerialized';
import type { ExecCommandOptions } from '../utils/execCommand/ExecCommandOptions';
import type { ExecCommandOptionsAdvanced } from '../utils/execCommand/ExecCommandOptions';
import type { MarkdownCodeBlock } from '../utils/markdown/extractAllBlocksFromMarkdown';
import type { MarkdownSection } from '../utils/markdown/parseMarkdownSection';
import type { Registered } from '../utils/misc/$Register';
import type { Registration } from '../utils/misc/$Register';
import type { AboutPromptbookInformationOptions } from '../utils/misc/aboutPromptbookInformation';
import type { FromtoItems } from '../utils/misc/FromtoItems';
import type { InjectCssModuleIntoShadowRootOptions } from '../utils/misc/injectCssModuleIntoShadowRoot';
import type { string_keyword } from '../utils/normalization/IKeywords';
import type { Keywords } from '../utils/normalization/IKeywords';
import type { string_kebab_case } from '../utils/normalization/normalize-to-kebab-case';
import type { string_camelCase } from '../utils/normalization/normalizeTo_camelCase';
import type { string_PascalCase } from '../utils/normalization/normalizeTo_PascalCase';
import type { string_SCREAMING_CASE } from '../utils/normalization/normalizeTo_SCREAMING_CASE';
import type { string_snake_case } from '../utils/normalization/normalizeTo_snake_case';
import type { OrderJsonOptions } from '../utils/normalization/orderJson';
import type { empty_object } from '../utils/organization/empty_object';
import type { really_any } from '../utils/organization/really_any';
import type { TODO_any } from '../utils/organization/TODO_any';
import type { RandomFullnameWithColorResult } from '../utils/random/$randomFullnameWithColor';
import type { GenerateNameResult } from '../utils/random/NamePool';
import type { NamePool } from '../utils/random/NamePool';
import type { CheckSerializableAsJsonOptions } from '../utils/serialization/checkSerializableAsJson';
import type { ExportJsonOptions } from '../utils/serialization/exportJson';
import type { ITakeChain } from '../utils/take/interfaces/ITakeChain';
import type { IsHostnameOnPrivateNetworkOptions } from '../utils/validators/url/isHostnameOnPrivateNetwork';
import type { IsUrlOnPrivateNetworkOptions } from '../utils/validators/url/isUrlOnPrivateNetwork';
import type { string_promptbook_version } from '../version';
export type { BookParameter };
export type { AgentCapability };
export type { AgentBasicInformation };
export type { AgentModelRequirements };
export type { CreateAgentModelRequirementsOptions };
export type { string_book };
export type { AvatarChipProps };
export type { AvatarChipFromSourceProps };
export type { AvatarProfileProps };
export type { AvatarProfileFromSourceProps };
export type { BookEditorUploadProgressCallback };
export type { BookEditorUploadOptions };
export type { BookEditorProps };
export type { UploadItem };
export type { UploadStats };
export type { AgentChatProps };
export type { AgentChipData };
export type { AgentChipProps };
export type { ChatFeedbackResponse };
export type { ChatFeedbackMode };
export type { ChatVisualMode };
export type { ChatFeedbackTranslations };
export type { ChatUiTranslations };
export type { ChatTimingTranslations };
export type { ChatSoundSystem };
export type { ChatProps };
export type { ChatSoundToggleProps };
export type { ChatVibrationToggleProps };
export type { ChatSoundAndVibrationPanelProps };
export type { ChatEffect };
export type { ChatEffectConfig };
export type { ChatEffectsSystemProps };
export type { ChatEffectType };
export type { ChatActionsOverlapResult };
export type { ChatAutoScrollConfig };
export type { SendMessageToLlmChatFunction };
export type { FriendlyErrorMessage };
export type { LlmChatProps };
export type { MockedChatDelayConfig };
export type { MockedChatProps };
export type { ChatSaveFormatDefinition };
export type { string_chat_format_name };
export type { SourceChipProps };
export type { ChatToolCall };
export type { ChatProgressItem };
export type { ChatProgressCard };
export type { ChatMessageReplyingTo };
export type { ChatMessage };
export type { ChatParticipant };
export type { ParsedCitation };
export type { MessageButton };
export type { TeamToolResult };
export type { QrCodeOptions };
export type { AgentCollection };
export type { AgentCollectionInSupabaseOptions };
export type { Json };
export type { AgentsDatabaseSchema };
export type { Tables };
export type { TablesInsert };
export type { TablesUpdate };
export type { Enums };
export type { CompositeTypes };
export type { PipelineCollection };
export type { Command };
export type { CommandParser };
export type { PipelineBothCommandParser };
export type { PipelineHeadCommandParser };
export type { PipelineTaskCommandParser };
export type { CommandParserInput };
export type { CommandType };
export type { CommandUsagePlace };
export type { BookVersionCommand };
export type { ExpectCommand };
export type { ForeachCommand };
export type { ForeachJson };
export type { FormatCommand };
export type { FormfactorCommand };
export type { JokerCommand };
export type { KnowledgeCommand };
export type { ModelCommand };
export type { ParameterCommand };
export type { PersonaCommand };
export type { PostprocessCommand };
export type { SectionCommand };
export type { UrlCommand };
export type { ActionCommand };
export type { InstrumentCommand };
export type { BookCommitment };
export type { CommitmentDefinition };
export type { ParsedCommitment };
export type { PrettifyOptions };
export type { renderPipelineMermaidOptions };
export type { CallbackInterfaceToolsOptions };
export type { ErrorJson };
export type { LocateAppOptions };
export type { AbstractTaskResult };
export type { AvailableModel };
export type { CommonToolsOptions };
export type { CreatePipelineExecutorOptions };
export type { EmbeddingVector };
export type { Executables };
export type { ExecutionPromptReportJson };
export type { ExecutionReportJson };
export type { ExecutionReportString };
export type { ExecutionReportStringOptions };
export type { ExecutionTask };
export type { PreparationTask };
export type { task_status };
export type { AbstractTask };
export type { Task };
export type { ExecutionTools };
export type { FilesystemTools };
export type { LlmExecutionTools };
export type { LlmExecutionToolsConstructor };
export type { PipelineExecutor };
export type { PipelineExecutorResult };
export type { PromptbookFetch };
export type { PromptResult };
export type { CompletionPromptResult };
export type { ChatPromptResult };
export type { ImagePromptResult };
export type { EmbeddingPromptResult };
export type { ScriptExecutionTools };
export type { ScriptExecutionToolsExecuteOptions };
export type { UncertainNumber };
export type { Usage };
export type { UsageCounts };
export type { UserInterfaceTools };
export type { UserInterfaceToolsPromptDialogOptions };
export type { ValidatePromptResultOptions };
export type { ValidatePromptResultResult };
export type { FileSecurityChecker };
export type { FileSecurityCheckResult };
export type { FormatSubvalueParser };
export type { FormatSubvalueParserMapValuesOptions };
export type { CsvSettings };
export type { AbstractFormfactorDefinition };
export type { FormfactorDefinition };
export type { string_formfactor_name };
export type { FileImportPlugin };
export type { LlmToolsConfiguration };
export type { LlmToolsMetadata };
export type { LlmToolsOptions };
export type { CacheItem };
export type { CacheLlmToolsOptions };
export type { LlmExecutionToolsWithTotalUsage };
export type { AgentOptions };
export type { CreateAgentLlmExecutionToolsOptions };
export type { RemoteAgentOptions };
export type { AnthropicClaudeExecutionToolsOptions };
export type { AnthropicClaudeExecutionToolsNonProxiedOptions };
export type { AnthropicClaudeExecutionToolsProxiedOptions };
export type { AzureOpenAiExecutionToolsOptions };
export type { DeepseekExecutionToolsOptions };
export type { GoogleExecutionToolsOptions };
export type { OllamaExecutionToolsOptions };
export type { OpenAiAgentKitExecutionToolsOptions };
export type { OpenAiAssistantExecutionToolsOptions };
export type { OpenAiCompatibleExecutionToolsOptions };
export type { OpenAiCompatibleExecutionToolsNonProxiedOptions };
export type { OpenAiCompatibleExecutionToolsProxiedOptions };
export type { OpenAiExecutionToolsOptions };
export type { OpenAiVectorStoreHandlerOptions };
export type { VercelExecutionToolsOptions };
export type { VercelProvider };
export type { IsPipelineImplementingInterfaceOptions };
export type { PipelineInterface };
export type { CommonTaskJson };
export type { DialogTaskJson };
export type { Expectations };
export type { ExpectationUnit };
export type { ExpectationAmount };
export type { KnowledgePiecePreparedJson };
export type { KnowledgeSourceJson };
export type { KnowledgeSourcePreparedJson };
export type { ParameterJson };
export type { InputParameterJson };
export type { IntermediateParameterJson };
export type { OutputParameterJson };
export type { CommonParameterJson };
export type { PersonaJson };
export type { PersonaPreparedJson };
export type { PipelineJson };
export type { PreparationJson };
export type { PromptTaskJson };
export type { ScriptTaskJson };
export type { SimpleTaskJson };
export type { TaskJson };
export type { PipelineString };
export type { PrepareAndScrapeOptions };
export type { paths };
export type { webhooks };
export type { components };
export type { $defs };
export type { operations };
export type { RemoteServer };
export type { Identification };
export type { ApplicationModeIdentification };
export type { AnonymousModeIdentification };
export type { RemoteClientOptions };
export type { RemoteServerOptions };
export type { AnonymousRemoteServerOptions };
export type { ApplicationRemoteServerOptions };
export type { ApplicationRemoteServerClientOptions };
export type { LoginRequest };
export type { LoginResponse };
export type { ServerInfo };
export type { Converter };
export type { ScraperAndConverterMetadata };
export type { ScraperConstructor };
export type { Scraper };
export type { ScraperSourceHandler };
export type { ScraperIntermediateSource };
export type { JavascriptExecutionToolsOptions };
export type { PostprocessingFunction };
export type { ToolFunction };
export type { SearchEngine };
export type { SearchResult };
export type { OpenAiSpeechRecognitionOptions };
export type { PromptbookStorage };
export type { FileCacheStorageOptions };
export type { IndexedDbStorageOptions };
export type { BookTranspiler };
export type { BookTranspilerOptions };
export type { TranspiledTeamAgentModelRequirements };
export type { TranspiledTeamTeammate };
export type { TranspiledTeamAgent };
export type { TranspiledTeamExport };
export type { IntermediateFilesStrategy };
export type { LlmCall };
export type { LlmToolDefinition };
export type { Message };
export type { ModelRequirements };
export type { CompletionModelRequirements };
export type { ChatModelRequirements };
export type { ImageGenerationModelRequirements };
export type { EmbeddingModelRequirements };
export type { ModelVariant };
export type { NonEmptyArray };
export type { NonEmptyReadonlyArray };
export type { number_bytes };
export type { number_kilobytes };
export type { number_megabytes };
export type { number_gigabytes };
export type { number_terabytes };
export type { number_id };
export type { number_linecol_number };
export type { number_tokens };
export type { number_likeness };
export type { number_milliseconds };
export type { number_seconds };
export type { number_minutes };
export type { number_hours };
export type { number_days };
export type { number_weeks };
export type { number_months };
export type { number_years };
export type { number_percent };
export type { number_model_temperature };
export type { number_seed };
export type { number_positive };
export type { number_negative };
export type { number_integer };
export type { number_port };
export type { number_usd };
export type { Parameters };
export type { InputParameters };
export type { ReservedParameters };
export type { Prompt };
export type { CompletionPrompt };
export type { ChatPrompt };
export type { ImagePrompt };
export type { EmbeddingPrompt };
export type { ScriptLanguage };
export type { SectionType };
export type { SpeechRecognitionErrorCode };
export type { SpeechRecognition };
export type { SpeechRecognitionStartOptions };
export type { SpeechRecognitionState };
export type { SpeechRecognitionEvent };
export type { string_agent_name };
export type { string_agent_name_in_book };
export type { string_agent_hash };
export type { string_agent_permanent_id };
export type { string_agent_url };
export type { string_base_url };
export type { string_base64 };
export type { string_data_url };
export type { string_business_category_name };
export type { string_email };
export type { string_emails };
export type { string_absolute_filename };
export type { string_relative_filename };
export type { string_filename };
export type { string_absolute_dirname };
export type { string_relative_dirname };
export type { string_dirname };
export type { string_executable_path };
export type { string_domain };
export type { string_origin };
export type { string_tdl };
export type { string_hostname };
export type { string_host };
export type { string_protocol };
export type { string_ip_address };
export type { string_href };
export type { string_uri };
export type { string_uri_part };
export type { string_knowledge_source_content };
export type { string_knowledge_source_link };
export type { string_html };
export type { string_xml };
export type { string_markdown };
export type { string_markdown_section };
export type { string_markdown_section_content };
export type { string_markdown_text };
export type { string_markdown_codeblock_language };
export type { string_promptbook_documentation_url };
export type { string_css };
export type { string_svg };
export type { string_script };
export type { string_javascript };
export type { string_typescript };
export type { string_json };
export type { string_css_class };
export type { string_css_property };
export type { string_fonts };
export type { string_css_value };
export type { string_css_selector };
export type { string_mime_type };
export type { string_mime_type_with_wildcard };
export type { string_model_name };
export type { string_name };
export type { string_parameter_name };
export type { string_parameter_value };
export type { string_reserved_parameter_name };
export type { string_page };
export type { string_char };
export type { string_person_fullname };
export type { string_person_firstname };
export type { string_person_lastname };
export type { string_person_profile };
export type { string_license };
export type { string_legal_entity };
export type { string_attribute };
export type { string_attribute_value_scope };
export type { string_color };
export type { string_translate_name };
export type { string_translate_name_not_normalized };
export type { string_translate_language };
export type { string_javascript_name };
export type { string_postprocessing_function_name };
export type { string_persona_description };
export type { string_model_description };
export type { string_pipeline_root_url };
export type { string_pipeline_url };
export type { string_pipeline_url_with_task_hash };
export type { string_prompt };
export type { string_prompt_image };
export type { string_template };
export type { string_text_prompt };
export type { string_chat_prompt };
export type { string_system_message };
export type { string_completion_prompt };
export type { string_promptbook_server_url };
export type { string_uuid };
export type { string_sha256 };
export type { string_base_58 };
export type { string_semantic_version };
export type { string_version_dependency };
export type { string_file_extension };
export type { string_title };
export type { id };
export type { task_id };
export type { string_token };
export type { string_promptbook_token };
export type { string_license_token };
export type { string_password };
export type { string_ssh_key };
export type { string_pgp_key };
export type { string_language };
export type { string_date_iso8601 };
export type { string_app_id };
export type { string_user_id };
export type { string_url_image };
export type { string_url };
export type { TaskType };
export type { ToolCallState };
export type { ToolCallLogLevel };
export type { ToolCallLogEntry };
export type { ToolCall };
export type { SelfLearningCommitmentTypeCounts };
export type { SelfLearningTeacherSummary };
export type { SelfLearningToolCallResult };
export type { ASSISTANT_PREPARATION_TOOL_CALL_NAME };
export type { isAssistantPreparationToolCall };
export type { string_char_emoji };
export type { Updatable };
export type { ChatAttachment };
export type { ResolvedChatAttachmentContent };
export type { ResolveChatAttachmentOptions };
export type { ColorTransformer };
export type { ThinkingMessageVariant };
export type { PipelineEditableSerialized };
export type { ExecCommandOptions };
export type { ExecCommandOptionsAdvanced };
export type { MarkdownCodeBlock };
export type { MarkdownSection };
export type { Registered };
export type { Registration };
export type { AboutPromptbookInformationOptions };
export type { FromtoItems };
export type { InjectCssModuleIntoShadowRootOptions };
export type { string_keyword };
export type { Keywords };
export type { string_kebab_case };
export type { string_camelCase };
export type { string_PascalCase };
export type { string_SCREAMING_CASE };
export type { string_snake_case };
export type { OrderJsonOptions };
export type { empty_object };
export type { really_any };
export type { TODO_any };
export type { RandomFullnameWithColorResult };
export type { Gener