@keystrokehq/screenshot_fyi 0.1.0

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 (42) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/index.cjs +3 -0
  7. package/dist/actions/index.d.cts +2 -0
  8. package/dist/actions/index.d.mts +2 -0
  9. package/dist/actions/index.mjs +2 -0
  10. package/dist/actions/take-screenshot.cjs +31 -0
  11. package/dist/actions/take-screenshot.cjs.map +1 -0
  12. package/dist/actions/take-screenshot.d.cts +9 -0
  13. package/dist/actions/take-screenshot.d.cts.map +1 -0
  14. package/dist/actions/take-screenshot.d.mts +9 -0
  15. package/dist/actions/take-screenshot.d.mts.map +1 -0
  16. package/dist/actions/take-screenshot.mjs +28 -0
  17. package/dist/actions/take-screenshot.mjs.map +1 -0
  18. package/dist/app.cjs +9 -0
  19. package/dist/app.cjs.map +1 -0
  20. package/dist/app.d.cts +5 -0
  21. package/dist/app.d.cts.map +1 -0
  22. package/dist/app.d.mts +5 -0
  23. package/dist/app.d.mts.map +1 -0
  24. package/dist/app.mjs +10 -0
  25. package/dist/app.mjs.map +1 -0
  26. package/dist/catalog.cjs +15 -0
  27. package/dist/catalog.cjs.map +1 -0
  28. package/dist/catalog.d.cts +14 -0
  29. package/dist/catalog.d.cts.map +1 -0
  30. package/dist/catalog.d.mts +14 -0
  31. package/dist/catalog.d.mts.map +1 -0
  32. package/dist/catalog.mjs +15 -0
  33. package/dist/catalog.mjs.map +1 -0
  34. package/dist/execute.cjs +18 -0
  35. package/dist/execute.cjs.map +1 -0
  36. package/dist/execute.mjs +18 -0
  37. package/dist/execute.mjs.map +1 -0
  38. package/dist/index.cjs +8 -0
  39. package/dist/index.d.cts +4 -0
  40. package/dist/index.d.mts +4 -0
  41. package/dist/index.mjs +5 -0
  42. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/screenshot_fyi
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `screenshot_fyi`
6
+ **Version:** `20260615_00`
7
+ **Actions:** 1
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { screenshotFyiTakeScreenshot } from "@keystrokehq/screenshot_fyi/actions";
12
+
13
+ export default defineAgent({
14
+ key: "screenshot_fyi-agent",
15
+ tools: [screenshotFyiTakeScreenshot],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.screenshotFyi.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executeScreenshotFyiTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.cjs","names":["screenshotFyi","executeScreenshotFyiTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { screenshotFyi } from \"./app\";\nimport { executeScreenshotFyiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return screenshotFyi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeScreenshotFyiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -0,0 +1,21 @@
1
+ import { screenshotFyi } from "./app.mjs";
2
+ import { executeScreenshotFyiTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return screenshotFyi.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executeScreenshotFyiTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { screenshotFyi } from \"./app\";\nimport { executeScreenshotFyiTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return screenshotFyi.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeScreenshotFyiTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -0,0 +1,3 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_take_screenshot = require("./take-screenshot.cjs");
3
+ exports.screenshotFyiTakeScreenshot = require_take_screenshot.screenshotFyiTakeScreenshot;
@@ -0,0 +1,2 @@
1
+ import { screenshotFyiTakeScreenshot } from "./take-screenshot.cjs";
2
+ export { screenshotFyiTakeScreenshot };
@@ -0,0 +1,2 @@
1
+ import { screenshotFyiTakeScreenshot } from "./take-screenshot.mjs";
2
+ export { screenshotFyiTakeScreenshot };
@@ -0,0 +1,2 @@
1
+ import { screenshotFyiTakeScreenshot } from "./take-screenshot.mjs";
2
+ export { screenshotFyiTakeScreenshot };
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/take-screenshot.ts
4
+ const ScreenshotFyiTakeScreenshotInput = zod.z.object({
5
+ url: zod.z.string().describe("The URL of the web page to take a screenshot of."),
6
+ format: zod.z.enum([
7
+ "png",
8
+ "jpg",
9
+ "jpeg"
10
+ ]).default("jpg").describe("Output image format.").optional(),
11
+ dark_mode: zod.z.boolean().default(false).describe("Apply dark mode styling to the captured page.").optional(),
12
+ full_page: zod.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(),
13
+ viewport_width: zod.z.number().int().default(1440).describe("Viewport width in pixels.").optional(),
14
+ viewport_height: zod.z.number().int().default(900).describe("Viewport height in pixels.").optional(),
15
+ disable_cookie_banners: zod.z.boolean().default(true).describe("Automatically remove cookie consent banners from the screenshot.").optional()
16
+ }).describe("Request model for taking a screenshot via Screenshot FYI.");
17
+ const ScreenshotFyiTakeScreenshotOutput = zod.z.object({
18
+ target_url: zod.z.string().describe("The URL that was captured."),
19
+ screenshot_url: zod.z.string().describe("The presigned URL to download the screenshot.")
20
+ }).describe("Response model for a screenshot request from Screenshot FYI.");
21
+ const screenshotFyiTakeScreenshot = require_action.action("SCREENSHOT_FYI_TAKE_SCREENSHOT", {
22
+ slug: "screenshot_fyi-take-screenshot",
23
+ name: "Take Screenshot",
24
+ 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.",
25
+ input: ScreenshotFyiTakeScreenshotInput,
26
+ output: ScreenshotFyiTakeScreenshotOutput
27
+ });
28
+ //#endregion
29
+ exports.screenshotFyiTakeScreenshot = screenshotFyiTakeScreenshot;
30
+
31
+ //# sourceMappingURL=take-screenshot.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n target_url: z.string().describe(\"The URL that was captured.\"),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\"),\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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC5D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AACrF,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/take-screenshot.d.ts
4
+ declare const ScreenshotFyiTakeScreenshotInput: z.ZodTypeAny;
5
+ declare const ScreenshotFyiTakeScreenshotOutput: z.ZodTypeAny;
6
+ declare const screenshotFyiTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { screenshotFyiTakeScreenshot };
9
+ //# sourceMappingURL=take-screenshot.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"take-screenshot.d.cts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQuB;AAAA,cAC3D,iCAAA,EAAmC,CAAA,CAAE,UAGyB;AAAA,cAE9D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/take-screenshot.d.ts
4
+ declare const ScreenshotFyiTakeScreenshotInput: z.ZodTypeAny;
5
+ declare const ScreenshotFyiTakeScreenshotOutput: z.ZodTypeAny;
6
+ declare const screenshotFyiTakeScreenshot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { screenshotFyiTakeScreenshot };
9
+ //# sourceMappingURL=take-screenshot.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"take-screenshot.d.mts","names":[],"sources":["../../src/actions/take-screenshot.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAQuB;AAAA,cAC3D,iCAAA,EAAmC,CAAA,CAAE,UAGyB;AAAA,cAE9D,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const screenshotFyiTakeScreenshot = action("SCREENSHOT_FYI_TAKE_SCREENSHOT", {
4
+ slug: "screenshot_fyi-take-screenshot",
5
+ name: "Take Screenshot",
6
+ 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.",
7
+ input: z.object({
8
+ url: z.string().describe("The URL of the web page to take a screenshot of."),
9
+ format: z.enum([
10
+ "png",
11
+ "jpg",
12
+ "jpeg"
13
+ ]).default("jpg").describe("Output image format.").optional(),
14
+ dark_mode: z.boolean().default(false).describe("Apply dark mode styling to the captured page.").optional(),
15
+ 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(),
16
+ viewport_width: z.number().int().default(1440).describe("Viewport width in pixels.").optional(),
17
+ viewport_height: z.number().int().default(900).describe("Viewport height in pixels.").optional(),
18
+ disable_cookie_banners: z.boolean().default(true).describe("Automatically remove cookie consent banners from the screenshot.").optional()
19
+ }).describe("Request model for taking a screenshot via Screenshot FYI."),
20
+ output: z.object({
21
+ target_url: z.string().describe("The URL that was captured."),
22
+ screenshot_url: z.string().describe("The presigned URL to download the screenshot.")
23
+ }).describe("Response model for a screenshot request from Screenshot FYI.")
24
+ });
25
+ //#endregion
26
+ export { screenshotFyiTakeScreenshot };
27
+
28
+ //# sourceMappingURL=take-screenshot.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n target_url: z.string().describe(\"The URL that was captured.\"),\n screenshot_url: z.string().describe(\"The presigned URL to download the screenshot.\"),\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,OAlB4D,EAAE,OAAO;EACrE,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,QAV6D,EAAE,OAAO;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EAC5D,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;CACrF,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
package/dist/app.cjs ADDED
@@ -0,0 +1,9 @@
1
+ //#region src/app.ts
2
+ const screenshotFyi = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ slug: "screenshot_fyi",
4
+ auth: "keystroke"
5
+ });
6
+ //#endregion
7
+ exports.screenshotFyi = screenshotFyi;
8
+
9
+ //# sourceMappingURL=app.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const screenshotFyi = defineApp({\n slug: \"screenshot_fyi\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,iBAAA,uCAAA,CAAA,CAAA,UAAA,CAA0B;CACrC,MAAM;CACN,MAAM;AACR,CAAC"}
package/dist/app.d.cts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const screenshotFyi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { screenshotFyi };
5
+ //# sourceMappingURL=app.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,aAAA,6BAAa,GAAA,+BAAA,UAAA"}
package/dist/app.d.mts ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/app.d.ts
2
+ declare const screenshotFyi: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
3
+ //#endregion
4
+ export { screenshotFyi };
5
+ //# sourceMappingURL=app.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,aAAA,6BAAa,GAAA,+BAAA,UAAA"}
package/dist/app.mjs ADDED
@@ -0,0 +1,10 @@
1
+ import { defineApp } from "@keystrokehq/keystroke/app";
2
+ //#region src/app.ts
3
+ const screenshotFyi = defineApp({
4
+ slug: "screenshot_fyi",
5
+ auth: "keystroke"
6
+ });
7
+ //#endregion
8
+ export { screenshotFyi };
9
+
10
+ //# sourceMappingURL=app.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const screenshotFyi = defineApp({\n slug: \"screenshot_fyi\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,gBAAgB,UAAU;CACrC,MAAM;CACN,MAAM;AACR,CAAC"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const screenshotFyiCatalog = {
4
+ "slug": "screenshot_fyi",
5
+ "name": "Screenshot.fyi",
6
+ "description": "Take stunning, premium quality screenshots of any website with one API call.",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/screenshot_fyi",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ exports.screenshotFyiCatalog = screenshotFyiCatalog;
14
+
15
+ //# sourceMappingURL=catalog.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const screenshotFyiCatalog = {\n \"slug\": \"screenshot_fyi\",\n \"name\": \"Screenshot.fyi\",\n \"description\": \"Take stunning, premium quality screenshots of any website with one API call.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/screenshot_fyi\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const screenshotFyiCatalog: {
4
+ readonly slug: "screenshot_fyi";
5
+ readonly name: "Screenshot.fyi";
6
+ readonly description: "Take stunning, premium quality screenshots of any website with one API call.";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/screenshot_fyi";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { screenshotFyiCatalog };
14
+ //# sourceMappingURL=catalog.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.cts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,oBAAA;EAAA"}
@@ -0,0 +1,14 @@
1
+ //#region src/catalog.d.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ declare const screenshotFyiCatalog: {
4
+ readonly slug: "screenshot_fyi";
5
+ readonly name: "Screenshot.fyi";
6
+ readonly description: "Take stunning, premium quality screenshots of any website with one API call.";
7
+ readonly category: "Developer Tools";
8
+ readonly logo: "https://logos.composio.dev/api/screenshot_fyi";
9
+ readonly authKind: "keystroke";
10
+ readonly oauthScopes: readonly [];
11
+ };
12
+ //#endregion
13
+ export { screenshotFyiCatalog };
14
+ //# sourceMappingURL=catalog.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.mts","names":[],"sources":["../src/catalog.ts"],"mappings":";;cACa,oBAAA;EAAA"}
@@ -0,0 +1,15 @@
1
+ //#region src/catalog.ts
2
+ /** Generated — kept in sync with src/app.ts. */
3
+ const screenshotFyiCatalog = {
4
+ "slug": "screenshot_fyi",
5
+ "name": "Screenshot.fyi",
6
+ "description": "Take stunning, premium quality screenshots of any website with one API call.",
7
+ "category": "Developer Tools",
8
+ "logo": "https://logos.composio.dev/api/screenshot_fyi",
9
+ "authKind": "keystroke",
10
+ "oauthScopes": []
11
+ };
12
+ //#endregion
13
+ export { screenshotFyiCatalog };
14
+
15
+ //# sourceMappingURL=catalog.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const screenshotFyiCatalog = {\n \"slug\": \"screenshot_fyi\",\n \"name\": \"Screenshot.fyi\",\n \"description\": \"Take stunning, premium quality screenshots of any website with one API call.\",\n \"category\": \"Developer Tools\",\n \"logo\": \"https://logos.composio.dev/api/screenshot_fyi\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
@@ -0,0 +1,18 @@
1
+ let _keystrokehq_keystroke_client = require("@keystrokehq/keystroke/client");
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "screenshot_fyi";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeScreenshotFyiTool(tool, args) {
7
+ const { result } = await (0, _keystrokehq_keystroke_client.createKeystrokeClient)().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ exports.executeScreenshotFyiTool = executeScreenshotFyiTool;
17
+
18
+ //# sourceMappingURL=execute.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.cjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"screenshot_fyi\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeScreenshotFyiTool(\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,yBACpB,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"}
@@ -0,0 +1,18 @@
1
+ import { createKeystrokeClient } from "@keystrokehq/keystroke/client";
2
+ //#region src/execute.ts
3
+ const APP_SLUG = "screenshot_fyi";
4
+ /** Pinned app version — updated on regeneration. */
5
+ const APP_VERSION = "20260615_00";
6
+ async function executeScreenshotFyiTool(tool, args) {
7
+ const { result } = await createKeystrokeClient().tools.execute({
8
+ app: APP_SLUG,
9
+ tool,
10
+ arguments: args,
11
+ version: APP_VERSION
12
+ });
13
+ return result;
14
+ }
15
+ //#endregion
16
+ export { executeScreenshotFyiTool };
17
+
18
+ //# sourceMappingURL=execute.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execute.mjs","names":[],"sources":["../src/execute.ts"],"sourcesContent":["import { createKeystrokeClient } from \"@keystrokehq/keystroke/client\";\n\nconst APP_SLUG = \"screenshot_fyi\";\n/** Pinned app version — updated on regeneration. */\nconst APP_VERSION = \"20260615_00\";\n\nexport async function executeScreenshotFyiTool(\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,yBACpB,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/dist/index.cjs ADDED
@@ -0,0 +1,8 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_app = require("./app.cjs");
3
+ const require_catalog = require("./catalog.cjs");
4
+ const require_take_screenshot = require("./actions/take-screenshot.cjs");
5
+ require("./actions/index.cjs");
6
+ exports.screenshotFyi = require_app.screenshotFyi;
7
+ exports.screenshotFyiCatalog = require_catalog.screenshotFyiCatalog;
8
+ exports.screenshotFyiTakeScreenshot = require_take_screenshot.screenshotFyiTakeScreenshot;
@@ -0,0 +1,4 @@
1
+ import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.cjs";
2
+ import { screenshotFyi } from "./app.cjs";
3
+ import { screenshotFyiCatalog } from "./catalog.cjs";
4
+ export { screenshotFyi, screenshotFyiCatalog, screenshotFyiTakeScreenshot };
@@ -0,0 +1,4 @@
1
+ import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.mjs";
2
+ import { screenshotFyi } from "./app.mjs";
3
+ import { screenshotFyiCatalog } from "./catalog.mjs";
4
+ export { screenshotFyi, screenshotFyiCatalog, screenshotFyiTakeScreenshot };
package/dist/index.mjs ADDED
@@ -0,0 +1,5 @@
1
+ import { screenshotFyi } from "./app.mjs";
2
+ import { screenshotFyiCatalog } from "./catalog.mjs";
3
+ import { screenshotFyiTakeScreenshot } from "./actions/take-screenshot.mjs";
4
+ import "./actions/index.mjs";
5
+ export { screenshotFyi, screenshotFyiCatalog, screenshotFyiTakeScreenshot };
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@keystrokehq/screenshot_fyi",
3
+ "version": "0.1.0",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/keystrokehq/keystroke.git",
11
+ "directory": "packages/integrations/screenshot_fyi"
12
+ },
13
+ "files": [
14
+ "dist"
15
+ ],
16
+ "sideEffects": false,
17
+ "type": "module",
18
+ "main": "./dist/index.cjs",
19
+ "module": "./dist/index.mjs",
20
+ "types": "./dist/index.d.mts",
21
+ "exports": {
22
+ ".": {
23
+ "types": "./dist/index.d.mts",
24
+ "import": "./dist/index.mjs",
25
+ "require": "./dist/index.cjs"
26
+ },
27
+ "./actions": {
28
+ "types": "./dist/actions/index.d.mts",
29
+ "import": "./dist/actions/index.mjs",
30
+ "require": "./dist/actions/index.cjs"
31
+ }
32
+ },
33
+ "peerDependencies": {
34
+ "@keystrokehq/keystroke": "^0.1.4",
35
+ "zod": "^4.4.3"
36
+ },
37
+ "devDependencies": {
38
+ "@keystrokehq/keystroke": "link:../../keystroke",
39
+ "@types/node": "^25.9.1",
40
+ "tsdown": "^0.22.0",
41
+ "typescript": "^6.0.3",
42
+ "zod": "^4.4.3"
43
+ },
44
+ "scripts": {
45
+ "build": "tsdown",
46
+ "dev": "tsdown --watch --no-clean",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }