@promptbook/components 0.114.0-39 → 0.114.0-40

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
@@ -39,7 +39,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
39
39
  * @generated
40
40
  * @see https://github.com/webgptorg/promptbook
41
41
  */
42
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-39';
42
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-40';
43
43
  /**
44
44
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
45
45
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -0,0 +1,28 @@
1
+ import { type GlobOptionsWithFileTypesUnset } from 'glob';
2
+ import type { string_filename } from '../../types/string_filename';
3
+ /**
4
+ * Options of `findFilesByGlob`
5
+ *
6
+ * Note: These are the options of `glob` itself, only `ignore` also accepts a readonly array
7
+ * @see https://www.npmjs.com/package/glob#options
8
+ *
9
+ * @private internal type of `findFilesByGlob`
10
+ */
11
+ export type FindFilesByGlobOptions = Omit<GlobOptionsWithFileTypesUnset, 'ignore'> & {
12
+ /**
13
+ * Glob patterns which are excluded from the result
14
+ */
15
+ readonly ignore?: string | ReadonlyArray<string>;
16
+ };
17
+ /**
18
+ * Finds all filenames matching a glob pattern
19
+ *
20
+ * Note: This is the single place where `glob` is used, so that every caller gets the same shape of results
21
+ * on every operating system - POSIX separators and a stable order - which `glob` itself does not guarantee
22
+ *
23
+ * @param pattern Glob pattern to match, for example `./src/**\/*.ts`
24
+ * @param options Options passed to `glob`
25
+ * @returns Matching filenames with `/` separators, sorted alphabetically
26
+ * @private within the repository
27
+ */
28
+ export declare function findFilesByGlob(pattern: string, options?: FindFilesByGlobOptions): Promise<Array<string_filename>>;
@@ -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.114.0-38`).
18
+ * It follows semantic versioning (e.g., `0.114.0-39`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/components",
3
- "version": "0.114.0-39",
3
+ "version": "0.114.0-40",
4
4
  "description": "Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action",
5
5
  "private": false,
6
6
  "sideEffects": false,
@@ -100,12 +100,11 @@
100
100
  "@openai/agents": "0.4.15",
101
101
  "bottleneck": "2.19.5",
102
102
  "colors": "1.4.0",
103
- "crypto": "1.0.1",
104
103
  "crypto-js": "4.2.0",
105
- "dompurify": "3.4.6",
104
+ "dompurify": "3.4.15",
106
105
  "html-to-image": "1.11.13",
107
106
  "jsdom": "25.0.1",
108
- "jspdf": "4.1.0",
107
+ "jspdf": "4.2.1",
109
108
  "katex": "0.16.45",
110
109
  "moment": "2.30.1",
111
110
  "openai": "6.18.0",
package/umd/index.umd.js CHANGED
@@ -33,7 +33,7 @@
33
33
  * @generated
34
34
  * @see https://github.com/webgptorg/promptbook
35
35
  */
36
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-39';
36
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-40';
37
37
  /**
38
38
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
39
39
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -0,0 +1,28 @@
1
+ import { type GlobOptionsWithFileTypesUnset } from 'glob';
2
+ import type { string_filename } from '../../types/string_filename';
3
+ /**
4
+ * Options of `findFilesByGlob`
5
+ *
6
+ * Note: These are the options of `glob` itself, only `ignore` also accepts a readonly array
7
+ * @see https://www.npmjs.com/package/glob#options
8
+ *
9
+ * @private internal type of `findFilesByGlob`
10
+ */
11
+ export type FindFilesByGlobOptions = Omit<GlobOptionsWithFileTypesUnset, 'ignore'> & {
12
+ /**
13
+ * Glob patterns which are excluded from the result
14
+ */
15
+ readonly ignore?: string | ReadonlyArray<string>;
16
+ };
17
+ /**
18
+ * Finds all filenames matching a glob pattern
19
+ *
20
+ * Note: This is the single place where `glob` is used, so that every caller gets the same shape of results
21
+ * on every operating system - POSIX separators and a stable order - which `glob` itself does not guarantee
22
+ *
23
+ * @param pattern Glob pattern to match, for example `./src/**\/*.ts`
24
+ * @param options Options passed to `glob`
25
+ * @returns Matching filenames with `/` separators, sorted alphabetically
26
+ * @private within the repository
27
+ */
28
+ export declare function findFilesByGlob(pattern: string, options?: FindFilesByGlobOptions): Promise<Array<string_filename>>;
@@ -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.114.0-38`).
18
+ * It follows semantic versioning (e.g., `0.114.0-39`).
19
19
  *
20
20
  * @generated
21
21
  */