@promptbook/google 0.114.0-49 → 0.114.0-50

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.
Files changed (32) hide show
  1. package/README.md +3 -3
  2. package/esm/index.es.js +1 -1
  3. package/esm/src/cli/cli-commands/coder/add.d.ts +7 -2
  4. package/esm/src/cli/cli-commands/coder/ensureCoderGitattributesFile.d.ts +13 -0
  5. package/esm/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +1 -1
  6. package/esm/src/cli/cli-commands/coder/fix.d.ts +7 -0
  7. package/esm/src/cli/cli-commands/coder/fix.test.d.ts +1 -0
  8. package/esm/src/cli/cli-commands/coder/fixWorkflow.test.d.ts +1 -0
  9. package/esm/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +1 -0
  10. package/esm/src/cli/cli-commands/coder.d.ts +1 -0
  11. package/esm/src/cli/cli-commands/common/coderCheckCliOptions.d.ts +1 -1
  12. package/esm/src/cli/cli-commands/common/ensureProjectTextFile.d.ts +7 -0
  13. package/esm/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +3 -1
  14. package/esm/src/cli/cli-commands/common/validateCoderRunOptions.d.ts +1 -1
  15. package/esm/src/cli/cli-commands/common/workspaceRepository.d.ts +12 -0
  16. package/esm/src/version.d.ts +1 -1
  17. package/package.json +2 -2
  18. package/umd/index.umd.js +1 -1
  19. package/umd/src/cli/cli-commands/coder/add.d.ts +7 -2
  20. package/umd/src/cli/cli-commands/coder/ensureCoderGitattributesFile.d.ts +13 -0
  21. package/umd/src/cli/cli-commands/coder/ensureCoderGitignoreFile.d.ts +1 -1
  22. package/umd/src/cli/cli-commands/coder/fix.d.ts +7 -0
  23. package/umd/src/cli/cli-commands/coder/fix.test.d.ts +1 -0
  24. package/umd/src/cli/cli-commands/coder/fixWorkflow.test.d.ts +1 -0
  25. package/umd/src/cli/cli-commands/coder/initializeCoderProjectConfiguration.d.ts +1 -0
  26. package/umd/src/cli/cli-commands/coder.d.ts +1 -0
  27. package/umd/src/cli/cli-commands/common/coderCheckCliOptions.d.ts +1 -1
  28. package/umd/src/cli/cli-commands/common/ensureProjectTextFile.d.ts +7 -0
  29. package/umd/src/cli/cli-commands/common/harness/$ensureHarnessInstallations.d.ts +3 -1
  30. package/umd/src/cli/cli-commands/common/validateCoderRunOptions.d.ts +1 -1
  31. package/umd/src/cli/cli-commands/common/workspaceRepository.d.ts +12 -0
  32. package/umd/src/version.d.ts +1 -1
package/README.md CHANGED
@@ -610,7 +610,7 @@ In short: tools like Claude Code, Codex, or GitHub Copilot are the **engines**;
610
610
 
611
611
  #### How the workflow works
612
612
 
613
- 1. `ptbk coder init` prepares the project for the coder workflow, seeds project-owned generic templates in `prompts/templates/`, creates a starter `AGENTS.md` context file, adds helper `npm run coder:*` scripts, ensures `.gitignore` ignores `/.promptbook`, and configures VS Code prompt screenshots in `prompts/screenshots/`.
613
+ 1. `ptbk coder init` prepares the project for the coder workflow, seeds project-owned generic templates in `prompts/templates/`, creates a starter `AGENTS.md` context file, adds helper `npm run coder:*` scripts, ensures `.gitignore` ignores `node_modules` and `/.promptbook`, creates missing `.gitattributes` for LF line endings, and configures VS Code prompt screenshots in `prompts/screenshots/`.
614
614
  2. `ptbk coder generate-boilerplates` creates prompt files in `prompts/`.
615
615
  3. You replace placeholder `@@@` sections with real coding tasks.
616
616
  4. `ptbk coder run` sends the next ready `[ ]` prompt to the selected coding agent and immediately marks it as in progress `[^]`, naming the harness, the model and the step which is running.
@@ -681,13 +681,13 @@ ptbk coder find-refactor-candidates --level xhigh
681
681
  ptbk coder verify
682
682
  ```
683
683
 
684
- `ptbk coder init` also bootstraps a starter `AGENTS.md`, adds `package.json` scripts for the four main coder commands, adds the shared `/.promptbook` temp ignore to `.gitignore`, and configures `.vscode/settings.json` so pasted images from `prompts/*.md` land in `prompts/screenshots/`.
684
+ `ptbk coder init` also bootstraps a starter `AGENTS.md`, adds `package.json` scripts for the four main coder commands, adds `node_modules` and the shared `/.promptbook` temp ignore to `.gitignore`, and configures `.vscode/settings.json` so pasted images from `prompts/*.md` land in `prompts/screenshots/`. It creates a missing `.gitattributes` with `* text=auto eol=lf` and preserves existing attributes.
685
685
 
686
686
  #### What each command does
687
687
 
688
688
  | Command | What it does |
689
689
  | ------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ---- | ----- | ------------------------------------------------------------------------ |
690
- | `ptbk coder init` | Creates `prompts/`, `prompts/done/`, the project-generic template files materialized in `prompts/templates/` (currently `common.md`), and a starter `AGENTS.md`; ensures `.env` contains `CODING_AGENT_GIT_NAME`, `CODING_AGENT_GIT_EMAIL`, and `CODING_AGENT_GIT_SIGNING_KEY`; adds helper coder scripts to `package.json`; ensures `.gitignore` contains `/.promptbook`; and configures `.vscode/settings.json` to save pasted prompt images into `prompts/screenshots/`. |
690
+ | `ptbk coder init` | Creates `prompts/`, `prompts/done/`, the project-generic template files materialized in `prompts/templates/` (currently `common.md`), and a starter `AGENTS.md`; ensures `.env` contains `CODING_AGENT_GIT_NAME`, `CODING_AGENT_GIT_EMAIL`, and `CODING_AGENT_GIT_SIGNING_KEY`; adds helper coder scripts to `package.json`; ensures `.gitignore` contains `node_modules` and `/.promptbook`; creates missing `.gitattributes` with `* text=auto eol=lf`; and configures `.vscode/settings.json` to save pasted prompt images into `prompts/screenshots/`. |
691
691
  | `ptbk coder generate-boilerplates` | Creates new prompt markdown files with fresh emoji tags so you can quickly fill in coding tasks; `--template` accepts either a built-in alias or a markdown file path relative to the project root. |
692
692
  | `ptbk coder run` | Picks the next ready prompt, can run project checks before coding to stop or repair pre-existing failures, appends optional context, runs it through the selected coding agent, can optionally check each attempt with the project command and feed failing output back for retries, then marks success or failure, commits the result, and pushes only when `--auto-push` is enabled. |
693
693
  | `ptbk coder find-refactor-candidates` | Scans the repository for oversized or overpacked files and writes prompt files for likely refactors; `--level <xlow | low | medium | high | xhigh | extreme>` ranges from a very benevolent scan to a very aggressive sweep. |
package/esm/index.es.js CHANGED
@@ -16,7 +16,7 @@ const BOOK_LANGUAGE_VERSION = '2.0.0';
16
16
  * @generated
17
17
  * @see https://github.com/webgptorg/promptbook
18
18
  */
19
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-49';
19
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-50';
20
20
  /**
21
21
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
22
22
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1,5 +1,6 @@
1
1
  import type { Command as Program } from 'commander';
2
2
  import type { $side_effect } from '../../../utils/organization/$side_effect';
3
+ import { type ResolvedCoderPromptTemplate } from './boilerplateTemplates';
3
4
  /**
4
5
  * Initializes `coder add` command for Promptbook CLI utilities
5
6
  *
@@ -28,11 +29,13 @@ export type AddCoderPromptResult = {
28
29
  *
29
30
  * @private internal utility of `coder add` command
30
31
  */
31
- export declare function addCoderPrompt({ projectPath, description, priority, templateOption, }: {
32
+ export declare function addCoderPrompt({ projectPath, description, priority, templateOption, promptTemplate, }: {
32
33
  readonly projectPath: string;
33
34
  readonly description: string;
34
35
  readonly priority: number;
35
36
  readonly templateOption?: string;
37
+ /** Internal authoring workflows may supply their own bounded instructions instead of the feature template. */
38
+ readonly promptTemplate?: ResolvedCoderPromptTemplate;
36
39
  }): Promise<AddCoderPromptResult>;
37
40
  /**
38
41
  * Prepares a numbered, emoji-tagged prompt for preview without writing the prompt file.
@@ -40,13 +43,15 @@ export declare function addCoderPrompt({ projectPath, description, priority, tem
40
43
  *
41
44
  * @private internal utility shared by `coder add` and `coder plan`
42
45
  */
43
- export declare function prepareCoderPrompt({ projectPath, description, priority, templateOption, numberOffset, reservedEmojiTag, }: {
46
+ export declare function prepareCoderPrompt({ projectPath, description, priority, templateOption, numberOffset, reservedEmojiTag, promptTemplate: providedPromptTemplate, }: {
44
47
  readonly projectPath: string;
45
48
  readonly description: string;
46
49
  readonly priority: number;
47
50
  readonly templateOption?: string;
48
51
  readonly numberOffset?: number;
49
52
  readonly reservedEmojiTag?: string;
53
+ /** Shared repair authoring preserves numbering and tags without appending ordinary implementation instructions. */
54
+ readonly promptTemplate?: ResolvedCoderPromptTemplate;
50
55
  }): Promise<AddCoderPromptResult & {
51
56
  readonly content: string;
52
57
  }>;
@@ -0,0 +1,13 @@
1
+ import type { InitializationStatus } from './boilerplateTemplates';
2
+ /**
3
+ * Project-relative path to the Git attributes initialized by Promptbook Coder.
4
+ *
5
+ * @private internal constant of `coder init`
6
+ */
7
+ export declare const CODER_GITATTRIBUTES_FILE_PATH = ".gitattributes";
8
+ /**
9
+ * Creates default Git attributes when missing, preserving project-owned attributes.
10
+ *
11
+ * @private function of `initializeCoderProjectConfiguration`
12
+ */
13
+ export declare function ensureCoderGitattributesFile(projectPath: string): Promise<InitializationStatus>;
@@ -1,7 +1,7 @@
1
1
  import { type PromptRunnerHarnessName } from '../common/promptRunnerCliOptions';
2
2
  import type { InitializationStatus } from './boilerplateTemplates';
3
3
  /**
4
- * Ensures `.gitignore` contains Promptbook Coder's local artifacts and every supported harness's local artifacts.
4
+ * Ensures `.gitignore` covers local dependencies, coder artifacts and every supported harness's local artifacts.
5
5
  *
6
6
  * @private function of `initializeCoderProjectConfiguration`
7
7
  */
@@ -0,0 +1,7 @@
1
+ import type { Command as Program } from 'commander';
2
+ import type { $side_effect } from '../../../utils/organization/$side_effect';
3
+ /**
4
+ * Registers a finite check-repair command with the shared parser, defaults and execution policy.
5
+ * @private internal CLI command registration
6
+ */
7
+ export declare function $initializeCoderFixCommand(program: Program): $side_effect;
@@ -0,0 +1 @@
1
+ export {};
@@ -15,6 +15,7 @@ export type CoderInitializationSummary = {
15
15
  readonly adamAgentFileDiagnostic?: string;
16
16
  readonly envFileStatus: InitializationStatus;
17
17
  readonly gitignoreFileStatus: InitializationStatus;
18
+ readonly gitattributesFileStatus: InitializationStatus;
18
19
  readonly packageJsonFileStatus: InitializationStatus;
19
20
  readonly vscodeSettingsFileStatus: InitializationStatus;
20
21
  readonly addedPackageJsonScriptNames: ReadonlyArray<string>;
@@ -11,6 +11,7 @@ import type { $side_effect } from '../../utils/organization/$side_effect';
11
11
  * - find-refactor-candidates: Find files that need refactoring
12
12
  * - list: List ready prompts in priority order without running them
13
13
  * - run: Run coding prompts with AI agents
14
+ * - fix: Check and repair the project, then exit without processing the queue
14
15
  * - ping: Test one harness and model with a tiny dummy prompt
15
16
  * - verify: Verify completed prompts
16
17
  * - find-fresh-emoji-tags: Find unused emoji tags
@@ -8,7 +8,7 @@ export declare const LEGACY_CODER_CHECK_OPTIONS: readonly [readonly ["--test", "
8
8
  * Registers the shared project check command and rejects retired aggregate-test spellings.
9
9
  * @private shared CLI registration for Coder execution
10
10
  */
11
- export declare function addCoderCheckOptions(command: Command, isCheckBeforeSupported: boolean): void;
11
+ export declare function addCoderCheckOptions(command: Command, isCheckBeforeSupported: boolean, description?: string): void;
12
12
  /**
13
13
  * Builds the same actionable migration diagnostic for registered and direct-script entrypoints.
14
14
  * @private shared CLI diagnostic for Coder execution
@@ -0,0 +1,7 @@
1
+ import type { ProjectInitializationStatus } from './projectInitialization';
2
+ /**
3
+ * Creates one project text file with default content, preserving any existing file.
4
+ *
5
+ * @private internal utility of Promptbook CLI project initialization
6
+ */
7
+ export declare function ensureProjectTextFile(projectPath: string, relativeFilePath: string, fileContent: string): Promise<ProjectInitializationStatus>;
@@ -11,4 +11,6 @@ import type { NormalizedQuestionsCliOptions } from '../questionsCliOptions';
11
11
  *
12
12
  * @private internal utility of `promptbookCli`
13
13
  */
14
- export declare function $ensureHarnessInstallations(harnessNames: ReadonlyArray<PromptRunnerHarnessName | undefined>, questionsOptions: NormalizedQuestionsCliOptions): Promise<void>;
14
+ export declare function $ensureHarnessInstallations(harnessNames: ReadonlyArray<PromptRunnerHarnessName | undefined>, questionsOptions: NormalizedQuestionsCliOptions, options?: {
15
+ readonly isRequired?: boolean;
16
+ }): Promise<void>;
@@ -3,4 +3,4 @@ import type { RunOptions } from '../../../../scripts/run-codex-prompts/cli/RunOp
3
3
  * Validates cross-flag constraints before workspace setup or the run starts.
4
4
  * @private shared validation for Coder execution commands
5
5
  */
6
- export declare function validateCoderRunOptions(options: RunOptions): void;
6
+ export declare function validateCoderRunOptions(options: Pick<RunOptions, 'checkCommand' | 'checkBefore' | 'allowDestructiveAutoMigrate' | 'autoMigrate' | 'noCommit' | 'waitForUser' | 'gitChanges' | 'autoPull' | 'dryRun' | 'isIsolated' | 'limit'>): void;
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import type { NormalizedQuestionsCliOptions } from './questionsCliOptions';
2
4
  /**
3
5
  * Resolved project directory and its enclosing working tree. Project artifacts belong to `projectPath`;
@@ -34,3 +36,13 @@ export declare function $preflightWorkspaceRepository(options: {
34
36
  readonly projectDirectory?: string;
35
37
  readonly policy: WorkspaceRepositoryPolicy;
36
38
  } & Partial<NormalizedQuestionsCliOptions>): Promise<WorkspaceRepositoryContext>;
39
+ /**
40
+ * Executes Git without a shell, optional index locks, or credential prompts, retaining raw output boundaries.
41
+ * Drains both output streams without execFile's fixed buffer limit so large repository listings remain complete.
42
+ * @private shared Git discovery and commit-scope inspection
43
+ */
44
+ export declare function $runWorkspaceGit(projectPath: string, argumentsList: ReadonlyArray<string>, options?: {
45
+ readonly env?: Record<string, string>;
46
+ readonly signal?: AbortSignal;
47
+ readonly input?: string | Buffer;
48
+ }): Promise<string>;
@@ -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-48`).
18
+ * It follows semantic versioning (e.g., `0.114.0-49`).
19
19
  *
20
20
  * @generated
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@promptbook/google",
3
- "version": "0.114.0-49",
3
+ "version": "0.114.0-50",
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,7 +96,7 @@
96
96
  "types": "./esm/src/_packages/google.index.d.ts",
97
97
  "typings": "./esm/src/_packages/google.index.d.ts",
98
98
  "peerDependencies": {
99
- "@promptbook/core": "0.114.0-49"
99
+ "@promptbook/core": "0.114.0-50"
100
100
  },
101
101
  "dependencies": {
102
102
  "@ai-sdk/google": "2.0.97",
package/umd/index.umd.js CHANGED
@@ -23,7 +23,7 @@
23
23
  * @generated
24
24
  * @see https://github.com/webgptorg/promptbook
25
25
  */
26
- const PROMPTBOOK_ENGINE_VERSION = '0.114.0-49';
26
+ const PROMPTBOOK_ENGINE_VERSION = '0.114.0-50';
27
27
  /**
28
28
  * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine
29
29
  * Note: [💞] Ignore a discrepancy between file name and entity name
@@ -1,5 +1,6 @@
1
1
  import type { Command as Program } from 'commander';
2
2
  import type { $side_effect } from '../../../utils/organization/$side_effect';
3
+ import { type ResolvedCoderPromptTemplate } from './boilerplateTemplates';
3
4
  /**
4
5
  * Initializes `coder add` command for Promptbook CLI utilities
5
6
  *
@@ -28,11 +29,13 @@ export type AddCoderPromptResult = {
28
29
  *
29
30
  * @private internal utility of `coder add` command
30
31
  */
31
- export declare function addCoderPrompt({ projectPath, description, priority, templateOption, }: {
32
+ export declare function addCoderPrompt({ projectPath, description, priority, templateOption, promptTemplate, }: {
32
33
  readonly projectPath: string;
33
34
  readonly description: string;
34
35
  readonly priority: number;
35
36
  readonly templateOption?: string;
37
+ /** Internal authoring workflows may supply their own bounded instructions instead of the feature template. */
38
+ readonly promptTemplate?: ResolvedCoderPromptTemplate;
36
39
  }): Promise<AddCoderPromptResult>;
37
40
  /**
38
41
  * Prepares a numbered, emoji-tagged prompt for preview without writing the prompt file.
@@ -40,13 +43,15 @@ export declare function addCoderPrompt({ projectPath, description, priority, tem
40
43
  *
41
44
  * @private internal utility shared by `coder add` and `coder plan`
42
45
  */
43
- export declare function prepareCoderPrompt({ projectPath, description, priority, templateOption, numberOffset, reservedEmojiTag, }: {
46
+ export declare function prepareCoderPrompt({ projectPath, description, priority, templateOption, numberOffset, reservedEmojiTag, promptTemplate: providedPromptTemplate, }: {
44
47
  readonly projectPath: string;
45
48
  readonly description: string;
46
49
  readonly priority: number;
47
50
  readonly templateOption?: string;
48
51
  readonly numberOffset?: number;
49
52
  readonly reservedEmojiTag?: string;
53
+ /** Shared repair authoring preserves numbering and tags without appending ordinary implementation instructions. */
54
+ readonly promptTemplate?: ResolvedCoderPromptTemplate;
50
55
  }): Promise<AddCoderPromptResult & {
51
56
  readonly content: string;
52
57
  }>;
@@ -0,0 +1,13 @@
1
+ import type { InitializationStatus } from './boilerplateTemplates';
2
+ /**
3
+ * Project-relative path to the Git attributes initialized by Promptbook Coder.
4
+ *
5
+ * @private internal constant of `coder init`
6
+ */
7
+ export declare const CODER_GITATTRIBUTES_FILE_PATH = ".gitattributes";
8
+ /**
9
+ * Creates default Git attributes when missing, preserving project-owned attributes.
10
+ *
11
+ * @private function of `initializeCoderProjectConfiguration`
12
+ */
13
+ export declare function ensureCoderGitattributesFile(projectPath: string): Promise<InitializationStatus>;
@@ -1,7 +1,7 @@
1
1
  import { type PromptRunnerHarnessName } from '../common/promptRunnerCliOptions';
2
2
  import type { InitializationStatus } from './boilerplateTemplates';
3
3
  /**
4
- * Ensures `.gitignore` contains Promptbook Coder's local artifacts and every supported harness's local artifacts.
4
+ * Ensures `.gitignore` covers local dependencies, coder artifacts and every supported harness's local artifacts.
5
5
  *
6
6
  * @private function of `initializeCoderProjectConfiguration`
7
7
  */
@@ -0,0 +1,7 @@
1
+ import type { Command as Program } from 'commander';
2
+ import type { $side_effect } from '../../../utils/organization/$side_effect';
3
+ /**
4
+ * Registers a finite check-repair command with the shared parser, defaults and execution policy.
5
+ * @private internal CLI command registration
6
+ */
7
+ export declare function $initializeCoderFixCommand(program: Program): $side_effect;
@@ -0,0 +1 @@
1
+ export {};
@@ -15,6 +15,7 @@ export type CoderInitializationSummary = {
15
15
  readonly adamAgentFileDiagnostic?: string;
16
16
  readonly envFileStatus: InitializationStatus;
17
17
  readonly gitignoreFileStatus: InitializationStatus;
18
+ readonly gitattributesFileStatus: InitializationStatus;
18
19
  readonly packageJsonFileStatus: InitializationStatus;
19
20
  readonly vscodeSettingsFileStatus: InitializationStatus;
20
21
  readonly addedPackageJsonScriptNames: ReadonlyArray<string>;
@@ -11,6 +11,7 @@ import type { $side_effect } from '../../utils/organization/$side_effect';
11
11
  * - find-refactor-candidates: Find files that need refactoring
12
12
  * - list: List ready prompts in priority order without running them
13
13
  * - run: Run coding prompts with AI agents
14
+ * - fix: Check and repair the project, then exit without processing the queue
14
15
  * - ping: Test one harness and model with a tiny dummy prompt
15
16
  * - verify: Verify completed prompts
16
17
  * - find-fresh-emoji-tags: Find unused emoji tags
@@ -8,7 +8,7 @@ export declare const LEGACY_CODER_CHECK_OPTIONS: readonly [readonly ["--test", "
8
8
  * Registers the shared project check command and rejects retired aggregate-test spellings.
9
9
  * @private shared CLI registration for Coder execution
10
10
  */
11
- export declare function addCoderCheckOptions(command: Command, isCheckBeforeSupported: boolean): void;
11
+ export declare function addCoderCheckOptions(command: Command, isCheckBeforeSupported: boolean, description?: string): void;
12
12
  /**
13
13
  * Builds the same actionable migration diagnostic for registered and direct-script entrypoints.
14
14
  * @private shared CLI diagnostic for Coder execution
@@ -0,0 +1,7 @@
1
+ import type { ProjectInitializationStatus } from './projectInitialization';
2
+ /**
3
+ * Creates one project text file with default content, preserving any existing file.
4
+ *
5
+ * @private internal utility of Promptbook CLI project initialization
6
+ */
7
+ export declare function ensureProjectTextFile(projectPath: string, relativeFilePath: string, fileContent: string): Promise<ProjectInitializationStatus>;
@@ -11,4 +11,6 @@ import type { NormalizedQuestionsCliOptions } from '../questionsCliOptions';
11
11
  *
12
12
  * @private internal utility of `promptbookCli`
13
13
  */
14
- export declare function $ensureHarnessInstallations(harnessNames: ReadonlyArray<PromptRunnerHarnessName | undefined>, questionsOptions: NormalizedQuestionsCliOptions): Promise<void>;
14
+ export declare function $ensureHarnessInstallations(harnessNames: ReadonlyArray<PromptRunnerHarnessName | undefined>, questionsOptions: NormalizedQuestionsCliOptions, options?: {
15
+ readonly isRequired?: boolean;
16
+ }): Promise<void>;
@@ -3,4 +3,4 @@ import type { RunOptions } from '../../../../scripts/run-codex-prompts/cli/RunOp
3
3
  * Validates cross-flag constraints before workspace setup or the run starts.
4
4
  * @private shared validation for Coder execution commands
5
5
  */
6
- export declare function validateCoderRunOptions(options: RunOptions): void;
6
+ export declare function validateCoderRunOptions(options: Pick<RunOptions, 'checkCommand' | 'checkBefore' | 'allowDestructiveAutoMigrate' | 'autoMigrate' | 'noCommit' | 'waitForUser' | 'gitChanges' | 'autoPull' | 'dryRun' | 'isIsolated' | 'limit'>): void;
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import type { NormalizedQuestionsCliOptions } from './questionsCliOptions';
2
4
  /**
3
5
  * Resolved project directory and its enclosing working tree. Project artifacts belong to `projectPath`;
@@ -34,3 +36,13 @@ export declare function $preflightWorkspaceRepository(options: {
34
36
  readonly projectDirectory?: string;
35
37
  readonly policy: WorkspaceRepositoryPolicy;
36
38
  } & Partial<NormalizedQuestionsCliOptions>): Promise<WorkspaceRepositoryContext>;
39
+ /**
40
+ * Executes Git without a shell, optional index locks, or credential prompts, retaining raw output boundaries.
41
+ * Drains both output streams without execFile's fixed buffer limit so large repository listings remain complete.
42
+ * @private shared Git discovery and commit-scope inspection
43
+ */
44
+ export declare function $runWorkspaceGit(projectPath: string, argumentsList: ReadonlyArray<string>, options?: {
45
+ readonly env?: Record<string, string>;
46
+ readonly signal?: AbortSignal;
47
+ readonly input?: string | Buffer;
48
+ }): Promise<string>;
@@ -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-48`).
18
+ * It follows semantic versioning (e.g., `0.114.0-49`).
19
19
  *
20
20
  * @generated
21
21
  */