@promptbook/cli 0.112.0-45 → 0.112.0-46
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 +221 -61
- package/esm/index.es.js.map +1 -1
- package/esm/scripts/run-codex-prompts/git/commitChanges.d.ts +3 -1
- package/esm/scripts/run-codex-prompts/ui/coderRunUiRefresh.d.ts +17 -0
- package/esm/scripts/run-codex-prompts/ui/renderCoderRunUi.d.ts +4 -3
- package/esm/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
- package/esm/src/avatars/visuals/avatarVisualRegistry.test.d.ts +1 -0
- package/esm/src/avatars/visuals/fractalAvatarVisual.d.ts +7 -0
- package/esm/src/avatars/visuals/octopus2AvatarVisual.d.ts +7 -0
- package/esm/src/version.d.ts +1 -1
- package/package.json +1 -1
- package/umd/index.umd.js +221 -61
- package/umd/index.umd.js.map +1 -1
- package/umd/scripts/run-codex-prompts/git/commitChanges.d.ts +3 -1
- package/umd/scripts/run-codex-prompts/ui/coderRunUiRefresh.d.ts +17 -0
- package/umd/scripts/run-codex-prompts/ui/renderCoderRunUi.d.ts +4 -3
- package/umd/src/avatars/types/AvatarVisualDefinition.d.ts +1 -1
- package/umd/src/avatars/visuals/avatarVisualRegistry.test.d.ts +1 -0
- package/umd/src/avatars/visuals/fractalAvatarVisual.d.ts +7 -0
- package/umd/src/avatars/visuals/octopus2AvatarVisual.d.ts +7 -0
- package/umd/src/version.d.ts +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Commits staged changes with the provided message using the dedicated coding-agent identity when configured,
|
|
3
|
-
* otherwise falls back to the default Git configuration. Remote pushing is opt-in via `options.autoPush
|
|
3
|
+
* otherwise falls back to the default Git configuration. Remote pushing is opt-in via `options.autoPush`,
|
|
4
|
+
* while `options.excludePaths` can keep temporary artifacts out of the created commit.
|
|
4
5
|
*/
|
|
5
6
|
export declare function commitChanges(message: string, options?: {
|
|
6
7
|
autoPush?: boolean;
|
|
8
|
+
excludePaths?: ReadonlyArray<string>;
|
|
7
9
|
}): Promise<void>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CoderRunPauseState } from './buildCoderRunUiFrame';
|
|
2
|
+
import type { CoderRunPhase } from './CoderRunUiState';
|
|
3
|
+
/**
|
|
4
|
+
* Refresh cadence used only while the rich coder UI needs animated updates.
|
|
5
|
+
*
|
|
6
|
+
* @private internal constant of coder run UI
|
|
7
|
+
*/
|
|
8
|
+
export declare const ACTIVE_CODER_RUN_UI_REFRESH_INTERVAL_MS = 1000;
|
|
9
|
+
/**
|
|
10
|
+
* Returns the automatic refresh interval for the current UI state.
|
|
11
|
+
*
|
|
12
|
+
* Waiting, paused, and completed states return `undefined` so the rich UI stays
|
|
13
|
+
* perfectly still until actual state changes arrive.
|
|
14
|
+
*
|
|
15
|
+
* @private internal utility of coder run UI
|
|
16
|
+
*/
|
|
17
|
+
export declare function getCoderRunUiAutoRefreshInterval(phase: CoderRunPhase, pauseState: CoderRunPauseState): number | undefined;
|
|
@@ -20,9 +20,10 @@ export type CoderRunUiHandle = {
|
|
|
20
20
|
/**
|
|
21
21
|
* Boots the ANSI terminal UI for `ptbk coder run`.
|
|
22
22
|
*
|
|
23
|
-
* The UI reserves a fixed number of terminal lines and
|
|
24
|
-
*
|
|
25
|
-
*
|
|
23
|
+
* The UI reserves a fixed number of terminal lines and refreshes them incrementally.
|
|
24
|
+
* While a prompt is actively running, it schedules lightweight timed refreshes for
|
|
25
|
+
* the spinner/progress area; otherwise it redraws only when real state changes arrive.
|
|
26
|
+
* Any console output from runners is captured and fed into the scrolling agent-output area.
|
|
26
27
|
*
|
|
27
28
|
* On non-interactive (non-TTY) terminals the UI is skipped entirely and
|
|
28
29
|
* only the state object is provided.
|
|
@@ -5,7 +5,7 @@ import type { AvatarDefinition } from './AvatarDefinition';
|
|
|
5
5
|
*
|
|
6
6
|
* @private shared contract for the avatar rendering system
|
|
7
7
|
*/
|
|
8
|
-
export type AvatarVisualId = 'pixel-art' | 'octopus' | 'minecraft';
|
|
8
|
+
export type AvatarVisualId = 'pixel-art' | 'octopus' | 'octopus2' | 'minecraft' | 'fractal';
|
|
9
9
|
/**
|
|
10
10
|
* Derived color palette used by avatar visuals.
|
|
11
11
|
*
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
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.112.0-
|
|
18
|
+
* It follows semantic versioning (e.g., `0.112.0-45`).
|
|
19
19
|
*
|
|
20
20
|
* @generated
|
|
21
21
|
*/
|