@promptbook/remote-client 0.63.0-6 → 0.63.0-8
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/esm/index.es.js +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +2 -0
- package/esm/typings/src/cli/cli-commands/about.d.ts +11 -0
- package/esm/typings/src/cli/cli-commands/make.d.ts +1 -0
- package/esm/typings/src/cli/test/ptbk.d.ts +2 -0
- package/esm/typings/src/cli/test/ptbk.test.d.ts +1 -0
- package/esm/typings/src/config.d.ts +8 -0
- package/esm/typings/src/conversion/validation/_importPipeline.d.ts +3 -0
- package/package.json +2 -2
- package/umd/index.umd.js +1 -1
package/esm/index.es.js
CHANGED
|
@@ -4,7 +4,7 @@ import { io } from 'socket.io-client';
|
|
|
4
4
|
/**
|
|
5
5
|
* The version of the Promptbook library
|
|
6
6
|
*/
|
|
7
|
-
var PROMPTBOOK_VERSION = '0.63.0-
|
|
7
|
+
var PROMPTBOOK_VERSION = '0.63.0-7';
|
|
8
8
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
9
9
|
|
|
10
10
|
/*! *****************************************************************************
|
|
@@ -6,6 +6,7 @@ import { createCollectionFromUrl } from '../collection/constructors/createCollec
|
|
|
6
6
|
import { createSubcollection } from '../collection/constructors/createSubcollection';
|
|
7
7
|
import type { BlockType } from '../commands/BLOCK/BlockTypes';
|
|
8
8
|
import { BlockTypes } from '../commands/BLOCK/BlockTypes';
|
|
9
|
+
import { CLAIM } from '../config';
|
|
9
10
|
import { MAX_PARALLEL_COUNT } from '../config';
|
|
10
11
|
import { MAX_EXECUTION_ATTEMPTS } from '../config';
|
|
11
12
|
import { MAX_FILENAME_LENGTH } from '../config';
|
|
@@ -66,6 +67,7 @@ export { createCollectionFromUrl };
|
|
|
66
67
|
export { createSubcollection };
|
|
67
68
|
export type { BlockType };
|
|
68
69
|
export { BlockTypes };
|
|
70
|
+
export { CLAIM };
|
|
69
71
|
export { MAX_PARALLEL_COUNT };
|
|
70
72
|
export { MAX_EXECUTION_ATTEMPTS };
|
|
71
73
|
export { MAX_FILENAME_LENGTH };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Command as Program } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* Initializes `about` command for Promptbook CLI utilities
|
|
4
|
+
*
|
|
5
|
+
* @private internal function of `promptbookCli`
|
|
6
|
+
*/
|
|
7
|
+
export declare function initializeAboutCommand(program: Program): void;
|
|
8
|
+
/**
|
|
9
|
+
* TODO: [🗽] Unite branding and make single place for it
|
|
10
|
+
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
11
|
+
*/
|
|
@@ -6,6 +6,7 @@ import type { Command as Program } from 'commander';
|
|
|
6
6
|
*/
|
|
7
7
|
export declare function initializeMakeCommand(program: Program): void;
|
|
8
8
|
/**
|
|
9
|
+
* TODO: Maybe remove this command - "about" command should be enough?
|
|
9
10
|
* TODO: [0] DRY Javascript and typescript - Maybe make ONLY typescript and for javascript just remove types
|
|
10
11
|
* Note: [🟡] This code should never be published outside of `@promptbook/cli`
|
|
11
12
|
* TODO: [🖇] What about symlinks? Maybe flag --follow-symlinks
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,6 +4,14 @@
|
|
|
4
4
|
* @private within the repository
|
|
5
5
|
*/
|
|
6
6
|
export declare const GENERATOR_WARNING = "\u26A0\uFE0F WARNING: This code has been generated so that any manual changes will be overwritten";
|
|
7
|
+
/**
|
|
8
|
+
* Claim for the Promptbook
|
|
9
|
+
*
|
|
10
|
+
* TODO: [🗽] Unite branding and make single place for it
|
|
11
|
+
*
|
|
12
|
+
* @public exported from `@promptbook/core`
|
|
13
|
+
*/
|
|
14
|
+
export declare const CLAIM = "Supercharge LLM models with Promptbook";
|
|
7
15
|
/**
|
|
8
16
|
* Warning message for the generated sections and files files
|
|
9
17
|
*
|
|
@@ -24,3 +24,6 @@ export declare function importPipelineJson(path: `${string}.ptbk.json`): Pipelin
|
|
|
24
24
|
* @private internal function of tests
|
|
25
25
|
*/
|
|
26
26
|
export declare function importPipelineJsonAsString(path: `${string}.ptbk.json`): string_json<PipelineJson>;
|
|
27
|
+
/**
|
|
28
|
+
* TODO: [🥯] This should be part of scripting + testing utilities set which are not builded into packages
|
|
29
|
+
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/remote-client",
|
|
3
|
-
"version": "0.63.0-
|
|
3
|
+
"version": "0.63.0-8",
|
|
4
4
|
"description": "Supercharge your use of large language models",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"module": "./esm/index.es.js",
|
|
48
48
|
"typings": "./esm/typings/src/_packages/remote-client.index.d.ts",
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@promptbook/core": "0.63.0-
|
|
50
|
+
"@promptbook/core": "0.63.0-8"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"socket.io-client": "4.7.2"
|
package/umd/index.umd.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/**
|
|
9
9
|
* The version of the Promptbook library
|
|
10
10
|
*/
|
|
11
|
-
var PROMPTBOOK_VERSION = '0.63.0-
|
|
11
|
+
var PROMPTBOOK_VERSION = '0.63.0-7';
|
|
12
12
|
// TODO: !!!! List here all the versions and annotate + put into script
|
|
13
13
|
|
|
14
14
|
/*! *****************************************************************************
|