Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.61.0-28 to 0.61.0-29

2

esm/index.es.js

@@ -217,3 +217,3 @@ import { io } from 'socket.io-client';

*/
var PROMPTBOOK_VERSION = '0.61.0-27';
var PROMPTBOOK_VERSION = '0.61.0-28';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -220,0 +220,0 @@

@@ -23,2 +23,12 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson';

readonly isVerbose?: boolean;
/**
* If you pass fully prepared pipeline, this does not matter
*
* Otherwise:
* If false or not set, warning is shown when pipeline is not prepared
* If true, warning is suppressed
*
* @default false
*/
readonly isNotPreparedWarningSupressed?: boolean;
};

@@ -51,4 +61,2 @@ /**

/**
* TODO: !!!!! return `preparedPipeline` from execution
* TODO: !!!!! `isNotPreparedWarningSupressed`
* TODO: Use isVerbose here (not only pass to `preparePipeline`)

@@ -55,0 +63,0 @@ * TODO: [πŸͺ‚] Use maxParallelCount here (not only pass to `preparePipeline`)

import type { Promisable } from 'type-fest';
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
import { PipelineExecutionError } from '../errors/PipelineExecutionError';

@@ -13,2 +14,4 @@ import type { TaskProgress } from '../types/TaskProgress';

*
* @@@ almost-JSON (what about errors)
*
* @see https://github.com/webgptorg/promptbook#executor

@@ -21,5 +24,13 @@ */

* @@@
*
* @@@ almost-JSON (what about errors)
*/
export type PipelineExecutorResult = {
/**
* Result parameters of the execution
*
* Note: If the execution was not successful, there are only some of the result parameters
*/
readonly outputParameters: Parameters;
/**
* Whether the execution was successful, details are aviable in `executionReport`

@@ -45,11 +56,12 @@ */

/**
* Result parameters of the execution
* The prepared pipeline that was used for the execution
*
* Note: If the execution was not successful, there are only some of the result parameters
* Note: If you called `createPipelineExecutor` with fully prepared pipeline, this is the same object as this pipeline
* If you passed not fully prepared pipeline, this is same pipeline but fully prepared
*/
readonly outputParameters: Parameters;
readonly preparedPipeline: PipelineJson;
};
/**
* TODO: [🧠] Should this file be in /execution or /types folder?
* TODO: [πŸ’·] `assertsExecutionSuccessful` should be the method of `PipelineExecutor` result
* TODO: [πŸ’·] `assertsExecutionSuccessful` should be the method of `PipelineExecutor` result - BUT maybe NOT?
*/

@@ -44,3 +44,3 @@ import type { PromptResult } from '../../execution/PromptResult';

*/
readonly prompt: Omit<Prompt, 'pipelineUrl' | 'parameters'>;
readonly prompt: Omit<Prompt, 'pipelineUrl'>;
/**

@@ -47,0 +47,0 @@ * Result of the prompt execution (if not failed during LLM execution)

{
"name": "@promptbook/remote-client",
"version": "0.61.0-28",
"version": "0.61.0-29",
"description": "Supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.61.0-28"
"@promptbook/core": "0.61.0-29"
},

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

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

*/
var PROMPTBOOK_VERSION = '0.61.0-27';
var PROMPTBOOK_VERSION = '0.61.0-28';
// TODO: !!!! List here all the versions and annotate + put into script

@@ -224,0 +224,0 @@

@@ -23,2 +23,12 @@ import type { PipelineJson } from '../types/PipelineJson/PipelineJson';

readonly isVerbose?: boolean;
/**
* If you pass fully prepared pipeline, this does not matter
*
* Otherwise:
* If false or not set, warning is shown when pipeline is not prepared
* If true, warning is suppressed
*
* @default false
*/
readonly isNotPreparedWarningSupressed?: boolean;
};

@@ -51,4 +61,2 @@ /**

/**
* TODO: !!!!! return `preparedPipeline` from execution
* TODO: !!!!! `isNotPreparedWarningSupressed`
* TODO: Use isVerbose here (not only pass to `preparePipeline`)

@@ -55,0 +63,0 @@ * TODO: [πŸͺ‚] Use maxParallelCount here (not only pass to `preparePipeline`)

import type { Promisable } from 'type-fest';
import type { PipelineJson } from '../types/PipelineJson/PipelineJson';
import { PipelineExecutionError } from '../errors/PipelineExecutionError';

@@ -13,2 +14,4 @@ import type { TaskProgress } from '../types/TaskProgress';

*
* @@@ almost-JSON (what about errors)
*
* @see https://github.com/webgptorg/promptbook#executor

@@ -21,5 +24,13 @@ */

* @@@
*
* @@@ almost-JSON (what about errors)
*/
export type PipelineExecutorResult = {
/**
* Result parameters of the execution
*
* Note: If the execution was not successful, there are only some of the result parameters
*/
readonly outputParameters: Parameters;
/**
* Whether the execution was successful, details are aviable in `executionReport`

@@ -45,11 +56,12 @@ */

/**
* Result parameters of the execution
* The prepared pipeline that was used for the execution
*
* Note: If the execution was not successful, there are only some of the result parameters
* Note: If you called `createPipelineExecutor` with fully prepared pipeline, this is the same object as this pipeline
* If you passed not fully prepared pipeline, this is same pipeline but fully prepared
*/
readonly outputParameters: Parameters;
readonly preparedPipeline: PipelineJson;
};
/**
* TODO: [🧠] Should this file be in /execution or /types folder?
* TODO: [πŸ’·] `assertsExecutionSuccessful` should be the method of `PipelineExecutor` result
* TODO: [πŸ’·] `assertsExecutionSuccessful` should be the method of `PipelineExecutor` result - BUT maybe NOT?
*/

@@ -44,3 +44,3 @@ import type { PromptResult } from '../../execution/PromptResult';

*/
readonly prompt: Omit<Prompt, 'pipelineUrl' | 'parameters'>;
readonly prompt: Omit<Prompt, 'pipelineUrl'>;
/**

@@ -47,0 +47,0 @@ * Result of the prompt execution (if not failed during LLM execution)

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚑️ by Socket Inc