@promptbook/node 0.68.0-3 → 0.68.0-4
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 +2 -2
- package/esm/index.es.js +188 -167
- package/esm/index.es.js.map +1 -1
- package/esm/typings/promptbook-collection/index.d.ts +3 -3
- package/esm/typings/src/_packages/core.index.d.ts +4 -4
- package/esm/typings/src/_packages/types.index.d.ts +2 -2
- package/esm/typings/src/collection/constructors/createCollectionFromJson.d.ts +1 -1
- package/esm/typings/src/commands/FOREACH/foreachCommandParser.d.ts +1 -1
- package/esm/typings/src/commands/KNOWLEDGE/knowledgeCommandParser.d.ts +3 -0
- package/esm/typings/src/commands/TEMPLATE/TemplateCommand.d.ts +11 -0
- package/esm/typings/src/commands/TEMPLATE/TemplateTypes.d.ts +15 -0
- package/esm/typings/src/commands/TEMPLATE/templateCommandParser.d.ts +12 -0
- package/esm/typings/src/commands/X_ACTION/actionCommandParser.d.ts +3 -0
- package/esm/typings/src/commands/X_INSTRUMENT/instrumentCommandParser.d.ts +3 -0
- package/esm/typings/src/commands/_common/getParserForCommand.d.ts +11 -0
- package/esm/typings/src/commands/_common/stringifyCommand.d.ts +11 -0
- package/esm/typings/src/commands/_common/stringifyCommand.test.d.ts +1 -0
- package/esm/typings/src/commands/_common/types/CommandParser.d.ts +2 -2
- package/esm/typings/src/commands/index.d.ts +1 -1
- package/esm/typings/src/conversion/pipelineJsonToString.d.ts +1 -1
- package/esm/typings/src/conversion/pipelineStringToJson.d.ts +1 -1
- package/esm/typings/src/conversion/pipelineStringToJsonSync.d.ts +1 -1
- package/esm/typings/src/conversion/utils/extractParameterNamesFromTemplate.d.ts +1 -1
- package/esm/typings/src/conversion/validation/pipelineStringToJson-parseErrors.test.d.ts +4 -0
- package/esm/typings/src/conversion/validation/validatePipeline-logicErrors.test.d.ts +1 -1
- package/esm/typings/src/conversion/validation/validatePipeline.test.d.ts +3 -0
- package/esm/typings/src/errors/PipelineLogicError.d.ts +1 -1
- package/esm/typings/src/execution/ScriptExecutionTools.d.ts +1 -1
- package/esm/typings/src/knowledge/dialogs/simple-prompt/SimplePromptInterfaceTools.d.ts +1 -1
- package/esm/typings/src/types/PipelineJson/DialogTemplateJson.d.ts +1 -1
- package/esm/typings/src/types/PipelineJson/PromptTemplateJson.d.ts +2 -2
- package/esm/typings/src/types/PipelineJson/ScriptTemplateJson.d.ts +2 -2
- package/esm/typings/src/types/PipelineJson/SimpleTemplateJson.d.ts +1 -1
- package/esm/typings/src/types/PipelineJson/TemplateJsonCommon.d.ts +2 -2
- package/esm/typings/src/types/TaskProgress.d.ts +2 -2
- package/esm/typings/src/utils/markdown/addAutoGeneratedSection.d.ts +0 -1
- package/package.json +2 -2
- package/umd/index.umd.js +188 -167
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/commands/BLOCK/BlockCommand.d.ts +0 -11
- package/esm/typings/src/commands/BLOCK/BlockTypes.d.ts +0 -15
- package/esm/typings/src/commands/BLOCK/blockCommandParser.d.ts +0 -9
- /package/esm/typings/src/commands/{BLOCK/blockCommand.test.d.ts → TEMPLATE/templateCommand.test.d.ts} +0 -0
- /package/esm/typings/src/{conversion/validation/pipelineStringToJson-syntaxErrors.test.d.ts → commands/_common/getParserForCommand.test.d.ts} +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { BlockType } from './BlockTypes';
|
|
2
|
-
/**
|
|
3
|
-
* Parsed BLOCK command
|
|
4
|
-
*
|
|
5
|
-
* @see ./blockCommandParser.ts for more details
|
|
6
|
-
* @private within the commands folder
|
|
7
|
-
*/
|
|
8
|
-
export type BlockCommand = {
|
|
9
|
-
readonly type: 'BLOCK';
|
|
10
|
-
readonly blockType: BlockType;
|
|
11
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { TupleToUnion } from 'type-fest';
|
|
2
|
-
/**
|
|
3
|
-
* Block type describes the way how the block is blockd
|
|
4
|
-
*
|
|
5
|
-
* @see https://github.com/webgptorg/promptbook#block-type
|
|
6
|
-
* @public exported from `@promptbook/core`
|
|
7
|
-
*/
|
|
8
|
-
export type BlockType = TupleToUnion<typeof BlockTypes>;
|
|
9
|
-
/**
|
|
10
|
-
* Block type describes the way how the block is blockd
|
|
11
|
-
*
|
|
12
|
-
* @see https://github.com/webgptorg/promptbook#block-type
|
|
13
|
-
* @public exported from `@promptbook/core`
|
|
14
|
-
*/
|
|
15
|
-
export declare const BlockTypes: readonly ["PROMPT_TEMPLATE", "SIMPLE_TEMPLATE", "SCRIPT_TEMPLATE", "DIALOG_TEMPLATE", "SAMPLE", "KNOWLEDGE", "INSTRUMENT", "ACTION"];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { PipelineTemplateCommandParser } from '../_common/types/CommandParser';
|
|
2
|
-
import type { BlockCommand } from './BlockCommand';
|
|
3
|
-
/**
|
|
4
|
-
* Parses the block command
|
|
5
|
-
*
|
|
6
|
-
* @see ./BLOCK-README.md for more details
|
|
7
|
-
* @private within the commands folder
|
|
8
|
-
*/
|
|
9
|
-
export declare const blockCommandParser: PipelineTemplateCommandParser<BlockCommand>;
|
|
File without changes
|