@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.
@@ -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 repaints them periodically.
24
- * Between repaints, any console output from runners is captured and fed into the
25
- * scrolling agent-output area.
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,7 @@
1
+ import type { AvatarVisualDefinition } from '../types/AvatarVisualDefinition';
2
+ /**
3
+ * Fractal avatar visual.
4
+ *
5
+ * @private built-in avatar visual
6
+ */
7
+ export declare const fractalAvatarVisual: AvatarVisualDefinition;
@@ -0,0 +1,7 @@
1
+ import type { AvatarVisualDefinition } from '../types/AvatarVisualDefinition';
2
+ /**
3
+ * Octopus2 avatar visual.
4
+ *
5
+ * @private built-in avatar visual
6
+ */
7
+ export declare const octopus2AvatarVisual: AvatarVisualDefinition;
@@ -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-44`).
18
+ * It follows semantic versioning (e.g., `0.112.0-45`).
19
19
  *
20
20
  * @generated
21
21
  */