@promptbook/documents 0.112.0-113 → 0.112.0-115

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
@@ -26,7 +26,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
26
26
  * @generated
27
27
  * @see https://github.com/webgptorg/promptbook
28
28
  */
29
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-113';
29
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-115';
30
30
  /**
31
31
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
32
32
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1,3 +1,4 @@
1
+ import type { Command as Program } from 'commander';
1
2
  import type { NormalizedPromptRunnerSelectionCliOptions, PromptRunnerSelectionCliOptions } from '../common/promptRunnerCliOptions';
2
3
  /**
3
4
  * Commander option bag shared by `ptbk agent` subcommands.
@@ -9,12 +10,20 @@ export type AgentCommandCliOptions = PromptRunnerSelectionCliOptions & {
9
10
  readonly context?: string;
10
11
  readonly message?: string;
11
12
  };
13
+ /**
14
+ * Normalized shared options used by local `ptbk agent` subcommands.
15
+ *
16
+ * @private internal utility of `ptbk agent`
17
+ */
18
+ export type NormalizedAgentCommandRunnerOptions = NormalizedPromptRunnerSelectionCliOptions & {
19
+ readonly isVerbose: boolean;
20
+ };
12
21
  /**
13
22
  * Normalizes shared runner flags for local agent subcommands.
14
23
  *
15
24
  * @private internal utility of `ptbk agent`
16
25
  */
17
- export declare function normalizeAgentCommandRunnerOptions(cliOptions: AgentCommandCliOptions): NormalizedPromptRunnerSelectionCliOptions;
26
+ export declare function normalizeAgentCommandRunnerOptions(cliOptions: AgentCommandCliOptions, command: Program): NormalizedAgentCommandRunnerOptions;
18
27
  /**
19
28
  * Returns the required agent book path from Commander options.
20
29
  *
@@ -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-112`).
18
+ * It follows semantic versioning (e.g., `0.112.0-114`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/documents",
3
- "version": "0.112.0-113",
3
+ "version": "0.112.0-115",
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,
@@ -99,7 +99,7 @@
99
99
  "types": "./esm/src/_packages/documents.index.d.ts",
100
100
  "typings": "./esm/src/_packages/documents.index.d.ts",
101
101
  "peerDependencies": {
102
- "@promptbook/core": "0.112.0-113"
102
+ "@promptbook/core": "0.112.0-115"
103
103
  },
104
104
  "dependencies": {
105
105
  "colors": "1.4.0",
package/umd/index.umd.js CHANGED
@@ -24,7 +24,7 @@
24
24
  * @generated
25
25
  * @see https://github.com/webgptorg/promptbook
26
26
  */
27
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-113';
27
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-115';
28
28
  /**
29
29
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
30
30
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1,3 +1,4 @@
1
+ import type { Command as Program } from 'commander';
1
2
  import type { NormalizedPromptRunnerSelectionCliOptions, PromptRunnerSelectionCliOptions } from '../common/promptRunnerCliOptions';
2
3
  /**
3
4
  * Commander option bag shared by `ptbk agent` subcommands.
@@ -9,12 +10,20 @@ export type AgentCommandCliOptions = PromptRunnerSelectionCliOptions & {
9
10
  readonly context?: string;
10
11
  readonly message?: string;
11
12
  };
13
+ /**
14
+ * Normalized shared options used by local `ptbk agent` subcommands.
15
+ *
16
+ * @private internal utility of `ptbk agent`
17
+ */
18
+ export type NormalizedAgentCommandRunnerOptions = NormalizedPromptRunnerSelectionCliOptions & {
19
+ readonly isVerbose: boolean;
20
+ };
12
21
  /**
13
22
  * Normalizes shared runner flags for local agent subcommands.
14
23
  *
15
24
  * @private internal utility of `ptbk agent`
16
25
  */
17
- export declare function normalizeAgentCommandRunnerOptions(cliOptions: AgentCommandCliOptions): NormalizedPromptRunnerSelectionCliOptions;
26
+ export declare function normalizeAgentCommandRunnerOptions(cliOptions: AgentCommandCliOptions, command: Program): NormalizedAgentCommandRunnerOptions;
18
27
  /**
19
28
  * Returns the required agent book path from Commander options.
20
29
  *
@@ -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-112`).
18
+ * It follows semantic versioning (e.g., `0.112.0-114`).
19
19
  *
20
20
  * @generated
21
21
  */