@promptbook/core 0.114.0-23 → 0.114.0-25
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/README.md +2 -2
- package/esm/index.es.js +1 -1
- package/esm/src/book-3.0/cliAgentEnv.d.ts +3 -3
- package/esm/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +8 -2
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +1 -1
- package/umd/src/book-3.0/cliAgentEnv.d.ts +3 -3
- package/umd/src/cli/cli-commands/common/promptRunnerCliOptions.d.ts +8 -2
- package/umd/src/version.d.ts +1 -1
package/README.md
CHANGED
|
@@ -692,7 +692,7 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
|
|
|
692
692
|
|
|
693
693
|
#### Features
|
|
694
694
|
|
|
695
|
-
- **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
|
|
695
|
+
- **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`, `qwen-code`
|
|
696
696
|
- **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
|
|
697
697
|
- **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
|
|
698
698
|
- **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
|
|
@@ -769,7 +769,7 @@ ptbk coder verify
|
|
|
769
769
|
| Flag | Purpose |
|
|
770
770
|
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
771
771
|
| `--harness <name>` | Selects the coding harness. |
|
|
772
|
-
| `--model <model>` | Chooses the runner model; required for `openai-codex` and `
|
|
772
|
+
| `--model <model>` | Chooses the runner model; required for `openai-codex`, `gemini` and `qwen-code`, optional for `github-copilot`. |
|
|
773
773
|
| `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
|
|
774
774
|
| `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
|
|
775
775
|
| `--test-before <mode>` | Runs tests before coding: `no` (default), `yes-and-fail` (stop with results), or `yes-and-fix` (create one repair prompt first); defaults to `npm test` when enabled without `--test`. |
|
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.114.0-
|
|
29
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.114.0-25';
|
|
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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @public exported from `@promptbook/node`
|
|
5
5
|
*/
|
|
6
|
-
export declare const CLI_AGENT_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini"];
|
|
6
|
+
export declare const CLI_AGENT_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini", "qwen-code"];
|
|
7
7
|
/**
|
|
8
8
|
* All supported thinking-level values for CLI coding-agent runners.
|
|
9
9
|
*
|
|
@@ -13,8 +13,8 @@ export declare const CLI_AGENT_THINKING_LEVEL_VALUES: readonly ["low", "medium",
|
|
|
13
13
|
/**
|
|
14
14
|
* Environment variable used as the default runner identifier when `--harness` is omitted or not set in `CliAgent`.
|
|
15
15
|
*
|
|
16
|
-
* Set this to one of the harness names (`openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini
|
|
17
|
-
* so that `CliAgent` and `ptbk agent exec` can run without an explicit `harness` option.
|
|
16
|
+
* Set this to one of the harness names (`openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`,
|
|
17
|
+
* `qwen-code`) so that `CliAgent` and `ptbk agent exec` can run without an explicit `harness` option.
|
|
18
18
|
*
|
|
19
19
|
* @public exported from `@promptbook/node`
|
|
20
20
|
*/
|
|
@@ -8,7 +8,7 @@ export { PTBK_HARNESS_ENV, PTBK_MODEL_ENV, PTBK_THINKING_LEVEL_ENV };
|
|
|
8
8
|
*
|
|
9
9
|
* @private internal utility of `promptbookCli`
|
|
10
10
|
*/
|
|
11
|
-
export declare const PROMPT_RUNNER_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini"];
|
|
11
|
+
export declare const PROMPT_RUNNER_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini", "qwen-code"];
|
|
12
12
|
/**
|
|
13
13
|
* Runner identifier supported by Promptbook CLI agent orchestration commands.
|
|
14
14
|
*
|
|
@@ -72,7 +72,13 @@ export declare const PROMPT_RUNNER_DESCRIPTION: string;
|
|
|
72
72
|
*
|
|
73
73
|
* @private internal utility of `promptbookCli`
|
|
74
74
|
*/
|
|
75
|
-
export declare const PROMPT_RUNNER_HARNESS_OPTION_DESCRIPTION
|
|
75
|
+
export declare const PROMPT_RUNNER_HARNESS_OPTION_DESCRIPTION: string;
|
|
76
|
+
/**
|
|
77
|
+
* Runner harness names listed as alternatives of the `--harness` option in error messages.
|
|
78
|
+
*
|
|
79
|
+
* @private internal utility of `promptbookCli`
|
|
80
|
+
*/
|
|
81
|
+
export declare const PROMPT_RUNNER_HARNESS_OPTION_HINT: string;
|
|
76
82
|
/**
|
|
77
83
|
* Commander description for the `--model` option.
|
|
78
84
|
*
|
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.114.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.114.0-24`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|
package/package.json
CHANGED
package/umd/index.umd.js
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* @generated
|
|
29
29
|
* @see https://github.com/webgptorg/promptbook
|
|
30
30
|
*/
|
|
31
|
-
const PROMPTBOOK_ENGINE_VERSION = '0.114.0-
|
|
31
|
+
const PROMPTBOOK_ENGINE_VERSION = '0.114.0-25';
|
|
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
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @public exported from `@promptbook/node`
|
|
5
5
|
*/
|
|
6
|
-
export declare const CLI_AGENT_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini"];
|
|
6
|
+
export declare const CLI_AGENT_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini", "qwen-code"];
|
|
7
7
|
/**
|
|
8
8
|
* All supported thinking-level values for CLI coding-agent runners.
|
|
9
9
|
*
|
|
@@ -13,8 +13,8 @@ export declare const CLI_AGENT_THINKING_LEVEL_VALUES: readonly ["low", "medium",
|
|
|
13
13
|
/**
|
|
14
14
|
* Environment variable used as the default runner identifier when `--harness` is omitted or not set in `CliAgent`.
|
|
15
15
|
*
|
|
16
|
-
* Set this to one of the harness names (`openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini
|
|
17
|
-
* so that `CliAgent` and `ptbk agent exec` can run without an explicit `harness` option.
|
|
16
|
+
* Set this to one of the harness names (`openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`,
|
|
17
|
+
* `qwen-code`) so that `CliAgent` and `ptbk agent exec` can run without an explicit `harness` option.
|
|
18
18
|
*
|
|
19
19
|
* @public exported from `@promptbook/node`
|
|
20
20
|
*/
|
|
@@ -8,7 +8,7 @@ export { PTBK_HARNESS_ENV, PTBK_MODEL_ENV, PTBK_THINKING_LEVEL_ENV };
|
|
|
8
8
|
*
|
|
9
9
|
* @private internal utility of `promptbookCli`
|
|
10
10
|
*/
|
|
11
|
-
export declare const PROMPT_RUNNER_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini"];
|
|
11
|
+
export declare const PROMPT_RUNNER_HARNESS_NAMES: readonly ["openai-codex", "github-copilot", "cline", "claude-code", "opencode", "gemini", "qwen-code"];
|
|
12
12
|
/**
|
|
13
13
|
* Runner identifier supported by Promptbook CLI agent orchestration commands.
|
|
14
14
|
*
|
|
@@ -72,7 +72,13 @@ export declare const PROMPT_RUNNER_DESCRIPTION: string;
|
|
|
72
72
|
*
|
|
73
73
|
* @private internal utility of `promptbookCli`
|
|
74
74
|
*/
|
|
75
|
-
export declare const PROMPT_RUNNER_HARNESS_OPTION_DESCRIPTION
|
|
75
|
+
export declare const PROMPT_RUNNER_HARNESS_OPTION_DESCRIPTION: string;
|
|
76
|
+
/**
|
|
77
|
+
* Runner harness names listed as alternatives of the `--harness` option in error messages.
|
|
78
|
+
*
|
|
79
|
+
* @private internal utility of `promptbookCli`
|
|
80
|
+
*/
|
|
81
|
+
export declare const PROMPT_RUNNER_HARNESS_OPTION_HINT: string;
|
|
76
82
|
/**
|
|
77
83
|
* Commander description for the `--model` option.
|
|
78
84
|
*
|
package/umd/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.114.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.114.0-24`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|