@promptbook/cli 0.114.0-32 → 0.114.0-33
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 +183 -102
- package/esm/index.es.js.map +1 -1
- package/esm/scripts/run-codex-prompts/main/listCoderPrompts.d.ts +20 -0
- package/esm/src/cli/cli-commands/coder/list.d.ts +10 -0
- package/esm/src/cli/cli-commands/coder/list.test.d.ts +1 -0
- package/esm/src/cli/cli-commands/coder.d.ts +1 -0
- package/esm/src/cli/cli-commands/common/promptPriorityCliOptions.d.ts +7 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/cli/cli-commands/coder/list.ts +77 -0
- package/src/cli/cli-commands/coder/run.ts +2 -16
- package/src/cli/cli-commands/coder/server.ts +2 -16
- package/src/cli/cli-commands/coder.ts +4 -0
- package/src/cli/cli-commands/common/promptPriorityCliOptions.ts +30 -0
- package/src/cli/cli-commands/common/promptRunnerCliOptions.ts +5 -5
- package/src/other/templates/getTemplatesPipelineCollection.ts +896 -704
- package/src/version.ts +2 -2
- package/src/versions.txt +1 -0
- package/umd/index.umd.js +183 -102
- package/umd/index.umd.js.map +1 -1
- package/umd/scripts/run-codex-prompts/main/listCoderPrompts.d.ts +20 -0
- package/umd/src/cli/cli-commands/coder/list.d.ts +10 -0
- package/umd/src/cli/cli-commands/coder/list.test.d.ts +1 -0
- package/umd/src/cli/cli-commands/coder.d.ts +1 -0
- package/umd/src/cli/cli-commands/common/promptPriorityCliOptions.d.ts +7 -0
- package/umd/src/version.d.ts +1 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type PriorityFilterInput } from '../prompts/priorityFilter';
|
|
2
|
+
import type { PromptRunnerIdentity } from '../prompts/isPromptCompatibleWithRunner';
|
|
3
|
+
/**
|
|
4
|
+
* Options which select the ready prompts listed by `ptbk coder list`.
|
|
5
|
+
*
|
|
6
|
+
* @public exported from `@promptbook/cli`
|
|
7
|
+
*/
|
|
8
|
+
export type ListCoderPromptsOptions = PriorityFilterInput & {
|
|
9
|
+
/**
|
|
10
|
+
* Optional harness and model selection used to omit prompts routed to other runners.
|
|
11
|
+
*/
|
|
12
|
+
readonly promptRunnerIdentity?: PromptRunnerIdentity;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Lists ready, fully authored coding prompts in descending priority groups without starting a coding harness.
|
|
16
|
+
*
|
|
17
|
+
* @returns The number of prompts printed.
|
|
18
|
+
* @public exported from `@promptbook/cli`
|
|
19
|
+
*/
|
|
20
|
+
export declare function listCoderPrompts(options?: ListCoderPromptsOptions): Promise<number>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Command as Program } from 'commander';
|
|
2
|
+
import type { $side_effect } from '../../../utils/organization/$side_effect';
|
|
3
|
+
/**
|
|
4
|
+
* Initializes `coder list` command for Promptbook CLI utilities.
|
|
5
|
+
*
|
|
6
|
+
* Note: `$` is used to indicate that this function is not a pure function - it registers a command in the CLI.
|
|
7
|
+
*
|
|
8
|
+
* @private internal function of `promptbookCli`
|
|
9
|
+
*/
|
|
10
|
+
export declare function $initializeCoderListCommand(program: Program): $side_effect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -8,6 +8,7 @@ import type { $side_effect } from '../../utils/organization/$side_effect';
|
|
|
8
8
|
* - add: Add one ready-to-run prompt file to the queue
|
|
9
9
|
* - generate-boilerplates: Generate prompt boilerplate files
|
|
10
10
|
* - find-refactor-candidates: Find files that need refactoring
|
|
11
|
+
* - list: List ready prompts in priority order without running them
|
|
11
12
|
* - run: Run coding prompts with AI agents
|
|
12
13
|
* - ping: Test one harness and model with a tiny dummy prompt
|
|
13
14
|
* - verify: Verify completed prompts
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Command as Program } from 'commander';
|
|
2
|
+
/**
|
|
3
|
+
* Registers the shared prompt-priority filter options on a queue-based `ptbk coder` command.
|
|
4
|
+
*
|
|
5
|
+
* @private internal utility of `promptbookCli`
|
|
6
|
+
*/
|
|
7
|
+
export declare function addPromptPriorityOptions(command: Program): void;
|
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-32`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|