@promptbook/remote-client 0.104.0-12 → 0.104.0-14
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 +9 -4
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/components.index.d.ts +0 -6
- package/esm/typings/src/book-components/Chat/save/_common/string_chat_format_name.d.ts +1 -1
- package/esm/typings/src/book-components/Chat/types/ChatMessage.d.ts +4 -1
- package/esm/typings/src/book-components/_common/Dropdown/Dropdown.d.ts +5 -1
- package/esm/typings/src/book-components/_common/HamburgerMenu/HamburgerMenu.d.ts +4 -0
- package/esm/typings/src/book-components/icons/AboutIcon.d.ts +5 -1
- package/esm/typings/src/book-components/icons/AttachmentIcon.d.ts +6 -2
- package/esm/typings/src/book-components/icons/CameraIcon.d.ts +6 -2
- package/esm/typings/src/book-components/icons/DownloadIcon.d.ts +5 -1
- package/esm/typings/src/book-components/icons/MenuIcon.d.ts +5 -1
- package/esm/typings/src/book-components/icons/SaveIcon.d.ts +6 -2
- package/esm/typings/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentCollectionInSupabase.d.ts +7 -5
- package/esm/typings/src/commands/_common/types/Command.d.ts +1 -1
- package/esm/typings/src/commitments/_base/BookCommitment.d.ts +1 -1
- package/esm/typings/src/formfactors/_common/FormfactorDefinition.d.ts +1 -1
- package/esm/typings/src/llm-providers/_common/utils/count-total-usage/countUsage.d.ts +7 -3
- package/esm/typings/src/llm-providers/_multiple/joinLlmExecutionTools.d.ts +11 -7
- package/esm/typings/src/remote-server/ui/ServerApp.d.ts +5 -1
- package/esm/typings/src/types/typeAliasEmoji.d.ts +2 -2
- package/esm/typings/src/utils/random/$randomAgentPersona.d.ts +4 -0
- package/esm/typings/src/utils/random/$randomItem.d.ts +1 -1
- package/esm/typings/src/utils/random/$randomSeed.d.ts +1 -1
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +9 -4
- package/umd/index.umd.js.map +1 -1
package/esm/index.es.js
CHANGED
|
@@ -20,7 +20,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
20
20
|
* @generated
|
|
21
21
|
* @see https://github.com/webgptorg/promptbook
|
|
22
22
|
*/
|
|
23
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-
|
|
23
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.104.0-14';
|
|
24
24
|
/**
|
|
25
25
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
26
26
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
|
@@ -1969,8 +1969,8 @@ for (let i = 0; i < defaultDiacriticsRemovalMap.length; i++) {
|
|
|
1969
1969
|
*/
|
|
1970
1970
|
function removeDiacritics(input) {
|
|
1971
1971
|
/*eslint no-control-regex: "off"*/
|
|
1972
|
-
return input.replace(/[^\u0000-\u007E]/g, (
|
|
1973
|
-
return DIACRITIC_VARIANTS_LETTERS[
|
|
1972
|
+
return input.replace(/[^\u0000-\u007E]/g, (character) => {
|
|
1973
|
+
return DIACRITIC_VARIANTS_LETTERS[character] || character;
|
|
1974
1974
|
});
|
|
1975
1975
|
}
|
|
1976
1976
|
/**
|
|
@@ -4308,7 +4308,12 @@ const jokerCommandParser = {
|
|
|
4308
4308
|
* @see {@link ModelVariant}
|
|
4309
4309
|
* @public exported from `@promptbook/core`
|
|
4310
4310
|
*/
|
|
4311
|
-
const MODEL_VARIANTS = [
|
|
4311
|
+
const MODEL_VARIANTS = [
|
|
4312
|
+
'COMPLETION',
|
|
4313
|
+
'CHAT',
|
|
4314
|
+
'IMAGE_GENERATION',
|
|
4315
|
+
'EMBEDDING' /* <- TODO [🏳] */ /* <- [🤖] */,
|
|
4316
|
+
];
|
|
4312
4317
|
|
|
4313
4318
|
/**
|
|
4314
4319
|
* Parses the model command
|