@promptbook/core 0.89.0-15 → 0.89.0-16

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.
@@ -8,8 +8,6 @@ import { NAME } from '../config';
8
8
  import { ADMIN_EMAIL } from '../config';
9
9
  import { ADMIN_GITHUB_NAME } from '../config';
10
10
  import { CLAIM } from '../config';
11
- import { LOGO_LIGHT_SRC } from '../config';
12
- import { LOGO_DARK_SRC } from '../config';
13
11
  import { DEFAULT_BOOK_TITLE } from '../config';
14
12
  import { DEFAULT_TASK_TITLE } from '../config';
15
13
  import { DEFAULT_PROMPT_TASK_TITLE } from '../config';
@@ -28,6 +26,7 @@ import { DEFAULT_SCRAPE_CACHE_DIRNAME } from '../config';
28
26
  import { CLI_APP_ID } from '../config';
29
27
  import { PLAYGROUND_APP_ID } from '../config';
30
28
  import { DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME } from '../config';
29
+ import { REMOTE_SERVER_URLS } from '../config';
31
30
  import { DEFAULT_REMOTE_SERVER_URL } from '../config';
32
31
  import { DEFAULT_CSV_SETTINGS } from '../config';
33
32
  import { DEFAULT_IS_VERBOSE } from '../config';
@@ -116,6 +115,8 @@ import { isPipelinePrepared } from '../prepare/isPipelinePrepared';
116
115
  import { preparePipeline } from '../prepare/preparePipeline';
117
116
  import { prepareTasks } from '../prepare/prepareTasks';
118
117
  import { unpreparePipeline } from '../prepare/unpreparePipeline';
118
+ import { identificationToPromptbookToken } from '../remote-server/socket-types/_subtypes/identificationToPromptbookToken';
119
+ import { promptbookTokenToIdentification } from '../remote-server/socket-types/_subtypes/promptbookTokenToIdentification';
119
120
  import { _BoilerplateScraperMetadataRegistration } from '../scrapers/_boilerplate/register-metadata';
120
121
  import { prepareKnowledgePieces } from '../scrapers/_common/prepareKnowledgePieces';
121
122
  import { $scrapersMetadataRegister } from '../scrapers/_common/register/$scrapersMetadataRegister';
@@ -145,8 +146,6 @@ export { NAME };
145
146
  export { ADMIN_EMAIL };
146
147
  export { ADMIN_GITHUB_NAME };
147
148
  export { CLAIM };
148
- export { LOGO_LIGHT_SRC };
149
- export { LOGO_DARK_SRC };
150
149
  export { DEFAULT_BOOK_TITLE };
151
150
  export { DEFAULT_TASK_TITLE };
152
151
  export { DEFAULT_PROMPT_TASK_TITLE };
@@ -165,6 +164,7 @@ export { DEFAULT_SCRAPE_CACHE_DIRNAME };
165
164
  export { CLI_APP_ID };
166
165
  export { PLAYGROUND_APP_ID };
167
166
  export { DEFAULT_PIPELINE_COLLECTION_BASE_FILENAME };
167
+ export { REMOTE_SERVER_URLS };
168
168
  export { DEFAULT_REMOTE_SERVER_URL };
169
169
  export { DEFAULT_CSV_SETTINGS };
170
170
  export { DEFAULT_IS_VERBOSE };
@@ -253,6 +253,8 @@ export { isPipelinePrepared };
253
253
  export { preparePipeline };
254
254
  export { prepareTasks };
255
255
  export { unpreparePipeline };
256
+ export { identificationToPromptbookToken };
257
+ export { promptbookTokenToIdentification };
256
258
  export { _BoilerplateScraperMetadataRegistration };
257
259
  export { prepareKnowledgePieces };
258
260
  export { $scrapersMetadataRegister };
@@ -190,6 +190,7 @@ import type { string_css_property } from '../types/typeAliases';
190
190
  import type { string_css_value } from '../types/typeAliases';
191
191
  import type { string_css_selector } from '../types/typeAliases';
192
192
  import type { string_url } from '../types/typeAliases';
193
+ import type { string_promptbook_server_url } from '../types/typeAliases';
193
194
  import type { string_base_url } from '../types/typeAliases';
194
195
  import type { string_pipeline_root_url } from '../types/typeAliases';
195
196
  import type { string_pipeline_url } from '../types/typeAliases';
@@ -233,6 +234,7 @@ import type { string_postprocessing_function_name } from '../types/typeAliases';
233
234
  import type { id } from '../types/typeAliases';
234
235
  import type { task_id } from '../types/typeAliases';
235
236
  import type { string_token } from '../types/typeAliases';
237
+ import type { string_promptbook_token } from '../types/typeAliases';
236
238
  import type { string_license_token } from '../types/typeAliases';
237
239
  import type { string_password } from '../types/typeAliases';
238
240
  import type { string_ssh_key } from '../types/typeAliases';
@@ -477,6 +479,7 @@ export type { string_css_property };
477
479
  export type { string_css_value };
478
480
  export type { string_css_selector };
479
481
  export type { string_url };
482
+ export type { string_promptbook_server_url };
480
483
  export type { string_base_url };
481
484
  export type { string_pipeline_root_url };
482
485
  export type { string_pipeline_url };
@@ -520,6 +523,7 @@ export type { string_postprocessing_function_name };
520
523
  export type { id };
521
524
  export type { task_id };
522
525
  export type { string_token };
526
+ export type { string_promptbook_token };
523
527
  export type { string_license_token };
524
528
  export type { string_password };
525
529
  export type { string_ssh_key };
@@ -8,7 +8,6 @@ import type { Command as Program } from 'commander';
8
8
  */
9
9
  export declare function $initializeLoginCommand(program: Program): void;
10
10
  /**
11
- * TODO: Pass remote server URL (and path)
12
11
  * TODO: Implement non-interactive login
13
12
  * Note: [💞] Ignore a discrepancy between file name and entity name
14
13
  * Note: [🟡] Code in this file should never be published outside of `@promptbook/cli`
@@ -1,15 +1,28 @@
1
+ import type { LlmExecutionToolsWithTotalUsage } from '../../llm-providers/_common/utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
1
2
  import type { CacheLlmToolsOptions } from '../../llm-providers/_common/utils/cache/CacheLlmToolsOptions';
2
- import type { string_url } from '../../types/typeAliases';
3
+ import type { string_promptbook_server_url } from '../../types/typeAliases';
3
4
  type ProvideLlmToolsForCliOptions = Pick<CacheLlmToolsOptions, 'isCacheReloaded'> & {
5
+ /**
6
+ * If true, user will be always prompted for login
7
+ *
8
+ * Note: This is used in `ptbk login` command
9
+ */
10
+ isLoginloaded?: true;
11
+ /**
12
+ * CLI options
13
+ */
4
14
  cliOptions: {
5
15
  verbose: boolean;
6
16
  interactive: boolean;
7
17
  provider: 'BYOK' | 'BRING_YOUR_OWN_KEYS' | 'REMOTE_SERVER' | 'RS' | string;
8
- remoteServerUrl: string_url;
18
+ remoteServerUrl: string_promptbook_server_url;
9
19
  };
10
20
  };
11
21
  /**
12
22
  * @private utility of CLI
13
23
  */
14
- export declare function $provideLlmToolsForCli(options: ProvideLlmToolsForCliOptions): Promise<import("../../_packages/types.index").LlmExecutionToolsWithTotalUsage>;
24
+ export declare function $provideLlmToolsForCli(options: ProvideLlmToolsForCliOptions): Promise<{
25
+ strategy: 'BRING_YOUR_OWN_KEYS' | 'REMOTE_SERVER';
26
+ llm: LlmExecutionToolsWithTotalUsage;
27
+ }>;
15
28
  export {};
@@ -3,7 +3,7 @@ import type { IntermediateFilesStrategy } from './types/IntermediateFilesStrateg
3
3
  import type { string_app_id } from './types/typeAliases';
4
4
  import type { string_email } from './types/typeAliases';
5
5
  import type { string_name } from './types/typeAliases';
6
- import type { string_url_image } from './types/typeAliases';
6
+ import type { string_promptbook_server_url } from './types/typeAliases';
7
7
  /**
8
8
  * Warning message for the generated sections and files files
9
9
  *
@@ -38,22 +38,6 @@ export declare const ADMIN_GITHUB_NAME: string_name;
38
38
  * @public exported from `@promptbook/core`
39
39
  */
40
40
  export declare const CLAIM = "It's time for a paradigm shift. The future of software in plain English, French or Latin";
41
- /**
42
- * Logo for the light theme
43
- *
44
- * TODO: [🗽] Unite branding and make single place for it
45
- *
46
- * @public exported from `@promptbook/core`
47
- */
48
- export declare const LOGO_LIGHT_SRC: string_url_image;
49
- /**
50
- * Logo for the dark theme
51
- *
52
- * TODO: [🗽] Unite branding and make single place for it
53
- *
54
- * @public exported from `@promptbook/core`
55
- */
56
- export declare const LOGO_DARK_SRC: string_url_image;
57
41
  /**
58
42
  * When the title is not provided, the default title is used
59
43
  *
@@ -90,6 +74,12 @@ export declare const DEFAULT_MAX_FILE_SIZE: number;
90
74
  * @private within the repository
91
75
  */
92
76
  export declare const GENERATOR_WARNING_BY_PROMPTBOOK_CLI = "\u26A0\uFE0F WARNING: This code has been generated by `@promptbook/cli` so that any manual changes will be overwritten";
77
+ /**
78
+ * Warning message for the automatically generated sections of `.env` files
79
+ *
80
+ * @private within the repository
81
+ */
82
+ export declare const GENERATOR_WARNING_IN_ENV = "Note: Added by Promptbook";
93
83
  /**
94
84
  * The maximum number of iterations for a loops
95
85
  *
@@ -238,11 +228,17 @@ export declare const MOMENT_ARG_THRESHOLDS: {
238
228
  readonly ss: 3;
239
229
  };
240
230
  /**
241
- * @@@
231
+ * Available remote servers for the Promptbook
232
+ *
233
+ * @public exported from `@promptbook/core`
234
+ */
235
+ export declare const REMOTE_SERVER_URLS: Array<string_promptbook_server_url>;
236
+ /**
237
+ * Default remote server URL for the Promptbook
242
238
  *
243
239
  * @public exported from `@promptbook/core`
244
240
  */
245
- export declare const DEFAULT_REMOTE_SERVER_URL = "https://api.pavolhejny.com/promptbook";
241
+ export declare const DEFAULT_REMOTE_SERVER_URL: string_promptbook_server_url;
246
242
  /**
247
243
  * @@@
248
244
  *
@@ -10,5 +10,5 @@ export declare class PipelineExecutionError extends Error {
10
10
  constructor(message: string);
11
11
  }
12
12
  /**
13
- * TODO: !!!!!! Add id to all errors
13
+ * TODO: [🧠][🌂] Add id to all errors
14
14
  */
@@ -1,9 +1,10 @@
1
1
  import type { really_unknown } from '../utils/organization/really_unknown';
2
2
  /**
3
- * !!!@@@
3
+ * Helper used in catch blocks to assert that the error is an instance of `Error`
4
4
  *
5
- * @param whatWasThrown !!!@@@
6
- * @returns !!!@@@
5
+ * @param whatWasThrown Any object that was thrown
6
+ * @returns Nothing if the error is an instance of `Error`
7
+ * @throws `WrappedError` or `UnexpectedError` if the error is not standard
7
8
  *
8
9
  * @private within the repository
9
10
  */
@@ -5,7 +5,14 @@ import type { string_url } from '../../../types/typeAliases';
5
5
  import type { really_any } from '../../../utils/organization/really_any';
6
6
  import type { CacheLlmToolsOptions } from '../utils/cache/CacheLlmToolsOptions';
7
7
  import type { LlmExecutionToolsWithTotalUsage } from '../utils/count-total-usage/LlmExecutionToolsWithTotalUsage';
8
- type ProvideLlmToolsForWizzardOrCliOptions = Pick<CacheLlmToolsOptions, 'isCacheReloaded'> & ({
8
+ type ProvideLlmToolsForWizzardOrCliOptions = {
9
+ /**
10
+ * If true, user will be always prompted for login
11
+ *
12
+ * Note: This is used in `ptbk login` command
13
+ */
14
+ isLoginloaded?: true;
15
+ } & Pick<CacheLlmToolsOptions, 'isCacheReloaded'> & ({
9
16
  /**
10
17
  * Use local keys and execute LLMs directly
11
18
  */
@@ -29,6 +36,8 @@ type ProvideLlmToolsForWizzardOrCliOptions = Pick<CacheLlmToolsOptions, 'isCache
29
36
  readonly appId: string_app_id;
30
37
  /**
31
38
  *
39
+ *
40
+ * Note: When login prompt fails, `process.exit(1)` is called
32
41
  */
33
42
  loginPrompt(): Promisable<Identification<really_any>>;
34
43
  });
@@ -0,0 +1,11 @@
1
+ import type { string_promptbook_token } from '../../../types/typeAliases';
2
+ import type { really_unknown } from '../../../utils/organization/really_unknown';
3
+ import type { ApplicationModeIdentification } from './Identification';
4
+ /**
5
+ * Convert identification to Promptbook token
6
+ *
7
+ * @param identification
8
+ *
9
+ * @public exported from `@promptbook/core`
10
+ */
11
+ export declare function identificationToPromptbookToken(identification: ApplicationModeIdentification<really_unknown>): string_promptbook_token;
@@ -0,0 +1,10 @@
1
+ import type { string_promptbook_token } from '../../../types/typeAliases';
2
+ import type { ApplicationModeIdentification } from './Identification';
3
+ /**
4
+ * Convert Promptbook token to identification
5
+ *
6
+ * @param promptbookToken
7
+ *
8
+ * @public exported from `@promptbook/core`
9
+ */
10
+ export declare function promptbookTokenToIdentification(promptbookToken: string_promptbook_token): ApplicationModeIdentification<undefined>;
@@ -1,6 +1,6 @@
1
1
  import type { PromptbookStorage } from '../_common/PromptbookStorage';
2
2
  /**
3
- * Stores data in .env variables (Remove !!! nonce 1)
3
+ * Stores data in .env variables
4
4
  *
5
5
  * Note: `$` is used to indicate that this function is not a pure function - it uses filesystem to access `.env` file and also writes to `process.env`
6
6
  *
@@ -35,3 +35,6 @@ export declare class $EnvStorage<TItem> implements PromptbookStorage<TItem> {
35
35
  */
36
36
  removeItem(key: string): void;
37
37
  }
38
+ /**
39
+ * TODO: Write file more securely - ensure that there can be no accidental overwriting of existing variables and other content
40
+ */
@@ -325,6 +325,12 @@ export type string_css_selector = string;
325
325
  * For example `"https://collboard.com/9SeSQTupmQHwuSrLi"`
326
326
  */
327
327
  export type string_url = string;
328
+ /**
329
+ * Semantic helper
330
+ *
331
+ * For example `"https://s1.ptbk.io/promptbook"`
332
+ */
333
+ export type string_promptbook_server_url = string;
328
334
  /**
329
335
  * Semantic helper
330
336
  *
@@ -570,6 +576,12 @@ export type string_postprocessing_function_name = string;
570
576
  export type id = string | number;
571
577
  export type task_id = string;
572
578
  export type string_token = string;
579
+ /**
580
+ * Semantic helper
581
+ *
582
+ * Made by `identificationToPromptbookToken` exported from `@promptbook/core`
583
+ */
584
+ export type string_promptbook_token = string_token;
573
585
  export type string_license_token = string_token;
574
586
  export type string_password = string;
575
587
  export type string_ssh_key = string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/core",
3
- "version": "0.89.0-15",
3
+ "version": "0.89.0-16",
4
4
  "description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",
5
5
  "private": false,
6
6
  "sideEffects": false,
package/umd/index.umd.js CHANGED
@@ -27,7 +27,7 @@
27
27
  * @generated
28
28
  * @see https://github.com/webgptorg/promptbook
29
29
  */
30
- const PROMPTBOOK_ENGINE_VERSION = '0.89.0-15';
30
+ const PROMPTBOOK_ENGINE_VERSION = '0.89.0-16';
31
31
  /**
32
32
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
33
33
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -213,22 +213,6 @@
213
213
  */
214
214
  const CLAIM = `It's time for a paradigm shift. The future of software in plain English, French or Latin`;
215
215
  // <- TODO: [🐊] Pick the best claim
216
- /**
217
- * Logo for the light theme
218
- *
219
- * TODO: [🗽] Unite branding and make single place for it
220
- *
221
- * @public exported from `@promptbook/core`
222
- */
223
- const LOGO_LIGHT_SRC = `https://promptbook.studio/_next/static/media/promptbook-logo.b21f0c70.png`; // <- TODO: !!! Auto-update or remove
224
- /**
225
- * Logo for the dark theme
226
- *
227
- * TODO: [🗽] Unite branding and make single place for it
228
- *
229
- * @public exported from `@promptbook/core`
230
- */
231
- const LOGO_DARK_SRC = `https://promptbook.studio/_next/static/media/promptbook-logo-white.09887cbc.png`; // <- TODO: !!! Auto-update or remove
232
216
  /**
233
217
  * When the title is not provided, the default title is used
234
218
  *
@@ -340,7 +324,7 @@
340
324
  */
341
325
  const DEFAULT_BOOKS_DIRNAME = './books';
342
326
  // <- TODO: [🕝] Make also `BOOKS_DIRNAME_ALTERNATIVES`
343
- // TODO: !!!!!! Just .promptbook dir, hardocode others
327
+ // TODO: Just `.promptbook` in config, hardcode subfolders like `download-cache` or `execution-cache`
344
328
  /**
345
329
  * Where to store the temporary downloads
346
330
  *
@@ -402,11 +386,20 @@
402
386
  ss: 3, // <- least number of seconds to be counted in seconds, minus 1. Must be set after setting the `s` unit or without setting the `s` unit.
403
387
  };
404
388
  /**
405
- * @@@
389
+ * Available remote servers for the Promptbook
390
+ *
391
+ * @public exported from `@promptbook/core`
392
+ */
393
+ const REMOTE_SERVER_URLS = [
394
+ 'https://s1.ptbk.io/promptbook',
395
+ 'https://api.pavolhejny.com/promptbook',
396
+ ];
397
+ /**
398
+ * Default remote server URL for the Promptbook
406
399
  *
407
400
  * @public exported from `@promptbook/core`
408
401
  */
409
- const DEFAULT_REMOTE_SERVER_URL = 'https://api.pavolhejny.com/promptbook';
402
+ const DEFAULT_REMOTE_SERVER_URL = REMOTE_SERVER_URLS[0];
410
403
  // <- TODO: [🧜‍♂️]
411
404
  /**
412
405
  * @@@
@@ -538,44 +531,42 @@
538
531
  constructor(whatWasThrown) {
539
532
  const tag = `[🤮]`;
540
533
  console.error(tag, whatWasThrown);
541
- super(spaceTrim.spaceTrim((block) => `
542
- ${ /* Fixing tests !!! block(valueToString(whatWasThrown)) */block(`non-Error object was thrown`)}
543
-
544
- Note: Look for ${tag} in the console for more details
545
- !!! Note: \`WrappedError\` indicates that somewhere in the code non-Error object was thrown and it was wrapped
534
+ super(spaceTrim.spaceTrim(`
535
+ Non-Error object was thrown
546
536
 
547
- Please report issue on ${ADMIN_EMAIL}
548
-
549
- `));
537
+ Note: Look for ${tag} in the console for more details
538
+ Please report issue on ${ADMIN_EMAIL}
539
+ `));
550
540
  this.name = 'WrappedError';
551
541
  Object.setPrototypeOf(this, WrappedError.prototype);
552
542
  }
553
543
  }
554
544
 
555
545
  /**
556
- * !!!@@@
546
+ * Helper used in catch blocks to assert that the error is an instance of `Error`
557
547
  *
558
- * @param whatWasThrown !!!@@@
559
- * @returns !!!@@@
548
+ * @param whatWasThrown Any object that was thrown
549
+ * @returns Nothing if the error is an instance of `Error`
550
+ * @throws `WrappedError` or `UnexpectedError` if the error is not standard
560
551
  *
561
552
  * @private within the repository
562
553
  */
563
554
  function assertsError(whatWasThrown) {
564
- // Case 1: !!!@@@
555
+ // Case 1: Handle error which was rethrown as `WrappedError`
565
556
  if (whatWasThrown instanceof WrappedError) {
566
557
  const wrappedError = whatWasThrown;
567
558
  throw wrappedError;
568
559
  }
569
- // Case 2: !!!@@@
560
+ // Case 2: Handle unexpected errors
570
561
  if (whatWasThrown instanceof UnexpectedError) {
571
562
  const unexpectedError = whatWasThrown;
572
563
  throw unexpectedError;
573
564
  }
574
- // Case 3: !!!@@@
565
+ // Case 3: Handle standard errors - keep them up to consumer
575
566
  if (whatWasThrown instanceof Error) {
576
567
  return;
577
568
  }
578
- // Case 4: !!!@@@
569
+ // Case 4: Handle non-standard errors - wrap them into `WrappedError` and throw
579
570
  throw new WrappedError(whatWasThrown);
580
571
  }
581
572
 
@@ -1923,7 +1914,7 @@
1923
1914
  }
1924
1915
  }
1925
1916
  /**
1926
- * TODO: !!!!!! Add id to all errors
1917
+ * TODO: [🧠][🌂] Add id to all errors
1927
1918
  */
1928
1919
 
1929
1920
  /**
@@ -2235,8 +2226,8 @@
2235
2226
  updatedAt = new Date();
2236
2227
  errors.push(...executionResult.errors);
2237
2228
  warnings.push(...executionResult.warnings);
2238
- // <- TODO: !!! Only unique errors and warnings should be added (or filtered)
2239
- // TODO: [🧠] !!! errors, warning, isSuccessful are redundant both in `ExecutionTask` and `ExecutionTask.currentValue`
2229
+ // <- TODO: [🌂] Only unique errors and warnings should be added (or filtered)
2230
+ // TODO: [🧠] !! errors, warning, isSuccessful are redundant both in `ExecutionTask` and `ExecutionTask.currentValue`
2240
2231
  // Also maybe move `ExecutionTask.currentValue.usage` -> `ExecutionTask.usage`
2241
2232
  // And delete `ExecutionTask.currentValue.preparedPipeline`
2242
2233
  assertsTaskSuccessful(executionResult);
@@ -10670,6 +10661,40 @@
10670
10661
  * Note: [💞] Ignore a discrepancy between file name and entity name
10671
10662
  */
10672
10663
 
10664
+ /**
10665
+ * Convert identification to Promptbook token
10666
+ *
10667
+ * @param identification
10668
+ *
10669
+ * @public exported from `@promptbook/core`
10670
+ */
10671
+ function identificationToPromptbookToken(identification) {
10672
+ const { appId, userId, userToken } = identification;
10673
+ const promptbookToken = `${appId}-${userId}-${userToken}`;
10674
+ return promptbookToken;
10675
+ }
10676
+
10677
+ /**
10678
+ * Convert Promptbook token to identification
10679
+ *
10680
+ * @param promptbookToken
10681
+ *
10682
+ * @public exported from `@promptbook/core`
10683
+ */
10684
+ function promptbookTokenToIdentification(promptbookToken) {
10685
+ const [appId, userId, userToken] = promptbookToken.split('-');
10686
+ if (!appId || !userId || !userToken) {
10687
+ throw new Error(`Invalid promptbook token: ${promptbookToken}`);
10688
+ }
10689
+ const identification = {
10690
+ appId,
10691
+ userId,
10692
+ userToken,
10693
+ isAnonymous: false,
10694
+ };
10695
+ return identification;
10696
+ }
10697
+
10673
10698
  /**
10674
10699
  * Metadata of the scraper
10675
10700
  *
@@ -11007,8 +11032,6 @@
11007
11032
  exports.GenericFormfactorDefinition = GenericFormfactorDefinition;
11008
11033
  exports.ImageGeneratorFormfactorDefinition = ImageGeneratorFormfactorDefinition;
11009
11034
  exports.KnowledgeScrapeError = KnowledgeScrapeError;
11010
- exports.LOGO_DARK_SRC = LOGO_DARK_SRC;
11011
- exports.LOGO_LIGHT_SRC = LOGO_LIGHT_SRC;
11012
11035
  exports.LimitReachedError = LimitReachedError;
11013
11036
  exports.MANDATORY_CSV_SETTINGS = MANDATORY_CSV_SETTINGS;
11014
11037
  exports.MAX_FILENAME_LENGTH = MAX_FILENAME_LENGTH;
@@ -11031,6 +11054,7 @@
11031
11054
  exports.PipelineUrlError = PipelineUrlError;
11032
11055
  exports.PrefixStorage = PrefixStorage;
11033
11056
  exports.PromptbookFetchError = PromptbookFetchError;
11057
+ exports.REMOTE_SERVER_URLS = REMOTE_SERVER_URLS;
11034
11058
  exports.RESERVED_PARAMETER_NAMES = RESERVED_PARAMETER_NAMES;
11035
11059
  exports.SET_IS_VERBOSE = SET_IS_VERBOSE;
11036
11060
  exports.SectionTypes = SectionTypes;
@@ -11073,6 +11097,7 @@
11073
11097
  exports.executionReportJsonToString = executionReportJsonToString;
11074
11098
  exports.extractParameterNamesFromTask = extractParameterNamesFromTask;
11075
11099
  exports.getPipelineInterface = getPipelineInterface;
11100
+ exports.identificationToPromptbookToken = identificationToPromptbookToken;
11076
11101
  exports.isPassingExpectations = isPassingExpectations;
11077
11102
  exports.isPipelineImplementingInterface = isPipelineImplementingInterface;
11078
11103
  exports.isPipelineInterfacesEqual = isPipelineInterfacesEqual;
@@ -11089,6 +11114,7 @@
11089
11114
  exports.prepareTasks = prepareTasks;
11090
11115
  exports.prettifyPipelineString = prettifyPipelineString;
11091
11116
  exports.promptbookFetch = promptbookFetch;
11117
+ exports.promptbookTokenToIdentification = promptbookTokenToIdentification;
11092
11118
  exports.unpreparePipeline = unpreparePipeline;
11093
11119
  exports.usageToHuman = usageToHuman;
11094
11120
  exports.usageToWorktime = usageToWorktime;