@keystrokehq/gemini 0.1.2 → 0.1.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.
Files changed (56) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/count-tokens.cjs +2 -2
  3. package/dist/actions/count-tokens.cjs.map +1 -1
  4. package/dist/actions/count-tokens.d.cts +2 -2
  5. package/dist/actions/count-tokens.d.mts +2 -2
  6. package/dist/actions/count-tokens.mjs +2 -2
  7. package/dist/actions/count-tokens.mjs.map +1 -1
  8. package/dist/actions/embed-content.cjs +1 -1
  9. package/dist/actions/embed-content.cjs.map +1 -1
  10. package/dist/actions/embed-content.d.cts +1 -1
  11. package/dist/actions/embed-content.d.mts +1 -1
  12. package/dist/actions/embed-content.mjs +1 -1
  13. package/dist/actions/embed-content.mjs.map +1 -1
  14. package/dist/actions/generate-content.cjs +1 -1
  15. package/dist/actions/generate-content.cjs.map +1 -1
  16. package/dist/actions/generate-content.d.cts +1 -1
  17. package/dist/actions/generate-content.d.mts +1 -1
  18. package/dist/actions/generate-content.mjs +1 -1
  19. package/dist/actions/generate-content.mjs.map +1 -1
  20. package/dist/actions/generate-image.cjs +3 -3
  21. package/dist/actions/generate-image.cjs.map +1 -1
  22. package/dist/actions/generate-image.d.cts +4 -3
  23. package/dist/actions/generate-image.d.mts +4 -3
  24. package/dist/actions/generate-image.mjs +3 -3
  25. package/dist/actions/generate-image.mjs.map +1 -1
  26. package/dist/actions/generate-videos.cjs +6 -18
  27. package/dist/actions/generate-videos.cjs.map +1 -1
  28. package/dist/actions/generate-videos.d.cts +5 -10
  29. package/dist/actions/generate-videos.d.cts.map +1 -1
  30. package/dist/actions/generate-videos.d.mts +5 -10
  31. package/dist/actions/generate-videos.d.mts.map +1 -1
  32. package/dist/actions/generate-videos.mjs +6 -18
  33. package/dist/actions/generate-videos.mjs.map +1 -1
  34. package/dist/actions/list-models.cjs +4 -4
  35. package/dist/actions/list-models.cjs.map +1 -1
  36. package/dist/actions/list-models.d.cts +4 -4
  37. package/dist/actions/list-models.d.mts +4 -4
  38. package/dist/actions/list-models.mjs +4 -4
  39. package/dist/actions/list-models.mjs.map +1 -1
  40. package/dist/actions/wait-for-video.cjs +4 -4
  41. package/dist/actions/wait-for-video.cjs.map +1 -1
  42. package/dist/actions/wait-for-video.d.cts +3 -3
  43. package/dist/actions/wait-for-video.d.mts +3 -3
  44. package/dist/actions/wait-for-video.mjs +4 -4
  45. package/dist/actions/wait-for-video.mjs.map +1 -1
  46. package/dist/catalog.cjs +2 -1
  47. package/dist/catalog.cjs.map +1 -1
  48. package/dist/catalog.d.cts +1 -0
  49. package/dist/catalog.d.mts +1 -0
  50. package/dist/catalog.mjs +2 -1
  51. package/dist/catalog.mjs.map +1 -1
  52. package/dist/execute.cjs +1 -1
  53. package/dist/execute.cjs.map +1 -1
  54. package/dist/execute.mjs +1 -1
  55. package/dist/execute.mjs.map +1 -1
  56. package/package.json +1 -1
@@ -4,9 +4,6 @@ import { z } from "zod";
4
4
  declare const GeminiGenerateVideosInput: z.ZodObject<{
5
5
  seed: z.ZodOptional<z.ZodNumber>;
6
6
  model: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
7
- "veo-2.0-generate-001": "veo-2.0-generate-001";
8
- "veo-3.0-generate-001": "veo-3.0-generate-001";
9
- "veo-3.0-fast-generate-001": "veo-3.0-fast-generate-001";
10
7
  "veo-3.1-generate-preview": "veo-3.1-generate-preview";
11
8
  "veo-3.1-fast-generate-preview": "veo-3.1-fast-generate-preview";
12
9
  }>>>;
@@ -20,10 +17,8 @@ declare const GeminiGenerateVideosInput: z.ZodObject<{
20
17
  "16:9": "16:9";
21
18
  }>>;
22
19
  negative_prompt: z.ZodOptional<z.ZodString>;
23
- duration_seconds: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>, z.ZodLiteral<7>, z.ZodLiteral<8>]>>;
20
+ duration_seconds: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>]>>;
24
21
  person_generation: z.ZodOptional<z.ZodEnum<{
25
- dont_allow: "dont_allow";
26
- allow_adult: "allow_adult";
27
22
  allow_all: "allow_all";
28
23
  }>>;
29
24
  }, z.core.$strip>;
@@ -34,16 +29,16 @@ declare const GeminiGenerateVideosOutput: z.ZodObject<{
34
29
  metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
35
30
  }, z.core.$loose>>;
36
31
  operation_name: z.ZodNullable<z.ZodString>;
37
- }, z.core.$strip>;
32
+ }, z.core.$loose>;
38
33
  declare const geminiGenerateVideos: import("@keystrokehq/action").WorkflowActionDefinition<{
39
34
  prompt: string;
40
35
  seed?: number | undefined;
41
- model?: "veo-2.0-generate-001" | "veo-3.0-generate-001" | "veo-3.0-fast-generate-001" | "veo-3.1-generate-preview" | "veo-3.1-fast-generate-preview" | undefined;
36
+ model?: "veo-3.1-generate-preview" | "veo-3.1-fast-generate-preview" | undefined;
42
37
  resolution?: "720p" | "1080p" | undefined;
43
38
  aspect_ratio?: "9:16" | "16:9" | undefined;
44
39
  negative_prompt?: string | undefined;
45
- duration_seconds?: 4 | 5 | 6 | 7 | 8 | undefined;
46
- person_generation?: "dont_allow" | "allow_adult" | "allow_all" | undefined;
40
+ duration_seconds?: 4 | 6 | 8 | undefined;
41
+ person_generation?: "allow_all" | undefined;
47
42
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
48
43
  //#endregion
49
44
  export { geminiGenerateVideos };
@@ -1 +1 @@
1
- {"version":3,"file":"generate-videos.d.mts","names":[],"sources":["../../src/actions/generate-videos.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
1
+ {"version":3,"file":"generate-videos.d.mts","names":[],"sources":["../../src/actions/generate-videos.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;cAezB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -2,34 +2,22 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/generate-videos.ts
4
4
  const GeminiGenerateVideosInput = z.object({
5
- seed: z.number().int().describe("Seed value for reproducibility. IMPORTANT: Only supported by Veo 3/3.1 models (VEO_3, VEO_3_FAST, VEO_3_1, VEO_3_1_FAST). VEO_2 does NOT support seed - using seed with VEO_2 will result in a validation error.").optional(),
6
- model: z.enum([
7
- "veo-2.0-generate-001",
8
- "veo-3.0-generate-001",
9
- "veo-3.0-fast-generate-001",
10
- "veo-3.1-generate-preview",
11
- "veo-3.1-fast-generate-preview"
12
- ]).default("veo-3.0-generate-001").describe("Veo model for video generation. Available enum values: VEO_3 (default, recommended), VEO_2, VEO_3_FAST, VEO_3_1 (newest), VEO_3_1_FAST (newest). Avoid preview model ID variants (e.g., '*generate-preview*') — they fail to produce downloadable URIs. Use only stable IDs: veo-2.0-generate-001 or veo-3.0-generate-001.").optional(),
5
+ seed: z.number().int().describe("Seed value for reproducibility. Supported by the Veo 3.1 models.").optional(),
6
+ model: z.enum(["veo-3.1-generate-preview", "veo-3.1-fast-generate-preview"]).default("veo-3.1-generate-preview").describe("Veo model for video generation. VEO_3_1 ('veo-3.1-generate-preview', default) or VEO_3_1_FAST ('veo-3.1-fast-generate-preview', faster/cheaper).").optional(),
13
7
  prompt: z.string().describe("Text prompt for Veo video generation. Must be a non-empty string describing the video to generate."),
14
8
  resolution: z.enum(["720p", "1080p"]).describe("Supported resolutions for video generation.").optional(),
15
9
  aspect_ratio: z.enum(["16:9", "9:16"]).describe("Supported aspect ratios for video generation.").optional(),
16
10
  negative_prompt: z.string().describe("Text describing content to avoid in the generated video (e.g., 'cartoon, drawing, low quality').").optional(),
17
11
  duration_seconds: z.union([
18
12
  z.literal(4),
19
- z.literal(5),
20
13
  z.literal(6),
21
- z.literal(7),
22
14
  z.literal(8)
23
- ]).describe("Supported video durations in seconds.\n\nModel-specific restrictions apply:\n- Veo 2: Supports 5, 6, 7, or 8 seconds (4 seconds NOT supported)\n- Veo 3/3.1 models: Supports 4, 6, or 8 seconds (5 and 7 seconds NOT supported)").optional(),
24
- person_generation: z.enum([
25
- "dont_allow",
26
- "allow_adult",
27
- "allow_all"
28
- ]).describe("Person generation safety settings for video generation.\n\nModel-specific restrictions apply:\n- Veo 2: Supports DONT_ALLOW, ALLOW_ADULT, and ALLOW_ALL\n- Veo 3/3.1 models: Only ALLOW_ALL is supported (requires allowlist access)").optional()
15
+ ]).describe("Supported video durations in seconds (Veo 3.1: 4, 6, or 8).").optional(),
16
+ person_generation: z.enum(["allow_all"]).describe("Person generation safety setting (Veo 3.1 supports only ALLOW_ALL).").optional()
29
17
  });
30
18
  const GeminiGenerateVideos_OperationCreationResponseSchema = z.object({
31
19
  done: z.boolean().default(false).describe("Indicates whether the operation is complete. Always False when operation is first created.").nullable().optional(),
32
- name: z.string().describe("Server-assigned operation resource name (e.g., 'models/veo-3.0-generate-001/operations/abc123').").nullable(),
20
+ name: z.string().describe("Server-assigned operation resource name (e.g., 'models/veo-3.1-generate-preview/operations/abc123').").nullable(),
33
21
  metadata: z.record(z.string(), z.unknown()).describe("Operation metadata with progress information (optional, may be present even when operation is not done).").nullable().optional()
34
22
  }).passthrough().describe("Response from the predictLongRunning endpoint when initiating video generation.\n\nRepresents a Google Cloud Long-Running Operation object as defined by the standard\nOperation schema (google.longrunning.Operation). When first created, the response\nincludes 'name' (the operation identifier) and 'done' (typically False, indicating\nthe operation is in progress). Optional 'metadata' may provide progress information.");
35
23
  const geminiGenerateVideos = action("GEMINI_GENERATE_VIDEOS", {
@@ -40,7 +28,7 @@ const geminiGenerateVideos = action("GEMINI_GENERATE_VIDEOS", {
40
28
  output: z.object({
41
29
  raw: GeminiGenerateVideos_OperationCreationResponseSchema.nullable(),
42
30
  operation_name: z.string().describe("Long-running operation name/id").nullable()
43
- })
31
+ }).passthrough()
44
32
  });
45
33
  //#endregion
46
34
  export { geminiGenerateVideos };
@@ -1 +1 @@
1
- {"version":3,"file":"generate-videos.mjs","names":[],"sources":["../../src/actions/generate-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiGenerateVideosInput = z.object({\n seed: z.number().int().describe(\"Seed value for reproducibility. IMPORTANT: Only supported by Veo 3/3.1 models (VEO_3, VEO_3_FAST, VEO_3_1, VEO_3_1_FAST). VEO_2 does NOT support seed - using seed with VEO_2 will result in a validation error.\").optional(),\n model: z.enum([\"veo-2.0-generate-001\", \"veo-3.0-generate-001\", \"veo-3.0-fast-generate-001\", \"veo-3.1-generate-preview\", \"veo-3.1-fast-generate-preview\"]).default(\"veo-3.0-generate-001\").describe(\"Veo model for video generation. Available enum values: VEO_3 (default, recommended), VEO_2, VEO_3_FAST, VEO_3_1 (newest), VEO_3_1_FAST (newest). Avoid preview model ID variants (e.g., '*generate-preview*') — they fail to produce downloadable URIs. Use only stable IDs: veo-2.0-generate-001 or veo-3.0-generate-001.\").optional(),\n prompt: z.string().describe(\"Text prompt for Veo video generation. Must be a non-empty string describing the video to generate.\"),\n resolution: z.enum([\"720p\", \"1080p\"]).describe(\"Supported resolutions for video generation.\").optional(),\n aspect_ratio: z.enum([\"16:9\", \"9:16\"]).describe(\"Supported aspect ratios for video generation.\").optional(),\n negative_prompt: z.string().describe(\"Text describing content to avoid in the generated video (e.g., 'cartoon, drawing, low quality').\").optional(),\n duration_seconds: z.union([z.literal(4), z.literal(5), z.literal(6), z.literal(7), z.literal(8)]).describe(\"Supported video durations in seconds.\\n\\nModel-specific restrictions apply:\\n- Veo 2: Supports 5, 6, 7, or 8 seconds (4 seconds NOT supported)\\n- Veo 3/3.1 models: Supports 4, 6, or 8 seconds (5 and 7 seconds NOT supported)\").optional(),\n person_generation: z.enum([\"dont_allow\", \"allow_adult\", \"allow_all\"]).describe(\"Person generation safety settings for video generation.\\n\\nModel-specific restrictions apply:\\n- Veo 2: Supports DONT_ALLOW, ALLOW_ADULT, and ALLOW_ALL\\n- Veo 3/3.1 models: Only ALLOW_ALL is supported (requires allowlist access)\").optional(),\n});\nconst GeminiGenerateVideos_OperationCreationResponseSchema = z.object({\n done: z.boolean().default(false).describe(\"Indicates whether the operation is complete. Always False when operation is first created.\").nullable().optional(),\n name: z.string().describe(\"Server-assigned operation resource name (e.g., 'models/veo-3.0-generate-001/operations/abc123').\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Operation metadata with progress information (optional, may be present even when operation is not done).\").nullable().optional(),\n}).passthrough().describe(\"Response from the predictLongRunning endpoint when initiating video generation.\\n\\nRepresents a Google Cloud Long-Running Operation object as defined by the standard\\nOperation schema (google.longrunning.Operation). When first created, the response\\nincludes 'name' (the operation identifier) and 'done' (typically False, indicating\\nthe operation is in progress). Optional 'metadata' may provide progress information.\");\nexport const GeminiGenerateVideosOutput = z.object({\n raw: GeminiGenerateVideos_OperationCreationResponseSchema.nullable(),\n operation_name: z.string().describe(\"Long-running operation name/id\").nullable(),\n});\n\nexport const geminiGenerateVideos = action(\"GEMINI_GENERATE_VIDEOS\", {\n slug: \"gemini-generate-videos\",\n name: \"Generate Videos (Veo)\",\n description: \"Generates videos from text prompts using Google's Veo models. Returns an operation_name for tracking; pass it verbatim (no edits) to GEMINI_WAIT_FOR_VIDEO or GEMINI_GET_VIDEOS_OPERATION. Jobs take 30–180+ seconds; wait 10s before first poll, then poll every 10–30s (allow up to 12 min). Successful results include data.video_file.s3url — missing s3url means failure. If done=true but no video_file, check raiMediaFilteredReasons (safety block); revise prompt and regenerate. Text-only; cannot accept image inputs. Max ~3–5 concurrent jobs; 429 RESOURCE_EXHAUSTED requires exponential backoff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AO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oaAAoa;AAM9b,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,KAAK,qDAAqD,SAAS;EACnE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACjF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"generate-videos.mjs","names":[],"sources":["../../src/actions/generate-videos.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiGenerateVideosInput = z.object({\n seed: z.number().int().describe(\"Seed value for reproducibility. Supported by the Veo 3.1 models.\").optional(),\n model: z.enum([\"veo-3.1-generate-preview\", \"veo-3.1-fast-generate-preview\"]).default(\"veo-3.1-generate-preview\").describe(\"Veo model for video generation. VEO_3_1 ('veo-3.1-generate-preview', default) or VEO_3_1_FAST ('veo-3.1-fast-generate-preview', faster/cheaper).\").optional(),\n prompt: z.string().describe(\"Text prompt for Veo video generation. Must be a non-empty string describing the video to generate.\"),\n resolution: z.enum([\"720p\", \"1080p\"]).describe(\"Supported resolutions for video generation.\").optional(),\n aspect_ratio: z.enum([\"16:9\", \"9:16\"]).describe(\"Supported aspect ratios for video generation.\").optional(),\n negative_prompt: z.string().describe(\"Text describing content to avoid in the generated video (e.g., 'cartoon, drawing, low quality').\").optional(),\n duration_seconds: z.union([z.literal(4), z.literal(6), z.literal(8)]).describe(\"Supported video durations in seconds (Veo 3.1: 4, 6, or 8).\").optional(),\n person_generation: z.enum([\"allow_all\"]).describe(\"Person generation safety setting (Veo 3.1 supports only ALLOW_ALL).\").optional(),\n});\nconst GeminiGenerateVideos_OperationCreationResponseSchema = z.object({\n done: z.boolean().default(false).describe(\"Indicates whether the operation is complete. Always False when operation is first created.\").nullable().optional(),\n name: z.string().describe(\"Server-assigned operation resource name (e.g., 'models/veo-3.1-generate-preview/operations/abc123').\").nullable(),\n metadata: z.record(z.string(), z.unknown()).describe(\"Operation metadata with progress information (optional, may be present even when operation is not done).\").nullable().optional(),\n}).passthrough().describe(\"Response from the predictLongRunning endpoint when initiating video generation.\\n\\nRepresents a Google Cloud Long-Running Operation object as defined by the standard\\nOperation schema (google.longrunning.Operation). When first created, the response\\nincludes 'name' (the operation identifier) and 'done' (typically False, indicating\\nthe operation is in progress). Optional 'metadata' may provide progress information.\");\nexport const GeminiGenerateVideosOutput = z.object({\n raw: GeminiGenerateVideos_OperationCreationResponseSchema.nullable(),\n operation_name: z.string().describe(\"Long-running operation name/id\").nullable(),\n}).passthrough();\n\nexport const geminiGenerateVideos = action(\"GEMINI_GENERATE_VIDEOS\", {\n slug: \"gemini-generate-videos\",\n name: \"Generate Videos (Veo)\",\n description: \"Generates videos from text prompts using Google's Veo models. Returns an operation_name for tracking; pass it verbatim (no edits) to GEMINI_WAIT_FOR_VIDEO or GEMINI_GET_VIDEOS_OPERATION. Jobs take 30–180+ seconds; wait 10s before first poll, then poll every 10–30s (allow up to 12 min). Successful results include data.video_file.s3url — missing s3url means failure. If done=true but no video_file, check raiMediaFilteredReasons (safety block); revise prompt and regenerate. Text-only; cannot accept image inputs. Max ~3–5 concurrent jobs; 429 RESOURCE_EXHAUSTED requires exponential backoff. For retries, always start a fresh call — never reuse a failed operation_name.\",\n input: GeminiGenerateVideosInput,\n output: GeminiGenerateVideosOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC7G,OAAO,EAAE,KAAK,CAAC,4BAA4B,+BAA+B,CAAC,CAAC,CAAC,QAAQ,0BAA0B,CAAC,CAAC,SAAS,kJAA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AC"}
@@ -20,19 +20,19 @@ const GeminiListModels_ModelSchema = zod.z.object({
20
20
  inputTokenLimit: zod.z.number().int().describe("Maximum input tokens allowed").nullable().optional(),
21
21
  outputTokenLimit: zod.z.number().int().describe("Maximum output tokens available").nullable().optional(),
22
22
  supportedGenerationMethods: zod.z.array(zod.z.string()).describe("Supported methods like generateContent").nullable().optional()
23
- }).describe("Represents a Gemini model with its capabilities and limits.");
23
+ }).passthrough().describe("Represents a Gemini model with its capabilities and limits.");
24
24
  const GeminiListModels_RawListModelsResponseSchema = zod.z.object({
25
25
  models: zod.z.array(GeminiListModels_ModelSchema).describe("List of models").nullable().optional(),
26
26
  nextPageToken: zod.z.string().describe("Token for retrieving next page").nullable().optional()
27
- }).describe("Raw API response from the models.list endpoint.");
27
+ }).passthrough().describe("Raw API response from the models.list endpoint.");
28
28
  const GeminiListModelsOutput = zod.z.object({
29
29
  raw: GeminiListModels_RawListModelsResponseSchema.nullable(),
30
30
  models: zod.z.array(GeminiListModels_ModelSchema).describe("List of available models").nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const geminiListModels = require_action.action("GEMINI_LIST_MODELS", {
33
33
  slug: "gemini-list-models",
34
34
  name: "List Models (Gemini API)",
35
- description: "Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests. Before calling video generation tools, verify model availability here — preview Veo models (e.g., veo-3.0-generate-preview) may be unavailable or return missing video URIs; prefer stable models like veo-2.0-generate-001.",
35
+ description: "Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests.",
36
36
  input: GeminiListModelsInput,
37
37
  output: GeminiListModelsOutput
38
38
  });
@@ -1 +1 @@
1
- {"version":3,"file":"list-models.cjs","names":["z","action"],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiListModelsInput = z.object({\n page_size: z.number().int().describe(\"Maximum number of models to return per page (default 50, max 1000).\").optional(),\n page_token: z.string().describe(\"Token from a previous response's nextPageToken to retrieve the next page.\").optional(),\n filter_prefix: z.string().default(\"\").describe(\"Filter models by name prefix (client-side). Leave empty to get all models.\").optional(),\n});\nconst GeminiListModels_ModelSchema = z.object({\n name: z.string().describe(\"Resource identifier in format models/{model}\").nullable(),\n topK: z.number().int().describe(\"Default top-k sampling parameter\").nullable().optional(),\n topP: z.number().describe(\"Default nucleus sampling parameter\").nullable().optional(),\n version: z.string().describe(\"Major version number\").nullable(),\n thinking: z.boolean().describe(\"Whether model supports thinking capability\").nullable().optional(),\n baseModelId: z.string().describe(\"Base model name for generation requests\").nullable().optional(),\n description: z.string().describe(\"Brief model summary\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable model name\").nullable().optional(),\n temperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n maxTemperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n inputTokenLimit: z.number().int().describe(\"Maximum input tokens allowed\").nullable().optional(),\n outputTokenLimit: z.number().int().describe(\"Maximum output tokens available\").nullable().optional(),\n supportedGenerationMethods: z.array(z.string()).describe(\"Supported methods like generateContent\").nullable().optional(),\n}).describe(\"Represents a Gemini model with its capabilities and limits.\");\nconst GeminiListModels_RawListModelsResponseSchema = z.object({\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of models\").nullable().optional(),\n nextPageToken: z.string().describe(\"Token for retrieving next page\").nullable().optional(),\n}).describe(\"Raw API response from the models.list endpoint.\");\nexport const GeminiListModelsOutput = z.object({\n raw: GeminiListModels_RawListModelsResponseSchema.nullable(),\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of available models\").nullable().optional(),\n});\n\nexport const geminiListModels = action(\"GEMINI_LIST_MODELS\", {\n slug: \"gemini-list-models\",\n name: \"List Models (Gemini API)\",\n description: \"Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests. Before calling video generation tools, verify model availability here — preview Veo models (e.g., veo-3.0-generate-preview) may be unavailable or return missing video URIs; prefer stable models like veo-2.0-generate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":3,"file":"list-models.cjs","names":["z","action"],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiListModelsInput = z.object({\n page_size: z.number().int().describe(\"Maximum number of models to return per page (default 50, max 1000).\").optional(),\n page_token: z.string().describe(\"Token from a previous response's nextPageToken to retrieve the next page.\").optional(),\n filter_prefix: z.string().default(\"\").describe(\"Filter models by name prefix (client-side). Leave empty to get all models.\").optional(),\n});\nconst GeminiListModels_ModelSchema = z.object({\n name: z.string().describe(\"Resource identifier in format models/{model}\").nullable(),\n topK: z.number().int().describe(\"Default top-k sampling parameter\").nullable().optional(),\n topP: z.number().describe(\"Default nucleus sampling parameter\").nullable().optional(),\n version: z.string().describe(\"Major version number\").nullable(),\n thinking: z.boolean().describe(\"Whether model supports thinking capability\").nullable().optional(),\n baseModelId: z.string().describe(\"Base model name for generation requests\").nullable().optional(),\n description: z.string().describe(\"Brief model summary\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable model name\").nullable().optional(),\n temperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n maxTemperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n inputTokenLimit: z.number().int().describe(\"Maximum input tokens allowed\").nullable().optional(),\n outputTokenLimit: z.number().int().describe(\"Maximum output tokens available\").nullable().optional(),\n supportedGenerationMethods: z.array(z.string()).describe(\"Supported methods like generateContent\").nullable().optional(),\n}).passthrough().describe(\"Represents a Gemini model with its capabilities and limits.\");\nconst GeminiListModels_RawListModelsResponseSchema = z.object({\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of models\").nullable().optional(),\n nextPageToken: z.string().describe(\"Token for retrieving next page\").nullable().optional(),\n}).passthrough().describe(\"Raw API response from the models.list endpoint.\");\nexport const GeminiListModelsOutput = z.object({\n raw: GeminiListModels_RawListModelsResponseSchema.nullable(),\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of available models\").nullable().optional(),\n}).passthrough();\n\nexport const geminiListModels = action(\"GEMINI_LIST_MODELS\", {\n slug: \"gemini-list-models\",\n name: \"List Models (Gemini API)\",\n description: \"Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests.\",\n input: GeminiListModelsInput,\n output: GeminiListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACxI,CAAC;AACD,MAAM,+BAA+BA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,aAAaA,IAAAA,EAAE,OAAO,CA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,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -22,9 +22,9 @@ declare const GeminiListModelsOutput: z.ZodObject<{
22
22
  inputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  outputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  supportedGenerationMethods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  nextPageToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>;
27
+ }, z.core.$loose>>;
28
28
  models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
29
  name: z.ZodNullable<z.ZodString>;
30
30
  topK: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -39,8 +39,8 @@ declare const GeminiListModelsOutput: z.ZodObject<{
39
39
  inputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  outputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  supportedGenerationMethods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- }, z.core.$strip>>>>;
43
- }, z.core.$strip>;
42
+ }, z.core.$loose>>>>;
43
+ }, z.core.$loose>;
44
44
  declare const geminiListModels: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  page_size?: number | undefined;
46
46
  page_token?: string | undefined;
@@ -22,9 +22,9 @@ declare const GeminiListModelsOutput: z.ZodObject<{
22
22
  inputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
23
  outputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
24
  supportedGenerationMethods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
25
- }, z.core.$strip>>>>;
25
+ }, z.core.$loose>>>>;
26
26
  nextPageToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>;
27
+ }, z.core.$loose>>;
28
28
  models: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
29
29
  name: z.ZodNullable<z.ZodString>;
30
30
  topK: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -39,8 +39,8 @@ declare const GeminiListModelsOutput: z.ZodObject<{
39
39
  inputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
40
  outputTokenLimit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
41
  supportedGenerationMethods: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
42
- }, z.core.$strip>>>>;
43
- }, z.core.$strip>;
42
+ }, z.core.$loose>>>>;
43
+ }, z.core.$loose>;
44
44
  declare const geminiListModels: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  page_size?: number | undefined;
46
46
  page_token?: string | undefined;
@@ -20,20 +20,20 @@ const GeminiListModels_ModelSchema = z.object({
20
20
  inputTokenLimit: z.number().int().describe("Maximum input tokens allowed").nullable().optional(),
21
21
  outputTokenLimit: z.number().int().describe("Maximum output tokens available").nullable().optional(),
22
22
  supportedGenerationMethods: z.array(z.string()).describe("Supported methods like generateContent").nullable().optional()
23
- }).describe("Represents a Gemini model with its capabilities and limits.");
23
+ }).passthrough().describe("Represents a Gemini model with its capabilities and limits.");
24
24
  const GeminiListModels_RawListModelsResponseSchema = z.object({
25
25
  models: z.array(GeminiListModels_ModelSchema).describe("List of models").nullable().optional(),
26
26
  nextPageToken: z.string().describe("Token for retrieving next page").nullable().optional()
27
- }).describe("Raw API response from the models.list endpoint.");
27
+ }).passthrough().describe("Raw API response from the models.list endpoint.");
28
28
  const geminiListModels = action("GEMINI_LIST_MODELS", {
29
29
  slug: "gemini-list-models",
30
30
  name: "List Models (Gemini API)",
31
- description: "Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests. Before calling video generation tools, verify model availability here — preview Veo models (e.g., veo-3.0-generate-preview) may be unavailable or return missing video URIs; prefer stable models like veo-2.0-generate-001.",
31
+ description: "Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests.",
32
32
  input: GeminiListModelsInput,
33
33
  output: z.object({
34
34
  raw: GeminiListModels_RawListModelsResponseSchema.nullable(),
35
35
  models: z.array(GeminiListModels_ModelSchema).describe("List of available models").nullable().optional()
36
- })
36
+ }).passthrough()
37
37
  });
38
38
  //#endregion
39
39
  export { geminiListModels };
@@ -1 +1 @@
1
- {"version":3,"file":"list-models.mjs","names":[],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiListModelsInput = z.object({\n page_size: z.number().int().describe(\"Maximum number of models to return per page (default 50, max 1000).\").optional(),\n page_token: z.string().describe(\"Token from a previous response's nextPageToken to retrieve the next page.\").optional(),\n filter_prefix: z.string().default(\"\").describe(\"Filter models by name prefix (client-side). Leave empty to get all models.\").optional(),\n});\nconst GeminiListModels_ModelSchema = z.object({\n name: z.string().describe(\"Resource identifier in format models/{model}\").nullable(),\n topK: z.number().int().describe(\"Default top-k sampling parameter\").nullable().optional(),\n topP: z.number().describe(\"Default nucleus sampling parameter\").nullable().optional(),\n version: z.string().describe(\"Major version number\").nullable(),\n thinking: z.boolean().describe(\"Whether model supports thinking capability\").nullable().optional(),\n baseModelId: z.string().describe(\"Base model name for generation requests\").nullable().optional(),\n description: z.string().describe(\"Brief model summary\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable model name\").nullable().optional(),\n temperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n maxTemperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n inputTokenLimit: z.number().int().describe(\"Maximum input tokens allowed\").nullable().optional(),\n outputTokenLimit: z.number().int().describe(\"Maximum output tokens available\").nullable().optional(),\n supportedGenerationMethods: z.array(z.string()).describe(\"Supported methods like generateContent\").nullable().optional(),\n}).describe(\"Represents a Gemini model with its capabilities and limits.\");\nconst GeminiListModels_RawListModelsResponseSchema = z.object({\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of models\").nullable().optional(),\n nextPageToken: z.string().describe(\"Token for retrieving next page\").nullable().optional(),\n}).describe(\"Raw API response from the models.list endpoint.\");\nexport const GeminiListModelsOutput = z.object({\n raw: GeminiListModels_RawListModelsResponseSchema.nullable(),\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of available models\").nullable().optional(),\n});\n\nexport const geminiListModels = action(\"GEMINI_LIST_MODELS\", {\n slug: \"gemini-list-models\",\n name: \"List Models (Gemini API)\",\n description: \"Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests. Before calling video generation tools, verify model availability here — preview Veo models (e.g., veo-3.0-generate-preview) may be unavailable or return missing video URIs; prefer stable models like veo-2.0-generate-001.\",\n input: GeminiListModelsInput,\n output: GeminiListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACxI,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC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C,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAM7D,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,KAAK,6CAA6C,SAAS;EAC3D,QAAQ,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-models.mjs","names":[],"sources":["../../src/actions/list-models.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiListModelsInput = z.object({\n page_size: z.number().int().describe(\"Maximum number of models to return per page (default 50, max 1000).\").optional(),\n page_token: z.string().describe(\"Token from a previous response's nextPageToken to retrieve the next page.\").optional(),\n filter_prefix: z.string().default(\"\").describe(\"Filter models by name prefix (client-side). Leave empty to get all models.\").optional(),\n});\nconst GeminiListModels_ModelSchema = z.object({\n name: z.string().describe(\"Resource identifier in format models/{model}\").nullable(),\n topK: z.number().int().describe(\"Default top-k sampling parameter\").nullable().optional(),\n topP: z.number().describe(\"Default nucleus sampling parameter\").nullable().optional(),\n version: z.string().describe(\"Major version number\").nullable(),\n thinking: z.boolean().describe(\"Whether model supports thinking capability\").nullable().optional(),\n baseModelId: z.string().describe(\"Base model name for generation requests\").nullable().optional(),\n description: z.string().describe(\"Brief model summary\").nullable().optional(),\n displayName: z.string().describe(\"Human-readable model name\").nullable().optional(),\n temperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n maxTemperature: z.union([z.number().int(), z.number()]).nullable().optional(),\n inputTokenLimit: z.number().int().describe(\"Maximum input tokens allowed\").nullable().optional(),\n outputTokenLimit: z.number().int().describe(\"Maximum output tokens available\").nullable().optional(),\n supportedGenerationMethods: z.array(z.string()).describe(\"Supported methods like generateContent\").nullable().optional(),\n}).passthrough().describe(\"Represents a Gemini model with its capabilities and limits.\");\nconst GeminiListModels_RawListModelsResponseSchema = z.object({\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of models\").nullable().optional(),\n nextPageToken: z.string().describe(\"Token for retrieving next page\").nullable().optional(),\n}).passthrough().describe(\"Raw API response from the models.list endpoint.\");\nexport const GeminiListModelsOutput = z.object({\n raw: GeminiListModels_RawListModelsResponseSchema.nullable(),\n models: z.array(GeminiListModels_ModelSchema).describe(\"List of available models\").nullable().optional(),\n}).passthrough();\n\nexport const geminiListModels = action(\"GEMINI_LIST_MODELS\", {\n slug: \"gemini-list-models\",\n name: \"List Models (Gemini API)\",\n description: \"Lists available Gemini and Veo models with their capabilities and limits. Useful for discovering supported models and their features before making generation requests.\",\n input: GeminiListModelsInput,\n output: GeminiListModelsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACtH,eAAe,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACxI,CAAC;AACD,MAAM,+BAA+B,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4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AmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,KAAK,6CAA6C,SAAS;EAC3D,QAAQ,EAAE,MAAM,4BAA4B,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -1,23 +1,23 @@
1
1
  const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/wait-for-video.ts
4
- const GeminiWaitForVideoInput = zod.z.object({ operation_name: zod.z.string().describe("The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.0-generate-001/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. CRITICAL: Must be from a generate-video operation (VEO_2, VEO_3, VEO_3_FAST models), NOT generate-preview operations (VEO_3_1, VEO_3_1_FAST models). Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.") });
4
+ const GeminiWaitForVideoInput = zod.z.object({ operation_name: zod.z.string().describe("The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.1-generate-preview/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.") });
5
5
  const GeminiWaitForVideo_FileDownloadableSchema = zod.z.object({
6
6
  name: zod.z.string().describe("Name of the file").nullable(),
7
7
  s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
8
8
  mimetype: zod.z.string().describe("Mime type of the file.").nullable()
9
- });
9
+ }).passthrough();
10
10
  const GeminiWaitForVideo_RaiFilteringResultSchema = zod.z.object({
11
11
  message: zod.z.string().describe("Human-readable message explaining the filtering and suggesting next steps.").nullable(),
12
12
  filtered: zod.z.boolean().default(true).describe("Always True when this object is present, indicating content was filtered.").nullable().optional(),
13
13
  filter_reasons: zod.z.array(zod.z.string()).describe("List of reasons why the content was blocked by safety filters.").nullable().optional(),
14
14
  filtered_count: zod.z.number().int().describe("Number of videos filtered by RAI safety policies.").nullable()
15
- }).describe("Represents when video generation was blocked by Responsible AI safety filters.");
15
+ }).passthrough().describe("Represents when video generation was blocked by Responsible AI safety filters.");
16
16
  const GeminiWaitForVideoOutput = zod.z.object({
17
17
  success: zod.z.boolean().describe("True if video was successfully generated and downloaded, False if it was filtered by RAI safety policies.").nullable(),
18
18
  video_file: GeminiWaitForVideo_FileDownloadableSchema.nullable().optional(),
19
19
  rai_filtering: GeminiWaitForVideo_RaiFilteringResultSchema.nullable().optional()
20
- });
20
+ }).passthrough();
21
21
  const geminiWaitForVideo = require_action.action("GEMINI_WAIT_FOR_VIDEO", {
22
22
  slug: "gemini-wait-for-video",
23
23
  name: "Wait and Download Video (Veo)",
@@ -1 +1 @@
1
- {"version":3,"file":"wait-for-video.cjs","names":["z","action"],"sources":["../../src/actions/wait-for-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiWaitForVideoInput = z.object({\n operation_name: z.string().describe(\"The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.0-generate-001/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. CRITICAL: Must be from a generate-video operation (VEO_2, VEO_3, VEO_3_FAST models), NOT generate-preview operations (VEO_3_1, VEO_3_1_FAST models). Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.\"),\n});\nconst GeminiWaitForVideo_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nconst GeminiWaitForVideo_RaiFilteringResultSchema = z.object({\n message: z.string().describe(\"Human-readable message explaining the filtering and suggesting next steps.\").nullable(),\n filtered: z.boolean().default(true).describe(\"Always True when this object is present, indicating content was filtered.\").nullable().optional(),\n filter_reasons: z.array(z.string()).describe(\"List of reasons why the content was blocked by safety filters.\").nullable().optional(),\n filtered_count: z.number().int().describe(\"Number of videos filtered by RAI safety policies.\").nullable(),\n}).describe(\"Represents when video generation was blocked by Responsible AI safety filters.\");\nexport const GeminiWaitForVideoOutput = z.object({\n success: z.boolean().describe(\"True if video was successfully generated and downloaded, False if it was filtered by RAI safety policies.\").nullable(),\n video_file: GeminiWaitForVideo_FileDownloadableSchema.nullable().optional(),\n rai_filtering: GeminiWaitForVideo_RaiFilteringResultSchema.nullable().optional(),\n});\n\nexport const geminiWaitForVideo = action(\"GEMINI_WAIT_FOR_VIDEO\", {\n slug: \"gemini-wait-for-video\",\n name: \"Wait and Download Video (Veo)\",\n description: \"Polls a Veo video generation operation until completion, then downloads and returns the video file. Generation takes 30–120+ seconds (up to ~10–12 min); long waits are normal, not failures. A done=true response without a video file indicates safety filter rejection (check raiMediaFilteredReasons) or quota exhaustion — adjust the prompt and regenerate. On timeout, use GEMINI_GET_VIDEOS_OPERATION with incremental backoff before starting a new job. Keep parallel jobs to 3–5 to avoid 429 RESOURCE_EXHAUSTED errors.\",\n input: GeminiWaitForVideoInput,\n output: GeminiWaitForVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+nBAA+nB,EACrqB,CAAC;AACD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAC5F,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CACpJ,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;CAC1E,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"wait-for-video.cjs","names":["z","action"],"sources":["../../src/actions/wait-for-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiWaitForVideoInput = z.object({\n operation_name: z.string().describe(\"The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.1-generate-preview/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.\"),\n});\nconst GeminiWaitForVideo_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nconst GeminiWaitForVideo_RaiFilteringResultSchema = z.object({\n message: z.string().describe(\"Human-readable message explaining the filtering and suggesting next steps.\").nullable(),\n filtered: z.boolean().default(true).describe(\"Always True when this object is present, indicating content was filtered.\").nullable().optional(),\n filter_reasons: z.array(z.string()).describe(\"List of reasons why the content was blocked by safety filters.\").nullable().optional(),\n filtered_count: z.number().int().describe(\"Number of videos filtered by RAI safety policies.\").nullable(),\n}).passthrough().describe(\"Represents when video generation was blocked by Responsible AI safety filters.\");\nexport const GeminiWaitForVideoOutput = z.object({\n success: z.boolean().describe(\"True if video was successfully generated and downloaded, False if it was filtered by RAI safety policies.\").nullable(),\n video_file: GeminiWaitForVideo_FileDownloadableSchema.nullable().optional(),\n rai_filtering: GeminiWaitForVideo_RaiFilteringResultSchema.nullable().optional(),\n}).passthrough();\n\nexport const geminiWaitForVideo = action(\"GEMINI_WAIT_FOR_VIDEO\", {\n slug: \"gemini-wait-for-video\",\n name: \"Wait and Download Video (Veo)\",\n description: \"Polls a Veo video generation operation until completion, then downloads and returns the video file. Generation takes 30–120+ seconds (up to ~10–12 min); long waits are normal, not failures. A done=true response without a video file indicates safety filter rejection (check raiMediaFilteredReasons) or quota exhaustion — adjust the prompt and regenerate. On timeout, use GEMINI_GET_VIDEOS_OPERATION with incremental backoff before starting a new job. Keep parallel jobs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AAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,14 +10,14 @@ declare const GeminiWaitForVideoOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  s3url: z.ZodNullable<z.ZodString>;
12
12
  mimetype: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  rai_filtering: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  message: z.ZodNullable<z.ZodString>;
16
16
  filtered: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
17
  filter_reasons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
18
  filtered_count: z.ZodNullable<z.ZodNumber>;
19
- }, z.core.$strip>>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>;
20
+ }, z.core.$loose>;
21
21
  declare const geminiWaitForVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  operation_name: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -10,14 +10,14 @@ declare const GeminiWaitForVideoOutput: z.ZodObject<{
10
10
  name: z.ZodNullable<z.ZodString>;
11
11
  s3url: z.ZodNullable<z.ZodString>;
12
12
  mimetype: z.ZodNullable<z.ZodString>;
13
- }, z.core.$strip>>>;
13
+ }, z.core.$loose>>>;
14
14
  rai_filtering: z.ZodOptional<z.ZodNullable<z.ZodObject<{
15
15
  message: z.ZodNullable<z.ZodString>;
16
16
  filtered: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
17
17
  filter_reasons: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
18
18
  filtered_count: z.ZodNullable<z.ZodNumber>;
19
- }, z.core.$strip>>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>>;
20
+ }, z.core.$loose>;
21
21
  declare const geminiWaitForVideo: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  operation_name: string;
23
23
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -1,18 +1,18 @@
1
1
  import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/wait-for-video.ts
4
- const GeminiWaitForVideoInput = z.object({ operation_name: z.string().describe("The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.0-generate-001/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. CRITICAL: Must be from a generate-video operation (VEO_2, VEO_3, VEO_3_FAST models), NOT generate-preview operations (VEO_3_1, VEO_3_1_FAST models). Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.") });
4
+ const GeminiWaitForVideoInput = z.object({ operation_name: z.string().describe("The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.1-generate-preview/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.") });
5
5
  const GeminiWaitForVideo_FileDownloadableSchema = z.object({
6
6
  name: z.string().describe("Name of the file").nullable(),
7
7
  s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
8
8
  mimetype: z.string().describe("Mime type of the file.").nullable()
9
- });
9
+ }).passthrough();
10
10
  const GeminiWaitForVideo_RaiFilteringResultSchema = z.object({
11
11
  message: z.string().describe("Human-readable message explaining the filtering and suggesting next steps.").nullable(),
12
12
  filtered: z.boolean().default(true).describe("Always True when this object is present, indicating content was filtered.").nullable().optional(),
13
13
  filter_reasons: z.array(z.string()).describe("List of reasons why the content was blocked by safety filters.").nullable().optional(),
14
14
  filtered_count: z.number().int().describe("Number of videos filtered by RAI safety policies.").nullable()
15
- }).describe("Represents when video generation was blocked by Responsible AI safety filters.");
15
+ }).passthrough().describe("Represents when video generation was blocked by Responsible AI safety filters.");
16
16
  const geminiWaitForVideo = action("GEMINI_WAIT_FOR_VIDEO", {
17
17
  slug: "gemini-wait-for-video",
18
18
  name: "Wait and Download Video (Veo)",
@@ -22,7 +22,7 @@ const geminiWaitForVideo = action("GEMINI_WAIT_FOR_VIDEO", {
22
22
  success: z.boolean().describe("True if video was successfully generated and downloaded, False if it was filtered by RAI safety policies.").nullable(),
23
23
  video_file: GeminiWaitForVideo_FileDownloadableSchema.nullable().optional(),
24
24
  rai_filtering: GeminiWaitForVideo_RaiFilteringResultSchema.nullable().optional()
25
- })
25
+ }).passthrough()
26
26
  });
27
27
  //#endregion
28
28
  export { geminiWaitForVideo };
@@ -1 +1 @@
1
- {"version":3,"file":"wait-for-video.mjs","names":[],"sources":["../../src/actions/wait-for-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiWaitForVideoInput = z.object({\n operation_name: z.string().describe(\"The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.0-generate-001/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. CRITICAL: Must be from a generate-video operation (VEO_2, VEO_3, VEO_3_FAST models), NOT generate-preview operations (VEO_3_1, VEO_3_1_FAST models). Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.\"),\n});\nconst GeminiWaitForVideo_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nconst GeminiWaitForVideo_RaiFilteringResultSchema = z.object({\n message: z.string().describe(\"Human-readable message explaining the filtering and suggesting next steps.\").nullable(),\n filtered: z.boolean().default(true).describe(\"Always True when this object is present, indicating content was filtered.\").nullable().optional(),\n filter_reasons: z.array(z.string()).describe(\"List of reasons why the content was blocked by safety filters.\").nullable().optional(),\n filtered_count: z.number().int().describe(\"Number of videos filtered by RAI safety policies.\").nullable(),\n}).describe(\"Represents when video generation was blocked by Responsible AI safety filters.\");\nexport const GeminiWaitForVideoOutput = z.object({\n success: z.boolean().describe(\"True if video was successfully generated and downloaded, False if it was filtered by RAI safety policies.\").nullable(),\n video_file: GeminiWaitForVideo_FileDownloadableSchema.nullable().optional(),\n rai_filtering: GeminiWaitForVideo_RaiFilteringResultSchema.nullable().optional(),\n});\n\nexport const geminiWaitForVideo = action(\"GEMINI_WAIT_FOR_VIDEO\", {\n slug: \"gemini-wait-for-video\",\n name: \"Wait and Download Video (Veo)\",\n description: \"Polls a Veo video generation operation until completion, then downloads and returns the video file. Generation takes 30–120+ seconds (up to ~10–12 min); long waits are normal, not failures. A done=true response without a video file indicates safety filter rejection (check raiMediaFilteredReasons) or quota exhaustion — adjust the prompt and regenerate. On timeout, use GEMINI_GET_VIDEOS_OPERATION with incremental backoff before starting a new job. Keep parallel jobs to 3–5 to avoid 429 RESOURCE_EXHAUSTED errors.\",\n input: GeminiWaitForVideoInput,\n output: GeminiWaitForVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+nBAA+nB,EACrqB,CAAC;AACD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,gFAAgF;AAO5F,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;EACpJ,YAAY,0CAA0C,SAAS,CAAC,CAAC,SAAS;EAC1E,eAAe,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACjF,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"wait-for-video.mjs","names":[],"sources":["../../src/actions/wait-for-video.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const GeminiWaitForVideoInput = z.object({\n operation_name: z.string().describe(\"The full operation name returned by GEMINI_GENERATE_VIDEOS. Format: 'models/<model-id>/operations/<operation-id>' where <operation-id> is an alphanumeric string (e.g., 'models/veo-3.1-generate-preview/operations/m8dl4dtqqzg8'). IMPORTANT: Do NOT use placeholder values like '...' - use the exact operation_name string from the generate videos response. Do not reuse operation_name from a failed GEMINI_GENERATE_VIDEOS job — always start a new GEMINI_GENERATE_VIDEOS call for retried requests.\"),\n});\nconst GeminiWaitForVideo_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nconst GeminiWaitForVideo_RaiFilteringResultSchema = z.object({\n message: z.string().describe(\"Human-readable message explaining the filtering and suggesting next steps.\").nullable(),\n filtered: z.boolean().default(true).describe(\"Always True when this object is present, indicating content was filtered.\").nullable().optional(),\n filter_reasons: z.array(z.string()).describe(\"List of reasons why the content was blocked by safety filters.\").nullable().optional(),\n filtered_count: z.number().int().describe(\"Number of videos filtered by RAI safety policies.\").nullable(),\n}).passthrough().describe(\"Represents when video generation was blocked by Responsible AI safety filters.\");\nexport const GeminiWaitForVideoOutput = z.object({\n success: z.boolean().describe(\"True if video was successfully generated and downloaded, False if it was filtered by RAI safety policies.\").nullable(),\n video_file: GeminiWaitForVideo_FileDownloadableSchema.nullable().optional(),\n rai_filtering: GeminiWaitForVideo_RaiFilteringResultSchema.nullable().optional(),\n}).passthrough();\n\nexport const geminiWaitForVideo = action(\"GEMINI_WAIT_FOR_VIDEO\", {\n slug: \"gemini-wait-for-video\",\n name: \"Wait and Download Video (Veo)\",\n description: \"Polls a Veo video generation operation until completion, then downloads and returns the video file. Generation takes 30–120+ seconds (up to ~10–12 min); long waits are normal, not failures. A done=true response without a video file indicates safety filter rejection (check raiMediaFilteredReasons) or quota exhaustion — adjust the prompt and regenerate. On timeout, use GEMINI_GET_VIDEOS_OPERATION with incremental backoff before starting a new job. Keep parallel jobs to 3–5 to avoid 429 RESOURCE_EXHAUSTED errors.\",\n input: GeminiWaitForVideoInput,\n output: GeminiWaitForVideoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,E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ini",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialScheme": "NO_AUTH"
11
12
  };
12
13
  //#endregion
13
14
  exports.geminiCatalog = geminiCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const geminiCatalog = {\n \"slug\": \"gemini\",\n \"name\": \"Gemini\",\n \"description\": \"Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gemini\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const geminiCatalog = {\n \"slug\": \"gemini\",\n \"name\": \"Gemini\",\n \"description\": \"Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gemini\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialScheme\": \"NO_AUTH\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;AACtB"}
@@ -8,6 +8,7 @@ declare const geminiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/gemini";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialScheme: "NO_AUTH";
11
12
  };
12
13
  //#endregion
13
14
  export { geminiCatalog };
@@ -8,6 +8,7 @@ declare const geminiCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/gemini";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialScheme: "NO_AUTH";
11
12
  };
12
13
  //#endregion
13
14
  export { geminiCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,8 @@ const geminiCatalog = {
7
7
  "category": "Artificial Intelligence",
8
8
  "logo": "https://logos.composio.dev/api/gemini",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialScheme": "NO_AUTH"
11
12
  };
12
13
  //#endregion
13
14
  export { geminiCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const geminiCatalog = {\n \"slug\": \"gemini\",\n \"name\": \"Gemini\",\n \"description\": \"Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gemini\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const geminiCatalog = {\n \"slug\": \"gemini\",\n \"name\": \"Gemini\",\n \"description\": \"Comprehensive Gemini integration supporting Veo 3 video generation, Gemini Flash text generation (Nano Banana), chat completions, and multimodal AI capabilities via the Google Gemini API.\",\n \"category\": \"Artificial Intelligence\",\n \"logo\": \"https://logos.composio.dev/api/gemini\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialScheme\": \"NO_AUTH\"\n} as const;\n"],"mappings":";;AACA,MAAa,gBAAgB;CAC3B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB;AACtB"}
package/dist/execute.cjs CHANGED
@@ -2,7 +2,7 @@ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
2
  //#region src/execute.ts
3
3
  const APP_SLUG = "gemini";
4
4
  /** Pinned app version — updated on regeneration. */
5
- const APP_VERSION = "20260702_00";
5
+ const APP_VERSION = "20260707_00";
6
6
  async function executeGeminiTool(tool, args) {
7
7
  const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
8
  app: APP_SLUG,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gemini\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260702_00\";\n\nexport async function executeGeminiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gemini\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeGeminiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,OAAA,GAAA,8BAAA,sBAAA,CAA4B,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/dist/execute.mjs CHANGED
@@ -2,7 +2,7 @@ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
2
  //#region src/execute.ts
3
3
  const APP_SLUG = "gemini";
4
4
  /** Pinned app version — updated on regeneration. */
5
- const APP_VERSION = "20260702_00";
5
+ const APP_VERSION = "20260707_00";
6
6
  async function executeGeminiTool(tool, args) {
7
7
  const { result } = await createKeystrokeClient().tools.execute({
8
8
  app: APP_SLUG,
@@ -1 +1 @@
1
- {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gemini\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260702_00\";\n\nexport async function executeGeminiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"gemini\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260707_00\";\n\nexport async function executeGeminiTool(\n tool: string,\n args: Record<string, unknown>,\n): Promise<unknown> {\n const { result } = await createKeystrokeClient().tools.execute({\n app: APP_SLUG,\n tool,\n arguments: args,\n version: APP_VERSION,\n });\n return result;\n}\n"],"mappings":";;AAEA,MAAM,WAAW;;AAEjB,MAAM,cAAc;AAEpB,eAAsB,kBACpB,MACA,MACkB;CAClB,MAAM,EAAE,WAAW,MAAM,sBAAsB,CAAC,CAAC,MAAM,QAAQ;EAC7D,KAAK;EACL;EACA,WAAW;EACX,SAAS;CACX,CAAC;CACD,OAAO;AACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/gemini",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"