@promptbook/remote-server 0.41.102 → 0.41.105

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.
Files changed (19) hide show
  1. package/esm/index.es.js +1 -1
  2. package/esm/typings/_packages/core.index.d.ts +2 -2
  3. package/esm/typings/conversion/prettify/prettifyPromptbookString.d.ts +0 -1
  4. package/package.json +3 -3
  5. package/umd/index.umd.js +1 -1
  6. package/umd/typings/_packages/core.index.d.ts +2 -2
  7. package/umd/typings/conversion/prettify/prettifyPromptbookString.d.ts +0 -1
  8. /package/esm/typings/conversion/{test → validation}/_importPromptbook.d.ts +0 -0
  9. /package/esm/typings/conversion/{test → validation}/promptbookStringToJson-syntaxErrors.test.d.ts +0 -0
  10. /package/esm/typings/conversion/{test → validation}/promptbookStringToJson.test.d.ts +0 -0
  11. /package/esm/typings/conversion/{test → validation}/validatePromptbookJson-logicErrors.test.d.ts +0 -0
  12. /package/esm/typings/conversion/{test → validation}/validatePromptbookJson.d.ts +0 -0
  13. /package/esm/typings/conversion/{test → validation}/validatePromptbookJson.test.d.ts +0 -0
  14. /package/umd/typings/conversion/{test → validation}/_importPromptbook.d.ts +0 -0
  15. /package/umd/typings/conversion/{test → validation}/promptbookStringToJson-syntaxErrors.test.d.ts +0 -0
  16. /package/umd/typings/conversion/{test → validation}/promptbookStringToJson.test.d.ts +0 -0
  17. /package/umd/typings/conversion/{test → validation}/validatePromptbookJson-logicErrors.test.d.ts +0 -0
  18. /package/umd/typings/conversion/{test → validation}/validatePromptbookJson.d.ts +0 -0
  19. /package/umd/typings/conversion/{test → validation}/validatePromptbookJson.test.d.ts +0 -0
package/esm/index.es.js CHANGED
@@ -89,7 +89,7 @@ var PromptbookExecutionError = /** @class */ (function (_super) {
89
89
  /**
90
90
  * The version of the Promptbook library
91
91
  */
92
- var PROMPTBOOK_VERSION = '0.41.101';
92
+ var PROMPTBOOK_VERSION = '0.41.104';
93
93
 
94
94
  /**
95
95
  * Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
@@ -1,5 +1,5 @@
1
1
  import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
2
- import { validatePromptbookJson } from '../conversion/test/validatePromptbookJson';
2
+ import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
3
3
  import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
4
4
  import { MockedEchoNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedEchoNaturalExecutionTools';
5
5
  import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
@@ -12,7 +12,7 @@ import { createPromptbookSublibrary } from '../library/constructors/createPrompt
12
12
  import { ExecutionTypes } from '../types/ExecutionTypes';
13
13
  import { PROMPTBOOK_VERSION } from '../version';
14
14
  export { ExecutionTypes, PROMPTBOOK_VERSION };
15
- export { SimplePromptbookLibrary, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, };
15
+ export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
16
16
  export { SimplePromptInterfaceTools };
17
17
  export { promptbookStringToJson, validatePromptbookJson };
18
18
  export { MockedEchoNaturalExecutionTools };
@@ -6,6 +6,5 @@ import type { PrettifyOptions } from './PrettifyOptions';
6
6
  export declare function prettifyPromptbookString(promptbookString: PromptbookString, options: PrettifyOptions): PromptbookString;
7
7
  /**
8
8
  * TODO: Maybe use some Mermaid library instead of string templating
9
- * TODO: [🧠] Should this be here OR in other folder
10
9
  * TODO: [🕌] When more than 2 functionalities, split into separate functions
11
10
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.41.102",
3
+ "version": "0.41.105",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -34,12 +34,12 @@
34
34
  },
35
35
  "homepage": "https://www.npmjs.com/package/@promptbook/core",
36
36
  "dependencies": {
37
- "colors": "^1.4.0",
37
+ "colors": "1.4.0",
38
38
  "socket.io": "4.7.2",
39
39
  "spacetrim": "0.11.2"
40
40
  },
41
41
  "peerDependencies": {
42
- "@promptbook/core": "0.41.102"
42
+ "@promptbook/core": "0.41.105"
43
43
  },
44
44
  "main": "./umd/index.umd.js",
45
45
  "module": "./esm/index.es.js",
package/umd/index.umd.js CHANGED
@@ -96,7 +96,7 @@
96
96
  /**
97
97
  * The version of the Promptbook library
98
98
  */
99
- var PROMPTBOOK_VERSION = '0.41.101';
99
+ var PROMPTBOOK_VERSION = '0.41.104';
100
100
 
101
101
  /**
102
102
  * Remote server is a proxy server that uses its execution tools internally and exposes the executor interface externally.
@@ -1,5 +1,5 @@
1
1
  import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
2
- import { validatePromptbookJson } from '../conversion/test/validatePromptbookJson';
2
+ import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
3
3
  import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
4
4
  import { MockedEchoNaturalExecutionTools } from '../execution/plugins/natural-execution-tools/mocked/MockedEchoNaturalExecutionTools';
5
5
  import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
@@ -12,7 +12,7 @@ import { createPromptbookSublibrary } from '../library/constructors/createPrompt
12
12
  import { ExecutionTypes } from '../types/ExecutionTypes';
13
13
  import { PROMPTBOOK_VERSION } from '../version';
14
14
  export { ExecutionTypes, PROMPTBOOK_VERSION };
15
- export { SimplePromptbookLibrary, createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, };
15
+ export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
16
16
  export { SimplePromptInterfaceTools };
17
17
  export { promptbookStringToJson, validatePromptbookJson };
18
18
  export { MockedEchoNaturalExecutionTools };
@@ -6,6 +6,5 @@ import type { PrettifyOptions } from './PrettifyOptions';
6
6
  export declare function prettifyPromptbookString(promptbookString: PromptbookString, options: PrettifyOptions): PromptbookString;
7
7
  /**
8
8
  * TODO: Maybe use some Mermaid library instead of string templating
9
- * TODO: [🧠] Should this be here OR in other folder
10
9
  * TODO: [🕌] When more than 2 functionalities, split into separate functions
11
10
  */