@promptbook/types 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/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 +2 -2
- 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
|
@@ -674,7 +674,7 @@ Prompts marked with `[-]` are not ready yet, prompts containing `@@@` are treate
|
|
|
674
674
|
|
|
675
675
|
#### Features
|
|
676
676
|
|
|
677
|
-
- **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`
|
|
677
|
+
- **Multi-runner execution:** `openai-codex`, `github-copilot`, `cline`, `claude-code`, `opencode`, `gemini`, `qwen-code`
|
|
678
678
|
- **Context injection:** `--agent agents/coding/developer.book --context AGENTS.md` or inline extra instructions
|
|
679
679
|
- **Reasoning control:** `--thinking-level low|medium|high|xhigh` for supported runners
|
|
680
680
|
- **Unattended or interactive runs:** default auto mode, or `--no-auto` to wait for user confirmation before each prompt
|
|
@@ -751,7 +751,7 @@ ptbk coder verify
|
|
|
751
751
|
| Flag | Purpose |
|
|
752
752
|
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
753
753
|
| `--harness <name>` | Selects the coding harness. |
|
|
754
|
-
| `--model <model>` | Chooses the runner model; required for `openai-codex` and `
|
|
754
|
+
| `--model <model>` | Chooses the runner model; required for `openai-codex`, `gemini` and `qwen-code`, optional for `github-copilot`. |
|
|
755
755
|
| `--context <text-or-file>` | Appends extra instructions inline or from a file like `AGENTS.md`. |
|
|
756
756
|
| `--test <command>` | Runs a verification command after each prompt attempt and feeds failing output back for retries. |
|
|
757
757
|
| `--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`. |
|
|
@@ -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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@promptbook/types",
|
|
3
|
-
"version": "0.114.0-
|
|
3
|
+
"version": "0.114.0-25",
|
|
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,
|
|
@@ -96,6 +96,6 @@
|
|
|
96
96
|
"types": "./esm/src/_packages/types.index.d.ts",
|
|
97
97
|
"typings": "./esm/src/_packages/types.index.d.ts",
|
|
98
98
|
"peerDependencies": {
|
|
99
|
-
"@promptbook/core": "0.114.0-
|
|
99
|
+
"@promptbook/core": "0.114.0-25"
|
|
100
100
|
}
|
|
101
101
|
}
|
|
@@ -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
|
*/
|