@promptbook/node 0.112.0-128 → 0.112.0-129

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.
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Default wait duration applied before retrying a prompt round after an error (10 minutes).
3
+ *
4
+ * @private internal constant of `ptbk coder` wait handling
5
+ */
6
+ export declare const DEFAULT_WAIT_AFTER_ERROR_MS: number;
7
+ /**
8
+ * Parses an optional Commander duration string and returns the resolved milliseconds.
9
+ *
10
+ * Returns `defaultMs` when the flag was not provided or was provided without a non-empty value.
11
+ *
12
+ * @private internal utility of `ptbk coder` wait handling
13
+ */
14
+ export declare function parseOptionalWaitDuration(value: string | undefined, defaultMs: number): number;
@@ -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-126`).
18
+ * It follows semantic versioning (e.g., `0.112.0-128`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/node",
3
- "version": "0.112.0-128",
3
+ "version": "0.112.0-129",
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,
@@ -97,7 +97,7 @@
97
97
  "types": "./esm/src/_packages/node.index.d.ts",
98
98
  "typings": "./esm/src/_packages/node.index.d.ts",
99
99
  "peerDependencies": {
100
- "@promptbook/core": "0.112.0-128"
100
+ "@promptbook/core": "0.112.0-129"
101
101
  },
102
102
  "dependencies": {
103
103
  "@mozilla/readability": "0.6.0",
package/umd/index.umd.js CHANGED
@@ -51,7 +51,7 @@
51
51
  * @generated
52
52
  * @see https://github.com/webgptorg/promptbook
53
53
  */
54
- const PROMPTBOOK_ENGINE_VERSION = '0.112.0-128';
54
+ const PROMPTBOOK_ENGINE_VERSION = '0.112.0-129';
55
55
  /**
56
56
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
57
57
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -30880,7 +30880,9 @@
30880
30880
  noUi: options.noUi,
30881
30881
  thinkingLevel: options.thinkingLevel,
30882
30882
  waitForUser: false,
30883
+ waitAfterPrompt: 0,
30883
30884
  waitBetweenPrompts: 0,
30885
+ waitAfterError: 0,
30884
30886
  noCommit: true,
30885
30887
  ignoreGitChanges: true,
30886
30888
  normalizeLineEndings: false,