@keystrokehq/screenshot_fyi 0.1.2 → 0.1.3
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/dist/actions/take-screenshot.cjs +1 -1
- package/dist/actions/take-screenshot.cjs.map +1 -1
- package/dist/actions/take-screenshot.d.cts +1 -1
- package/dist/actions/take-screenshot.d.mts +1 -1
- package/dist/actions/take-screenshot.mjs +1 -1
- package/dist/actions/take-screenshot.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ const ScreenshotFyiTakeScreenshotInput = zod.z.object({
|
|
|
17
17
|
const ScreenshotFyiTakeScreenshotOutput = zod.z.object({
|
|
18
18
|
target_url: zod.z.string().describe("The URL that was captured.").nullable(),
|
|
19
19
|
screenshot_url: zod.z.string().describe("The presigned URL to download the screenshot.").nullable()
|
|
20
|
-
}).describe("Response model for a screenshot request from Screenshot FYI.");
|
|
20
|
+
}).passthrough().describe("Response model for a screenshot request from Screenshot FYI.");
|
|
21
21
|
const screenshotFyiTakeScreenshot = require_action.action("SCREENSHOT_FYI_TAKE_SCREENSHOT", {
|
|
22
22
|
slug: "screenshot_fyi-take-screenshot",
|
|
23
23
|
name: "Take Screenshot",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.cjs","names":["z","action"],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC3E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACtM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,SAAS,8DAA8D;
|
|
1
|
+
{"version":3,"file":"take-screenshot.cjs","names":["z","action"],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).passthrough().describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAC3E,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAO;EAAO;CAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACzG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;CACtM,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/F,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACvE,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;AAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -17,7 +17,7 @@ declare const ScreenshotFyiTakeScreenshotInput: z.ZodObject<{
|
|
|
17
17
|
declare const ScreenshotFyiTakeScreenshotOutput: z.ZodObject<{
|
|
18
18
|
target_url: z.ZodNullable<z.ZodString>;
|
|
19
19
|
screenshot_url: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const screenshotFyiTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
url: string;
|
|
23
23
|
format?: "png" | "jpg" | "jpeg" | undefined;
|
|
@@ -17,7 +17,7 @@ declare const ScreenshotFyiTakeScreenshotInput: z.ZodObject<{
|
|
|
17
17
|
declare const ScreenshotFyiTakeScreenshotOutput: z.ZodObject<{
|
|
18
18
|
target_url: z.ZodNullable<z.ZodString>;
|
|
19
19
|
screenshot_url: z.ZodNullable<z.ZodString>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>;
|
|
21
21
|
declare const screenshotFyiTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
22
|
url: string;
|
|
23
23
|
format?: "png" | "jpg" | "jpeg" | undefined;
|
|
@@ -20,7 +20,7 @@ const screenshotFyiTakeScreenshot = action("SCREENSHOT_FYI_TAKE_SCREENSHOT", {
|
|
|
20
20
|
output: z.object({
|
|
21
21
|
target_url: z.string().describe("The URL that was captured.").nullable(),
|
|
22
22
|
screenshot_url: z.string().describe("The presigned URL to download the screenshot.").nullable()
|
|
23
|
-
}).describe("Response model for a screenshot request from Screenshot FYI.")
|
|
23
|
+
}).passthrough().describe("Response model for a screenshot request from Screenshot FYI.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { screenshotFyiTakeScreenshot };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;EAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACtM,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAV+C,EAAE,OAAO;EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"take-screenshot.mjs","names":[],"sources":["../../src/actions/take-screenshot.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScreenshotFyiTakeScreenshotInput = z.object({\n url: z.string().describe(\"The URL of the web page to take a screenshot of.\"),\n format: z.enum([\"png\", \"jpg\", \"jpeg\"]).default(\"jpg\").describe(\"Output image format.\").optional(),\n dark_mode: z.boolean().default(false).describe(\"Apply dark mode styling to the captured page.\").optional(),\n full_page: z.boolean().default(false).describe(\"Whether to capture the full scrollable page. Long pages can produce very tall images that may exceed downstream display or storage limits.\").optional(),\n viewport_width: z.number().int().default(1440).describe(\"Viewport width in pixels.\").optional(),\n viewport_height: z.number().int().default(900).describe(\"Viewport height in pixels.\").optional(),\n disable_cookie_banners: z.boolean().default(true).describe(\"Automatically remove cookie consent banners from the screenshot.\").optional(),\n}).describe(\"Request model for taking a screenshot via Screenshot FYI.\");\nexport const ScreenshotFyiTakeScreenshotOutput = z.object({\n target_url: z.string().describe(\"The URL that was captured.\").nullable(),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\").nullable(),\n}).passthrough().describe(\"Response model for a screenshot request from Screenshot FYI.\");\n\nexport const screenshotFyiTakeScreenshot = action(\"SCREENSHOT_FYI_TAKE_SCREENSHOT\", {\n slug: \"screenshot_fyi-take-screenshot\",\n name: \"Take Screenshot\",\n description: \"Tool to capture a webpage screenshot. Use after specifying the target URL and options. JavaScript-heavy pages may capture before full render; ensure the page is fully loaded prior to capture.\",\n input: ScreenshotFyiTakeScreenshotInput,\n output: ScreenshotFyiTakeScreenshotOutput,\n});\n"],"mappings":";;AAkBA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB8C,EAAE,OAAO;EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;EAC3E,QAAQ,EAAE,KAAK;GAAC;GAAO;GAAO;EAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACzG,WAAW,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACtM,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/F,wBAAwB,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,2DAUH;CACP,QAV+C,EAAE,OAAO;EACxD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACvE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAChG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
|