@promptbook/node 0.101.0-16 → 0.101.0-17

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 CHANGED
@@ -28,7 +28,7 @@ const BOOK_LANGUAGE_VERSION = '1.0.0';
28
28
  * @generated
29
29
  * @see https://github.com/webgptorg/promptbook
30
30
  */
31
- const PROMPTBOOK_ENGINE_VERSION = '0.101.0-16';
31
+ const PROMPTBOOK_ENGINE_VERSION = '0.101.0-17';
32
32
  /**
33
33
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
34
34
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -9,7 +9,7 @@ export type AvatarChipProps = {
9
9
  /**
10
10
  * Avatar to be shown
11
11
  */
12
- readonly avatarBasicInformation: AgentBasicInformation;
12
+ readonly avatarBasicInformation: Omit<AgentBasicInformation, 'parameters'>;
13
13
  /**
14
14
  * Whether this chip is a template avatar
15
15
  */
@@ -21,7 +21,7 @@ export type AvatarChipProps = {
21
21
  /**
22
22
  * Called when chip is clicked
23
23
  */
24
- readonly onSelect?: (avatar: AgentBasicInformation) => void;
24
+ readonly onSelect?: (avatar: Omit<AgentBasicInformation, 'parameters'>) => void;
25
25
  /**
26
26
  * Whether this chip is selected
27
27
  */
@@ -15,7 +15,7 @@ export declare const BOOK_LANGUAGE_VERSION: string_semantic_version;
15
15
  export declare const PROMPTBOOK_ENGINE_VERSION: string_promptbook_version;
16
16
  /**
17
17
  * Represents the version string of the Promptbook engine.
18
- * It follows semantic versioning (e.g., `0.101.0-15`).
18
+ * It follows semantic versioning (e.g., `0.101.0-16`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/node",
3
- "version": "0.101.0-16",
3
+ "version": "0.101.0-17",
4
4
  "description": "Promptbook: Run AI apps in plain human language across multiple models and platforms",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -93,7 +93,7 @@
93
93
  "module": "./esm/index.es.js",
94
94
  "typings": "./esm/typings/src/_packages/node.index.d.ts",
95
95
  "peerDependencies": {
96
- "@promptbook/core": "0.101.0-16"
96
+ "@promptbook/core": "0.101.0-17"
97
97
  },
98
98
  "dependencies": {
99
99
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -45,7 +45,7 @@
45
45
  * @generated
46
46
  * @see https://github.com/webgptorg/promptbook
47
47
  */
48
- const PROMPTBOOK_ENGINE_VERSION = '0.101.0-16';
48
+ const PROMPTBOOK_ENGINE_VERSION = '0.101.0-17';
49
49
  /**
50
50
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
51
51
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1,17 +0,0 @@
1
- import type { string_url_image } from '../../types/typeAliases';
2
- /**
3
- * Extracts persona, examples, and profile image from agent definition text
4
- * @param systemMessage The original system message that may contain PERSONA, EXAMPLE, and META IMAGE lines
5
- * @returns Object with extracted information and cleaned system message
6
- *
7
- * @private - TODO: [🧠] Maybe should be public?
8
- */
9
- export declare function extractAgentMetadata(systemMessage: string): {
10
- persona?: {
11
- name: string;
12
- description?: string;
13
- };
14
- examples: string[];
15
- profileImageUrl?: string_url_image;
16
- cleanedSystemMessage: string;
17
- };
@@ -1,12 +0,0 @@
1
- import type { string_url_image } from '../../types/typeAliases';
2
- /**
3
- * Extracts profile image URL from agent definition text and returns cleaned system message
4
- * @param systemMessage The original system message that may contain META IMAGE line
5
- * @returns Object with profileImageUrl (if found) and cleanedSystemMessage (without META IMAGE line)
6
- *
7
- * @private - TODO: [🧠] Maybe should be public?
8
- */
9
- export declare function extractProfileImageFromSystemMessage(systemMessage: string): {
10
- profileImageUrl?: string_url_image;
11
- cleanedSystemMessage: string;
12
- };