Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
16
Maintainers
0
Versions
257
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.57.2 to 0.58.0

esm/typings/formats/_common/FormatDefinition.d.ts

2

esm/index.es.js

@@ -159,5 +159,5 @@ import { io } from 'socket.io-client';

*/
var PROMPTBOOK_VERSION = '0.57.1';
var PROMPTBOOK_VERSION = '0.57.2';
export { PROMPTBOOK_VERSION, RemoteLlmExecutionTools };
//# sourceMappingURL=index.es.js.map

@@ -1,5 +0,5 @@

import { AnthropicClaudeExecutionTools } from '../execution/plugins/llm-execution-tools/anthropic-claude/AnthropicClaudeExecutionTools';
import { AnthropicClaudeExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import { AnthropicClaudeExecutionTools } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionTools';
import type { AnthropicClaudeExecutionToolsOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { AnthropicClaudeExecutionTools, AnthropicClaudeExecutionToolsOptions };

@@ -1,5 +0,4 @@

import { AzureOpenAiExecutionTools } from '../execution/plugins/llm-execution-tools/azure-openai/AzureOpenAiExecutionTools';
import { AzureOpenAiExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/azure-openai/AzureOpenAiExecutionToolsOptions';
import { AzureOpenAiExecutionTools } from '../llm-providers/azure-openai/AzureOpenAiExecutionTools';
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { AzureOpenAiExecutionTools, AzureOpenAiExecutionToolsOptions };
export { AzureOpenAiExecutionTools, AzureOpenAiExecutionToolsOptions, PROMPTBOOK_VERSION };

@@ -16,8 +16,8 @@ import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';

import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
import { MultipleLlmExecutionTools } from '../execution/plugins/llm-execution-tools/multiple/MultipleLlmExecutionTools';
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
import { CallbackInterfaceToolsOptions } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceToolsOptions';
import { SimplePromptInterfaceTools } from '../execution/plugins/user-interface-execution-tools/simple-prompt/SimplePromptInterfaceTools';
import { CallbackInterfaceTools } from '../knowledgebase/dialogs/callback/CallbackInterfaceTools';
import type { CallbackInterfaceToolsOptions } from '../knowledgebase/dialogs/callback/CallbackInterfaceToolsOptions';
import { SimplePromptInterfaceTools } from '../knowledgebase/dialogs/simple-prompt/SimplePromptInterfaceTools';
import { addUsage } from '../execution/utils/addUsage';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { checkExpectations } from '../execution/utils/checkExpectations';
import { isPassingExpectations } from '../execution/utils/checkExpectations';
import { usageToWorktime } from '../execution/utils/usageToWorktime';

@@ -29,4 +29,6 @@ import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';

import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
import { MultipleLlmExecutionTools } from '../llm-providers/multiple/MultipleLlmExecutionTools';
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import type { ExecutionReportStringOptions } from '../types/execution-report/ExecutionReportStringOptions';
import { ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import { ExecutionTypes } from '../types/ExecutionTypes';

@@ -33,0 +35,0 @@ import { PROMPTBOOK_VERSION } from '../version';

import spaceTrim from 'spacetrim';
import { JavascriptEvalExecutionTools } from '../execution/plugins/script-execution-tools/javascript/JavascriptEvalExecutionTools';
import { JavascriptExecutionTools } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionTools';
import { JavascriptEvalExecutionTools } from '../scripting/javascript/JavascriptEvalExecutionTools';
import { JavascriptExecutionTools } from '../scripting/javascript/JavascriptExecutionTools';
import { prettifyMarkdown } from '../utils/markdown/prettifyMarkdown';

@@ -5,0 +5,0 @@ import { capitalize } from '../utils/normalization/capitalize';

@@ -1,3 +0,3 @@

import { MockedEchoLlmExecutionTools } from '../execution/plugins/llm-execution-tools/mocked/MockedEchoLlmExecutionTools';
import { MockedFackedLlmExecutionTools } from '../execution/plugins/llm-execution-tools/mocked/MockedFackedLlmExecutionTools';
import { MockedEchoLlmExecutionTools } from '../llm-providers/mocked/MockedEchoLlmExecutionTools';
import { MockedFackedLlmExecutionTools } from '../llm-providers/mocked/MockedFackedLlmExecutionTools';
import { PROMPTBOOK_VERSION } from '../version';

@@ -4,0 +4,0 @@ export { MockedEchoLlmExecutionTools, MockedFackedLlmExecutionTools, PROMPTBOOK_VERSION };

@@ -1,5 +0,4 @@

import { LangtailExecutionTools } from '../execution/plugins/llm-execution-tools/langtail/LangtailExecutionTools';
import { LangtailExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/langtail/LangtailExecutionToolsOptions';
import { LangtailExecutionTools } from '../llm-providers/langtail/LangtailExecutionTools';
import type { LangtailExecutionToolsOptions } from '../llm-providers/langtail/LangtailExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { LangtailExecutionTools, LangtailExecutionToolsOptions };
export { LangtailExecutionTools, LangtailExecutionToolsOptions, PROMPTBOOK_VERSION };

@@ -1,6 +0,5 @@

import { OPENAI_MODELS } from '../execution/plugins/llm-execution-tools/openai/openai-models';
import { OpenAiExecutionTools } from '../execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools';
import { OpenAiExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/openai/OpenAiExecutionToolsOptions';
import { OPENAI_MODELS } from '../llm-providers/openai/openai-models';
import { OpenAiExecutionTools } from '../llm-providers/openai/OpenAiExecutionTools';
import type { OpenAiExecutionToolsOptions } from '../llm-providers/openai/OpenAiExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { OPENAI_MODELS, OpenAiExecutionTools, OpenAiExecutionToolsOptions };
export { OPENAI_MODELS, OpenAiExecutionTools, OpenAiExecutionToolsOptions, PROMPTBOOK_VERSION };

@@ -1,6 +0,5 @@

import { RemoteServerOptions } from '../execution/plugins/llm-execution-tools/remote/interfaces/RemoteServerOptions';
import { RemoteLlmExecutionTools } from '../execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionTools';
import { RemoteLlmExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionToolsOptions';
import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
import { RemoteLlmExecutionTools } from '../llm-providers/remote/RemoteLlmExecutionTools';
import type { RemoteLlmExecutionToolsOptions } from '../llm-providers/remote/RemoteLlmExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { RemoteLlmExecutionTools, RemoteLlmExecutionToolsOptions, RemoteServerOptions };
export { PROMPTBOOK_VERSION, RemoteLlmExecutionTools, RemoteLlmExecutionToolsOptions, RemoteServerOptions };

@@ -1,5 +0,4 @@

import { RemoteServerOptions } from '../execution/plugins/llm-execution-tools/remote/interfaces/RemoteServerOptions';
import { startRemoteServer } from '../execution/plugins/llm-execution-tools/remote/startRemoteServer';
import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
import { startRemoteServer } from '../llm-providers/remote/startRemoteServer';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { RemoteServerOptions, startRemoteServer };
export { PROMPTBOOK_VERSION, RemoteServerOptions, startRemoteServer };
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions';
import type { ExecutionTools } from '../execution/ExecutionTools';
import type { AvailableModel, LlmExecutionTools } from '../execution/LlmExecutionTools';
import type { PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptResultUsage, PromptResultUsageCounts, UncertainNumber } from '../execution/PromptResult';
import type { AvailableModel } from '../execution/LlmExecutionTools';
import type { LlmExecutionTools } from '../execution/LlmExecutionTools';
import type { PromptChatResult } from '../execution/PromptResult';
import type { PromptCommonResult } from '../execution/PromptResult';
import type { PromptCompletionResult } from '../execution/PromptResult';
import type { PromptResult } from '../execution/PromptResult';
import type { PromptResultUsage } from '../execution/PromptResult';
import type { PromptResultUsageCounts } from '../execution/PromptResult';
import type { UncertainNumber } from '../execution/PromptResult';
import type { PromptbookExecutor } from '../execution/PromptbookExecutor';
import type { ScriptExecutionTools, ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
import type { UserInterfaceTools, UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
import { PromptbookLibrary } from '../library/PromptbookLibrary';
import type { ScriptExecutionTools } from '../execution/ScriptExecutionTools';
import type { ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
import type { PromptbookLibrary } from '../library/PromptbookLibrary';
import type { ExecutionType } from '../types/ExecutionTypes';
import type { ModelRequirements, ModelVariant } from '../types/ModelRequirements';
import type { ModelRequirements } from '../types/ModelRequirements';
import type { ModelVariant } from '../types/ModelRequirements';
import type { Parameters } from '../types/Parameters';
import type { Prompt } from '../types/Prompt';
import type { ExpectationAmount, Expectations, ExpectationUnit, LlmTemplateJson, PromptDialogJson, PromptTemplateJson, ScriptJson, SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { ExpectationAmount } from '../types/PromptbookJson/PromptTemplateJson';
import type { Expectations } from '../types/PromptbookJson/PromptTemplateJson';
import type { ExpectationUnit } from '../types/PromptbookJson/PromptTemplateJson';
import type { LlmTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { PromptDialogJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { PromptTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { ScriptJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import { EXPECTATION_UNITS } from '../types/PromptbookJson/PromptTemplateJson';

@@ -22,3 +39,47 @@ import type { PromptTemplateParameterJson } from '../types/PromptbookJson/PromptTemplateParameterJson';

import type { string_char_emoji } from '../types/typeAliasEmoji';
import type { client_id, string_char, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version } from '../types/typeAliases';
import type { client_id } from '../types/typeAliases';
import type { string_char } from '../types/typeAliases';
import type { string_chat_prompt } from '../types/typeAliases';
import type { string_completion_prompt } from '../types/typeAliases';
import type { string_data_url } from '../types/typeAliases';
import type { string_domain } from '../types/typeAliases';
import type { string_email } from '../types/typeAliases';
import type { string_file_absolute_path } from '../types/typeAliases';
import type { string_file_extension } from '../types/typeAliases';
import type { string_file_path } from '../types/typeAliases';
import type { string_file_relative_path } from '../types/typeAliases';
import type { string_filename } from '../types/typeAliases';
import type { string_folder_absolute_path } from '../types/typeAliases';
import type { string_folder_path } from '../types/typeAliases';
import type { string_folder_relative_path } from '../types/typeAliases';
import type { string_host } from '../types/typeAliases';
import type { string_hostname } from '../types/typeAliases';
import type { string_href } from '../types/typeAliases';
import type { string_html } from '../types/typeAliases';
import type { string_javascript } from '../types/typeAliases';
import type { string_javascript_name } from '../types/typeAliases';
import type { string_license } from '../types/typeAliases';
import type { string_markdown } from '../types/typeAliases';
import type { string_markdown_text } from '../types/typeAliases';
import type { string_mime_type } from '../types/typeAliases';
import type { string_mime_type_with_wildcard } from '../types/typeAliases';
import type { string_model_name } from '../types/typeAliases';
import type { string_name } from '../types/typeAliases';
import type { string_person_fullname } from '../types/typeAliases';
import type { string_prompt } from '../types/typeAliases';
import type { string_promptbook_url } from '../types/typeAliases';
import type { string_promptbook_url_with_hashtemplate } from '../types/typeAliases';
import type { string_script } from '../types/typeAliases';
import type { string_sha256 } from '../types/typeAliases';
import type { string_tdl } from '../types/typeAliases';
import type { string_template } from '../types/typeAliases';
import type { string_text_prompt } from '../types/typeAliases';
import type { string_title } from '../types/typeAliases';
import type { string_token } from '../types/typeAliases';
import type { string_translate_language } from '../types/typeAliases';
import type { string_uri } from '../types/typeAliases';
import type { string_uri_part } from '../types/typeAliases';
import type { string_url } from '../types/typeAliases';
import type { string_url_image } from '../types/typeAliases';
import type { string_version } from '../types/typeAliases';
import type { FromtoItems } from '../utils/FromtoItems';

@@ -25,0 +86,0 @@ import { PROMPTBOOK_VERSION } from '../version';

@@ -10,3 +10,4 @@ import { spaceTrim } from 'spacetrim';

import { replaceParameters } from '../execution/utils/replaceParameters';
import { CountUtils } from '../utils/expectation-counters';
import { isValidJsonString } from '../formats/json/utils/isValidJsonString';
import { CountUtils } from '../utils/expectation-counters/index';
import { countCharacters } from '../utils/expectation-counters/countCharacters';

@@ -16,6 +17,6 @@ import { countLines } from '../utils/expectation-counters/countLines';

import { countParagraphs } from '../utils/expectation-counters/countParagraphs';
import { countSentences, splitIntoSentences } from '../utils/expectation-counters/countSentences';
import { countSentences } from '../utils/expectation-counters/countSentences';
import { splitIntoSentences } from '../utils/expectation-counters/countSentences';
import { countWords } from '../utils/expectation-counters/countWords';
import { extractParameters } from '../utils/extractParameters';
import { isValidJsonString } from '../utils/isValidJsonString';
import { extractAllBlocksFromMarkdown } from '../utils/markdown/extractAllBlocksFromMarkdown';

@@ -29,3 +30,4 @@ import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown';

import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS';
import { IKeywords, string_keyword } from '../utils/normalization/IKeywords';
import type { IKeywords } from '../utils/normalization/IKeywords';
import type { string_keyword } from '../utils/normalization/IKeywords';
import { isValidKeyword } from '../utils/normalization/isValidKeyword';

@@ -32,0 +34,0 @@ import { nameToUriPart } from '../utils/normalization/nameToUriPart';

@@ -0,4 +1,4 @@

import type { ScriptLanguage } from '../types/ScriptLanguage';
import type { string_name } from '../types/typeAliases';
import type { string_script } from '../types/typeAliases';
import type { ScriptLanguage } from '../types/ScriptLanguage';
/**

@@ -5,0 +5,0 @@ * Represents all the tools needed to EXECUTE SCRIPTs

@@ -1,2 +0,2 @@

import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { PostprocessingFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
import type { ExpectFormatCommand } from './Command';

@@ -3,0 +3,0 @@ import type { ModelRequirements } from './ModelRequirements';

{
"name": "@promptbook/remote-client",
"version": "0.57.2",
"version": "0.58.0",
"description": "Library to supercharge your use of large language models",

@@ -50,3 +50,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.57.2"
"@promptbook/core": "0.58.0"
},

@@ -53,0 +53,0 @@ "main": "./umd/index.umd.js",

@@ -163,3 +163,3 @@ (function (global, factory) {

*/
var PROMPTBOOK_VERSION = '0.57.1';
var PROMPTBOOK_VERSION = '0.57.2';

@@ -166,0 +166,0 @@ exports.PROMPTBOOK_VERSION = PROMPTBOOK_VERSION;

@@ -1,5 +0,5 @@

import { AnthropicClaudeExecutionTools } from '../execution/plugins/llm-execution-tools/anthropic-claude/AnthropicClaudeExecutionTools';
import { AnthropicClaudeExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import { AnthropicClaudeExecutionTools } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionTools';
import type { AnthropicClaudeExecutionToolsOptions } from '../llm-providers/anthropic-claude/AnthropicClaudeExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { AnthropicClaudeExecutionTools, AnthropicClaudeExecutionToolsOptions };

@@ -1,5 +0,4 @@

import { AzureOpenAiExecutionTools } from '../execution/plugins/llm-execution-tools/azure-openai/AzureOpenAiExecutionTools';
import { AzureOpenAiExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/azure-openai/AzureOpenAiExecutionToolsOptions';
import { AzureOpenAiExecutionTools } from '../llm-providers/azure-openai/AzureOpenAiExecutionTools';
import type { AzureOpenAiExecutionToolsOptions } from '../llm-providers/azure-openai/AzureOpenAiExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { AzureOpenAiExecutionTools, AzureOpenAiExecutionToolsOptions };
export { AzureOpenAiExecutionTools, AzureOpenAiExecutionToolsOptions, PROMPTBOOK_VERSION };

@@ -16,8 +16,8 @@ import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';

import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
import { MultipleLlmExecutionTools } from '../execution/plugins/llm-execution-tools/multiple/MultipleLlmExecutionTools';
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
import { CallbackInterfaceToolsOptions } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceToolsOptions';
import { SimplePromptInterfaceTools } from '../execution/plugins/user-interface-execution-tools/simple-prompt/SimplePromptInterfaceTools';
import { CallbackInterfaceTools } from '../knowledgebase/dialogs/callback/CallbackInterfaceTools';
import type { CallbackInterfaceToolsOptions } from '../knowledgebase/dialogs/callback/CallbackInterfaceToolsOptions';
import { SimplePromptInterfaceTools } from '../knowledgebase/dialogs/simple-prompt/SimplePromptInterfaceTools';
import { addUsage } from '../execution/utils/addUsage';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { checkExpectations } from '../execution/utils/checkExpectations';
import { isPassingExpectations } from '../execution/utils/checkExpectations';
import { usageToWorktime } from '../execution/utils/usageToWorktime';

@@ -29,4 +29,6 @@ import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';

import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
import { MultipleLlmExecutionTools } from '../llm-providers/multiple/MultipleLlmExecutionTools';
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import type { ExecutionReportStringOptions } from '../types/execution-report/ExecutionReportStringOptions';
import { ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import { ExecutionTypes } from '../types/ExecutionTypes';

@@ -33,0 +35,0 @@ import { PROMPTBOOK_VERSION } from '../version';

import spaceTrim from 'spacetrim';
import { JavascriptEvalExecutionTools } from '../execution/plugins/script-execution-tools/javascript/JavascriptEvalExecutionTools';
import { JavascriptExecutionTools } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionTools';
import { JavascriptEvalExecutionTools } from '../scripting/javascript/JavascriptEvalExecutionTools';
import { JavascriptExecutionTools } from '../scripting/javascript/JavascriptExecutionTools';
import { prettifyMarkdown } from '../utils/markdown/prettifyMarkdown';

@@ -5,0 +5,0 @@ import { capitalize } from '../utils/normalization/capitalize';

@@ -1,3 +0,3 @@

import { MockedEchoLlmExecutionTools } from '../execution/plugins/llm-execution-tools/mocked/MockedEchoLlmExecutionTools';
import { MockedFackedLlmExecutionTools } from '../execution/plugins/llm-execution-tools/mocked/MockedFackedLlmExecutionTools';
import { MockedEchoLlmExecutionTools } from '../llm-providers/mocked/MockedEchoLlmExecutionTools';
import { MockedFackedLlmExecutionTools } from '../llm-providers/mocked/MockedFackedLlmExecutionTools';
import { PROMPTBOOK_VERSION } from '../version';

@@ -4,0 +4,0 @@ export { MockedEchoLlmExecutionTools, MockedFackedLlmExecutionTools, PROMPTBOOK_VERSION };

@@ -1,5 +0,4 @@

import { LangtailExecutionTools } from '../execution/plugins/llm-execution-tools/langtail/LangtailExecutionTools';
import { LangtailExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/langtail/LangtailExecutionToolsOptions';
import { LangtailExecutionTools } from '../llm-providers/langtail/LangtailExecutionTools';
import type { LangtailExecutionToolsOptions } from '../llm-providers/langtail/LangtailExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { LangtailExecutionTools, LangtailExecutionToolsOptions };
export { LangtailExecutionTools, LangtailExecutionToolsOptions, PROMPTBOOK_VERSION };

@@ -1,6 +0,5 @@

import { OPENAI_MODELS } from '../execution/plugins/llm-execution-tools/openai/openai-models';
import { OpenAiExecutionTools } from '../execution/plugins/llm-execution-tools/openai/OpenAiExecutionTools';
import { OpenAiExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/openai/OpenAiExecutionToolsOptions';
import { OPENAI_MODELS } from '../llm-providers/openai/openai-models';
import { OpenAiExecutionTools } from '../llm-providers/openai/OpenAiExecutionTools';
import type { OpenAiExecutionToolsOptions } from '../llm-providers/openai/OpenAiExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { OPENAI_MODELS, OpenAiExecutionTools, OpenAiExecutionToolsOptions };
export { OPENAI_MODELS, OpenAiExecutionTools, OpenAiExecutionToolsOptions, PROMPTBOOK_VERSION };

@@ -1,6 +0,5 @@

import { RemoteServerOptions } from '../execution/plugins/llm-execution-tools/remote/interfaces/RemoteServerOptions';
import { RemoteLlmExecutionTools } from '../execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionTools';
import { RemoteLlmExecutionToolsOptions } from '../execution/plugins/llm-execution-tools/remote/RemoteLlmExecutionToolsOptions';
import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
import { RemoteLlmExecutionTools } from '../llm-providers/remote/RemoteLlmExecutionTools';
import type { RemoteLlmExecutionToolsOptions } from '../llm-providers/remote/RemoteLlmExecutionToolsOptions';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { RemoteLlmExecutionTools, RemoteLlmExecutionToolsOptions, RemoteServerOptions };
export { PROMPTBOOK_VERSION, RemoteLlmExecutionTools, RemoteLlmExecutionToolsOptions, RemoteServerOptions };

@@ -1,5 +0,4 @@

import { RemoteServerOptions } from '../execution/plugins/llm-execution-tools/remote/interfaces/RemoteServerOptions';
import { startRemoteServer } from '../execution/plugins/llm-execution-tools/remote/startRemoteServer';
import type { RemoteServerOptions } from '../llm-providers/remote/interfaces/RemoteServerOptions';
import { startRemoteServer } from '../llm-providers/remote/startRemoteServer';
import { PROMPTBOOK_VERSION } from '../version';
export { PROMPTBOOK_VERSION };
export { RemoteServerOptions, startRemoteServer };
export { PROMPTBOOK_VERSION, RemoteServerOptions, startRemoteServer };
import type { CommonExecutionToolsOptions } from '../execution/CommonExecutionToolsOptions';
import type { ExecutionTools } from '../execution/ExecutionTools';
import type { AvailableModel, LlmExecutionTools } from '../execution/LlmExecutionTools';
import type { PromptChatResult, PromptCommonResult, PromptCompletionResult, PromptResult, PromptResultUsage, PromptResultUsageCounts, UncertainNumber } from '../execution/PromptResult';
import type { AvailableModel } from '../execution/LlmExecutionTools';
import type { LlmExecutionTools } from '../execution/LlmExecutionTools';
import type { PromptChatResult } from '../execution/PromptResult';
import type { PromptCommonResult } from '../execution/PromptResult';
import type { PromptCompletionResult } from '../execution/PromptResult';
import type { PromptResult } from '../execution/PromptResult';
import type { PromptResultUsage } from '../execution/PromptResult';
import type { PromptResultUsageCounts } from '../execution/PromptResult';
import type { UncertainNumber } from '../execution/PromptResult';
import type { PromptbookExecutor } from '../execution/PromptbookExecutor';
import type { ScriptExecutionTools, ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
import type { UserInterfaceTools, UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
import { PromptbookLibrary } from '../library/PromptbookLibrary';
import type { ScriptExecutionTools } from '../execution/ScriptExecutionTools';
import type { ScriptExecutionToolsExecuteOptions } from '../execution/ScriptExecutionTools';
import type { UserInterfaceTools } from '../execution/UserInterfaceTools';
import type { UserInterfaceToolsPromptDialogOptions } from '../execution/UserInterfaceTools';
import type { PromptbookLibrary } from '../library/PromptbookLibrary';
import type { ExecutionType } from '../types/ExecutionTypes';
import type { ModelRequirements, ModelVariant } from '../types/ModelRequirements';
import type { ModelRequirements } from '../types/ModelRequirements';
import type { ModelVariant } from '../types/ModelRequirements';
import type { Parameters } from '../types/Parameters';
import type { Prompt } from '../types/Prompt';
import type { ExpectationAmount, Expectations, ExpectationUnit, LlmTemplateJson, PromptDialogJson, PromptTemplateJson, ScriptJson, SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { ExpectationAmount } from '../types/PromptbookJson/PromptTemplateJson';
import type { Expectations } from '../types/PromptbookJson/PromptTemplateJson';
import type { ExpectationUnit } from '../types/PromptbookJson/PromptTemplateJson';
import type { LlmTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { PromptDialogJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { PromptTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { ScriptJson } from '../types/PromptbookJson/PromptTemplateJson';
import type { SimpleTemplateJson } from '../types/PromptbookJson/PromptTemplateJson';
import { EXPECTATION_UNITS } from '../types/PromptbookJson/PromptTemplateJson';

@@ -22,3 +39,47 @@ import type { PromptTemplateParameterJson } from '../types/PromptbookJson/PromptTemplateParameterJson';

import type { string_char_emoji } from '../types/typeAliasEmoji';
import type { client_id, string_char, string_chat_prompt, string_completion_prompt, string_data_url, string_domain, string_email, string_file_absolute_path, string_file_extension, string_file_path, string_file_relative_path, string_filename, string_folder_absolute_path, string_folder_path, string_folder_relative_path, string_host, string_hostname, string_href, string_html, string_javascript, string_javascript_name, string_license, string_markdown, string_markdown_text, string_mime_type, string_mime_type_with_wildcard, string_model_name, string_name, string_person_fullname, string_prompt, string_promptbook_url, string_promptbook_url_with_hashtemplate, string_script, string_sha256, string_tdl, string_template, string_text_prompt, string_title, string_token, string_translate_language, string_uri, string_uri_part, string_url, string_url_image, string_version } from '../types/typeAliases';
import type { client_id } from '../types/typeAliases';
import type { string_char } from '../types/typeAliases';
import type { string_chat_prompt } from '../types/typeAliases';
import type { string_completion_prompt } from '../types/typeAliases';
import type { string_data_url } from '../types/typeAliases';
import type { string_domain } from '../types/typeAliases';
import type { string_email } from '../types/typeAliases';
import type { string_file_absolute_path } from '../types/typeAliases';
import type { string_file_extension } from '../types/typeAliases';
import type { string_file_path } from '../types/typeAliases';
import type { string_file_relative_path } from '../types/typeAliases';
import type { string_filename } from '../types/typeAliases';
import type { string_folder_absolute_path } from '../types/typeAliases';
import type { string_folder_path } from '../types/typeAliases';
import type { string_folder_relative_path } from '../types/typeAliases';
import type { string_host } from '../types/typeAliases';
import type { string_hostname } from '../types/typeAliases';
import type { string_href } from '../types/typeAliases';
import type { string_html } from '../types/typeAliases';
import type { string_javascript } from '../types/typeAliases';
import type { string_javascript_name } from '../types/typeAliases';
import type { string_license } from '../types/typeAliases';
import type { string_markdown } from '../types/typeAliases';
import type { string_markdown_text } from '../types/typeAliases';
import type { string_mime_type } from '../types/typeAliases';
import type { string_mime_type_with_wildcard } from '../types/typeAliases';
import type { string_model_name } from '../types/typeAliases';
import type { string_name } from '../types/typeAliases';
import type { string_person_fullname } from '../types/typeAliases';
import type { string_prompt } from '../types/typeAliases';
import type { string_promptbook_url } from '../types/typeAliases';
import type { string_promptbook_url_with_hashtemplate } from '../types/typeAliases';
import type { string_script } from '../types/typeAliases';
import type { string_sha256 } from '../types/typeAliases';
import type { string_tdl } from '../types/typeAliases';
import type { string_template } from '../types/typeAliases';
import type { string_text_prompt } from '../types/typeAliases';
import type { string_title } from '../types/typeAliases';
import type { string_token } from '../types/typeAliases';
import type { string_translate_language } from '../types/typeAliases';
import type { string_uri } from '../types/typeAliases';
import type { string_uri_part } from '../types/typeAliases';
import type { string_url } from '../types/typeAliases';
import type { string_url_image } from '../types/typeAliases';
import type { string_version } from '../types/typeAliases';
import type { FromtoItems } from '../utils/FromtoItems';

@@ -25,0 +86,0 @@ import { PROMPTBOOK_VERSION } from '../version';

@@ -10,3 +10,4 @@ import { spaceTrim } from 'spacetrim';

import { replaceParameters } from '../execution/utils/replaceParameters';
import { CountUtils } from '../utils/expectation-counters';
import { isValidJsonString } from '../formats/json/utils/isValidJsonString';
import { CountUtils } from '../utils/expectation-counters/index';
import { countCharacters } from '../utils/expectation-counters/countCharacters';

@@ -16,6 +17,6 @@ import { countLines } from '../utils/expectation-counters/countLines';

import { countParagraphs } from '../utils/expectation-counters/countParagraphs';
import { countSentences, splitIntoSentences } from '../utils/expectation-counters/countSentences';
import { countSentences } from '../utils/expectation-counters/countSentences';
import { splitIntoSentences } from '../utils/expectation-counters/countSentences';
import { countWords } from '../utils/expectation-counters/countWords';
import { extractParameters } from '../utils/extractParameters';
import { isValidJsonString } from '../utils/isValidJsonString';
import { extractAllBlocksFromMarkdown } from '../utils/markdown/extractAllBlocksFromMarkdown';

@@ -29,3 +30,4 @@ import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown';

import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS';
import { IKeywords, string_keyword } from '../utils/normalization/IKeywords';
import type { IKeywords } from '../utils/normalization/IKeywords';
import type { string_keyword } from '../utils/normalization/IKeywords';
import { isValidKeyword } from '../utils/normalization/isValidKeyword';

@@ -32,0 +34,0 @@ import { nameToUriPart } from '../utils/normalization/nameToUriPart';

@@ -0,4 +1,4 @@

import type { ScriptLanguage } from '../types/ScriptLanguage';
import type { string_name } from '../types/typeAliases';
import type { string_script } from '../types/typeAliases';
import type { ScriptLanguage } from '../types/ScriptLanguage';
/**

@@ -5,0 +5,0 @@ * Represents all the tools needed to EXECUTE SCRIPTs

@@ -1,2 +0,2 @@

import type { PostprocessingFunction } from '../execution/plugins/script-execution-tools/javascript/JavascriptExecutionToolsOptions';
import type { PostprocessingFunction } from '../scripting/javascript/JavascriptExecutionToolsOptions';
import type { ExpectFormatCommand } from './Command';

@@ -3,0 +3,0 @@ import type { ModelRequirements } from './ModelRequirements';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc