@promptbook/core 0.112.0-113 → 0.112.0-114

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
@@ -28,7 +28,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
28
28
  * @generated
29
29
  * @see https://github.com/webgptorg/promptbook
30
30
  */
31
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-113';
31
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-114';
32
32
  /**
33
33
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
34
34
  * 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-113`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/core",
3
- "version": "0.112.0-113",
3
+ "version": "0.112.0-114",
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,
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.112.0-113';
30
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-114';
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
@@ -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-113`).
19
19
  *
20
20
  * @generated
21
21
  */