@promptbook/cli 0.112.0-105 → 0.112.0-106
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 +1 -1
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/book-components/BookEditor/useBookEditorMonacoLanguage.ts +4 -1
- package/src/other/templates/getTemplatesPipelineCollection.ts +1000 -761
- package/src/version.ts +2 -2
- package/src/versions.txt +1 -0
- package/umd/index.umd.js +1 -1
- package/umd/src/version.d.ts +1 -1
package/esm/index.es.js
CHANGED
|
@@ -58,7 +58,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
|
|
|
58
58
|
* @generated
|
|
59
59
|
* @see https://github.com/webgptorg/promptbook
|
|
60
60
|
*/
|
|
61
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-
|
|
61
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.112.0-106';
|
|
62
62
|
/**
|
|
63
63
|
* TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
|
|
64
64
|
* Note: [💞] Ignore a discrepancy between file name and entity name
|
package/esm/src/version.d.ts
CHANGED
|
@@ -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.112.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.112.0-105`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
|
@@ -281,7 +281,10 @@ function createNoteLikeBodyRules(
|
|
|
281
281
|
*
|
|
282
282
|
* @private function of BookEditorMonaco
|
|
283
283
|
*/
|
|
284
|
-
export function ensureBookEditorMonacoLanguage(
|
|
284
|
+
export function ensureBookEditorMonacoLanguage(
|
|
285
|
+
monaco: MonacoEditor,
|
|
286
|
+
theme: BookEditorTheme = BOOK_EDITOR_RENDER_THEME,
|
|
287
|
+
): void {
|
|
285
288
|
const renderedTheme = resolveBookEditorRenderTheme(theme);
|
|
286
289
|
const monacoWithLanguageState = monaco as MonacoEditorWithBookEditorLanguageState;
|
|
287
290
|
if (monacoWithLanguageState[BOOK_EDITOR_LANGUAGE_INITIALIZED_FLAG]) {
|