@promptbook/cli 0.104.0-17 → 0.104.0-18
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 +3 -52
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +8 -6
- package/esm/typings/src/book-2.0/utils/generatePlaceholderAgentProfileImageUrl.d.ts +1 -1
- package/esm/typings/src/config.d.ts +8 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +3 -52
- package/umd/index.umd.js.map +1 -1
- package/esm/typings/servers.d.ts +0 -50
package/esm/index.es.js
CHANGED
|
@@ -47,62 +47,12 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
47
47
|
* @generated
|
|
48
48
|
* @see https://github.com/webgptorg/promptbook
|
|
49
49
|
*/
|
|
50
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
50
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-18';
|
|
51
51
|
/**
|
|
52
52
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
53
53
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
54
54
|
*/
|
|
55
55
|
|
|
56
|
-
/**
|
|
57
|
-
* Core Promptbook server configuration.
|
|
58
|
-
*
|
|
59
|
-
* This server is also used for auto-federation in the Agents Server.
|
|
60
|
-
*
|
|
61
|
-
* @public exported from `@promptbook/core`
|
|
62
|
-
*/
|
|
63
|
-
const CORE_SERVER = {
|
|
64
|
-
title: 'Promptbook Core',
|
|
65
|
-
description: `Core Promptbook server used for auto-federation`,
|
|
66
|
-
owner: 'AI Web, LLC <legal@ptbk.io> (https://www.ptbk.io/)',
|
|
67
|
-
urls: ['https://core.ptbk.io/'],
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* Available remote servers for the Promptbook
|
|
71
|
-
*
|
|
72
|
-
* @public exported from `@promptbook/core`
|
|
73
|
-
*/
|
|
74
|
-
const REMOTE_SERVER_URLS = [
|
|
75
|
-
{
|
|
76
|
-
title: 'Promptbook.Studio',
|
|
77
|
-
description: `Server of Promptbook.studio`,
|
|
78
|
-
owner: 'AI Web, LLC <legal@ptbk.io> (https://www.ptbk.io/)',
|
|
79
|
-
urls: [
|
|
80
|
-
'https://promptbook.s5.ptbk.io/',
|
|
81
|
-
// Note: Servers 1-4 are not running
|
|
82
|
-
],
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
title: 'Testing Agents',
|
|
86
|
-
description: `Testing Agents server on Vercel`,
|
|
87
|
-
owner: 'AI Web, LLC <legal@ptbk.io> (https://www.ptbk.io/)',
|
|
88
|
-
urls: ['https://s6.ptbk.io/'],
|
|
89
|
-
},
|
|
90
|
-
CORE_SERVER,
|
|
91
|
-
/*
|
|
92
|
-
Note: Working on older version of Promptbook and not supported anymore
|
|
93
|
-
{
|
|
94
|
-
title: 'Pavol Promptbook Server',
|
|
95
|
-
description: `Personal server of Pavol Hejný with simple testing server, DO NOT USE IT FOR PRODUCTION`,
|
|
96
|
-
owner: 'Pavol Hejný <pavol@ptbk.io> (https://www.pavolhejny.com/)',
|
|
97
|
-
isAnonymousModeAllowed: true,
|
|
98
|
-
urls: ['https://api.pavolhejny.com/promptbook'],
|
|
99
|
-
},
|
|
100
|
-
*/
|
|
101
|
-
];
|
|
102
|
-
/**
|
|
103
|
-
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
56
|
/**
|
|
107
57
|
* Trims string from all 4 sides
|
|
108
58
|
*
|
|
@@ -1287,9 +1237,10 @@ const MOMENT_ARG_THRESHOLDS = {
|
|
|
1287
1237
|
/**
|
|
1288
1238
|
* Default remote server URL for the Promptbook
|
|
1289
1239
|
*
|
|
1240
|
+
* @deprecated !!!! Deprecate all pipelines server
|
|
1290
1241
|
* @public exported from `@promptbook/core`
|
|
1291
1242
|
*/
|
|
1292
|
-
const DEFAULT_REMOTE_SERVER_URL =
|
|
1243
|
+
const DEFAULT_REMOTE_SERVER_URL = `https://promptbook.s5.ptbk.io/`;
|
|
1293
1244
|
// <- TODO: [🧜♂️]
|
|
1294
1245
|
/**
|
|
1295
1246
|
* Default settings for parsing and generating CSV files in Promptbook.
|