@promptbook/color 0.105.0-0 → 0.105.0-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.
package/esm/index.es.js CHANGED
@@ -14,7 +14,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
14
14
  * @generated
15
15
  * @see https://github.com/webgptorg/promptbook
16
16
  */
17
- const PROMPTBOOK_ENGINE_VERSION = '0.105.0-0';
17
+ const PROMPTBOOK_ENGINE_VERSION = '0.105.0-1';
18
18
  /**
19
19
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
20
20
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -15,6 +15,10 @@ type GenerateBookBoilerplateOptions = PartialDeep<Omit<AgentBasicInformation, 'p
15
15
  * @default 'ENGLISH'
16
16
  */
17
17
  namePool?: string;
18
+ /**
19
+ * Initial rules for the agent
20
+ */
21
+ initialRules?: Array<string>;
18
22
  };
19
23
  /**
20
24
  * Generates boilerplate for a new agent book
@@ -5,10 +5,11 @@ import type { string_persona_description } from '../../types/typeAliases';
5
5
  * This function selects a random personality profile from a predefined pool
6
6
  * of common AI agent characteristics (e.g., friendly, professional, creative).
7
7
  *
8
+ * @param language - The language code (e.g. 'ENGLISH', 'CZECH')
8
9
  * @returns A string describing the agent's persona
9
10
  * @private internal helper function
10
11
  */
11
- export declare function $randomAgentPersona(): string_persona_description;
12
+ export declare function $randomAgentPersona(language?: string): string_persona_description;
12
13
  /**
13
14
  * TODO: [🤶] Maybe export through `@promptbook/utils` or `@promptbook/random` package
14
15
  */
@@ -0,0 +1,14 @@
1
+ import type { string_persona_description } from '../../types/typeAliases';
2
+ /**
3
+ * Generates a random agent rule description.
4
+ *
5
+ * This function selects a random rule
6
+ *
7
+ * @param language - The language code (e.g. 'ENGLISH', 'CZECH')
8
+ * @returns A string describing the agent's rule
9
+ * @private internal helper function
10
+ */
11
+ export declare function $randomAgentRule(language?: string): string_persona_description;
12
+ /**
13
+ * TODO: [🤶] Maybe export through `@promptbook/utils` or `@promptbook/random` package
14
+ */
@@ -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.104.0`).
18
+ * It follows semantic versioning (e.g., `0.105.0-0`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/color",
3
- "version": "0.105.0-0",
3
+ "version": "0.105.0-1",
4
4
  "description": "Promptbook: Turn your company's scattered knowledge into AI ready books",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -91,7 +91,7 @@
91
91
  "module": "./esm/index.es.js",
92
92
  "typings": "./esm/typings/src/_packages/color.index.d.ts",
93
93
  "peerDependencies": {
94
- "@promptbook/core": "0.105.0-0"
94
+ "@promptbook/core": "0.105.0-1"
95
95
  },
96
96
  "dependencies": {
97
97
  "spacetrim": "0.11.60"
package/umd/index.umd.js CHANGED
@@ -18,7 +18,7 @@
18
18
  * @generated
19
19
  * @see https://github.com/webgptorg/promptbook
20
20
  */
21
- const PROMPTBOOK_ENGINE_VERSION = '0.105.0-0';
21
+ const PROMPTBOOK_ENGINE_VERSION = '0.105.0-1';
22
22
  /**
23
23
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
24
24
  * Note: [💞] Ignore a discrepancy between file name and entity name