@promptbook/remote-server 0.13.0 → 0.13.1

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.
@@ -1,4 +1,4 @@
1
- import { uuid } from '../../../.././types/typeAliases';
1
+ import { string_uri, uuid } from '../../../.././types/typeAliases';
2
2
  import { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions';
3
3
  /**
4
4
  * Options for RemoteNaturalExecutionTools
@@ -9,6 +9,13 @@ export interface RemoteNaturalExecutionToolsOptions extends CommonExecutionTools
9
9
  * On this server will be connected to the socket.io server
10
10
  */
11
11
  readonly remoteUrl: URL;
12
+ /**
13
+ * Path for the Socket.io server to listen
14
+ *
15
+ * @default '/socket.io'
16
+ * @example '/promptbook/socket.io'
17
+ */
18
+ readonly path: string_uri;
12
19
  /**
13
20
  * Your client ID
14
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/remote-server",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "Library to supercharge your use of large language models",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -38,7 +38,7 @@
38
38
  "spacetrim": "0.9.2"
39
39
  },
40
40
  "peerDependencies": {
41
- "@promptbook/core": "0.13.0"
41
+ "@promptbook/core": "0.13.1"
42
42
  },
43
43
  "main": "./umd/index.umd.js",
44
44
  "module": "./esm/index.es.js",
@@ -1,4 +1,4 @@
1
- import { uuid } from '../../../.././types/typeAliases';
1
+ import { string_uri, uuid } from '../../../.././types/typeAliases';
2
2
  import { CommonExecutionToolsOptions } from '../../../CommonExecutionToolsOptions';
3
3
  /**
4
4
  * Options for RemoteNaturalExecutionTools
@@ -9,6 +9,13 @@ export interface RemoteNaturalExecutionToolsOptions extends CommonExecutionTools
9
9
  * On this server will be connected to the socket.io server
10
10
  */
11
11
  readonly remoteUrl: URL;
12
+ /**
13
+ * Path for the Socket.io server to listen
14
+ *
15
+ * @default '/socket.io'
16
+ * @example '/promptbook/socket.io'
17
+ */
18
+ readonly path: string_uri;
12
19
  /**
13
20
  * Your client ID
14
21
  */