@promptbook/remote-server 0.86.10 → 0.86.30
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 +35 -42
- package/esm/index.es.js +3021 -4044
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/types.index.d.ts +2 -0
- package/esm/typings/src/_packages/utils.index.d.ts +0 -2
- package/esm/typings/src/execution/AbstractTaskResult.d.ts +3 -3
- package/esm/typings/src/execution/PipelineExecutorResult.d.ts +1 -1
- package/esm/typings/src/execution/utils/usageToHuman.d.ts +11 -1
- package/esm/typings/src/execution/utils/usageToWorktime.d.ts +9 -1
- package/esm/typings/src/formats/_common/FormatDefinition.d.ts +1 -1
- package/esm/typings/src/formats/text/TextFormatDefinition.d.ts +1 -1
- package/esm/typings/src/llm-providers/multiple/MultipleLlmExecutionTools.d.ts +1 -1
- package/esm/typings/src/types/typeAliases.d.ts +6 -0
- package/package.json +2 -2
- package/umd/index.umd.js +3060 -4083
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/src/conversion/utils/extractVariablesFromScript.d.ts +0 -14
- package/esm/typings/src/conversion/utils/extractVariablesFromScript.test.d.ts +0 -1
- package/esm/typings/src/scripting/javascript/JavascriptEvalExecutionTools.test.d.ts +0 -4
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { string_javascript } from '../../types/typeAliases';
|
|
2
|
-
import type { string_javascript_name } from '../../types/typeAliases';
|
|
3
|
-
/**
|
|
4
|
-
* Parses the given script and returns the list of all used variables that are not defined in the script
|
|
5
|
-
*
|
|
6
|
-
* @param script from which to extract the variables
|
|
7
|
-
* @returns the list of variable names
|
|
8
|
-
* @throws {ParseError} if the script is invalid
|
|
9
|
-
* @public exported from `@promptbook/utils` <- Note: [👖] This is usable elsewhere than in Promptbook, so keeping in utils
|
|
10
|
-
*/
|
|
11
|
-
export declare function extractVariablesFromScript(script: string_javascript): Set<string_javascript_name>;
|
|
12
|
-
/**
|
|
13
|
-
* TODO: [🔣] Support for multiple languages - python, java,...
|
|
14
|
-
*/
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|