@promptbook/remote-server 0.84.0-21 → 0.84.0-9
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/README.md +5 -21
- package/esm/index.es.js +125 -277
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/cli.index.d.ts +0 -4
- package/esm/typings/src/_packages/core.index.d.ts +2 -12
- package/esm/typings/src/_packages/types.index.d.ts +0 -2
- package/esm/typings/src/_packages/utils.index.d.ts +0 -2
- package/esm/typings/src/_packages/wizzard.index.d.ts +0 -4
- package/esm/typings/src/cli/cli-commands/about.d.ts +1 -3
- package/esm/typings/src/cli/cli-commands/hello.d.ts +1 -3
- package/esm/typings/src/cli/cli-commands/list-models.d.ts +1 -3
- package/esm/typings/src/cli/cli-commands/make.d.ts +1 -3
- package/esm/typings/src/cli/cli-commands/prettify.d.ts +1 -3
- package/esm/typings/src/cli/cli-commands/run.d.ts +1 -3
- package/esm/typings/src/cli/cli-commands/runInteractiveChatbot.d.ts +1 -1
- package/esm/typings/src/cli/cli-commands/test-command.d.ts +1 -3
- package/esm/typings/src/config.d.ts +1 -27
- package/esm/typings/src/conversion/compilePipelineOnRemoteServer.d.ts +1 -1
- package/esm/typings/src/execution/FilesystemTools.d.ts +1 -1
- package/esm/typings/src/execution/assertsExecutionSuccessful.d.ts +1 -3
- package/esm/typings/src/pipeline/book-notation.d.ts +2 -3
- package/esm/typings/src/pipeline/prompt-notation.d.ts +5 -18
- package/esm/typings/src/prepare/preparePipelineOnRemoteServer.d.ts +1 -1
- package/esm/typings/src/remote-server/socket-types/_subtypes/PromptbookServer_Identification.d.ts +2 -5
- package/esm/typings/src/wizzard/wizzard.d.ts +1 -7
- package/package.json +16 -9
- package/umd/index.umd.js +125 -277
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/_packages/deepseek.index.d.ts +0 -8
- package/esm/typings/src/cli/cli-commands/list-scrapers.d.ts +0 -13
- package/esm/typings/src/llm-providers/deepseek/DeepseekExecutionToolsOptions.d.ts +0 -9
- package/esm/typings/src/llm-providers/deepseek/createDeepseekExecutionTools.d.ts +0 -14
- package/esm/typings/src/llm-providers/deepseek/register-configuration.d.ts +0 -14
- package/esm/typings/src/llm-providers/deepseek/register-constructor.d.ts +0 -15
- package/esm/typings/src/utils/editable/edit-pipeline-string/deflatePipeline.test.d.ts +0 -1
- package/esm/typings/src/utils/editable/utils/isFlatPipeline.test.d.ts +0 -1
- package/esm/typings/src/utils/files/mimeTypeToExtension.d.ts +0 -10
- package/esm/typings/src/utils/files/mimeTypeToExtension.test.d.ts +0 -1
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';
|
|
2
|
-
import { createDeepseekExecutionTools } from '../llm-providers/deepseek/createDeepseekExecutionTools';
|
|
3
|
-
import type { DeepseekExecutionToolsOptions } from '../llm-providers/deepseek/DeepseekExecutionToolsOptions';
|
|
4
|
-
import { _DeepseekRegistration } from '../llm-providers/deepseek/register-constructor';
|
|
5
|
-
export { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION };
|
|
6
|
-
export { createDeepseekExecutionTools };
|
|
7
|
-
export type { DeepseekExecutionToolsOptions };
|
|
8
|
-
export { _DeepseekRegistration };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Command as Program } from 'commander';
|
|
2
|
-
/**
|
|
3
|
-
* Initializes `list-scrapers` command for Promptbook CLI utilities
|
|
4
|
-
*
|
|
5
|
-
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI
|
|
6
|
-
*
|
|
7
|
-
* @private internal function of `promptbookCli`
|
|
8
|
-
*/
|
|
9
|
-
export declare function $initializeListScrapersCommand(program: Program): void;
|
|
10
|
-
/**
|
|
11
|
-
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
12
|
-
* Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
|
|
13
|
-
*/
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { createDeepSeek } from '@ai-sdk/deepseek';
|
|
2
|
-
import type { VercelExecutionToolsOptions } from '../vercel/VercelExecutionToolsOptions';
|
|
3
|
-
/**
|
|
4
|
-
* Options for `DeepseekExecutionTools`
|
|
5
|
-
*
|
|
6
|
-
* This combines options for Promptbook, Deepseek and Vercel together
|
|
7
|
-
* @public exported from `@promptbook/deepseek`
|
|
8
|
-
*/
|
|
9
|
-
export type DeepseekExecutionToolsOptions = Omit<VercelExecutionToolsOptions, 'title' | 'description' | 'vercelProvider' | 'availableModels'> & Parameters<typeof createDeepSeek>[0];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { LlmExecutionTools } from '../../execution/LlmExecutionTools';
|
|
2
|
-
import type { DeepseekExecutionToolsOptions } from './DeepseekExecutionToolsOptions';
|
|
3
|
-
/**
|
|
4
|
-
* Execution Tools for calling Deepseek API.
|
|
5
|
-
*
|
|
6
|
-
* @public exported from `@promptbook/deepseek`
|
|
7
|
-
*/
|
|
8
|
-
export declare const createDeepseekExecutionTools: ((options: DeepseekExecutionToolsOptions) => LlmExecutionTools) & {
|
|
9
|
-
packageName: string;
|
|
10
|
-
className: string;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* TODO: [🎶] Naming "constructor" vs "creator" vs "factory"
|
|
14
|
-
*/
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Registration } from '../../utils/$Register';
|
|
2
|
-
/**
|
|
3
|
-
* Registration of LLM provider metadata
|
|
4
|
-
*
|
|
5
|
-
* Warning: This is not useful for the end user, it is just a side effect of the mechanism that handles all available LLM tools
|
|
6
|
-
*
|
|
7
|
-
* @public exported from `@promptbook/core`
|
|
8
|
-
* @public exported from `@promptbook/wizzard`
|
|
9
|
-
* @public exported from `@promptbook/cli`
|
|
10
|
-
*/
|
|
11
|
-
export declare const _DeepseekMetadataRegistration: Registration;
|
|
12
|
-
/**
|
|
13
|
-
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
14
|
-
*/
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Registration } from '../../utils/$Register';
|
|
2
|
-
/**
|
|
3
|
-
* Registration of LLM provider
|
|
4
|
-
*
|
|
5
|
-
* Warning: This is not useful for the end user, it is just a side effect of the mechanism that handles all available LLM tools
|
|
6
|
-
*
|
|
7
|
-
* @public exported from `@promptbook/deepseek`
|
|
8
|
-
* @public exported from `@promptbook/wizzard`
|
|
9
|
-
* @public exported from `@promptbook/cli`
|
|
10
|
-
*/
|
|
11
|
-
export declare const _DeepseekRegistration: Registration;
|
|
12
|
-
/**
|
|
13
|
-
* TODO: [🎶] Naming "constructor" vs "creator" vs "factory"
|
|
14
|
-
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
15
|
-
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { string_file_extension } from '../../types/typeAliases';
|
|
2
|
-
import type { string_mime_type } from '../../types/typeAliases';
|
|
3
|
-
/**
|
|
4
|
-
* Convert mime type to file extension
|
|
5
|
-
*
|
|
6
|
-
* Note: If the mime type is invalid, `null` is returned
|
|
7
|
-
*
|
|
8
|
-
* @private within the repository
|
|
9
|
-
*/
|
|
10
|
-
export declare function mimeTypeToExtension(value: string_mime_type): string_file_extension | null;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|