@promptbook/remote-client 0.103.0-47 → 0.103.0-48
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 +7 -1
- package/esm/index.es.js.map +1 -1
- package/esm/typings/src/_packages/core.index.d.ts +6 -0
- package/esm/typings/src/_packages/types.index.d.ts +2 -0
- package/esm/typings/src/book-2.0/agent-source/AgentBasicInformation.d.ts +7 -3
- package/esm/typings/src/book-2.0/agent-source/AgentSourceParseResult.d.ts +2 -1
- package/esm/typings/src/book-2.0/agent-source/computeAgentHash.d.ts +8 -0
- package/esm/typings/src/book-2.0/agent-source/computeAgentHash.test.d.ts +1 -0
- package/esm/typings/src/book-2.0/agent-source/createDefaultAgentName.d.ts +8 -0
- package/esm/typings/src/book-2.0/agent-source/normalizeAgentName.d.ts +9 -0
- package/esm/typings/src/book-2.0/agent-source/normalizeAgentName.test.d.ts +1 -0
- package/esm/typings/src/book-2.0/agent-source/parseAgentSourceWithCommitments.d.ts +1 -1
- package/esm/typings/src/collection/agent-collection/constructors/agent-collection-in-supabase/AgentsDatabaseSchema.d.ts +57 -32
- package/esm/typings/src/llm-providers/_common/utils/assertUniqueModels.d.ts +12 -0
- package/esm/typings/src/llm-providers/agent/Agent.d.ts +7 -2
- package/esm/typings/src/llm-providers/agent/AgentLlmExecutionTools.d.ts +4 -0
- package/esm/typings/src/llm-providers/agent/RemoteAgent.d.ts +2 -2
- package/esm/typings/src/llm-providers/openai/OpenAiAssistantExecutionTools.d.ts +24 -3
- package/esm/typings/src/llm-providers/openai/openai-models.test.d.ts +4 -0
- package/esm/typings/src/remote-server/startAgentServer.d.ts +1 -1
- package/esm/typings/src/remote-server/startRemoteServer.d.ts +1 -2
- package/esm/typings/src/transpilers/openai-sdk/register.d.ts +1 -1
- package/esm/typings/src/types/typeAliases.d.ts +6 -0
- package/esm/typings/src/utils/normalization/normalize-to-kebab-case.d.ts +2 -0
- package/esm/typings/src/utils/normalization/normalizeTo_PascalCase.d.ts +3 -0
- package/esm/typings/src/utils/normalization/normalizeTo_camelCase.d.ts +2 -0
- package/esm/typings/src/utils/normalization/titleToName.d.ts +2 -0
- package/esm/typings/src/version.d.ts +1 -1
- package/package.json +2 -2
- package/umd/index.umd.js +7 -1
- 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.103.0-
|
|
23
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.103.0-48';
|
|
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
|
|
@@ -1910,6 +1910,8 @@ function removeDiacritics(input) {
|
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Converts a given text to kebab-case format.
|
|
1912
1912
|
*
|
|
1913
|
+
* Note: [🔂] This function is idempotent.
|
|
1914
|
+
*
|
|
1913
1915
|
* @param text The text to be converted.
|
|
1914
1916
|
* @returns The kebab-case formatted string.
|
|
1915
1917
|
* @example 'hello-world'
|
|
@@ -3385,6 +3387,8 @@ const RESERVED_PARAMETER_NAMES = exportJson({
|
|
|
3385
3387
|
/**
|
|
3386
3388
|
* Normalizes a given text to camelCase format.
|
|
3387
3389
|
*
|
|
3390
|
+
* Note: [🔂] This function is idempotent.
|
|
3391
|
+
*
|
|
3388
3392
|
* @param text The text to be normalized.
|
|
3389
3393
|
* @param _isFirstLetterCapital Whether the first letter should be capitalized.
|
|
3390
3394
|
* @returns The camelCase formatted string.
|
|
@@ -5925,6 +5929,8 @@ function flattenMarkdown(markdown) {
|
|
|
5925
5929
|
/**
|
|
5926
5930
|
* Converts a title string into a normalized name.
|
|
5927
5931
|
*
|
|
5932
|
+
* Note: [🔂] This function is idempotent.
|
|
5933
|
+
*
|
|
5928
5934
|
* @param value The title string to be converted to a name.
|
|
5929
5935
|
* @returns A normalized name derived from the input title.
|
|
5930
5936
|
* @example 'Hello World!' -> 'hello-world'
|