@vibeframe/cli 0.115.3 → 0.115.4

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.
@@ -26,8 +26,6 @@ export interface ExecuteFillGapsOptions {
26
26
  ratio?: "16:9" | "9:16" | "1:1";
27
27
  /** Override Kling API key. */
28
28
  apiKey?: string;
29
- /** Override ImgBB API key (used to host frames for Kling input). */
30
- imgbbApiKey?: string;
31
29
  /** Optional progress callback for streaming status updates. */
32
30
  onProgress?: (message: string) => void;
33
31
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Per-image cost estimates for `vibe generate image`, from model catalog prices.
3
+ *
4
+ * Without these, real runs reported `costUsd: 0`, which reads as "free" to
5
+ * agents that gate spend on the JSON envelope. Values are upper bounds from
6
+ * provider list prices (checked 2026-10-04, see
7
+ * `.agents/references/providers/`), not metered billing:
8
+ * - OpenAI: high quality at 1024x1024 (we default to medium).
9
+ * - Gemini: 1K output, Nano Banana Pro at 1K-2K.
10
+ * - Grok: grok-imagine-image-2.0 at its 2K medium price.
11
+ */
12
+ export declare function estimateImageCostUsd(provider: string, model: string | undefined, count: number): {
13
+ costUsd: number;
14
+ warnings: string[];
15
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -32,9 +32,10 @@ export interface OpenAIImageHelperResult {
32
32
  modelLabel: string;
33
33
  }
34
34
  /**
35
- * Resolve the user-supplied model alias to the API id + display label.
36
- * Unknown or empty aliases resolve to the default model. Exported so unit
37
- * tests can assert label↔model parity (regression cover for v0.52.0 bug).
35
+ * Resolve the user-supplied model alias to the API id + display label, from
36
+ * the model catalog. Unknown or empty aliases resolve to the default model.
37
+ * Exported so unit tests can assert label↔model parity (regression cover for
38
+ * v0.52.0 bug).
38
39
  */
39
40
  export declare function resolveOpenAIImageModel(modelAlias?: string): {
40
41
  openaiModel: GPTImageModel;
@@ -41,7 +41,9 @@ export declare function sleep(ms: number): Promise<void>;
41
41
  * Upload image to ImgBB and return the URL.
42
42
  * Used for Kling v2.5/v2.6 image-to-video which requires URL (not base64).
43
43
  */
44
- export declare function uploadToImgbb(imageBuffer: Buffer, apiKey: string): Promise<{
44
+ export declare function uploadToImgbb(imageBuffer: Buffer, apiKey: string,
45
+ /** Seconds until ImgBB deletes the image (60 to 15,552,000). Omit for a permanent upload. */
46
+ expirationSeconds?: number): Promise<{
45
47
  success: boolean;
46
48
  url?: string;
47
49
  error?: string;
@@ -16,6 +16,12 @@ export interface StartAgentOptions {
16
16
  /** Cumulative USD ceiling — agent rejects further tool calls past this. */
17
17
  budgetUsd?: number | string;
18
18
  }
19
+ /**
20
+ * `vibe agent` is deprecated: the host's agent loop (Claude Code, Codex,
21
+ * Cursor, or an MCP app host) is the outer loop, and a second built-in loop
22
+ * competes with it. Printed to stderr so `--input` stdout stays clean.
23
+ */
24
+ export declare const AGENT_DEPRECATION_NOTICE: string;
19
25
  /**
20
26
  * Start the AI agent
21
27
  * @param options - Agent options